0

Update attachment properties

by
Published Oct 17, 2025

Updates the attachment properties, i.e. the non-binary data of an attachment like the filename, media-type, comment, and parent container. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.

Script confluence
  • Submitted by hugo697 Bun
    Created 284 days ago
    1
    //native
    2
    type Confluence = {
    3
    	email: string
    4
    	apiToken: string
    5
    	domain: string
    6
    }
    7
    /**
    8
     * Update attachment properties
    9
     * Updates the attachment properties, i.e. the non-binary data of an attachment
    10
    like the filename, media-type, comment, and parent container.
    11
    
    
    12
    **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
    13
    Permission to update the content.
    14
     */
    15
    export async function main(
    16
    	auth: Confluence,
    17
    	id: string,
    18
    	attachmentId: string,
    19
    	body: {
    20
    		id: string
    21
    		type: string
    22
    		status?: string
    23
    		title?: string
    24
    		container?: {}
    25
    		metadata?: { mediaType?: string }
    26
    		extensions?: {}
    27
    		version: {
    28
    			by?: {
    29
    				type: 'known' | 'unknown' | 'anonymous' | 'user'
    30
    				username?: string
    31
    				userKey?: string
    32
    				accountId?: string
    33
    				accountType?: '' | 'atlassian' | 'app'
    34
    				email?: string
    35
    				publicName?: string
    36
    				profilePicture?: {
    37
    					path: string
    38
    					width: number
    39
    					height: number
    40
    					isDefault: false | true
    41
    				}
    42
    				displayName?: string
    43
    				timeZone?: string
    44
    				externalCollaborator?: false | true
    45
    				isExternalCollaborator?: false | true
    46
    				isGuest?: false | true
    47
    				operations?: {
    48
    					operation:
    49
    						| 'administer'
    50
    						| 'archive'
    51
    						| 'clear_permissions'
    52
    						| 'copy'
    53
    						| 'create'
    54
    						| 'create_space'
    55
    						| 'delete'
    56
    						| 'export'
    57
    						| 'move'
    58
    						| 'purge'
    59
    						| 'purge_version'
    60
    						| 'read'
    61
    						| 'restore'
    62
    						| 'restrict_content'
    63
    						| 'update'
    64
    						| 'use'
    65
    					targetType: string
    66
    				}[]
    67
    				details?: {
    68
    					business?: {
    69
    						position?: string
    70
    						department?: string
    71
    						location?: string
    72
    					}
    73
    					personal?: {
    74
    						phone?: string
    75
    						im?: string
    76
    						website?: string
    77
    						email?: string
    78
    					}
    79
    				}
    80
    				personalSpace?: {
    81
    					id?: number
    82
    					key: string
    83
    					alias?: string
    84
    					name: string
    85
    					icon?: {
    86
    						path: string
    87
    						width: number
    88
    						height: number
    89
    						isDefault: false | true
    90
    					}
    91
    					description?: {
    92
    						plain?: {
    93
    							value: string
    94
    							representation: 'plain' | 'view'
    95
    							embeddedContent: {}[]
    96
    						}
    97
    						view?: {
    98
    							value: string
    99
    							representation: 'plain' | 'view'
    100
    							embeddedContent: {}[]
    101
    						}
    102
    						_expandable?: { view?: string; plain?: string }
    103
    					}
    104
    					homepage?: {
    105
    						id?: string
    106
    						type: string
    107
    						status: string
    108
    						title?: string
    109
    						space?: {}
    110
    						history?: {
    111
    							latest: false | true
    112
    							createdBy?: {}
    113
    							ownedBy?: {}
    114
    							lastOwnedBy?: {}
    115
    							createdDate?: string
    116
    							lastUpdated?: {}
    117
    							previousVersion?: {}
    118
    							contributors?: {
    119
    								publishers?: { users?: {}[]; userKeys?: string[]; _links?: {} }
    120
    							}
    121
    							nextVersion?: {}
    122
    							_expandable?: {
    123
    								lastUpdated?: string
    124
    								previousVersion?: string
    125
    								contributors?: string
    126
    								nextVersion?: string
    127
    								ownedBy?: string
    128
    								lastOwnedBy?: string
    129
    							}
    130
    							_links?: {}
    131
    						}
    132
    						version?: {}
    133
    						ancestors?: {}[]
    134
    						operations?: {
    135
    							operation:
    136
    								| 'administer'
    137
    								| 'archive'
    138
    								| 'clear_permissions'
    139
    								| 'copy'
    140
    								| 'create'
    141
    								| 'create_space'
    142
    								| 'delete'
    143
    								| 'export'
    144
    								| 'move'
    145
    								| 'purge'
    146
    								| 'purge_version'
    147
    								| 'read'
    148
    								| 'restore'
    149
    								| 'restrict_content'
    150
    								| 'update'
    151
    								| 'use'
    152
    							targetType: string
    153
    						}[]
    154
    						children?: {
    155
    							attachment?: {
    156
    								results: {}[]
    157
    								start?: number
    158
    								limit?: number
    159
    								size: number
    160
    								_links: {}
    161
    							}
    162
    							comment?: {
    163
    								results: {}[]
    164
    								start?: number
    165
    								limit?: number
    166
    								size: number
    167
    								_links: {}
    168
    							}
    169
    							page?: {
    170
    								results: {}[]
    171
    								start?: number
    172
    								limit?: number
    173
    								size: number
    174
    								_links: {}
    175
    							}
    176
    							whiteboard?: {
    177
    								results: {}[]
    178
    								start?: number
    179
    								limit?: number
    180
    								size: number
    181
    								_links: {}
    182
    							}
    183
    							database?: {
    184
    								results: {}[]
    185
    								start?: number
    186
    								limit?: number
    187
    								size: number
    188
    								_links: {}
    189
    							}
    190
    							embed?: {
    191
    								results: {}[]
    192
    								start?: number
    193
    								limit?: number
    194
    								size: number
    195
    								_links: {}
    196
    							}
    197
    							folder?: {
    198
    								results: {}[]
    199
    								start?: number
    200
    								limit?: number
    201
    								size: number
    202
    								_links: {}
    203
    							}
    204
    							_expandable?: {
    205
    								attachment?: string
    206
    								comment?: string
    207
    								page?: string
    208
    								whiteboard?: string
    209
    								database?: string
    210
    								embed?: string
    211
    								folder?: string
    212
    							}
    213
    							_links?: {}
    214
    						}
    215
    						childTypes?: {
    216
    							attachment?: { value: false | true; _links: {} }
    217
    							comment?: { value: false | true; _links: {} }
    218
    							page?: { value: false | true; _links: {} }
    219
    							_expandable?: {
    220
    								all?: string
    221
    								attachment?: string
    222
    								comment?: string
    223
    								page?: string
    224
    								whiteboard?: string
    225
    								database?: string
    226
    								embed?: string
    227
    								folder?: string
    228
    							}
    229
    						}
    230
    						descendants?: {
    231
    							attachment?: {
    232
    								results: {}[]
    233
    								start?: number
    234
    								limit?: number
    235
    								size: number
    236
    								_links: {}
    237
    							}
    238
    							comment?: {
    239
    								results: {}[]
    240
    								start?: number
    241
    								limit?: number
    242
    								size: number
    243
    								_links: {}
    244
    							}
    245
    							page?: {
    246
    								results: {}[]
    247
    								start?: number
    248
    								limit?: number
    249
    								size: number
    250
    								_links: {}
    251
    							}
    252
    							whiteboard?: {
    253
    								results: {}[]
    254
    								start?: number
    255
    								limit?: number
    256
    								size: number
    257
    								_links: {}
    258
    							}
    259
    							database?: {
    260
    								results: {}[]
    261
    								start?: number
    262
    								limit?: number
    263
    								size: number
    264
    								_links: {}
    265
    							}
    266
    							embed?: {
    267
    								results: {}[]
    268
    								start?: number
    269
    								limit?: number
    270
    								size: number
    271
    								_links: {}
    272
    							}
    273
    							folder?: {
    274
    								results: {}[]
    275
    								start?: number
    276
    								limit?: number
    277
    								size: number
    278
    								_links: {}
    279
    							}
    280
    							_expandable?: {
    281
    								attachment?: string
    282
    								comment?: string
    283
    								page?: string
    284
    								whiteboard?: string
    285
    								database?: string
    286
    								embed?: string
    287
    								folder?: string
    288
    							}
    289
    							_links?: {}
    290
    						}
    291
    						container?: {}
    292
    						body?: {
    293
    							view?: {
    294
    								value: string
    295
    								representation:
    296
    									| 'view'
    297
    									| 'export_view'
    298
    									| 'styled_view'
    299
    									| 'storage'
    300
    									| 'editor'
    301
    									| 'editor2'
    302
    									| 'anonymous_export_view'
    303
    									| 'wiki'
    304
    									| 'atlas_doc_format'
    305
    									| 'raw'
    306
    								embeddedContent?: {
    307
    									entityId?: number
    308
    									entityType?: string
    309
    									entity?: {}
    310
    								}[]
    311
    								webresource?: {
    312
    									_expandable?: { uris?: string | {} }
    313
    									keys?: string[]
    314
    									contexts?: string[]
    315
    									uris?: {
    316
    										all?: string | string[]
    317
    										css?: string | string[]
    318
    										js?: string | string[]
    319
    										_expandable?: {
    320
    											css?: string | string[]
    321
    											js?: string | string[]
    322
    										}
    323
    									}
    324
    									tags?: {
    325
    										all?: string
    326
    										css?: string
    327
    										data?: string
    328
    										js?: string
    329
    										_expandable?: {}
    330
    									}
    331
    									superbatch?: {
    332
    										uris?: {
    333
    											all?: string | string[]
    334
    											css?: string | string[]
    335
    											js?: string | string[]
    336
    										}
    337
    										tags?: {
    338
    											all?: string
    339
    											css?: string
    340
    											data?: string
    341
    											js?: string
    342
    										}
    343
    										metatags?: string
    344
    										_expandable?: {}
    345
    									}
    346
    								}
    347
    								mediaToken?: {
    348
    									collectionIds?: string[]
    349
    									contentId?: string
    350
    									expiryDateTime?: string
    351
    									fileIds?: string[]
    352
    									token?: string
    353
    								}
    354
    								_expandable?: {
    355
    									content?: string
    356
    									embeddedContent?: string
    357
    									webresource?: string
    358
    									mediaToken?: string
    359
    								}
    360
    								_links?: {}
    361
    							}
    362
    							export_view?: {
    363
    								value: string
    364
    								representation:
    365
    									| 'view'
    366
    									| 'export_view'
    367
    									| 'styled_view'
    368
    									| 'storage'
    369
    									| 'editor'
    370
    									| 'editor2'
    371
    									| 'anonymous_export_view'
    372
    									| 'wiki'
    373
    									| 'atlas_doc_format'
    374
    									| 'raw'
    375
    								embeddedContent?: {
    376
    									entityId?: number
    377
    									entityType?: string
    378
    									entity?: {}
    379
    								}[]
    380
    								webresource?: {
    381
    									_expandable?: { uris?: string | {} }
    382
    									keys?: string[]
    383
    									contexts?: string[]
    384
    									uris?: {
    385
    										all?: string | string[]
    386
    										css?: string | string[]
    387
    										js?: string | string[]
    388
    										_expandable?: {
    389
    											css?: string | string[]
    390
    											js?: string | string[]
    391
    										}
    392
    									}
    393
    									tags?: {
    394
    										all?: string
    395
    										css?: string
    396
    										data?: string
    397
    										js?: string
    398
    										_expandable?: {}
    399
    									}
    400
    									superbatch?: {
    401
    										uris?: {
    402
    											all?: string | string[]
    403
    											css?: string | string[]
    404
    											js?: string | string[]
    405
    										}
    406
    										tags?: {
    407
    											all?: string
    408
    											css?: string
    409
    											data?: string
    410
    											js?: string
    411
    										}
    412
    										metatags?: string
    413
    										_expandable?: {}
    414
    									}
    415
    								}
    416
    								mediaToken?: {
    417
    									collectionIds?: string[]
    418
    									contentId?: string
    419
    									expiryDateTime?: string
    420
    									fileIds?: string[]
    421
    									token?: string
    422
    								}
    423
    								_expandable?: {
    424
    									content?: string
    425
    									embeddedContent?: string
    426
    									webresource?: string
    427
    									mediaToken?: string
    428
    								}
    429
    								_links?: {}
    430
    							}
    431
    							styled_view?: {
    432
    								value: string
    433
    								representation:
    434
    									| 'view'
    435
    									| 'export_view'
    436
    									| 'styled_view'
    437
    									| 'storage'
    438
    									| 'editor'
    439
    									| 'editor2'
    440
    									| 'anonymous_export_view'
    441
    									| 'wiki'
    442
    									| 'atlas_doc_format'
    443
    									| 'raw'
    444
    								embeddedContent?: {
    445
    									entityId?: number
    446
    									entityType?: string
    447
    									entity?: {}
    448
    								}[]
    449
    								webresource?: {
    450
    									_expandable?: { uris?: string | {} }
    451
    									keys?: string[]
    452
    									contexts?: string[]
    453
    									uris?: {
    454
    										all?: string | string[]
    455
    										css?: string | string[]
    456
    										js?: string | string[]
    457
    										_expandable?: {
    458
    											css?: string | string[]
    459
    											js?: string | string[]
    460
    										}
    461
    									}
    462
    									tags?: {
    463
    										all?: string
    464
    										css?: string
    465
    										data?: string
    466
    										js?: string
    467
    										_expandable?: {}
    468
    									}
    469
    									superbatch?: {
    470
    										uris?: {
    471
    											all?: string | string[]
    472
    											css?: string | string[]
    473
    											js?: string | string[]
    474
    										}
    475
    										tags?: {
    476
    											all?: string
    477
    											css?: string
    478
    											data?: string
    479
    											js?: string
    480
    										}
    481
    										metatags?: string
    482
    										_expandable?: {}
    483
    									}
    484
    								}
    485
    								mediaToken?: {
    486
    									collectionIds?: string[]
    487
    									contentId?: string
    488
    									expiryDateTime?: string
    489
    									fileIds?: string[]
    490
    									token?: string
    491
    								}
    492
    								_expandable?: {
    493
    									content?: string
    494
    									embeddedContent?: string
    495
    									webresource?: string
    496
    									mediaToken?: string
    497
    								}
    498
    								_links?: {}
    499
    							}
    500
    							storage?: {
    501
    								value: string
    502
    								representation:
    503
    									| 'view'
    504
    									| 'export_view'
    505
    									| 'styled_view'
    506
    									| 'storage'
    507
    									| 'editor'
    508
    									| 'editor2'
    509
    									| 'anonymous_export_view'
    510
    									| 'wiki'
    511
    									| 'atlas_doc_format'
    512
    									| 'raw'
    513
    								embeddedContent?: {
    514
    									entityId?: number
    515
    									entityType?: string
    516
    									entity?: {}
    517
    								}[]
    518
    								webresource?: {
    519
    									_expandable?: { uris?: string | {} }
    520
    									keys?: string[]
    521
    									contexts?: string[]
    522
    									uris?: {
    523
    										all?: string | string[]
    524
    										css?: string | string[]
    525
    										js?: string | string[]
    526
    										_expandable?: {
    527
    											css?: string | string[]
    528
    											js?: string | string[]
    529
    										}
    530
    									}
    531
    									tags?: {
    532
    										all?: string
    533
    										css?: string
    534
    										data?: string
    535
    										js?: string
    536
    										_expandable?: {}
    537
    									}
    538
    									superbatch?: {
    539
    										uris?: {
    540
    											all?: string | string[]
    541
    											css?: string | string[]
    542
    											js?: string | string[]
    543
    										}
    544
    										tags?: {
    545
    											all?: string
    546
    											css?: string
    547
    											data?: string
    548
    											js?: string
    549
    										}
    550
    										metatags?: string
    551
    										_expandable?: {}
    552
    									}
    553
    								}
    554
    								mediaToken?: {
    555
    									collectionIds?: string[]
    556
    									contentId?: string
    557
    									expiryDateTime?: string
    558
    									fileIds?: string[]
    559
    									token?: string
    560
    								}
    561
    								_expandable?: {
    562
    									content?: string
    563
    									embeddedContent?: string
    564
    									webresource?: string
    565
    									mediaToken?: string
    566
    								}
    567
    								_links?: {}
    568
    							}
    569
    							wiki?: {
    570
    								value: string
    571
    								representation:
    572
    									| 'view'
    573
    									| 'export_view'
    574
    									| 'styled_view'
    575
    									| 'storage'
    576
    									| 'editor'
    577
    									| 'editor2'
    578
    									| 'anonymous_export_view'
    579
    									| 'wiki'
    580
    									| 'atlas_doc_format'
    581
    									| 'raw'
    582
    								embeddedContent?: {
    583
    									entityId?: number
    584
    									entityType?: string
    585
    									entity?: {}
    586
    								}[]
    587
    								webresource?: {
    588
    									_expandable?: { uris?: string | {} }
    589
    									keys?: string[]
    590
    									contexts?: string[]
    591
    									uris?: {
    592
    										all?: string | string[]
    593
    										css?: string | string[]
    594
    										js?: string | string[]
    595
    										_expandable?: {
    596
    											css?: string | string[]
    597
    											js?: string | string[]
    598
    										}
    599
    									}
    600
    									tags?: {
    601
    										all?: string
    602
    										css?: string
    603
    										data?: string
    604
    										js?: string
    605
    										_expandable?: {}
    606
    									}
    607
    									superbatch?: {
    608
    										uris?: {
    609
    											all?: string | string[]
    610
    											css?: string | string[]
    611
    											js?: string | string[]
    612
    										}
    613
    										tags?: {
    614
    											all?: string
    615
    											css?: string
    616
    											data?: string
    617
    											js?: string
    618
    										}
    619
    										metatags?: string
    620
    										_expandable?: {}
    621
    									}
    622
    								}
    623
    								mediaToken?: {
    624
    									collectionIds?: string[]
    625
    									contentId?: string
    626
    									expiryDateTime?: string
    627
    									fileIds?: string[]
    628
    									token?: string
    629
    								}
    630
    								_expandable?: {
    631
    									content?: string
    632
    									embeddedContent?: string
    633
    									webresource?: string
    634
    									mediaToken?: string
    635
    								}
    636
    								_links?: {}
    637
    							}
    638
    							editor?: {
    639
    								value: string
    640
    								representation:
    641
    									| 'view'
    642
    									| 'export_view'
    643
    									| 'styled_view'
    644
    									| 'storage'
    645
    									| 'editor'
    646
    									| 'editor2'
    647
    									| 'anonymous_export_view'
    648
    									| 'wiki'
    649
    									| 'atlas_doc_format'
    650
    									| 'raw'
    651
    								embeddedContent?: {
    652
    									entityId?: number
    653
    									entityType?: string
    654
    									entity?: {}
    655
    								}[]
    656
    								webresource?: {
    657
    									_expandable?: { uris?: string | {} }
    658
    									keys?: string[]
    659
    									contexts?: string[]
    660
    									uris?: {
    661
    										all?: string | string[]
    662
    										css?: string | string[]
    663
    										js?: string | string[]
    664
    										_expandable?: {
    665
    											css?: string | string[]
    666
    											js?: string | string[]
    667
    										}
    668
    									}
    669
    									tags?: {
    670
    										all?: string
    671
    										css?: string
    672
    										data?: string
    673
    										js?: string
    674
    										_expandable?: {}
    675
    									}
    676
    									superbatch?: {
    677
    										uris?: {
    678
    											all?: string | string[]
    679
    											css?: string | string[]
    680
    											js?: string | string[]
    681
    										}
    682
    										tags?: {
    683
    											all?: string
    684
    											css?: string
    685
    											data?: string
    686
    											js?: string
    687
    										}
    688
    										metatags?: string
    689
    										_expandable?: {}
    690
    									}
    691
    								}
    692
    								mediaToken?: {
    693
    									collectionIds?: string[]
    694
    									contentId?: string
    695
    									expiryDateTime?: string
    696
    									fileIds?: string[]
    697
    									token?: string
    698
    								}
    699
    								_expandable?: {
    700
    									content?: string
    701
    									embeddedContent?: string
    702
    									webresource?: string
    703
    									mediaToken?: string
    704
    								}
    705
    								_links?: {}
    706
    							}
    707
    							editor2?: {
    708
    								value: string
    709
    								representation:
    710
    									| 'view'
    711
    									| 'export_view'
    712
    									| 'styled_view'
    713
    									| 'storage'
    714
    									| 'editor'
    715
    									| 'editor2'
    716
    									| 'anonymous_export_view'
    717
    									| 'wiki'
    718
    									| 'atlas_doc_format'
    719
    									| 'raw'
    720
    								embeddedContent?: {
    721
    									entityId?: number
    722
    									entityType?: string
    723
    									entity?: {}
    724
    								}[]
    725
    								webresource?: {
    726
    									_expandable?: { uris?: string | {} }
    727
    									keys?: string[]
    728
    									contexts?: string[]
    729
    									uris?: {
    730
    										all?: string | string[]
    731
    										css?: string | string[]
    732
    										js?: string | string[]
    733
    										_expandable?: {
    734
    											css?: string | string[]
    735
    											js?: string | string[]
    736
    										}
    737
    									}
    738
    									tags?: {
    739
    										all?: string
    740
    										css?: string
    741
    										data?: string
    742
    										js?: string
    743
    										_expandable?: {}
    744
    									}
    745
    									superbatch?: {
    746
    										uris?: {
    747
    											all?: string | string[]
    748
    											css?: string | string[]
    749
    											js?: string | string[]
    750
    										}
    751
    										tags?: {
    752
    											all?: string
    753
    											css?: string
    754
    											data?: string
    755
    											js?: string
    756
    										}
    757
    										metatags?: string
    758
    										_expandable?: {}
    759
    									}
    760
    								}
    761
    								mediaToken?: {
    762
    									collectionIds?: string[]
    763
    									contentId?: string
    764
    									expiryDateTime?: string
    765
    									fileIds?: string[]
    766
    									token?: string
    767
    								}
    768
    								_expandable?: {
    769
    									content?: string
    770
    									embeddedContent?: string
    771
    									webresource?: string
    772
    									mediaToken?: string
    773
    								}
    774
    								_links?: {}
    775
    							}
    776
    							anonymous_export_view?: {
    777
    								value: string
    778
    								representation:
    779
    									| 'view'
    780
    									| 'export_view'
    781
    									| 'styled_view'
    782
    									| 'storage'
    783
    									| 'editor'
    784
    									| 'editor2'
    785
    									| 'anonymous_export_view'
    786
    									| 'wiki'
    787
    									| 'atlas_doc_format'
    788
    									| 'raw'
    789
    								embeddedContent?: {
    790
    									entityId?: number
    791
    									entityType?: string
    792
    									entity?: {}
    793
    								}[]
    794
    								webresource?: {
    795
    									_expandable?: { uris?: string | {} }
    796
    									keys?: string[]
    797
    									contexts?: string[]
    798
    									uris?: {
    799
    										all?: string | string[]
    800
    										css?: string | string[]
    801
    										js?: string | string[]
    802
    										_expandable?: {
    803
    											css?: string | string[]
    804
    											js?: string | string[]
    805
    										}
    806
    									}
    807
    									tags?: {
    808
    										all?: string
    809
    										css?: string
    810
    										data?: string
    811
    										js?: string
    812
    										_expandable?: {}
    813
    									}
    814
    									superbatch?: {
    815
    										uris?: {
    816
    											all?: string | string[]
    817
    											css?: string | string[]
    818
    											js?: string | string[]
    819
    										}
    820
    										tags?: {
    821
    											all?: string
    822
    											css?: string
    823
    											data?: string
    824
    											js?: string
    825
    										}
    826
    										metatags?: string
    827
    										_expandable?: {}
    828
    									}
    829
    								}
    830
    								mediaToken?: {
    831
    									collectionIds?: string[]
    832
    									contentId?: string
    833
    									expiryDateTime?: string
    834
    									fileIds?: string[]
    835
    									token?: string
    836
    								}
    837
    								_expandable?: {
    838
    									content?: string
    839
    									embeddedContent?: string
    840
    									webresource?: string
    841
    									mediaToken?: string
    842
    								}
    843
    								_links?: {}
    844
    							}
    845
    							atlas_doc_format?: {
    846
    								value: string
    847
    								representation:
    848
    									| 'view'
    849
    									| 'export_view'
    850
    									| 'styled_view'
    851
    									| 'storage'
    852
    									| 'editor'
    853
    									| 'editor2'
    854
    									| 'anonymous_export_view'
    855
    									| 'wiki'
    856
    									| 'atlas_doc_format'
    857
    									| 'raw'
    858
    								embeddedContent?: {
    859
    									entityId?: number
    860
    									entityType?: string
    861
    									entity?: {}
    862
    								}[]
    863
    								webresource?: {
    864
    									_expandable?: { uris?: string | {} }
    865
    									keys?: string[]
    866
    									contexts?: string[]
    867
    									uris?: {
    868
    										all?: string | string[]
    869
    										css?: string | string[]
    870
    										js?: string | string[]
    871
    										_expandable?: {
    872
    											css?: string | string[]
    873
    											js?: string | string[]
    874
    										}
    875
    									}
    876
    									tags?: {
    877
    										all?: string
    878
    										css?: string
    879
    										data?: string
    880
    										js?: string
    881
    										_expandable?: {}
    882
    									}
    883
    									superbatch?: {
    884
    										uris?: {
    885
    											all?: string | string[]
    886
    											css?: string | string[]
    887
    											js?: string | string[]
    888
    										}
    889
    										tags?: {
    890
    											all?: string
    891
    											css?: string
    892
    											data?: string
    893
    											js?: string
    894
    										}
    895
    										metatags?: string
    896
    										_expandable?: {}
    897
    									}
    898
    								}
    899
    								mediaToken?: {
    900
    									collectionIds?: string[]
    901
    									contentId?: string
    902
    									expiryDateTime?: string
    903
    									fileIds?: string[]
    904
    									token?: string
    905
    								}
    906
    								_expandable?: {
    907
    									content?: string
    908
    									embeddedContent?: string
    909
    									webresource?: string
    910
    									mediaToken?: string
    911
    								}
    912
    								_links?: {}
    913
    							}
    914
    							dynamic?: {
    915
    								value: string
    916
    								representation:
    917
    									| 'view'
    918
    									| 'export_view'
    919
    									| 'styled_view'
    920
    									| 'storage'
    921
    									| 'editor'
    922
    									| 'editor2'
    923
    									| 'anonymous_export_view'
    924
    									| 'wiki'
    925
    									| 'atlas_doc_format'
    926
    									| 'raw'
    927
    								embeddedContent?: {
    928
    									entityId?: number
    929
    									entityType?: string
    930
    									entity?: {}
    931
    								}[]
    932
    								webresource?: {
    933
    									_expandable?: { uris?: string | {} }
    934
    									keys?: string[]
    935
    									contexts?: string[]
    936
    									uris?: {
    937
    										all?: string | string[]
    938
    										css?: string | string[]
    939
    										js?: string | string[]
    940
    										_expandable?: {
    941
    											css?: string | string[]
    942
    											js?: string | string[]
    943
    										}
    944
    									}
    945
    									tags?: {
    946
    										all?: string
    947
    										css?: string
    948
    										data?: string
    949
    										js?: string
    950
    										_expandable?: {}
    951
    									}
    952
    									superbatch?: {
    953
    										uris?: {
    954
    											all?: string | string[]
    955
    											css?: string | string[]
    956
    											js?: string | string[]
    957
    										}
    958
    										tags?: {
    959
    											all?: string
    960
    											css?: string
    961
    											data?: string
    962
    											js?: string
    963
    										}
    964
    										metatags?: string
    965
    										_expandable?: {}
    966
    									}
    967
    								}
    968
    								mediaToken?: {
    969
    									collectionIds?: string[]
    970
    									contentId?: string
    971
    									expiryDateTime?: string
    972
    									fileIds?: string[]
    973
    									token?: string
    974
    								}
    975
    								_expandable?: {
    976
    									content?: string
    977
    									embeddedContent?: string
    978
    									webresource?: string
    979
    									mediaToken?: string
    980
    								}
    981
    								_links?: {}
    982
    							}
    983
    							raw?: {
    984
    								value: string
    985
    								representation:
    986
    									| 'view'
    987
    									| 'export_view'
    988
    									| 'styled_view'
    989
    									| 'storage'
    990
    									| 'editor'
    991
    									| 'editor2'
    992
    									| 'anonymous_export_view'
    993
    									| 'wiki'
    994
    									| 'atlas_doc_format'
    995
    									| 'raw'
    996
    								embeddedContent?: {
    997
    									entityId?: number
    998
    									entityType?: string
    999
    									entity?: {}
    1000
    								}[]
    1001
    								webresource?: {
    1002
    									_expandable?: { uris?: string | {} }
    1003
    									keys?: string[]
    1004
    									contexts?: string[]
    1005
    									uris?: {
    1006
    										all?: string | string[]
    1007
    										css?: string | string[]
    1008
    										js?: string | string[]
    1009
    										_expandable?: {
    1010
    											css?: string | string[]
    1011
    											js?: string | string[]
    1012
    										}
    1013
    									}
    1014
    									tags?: {
    1015
    										all?: string
    1016
    										css?: string
    1017
    										data?: string
    1018
    										js?: string
    1019
    										_expandable?: {}
    1020
    									}
    1021
    									superbatch?: {
    1022
    										uris?: {
    1023
    											all?: string | string[]
    1024
    											css?: string | string[]
    1025
    											js?: string | string[]
    1026
    										}
    1027
    										tags?: {
    1028
    											all?: string
    1029
    											css?: string
    1030
    											data?: string
    1031
    											js?: string
    1032
    										}
    1033
    										metatags?: string
    1034
    										_expandable?: {}
    1035
    									}
    1036
    								}
    1037
    								mediaToken?: {
    1038
    									collectionIds?: string[]
    1039
    									contentId?: string
    1040
    									expiryDateTime?: string
    1041
    									fileIds?: string[]
    1042
    									token?: string
    1043
    								}
    1044
    								_expandable?: {
    1045
    									content?: string
    1046
    									embeddedContent?: string
    1047
    									webresource?: string
    1048
    									mediaToken?: string
    1049
    								}
    1050
    								_links?: {}
    1051
    							}
    1052
    							_expandable?: {
    1053
    								editor?: string
    1054
    								view?: string
    1055
    								export_view?: string
    1056
    								styled_view?: string
    1057
    								storage?: string
    1058
    								editor2?: string
    1059
    								anonymous_export_view?: string
    1060
    								atlas_doc_format?: string
    1061
    								wiki?: string
    1062
    								dynamic?: string
    1063
    								raw?: string
    1064
    							}
    1065
    						}
    1066
    						restrictions?: {
    1067
    							read?: {
    1068
    								operation:
    1069
    									| 'administer'
    1070
    									| 'copy'
    1071
    									| 'create'
    1072
    									| 'delete'
    1073
    									| 'export'
    1074
    									| 'move'
    1075
    									| 'purge'
    1076
    									| 'purge_version'
    1077
    									| 'read'
    1078
    									| 'restore'
    1079
    									| 'update'
    1080
    									| 'use'
    1081
    								restrictions?: {
    1082
    									user?: {
    1083
    										results: {}[]
    1084
    										start?: number
    1085
    										limit?: number
    1086
    										size?: number
    1087
    										totalSize?: number
    1088
    										_links?: {}
    1089
    									}
    1090
    									group?: {
    1091
    										results: {
    1092
    											type: 'group'
    1093
    											name: string
    1094
    											id: string
    1095
    											_links?: {}
    1096
    										}[]
    1097
    										start: number
    1098
    										limit: number
    1099
    										size: number
    1100
    									}
    1101
    									_expandable?: { user?: string; group?: string }
    1102
    								}
    1103
    								content?: {}
    1104
    								_expandable: { restrictions?: string; content?: string }
    1105
    								_links: {}
    1106
    							}
    1107
    							update?: {
    1108
    								operation:
    1109
    									| 'administer'
    1110
    									| 'copy'
    1111
    									| 'create'
    1112
    									| 'delete'
    1113
    									| 'export'
    1114
    									| 'move'
    1115
    									| 'purge'
    1116
    									| 'purge_version'
    1117
    									| 'read'
    1118
    									| 'restore'
    1119
    									| 'update'
    1120
    									| 'use'
    1121
    								restrictions?: {
    1122
    									user?: {
    1123
    										results: {}[]
    1124
    										start?: number
    1125
    										limit?: number
    1126
    										size?: number
    1127
    										totalSize?: number
    1128
    										_links?: {}
    1129
    									}
    1130
    									group?: {
    1131
    										results: {
    1132
    											type: 'group'
    1133
    											name: string
    1134
    											id: string
    1135
    											_links?: {}
    1136
    										}[]
    1137
    										start: number
    1138
    										limit: number
    1139
    										size: number
    1140
    									}
    1141
    									_expandable?: { user?: string; group?: string }
    1142
    								}
    1143
    								content?: {}
    1144
    								_expandable: { restrictions?: string; content?: string }
    1145
    								_links: {}
    1146
    							}
    1147
    							_expandable?: { read?: string; update?: string }
    1148
    							_links?: {}
    1149
    						}
    1150
    						metadata?: {
    1151
    							currentuser?: {
    1152
    								favourited?: {
    1153
    									isFavourite?: false | true
    1154
    									favouritedDate?: string
    1155
    								}
    1156
    								lastmodified?: { version?: {}; friendlyLastModified?: string }
    1157
    								lastcontributed?: { status?: string; when?: string }
    1158
    								viewed?: { lastSeen?: string; friendlyLastSeen?: string }
    1159
    								scheduled?: {}
    1160
    								_expandable?: {
    1161
    									favourited?: string
    1162
    									lastmodified?: string
    1163
    									lastcontributed?: string
    1164
    									viewed?: string
    1165
    									scheduled?: string
    1166
    								}
    1167
    							}
    1168
    							properties?: {}
    1169
    							frontend?: {}
    1170
    							labels?:
    1171
    								| {
    1172
    										results: {
    1173
    											prefix: string
    1174
    											name: string
    1175
    											id: string
    1176
    											label: string
    1177
    										}[]
    1178
    										start?: number
    1179
    										limit?: number
    1180
    										size: number
    1181
    										_links?: {}
    1182
    								  }
    1183
    								| { prefix: string; name: string; id: string; label: string }[]
    1184
    						}
    1185
    						macroRenderedOutput?: {}
    1186
    						extensions?: {}
    1187
    						_expandable?: {
    1188
    							childTypes?: string
    1189
    							container?: string
    1190
    							metadata?: string
    1191
    							operations?: string
    1192
    							children?: string
    1193
    							restrictions?: string
    1194
    							history?: string
    1195
    							ancestors?: string
    1196
    							body?: string
    1197
    							version?: string
    1198
    							descendants?: string
    1199
    							space?: string
    1200
    							extensions?: string
    1201
    							schedulePublishDate?: string
    1202
    							schedulePublishInfo?: string
    1203
    							macroRenderedOutput?: string
    1204
    						}
    1205
    						_links?: {}
    1206
    					}
    1207
    					type: string
    1208
    					metadata?: {
    1209
    						labels?: {
    1210
    							results: {
    1211
    								prefix: string
    1212
    								name: string
    1213
    								id: string
    1214
    								label: string
    1215
    							}[]
    1216
    							start?: number
    1217
    							limit?: number
    1218
    							size: number
    1219
    							_links?: {}
    1220
    						}
    1221
    						_expandable?: {}
    1222
    					}
    1223
    					operations?: {
    1224
    						operation:
    1225
    							| 'administer'
    1226
    							| 'archive'
    1227
    							| 'clear_permissions'
    1228
    							| 'copy'
    1229
    							| 'create'
    1230
    							| 'create_space'
    1231
    							| 'delete'
    1232
    							| 'export'
    1233
    							| 'move'
    1234
    							| 'purge'
    1235
    							| 'purge_version'
    1236
    							| 'read'
    1237
    							| 'restore'
    1238
    							| 'restrict_content'
    1239
    							| 'update'
    1240
    							| 'use'
    1241
    						targetType: string
    1242
    					}[]
    1243
    					permissions?: {
    1244
    						id?: number
    1245
    						subjects?: {
    1246
    							user?: {
    1247
    								results: {}[]
    1248
    								size: number
    1249
    								start?: number
    1250
    								limit?: number
    1251
    							}
    1252
    							group?: {
    1253
    								results: {
    1254
    									type: 'group'
    1255
    									name: string
    1256
    									id: string
    1257
    									_links?: {}
    1258
    								}[]
    1259
    								size: number
    1260
    								start?: number
    1261
    								limit?: number
    1262
    							}
    1263
    							_expandable?: { user?: string; group?: string }
    1264
    						}
    1265
    						operation: {
    1266
    							operation:
    1267
    								| 'administer'
    1268
    								| 'archive'
    1269
    								| 'clear_permissions'
    1270
    								| 'copy'
    1271
    								| 'create'
    1272
    								| 'create_space'
    1273
    								| 'delete'
    1274
    								| 'export'
    1275
    								| 'move'
    1276
    								| 'purge'
    1277
    								| 'purge_version'
    1278
    								| 'read'
    1279
    								| 'restore'
    1280
    								| 'restrict_content'
    1281
    								| 'update'
    1282
    								| 'use'
    1283
    							targetType: string
    1284
    						}
    1285
    						anonymousAccess: false | true
    1286
    						unlicensedAccess: false | true
    1287
    					}[]
    1288
    					status: string
    1289
    					settings?: {
    1290
    						routeOverrideEnabled: false | true
    1291
    						editor?: { page: string; blogpost: string; default: string }
    1292
    						spaceKey?: string
    1293
    						_links: {}
    1294
    					}
    1295
    					theme?: {
    1296
    						themeKey: string
    1297
    						name?: string
    1298
    						description?: string
    1299
    						icon?: {
    1300
    							path: string
    1301
    							width: number
    1302
    							height: number
    1303
    							isDefault: false | true
    1304
    						}
    1305
    						_links?: {}
    1306
    					}
    1307
    					lookAndFeel?: {
    1308
    						headings: { color: string }
    1309
    						links: { color: string }
    1310
    						menus: { hoverOrFocus: { backgroundColor: string }; color: string }
    1311
    						header: {
    1312
    							backgroundColor: string
    1313
    							button: { backgroundColor: string; color: string }
    1314
    							primaryNavigation: {
    1315
    								color: string
    1316
    								highlightColor?: string
    1317
    								hoverOrFocus: { backgroundColor: string; color: string }
    1318
    							}
    1319
    							secondaryNavigation: {
    1320
    								color: string
    1321
    								highlightColor?: string
    1322
    								hoverOrFocus: { backgroundColor: string; color: string }
    1323
    							}
    1324
    							search: { backgroundColor: string; color: string }
    1325
    						}
    1326
    						horizontalHeader?: {
    1327
    							backgroundColor: string
    1328
    							button?: { backgroundColor: string; color: string }
    1329
    							primaryNavigation: {
    1330
    								color?: string
    1331
    								highlightColor: string
    1332
    								hoverOrFocus?: { backgroundColor?: string; color?: string }
    1333
    							}
    1334
    							secondaryNavigation?: {
    1335
    								color: string
    1336
    								highlightColor?: string
    1337
    								hoverOrFocus: { backgroundColor: string; color: string }
    1338
    							}
    1339
    							search?: { backgroundColor: string; color: string }
    1340
    						}
    1341
    						content: {
    1342
    							screen?: {
    1343
    								background: string
    1344
    								backgroundAttachment?: string
    1345
    								backgroundBlendMode?: string
    1346
    								backgroundClip?: string
    1347
    								backgroundColor?: string
    1348
    								backgroundImage?: string
    1349
    								backgroundOrigin?: string
    1350
    								backgroundPosition?: string
    1351
    								backgroundRepeat?: string
    1352
    								backgroundSize?: string
    1353
    								layer?: { width?: string; height?: string }
    1354
    								gutterTop?: string
    1355
    								gutterRight?: string
    1356
    								gutterBottom?: string
    1357
    								gutterLeft?: string
    1358
    							}
    1359
    							container?: {
    1360
    								background: string
    1361
    								backgroundAttachment?: string
    1362
    								backgroundBlendMode?: string
    1363
    								backgroundClip?: string
    1364
    								backgroundColor: string
    1365
    								backgroundImage: string
    1366
    								backgroundOrigin?: string
    1367
    								backgroundPosition?: string
    1368
    								backgroundRepeat?: string
    1369
    								backgroundSize: string
    1370
    								padding: string
    1371
    								borderRadius: string
    1372
    							}
    1373
    							header?: {
    1374
    								background: string
    1375
    								backgroundAttachment?: string
    1376
    								backgroundBlendMode?: string
    1377
    								backgroundClip?: string
    1378
    								backgroundColor: string
    1379
    								backgroundImage: string
    1380
    								backgroundOrigin?: string
    1381
    								backgroundPosition?: string
    1382
    								backgroundRepeat?: string
    1383
    								backgroundSize: string
    1384
    								padding: string
    1385
    								borderRadius: string
    1386
    							}
    1387
    							body?: {
    1388
    								background: string
    1389
    								backgroundAttachment?: string
    1390
    								backgroundBlendMode?: string
    1391
    								backgroundClip?: string
    1392
    								backgroundColor: string
    1393
    								backgroundImage: string
    1394
    								backgroundOrigin?: string
    1395
    								backgroundPosition?: string
    1396
    								backgroundRepeat?: string
    1397
    								backgroundSize: string
    1398
    								padding: string
    1399
    								borderRadius: string
    1400
    							}
    1401
    						}
    1402
    						bordersAndDividers: { color: string }
    1403
    						spaceReference?: {}
    1404
    					}
    1405
    					history?: { createdDate: string; createdBy?: {} }
    1406
    					_expandable: {
    1407
    						settings?: string
    1408
    						metadata?: string
    1409
    						operations?: string
    1410
    						lookAndFeel?: string
    1411
    						permissions?: string
    1412
    						icon?: string
    1413
    						description?: string
    1414
    						theme?: string
    1415
    						history?: string
    1416
    						homepage?: string
    1417
    						identifiers?: string
    1418
    					}
    1419
    					_links: {}
    1420
    				}
    1421
    				_expandable?: {
    1422
    					operations?: string
    1423
    					details?: string
    1424
    					personalSpace?: string
    1425
    				}
    1426
    				_links?: {}
    1427
    			}
    1428
    			when: string
    1429
    			friendlyWhen?: string
    1430
    			message?: string
    1431
    			number: number
    1432
    			minorEdit: false | true
    1433
    			content?: {
    1434
    				id?: string
    1435
    				type: string
    1436
    				status: string
    1437
    				title?: string
    1438
    				space?: {
    1439
    					id?: number
    1440
    					key: string
    1441
    					alias?: string
    1442
    					name: string
    1443
    					icon?: {
    1444
    						path: string
    1445
    						width: number
    1446
    						height: number
    1447
    						isDefault: false | true
    1448
    					}
    1449
    					description?: {
    1450
    						plain?: {
    1451
    							value: string
    1452
    							representation: 'plain' | 'view'
    1453
    							embeddedContent: {}[]
    1454
    						}
    1455
    						view?: {
    1456
    							value: string
    1457
    							representation: 'plain' | 'view'
    1458
    							embeddedContent: {}[]
    1459
    						}
    1460
    						_expandable?: { view?: string; plain?: string }
    1461
    					}
    1462
    					homepage?: {}
    1463
    					type: string
    1464
    					metadata?: {
    1465
    						labels?: {
    1466
    							results: {
    1467
    								prefix: string
    1468
    								name: string
    1469
    								id: string
    1470
    								label: string
    1471
    							}[]
    1472
    							start?: number
    1473
    							limit?: number
    1474
    							size: number
    1475
    							_links?: {}
    1476
    						}
    1477
    						_expandable?: {}
    1478
    					}
    1479
    					operations?: {
    1480
    						operation:
    1481
    							| 'administer'
    1482
    							| 'archive'
    1483
    							| 'clear_permissions'
    1484
    							| 'copy'
    1485
    							| 'create'
    1486
    							| 'create_space'
    1487
    							| 'delete'
    1488
    							| 'export'
    1489
    							| 'move'
    1490
    							| 'purge'
    1491
    							| 'purge_version'
    1492
    							| 'read'
    1493
    							| 'restore'
    1494
    							| 'restrict_content'
    1495
    							| 'update'
    1496
    							| 'use'
    1497
    						targetType: string
    1498
    					}[]
    1499
    					permissions?: {
    1500
    						id?: number
    1501
    						subjects?: {
    1502
    							user?: {
    1503
    								results: {
    1504
    									type: 'known' | 'unknown' | 'anonymous' | 'user'
    1505
    									username?: string
    1506
    									userKey?: string
    1507
    									accountId?: string
    1508
    									accountType?: '' | 'atlassian' | 'app'
    1509
    									email?: string
    1510
    									publicName?: string
    1511
    									profilePicture?: {
    1512
    										path: string
    1513
    										width: number
    1514
    										height: number
    1515
    										isDefault: false | true
    1516
    									}
    1517
    									displayName?: string
    1518
    									timeZone?: string
    1519
    									externalCollaborator?: false | true
    1520
    									isExternalCollaborator?: false | true
    1521
    									isGuest?: false | true
    1522
    									operations?: {
    1523
    										operation:
    1524
    											| 'administer'
    1525
    											| 'archive'
    1526
    											| 'clear_permissions'
    1527
    											| 'copy'
    1528
    											| 'create'
    1529
    											| 'create_space'
    1530
    											| 'delete'
    1531
    											| 'export'
    1532
    											| 'move'
    1533
    											| 'purge'
    1534
    											| 'purge_version'
    1535
    											| 'read'
    1536
    											| 'restore'
    1537
    											| 'restrict_content'
    1538
    											| 'update'
    1539
    											| 'use'
    1540
    										targetType: string
    1541
    									}[]
    1542
    									details?: {
    1543
    										business?: {
    1544
    											position?: string
    1545
    											department?: string
    1546
    											location?: string
    1547
    										}
    1548
    										personal?: {
    1549
    											phone?: string
    1550
    											im?: string
    1551
    											website?: string
    1552
    											email?: string
    1553
    										}
    1554
    									}
    1555
    									personalSpace?: {}
    1556
    									_expandable?: {
    1557
    										operations?: string
    1558
    										details?: string
    1559
    										personalSpace?: string
    1560
    									}
    1561
    									_links?: {}
    1562
    								}[]
    1563
    								size: number
    1564
    								start?: number
    1565
    								limit?: number
    1566
    							}
    1567
    							group?: {
    1568
    								results: {
    1569
    									type: 'group'
    1570
    									name: string
    1571
    									id: string
    1572
    									_links?: {}
    1573
    								}[]
    1574
    								size: number
    1575
    								start?: number
    1576
    								limit?: number
    1577
    							}
    1578
    							_expandable?: { user?: string; group?: string }
    1579
    						}
    1580
    						operation: {
    1581
    							operation:
    1582
    								| 'administer'
    1583
    								| 'archive'
    1584
    								| 'clear_permissions'
    1585
    								| 'copy'
    1586
    								| 'create'
    1587
    								| 'create_space'
    1588
    								| 'delete'
    1589
    								| 'export'
    1590
    								| 'move'
    1591
    								| 'purge'
    1592
    								| 'purge_version'
    1593
    								| 'read'
    1594
    								| 'restore'
    1595
    								| 'restrict_content'
    1596
    								| 'update'
    1597
    								| 'use'
    1598
    							targetType: string
    1599
    						}
    1600
    						anonymousAccess: false | true
    1601
    						unlicensedAccess: false | true
    1602
    					}[]
    1603
    					status: string
    1604
    					settings?: {
    1605
    						routeOverrideEnabled: false | true
    1606
    						editor?: { page: string; blogpost: string; default: string }
    1607
    						spaceKey?: string
    1608
    						_links: {}
    1609
    					}
    1610
    					theme?: {
    1611
    						themeKey: string
    1612
    						name?: string
    1613
    						description?: string
    1614
    						icon?: {
    1615
    							path: string
    1616
    							width: number
    1617
    							height: number
    1618
    							isDefault: false | true
    1619
    						}
    1620
    						_links?: {}
    1621
    					}
    1622
    					lookAndFeel?: {
    1623
    						headings: { color: string }
    1624
    						links: { color: string }
    1625
    						menus: { hoverOrFocus: { backgroundColor: string }; color: string }
    1626
    						header: {
    1627
    							backgroundColor: string
    1628
    							button: { backgroundColor: string; color: string }
    1629
    							primaryNavigation: {
    1630
    								color: string
    1631
    								highlightColor?: string
    1632
    								hoverOrFocus: { backgroundColor: string; color: string }
    1633
    							}
    1634
    							secondaryNavigation: {
    1635
    								color: string
    1636
    								highlightColor?: string
    1637
    								hoverOrFocus: { backgroundColor: string; color: string }
    1638
    							}
    1639
    							search: { backgroundColor: string; color: string }
    1640
    						}
    1641
    						horizontalHeader?: {
    1642
    							backgroundColor: string
    1643
    							button?: { backgroundColor: string; color: string }
    1644
    							primaryNavigation: {
    1645
    								color?: string
    1646
    								highlightColor: string
    1647
    								hoverOrFocus?: { backgroundColor?: string; color?: string }
    1648
    							}
    1649
    							secondaryNavigation?: {
    1650
    								color: string
    1651
    								highlightColor?: string
    1652
    								hoverOrFocus: { backgroundColor: string; color: string }
    1653
    							}
    1654
    							search?: { backgroundColor: string; color: string }
    1655
    						}
    1656
    						content: {
    1657
    							screen?: {
    1658
    								background: string
    1659
    								backgroundAttachment?: string
    1660
    								backgroundBlendMode?: string
    1661
    								backgroundClip?: string
    1662
    								backgroundColor?: string
    1663
    								backgroundImage?: string
    1664
    								backgroundOrigin?: string
    1665
    								backgroundPosition?: string
    1666
    								backgroundRepeat?: string
    1667
    								backgroundSize?: string
    1668
    								layer?: { width?: string; height?: string }
    1669
    								gutterTop?: string
    1670
    								gutterRight?: string
    1671
    								gutterBottom?: string
    1672
    								gutterLeft?: string
    1673
    							}
    1674
    							container?: {
    1675
    								background: string
    1676
    								backgroundAttachment?: string
    1677
    								backgroundBlendMode?: string
    1678
    								backgroundClip?: string
    1679
    								backgroundColor: string
    1680
    								backgroundImage: string
    1681
    								backgroundOrigin?: string
    1682
    								backgroundPosition?: string
    1683
    								backgroundRepeat?: string
    1684
    								backgroundSize: string
    1685
    								padding: string
    1686
    								borderRadius: string
    1687
    							}
    1688
    							header?: {
    1689
    								background: string
    1690
    								backgroundAttachment?: string
    1691
    								backgroundBlendMode?: string
    1692
    								backgroundClip?: string
    1693
    								backgroundColor: string
    1694
    								backgroundImage: string
    1695
    								backgroundOrigin?: string
    1696
    								backgroundPosition?: string
    1697
    								backgroundRepeat?: string
    1698
    								backgroundSize: string
    1699
    								padding: string
    1700
    								borderRadius: string
    1701
    							}
    1702
    							body?: {
    1703
    								background: string
    1704
    								backgroundAttachment?: string
    1705
    								backgroundBlendMode?: string
    1706
    								backgroundClip?: string
    1707
    								backgroundColor: string
    1708
    								backgroundImage: string
    1709
    								backgroundOrigin?: string
    1710
    								backgroundPosition?: string
    1711
    								backgroundRepeat?: string
    1712
    								backgroundSize: string
    1713
    								padding: string
    1714
    								borderRadius: string
    1715
    							}
    1716
    						}
    1717
    						bordersAndDividers: { color: string }
    1718
    						spaceReference?: {}
    1719
    					}
    1720
    					history?: {
    1721
    						createdDate: string
    1722
    						createdBy?: {
    1723
    							type: 'known' | 'unknown' | 'anonymous' | 'user'
    1724
    							username?: string
    1725
    							userKey?: string
    1726
    							accountId?: string
    1727
    							accountType?: '' | 'atlassian' | 'app'
    1728
    							email?: string
    1729
    							publicName?: string
    1730
    							profilePicture?: {
    1731
    								path: string
    1732
    								width: number
    1733
    								height: number
    1734
    								isDefault: false | true
    1735
    							}
    1736
    							displayName?: string
    1737
    							timeZone?: string
    1738
    							externalCollaborator?: false | true
    1739
    							isExternalCollaborator?: false | true
    1740
    							isGuest?: false | true
    1741
    							operations?: {
    1742
    								operation:
    1743
    									| 'administer'
    1744
    									| 'archive'
    1745
    									| 'clear_permissions'
    1746
    									| 'copy'
    1747
    									| 'create'
    1748
    									| 'create_space'
    1749
    									| 'delete'
    1750
    									| 'export'
    1751
    									| 'move'
    1752
    									| 'purge'
    1753
    									| 'purge_version'
    1754
    									| 'read'
    1755
    									| 'restore'
    1756
    									| 'restrict_content'
    1757
    									| 'update'
    1758
    									| 'use'
    1759
    								targetType: string
    1760
    							}[]
    1761
    							details?: {
    1762
    								business?: {
    1763
    									position?: string
    1764
    									department?: string
    1765
    									location?: string
    1766
    								}
    1767
    								personal?: {
    1768
    									phone?: string
    1769
    									im?: string
    1770
    									website?: string
    1771
    									email?: string
    1772
    								}
    1773
    							}
    1774
    							personalSpace?: {}
    1775
    							_expandable?: {
    1776
    								operations?: string
    1777
    								details?: string
    1778
    								personalSpace?: string
    1779
    							}
    1780
    							_links?: {}
    1781
    						}
    1782
    					}
    1783
    					_expandable: {
    1784
    						settings?: string
    1785
    						metadata?: string
    1786
    						operations?: string
    1787
    						lookAndFeel?: string
    1788
    						permissions?: string
    1789
    						icon?: string
    1790
    						description?: string
    1791
    						theme?: string
    1792
    						history?: string
    1793
    						homepage?: string
    1794
    						identifiers?: string
    1795
    					}
    1796
    					_links: {}
    1797
    				}
    1798
    				history?: {
    1799
    					latest: false | true
    1800
    					createdBy?: {
    1801
    						type: 'known' | 'unknown' | 'anonymous' | 'user'
    1802
    						username?: string
    1803
    						userKey?: string
    1804
    						accountId?: string
    1805
    						accountType?: '' | 'atlassian' | 'app'
    1806
    						email?: string
    1807
    						publicName?: string
    1808
    						profilePicture?: {
    1809
    							path: string
    1810
    							width: number
    1811
    							height: number
    1812
    							isDefault: false | true
    1813
    						}
    1814
    						displayName?: string
    1815
    						timeZone?: string
    1816
    						externalCollaborator?: false | true
    1817
    						isExternalCollaborator?: false | true
    1818
    						isGuest?: false | true
    1819
    						operations?: {
    1820
    							operation:
    1821
    								| 'administer'
    1822
    								| 'archive'
    1823
    								| 'clear_permissions'
    1824
    								| 'copy'
    1825
    								| 'create'
    1826
    								| 'create_space'
    1827
    								| 'delete'
    1828
    								| 'export'
    1829
    								| 'move'
    1830
    								| 'purge'
    1831
    								| 'purge_version'
    1832
    								| 'read'
    1833
    								| 'restore'
    1834
    								| 'restrict_content'
    1835
    								| 'update'
    1836
    								| 'use'
    1837
    							targetType: string
    1838
    						}[]
    1839
    						details?: {
    1840
    							business?: {
    1841
    								position?: string
    1842
    								department?: string
    1843
    								location?: string
    1844
    							}
    1845
    							personal?: {
    1846
    								phone?: string
    1847
    								im?: string
    1848
    								website?: string
    1849
    								email?: string
    1850
    							}
    1851
    						}
    1852
    						personalSpace?: {
    1853
    							id?: number
    1854
    							key: string
    1855
    							alias?: string
    1856
    							name: string
    1857
    							icon?: {
    1858
    								path: string
    1859
    								width: number
    1860
    								height: number
    1861
    								isDefault: false | true
    1862
    							}
    1863
    							description?: {
    1864
    								plain?: {
    1865
    									value: string
    1866
    									representation: 'plain' | 'view'
    1867
    									embeddedContent: {}[]
    1868
    								}
    1869
    								view?: {
    1870
    									value: string
    1871
    									representation: 'plain' | 'view'
    1872
    									embeddedContent: {}[]
    1873
    								}
    1874
    								_expandable?: { view?: string; plain?: string }
    1875
    							}
    1876
    							homepage?: {}
    1877
    							type: string
    1878
    							metadata?: {
    1879
    								labels?: {
    1880
    									results: {
    1881
    										prefix: string
    1882
    										name: string
    1883
    										id: string
    1884
    										label: string
    1885
    									}[]
    1886
    									start?: number
    1887
    									limit?: number
    1888
    									size: number
    1889
    									_links?: {}
    1890
    								}
    1891
    								_expandable?: {}
    1892
    							}
    1893
    							operations?: {
    1894
    								operation:
    1895
    									| 'administer'
    1896
    									| 'archive'
    1897
    									| 'clear_permissions'
    1898
    									| 'copy'
    1899
    									| 'create'
    1900
    									| 'create_space'
    1901
    									| 'delete'
    1902
    									| 'export'
    1903
    									| 'move'
    1904
    									| 'purge'
    1905
    									| 'purge_version'
    1906
    									| 'read'
    1907
    									| 'restore'
    1908
    									| 'restrict_content'
    1909
    									| 'update'
    1910
    									| 'use'
    1911
    								targetType: string
    1912
    							}[]
    1913
    							permissions?: {
    1914
    								id?: number
    1915
    								subjects?: {
    1916
    									user?: {
    1917
    										results: {}[]
    1918
    										size: number
    1919
    										start?: number
    1920
    										limit?: number
    1921
    									}
    1922
    									group?: {
    1923
    										results: {
    1924
    											type: 'group'
    1925
    											name: string
    1926
    											id: string
    1927
    											_links?: {}
    1928
    										}[]
    1929
    										size: number
    1930
    										start?: number
    1931
    										limit?: number
    1932
    									}
    1933
    									_expandable?: { user?: string; group?: string }
    1934
    								}
    1935
    								operation: {
    1936
    									operation:
    1937
    										| 'administer'
    1938
    										| 'archive'
    1939
    										| 'clear_permissions'
    1940
    										| 'copy'
    1941
    										| 'create'
    1942
    										| 'create_space'
    1943
    										| 'delete'
    1944
    										| 'export'
    1945
    										| 'move'
    1946
    										| 'purge'
    1947
    										| 'purge_version'
    1948
    										| 'read'
    1949
    										| 'restore'
    1950
    										| 'restrict_content'
    1951
    										| 'update'
    1952
    										| 'use'
    1953
    									targetType: string
    1954
    								}
    1955
    								anonymousAccess: false | true
    1956
    								unlicensedAccess: false | true
    1957
    							}[]
    1958
    							status: string
    1959
    							settings?: {
    1960
    								routeOverrideEnabled: false | true
    1961
    								editor?: { page: string; blogpost: string; default: string }
    1962
    								spaceKey?: string
    1963
    								_links: {}
    1964
    							}
    1965
    							theme?: {
    1966
    								themeKey: string
    1967
    								name?: string
    1968
    								description?: string
    1969
    								icon?: {
    1970
    									path: string
    1971
    									width: number
    1972
    									height: number
    1973
    									isDefault: false | true
    1974
    								}
    1975
    								_links?: {}
    1976
    							}
    1977
    							lookAndFeel?: {
    1978
    								headings: { color: string }
    1979
    								links: { color: string }
    1980
    								menus: {
    1981
    									hoverOrFocus: { backgroundColor: string }
    1982
    									color: string
    1983
    								}
    1984
    								header: {
    1985
    									backgroundColor: string
    1986
    									button: { backgroundColor: string; color: string }
    1987
    									primaryNavigation: {
    1988
    										color: string
    1989
    										highlightColor?: string
    1990
    										hoverOrFocus: { backgroundColor: string; color: string }
    1991
    									}
    1992
    									secondaryNavigation: {
    1993
    										color: string
    1994
    										highlightColor?: string
    1995
    										hoverOrFocus: { backgroundColor: string; color: string }
    1996
    									}
    1997
    									search: { backgroundColor: string; color: string }
    1998
    								}
    1999
    								horizontalHeader?: {
    2000
    									backgroundColor: string
    2001
    									button?: { backgroundColor: string; color: string }
    2002
    									primaryNavigation: {
    2003
    										color?: string
    2004
    										highlightColor: string
    2005
    										hoverOrFocus?: { backgroundColor?: string; color?: string }
    2006
    									}
    2007
    									secondaryNavigation?: {
    2008
    										color: string
    2009
    										highlightColor?: string
    2010
    										hoverOrFocus: { backgroundColor: string; color: string }
    2011
    									}
    2012
    									search?: { backgroundColor: string; color: string }
    2013
    								}
    2014
    								content: {
    2015
    									screen?: {
    2016
    										background: string
    2017
    										backgroundAttachment?: string
    2018
    										backgroundBlendMode?: string
    2019
    										backgroundClip?: string
    2020
    										backgroundColor?: string
    2021
    										backgroundImage?: string
    2022
    										backgroundOrigin?: string
    2023
    										backgroundPosition?: string
    2024
    										backgroundRepeat?: string
    2025
    										backgroundSize?: string
    2026
    										layer?: { width?: string; height?: string }
    2027
    										gutterTop?: string
    2028
    										gutterRight?: string
    2029
    										gutterBottom?: string
    2030
    										gutterLeft?: string
    2031
    									}
    2032
    									container?: {
    2033
    										background: string
    2034
    										backgroundAttachment?: string
    2035
    										backgroundBlendMode?: string
    2036
    										backgroundClip?: string
    2037
    										backgroundColor: string
    2038
    										backgroundImage: string
    2039
    										backgroundOrigin?: string
    2040
    										backgroundPosition?: string
    2041
    										backgroundRepeat?: string
    2042
    										backgroundSize: string
    2043
    										padding: string
    2044
    										borderRadius: string
    2045
    									}
    2046
    									header?: {
    2047
    										background: string
    2048
    										backgroundAttachment?: string
    2049
    										backgroundBlendMode?: string
    2050
    										backgroundClip?: string
    2051
    										backgroundColor: string
    2052
    										backgroundImage: string
    2053
    										backgroundOrigin?: string
    2054
    										backgroundPosition?: string
    2055
    										backgroundRepeat?: string
    2056
    										backgroundSize: string
    2057
    										padding: string
    2058
    										borderRadius: string
    2059
    									}
    2060
    									body?: {
    2061
    										background: string
    2062
    										backgroundAttachment?: string
    2063
    										backgroundBlendMode?: string
    2064
    										backgroundClip?: string
    2065
    										backgroundColor: string
    2066
    										backgroundImage: string
    2067
    										backgroundOrigin?: string
    2068
    										backgroundPosition?: string
    2069
    										backgroundRepeat?: string
    2070
    										backgroundSize: string
    2071
    										padding: string
    2072
    										borderRadius: string
    2073
    									}
    2074
    								}
    2075
    								bordersAndDividers: { color: string }
    2076
    								spaceReference?: {}
    2077
    							}
    2078
    							history?: { createdDate: string; createdBy?: {} }
    2079
    							_expandable: {
    2080
    								settings?: string
    2081
    								metadata?: string
    2082
    								operations?: string
    2083
    								lookAndFeel?: string
    2084
    								permissions?: string
    2085
    								icon?: string
    2086
    								description?: string
    2087
    								theme?: string
    2088
    								history?: string
    2089
    								homepage?: string
    2090
    								identifiers?: string
    2091
    							}
    2092
    							_links: {}
    2093
    						}
    2094
    						_expandable?: {
    2095
    							operations?: string
    2096
    							details?: string
    2097
    							personalSpace?: string
    2098
    						}
    2099
    						_links?: {}
    2100
    					}
    2101
    					ownedBy?: {
    2102
    						type: 'known' | 'unknown' | 'anonymous' | 'user'
    2103
    						username?: string
    2104
    						userKey?: string
    2105
    						accountId?: string
    2106
    						accountType?: '' | 'atlassian' | 'app'
    2107
    						email?: string
    2108
    						publicName?: string
    2109
    						profilePicture?: {
    2110
    							path: string
    2111
    							width: number
    2112
    							height: number
    2113
    							isDefault: false | true
    2114
    						}
    2115
    						displayName?: string
    2116
    						timeZone?: string
    2117
    						externalCollaborator?: false | true
    2118
    						isExternalCollaborator?: false | true
    2119
    						isGuest?: false | true
    2120
    						operations?: {
    2121
    							operation:
    2122
    								| 'administer'
    2123
    								| 'archive'
    2124
    								| 'clear_permissions'
    2125
    								| 'copy'
    2126
    								| 'create'
    2127
    								| 'create_space'
    2128
    								| 'delete'
    2129
    								| 'export'
    2130
    								| 'move'
    2131
    								| 'purge'
    2132
    								| 'purge_version'
    2133
    								| 'read'
    2134
    								| 'restore'
    2135
    								| 'restrict_content'
    2136
    								| 'update'
    2137
    								| 'use'
    2138
    							targetType: string
    2139
    						}[]
    2140
    						details?: {
    2141
    							business?: {
    2142
    								position?: string
    2143
    								department?: string
    2144
    								location?: string
    2145
    							}
    2146
    							personal?: {
    2147
    								phone?: string
    2148
    								im?: string
    2149
    								website?: string
    2150
    								email?: string
    2151
    							}
    2152
    						}
    2153
    						personalSpace?: {
    2154
    							id?: number
    2155
    							key: string
    2156
    							alias?: string
    2157
    							name: string
    2158
    							icon?: {
    2159
    								path: string
    2160
    								width: number
    2161
    								height: number
    2162
    								isDefault: false | true
    2163
    							}
    2164
    							description?: {
    2165
    								plain?: {
    2166
    									value: string
    2167
    									representation: 'plain' | 'view'
    2168
    									embeddedContent: {}[]
    2169
    								}
    2170
    								view?: {
    2171
    									value: string
    2172
    									representation: 'plain' | 'view'
    2173
    									embeddedContent: {}[]
    2174
    								}
    2175
    								_expandable?: { view?: string; plain?: string }
    2176
    							}
    2177
    							homepage?: {}
    2178
    							type: string
    2179
    							metadata?: {
    2180
    								labels?: {
    2181
    									results: {
    2182
    										prefix: string
    2183
    										name: string
    2184
    										id: string
    2185
    										label: string
    2186
    									}[]
    2187
    									start?: number
    2188
    									limit?: number
    2189
    									size: number
    2190
    									_links?: {}
    2191
    								}
    2192
    								_expandable?: {}
    2193
    							}
    2194
    							operations?: {
    2195
    								operation:
    2196
    									| 'administer'
    2197
    									| 'archive'
    2198
    									| 'clear_permissions'
    2199
    									| 'copy'
    2200
    									| 'create'
    2201
    									| 'create_space'
    2202
    									| 'delete'
    2203
    									| 'export'
    2204
    									| 'move'
    2205
    									| 'purge'
    2206
    									| 'purge_version'
    2207
    									| 'read'
    2208
    									| 'restore'
    2209
    									| 'restrict_content'
    2210
    									| 'update'
    2211
    									| 'use'
    2212
    								targetType: string
    2213
    							}[]
    2214
    							permissions?: {
    2215
    								id?: number
    2216
    								subjects?: {
    2217
    									user?: {
    2218
    										results: {}[]
    2219
    										size: number
    2220
    										start?: number
    2221
    										limit?: number
    2222
    									}
    2223
    									group?: {
    2224
    										results: {
    2225
    											type: 'group'
    2226
    											name: string
    2227
    											id: string
    2228
    											_links?: {}
    2229
    										}[]
    2230
    										size: number
    2231
    										start?: number
    2232
    										limit?: number
    2233
    									}
    2234
    									_expandable?: { user?: string; group?: string }
    2235
    								}
    2236
    								operation: {
    2237
    									operation:
    2238
    										| 'administer'
    2239
    										| 'archive'
    2240
    										| 'clear_permissions'
    2241
    										| 'copy'
    2242
    										| 'create'
    2243
    										| 'create_space'
    2244
    										| 'delete'
    2245
    										| 'export'
    2246
    										| 'move'
    2247
    										| 'purge'
    2248
    										| 'purge_version'
    2249
    										| 'read'
    2250
    										| 'restore'
    2251
    										| 'restrict_content'
    2252
    										| 'update'
    2253
    										| 'use'
    2254
    									targetType: string
    2255
    								}
    2256
    								anonymousAccess: false | true
    2257
    								unlicensedAccess: false | true
    2258
    							}[]
    2259
    							status: string
    2260
    							settings?: {
    2261
    								routeOverrideEnabled: false | true
    2262
    								editor?: { page: string; blogpost: string; default: string }
    2263
    								spaceKey?: string
    2264
    								_links: {}
    2265
    							}
    2266
    							theme?: {
    2267
    								themeKey: string
    2268
    								name?: string
    2269
    								description?: string
    2270
    								icon?: {
    2271
    									path: string
    2272
    									width: number
    2273
    									height: number
    2274
    									isDefault: false | true
    2275
    								}
    2276
    								_links?: {}
    2277
    							}
    2278
    							lookAndFeel?: {
    2279
    								headings: { color: string }
    2280
    								links: { color: string }
    2281
    								menus: {
    2282
    									hoverOrFocus: { backgroundColor: string }
    2283
    									color: string
    2284
    								}
    2285
    								header: {
    2286
    									backgroundColor: string
    2287
    									button: { backgroundColor: string; color: string }
    2288
    									primaryNavigation: {
    2289
    										color: string
    2290
    										highlightColor?: string
    2291
    										hoverOrFocus: { backgroundColor: string; color: string }
    2292
    									}
    2293
    									secondaryNavigation: {
    2294
    										color: string
    2295
    										highlightColor?: string
    2296
    										hoverOrFocus: { backgroundColor: string; color: string }
    2297
    									}
    2298
    									search: { backgroundColor: string; color: string }
    2299
    								}
    2300
    								horizontalHeader?: {
    2301
    									backgroundColor: string
    2302
    									button?: { backgroundColor: string; color: string }
    2303
    									primaryNavigation: {
    2304
    										color?: string
    2305
    										highlightColor: string
    2306
    										hoverOrFocus?: { backgroundColor?: string; color?: string }
    2307
    									}
    2308
    									secondaryNavigation?: {
    2309
    										color: string
    2310
    										highlightColor?: string
    2311
    										hoverOrFocus: { backgroundColor: string; color: string }
    2312
    									}
    2313
    									search?: { backgroundColor: string; color: string }
    2314
    								}
    2315
    								content: {
    2316
    									screen?: {
    2317
    										background: string
    2318
    										backgroundAttachment?: string
    2319
    										backgroundBlendMode?: string
    2320
    										backgroundClip?: string
    2321
    										backgroundColor?: string
    2322
    										backgroundImage?: string
    2323
    										backgroundOrigin?: string
    2324
    										backgroundPosition?: string
    2325
    										backgroundRepeat?: string
    2326
    										backgroundSize?: string
    2327
    										layer?: { width?: string; height?: string }
    2328
    										gutterTop?: string
    2329
    										gutterRight?: string
    2330
    										gutterBottom?: string
    2331
    										gutterLeft?: string
    2332
    									}
    2333
    									container?: {
    2334
    										background: string
    2335
    										backgroundAttachment?: string
    2336
    										backgroundBlendMode?: string
    2337
    										backgroundClip?: string
    2338
    										backgroundColor: string
    2339
    										backgroundImage: string
    2340
    										backgroundOrigin?: string
    2341
    										backgroundPosition?: string
    2342
    										backgroundRepeat?: string
    2343
    										backgroundSize: string
    2344
    										padding: string
    2345
    										borderRadius: string
    2346
    									}
    2347
    									header?: {
    2348
    										background: string
    2349
    										backgroundAttachment?: string
    2350
    										backgroundBlendMode?: string
    2351
    										backgroundClip?: string
    2352
    										backgroundColor: string
    2353
    										backgroundImage: string
    2354
    										backgroundOrigin?: string
    2355
    										backgroundPosition?: string
    2356
    										backgroundRepeat?: string
    2357
    										backgroundSize: string
    2358
    										padding: string
    2359
    										borderRadius: string
    2360
    									}
    2361
    									body?: {
    2362
    										background: string
    2363
    										backgroundAttachment?: string
    2364
    										backgroundBlendMode?: string
    2365
    										backgroundClip?: string
    2366
    										backgroundColor: string
    2367
    										backgroundImage: string
    2368
    										backgroundOrigin?: string
    2369
    										backgroundPosition?: string
    2370
    										backgroundRepeat?: string
    2371
    										backgroundSize: string
    2372
    										padding: string
    2373
    										borderRadius: string
    2374
    									}
    2375
    								}
    2376
    								bordersAndDividers: { color: string }
    2377
    								spaceReference?: {}
    2378
    							}
    2379
    							history?: { createdDate: string; createdBy?: {} }
    2380
    							_expandable: {
    2381
    								settings?: string
    2382
    								metadata?: string
    2383
    								operations?: string
    2384
    								lookAndFeel?: string
    2385
    								permissions?: string
    2386
    								icon?: string
    2387
    								description?: string
    2388
    								theme?: string
    2389
    								history?: string
    2390
    								homepage?: string
    2391
    								identifiers?: string
    2392
    							}
    2393
    							_links: {}
    2394
    						}
    2395
    						_expandable?: {
    2396
    							operations?: string
    2397
    							details?: string
    2398
    							personalSpace?: string
    2399
    						}
    2400
    						_links?: {}
    2401
    					}
    2402
    					lastOwnedBy?: {
    2403
    						type: 'known' | 'unknown' | 'anonymous' | 'user'
    2404
    						username?: string
    2405
    						userKey?: string
    2406
    						accountId?: string
    2407
    						accountType?: '' | 'atlassian' | 'app'
    2408
    						email?: string
    2409
    						publicName?: string
    2410
    						profilePicture?: {
    2411
    							path: string
    2412
    							width: number
    2413
    							height: number
    2414
    							isDefault: false | true
    2415
    						}
    2416
    						displayName?: string
    2417
    						timeZone?: string
    2418
    						externalCollaborator?: false | true
    2419
    						isExternalCollaborator?: false | true
    2420
    						isGuest?: false | true
    2421
    						operations?: {
    2422
    							operation:
    2423
    								| 'administer'
    2424
    								| 'archive'
    2425
    								| 'clear_permissions'
    2426
    								| 'copy'
    2427
    								| 'create'
    2428
    								| 'create_space'
    2429
    								| 'delete'
    2430
    								| 'export'
    2431
    								| 'move'
    2432
    								| 'purge'
    2433
    								| 'purge_version'
    2434
    								| 'read'
    2435
    								| 'restore'
    2436
    								| 'restrict_content'
    2437
    								| 'update'
    2438
    								| 'use'
    2439
    							targetType: string
    2440
    						}[]
    2441
    						details?: {
    2442
    							business?: {
    2443
    								position?: string
    2444
    								department?: string
    2445
    								location?: string
    2446
    							}
    2447
    							personal?: {
    2448
    								phone?: string
    2449
    								im?: string
    2450
    								website?: string
    2451
    								email?: string
    2452
    							}
    2453
    						}
    2454
    						personalSpace?: {
    2455
    							id?: number
    2456
    							key: string
    2457
    							alias?: string
    2458
    							name: string
    2459
    							icon?: {
    2460
    								path: string
    2461
    								width: number
    2462
    								height: number
    2463
    								isDefault: false | true
    2464
    							}
    2465
    							description?: {
    2466
    								plain?: {
    2467
    									value: string
    2468
    									representation: 'plain' | 'view'
    2469
    									embeddedContent: {}[]
    2470
    								}
    2471
    								view?: {
    2472
    									value: string
    2473
    									representation: 'plain' | 'view'
    2474
    									embeddedContent: {}[]
    2475
    								}
    2476
    								_expandable?: { view?: string; plain?: string }
    2477
    							}
    2478
    							homepage?: {}
    2479
    							type: string
    2480
    							metadata?: {
    2481
    								labels?: {
    2482
    									results: {
    2483
    										prefix: string
    2484
    										name: string
    2485
    										id: string
    2486
    										label: string
    2487
    									}[]
    2488
    									start?: number
    2489
    									limit?: number
    2490
    									size: number
    2491
    									_links?: {}
    2492
    								}
    2493
    								_expandable?: {}
    2494
    							}
    2495
    							operations?: {
    2496
    								operation:
    2497
    									| 'administer'
    2498
    									| 'archive'
    2499
    									| 'clear_permissions'
    2500
    									| 'copy'
    2501
    									| 'create'
    2502
    									| 'create_space'
    2503
    									| 'delete'
    2504
    									| 'export'
    2505
    									| 'move'
    2506
    									| 'purge'
    2507
    									| 'purge_version'
    2508
    									| 'read'
    2509
    									| 'restore'
    2510
    									| 'restrict_content'
    2511
    									| 'update'
    2512
    									| 'use'
    2513
    								targetType: string
    2514
    							}[]
    2515
    							permissions?: {
    2516
    								id?: number
    2517
    								subjects?: {
    2518
    									user?: {
    2519
    										results: {}[]
    2520
    										size: number
    2521
    										start?: number
    2522
    										limit?: number
    2523
    									}
    2524
    									group?: {
    2525
    										results: {
    2526
    											type: 'group'
    2527
    											name: string
    2528
    											id: string
    2529
    											_links?: {}
    2530
    										}[]
    2531
    										size: number
    2532
    										start?: number
    2533
    										limit?: number
    2534
    									}
    2535
    									_expandable?: { user?: string; group?: string }
    2536
    								}
    2537
    								operation: {
    2538
    									operation:
    2539
    										| 'administer'
    2540
    										| 'archive'
    2541
    										| 'clear_permissions'
    2542
    										| 'copy'
    2543
    										| 'create'
    2544
    										| 'create_space'
    2545
    										| 'delete'
    2546
    										| 'export'
    2547
    										| 'move'
    2548
    										| 'purge'
    2549
    										| 'purge_version'
    2550
    										| 'read'
    2551
    										| 'restore'
    2552
    										| 'restrict_content'
    2553
    										| 'update'
    2554
    										| 'use'
    2555
    									targetType: string
    2556
    								}
    2557
    								anonymousAccess: false | true
    2558
    								unlicensedAccess: false | true
    2559
    							}[]
    2560
    							status: string
    2561
    							settings?: {
    2562
    								routeOverrideEnabled: false | true
    2563
    								editor?: { page: string; blogpost: string; default: string }
    2564
    								spaceKey?: string
    2565
    								_links: {}
    2566
    							}
    2567
    							theme?: {
    2568
    								themeKey: string
    2569
    								name?: string
    2570
    								description?: string
    2571
    								icon?: {
    2572
    									path: string
    2573
    									width: number
    2574
    									height: number
    2575
    									isDefault: false | true
    2576
    								}
    2577
    								_links?: {}
    2578
    							}
    2579
    							lookAndFeel?: {
    2580
    								headings: { color: string }
    2581
    								links: { color: string }
    2582
    								menus: {
    2583
    									hoverOrFocus: { backgroundColor: string }
    2584
    									color: string
    2585
    								}
    2586
    								header: {
    2587
    									backgroundColor: string
    2588
    									button: { backgroundColor: string; color: string }
    2589
    									primaryNavigation: {
    2590
    										color: string
    2591
    										highlightColor?: string
    2592
    										hoverOrFocus: { backgroundColor: string; color: string }
    2593
    									}
    2594
    									secondaryNavigation: {
    2595
    										color: string
    2596
    										highlightColor?: string
    2597
    										hoverOrFocus: { backgroundColor: string; color: string }
    2598
    									}
    2599
    									search: { backgroundColor: string; color: string }
    2600
    								}
    2601
    								horizontalHeader?: {
    2602
    									backgroundColor: string
    2603
    									button?: { backgroundColor: string; color: string }
    2604
    									primaryNavigation: {
    2605
    										color?: string
    2606
    										highlightColor: string
    2607
    										hoverOrFocus?: { backgroundColor?: string; color?: string }
    2608
    									}
    2609
    									secondaryNavigation?: {
    2610
    										color: string
    2611
    										highlightColor?: string
    2612
    										hoverOrFocus: { backgroundColor: string; color: string }
    2613
    									}
    2614
    									search?: { backgroundColor: string; color: string }
    2615
    								}
    2616
    								content: {
    2617
    									screen?: {
    2618
    										background: string
    2619
    										backgroundAttachment?: string
    2620
    										backgroundBlendMode?: string
    2621
    										backgroundClip?: string
    2622
    										backgroundColor?: string
    2623
    										backgroundImage?: string
    2624
    										backgroundOrigin?: string
    2625
    										backgroundPosition?: string
    2626
    										backgroundRepeat?: string
    2627
    										backgroundSize?: string
    2628
    										layer?: { width?: string; height?: string }
    2629
    										gutterTop?: string
    2630
    										gutterRight?: string
    2631
    										gutterBottom?: string
    2632
    										gutterLeft?: string
    2633
    									}
    2634
    									container?: {
    2635
    										background: string
    2636
    										backgroundAttachment?: string
    2637
    										backgroundBlendMode?: string
    2638
    										backgroundClip?: string
    2639
    										backgroundColor: string
    2640
    										backgroundImage: string
    2641
    										backgroundOrigin?: string
    2642
    										backgroundPosition?: string
    2643
    										backgroundRepeat?: string
    2644
    										backgroundSize: string
    2645
    										padding: string
    2646
    										borderRadius: string
    2647
    									}
    2648
    									header?: {
    2649
    										background: string
    2650
    										backgroundAttachment?: string
    2651
    										backgroundBlendMode?: string
    2652
    										backgroundClip?: string
    2653
    										backgroundColor: string
    2654
    										backgroundImage: string
    2655
    										backgroundOrigin?: string
    2656
    										backgroundPosition?: string
    2657
    										backgroundRepeat?: string
    2658
    										backgroundSize: string
    2659
    										padding: string
    2660
    										borderRadius: string
    2661
    									}
    2662
    									body?: {
    2663
    										background: string
    2664
    										backgroundAttachment?: string
    2665
    										backgroundBlendMode?: string
    2666
    										backgroundClip?: string
    2667
    										backgroundColor: string
    2668
    										backgroundImage: string
    2669
    										backgroundOrigin?: string
    2670
    										backgroundPosition?: string
    2671
    										backgroundRepeat?: string
    2672
    										backgroundSize: string
    2673
    										padding: string
    2674
    										borderRadius: string
    2675
    									}
    2676
    								}
    2677
    								bordersAndDividers: { color: string }
    2678
    								spaceReference?: {}
    2679
    							}
    2680
    							history?: { createdDate: string; createdBy?: {} }
    2681
    							_expandable: {
    2682
    								settings?: string
    2683
    								metadata?: string
    2684
    								operations?: string
    2685
    								lookAndFeel?: string
    2686
    								permissions?: string
    2687
    								icon?: string
    2688
    								description?: string
    2689
    								theme?: string
    2690
    								history?: string
    2691
    								homepage?: string
    2692
    								identifiers?: string
    2693
    							}
    2694
    							_links: {}
    2695
    						}
    2696
    						_expandable?: {
    2697
    							operations?: string
    2698
    							details?: string
    2699
    							personalSpace?: string
    2700
    						}
    2701
    						_links?: {}
    2702
    					}
    2703
    					createdDate?: string
    2704
    					lastUpdated?: {}
    2705
    					previousVersion?: {}
    2706
    					contributors?: {
    2707
    						publishers?: {
    2708
    							users?: {
    2709
    								type: 'known' | 'unknown' | 'anonymous' | 'user'
    2710
    								username?: string
    2711
    								userKey?: string
    2712
    								accountId?: string
    2713
    								accountType?: '' | 'atlassian' | 'app'
    2714
    								email?: string
    2715
    								publicName?: string
    2716
    								profilePicture?: {
    2717
    									path: string
    2718
    									width: number
    2719
    									height: number
    2720
    									isDefault: false | true
    2721
    								}
    2722
    								displayName?: string
    2723
    								timeZone?: string
    2724
    								externalCollaborator?: false | true
    2725
    								isExternalCollaborator?: false | true
    2726
    								isGuest?: false | true
    2727
    								operations?: {
    2728
    									operation:
    2729
    										| 'administer'
    2730
    										| 'archive'
    2731
    										| 'clear_permissions'
    2732
    										| 'copy'
    2733
    										| 'create'
    2734
    										| 'create_space'
    2735
    										| 'delete'
    2736
    										| 'export'
    2737
    										| 'move'
    2738
    										| 'purge'
    2739
    										| 'purge_version'
    2740
    										| 'read'
    2741
    										| 'restore'
    2742
    										| 'restrict_content'
    2743
    										| 'update'
    2744
    										| 'use'
    2745
    									targetType: string
    2746
    								}[]
    2747
    								details?: {
    2748
    									business?: {
    2749
    										position?: string
    2750
    										department?: string
    2751
    										location?: string
    2752
    									}
    2753
    									personal?: {
    2754
    										phone?: string
    2755
    										im?: string
    2756
    										website?: string
    2757
    										email?: string
    2758
    									}
    2759
    								}
    2760
    								personalSpace?: {
    2761
    									id?: number
    2762
    									key: string
    2763
    									alias?: string
    2764
    									name: string
    2765
    									icon?: {
    2766
    										path: string
    2767
    										width: number
    2768
    										height: number
    2769
    										isDefault: false | true
    2770
    									}
    2771
    									description?: {
    2772
    										plain?: {
    2773
    											value: string
    2774
    											representation: 'plain' | 'view'
    2775
    											embeddedContent: {}[]
    2776
    										}
    2777
    										view?: {
    2778
    											value: string
    2779
    											representation: 'plain' | 'view'
    2780
    											embeddedContent: {}[]
    2781
    										}
    2782
    										_expandable?: { view?: string; plain?: string }
    2783
    									}
    2784
    									homepage?: {}
    2785
    									type: string
    2786
    									metadata?: {
    2787
    										labels?: {
    2788
    											results: {
    2789
    												prefix: string
    2790
    												name: string
    2791
    												id: string
    2792
    												label: string
    2793
    											}[]
    2794
    											start?: number
    2795
    											limit?: number
    2796
    											size: number
    2797
    											_links?: {}
    2798
    										}
    2799
    										_expandable?: {}
    2800
    									}
    2801
    									operations?: {
    2802
    										operation:
    2803
    											| 'administer'
    2804
    											| 'archive'
    2805
    											| 'clear_permissions'
    2806
    											| 'copy'
    2807
    											| 'create'
    2808
    											| 'create_space'
    2809
    											| 'delete'
    2810
    											| 'export'
    2811
    											| 'move'
    2812
    											| 'purge'
    2813
    											| 'purge_version'
    2814
    											| 'read'
    2815
    											| 'restore'
    2816
    											| 'restrict_content'
    2817
    											| 'update'
    2818
    											| 'use'
    2819
    										targetType: string
    2820
    									}[]
    2821
    									permissions?: {
    2822
    										id?: number
    2823
    										subjects?: {
    2824
    											user?: {
    2825
    												results: {}[]
    2826
    												size: number
    2827
    												start?: number
    2828
    												limit?: number
    2829
    											}
    2830
    											group?: {
    2831
    												results: {
    2832
    													type: 'group'
    2833
    													name: string
    2834
    													id: string
    2835
    													_links?: {}
    2836
    												}[]
    2837
    												size: number
    2838
    												start?: number
    2839
    												limit?: number
    2840
    											}
    2841
    											_expandable?: { user?: string; group?: string }
    2842
    										}
    2843
    										operation: {
    2844
    											operation:
    2845
    												| 'administer'
    2846
    												| 'archive'
    2847
    												| 'clear_permissions'
    2848
    												| 'copy'
    2849
    												| 'create'
    2850
    												| 'create_space'
    2851
    												| 'delete'
    2852
    												| 'export'
    2853
    												| 'move'
    2854
    												| 'purge'
    2855
    												| 'purge_version'
    2856
    												| 'read'
    2857
    												| 'restore'
    2858
    												| 'restrict_content'
    2859
    												| 'update'
    2860
    												| 'use'
    2861
    											targetType: string
    2862
    										}
    2863
    										anonymousAccess: false | true
    2864
    										unlicensedAccess: false | true
    2865
    									}[]
    2866
    									status: string
    2867
    									settings?: {
    2868
    										routeOverrideEnabled: false | true
    2869
    										editor?: {
    2870
    											page: string
    2871
    											blogpost: string
    2872
    											default: string
    2873
    										}
    2874
    										spaceKey?: string
    2875
    										_links: {}
    2876
    									}
    2877
    									theme?: {
    2878
    										themeKey: string
    2879
    										name?: string
    2880
    										description?: string
    2881
    										icon?: {
    2882
    											path: string
    2883
    											width: number
    2884
    											height: number
    2885
    											isDefault: false | true
    2886
    										}
    2887
    										_links?: {}
    2888
    									}
    2889
    									lookAndFeel?: {
    2890
    										headings: { color: string }
    2891
    										links: { color: string }
    2892
    										menus: {
    2893
    											hoverOrFocus: { backgroundColor: string }
    2894
    											color: string
    2895
    										}
    2896
    										header: {
    2897
    											backgroundColor: string
    2898
    											button: { backgroundColor: string; color: string }
    2899
    											primaryNavigation: {
    2900
    												color: string
    2901
    												highlightColor?: string
    2902
    												hoverOrFocus: {
    2903
    													backgroundColor: string
    2904
    													color: string
    2905
    												}
    2906
    											}
    2907
    											secondaryNavigation: {
    2908
    												color: string
    2909
    												highlightColor?: string
    2910
    												hoverOrFocus: {
    2911
    													backgroundColor: string
    2912
    													color: string
    2913
    												}
    2914
    											}
    2915
    											search: { backgroundColor: string; color: string }
    2916
    										}
    2917
    										horizontalHeader?: {
    2918
    											backgroundColor: string
    2919
    											button?: { backgroundColor: string; color: string }
    2920
    											primaryNavigation: {
    2921
    												color?: string
    2922
    												highlightColor: string
    2923
    												hoverOrFocus?: {
    2924
    													backgroundColor?: string
    2925
    													color?: string
    2926
    												}
    2927
    											}
    2928
    											secondaryNavigation?: {
    2929
    												color: string
    2930
    												highlightColor?: string
    2931
    												hoverOrFocus: {
    2932
    													backgroundColor: string
    2933
    													color: string
    2934
    												}
    2935
    											}
    2936
    											search?: { backgroundColor: string; color: string }
    2937
    										}
    2938
    										content: {
    2939
    											screen?: {
    2940
    												background: string
    2941
    												backgroundAttachment?: string
    2942
    												backgroundBlendMode?: string
    2943
    												backgroundClip?: string
    2944
    												backgroundColor?: string
    2945
    												backgroundImage?: string
    2946
    												backgroundOrigin?: string
    2947
    												backgroundPosition?: string
    2948
    												backgroundRepeat?: string
    2949
    												backgroundSize?: string
    2950
    												layer?: { width?: string; height?: string }
    2951
    												gutterTop?: string
    2952
    												gutterRight?: string
    2953
    												gutterBottom?: string
    2954
    												gutterLeft?: string
    2955
    											}
    2956
    											container?: {
    2957
    												background: string
    2958
    												backgroundAttachment?: string
    2959
    												backgroundBlendMode?: string
    2960
    												backgroundClip?: string
    2961
    												backgroundColor: string
    2962
    												backgroundImage: string
    2963
    												backgroundOrigin?: string
    2964
    												backgroundPosition?: string
    2965
    												backgroundRepeat?: string
    2966
    												backgroundSize: string
    2967
    												padding: string
    2968
    												borderRadius: string
    2969
    											}
    2970
    											header?: {
    2971
    												background: string
    2972
    												backgroundAttachment?: string
    2973
    												backgroundBlendMode?: string
    2974
    												backgroundClip?: string
    2975
    												backgroundColor: string
    2976
    												backgroundImage: string
    2977
    												backgroundOrigin?: string
    2978
    												backgroundPosition?: string
    2979
    												backgroundRepeat?: string
    2980
    												backgroundSize: string
    2981
    												padding: string
    2982
    												borderRadius: string
    2983
    											}
    2984
    											body?: {
    2985
    												background: string
    2986
    												backgroundAttachment?: string
    2987
    												backgroundBlendMode?: string
    2988
    												backgroundClip?: string
    2989
    												backgroundColor: string
    2990
    												backgroundImage: string
    2991
    												backgroundOrigin?: string
    2992
    												backgroundPosition?: string
    2993
    												backgroundRepeat?: string
    2994
    												backgroundSize: string
    2995
    												padding: string
    2996
    												borderRadius: string
    2997
    											}
    2998
    										}
    2999
    										bordersAndDividers: { color: string }
    3000
    										spaceReference?: {}
    3001
    									}
    3002
    									history?: { createdDate: string; createdBy?: {} }
    3003
    									_expandable: {
    3004
    										settings?: string
    3005
    										metadata?: string
    3006
    										operations?: string
    3007
    										lookAndFeel?: string
    3008
    										permissions?: string
    3009
    										icon?: string
    3010
    										description?: string
    3011
    										theme?: string
    3012
    										history?: string
    3013
    										homepage?: string
    3014
    										identifiers?: string
    3015
    									}
    3016
    									_links: {}
    3017
    								}
    3018
    								_expandable?: {
    3019
    									operations?: string
    3020
    									details?: string
    3021
    									personalSpace?: string
    3022
    								}
    3023
    								_links?: {}
    3024
    							}[]
    3025
    							userKeys?: string[]
    3026
    							_links?: {}
    3027
    						}
    3028
    					}
    3029
    					nextVersion?: {}
    3030
    					_expandable?: {
    3031
    						lastUpdated?: string
    3032
    						previousVersion?: string
    3033
    						contributors?: string
    3034
    						nextVersion?: string
    3035
    						ownedBy?: string
    3036
    						lastOwnedBy?: string
    3037
    					}
    3038
    					_links?: {}
    3039
    				}
    3040
    				version?: {}
    3041
    				ancestors?: {}[]
    3042
    				operations?: {
    3043
    					operation:
    3044
    						| 'administer'
    3045
    						| 'archive'
    3046
    						| 'clear_permissions'
    3047
    						| 'copy'
    3048
    						| 'create'
    3049
    						| 'create_space'
    3050
    						| 'delete'
    3051
    						| 'export'
    3052
    						| 'move'
    3053
    						| 'purge'
    3054
    						| 'purge_version'
    3055
    						| 'read'
    3056
    						| 'restore'
    3057
    						| 'restrict_content'
    3058
    						| 'update'
    3059
    						| 'use'
    3060
    					targetType: string
    3061
    				}[]
    3062
    				children?: {
    3063
    					attachment?: {
    3064
    						results: {}[]
    3065
    						start?: number
    3066
    						limit?: number
    3067
    						size: number
    3068
    						_links: {}
    3069
    					}
    3070
    					comment?: {
    3071
    						results: {}[]
    3072
    						start?: number
    3073
    						limit?: number
    3074
    						size: number
    3075
    						_links: {}
    3076
    					}
    3077
    					page?: {
    3078
    						results: {}[]
    3079
    						start?: number
    3080
    						limit?: number
    3081
    						size: number
    3082
    						_links: {}
    3083
    					}
    3084
    					whiteboard?: {
    3085
    						results: {}[]
    3086
    						start?: number
    3087
    						limit?: number
    3088
    						size: number
    3089
    						_links: {}
    3090
    					}
    3091
    					database?: {
    3092
    						results: {}[]
    3093
    						start?: number
    3094
    						limit?: number
    3095
    						size: number
    3096
    						_links: {}
    3097
    					}
    3098
    					embed?: {
    3099
    						results: {}[]
    3100
    						start?: number
    3101
    						limit?: number
    3102
    						size: number
    3103
    						_links: {}
    3104
    					}
    3105
    					folder?: {
    3106
    						results: {}[]
    3107
    						start?: number
    3108
    						limit?: number
    3109
    						size: number
    3110
    						_links: {}
    3111
    					}
    3112
    					_expandable?: {
    3113
    						attachment?: string
    3114
    						comment?: string
    3115
    						page?: string
    3116
    						whiteboard?: string
    3117
    						database?: string
    3118
    						embed?: string
    3119
    						folder?: string
    3120
    					}
    3121
    					_links?: {}
    3122
    				}
    3123
    				childTypes?: {
    3124
    					attachment?: { value: false | true; _links: {} }
    3125
    					comment?: { value: false | true; _links: {} }
    3126
    					page?: { value: false | true; _links: {} }
    3127
    					_expandable?: {
    3128
    						all?: string
    3129
    						attachment?: string
    3130
    						comment?: string
    3131
    						page?: string
    3132
    						whiteboard?: string
    3133
    						database?: string
    3134
    						embed?: string
    3135
    						folder?: string
    3136
    					}
    3137
    				}
    3138
    				descendants?: {
    3139
    					attachment?: {
    3140
    						results: {}[]
    3141
    						start?: number
    3142
    						limit?: number
    3143
    						size: number
    3144
    						_links: {}
    3145
    					}
    3146
    					comment?: {
    3147
    						results: {}[]
    3148
    						start?: number
    3149
    						limit?: number
    3150
    						size: number
    3151
    						_links: {}
    3152
    					}
    3153
    					page?: {
    3154
    						results: {}[]
    3155
    						start?: number
    3156
    						limit?: number
    3157
    						size: number
    3158
    						_links: {}
    3159
    					}
    3160
    					whiteboard?: {
    3161
    						results: {}[]
    3162
    						start?: number
    3163
    						limit?: number
    3164
    						size: number
    3165
    						_links: {}
    3166
    					}
    3167
    					database?: {
    3168
    						results: {}[]
    3169
    						start?: number
    3170
    						limit?: number
    3171
    						size: number
    3172
    						_links: {}
    3173
    					}
    3174
    					embed?: {
    3175
    						results: {}[]
    3176
    						start?: number
    3177
    						limit?: number
    3178
    						size: number
    3179
    						_links: {}
    3180
    					}
    3181
    					folder?: {
    3182
    						results: {}[]
    3183
    						start?: number
    3184
    						limit?: number
    3185
    						size: number
    3186
    						_links: {}
    3187
    					}
    3188
    					_expandable?: {
    3189
    						attachment?: string
    3190
    						comment?: string
    3191
    						page?: string
    3192
    						whiteboard?: string
    3193
    						database?: string
    3194
    						embed?: string
    3195
    						folder?: string
    3196
    					}
    3197
    					_links?: {}
    3198
    				}
    3199
    				container?: {}
    3200
    				body?: {
    3201
    					view?: {
    3202
    						value: string
    3203
    						representation:
    3204
    							| 'view'
    3205
    							| 'export_view'
    3206
    							| 'styled_view'
    3207
    							| 'storage'
    3208
    							| 'editor'
    3209
    							| 'editor2'
    3210
    							| 'anonymous_export_view'
    3211
    							| 'wiki'
    3212
    							| 'atlas_doc_format'
    3213
    							| 'raw'
    3214
    						embeddedContent?: {
    3215
    							entityId?: number
    3216
    							entityType?: string
    3217
    							entity?: {}
    3218
    						}[]
    3219
    						webresource?: {
    3220
    							_expandable?: { uris?: string | {} }
    3221
    							keys?: string[]
    3222
    							contexts?: string[]
    3223
    							uris?: {
    3224
    								all?: string | string[]
    3225
    								css?: string | string[]
    3226
    								js?: string | string[]
    3227
    								_expandable?: {
    3228
    									css?: string | string[]
    3229
    									js?: string | string[]
    3230
    								}
    3231
    							}
    3232
    							tags?: {
    3233
    								all?: string
    3234
    								css?: string
    3235
    								data?: string
    3236
    								js?: string
    3237
    								_expandable?: {}
    3238
    							}
    3239
    							superbatch?: {
    3240
    								uris?: {
    3241
    									all?: string | string[]
    3242
    									css?: string | string[]
    3243
    									js?: string | string[]
    3244
    								}
    3245
    								tags?: {
    3246
    									all?: string
    3247
    									css?: string
    3248
    									data?: string
    3249
    									js?: string
    3250
    								}
    3251
    								metatags?: string
    3252
    								_expandable?: {}
    3253
    							}
    3254
    						}
    3255
    						mediaToken?: {
    3256
    							collectionIds?: string[]
    3257
    							contentId?: string
    3258
    							expiryDateTime?: string
    3259
    							fileIds?: string[]
    3260
    							token?: string
    3261
    						}
    3262
    						_expandable?: {
    3263
    							content?: string
    3264
    							embeddedContent?: string
    3265
    							webresource?: string
    3266
    							mediaToken?: string
    3267
    						}
    3268
    						_links?: {}
    3269
    					}
    3270
    					export_view?: {
    3271
    						value: string
    3272
    						representation:
    3273
    							| 'view'
    3274
    							| 'export_view'
    3275
    							| 'styled_view'
    3276
    							| 'storage'
    3277
    							| 'editor'
    3278
    							| 'editor2'
    3279
    							| 'anonymous_export_view'
    3280
    							| 'wiki'
    3281
    							| 'atlas_doc_format'
    3282
    							| 'raw'
    3283
    						embeddedContent?: {
    3284
    							entityId?: number
    3285
    							entityType?: string
    3286
    							entity?: {}
    3287
    						}[]
    3288
    						webresource?: {
    3289
    							_expandable?: { uris?: string | {} }
    3290
    							keys?: string[]
    3291
    							contexts?: string[]
    3292
    							uris?: {
    3293
    								all?: string | string[]
    3294
    								css?: string | string[]
    3295
    								js?: string | string[]
    3296
    								_expandable?: {
    3297
    									css?: string | string[]
    3298
    									js?: string | string[]
    3299
    								}
    3300
    							}
    3301
    							tags?: {
    3302
    								all?: string
    3303
    								css?: string
    3304
    								data?: string
    3305
    								js?: string
    3306
    								_expandable?: {}
    3307
    							}
    3308
    							superbatch?: {
    3309
    								uris?: {
    3310
    									all?: string | string[]
    3311
    									css?: string | string[]
    3312
    									js?: string | string[]
    3313
    								}
    3314
    								tags?: {
    3315
    									all?: string
    3316
    									css?: string
    3317
    									data?: string
    3318
    									js?: string
    3319
    								}
    3320
    								metatags?: string
    3321
    								_expandable?: {}
    3322
    							}
    3323
    						}
    3324
    						mediaToken?: {
    3325
    							collectionIds?: string[]
    3326
    							contentId?: string
    3327
    							expiryDateTime?: string
    3328
    							fileIds?: string[]
    3329
    							token?: string
    3330
    						}
    3331
    						_expandable?: {
    3332
    							content?: string
    3333
    							embeddedContent?: string
    3334
    							webresource?: string
    3335
    							mediaToken?: string
    3336
    						}
    3337
    						_links?: {}
    3338
    					}
    3339
    					styled_view?: {
    3340
    						value: string
    3341
    						representation:
    3342
    							| 'view'
    3343
    							| 'export_view'
    3344
    							| 'styled_view'
    3345
    							| 'storage'
    3346
    							| 'editor'
    3347
    							| 'editor2'
    3348
    							| 'anonymous_export_view'
    3349
    							| 'wiki'
    3350
    							| 'atlas_doc_format'
    3351
    							| 'raw'
    3352
    						embeddedContent?: {
    3353
    							entityId?: number
    3354
    							entityType?: string
    3355
    							entity?: {}
    3356
    						}[]
    3357
    						webresource?: {
    3358
    							_expandable?: { uris?: string | {} }
    3359
    							keys?: string[]
    3360
    							contexts?: string[]
    3361
    							uris?: {
    3362
    								all?: string | string[]
    3363
    								css?: string | string[]
    3364
    								js?: string | string[]
    3365
    								_expandable?: {
    3366
    									css?: string | string[]
    3367
    									js?: string | string[]
    3368
    								}
    3369
    							}
    3370
    							tags?: {
    3371
    								all?: string
    3372
    								css?: string
    3373
    								data?: string
    3374
    								js?: string
    3375
    								_expandable?: {}
    3376
    							}
    3377
    							superbatch?: {
    3378
    								uris?: {
    3379
    									all?: string | string[]
    3380
    									css?: string | string[]
    3381
    									js?: string | string[]
    3382
    								}
    3383
    								tags?: {
    3384
    									all?: string
    3385
    									css?: string
    3386
    									data?: string
    3387
    									js?: string
    3388
    								}
    3389
    								metatags?: string
    3390
    								_expandable?: {}
    3391
    							}
    3392
    						}
    3393
    						mediaToken?: {
    3394
    							collectionIds?: string[]
    3395
    							contentId?: string
    3396
    							expiryDateTime?: string
    3397
    							fileIds?: string[]
    3398
    							token?: string
    3399
    						}
    3400
    						_expandable?: {
    3401
    							content?: string
    3402
    							embeddedContent?: string
    3403
    							webresource?: string
    3404
    							mediaToken?: string
    3405
    						}
    3406
    						_links?: {}
    3407
    					}
    3408
    					storage?: {
    3409
    						value: string
    3410
    						representation:
    3411
    							| 'view'
    3412
    							| 'export_view'
    3413
    							| 'styled_view'
    3414
    							| 'storage'
    3415
    							| 'editor'
    3416
    							| 'editor2'
    3417
    							| 'anonymous_export_view'
    3418
    							| 'wiki'
    3419
    							| 'atlas_doc_format'
    3420
    							| 'raw'
    3421
    						embeddedContent?: {
    3422
    							entityId?: number
    3423
    							entityType?: string
    3424
    							entity?: {}
    3425
    						}[]
    3426
    						webresource?: {
    3427
    							_expandable?: { uris?: string | {} }
    3428
    							keys?: string[]
    3429
    							contexts?: string[]
    3430
    							uris?: {
    3431
    								all?: string | string[]
    3432
    								css?: string | string[]
    3433
    								js?: string | string[]
    3434
    								_expandable?: {
    3435
    									css?: string | string[]
    3436
    									js?: string | string[]
    3437
    								}
    3438
    							}
    3439
    							tags?: {
    3440
    								all?: string
    3441
    								css?: string
    3442
    								data?: string
    3443
    								js?: string
    3444
    								_expandable?: {}
    3445
    							}
    3446
    							superbatch?: {
    3447
    								uris?: {
    3448
    									all?: string | string[]
    3449
    									css?: string | string[]
    3450
    									js?: string | string[]
    3451
    								}
    3452
    								tags?: {
    3453
    									all?: string
    3454
    									css?: string
    3455
    									data?: string
    3456
    									js?: string
    3457
    								}
    3458
    								metatags?: string
    3459
    								_expandable?: {}
    3460
    							}
    3461
    						}
    3462
    						mediaToken?: {
    3463
    							collectionIds?: string[]
    3464
    							contentId?: string
    3465
    							expiryDateTime?: string
    3466
    							fileIds?: string[]
    3467
    							token?: string
    3468
    						}
    3469
    						_expandable?: {
    3470
    							content?: string
    3471
    							embeddedContent?: string
    3472
    							webresource?: string
    3473
    							mediaToken?: string
    3474
    						}
    3475
    						_links?: {}
    3476
    					}
    3477
    					wiki?: {
    3478
    						value: string
    3479
    						representation:
    3480
    							| 'view'
    3481
    							| 'export_view'
    3482
    							| 'styled_view'
    3483
    							| 'storage'
    3484
    							| 'editor'
    3485
    							| 'editor2'
    3486
    							| 'anonymous_export_view'
    3487
    							| 'wiki'
    3488
    							| 'atlas_doc_format'
    3489
    							| 'raw'
    3490
    						embeddedContent?: {
    3491
    							entityId?: number
    3492
    							entityType?: string
    3493
    							entity?: {}
    3494
    						}[]
    3495
    						webresource?: {
    3496
    							_expandable?: { uris?: string | {} }
    3497
    							keys?: string[]
    3498
    							contexts?: string[]
    3499
    							uris?: {
    3500
    								all?: string | string[]
    3501
    								css?: string | string[]
    3502
    								js?: string | string[]
    3503
    								_expandable?: {
    3504
    									css?: string | string[]
    3505
    									js?: string | string[]
    3506
    								}
    3507
    							}
    3508
    							tags?: {
    3509
    								all?: string
    3510
    								css?: string
    3511
    								data?: string
    3512
    								js?: string
    3513
    								_expandable?: {}
    3514
    							}
    3515
    							superbatch?: {
    3516
    								uris?: {
    3517
    									all?: string | string[]
    3518
    									css?: string | string[]
    3519
    									js?: string | string[]
    3520
    								}
    3521
    								tags?: {
    3522
    									all?: string
    3523
    									css?: string
    3524
    									data?: string
    3525
    									js?: string
    3526
    								}
    3527
    								metatags?: string
    3528
    								_expandable?: {}
    3529
    							}
    3530
    						}
    3531
    						mediaToken?: {
    3532
    							collectionIds?: string[]
    3533
    							contentId?: string
    3534
    							expiryDateTime?: string
    3535
    							fileIds?: string[]
    3536
    							token?: string
    3537
    						}
    3538
    						_expandable?: {
    3539
    							content?: string
    3540
    							embeddedContent?: string
    3541
    							webresource?: string
    3542
    							mediaToken?: string
    3543
    						}
    3544
    						_links?: {}
    3545
    					}
    3546
    					editor?: {
    3547
    						value: string
    3548
    						representation:
    3549
    							| 'view'
    3550
    							| 'export_view'
    3551
    							| 'styled_view'
    3552
    							| 'storage'
    3553
    							| 'editor'
    3554
    							| 'editor2'
    3555
    							| 'anonymous_export_view'
    3556
    							| 'wiki'
    3557
    							| 'atlas_doc_format'
    3558
    							| 'raw'
    3559
    						embeddedContent?: {
    3560
    							entityId?: number
    3561
    							entityType?: string
    3562
    							entity?: {}
    3563
    						}[]
    3564
    						webresource?: {
    3565
    							_expandable?: { uris?: string | {} }
    3566
    							keys?: string[]
    3567
    							contexts?: string[]
    3568
    							uris?: {
    3569
    								all?: string | string[]
    3570
    								css?: string | string[]
    3571
    								js?: string | string[]
    3572
    								_expandable?: {
    3573
    									css?: string | string[]
    3574
    									js?: string | string[]
    3575
    								}
    3576
    							}
    3577
    							tags?: {
    3578
    								all?: string
    3579
    								css?: string
    3580
    								data?: string
    3581
    								js?: string
    3582
    								_expandable?: {}
    3583
    							}
    3584
    							superbatch?: {
    3585
    								uris?: {
    3586
    									all?: string | string[]
    3587
    									css?: string | string[]
    3588
    									js?: string | string[]
    3589
    								}
    3590
    								tags?: {
    3591
    									all?: string
    3592
    									css?: string
    3593
    									data?: string
    3594
    									js?: string
    3595
    								}
    3596
    								metatags?: string
    3597
    								_expandable?: {}
    3598
    							}
    3599
    						}
    3600
    						mediaToken?: {
    3601
    							collectionIds?: string[]
    3602
    							contentId?: string
    3603
    							expiryDateTime?: string
    3604
    							fileIds?: string[]
    3605
    							token?: string
    3606
    						}
    3607
    						_expandable?: {
    3608
    							content?: string
    3609
    							embeddedContent?: string
    3610
    							webresource?: string
    3611
    							mediaToken?: string
    3612
    						}
    3613
    						_links?: {}
    3614
    					}
    3615
    					editor2?: {
    3616
    						value: string
    3617
    						representation:
    3618
    							| 'view'
    3619
    							| 'export_view'
    3620
    							| 'styled_view'
    3621
    							| 'storage'
    3622
    							| 'editor'
    3623
    							| 'editor2'
    3624
    							| 'anonymous_export_view'
    3625
    							| 'wiki'
    3626
    							| 'atlas_doc_format'
    3627
    							| 'raw'
    3628
    						embeddedContent?: {
    3629
    							entityId?: number
    3630
    							entityType?: string
    3631
    							entity?: {}
    3632
    						}[]
    3633
    						webresource?: {
    3634
    							_expandable?: { uris?: string | {} }
    3635
    							keys?: string[]
    3636
    							contexts?: string[]
    3637
    							uris?: {
    3638
    								all?: string | string[]
    3639
    								css?: string | string[]
    3640
    								js?: string | string[]
    3641
    								_expandable?: {
    3642
    									css?: string | string[]
    3643
    									js?: string | string[]
    3644
    								}
    3645
    							}
    3646
    							tags?: {
    3647
    								all?: string
    3648
    								css?: string
    3649
    								data?: string
    3650
    								js?: string
    3651
    								_expandable?: {}
    3652
    							}
    3653
    							superbatch?: {
    3654
    								uris?: {
    3655
    									all?: string | string[]
    3656
    									css?: string | string[]
    3657
    									js?: string | string[]
    3658
    								}
    3659
    								tags?: {
    3660
    									all?: string
    3661
    									css?: string
    3662
    									data?: string
    3663
    									js?: string
    3664
    								}
    3665
    								metatags?: string
    3666
    								_expandable?: {}
    3667
    							}
    3668
    						}
    3669
    						mediaToken?: {
    3670
    							collectionIds?: string[]
    3671
    							contentId?: string
    3672
    							expiryDateTime?: string
    3673
    							fileIds?: string[]
    3674
    							token?: string
    3675
    						}
    3676
    						_expandable?: {
    3677
    							content?: string
    3678
    							embeddedContent?: string
    3679
    							webresource?: string
    3680
    							mediaToken?: string
    3681
    						}
    3682
    						_links?: {}
    3683
    					}
    3684
    					anonymous_export_view?: {
    3685
    						value: string
    3686
    						representation:
    3687
    							| 'view'
    3688
    							| 'export_view'
    3689
    							| 'styled_view'
    3690
    							| 'storage'
    3691
    							| 'editor'
    3692
    							| 'editor2'
    3693
    							| 'anonymous_export_view'
    3694
    							| 'wiki'
    3695
    							| 'atlas_doc_format'
    3696
    							| 'raw'
    3697
    						embeddedContent?: {
    3698
    							entityId?: number
    3699
    							entityType?: string
    3700
    							entity?: {}
    3701
    						}[]
    3702
    						webresource?: {
    3703
    							_expandable?: { uris?: string | {} }
    3704
    							keys?: string[]
    3705
    							contexts?: string[]
    3706
    							uris?: {
    3707
    								all?: string | string[]
    3708
    								css?: string | string[]
    3709
    								js?: string | string[]
    3710
    								_expandable?: {
    3711
    									css?: string | string[]
    3712
    									js?: string | string[]
    3713
    								}
    3714
    							}
    3715
    							tags?: {
    3716
    								all?: string
    3717
    								css?: string
    3718
    								data?: string
    3719
    								js?: string
    3720
    								_expandable?: {}
    3721
    							}
    3722
    							superbatch?: {
    3723
    								uris?: {
    3724
    									all?: string | string[]
    3725
    									css?: string | string[]
    3726
    									js?: string | string[]
    3727
    								}
    3728
    								tags?: {
    3729
    									all?: string
    3730
    									css?: string
    3731
    									data?: string
    3732
    									js?: string
    3733
    								}
    3734
    								metatags?: string
    3735
    								_expandable?: {}
    3736
    							}
    3737
    						}
    3738
    						mediaToken?: {
    3739
    							collectionIds?: string[]
    3740
    							contentId?: string
    3741
    							expiryDateTime?: string
    3742
    							fileIds?: string[]
    3743
    							token?: string
    3744
    						}
    3745
    						_expandable?: {
    3746
    							content?: string
    3747
    							embeddedContent?: string
    3748
    							webresource?: string
    3749
    							mediaToken?: string
    3750
    						}
    3751
    						_links?: {}
    3752
    					}
    3753
    					atlas_doc_format?: {
    3754
    						value: string
    3755
    						representation:
    3756
    							| 'view'
    3757
    							| 'export_view'
    3758
    							| 'styled_view'
    3759
    							| 'storage'
    3760
    							| 'editor'
    3761
    							| 'editor2'
    3762
    							| 'anonymous_export_view'
    3763
    							| 'wiki'
    3764
    							| 'atlas_doc_format'
    3765
    							| 'raw'
    3766
    						embeddedContent?: {
    3767
    							entityId?: number
    3768
    							entityType?: string
    3769
    							entity?: {}
    3770
    						}[]
    3771
    						webresource?: {
    3772
    							_expandable?: { uris?: string | {} }
    3773
    							keys?: string[]
    3774
    							contexts?: string[]
    3775
    							uris?: {
    3776
    								all?: string | string[]
    3777
    								css?: string | string[]
    3778
    								js?: string | string[]
    3779
    								_expandable?: {
    3780
    									css?: string | string[]
    3781
    									js?: string | string[]
    3782
    								}
    3783
    							}
    3784
    							tags?: {
    3785
    								all?: string
    3786
    								css?: string
    3787
    								data?: string
    3788
    								js?: string
    3789
    								_expandable?: {}
    3790
    							}
    3791
    							superbatch?: {
    3792
    								uris?: {
    3793
    									all?: string | string[]
    3794
    									css?: string | string[]
    3795
    									js?: string | string[]
    3796
    								}
    3797
    								tags?: {
    3798
    									all?: string
    3799
    									css?: string
    3800
    									data?: string
    3801
    									js?: string
    3802
    								}
    3803
    								metatags?: string
    3804
    								_expandable?: {}
    3805
    							}
    3806
    						}
    3807
    						mediaToken?: {
    3808
    							collectionIds?: string[]
    3809
    							contentId?: string
    3810
    							expiryDateTime?: string
    3811
    							fileIds?: string[]
    3812
    							token?: string
    3813
    						}
    3814
    						_expandable?: {
    3815
    							content?: string
    3816
    							embeddedContent?: string
    3817
    							webresource?: string
    3818
    							mediaToken?: string
    3819
    						}
    3820
    						_links?: {}
    3821
    					}
    3822
    					dynamic?: {
    3823
    						value: string
    3824
    						representation:
    3825
    							| 'view'
    3826
    							| 'export_view'
    3827
    							| 'styled_view'
    3828
    							| 'storage'
    3829
    							| 'editor'
    3830
    							| 'editor2'
    3831
    							| 'anonymous_export_view'
    3832
    							| 'wiki'
    3833
    							| 'atlas_doc_format'
    3834
    							| 'raw'
    3835
    						embeddedContent?: {
    3836
    							entityId?: number
    3837
    							entityType?: string
    3838
    							entity?: {}
    3839
    						}[]
    3840
    						webresource?: {
    3841
    							_expandable?: { uris?: string | {} }
    3842
    							keys?: string[]
    3843
    							contexts?: string[]
    3844
    							uris?: {
    3845
    								all?: string | string[]
    3846
    								css?: string | string[]
    3847
    								js?: string | string[]
    3848
    								_expandable?: {
    3849
    									css?: string | string[]
    3850
    									js?: string | string[]
    3851
    								}
    3852
    							}
    3853
    							tags?: {
    3854
    								all?: string
    3855
    								css?: string
    3856
    								data?: string
    3857
    								js?: string
    3858
    								_expandable?: {}
    3859
    							}
    3860
    							superbatch?: {
    3861
    								uris?: {
    3862
    									all?: string | string[]
    3863
    									css?: string | string[]
    3864
    									js?: string | string[]
    3865
    								}
    3866
    								tags?: {
    3867
    									all?: string
    3868
    									css?: string
    3869
    									data?: string
    3870
    									js?: string
    3871
    								}
    3872
    								metatags?: string
    3873
    								_expandable?: {}
    3874
    							}
    3875
    						}
    3876
    						mediaToken?: {
    3877
    							collectionIds?: string[]
    3878
    							contentId?: string
    3879
    							expiryDateTime?: string
    3880
    							fileIds?: string[]
    3881
    							token?: string
    3882
    						}
    3883
    						_expandable?: {
    3884
    							content?: string
    3885
    							embeddedContent?: string
    3886
    							webresource?: string
    3887
    							mediaToken?: string
    3888
    						}
    3889
    						_links?: {}
    3890
    					}
    3891
    					raw?: {
    3892
    						value: string
    3893
    						representation:
    3894
    							| 'view'
    3895
    							| 'export_view'
    3896
    							| 'styled_view'
    3897
    							| 'storage'
    3898
    							| 'editor'
    3899
    							| 'editor2'
    3900
    							| 'anonymous_export_view'
    3901
    							| 'wiki'
    3902
    							| 'atlas_doc_format'
    3903
    							| 'raw'
    3904
    						embeddedContent?: {
    3905
    							entityId?: number
    3906
    							entityType?: string
    3907
    							entity?: {}
    3908
    						}[]
    3909
    						webresource?: {
    3910
    							_expandable?: { uris?: string | {} }
    3911
    							keys?: string[]
    3912
    							contexts?: string[]
    3913
    							uris?: {
    3914
    								all?: string | string[]
    3915
    								css?: string | string[]
    3916
    								js?: string | string[]
    3917
    								_expandable?: {
    3918
    									css?: string | string[]
    3919
    									js?: string | string[]
    3920
    								}
    3921
    							}
    3922
    							tags?: {
    3923
    								all?: string
    3924
    								css?: string
    3925
    								data?: string
    3926
    								js?: string
    3927
    								_expandable?: {}
    3928
    							}
    3929
    							superbatch?: {
    3930
    								uris?: {
    3931
    									all?: string | string[]
    3932
    									css?: string | string[]
    3933
    									js?: string | string[]
    3934
    								}
    3935
    								tags?: {
    3936
    									all?: string
    3937
    									css?: string
    3938
    									data?: string
    3939
    									js?: string
    3940
    								}
    3941
    								metatags?: string
    3942
    								_expandable?: {}
    3943
    							}
    3944
    						}
    3945
    						mediaToken?: {
    3946
    							collectionIds?: string[]
    3947
    							contentId?: string
    3948
    							expiryDateTime?: string
    3949
    							fileIds?: string[]
    3950
    							token?: string
    3951
    						}
    3952
    						_expandable?: {
    3953
    							content?: string
    3954
    							embeddedContent?: string
    3955
    							webresource?: string
    3956
    							mediaToken?: string
    3957
    						}
    3958
    						_links?: {}
    3959
    					}
    3960
    					_expandable?: {
    3961
    						editor?: string
    3962
    						view?: string
    3963
    						export_view?: string
    3964
    						styled_view?: string
    3965
    						storage?: string
    3966
    						editor2?: string
    3967
    						anonymous_export_view?: string
    3968
    						atlas_doc_format?: string
    3969
    						wiki?: string
    3970
    						dynamic?: string
    3971
    						raw?: string
    3972
    					}
    3973
    				}
    3974
    				restrictions?: {
    3975
    					read?: {
    3976
    						operation:
    3977
    							| 'administer'
    3978
    							| 'copy'
    3979
    							| 'create'
    3980
    							| 'delete'
    3981
    							| 'export'
    3982
    							| 'move'
    3983
    							| 'purge'
    3984
    							| 'purge_version'
    3985
    							| 'read'
    3986
    							| 'restore'
    3987
    							| 'update'
    3988
    							| 'use'
    3989
    						restrictions?: {
    3990
    							user?: {
    3991
    								results: {
    3992
    									type: 'known' | 'unknown' | 'anonymous' | 'user'
    3993
    									username?: string
    3994
    									userKey?: string
    3995
    									accountId?: string
    3996
    									accountType?: '' | 'atlassian' | 'app'
    3997
    									email?: string
    3998
    									publicName?: string
    3999
    									profilePicture?: {
    4000
    										path: string
    4001
    										width: number
    4002
    										height: number
    4003
    										isDefault: false | true
    4004
    									}
    4005
    									displayName?: string
    4006
    									timeZone?: string
    4007
    									externalCollaborator?: false | true
    4008
    									isExternalCollaborator?: false | true
    4009
    									isGuest?: false | true
    4010
    									operations?: {
    4011
    										operation:
    4012
    											| 'administer'
    4013
    											| 'archive'
    4014
    											| 'clear_permissions'
    4015
    											| 'copy'
    4016
    											| 'create'
    4017
    											| 'create_space'
    4018
    											| 'delete'
    4019
    											| 'export'
    4020
    											| 'move'
    4021
    											| 'purge'
    4022
    											| 'purge_version'
    4023
    											| 'read'
    4024
    											| 'restore'
    4025
    											| 'restrict_content'
    4026
    											| 'update'
    4027
    											| 'use'
    4028
    										targetType: string
    4029
    									}[]
    4030
    									details?: {
    4031
    										business?: {
    4032
    											position?: string
    4033
    											department?: string
    4034
    											location?: string
    4035
    										}
    4036
    										personal?: {
    4037
    											phone?: string
    4038
    											im?: string
    4039
    											website?: string
    4040
    											email?: string
    4041
    										}
    4042
    									}
    4043
    									personalSpace?: {
    4044
    										id?: number
    4045
    										key: string
    4046
    										alias?: string
    4047
    										name: string
    4048
    										icon?: {
    4049
    											path: string
    4050
    											width: number
    4051
    											height: number
    4052
    											isDefault: false | true
    4053
    										}
    4054
    										description?: {
    4055
    											plain?: {
    4056
    												value: string
    4057
    												representation: 'plain' | 'view'
    4058
    												embeddedContent: {}[]
    4059
    											}
    4060
    											view?: {
    4061
    												value: string
    4062
    												representation: 'plain' | 'view'
    4063
    												embeddedContent: {}[]
    4064
    											}
    4065
    											_expandable?: { view?: string; plain?: string }
    4066
    										}
    4067
    										homepage?: {}
    4068
    										type: string
    4069
    										metadata?: {
    4070
    											labels?: {
    4071
    												results: {
    4072
    													prefix: string
    4073
    													name: string
    4074
    													id: string
    4075
    													label: string
    4076
    												}[]
    4077
    												start?: number
    4078
    												limit?: number
    4079
    												size: number
    4080
    												_links?: {}
    4081
    											}
    4082
    											_expandable?: {}
    4083
    										}
    4084
    										operations?: {
    4085
    											operation:
    4086
    												| 'administer'
    4087
    												| 'archive'
    4088
    												| 'clear_permissions'
    4089
    												| 'copy'
    4090
    												| 'create'
    4091
    												| 'create_space'
    4092
    												| 'delete'
    4093
    												| 'export'
    4094
    												| 'move'
    4095
    												| 'purge'
    4096
    												| 'purge_version'
    4097
    												| 'read'
    4098
    												| 'restore'
    4099
    												| 'restrict_content'
    4100
    												| 'update'
    4101
    												| 'use'
    4102
    											targetType: string
    4103
    										}[]
    4104
    										permissions?: {
    4105
    											id?: number
    4106
    											subjects?: {
    4107
    												user?: {
    4108
    													results: {}[]
    4109
    													size: number
    4110
    													start?: number
    4111
    													limit?: number
    4112
    												}
    4113
    												group?: {
    4114
    													results: {
    4115
    														type: 'group'
    4116
    														name: string
    4117
    														id: string
    4118
    														_links?: {}
    4119
    													}[]
    4120
    													size: number
    4121
    													start?: number
    4122
    													limit?: number
    4123
    												}
    4124
    												_expandable?: { user?: string; group?: string }
    4125
    											}
    4126
    											operation: {
    4127
    												operation:
    4128
    													| 'administer'
    4129
    													| 'archive'
    4130
    													| 'clear_permissions'
    4131
    													| 'copy'
    4132
    													| 'create'
    4133
    													| 'create_space'
    4134
    													| 'delete'
    4135
    													| 'export'
    4136
    													| 'move'
    4137
    													| 'purge'
    4138
    													| 'purge_version'
    4139
    													| 'read'
    4140
    													| 'restore'
    4141
    													| 'restrict_content'
    4142
    													| 'update'
    4143
    													| 'use'
    4144
    												targetType: string
    4145
    											}
    4146
    											anonymousAccess: false | true
    4147
    											unlicensedAccess: false | true
    4148
    										}[]
    4149
    										status: string
    4150
    										settings?: {
    4151
    											routeOverrideEnabled: false | true
    4152
    											editor?: {
    4153
    												page: string
    4154
    												blogpost: string
    4155
    												default: string
    4156
    											}
    4157
    											spaceKey?: string
    4158
    											_links: {}
    4159
    										}
    4160
    										theme?: {
    4161
    											themeKey: string
    4162
    											name?: string
    4163
    											description?: string
    4164
    											icon?: {
    4165
    												path: string
    4166
    												width: number
    4167
    												height: number
    4168
    												isDefault: false | true
    4169
    											}
    4170
    											_links?: {}
    4171
    										}
    4172
    										lookAndFeel?: {
    4173
    											headings: { color: string }
    4174
    											links: { color: string }
    4175
    											menus: {
    4176
    												hoverOrFocus: { backgroundColor: string }
    4177
    												color: string
    4178
    											}
    4179
    											header: {
    4180
    												backgroundColor: string
    4181
    												button: { backgroundColor: string; color: string }
    4182
    												primaryNavigation: {
    4183
    													color: string
    4184
    													highlightColor?: string
    4185
    													hoverOrFocus: {
    4186
    														backgroundColor: string
    4187
    														color: string
    4188
    													}
    4189
    												}
    4190
    												secondaryNavigation: {
    4191
    													color: string
    4192
    													highlightColor?: string
    4193
    													hoverOrFocus: {
    4194
    														backgroundColor: string
    4195
    														color: string
    4196
    													}
    4197
    												}
    4198
    												search: { backgroundColor: string; color: string }
    4199
    											}
    4200
    											horizontalHeader?: {
    4201
    												backgroundColor: string
    4202
    												button?: { backgroundColor: string; color: string }
    4203
    												primaryNavigation: {
    4204
    													color?: string
    4205
    													highlightColor: string
    4206
    													hoverOrFocus?: {
    4207
    														backgroundColor?: string
    4208
    														color?: string
    4209
    													}
    4210
    												}
    4211
    												secondaryNavigation?: {
    4212
    													color: string
    4213
    													highlightColor?: string
    4214
    													hoverOrFocus: {
    4215
    														backgroundColor: string
    4216
    														color: string
    4217
    													}
    4218
    												}
    4219
    												search?: { backgroundColor: string; color: string }
    4220
    											}
    4221
    											content: {
    4222
    												screen?: {
    4223
    													background: string
    4224
    													backgroundAttachment?: string
    4225
    													backgroundBlendMode?: string
    4226
    													backgroundClip?: string
    4227
    													backgroundColor?: string
    4228
    													backgroundImage?: string
    4229
    													backgroundOrigin?: string
    4230
    													backgroundPosition?: string
    4231
    													backgroundRepeat?: string
    4232
    													backgroundSize?: string
    4233
    													layer?: { width?: string; height?: string }
    4234
    													gutterTop?: string
    4235
    													gutterRight?: string
    4236
    													gutterBottom?: string
    4237
    													gutterLeft?: string
    4238
    												}
    4239
    												container?: {
    4240
    													background: string
    4241
    													backgroundAttachment?: string
    4242
    													backgroundBlendMode?: string
    4243
    													backgroundClip?: string
    4244
    													backgroundColor: string
    4245
    													backgroundImage: string
    4246
    													backgroundOrigin?: string
    4247
    													backgroundPosition?: string
    4248
    													backgroundRepeat?: string
    4249
    													backgroundSize: string
    4250
    													padding: string
    4251
    													borderRadius: string
    4252
    												}
    4253
    												header?: {
    4254
    													background: string
    4255
    													backgroundAttachment?: string
    4256
    													backgroundBlendMode?: string
    4257
    													backgroundClip?: string
    4258
    													backgroundColor: string
    4259
    													backgroundImage: string
    4260
    													backgroundOrigin?: string
    4261
    													backgroundPosition?: string
    4262
    													backgroundRepeat?: string
    4263
    													backgroundSize: string
    4264
    													padding: string
    4265
    													borderRadius: string
    4266
    												}
    4267
    												body?: {
    4268
    													background: string
    4269
    													backgroundAttachment?: string
    4270
    													backgroundBlendMode?: string
    4271
    													backgroundClip?: string
    4272
    													backgroundColor: string
    4273
    													backgroundImage: string
    4274
    													backgroundOrigin?: string
    4275
    													backgroundPosition?: string
    4276
    													backgroundRepeat?: string
    4277
    													backgroundSize: string
    4278
    													padding: string
    4279
    													borderRadius: string
    4280
    												}
    4281
    											}
    4282
    											bordersAndDividers: { color: string }
    4283
    											spaceReference?: {}
    4284
    										}
    4285
    										history?: { createdDate: string; createdBy?: {} }
    4286
    										_expandable: {
    4287
    											settings?: string
    4288
    											metadata?: string
    4289
    											operations?: string
    4290
    											lookAndFeel?: string
    4291
    											permissions?: string
    4292
    											icon?: string
    4293
    											description?: string
    4294
    											theme?: string
    4295
    											history?: string
    4296
    											homepage?: string
    4297
    											identifiers?: string
    4298
    										}
    4299
    										_links: {}
    4300
    									}
    4301
    									_expandable?: {
    4302
    										operations?: string
    4303
    										details?: string
    4304
    										personalSpace?: string
    4305
    									}
    4306
    									_links?: {}
    4307
    								}[]
    4308
    								start?: number
    4309
    								limit?: number
    4310
    								size?: number
    4311
    								totalSize?: number
    4312
    								_links?: {}
    4313
    							}
    4314
    							group?: {
    4315
    								results: {
    4316
    									type: 'group'
    4317
    									name: string
    4318
    									id: string
    4319
    									_links?: {}
    4320
    								}[]
    4321
    								start: number
    4322
    								limit: number
    4323
    								size: number
    4324
    							}
    4325
    							_expandable?: { user?: string; group?: string }
    4326
    						}
    4327
    						content?: {}
    4328
    						_expandable: { restrictions?: string; content?: string }
    4329
    						_links: {}
    4330
    					}
    4331
    					update?: {
    4332
    						operation:
    4333
    							| 'administer'
    4334
    							| 'copy'
    4335
    							| 'create'
    4336
    							| 'delete'
    4337
    							| 'export'
    4338
    							| 'move'
    4339
    							| 'purge'
    4340
    							| 'purge_version'
    4341
    							| 'read'
    4342
    							| 'restore'
    4343
    							| 'update'
    4344
    							| 'use'
    4345
    						restrictions?: {
    4346
    							user?: {
    4347
    								results: {
    4348
    									type: 'known' | 'unknown' | 'anonymous' | 'user'
    4349
    									username?: string
    4350
    									userKey?: string
    4351
    									accountId?: string
    4352
    									accountType?: '' | 'atlassian' | 'app'
    4353
    									email?: string
    4354
    									publicName?: string
    4355
    									profilePicture?: {
    4356
    										path: string
    4357
    										width: number
    4358
    										height: number
    4359
    										isDefault: false | true
    4360
    									}
    4361
    									displayName?: string
    4362
    									timeZone?: string
    4363
    									externalCollaborator?: false | true
    4364
    									isExternalCollaborator?: false | true
    4365
    									isGuest?: false | true
    4366
    									operations?: {
    4367
    										operation:
    4368
    											| 'administer'
    4369
    											| 'archive'
    4370
    											| 'clear_permissions'
    4371
    											| 'copy'
    4372
    											| 'create'
    4373
    											| 'create_space'
    4374
    											| 'delete'
    4375
    											| 'export'
    4376
    											| 'move'
    4377
    											| 'purge'
    4378
    											| 'purge_version'
    4379
    											| 'read'
    4380
    											| 'restore'
    4381
    											| 'restrict_content'
    4382
    											| 'update'
    4383
    											| 'use'
    4384
    										targetType: string
    4385
    									}[]
    4386
    									details?: {
    4387
    										business?: {
    4388
    											position?: string
    4389
    											department?: string
    4390
    											location?: string
    4391
    										}
    4392
    										personal?: {
    4393
    											phone?: string
    4394
    											im?: string
    4395
    											website?: string
    4396
    											email?: string
    4397
    										}
    4398
    									}
    4399
    									personalSpace?: {
    4400
    										id?: number
    4401
    										key: string
    4402
    										alias?: string
    4403
    										name: string
    4404
    										icon?: {
    4405
    											path: string
    4406
    											width: number
    4407
    											height: number
    4408
    											isDefault: false | true
    4409
    										}
    4410
    										description?: {
    4411
    											plain?: {
    4412
    												value: string
    4413
    												representation: 'plain' | 'view'
    4414
    												embeddedContent: {}[]
    4415
    											}
    4416
    											view?: {
    4417
    												value: string
    4418
    												representation: 'plain' | 'view'
    4419
    												embeddedContent: {}[]
    4420
    											}
    4421
    											_expandable?: { view?: string; plain?: string }
    4422
    										}
    4423
    										homepage?: {}
    4424
    										type: string
    4425
    										metadata?: {
    4426
    											labels?: {
    4427
    												results: {
    4428
    													prefix: string
    4429
    													name: string
    4430
    													id: string
    4431
    													label: string
    4432
    												}[]
    4433
    												start?: number
    4434
    												limit?: number
    4435
    												size: number
    4436
    												_links?: {}
    4437
    											}
    4438
    											_expandable?: {}
    4439
    										}
    4440
    										operations?: {
    4441
    											operation:
    4442
    												| 'administer'
    4443
    												| 'archive'
    4444
    												| 'clear_permissions'
    4445
    												| 'copy'
    4446
    												| 'create'
    4447
    												| 'create_space'
    4448
    												| 'delete'
    4449
    												| 'export'
    4450
    												| 'move'
    4451
    												| 'purge'
    4452
    												| 'purge_version'
    4453
    												| 'read'
    4454
    												| 'restore'
    4455
    												| 'restrict_content'
    4456
    												| 'update'
    4457
    												| 'use'
    4458
    											targetType: string
    4459
    										}[]
    4460
    										permissions?: {
    4461
    											id?: number
    4462
    											subjects?: {
    4463
    												user?: {
    4464
    													results: {}[]
    4465
    													size: number
    4466
    													start?: number
    4467
    													limit?: number
    4468
    												}
    4469
    												group?: {
    4470
    													results: {
    4471
    														type: 'group'
    4472
    														name: string
    4473
    														id: string
    4474
    														_links?: {}
    4475
    													}[]
    4476
    													size: number
    4477
    													start?: number
    4478
    													limit?: number
    4479
    												}
    4480
    												_expandable?: { user?: string; group?: string }
    4481
    											}
    4482
    											operation: {
    4483
    												operation:
    4484
    													| 'administer'
    4485
    													| 'archive'
    4486
    													| 'clear_permissions'
    4487
    													| 'copy'
    4488
    													| 'create'
    4489
    													| 'create_space'
    4490
    													| 'delete'
    4491
    													| 'export'
    4492
    													| 'move'
    4493
    													| 'purge'
    4494
    													| 'purge_version'
    4495
    													| 'read'
    4496
    													| 'restore'
    4497
    													| 'restrict_content'
    4498
    													| 'update'
    4499
    													| 'use'
    4500
    												targetType: string
    4501
    											}
    4502
    											anonymousAccess: false | true
    4503
    											unlicensedAccess: false | true
    4504
    										}[]
    4505
    										status: string
    4506
    										settings?: {
    4507
    											routeOverrideEnabled: false | true
    4508
    											editor?: {
    4509
    												page: string
    4510
    												blogpost: string
    4511
    												default: string
    4512
    											}
    4513
    											spaceKey?: string
    4514
    											_links: {}
    4515
    										}
    4516
    										theme?: {
    4517
    											themeKey: string
    4518
    											name?: string
    4519
    											description?: string
    4520
    											icon?: {
    4521
    												path: string
    4522
    												width: number
    4523
    												height: number
    4524
    												isDefault: false | true
    4525
    											}
    4526
    											_links?: {}
    4527
    										}
    4528
    										lookAndFeel?: {
    4529
    											headings: { color: string }
    4530
    											links: { color: string }
    4531
    											menus: {
    4532
    												hoverOrFocus: { backgroundColor: string }
    4533
    												color: string
    4534
    											}
    4535
    											header: {
    4536
    												backgroundColor: string
    4537
    												button: { backgroundColor: string; color: string }
    4538
    												primaryNavigation: {
    4539
    													color: string
    4540
    													highlightColor?: string
    4541
    													hoverOrFocus: {
    4542
    														backgroundColor: string
    4543
    														color: string
    4544
    													}
    4545
    												}
    4546
    												secondaryNavigation: {
    4547
    													color: string
    4548
    													highlightColor?: string
    4549
    													hoverOrFocus: {
    4550
    														backgroundColor: string
    4551
    														color: string
    4552
    													}
    4553
    												}
    4554
    												search: { backgroundColor: string; color: string }
    4555
    											}
    4556
    											horizontalHeader?: {
    4557
    												backgroundColor: string
    4558
    												button?: { backgroundColor: string; color: string }
    4559
    												primaryNavigation: {
    4560
    													color?: string
    4561
    													highlightColor: string
    4562
    													hoverOrFocus?: {
    4563
    														backgroundColor?: string
    4564
    														color?: string
    4565
    													}
    4566
    												}
    4567
    												secondaryNavigation?: {
    4568
    													color: string
    4569
    													highlightColor?: string
    4570
    													hoverOrFocus: {
    4571
    														backgroundColor: string
    4572
    														color: string
    4573
    													}
    4574
    												}
    4575
    												search?: { backgroundColor: string; color: string }
    4576
    											}
    4577
    											content: {
    4578
    												screen?: {
    4579
    													background: string
    4580
    													backgroundAttachment?: string
    4581
    													backgroundBlendMode?: string
    4582
    													backgroundClip?: string
    4583
    													backgroundColor?: string
    4584
    													backgroundImage?: string
    4585
    													backgroundOrigin?: string
    4586
    													backgroundPosition?: string
    4587
    													backgroundRepeat?: string
    4588
    													backgroundSize?: string
    4589
    													layer?: { width?: string; height?: string }
    4590
    													gutterTop?: string
    4591
    													gutterRight?: string
    4592
    													gutterBottom?: string
    4593
    													gutterLeft?: string
    4594
    												}
    4595
    												container?: {
    4596
    													background: string
    4597
    													backgroundAttachment?: string
    4598
    													backgroundBlendMode?: string
    4599
    													backgroundClip?: string
    4600
    													backgroundColor: string
    4601
    													backgroundImage: string
    4602
    													backgroundOrigin?: string
    4603
    													backgroundPosition?: string
    4604
    													backgroundRepeat?: string
    4605
    													backgroundSize: string
    4606
    													padding: string
    4607
    													borderRadius: string
    4608
    												}
    4609
    												header?: {
    4610
    													background: string
    4611
    													backgroundAttachment?: string
    4612
    													backgroundBlendMode?: string
    4613
    													backgroundClip?: string
    4614
    													backgroundColor: string
    4615
    													backgroundImage: string
    4616
    													backgroundOrigin?: string
    4617
    													backgroundPosition?: string
    4618
    													backgroundRepeat?: string
    4619
    													backgroundSize: string
    4620
    													padding: string
    4621
    													borderRadius: string
    4622
    												}
    4623
    												body?: {
    4624
    													background: string
    4625
    													backgroundAttachment?: string
    4626
    													backgroundBlendMode?: string
    4627
    													backgroundClip?: string
    4628
    													backgroundColor: string
    4629
    													backgroundImage: string
    4630
    													backgroundOrigin?: string
    4631
    													backgroundPosition?: string
    4632
    													backgroundRepeat?: string
    4633
    													backgroundSize: string
    4634
    													padding: string
    4635
    													borderRadius: string
    4636
    												}
    4637
    											}
    4638
    											bordersAndDividers: { color: string }
    4639
    											spaceReference?: {}
    4640
    										}
    4641
    										history?: { createdDate: string; createdBy?: {} }
    4642
    										_expandable: {
    4643
    											settings?: string
    4644
    											metadata?: string
    4645
    											operations?: string
    4646
    											lookAndFeel?: string
    4647
    											permissions?: string
    4648
    											icon?: string
    4649
    											description?: string
    4650
    											theme?: string
    4651
    											history?: string
    4652
    											homepage?: string
    4653
    											identifiers?: string
    4654
    										}
    4655
    										_links: {}
    4656
    									}
    4657
    									_expandable?: {
    4658
    										operations?: string
    4659
    										details?: string
    4660
    										personalSpace?: string
    4661
    									}
    4662
    									_links?: {}
    4663
    								}[]
    4664
    								start?: number
    4665
    								limit?: number
    4666
    								size?: number
    4667
    								totalSize?: number
    4668
    								_links?: {}
    4669
    							}
    4670
    							group?: {
    4671
    								results: {
    4672
    									type: 'group'
    4673
    									name: string
    4674
    									id: string
    4675
    									_links?: {}
    4676
    								}[]
    4677
    								start: number
    4678
    								limit: number
    4679
    								size: number
    4680
    							}
    4681
    							_expandable?: { user?: string; group?: string }
    4682
    						}
    4683
    						content?: {}
    4684
    						_expandable: { restrictions?: string; content?: string }
    4685
    						_links: {}
    4686
    					}
    4687
    					_expandable?: { read?: string; update?: string }
    4688
    					_links?: {}
    4689
    				}
    4690
    				metadata?: {
    4691
    					currentuser?: {
    4692
    						favourited?: {
    4693
    							isFavourite?: false | true
    4694
    							favouritedDate?: string
    4695
    						}
    4696
    						lastmodified?: { version?: {}; friendlyLastModified?: string }
    4697
    						lastcontributed?: { status?: string; when?: string }
    4698
    						viewed?: { lastSeen?: string; friendlyLastSeen?: string }
    4699
    						scheduled?: {}
    4700
    						_expandable?: {
    4701
    							favourited?: string
    4702
    							lastmodified?: string
    4703
    							lastcontributed?: string
    4704
    							viewed?: string
    4705
    							scheduled?: string
    4706
    						}
    4707
    					}
    4708
    					properties?: {}
    4709
    					frontend?: {}
    4710
    					labels?:
    4711
    						| {
    4712
    								results: {
    4713
    									prefix: string
    4714
    									name: string
    4715
    									id: string
    4716
    									label: string
    4717
    								}[]
    4718
    								start?: number
    4719
    								limit?: number
    4720
    								size: number
    4721
    								_links?: {}
    4722
    						  }
    4723
    						| { prefix: string; name: string; id: string; label: string }[]
    4724
    				}
    4725
    				macroRenderedOutput?: {}
    4726
    				extensions?: {}
    4727
    				_expandable?: {
    4728
    					childTypes?: string
    4729
    					container?: string
    4730
    					metadata?: string
    4731
    					operations?: string
    4732
    					children?: string
    4733
    					restrictions?: string
    4734
    					history?: string
    4735
    					ancestors?: string
    4736
    					body?: string
    4737
    					version?: string
    4738
    					descendants?: string
    4739
    					space?: string
    4740
    					extensions?: string
    4741
    					schedulePublishDate?: string
    4742
    					schedulePublishInfo?: string
    4743
    					macroRenderedOutput?: string
    4744
    				}
    4745
    				_links?: {}
    4746
    			}
    4747
    			collaborators?: {
    4748
    				users?: {
    4749
    					type: 'known' | 'unknown' | 'anonymous' | 'user'
    4750
    					username?: string
    4751
    					userKey?: string
    4752
    					accountId?: string
    4753
    					accountType?: '' | 'atlassian' | 'app'
    4754
    					email?: string
    4755
    					publicName?: string
    4756
    					profilePicture?: {
    4757
    						path: string
    4758
    						width: number
    4759
    						height: number
    4760
    						isDefault: false | true
    4761
    					}
    4762
    					displayName?: string
    4763
    					timeZone?: string
    4764
    					externalCollaborator?: false | true
    4765
    					isExternalCollaborator?: false | true
    4766
    					isGuest?: false | true
    4767
    					operations?: {
    4768
    						operation:
    4769
    							| 'administer'
    4770
    							| 'archive'
    4771
    							| 'clear_permissions'
    4772
    							| 'copy'
    4773
    							| 'create'
    4774
    							| 'create_space'
    4775
    							| 'delete'
    4776
    							| 'export'
    4777
    							| 'move'
    4778
    							| 'purge'
    4779
    							| 'purge_version'
    4780
    							| 'read'
    4781
    							| 'restore'
    4782
    							| 'restrict_content'
    4783
    							| 'update'
    4784
    							| 'use'
    4785
    						targetType: string
    4786
    					}[]
    4787
    					details?: {
    4788
    						business?: {
    4789
    							position?: string
    4790
    							department?: string
    4791
    							location?: string
    4792
    						}
    4793
    						personal?: {
    4794
    							phone?: string
    4795
    							im?: string
    4796
    							website?: string
    4797
    							email?: string
    4798
    						}
    4799
    					}
    4800
    					personalSpace?: {
    4801
    						id?: number
    4802
    						key: string
    4803
    						alias?: string
    4804
    						name: string
    4805
    						icon?: {
    4806
    							path: string
    4807
    							width: number
    4808
    							height: number
    4809
    							isDefault: false | true
    4810
    						}
    4811
    						description?: {
    4812
    							plain?: {
    4813
    								value: string
    4814
    								representation: 'plain' | 'view'
    4815
    								embeddedContent: {}[]
    4816
    							}
    4817
    							view?: {
    4818
    								value: string
    4819
    								representation: 'plain' | 'view'
    4820
    								embeddedContent: {}[]
    4821
    							}
    4822
    							_expandable?: { view?: string; plain?: string }
    4823
    						}
    4824
    						homepage?: {
    4825
    							id?: string
    4826
    							type: string
    4827
    							status: string
    4828
    							title?: string
    4829
    							space?: {}
    4830
    							history?: {
    4831
    								latest: false | true
    4832
    								createdBy?: {}
    4833
    								ownedBy?: {}
    4834
    								lastOwnedBy?: {}
    4835
    								createdDate?: string
    4836
    								lastUpdated?: {}
    4837
    								previousVersion?: {}
    4838
    								contributors?: { publishers?: {} }
    4839
    								nextVersion?: {}
    4840
    								_expandable?: {
    4841
    									lastUpdated?: string
    4842
    									previousVersion?: string
    4843
    									contributors?: string
    4844
    									nextVersion?: string
    4845
    									ownedBy?: string
    4846
    									lastOwnedBy?: string
    4847
    								}
    4848
    								_links?: {}
    4849
    							}
    4850
    							version?: {}
    4851
    							ancestors?: {}[]
    4852
    							operations?: {
    4853
    								operation:
    4854
    									| 'administer'
    4855
    									| 'archive'
    4856
    									| 'clear_permissions'
    4857
    									| 'copy'
    4858
    									| 'create'
    4859
    									| 'create_space'
    4860
    									| 'delete'
    4861
    									| 'export'
    4862
    									| 'move'
    4863
    									| 'purge'
    4864
    									| 'purge_version'
    4865
    									| 'read'
    4866
    									| 'restore'
    4867
    									| 'restrict_content'
    4868
    									| 'update'
    4869
    									| 'use'
    4870
    								targetType: string
    4871
    							}[]
    4872
    							children?: {
    4873
    								attachment?: {
    4874
    									results: {}[]
    4875
    									start?: number
    4876
    									limit?: number
    4877
    									size: number
    4878
    									_links: {}
    4879
    								}
    4880
    								comment?: {
    4881
    									results: {}[]
    4882
    									start?: number
    4883
    									limit?: number
    4884
    									size: number
    4885
    									_links: {}
    4886
    								}
    4887
    								page?: {
    4888
    									results: {}[]
    4889
    									start?: number
    4890
    									limit?: number
    4891
    									size: number
    4892
    									_links: {}
    4893
    								}
    4894
    								whiteboard?: {
    4895
    									results: {}[]
    4896
    									start?: number
    4897
    									limit?: number
    4898
    									size: number
    4899
    									_links: {}
    4900
    								}
    4901
    								database?: {
    4902
    									results: {}[]
    4903
    									start?: number
    4904
    									limit?: number
    4905
    									size: number
    4906
    									_links: {}
    4907
    								}
    4908
    								embed?: {
    4909
    									results: {}[]
    4910
    									start?: number
    4911
    									limit?: number
    4912
    									size: number
    4913
    									_links: {}
    4914
    								}
    4915
    								folder?: {
    4916
    									results: {}[]
    4917
    									start?: number
    4918
    									limit?: number
    4919
    									size: number
    4920
    									_links: {}
    4921
    								}
    4922
    								_expandable?: {
    4923
    									attachment?: string
    4924
    									comment?: string
    4925
    									page?: string
    4926
    									whiteboard?: string
    4927
    									database?: string
    4928
    									embed?: string
    4929
    									folder?: string
    4930
    								}
    4931
    								_links?: {}
    4932
    							}
    4933
    							childTypes?: {
    4934
    								attachment?: { value: false | true; _links: {} }
    4935
    								comment?: { value: false | true; _links: {} }
    4936
    								page?: { value: false | true; _links: {} }
    4937
    								_expandable?: {
    4938
    									all?: string
    4939
    									attachment?: string
    4940
    									comment?: string
    4941
    									page?: string
    4942
    									whiteboard?: string
    4943
    									database?: string
    4944
    									embed?: string
    4945
    									folder?: string
    4946
    								}
    4947
    							}
    4948
    							descendants?: {
    4949
    								attachment?: {
    4950
    									results: {}[]
    4951
    									start?: number
    4952
    									limit?: number
    4953
    									size: number
    4954
    									_links: {}
    4955
    								}
    4956
    								comment?: {
    4957
    									results: {}[]
    4958
    									start?: number
    4959
    									limit?: number
    4960
    									size: number
    4961
    									_links: {}
    4962
    								}
    4963
    								page?: {
    4964
    									results: {}[]
    4965
    									start?: number
    4966
    									limit?: number
    4967
    									size: number
    4968
    									_links: {}
    4969
    								}
    4970
    								whiteboard?: {
    4971
    									results: {}[]
    4972
    									start?: number
    4973
    									limit?: number
    4974
    									size: number
    4975
    									_links: {}
    4976
    								}
    4977
    								database?: {
    4978
    									results: {}[]
    4979
    									start?: number
    4980
    									limit?: number
    4981
    									size: number
    4982
    									_links: {}
    4983
    								}
    4984
    								embed?: {
    4985
    									results: {}[]
    4986
    									start?: number
    4987
    									limit?: number
    4988
    									size: number
    4989
    									_links: {}
    4990
    								}
    4991
    								folder?: {
    4992
    									results: {}[]
    4993
    									start?: number
    4994
    									limit?: number
    4995
    									size: number
    4996
    									_links: {}
    4997
    								}
    4998
    								_expandable?: {
    4999
    									attachment?: string
    5000
    									comment?: string
    5001
    									page?: string
    5002
    									whiteboard?: string
    5003
    									database?: string
    5004
    									embed?: string
    5005
    									folder?: string
    5006
    								}
    5007
    								_links?: {}
    5008
    							}
    5009
    							container?: {}
    5010
    							body?: {
    5011
    								view?: {
    5012
    									value: string
    5013
    									representation:
    5014
    										| 'view'
    5015
    										| 'export_view'
    5016
    										| 'styled_view'
    5017
    										| 'storage'
    5018
    										| 'editor'
    5019
    										| 'editor2'
    5020
    										| 'anonymous_export_view'
    5021
    										| 'wiki'
    5022
    										| 'atlas_doc_format'
    5023
    										| 'raw'
    5024
    									embeddedContent?: {
    5025
    										entityId?: number
    5026
    										entityType?: string
    5027
    										entity?: {}
    5028
    									}[]
    5029
    									webresource?: {
    5030
    										_expandable?: { uris?: string | {} }
    5031
    										keys?: string[]
    5032
    										contexts?: string[]
    5033
    										uris?: {
    5034
    											all?: string | string[]
    5035
    											css?: string | string[]
    5036
    											js?: string | string[]
    5037
    											_expandable?: {
    5038
    												css?: string | string[]
    5039
    												js?: string | string[]
    5040
    											}
    5041
    										}
    5042
    										tags?: {
    5043
    											all?: string
    5044
    											css?: string
    5045
    											data?: string
    5046
    											js?: string
    5047
    											_expandable?: {}
    5048
    										}
    5049
    										superbatch?: {
    5050
    											uris?: {
    5051
    												all?: string | string[]
    5052
    												css?: string | string[]
    5053
    												js?: string | string[]
    5054
    											}
    5055
    											tags?: {
    5056
    												all?: string
    5057
    												css?: string
    5058
    												data?: string
    5059
    												js?: string
    5060
    											}
    5061
    											metatags?: string
    5062
    											_expandable?: {}
    5063
    										}
    5064
    									}
    5065
    									mediaToken?: {
    5066
    										collectionIds?: string[]
    5067
    										contentId?: string
    5068
    										expiryDateTime?: string
    5069
    										fileIds?: string[]
    5070
    										token?: string
    5071
    									}
    5072
    									_expandable?: {
    5073
    										content?: string
    5074
    										embeddedContent?: string
    5075
    										webresource?: string
    5076
    										mediaToken?: string
    5077
    									}
    5078
    									_links?: {}
    5079
    								}
    5080
    								export_view?: {
    5081
    									value: string
    5082
    									representation:
    5083
    										| 'view'
    5084
    										| 'export_view'
    5085
    										| 'styled_view'
    5086
    										| 'storage'
    5087
    										| 'editor'
    5088
    										| 'editor2'
    5089
    										| 'anonymous_export_view'
    5090
    										| 'wiki'
    5091
    										| 'atlas_doc_format'
    5092
    										| 'raw'
    5093
    									embeddedContent?: {
    5094
    										entityId?: number
    5095
    										entityType?: string
    5096
    										entity?: {}
    5097
    									}[]
    5098
    									webresource?: {
    5099
    										_expandable?: { uris?: string | {} }
    5100
    										keys?: string[]
    5101
    										contexts?: string[]
    5102
    										uris?: {
    5103
    											all?: string | string[]
    5104
    											css?: string | string[]
    5105
    											js?: string | string[]
    5106
    											_expandable?: {
    5107
    												css?: string | string[]
    5108
    												js?: string | string[]
    5109
    											}
    5110
    										}
    5111
    										tags?: {
    5112
    											all?: string
    5113
    											css?: string
    5114
    											data?: string
    5115
    											js?: string
    5116
    											_expandable?: {}
    5117
    										}
    5118
    										superbatch?: {
    5119
    											uris?: {
    5120
    												all?: string | string[]
    5121
    												css?: string | string[]
    5122
    												js?: string | string[]
    5123
    											}
    5124
    											tags?: {
    5125
    												all?: string
    5126
    												css?: string
    5127
    												data?: string
    5128
    												js?: string
    5129
    											}
    5130
    											metatags?: string
    5131
    											_expandable?: {}
    5132
    										}
    5133
    									}
    5134
    									mediaToken?: {
    5135
    										collectionIds?: string[]
    5136
    										contentId?: string
    5137
    										expiryDateTime?: string
    5138
    										fileIds?: string[]
    5139
    										token?: string
    5140
    									}
    5141
    									_expandable?: {
    5142
    										content?: string
    5143
    										embeddedContent?: string
    5144
    										webresource?: string
    5145
    										mediaToken?: string
    5146
    									}
    5147
    									_links?: {}
    5148
    								}
    5149
    								styled_view?: {
    5150
    									value: string
    5151
    									representation:
    5152
    										| 'view'
    5153
    										| 'export_view'
    5154
    										| 'styled_view'
    5155
    										| 'storage'
    5156
    										| 'editor'
    5157
    										| 'editor2'
    5158
    										| 'anonymous_export_view'
    5159
    										| 'wiki'
    5160
    										| 'atlas_doc_format'
    5161
    										| 'raw'
    5162
    									embeddedContent?: {
    5163
    										entityId?: number
    5164
    										entityType?: string
    5165
    										entity?: {}
    5166
    									}[]
    5167
    									webresource?: {
    5168
    										_expandable?: { uris?: string | {} }
    5169
    										keys?: string[]
    5170
    										contexts?: string[]
    5171
    										uris?: {
    5172
    											all?: string | string[]
    5173
    											css?: string | string[]
    5174
    											js?: string | string[]
    5175
    											_expandable?: {
    5176
    												css?: string | string[]
    5177
    												js?: string | string[]
    5178
    											}
    5179
    										}
    5180
    										tags?: {
    5181
    											all?: string
    5182
    											css?: string
    5183
    											data?: string
    5184
    											js?: string
    5185
    											_expandable?: {}
    5186
    										}
    5187
    										superbatch?: {
    5188
    											uris?: {
    5189
    												all?: string | string[]
    5190
    												css?: string | string[]
    5191
    												js?: string | string[]
    5192
    											}
    5193
    											tags?: {
    5194
    												all?: string
    5195
    												css?: string
    5196
    												data?: string
    5197
    												js?: string
    5198
    											}
    5199
    											metatags?: string
    5200
    											_expandable?: {}
    5201
    										}
    5202
    									}
    5203
    									mediaToken?: {
    5204
    										collectionIds?: string[]
    5205
    										contentId?: string
    5206
    										expiryDateTime?: string
    5207
    										fileIds?: string[]
    5208
    										token?: string
    5209
    									}
    5210
    									_expandable?: {
    5211
    										content?: string
    5212
    										embeddedContent?: string
    5213
    										webresource?: string
    5214
    										mediaToken?: string
    5215
    									}
    5216
    									_links?: {}
    5217
    								}
    5218
    								storage?: {
    5219
    									value: string
    5220
    									representation:
    5221
    										| 'view'
    5222
    										| 'export_view'
    5223
    										| 'styled_view'
    5224
    										| 'storage'
    5225
    										| 'editor'
    5226
    										| 'editor2'
    5227
    										| 'anonymous_export_view'
    5228
    										| 'wiki'
    5229
    										| 'atlas_doc_format'
    5230
    										| 'raw'
    5231
    									embeddedContent?: {
    5232
    										entityId?: number
    5233
    										entityType?: string
    5234
    										entity?: {}
    5235
    									}[]
    5236
    									webresource?: {
    5237
    										_expandable?: { uris?: string | {} }
    5238
    										keys?: string[]
    5239
    										contexts?: string[]
    5240
    										uris?: {
    5241
    											all?: string | string[]
    5242
    											css?: string | string[]
    5243
    											js?: string | string[]
    5244
    											_expandable?: {
    5245
    												css?: string | string[]
    5246
    												js?: string | string[]
    5247
    											}
    5248
    										}
    5249
    										tags?: {
    5250
    											all?: string
    5251
    											css?: string
    5252
    											data?: string
    5253
    											js?: string
    5254
    											_expandable?: {}
    5255
    										}
    5256
    										superbatch?: {
    5257
    											uris?: {
    5258
    												all?: string | string[]
    5259
    												css?: string | string[]
    5260
    												js?: string | string[]
    5261
    											}
    5262
    											tags?: {
    5263
    												all?: string
    5264
    												css?: string
    5265
    												data?: string
    5266
    												js?: string
    5267
    											}
    5268
    											metatags?: string
    5269
    											_expandable?: {}
    5270
    										}
    5271
    									}
    5272
    									mediaToken?: {
    5273
    										collectionIds?: string[]
    5274
    										contentId?: string
    5275
    										expiryDateTime?: string
    5276
    										fileIds?: string[]
    5277
    										token?: string
    5278
    									}
    5279
    									_expandable?: {
    5280
    										content?: string
    5281
    										embeddedContent?: string
    5282
    										webresource?: string
    5283
    										mediaToken?: string
    5284
    									}
    5285
    									_links?: {}
    5286
    								}
    5287
    								wiki?: {
    5288
    									value: string
    5289
    									representation:
    5290
    										| 'view'
    5291
    										| 'export_view'
    5292
    										| 'styled_view'
    5293
    										| 'storage'
    5294
    										| 'editor'
    5295
    										| 'editor2'
    5296
    										| 'anonymous_export_view'
    5297
    										| 'wiki'
    5298
    										| 'atlas_doc_format'
    5299
    										| 'raw'
    5300
    									embeddedContent?: {
    5301
    										entityId?: number
    5302
    										entityType?: string
    5303
    										entity?: {}
    5304
    									}[]
    5305
    									webresource?: {
    5306
    										_expandable?: { uris?: string | {} }
    5307
    										keys?: string[]
    5308
    										contexts?: string[]
    5309
    										uris?: {
    5310
    											all?: string | string[]
    5311
    											css?: string | string[]
    5312
    											js?: string | string[]
    5313
    											_expandable?: {
    5314
    												css?: string | string[]
    5315
    												js?: string | string[]
    5316
    											}
    5317
    										}
    5318
    										tags?: {
    5319
    											all?: string
    5320
    											css?: string
    5321
    											data?: string
    5322
    											js?: string
    5323
    											_expandable?: {}
    5324
    										}
    5325
    										superbatch?: {
    5326
    											uris?: {
    5327
    												all?: string | string[]
    5328
    												css?: string | string[]
    5329
    												js?: string | string[]
    5330
    											}
    5331
    											tags?: {
    5332
    												all?: string
    5333
    												css?: string
    5334
    												data?: string
    5335
    												js?: string
    5336
    											}
    5337
    											metatags?: string
    5338
    											_expandable?: {}
    5339
    										}
    5340
    									}
    5341
    									mediaToken?: {
    5342
    										collectionIds?: string[]
    5343
    										contentId?: string
    5344
    										expiryDateTime?: string
    5345
    										fileIds?: string[]
    5346
    										token?: string
    5347
    									}
    5348
    									_expandable?: {
    5349
    										content?: string
    5350
    										embeddedContent?: string
    5351
    										webresource?: string
    5352
    										mediaToken?: string
    5353
    									}
    5354
    									_links?: {}
    5355
    								}
    5356
    								editor?: {
    5357
    									value: string
    5358
    									representation:
    5359
    										| 'view'
    5360
    										| 'export_view'
    5361
    										| 'styled_view'
    5362
    										| 'storage'
    5363
    										| 'editor'
    5364
    										| 'editor2'
    5365
    										| 'anonymous_export_view'
    5366
    										| 'wiki'
    5367
    										| 'atlas_doc_format'
    5368
    										| 'raw'
    5369
    									embeddedContent?: {
    5370
    										entityId?: number
    5371
    										entityType?: string
    5372
    										entity?: {}
    5373
    									}[]
    5374
    									webresource?: {
    5375
    										_expandable?: { uris?: string | {} }
    5376
    										keys?: string[]
    5377
    										contexts?: string[]
    5378
    										uris?: {
    5379
    											all?: string | string[]
    5380
    											css?: string | string[]
    5381
    											js?: string | string[]
    5382
    											_expandable?: {
    5383
    												css?: string | string[]
    5384
    												js?: string | string[]
    5385
    											}
    5386
    										}
    5387
    										tags?: {
    5388
    											all?: string
    5389
    											css?: string
    5390
    											data?: string
    5391
    											js?: string
    5392
    											_expandable?: {}
    5393
    										}
    5394
    										superbatch?: {
    5395
    											uris?: {
    5396
    												all?: string | string[]
    5397
    												css?: string | string[]
    5398
    												js?: string | string[]
    5399
    											}
    5400
    											tags?: {
    5401
    												all?: string
    5402
    												css?: string
    5403
    												data?: string
    5404
    												js?: string
    5405
    											}
    5406
    											metatags?: string
    5407
    											_expandable?: {}
    5408
    										}
    5409
    									}
    5410
    									mediaToken?: {
    5411
    										collectionIds?: string[]
    5412
    										contentId?: string
    5413
    										expiryDateTime?: string
    5414
    										fileIds?: string[]
    5415
    										token?: string
    5416
    									}
    5417
    									_expandable?: {
    5418
    										content?: string
    5419
    										embeddedContent?: string
    5420
    										webresource?: string
    5421
    										mediaToken?: string
    5422
    									}
    5423
    									_links?: {}
    5424
    								}
    5425
    								editor2?: {
    5426
    									value: string
    5427
    									representation:
    5428
    										| 'view'
    5429
    										| 'export_view'
    5430
    										| 'styled_view'
    5431
    										| 'storage'
    5432
    										| 'editor'
    5433
    										| 'editor2'
    5434
    										| 'anonymous_export_view'
    5435
    										| 'wiki'
    5436
    										| 'atlas_doc_format'
    5437
    										| 'raw'
    5438
    									embeddedContent?: {
    5439
    										entityId?: number
    5440
    										entityType?: string
    5441
    										entity?: {}
    5442
    									}[]
    5443
    									webresource?: {
    5444
    										_expandable?: { uris?: string | {} }
    5445
    										keys?: string[]
    5446
    										contexts?: string[]
    5447
    										uris?: {
    5448
    											all?: string | string[]
    5449
    											css?: string | string[]
    5450
    											js?: string | string[]
    5451
    											_expandable?: {
    5452
    												css?: string | string[]
    5453
    												js?: string | string[]
    5454
    											}
    5455
    										}
    5456
    										tags?: {
    5457
    											all?: string
    5458
    											css?: string
    5459
    											data?: string
    5460
    											js?: string
    5461
    											_expandable?: {}
    5462
    										}
    5463
    										superbatch?: {
    5464
    											uris?: {
    5465
    												all?: string | string[]
    5466
    												css?: string | string[]
    5467
    												js?: string | string[]
    5468
    											}
    5469
    											tags?: {
    5470
    												all?: string
    5471
    												css?: string
    5472
    												data?: string
    5473
    												js?: string
    5474
    											}
    5475
    											metatags?: string
    5476
    											_expandable?: {}
    5477
    										}
    5478
    									}
    5479
    									mediaToken?: {
    5480
    										collectionIds?: string[]
    5481
    										contentId?: string
    5482
    										expiryDateTime?: string
    5483
    										fileIds?: string[]
    5484
    										token?: string
    5485
    									}
    5486
    									_expandable?: {
    5487
    										content?: string
    5488
    										embeddedContent?: string
    5489
    										webresource?: string
    5490
    										mediaToken?: string
    5491
    									}
    5492
    									_links?: {}
    5493
    								}
    5494
    								anonymous_export_view?: {
    5495
    									value: string
    5496
    									representation:
    5497
    										| 'view'
    5498
    										| 'export_view'
    5499
    										| 'styled_view'
    5500
    										| 'storage'
    5501
    										| 'editor'
    5502
    										| 'editor2'
    5503
    										| 'anonymous_export_view'
    5504
    										| 'wiki'
    5505
    										| 'atlas_doc_format'
    5506
    										| 'raw'
    5507
    									embeddedContent?: {
    5508
    										entityId?: number
    5509
    										entityType?: string
    5510
    										entity?: {}
    5511
    									}[]
    5512
    									webresource?: {
    5513
    										_expandable?: { uris?: string | {} }
    5514
    										keys?: string[]
    5515
    										contexts?: string[]
    5516
    										uris?: {
    5517
    											all?: string | string[]
    5518
    											css?: string | string[]
    5519
    											js?: string | string[]
    5520
    											_expandable?: {
    5521
    												css?: string | string[]
    5522
    												js?: string | string[]
    5523
    											}
    5524
    										}
    5525
    										tags?: {
    5526
    											all?: string
    5527
    											css?: string
    5528
    											data?: string
    5529
    											js?: string
    5530
    											_expandable?: {}
    5531
    										}
    5532
    										superbatch?: {
    5533
    											uris?: {
    5534
    												all?: string | string[]
    5535
    												css?: string | string[]
    5536
    												js?: string | string[]
    5537
    											}
    5538
    											tags?: {
    5539
    												all?: string
    5540
    												css?: string
    5541
    												data?: string
    5542
    												js?: string
    5543
    											}
    5544
    											metatags?: string
    5545
    											_expandable?: {}
    5546
    										}
    5547
    									}
    5548
    									mediaToken?: {
    5549
    										collectionIds?: string[]
    5550
    										contentId?: string
    5551
    										expiryDateTime?: string
    5552
    										fileIds?: string[]
    5553
    										token?: string
    5554
    									}
    5555
    									_expandable?: {
    5556
    										content?: string
    5557
    										embeddedContent?: string
    5558
    										webresource?: string
    5559
    										mediaToken?: string
    5560
    									}
    5561
    									_links?: {}
    5562
    								}
    5563
    								atlas_doc_format?: {
    5564
    									value: string
    5565
    									representation:
    5566
    										| 'view'
    5567
    										| 'export_view'
    5568
    										| 'styled_view'
    5569
    										| 'storage'
    5570
    										| 'editor'
    5571
    										| 'editor2'
    5572
    										| 'anonymous_export_view'
    5573
    										| 'wiki'
    5574
    										| 'atlas_doc_format'
    5575
    										| 'raw'
    5576
    									embeddedContent?: {
    5577
    										entityId?: number
    5578
    										entityType?: string
    5579
    										entity?: {}
    5580
    									}[]
    5581
    									webresource?: {
    5582
    										_expandable?: { uris?: string | {} }
    5583
    										keys?: string[]
    5584
    										contexts?: string[]
    5585
    										uris?: {
    5586
    											all?: string | string[]
    5587
    											css?: string | string[]
    5588
    											js?: string | string[]
    5589
    											_expandable?: {
    5590
    												css?: string | string[]
    5591
    												js?: string | string[]
    5592
    											}
    5593
    										}
    5594
    										tags?: {
    5595
    											all?: string
    5596
    											css?: string
    5597
    											data?: string
    5598
    											js?: string
    5599
    											_expandable?: {}
    5600
    										}
    5601
    										superbatch?: {
    5602
    											uris?: {
    5603
    												all?: string | string[]
    5604
    												css?: string | string[]
    5605
    												js?: string | string[]
    5606
    											}
    5607
    											tags?: {
    5608
    												all?: string
    5609
    												css?: string
    5610
    												data?: string
    5611
    												js?: string
    5612
    											}
    5613
    											metatags?: string
    5614
    											_expandable?: {}
    5615
    										}
    5616
    									}
    5617
    									mediaToken?: {
    5618
    										collectionIds?: string[]
    5619
    										contentId?: string
    5620
    										expiryDateTime?: string
    5621
    										fileIds?: string[]
    5622
    										token?: string
    5623
    									}
    5624
    									_expandable?: {
    5625
    										content?: string
    5626
    										embeddedContent?: string
    5627
    										webresource?: string
    5628
    										mediaToken?: string
    5629
    									}
    5630
    									_links?: {}
    5631
    								}
    5632
    								dynamic?: {
    5633
    									value: string
    5634
    									representation:
    5635
    										| 'view'
    5636
    										| 'export_view'
    5637
    										| 'styled_view'
    5638
    										| 'storage'
    5639
    										| 'editor'
    5640
    										| 'editor2'
    5641
    										| 'anonymous_export_view'
    5642
    										| 'wiki'
    5643
    										| 'atlas_doc_format'
    5644
    										| 'raw'
    5645
    									embeddedContent?: {
    5646
    										entityId?: number
    5647
    										entityType?: string
    5648
    										entity?: {}
    5649
    									}[]
    5650
    									webresource?: {
    5651
    										_expandable?: { uris?: string | {} }
    5652
    										keys?: string[]
    5653
    										contexts?: string[]
    5654
    										uris?: {
    5655
    											all?: string | string[]
    5656
    											css?: string | string[]
    5657
    											js?: string | string[]
    5658
    											_expandable?: {
    5659
    												css?: string | string[]
    5660
    												js?: string | string[]
    5661
    											}
    5662
    										}
    5663
    										tags?: {
    5664
    											all?: string
    5665
    											css?: string
    5666
    											data?: string
    5667
    											js?: string
    5668
    											_expandable?: {}
    5669
    										}
    5670
    										superbatch?: {
    5671
    											uris?: {
    5672
    												all?: string | string[]
    5673
    												css?: string | string[]
    5674
    												js?: string | string[]
    5675
    											}
    5676
    											tags?: {
    5677
    												all?: string
    5678
    												css?: string
    5679
    												data?: string
    5680
    												js?: string
    5681
    											}
    5682
    											metatags?: string
    5683
    											_expandable?: {}
    5684
    										}
    5685
    									}
    5686
    									mediaToken?: {
    5687
    										collectionIds?: string[]
    5688
    										contentId?: string
    5689
    										expiryDateTime?: string
    5690
    										fileIds?: string[]
    5691
    										token?: string
    5692
    									}
    5693
    									_expandable?: {
    5694
    										content?: string
    5695
    										embeddedContent?: string
    5696
    										webresource?: string
    5697
    										mediaToken?: string
    5698
    									}
    5699
    									_links?: {}
    5700
    								}
    5701
    								raw?: {
    5702
    									value: string
    5703
    									representation:
    5704
    										| 'view'
    5705
    										| 'export_view'
    5706
    										| 'styled_view'
    5707
    										| 'storage'
    5708
    										| 'editor'
    5709
    										| 'editor2'
    5710
    										| 'anonymous_export_view'
    5711
    										| 'wiki'
    5712
    										| 'atlas_doc_format'
    5713
    										| 'raw'
    5714
    									embeddedContent?: {
    5715
    										entityId?: number
    5716
    										entityType?: string
    5717
    										entity?: {}
    5718
    									}[]
    5719
    									webresource?: {
    5720
    										_expandable?: { uris?: string | {} }
    5721
    										keys?: string[]
    5722
    										contexts?: string[]
    5723
    										uris?: {
    5724
    											all?: string | string[]
    5725
    											css?: string | string[]
    5726
    											js?: string | string[]
    5727
    											_expandable?: {
    5728
    												css?: string | string[]
    5729
    												js?: string | string[]
    5730
    											}
    5731
    										}
    5732
    										tags?: {
    5733
    											all?: string
    5734
    											css?: string
    5735
    											data?: string
    5736
    											js?: string
    5737
    											_expandable?: {}
    5738
    										}
    5739
    										superbatch?: {
    5740
    											uris?: {
    5741
    												all?: string | string[]
    5742
    												css?: string | string[]
    5743
    												js?: string | string[]
    5744
    											}
    5745
    											tags?: {
    5746
    												all?: string
    5747
    												css?: string
    5748
    												data?: string
    5749
    												js?: string
    5750
    											}
    5751
    											metatags?: string
    5752
    											_expandable?: {}
    5753
    										}
    5754
    									}
    5755
    									mediaToken?: {
    5756
    										collectionIds?: string[]
    5757
    										contentId?: string
    5758
    										expiryDateTime?: string
    5759
    										fileIds?: string[]
    5760
    										token?: string
    5761
    									}
    5762
    									_expandable?: {
    5763
    										content?: string
    5764
    										embeddedContent?: string
    5765
    										webresource?: string
    5766
    										mediaToken?: string
    5767
    									}
    5768
    									_links?: {}
    5769
    								}
    5770
    								_expandable?: {
    5771
    									editor?: string
    5772
    									view?: string
    5773
    									export_view?: string
    5774
    									styled_view?: string
    5775
    									storage?: string
    5776
    									editor2?: string
    5777
    									anonymous_export_view?: string
    5778
    									atlas_doc_format?: string
    5779
    									wiki?: string
    5780
    									dynamic?: string
    5781
    									raw?: string
    5782
    								}
    5783
    							}
    5784
    							restrictions?: {
    5785
    								read?: {
    5786
    									operation:
    5787
    										| 'administer'
    5788
    										| 'copy'
    5789
    										| 'create'
    5790
    										| 'delete'
    5791
    										| 'export'
    5792
    										| 'move'
    5793
    										| 'purge'
    5794
    										| 'purge_version'
    5795
    										| 'read'
    5796
    										| 'restore'
    5797
    										| 'update'
    5798
    										| 'use'
    5799
    									restrictions?: {
    5800
    										user?: {
    5801
    											results: {}[]
    5802
    											start?: number
    5803
    											limit?: number
    5804
    											size?: number
    5805
    											totalSize?: number
    5806
    											_links?: {}
    5807
    										}
    5808
    										group?: {
    5809
    											results: {
    5810
    												type: 'group'
    5811
    												name: string
    5812
    												id: string
    5813
    												_links?: {}
    5814
    											}[]
    5815
    											start: number
    5816
    											limit: number
    5817
    											size: number
    5818
    										}
    5819
    										_expandable?: { user?: string; group?: string }
    5820
    									}
    5821
    									content?: {}
    5822
    									_expandable: { restrictions?: string; content?: string }
    5823
    									_links: {}
    5824
    								}
    5825
    								update?: {
    5826
    									operation:
    5827
    										| 'administer'
    5828
    										| 'copy'
    5829
    										| 'create'
    5830
    										| 'delete'
    5831
    										| 'export'
    5832
    										| 'move'
    5833
    										| 'purge'
    5834
    										| 'purge_version'
    5835
    										| 'read'
    5836
    										| 'restore'
    5837
    										| 'update'
    5838
    										| 'use'
    5839
    									restrictions?: {
    5840
    										user?: {
    5841
    											results: {}[]
    5842
    											start?: number
    5843
    											limit?: number
    5844
    											size?: number
    5845
    											totalSize?: number
    5846
    											_links?: {}
    5847
    										}
    5848
    										group?: {
    5849
    											results: {
    5850
    												type: 'group'
    5851
    												name: string
    5852
    												id: string
    5853
    												_links?: {}
    5854
    											}[]
    5855
    											start: number
    5856
    											limit: number
    5857
    											size: number
    5858
    										}
    5859
    										_expandable?: { user?: string; group?: string }
    5860
    									}
    5861
    									content?: {}
    5862
    									_expandable: { restrictions?: string; content?: string }
    5863
    									_links: {}
    5864
    								}
    5865
    								_expandable?: { read?: string; update?: string }
    5866
    								_links?: {}
    5867
    							}
    5868
    							metadata?: {
    5869
    								currentuser?: {
    5870
    									favourited?: {
    5871
    										isFavourite?: false | true
    5872
    										favouritedDate?: string
    5873
    									}
    5874
    									lastmodified?: {
    5875
    										version?: {}
    5876
    										friendlyLastModified?: string
    5877
    									}
    5878
    									lastcontributed?: { status?: string; when?: string }
    5879
    									viewed?: { lastSeen?: string; friendlyLastSeen?: string }
    5880
    									scheduled?: {}
    5881
    									_expandable?: {
    5882
    										favourited?: string
    5883
    										lastmodified?: string
    5884
    										lastcontributed?: string
    5885
    										viewed?: string
    5886
    										scheduled?: string
    5887
    									}
    5888
    								}
    5889
    								properties?: {}
    5890
    								frontend?: {}
    5891
    								labels?:
    5892
    									| {
    5893
    											results: {
    5894
    												prefix: string
    5895
    												name: string
    5896
    												id: string
    5897
    												label: string
    5898
    											}[]
    5899
    											start?: number
    5900
    											limit?: number
    5901
    											size: number
    5902
    											_links?: {}
    5903
    									  }
    5904
    									| {
    5905
    											prefix: string
    5906
    											name: string
    5907
    											id: string
    5908
    											label: string
    5909
    									  }[]
    5910
    							}
    5911
    							macroRenderedOutput?: {}
    5912
    							extensions?: {}
    5913
    							_expandable?: {
    5914
    								childTypes?: string
    5915
    								container?: string
    5916
    								metadata?: string
    5917
    								operations?: string
    5918
    								children?: string
    5919
    								restrictions?: string
    5920
    								history?: string
    5921
    								ancestors?: string
    5922
    								body?: string
    5923
    								version?: string
    5924
    								descendants?: string
    5925
    								space?: string
    5926
    								extensions?: string
    5927
    								schedulePublishDate?: string
    5928
    								schedulePublishInfo?: string
    5929
    								macroRenderedOutput?: string
    5930
    							}
    5931
    							_links?: {}
    5932
    						}
    5933
    						type: string
    5934
    						metadata?: {
    5935
    							labels?: {
    5936
    								results: {
    5937
    									prefix: string
    5938
    									name: string
    5939
    									id: string
    5940
    									label: string
    5941
    								}[]
    5942
    								start?: number
    5943
    								limit?: number
    5944
    								size: number
    5945
    								_links?: {}
    5946
    							}
    5947
    							_expandable?: {}
    5948
    						}
    5949
    						operations?: {
    5950
    							operation:
    5951
    								| 'administer'
    5952
    								| 'archive'
    5953
    								| 'clear_permissions'
    5954
    								| 'copy'
    5955
    								| 'create'
    5956
    								| 'create_space'
    5957
    								| 'delete'
    5958
    								| 'export'
    5959
    								| 'move'
    5960
    								| 'purge'
    5961
    								| 'purge_version'
    5962
    								| 'read'
    5963
    								| 'restore'
    5964
    								| 'restrict_content'
    5965
    								| 'update'
    5966
    								| 'use'
    5967
    							targetType: string
    5968
    						}[]
    5969
    						permissions?: {
    5970
    							id?: number
    5971
    							subjects?: {
    5972
    								user?: {
    5973
    									results: {}[]
    5974
    									size: number
    5975
    									start?: number
    5976
    									limit?: number
    5977
    								}
    5978
    								group?: {
    5979
    									results: {
    5980
    										type: 'group'
    5981
    										name: string
    5982
    										id: string
    5983
    										_links?: {}
    5984
    									}[]
    5985
    									size: number
    5986
    									start?: number
    5987
    									limit?: number
    5988
    								}
    5989
    								_expandable?: { user?: string; group?: string }
    5990
    							}
    5991
    							operation: {
    5992
    								operation:
    5993
    									| 'administer'
    5994
    									| 'archive'
    5995
    									| 'clear_permissions'
    5996
    									| 'copy'
    5997
    									| 'create'
    5998
    									| 'create_space'
    5999
    									| 'delete'
    6000
    									| 'export'
    6001
    									| 'move'
    6002
    									| 'purge'
    6003
    									| 'purge_version'
    6004
    									| 'read'
    6005
    									| 'restore'
    6006
    									| 'restrict_content'
    6007
    									| 'update'
    6008
    									| 'use'
    6009
    								targetType: string
    6010
    							}
    6011
    							anonymousAccess: false | true
    6012
    							unlicensedAccess: false | true
    6013
    						}[]
    6014
    						status: string
    6015
    						settings?: {
    6016
    							routeOverrideEnabled: false | true
    6017
    							editor?: { page: string; blogpost: string; default: string }
    6018
    							spaceKey?: string
    6019
    							_links: {}
    6020
    						}
    6021
    						theme?: {
    6022
    							themeKey: string
    6023
    							name?: string
    6024
    							description?: string
    6025
    							icon?: {
    6026
    								path: string
    6027
    								width: number
    6028
    								height: number
    6029
    								isDefault: false | true
    6030
    							}
    6031
    							_links?: {}
    6032
    						}
    6033
    						lookAndFeel?: {
    6034
    							headings: { color: string }
    6035
    							links: { color: string }
    6036
    							menus: {
    6037
    								hoverOrFocus: { backgroundColor: string }
    6038
    								color: string
    6039
    							}
    6040
    							header: {
    6041
    								backgroundColor: string
    6042
    								button: { backgroundColor: string; color: string }
    6043
    								primaryNavigation: {
    6044
    									color: string
    6045
    									highlightColor?: string
    6046
    									hoverOrFocus: { backgroundColor: string; color: string }
    6047
    								}
    6048
    								secondaryNavigation: {
    6049
    									color: string
    6050
    									highlightColor?: string
    6051
    									hoverOrFocus: { backgroundColor: string; color: string }
    6052
    								}
    6053
    								search: { backgroundColor: string; color: string }
    6054
    							}
    6055
    							horizontalHeader?: {
    6056
    								backgroundColor: string
    6057
    								button?: { backgroundColor: string; color: string }
    6058
    								primaryNavigation: {
    6059
    									color?: string
    6060
    									highlightColor: string
    6061
    									hoverOrFocus?: { backgroundColor?: string; color?: string }
    6062
    								}
    6063
    								secondaryNavigation?: {
    6064
    									color: string
    6065
    									highlightColor?: string
    6066
    									hoverOrFocus: { backgroundColor: string; color: string }
    6067
    								}
    6068
    								search?: { backgroundColor: string; color: string }
    6069
    							}
    6070
    							content: {
    6071
    								screen?: {
    6072
    									background: string
    6073
    									backgroundAttachment?: string
    6074
    									backgroundBlendMode?: string
    6075
    									backgroundClip?: string
    6076
    									backgroundColor?: string
    6077
    									backgroundImage?: string
    6078
    									backgroundOrigin?: string
    6079
    									backgroundPosition?: string
    6080
    									backgroundRepeat?: string
    6081
    									backgroundSize?: string
    6082
    									layer?: { width?: string; height?: string }
    6083
    									gutterTop?: string
    6084
    									gutterRight?: string
    6085
    									gutterBottom?: string
    6086
    									gutterLeft?: string
    6087
    								}
    6088
    								container?: {
    6089
    									background: string
    6090
    									backgroundAttachment?: string
    6091
    									backgroundBlendMode?: string
    6092
    									backgroundClip?: string
    6093
    									backgroundColor: string
    6094
    									backgroundImage: string
    6095
    									backgroundOrigin?: string
    6096
    									backgroundPosition?: string
    6097
    									backgroundRepeat?: string
    6098
    									backgroundSize: string
    6099
    									padding: string
    6100
    									borderRadius: string
    6101
    								}
    6102
    								header?: {
    6103
    									background: string
    6104
    									backgroundAttachment?: string
    6105
    									backgroundBlendMode?: string
    6106
    									backgroundClip?: string
    6107
    									backgroundColor: string
    6108
    									backgroundImage: string
    6109
    									backgroundOrigin?: string
    6110
    									backgroundPosition?: string
    6111
    									backgroundRepeat?: string
    6112
    									backgroundSize: string
    6113
    									padding: string
    6114
    									borderRadius: string
    6115
    								}
    6116
    								body?: {
    6117
    									background: string
    6118
    									backgroundAttachment?: string
    6119
    									backgroundBlendMode?: string
    6120
    									backgroundClip?: string
    6121
    									backgroundColor: string
    6122
    									backgroundImage: string
    6123
    									backgroundOrigin?: string
    6124
    									backgroundPosition?: string
    6125
    									backgroundRepeat?: string
    6126
    									backgroundSize: string
    6127
    									padding: string
    6128
    									borderRadius: string
    6129
    								}
    6130
    							}
    6131
    							bordersAndDividers: { color: string }
    6132
    							spaceReference?: {}
    6133
    						}
    6134
    						history?: { createdDate: string; createdBy?: {} }
    6135
    						_expandable: {
    6136
    							settings?: string
    6137
    							metadata?: string
    6138
    							operations?: string
    6139
    							lookAndFeel?: string
    6140
    							permissions?: string
    6141
    							icon?: string
    6142
    							description?: string
    6143
    							theme?: string
    6144
    							history?: string
    6145
    							homepage?: string
    6146
    							identifiers?: string
    6147
    						}
    6148
    						_links: {}
    6149
    					}
    6150
    					_expandable?: {
    6151
    						operations?: string
    6152
    						details?: string
    6153
    						personalSpace?: string
    6154
    					}
    6155
    					_links?: {}
    6156
    				}[]
    6157
    				userKeys?: string[]
    6158
    				_links?: {}
    6159
    			}
    6160
    			_expandable?: { content?: string; collaborators?: string }
    6161
    			_links?: {}
    6162
    			contentTypeModified?: false | true
    6163
    			confRev?: string
    6164
    			syncRev?: string
    6165
    			syncRevSource?: string
    6166
    		}
    6167
    	}
    6168
    ) {
    6169
    	const url = new URL(
    6170
    		`https://${auth.domain}/wiki/rest/api/content/${id}/child/attachment/${attachmentId}`
    6171
    	)
    6172
    
    
    6173
    	const response = await fetch(url, {
    6174
    		method: 'PUT',
    6175
    		headers: {
    6176
    			'Content-Type': 'application/json',
    6177
    			Authorization: 'Basic ' + btoa(`${auth.email}:${auth.apiToken}`)
    6178
    		},
    6179
    		body: JSON.stringify(body)
    6180
    	})
    6181
    	if (!response.ok) {
    6182
    		const text = await response.text()
    6183
    		throw new Error(`${response.status} ${text}`)
    6184
    	}
    6185
    	return await response.json()
    6186
    }
    6187