@superdoc-dev/sdk 1.8.0-next.1 → 1.8.0-next.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3921,6 +3921,20 @@ export interface DocListsDetachParams {
3921
3921
  input?: Record<string, unknown> | unknown[];
3922
3922
  nodeId?: string;
3923
3923
  }
3924
+ export interface DocListsDeleteParams {
3925
+ doc?: string;
3926
+ sessionId?: string;
3927
+ out?: string;
3928
+ force?: boolean;
3929
+ expectedRevision?: number;
3930
+ changeMode?: string;
3931
+ dryRun?: boolean;
3932
+ target: {
3933
+ kind: "block";
3934
+ nodeType: "listItem";
3935
+ nodeId: string;
3936
+ };
3937
+ }
3924
3938
  export interface DocListsIndentParams {
3925
3939
  doc?: string;
3926
3940
  sessionId?: string;
@@ -3997,6 +4011,36 @@ export interface DocListsSeparateParams {
3997
4011
  input?: Record<string, unknown> | unknown[];
3998
4012
  nodeId?: string;
3999
4013
  }
4014
+ export interface DocListsMergeParams {
4015
+ doc?: string;
4016
+ sessionId?: string;
4017
+ out?: string;
4018
+ force?: boolean;
4019
+ expectedRevision?: number;
4020
+ changeMode?: string;
4021
+ dryRun?: boolean;
4022
+ target: {
4023
+ kind: "block";
4024
+ nodeType: "listItem";
4025
+ nodeId: string;
4026
+ };
4027
+ direction: string;
4028
+ }
4029
+ export interface DocListsSplitParams {
4030
+ doc?: string;
4031
+ sessionId?: string;
4032
+ out?: string;
4033
+ force?: boolean;
4034
+ expectedRevision?: number;
4035
+ changeMode?: string;
4036
+ dryRun?: boolean;
4037
+ target: {
4038
+ kind: "block";
4039
+ nodeType: "listItem";
4040
+ nodeId: string;
4041
+ };
4042
+ restartNumbering?: boolean;
4043
+ }
4000
4044
  export interface DocListsSetLevelParams {
4001
4045
  doc?: string;
4002
4046
  sessionId?: string;
@@ -4447,14 +4491,50 @@ export interface DocCommentsCreateParams {
4447
4491
  expectedRevision?: number;
4448
4492
  changeMode?: string;
4449
4493
  text?: string;
4450
- target?: {
4494
+ target?: ({
4451
4495
  kind: "text";
4452
4496
  blockId: string;
4453
4497
  range: {
4454
4498
  start: number;
4455
4499
  end: number;
4456
4500
  };
4457
- };
4501
+ }) | ({
4502
+ kind: "text";
4503
+ segments: Array<{
4504
+ blockId: string;
4505
+ range: {
4506
+ start: number;
4507
+ end: number;
4508
+ };
4509
+ }>;
4510
+ story?: ({
4511
+ kind: "story";
4512
+ storyType: "body";
4513
+ }) | ({
4514
+ kind: "story";
4515
+ storyType: "headerFooterSlot";
4516
+ section: {
4517
+ kind: "section";
4518
+ sectionId: string;
4519
+ };
4520
+ headerFooterKind: "header" | "footer";
4521
+ variant: "default" | "first" | "even";
4522
+ resolution?: "effective" | "explicit";
4523
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
4524
+ }) | ({
4525
+ kind: "story";
4526
+ storyType: "headerFooterPart";
4527
+ refId: string;
4528
+ }) | ({
4529
+ kind: "story";
4530
+ storyType: "footnote";
4531
+ noteId: string;
4532
+ }) | ({
4533
+ kind: "story";
4534
+ storyType: "endnote";
4535
+ noteId: string;
4536
+ });
4537
+ });
4458
4538
  parentId?: string;
4459
4539
  blockId?: string;
4460
4540
  start?: number;
@@ -4713,6 +4793,11 @@ export interface DocRangesResolveParams {
4713
4793
  });
4714
4794
  expectedRevision?: string;
4715
4795
  }
4796
+ export interface DocSelectionCurrentParams {
4797
+ doc?: string;
4798
+ sessionId?: string;
4799
+ includeText?: boolean;
4800
+ }
4716
4801
  export interface DocMutationsPreviewParams {
4717
4802
  doc?: string;
4718
4803
  sessionId?: string;
@@ -5817,7 +5902,7 @@ export interface DocTablesInsertRowParams {
5817
5902
  nodeType: "table";
5818
5903
  nodeId: string;
5819
5904
  });
5820
- position: string;
5905
+ position?: string;
5821
5906
  count?: number;
5822
5907
  rowIndex?: number;
5823
5908
  nodeId?: string;
@@ -5915,7 +6000,7 @@ export interface DocTablesInsertColumnParams {
5915
6000
  nodeId: string;
5916
6001
  };
5917
6002
  nodeId?: string;
5918
- columnIndex: number;
6003
+ columnIndex?: number;
5919
6004
  position: string;
5920
6005
  count?: number;
5921
6006
  }
@@ -6083,6 +6168,28 @@ export interface DocTablesSetCellPropertiesParams {
6083
6168
  wrapText?: boolean;
6084
6169
  fitText?: boolean;
6085
6170
  }
6171
+ export interface DocTablesSetCellTextParams {
6172
+ doc?: string;
6173
+ sessionId?: string;
6174
+ out?: string;
6175
+ force?: boolean;
6176
+ expectedRevision?: number;
6177
+ changeMode?: string;
6178
+ dryRun?: boolean;
6179
+ target?: ({
6180
+ kind: "block";
6181
+ nodeType: "tableCell";
6182
+ nodeId: string;
6183
+ }) | ({
6184
+ kind: "block";
6185
+ nodeType: "table";
6186
+ nodeId: string;
6187
+ });
6188
+ text: string;
6189
+ nodeId?: string;
6190
+ rowIndex?: number;
6191
+ columnIndex?: number;
6192
+ }
6086
6193
  export interface DocTablesSortParams {
6087
6194
  doc?: string;
6088
6195
  sessionId?: string;
@@ -6233,7 +6340,7 @@ export interface DocTablesSetShadingParams {
6233
6340
  nodeId: string;
6234
6341
  };
6235
6342
  nodeId?: string;
6236
- color: string;
6343
+ color: string | unknown;
6237
6344
  }
6238
6345
  export interface DocTablesClearShadingParams {
6239
6346
  doc?: string;
@@ -6420,6 +6527,23 @@ export interface DocTablesSetTableOptionsParams {
6420
6527
  };
6421
6528
  cellSpacingPt?: number | unknown;
6422
6529
  }
6530
+ export interface DocTablesApplyPresetParams {
6531
+ doc?: string;
6532
+ sessionId?: string;
6533
+ out?: string;
6534
+ force?: boolean;
6535
+ expectedRevision?: number;
6536
+ changeMode?: string;
6537
+ dryRun?: boolean;
6538
+ target?: {
6539
+ kind: "block";
6540
+ nodeType: "table";
6541
+ nodeId: string;
6542
+ };
6543
+ nodeId?: string;
6544
+ preset: string;
6545
+ accentColor?: string;
6546
+ }
6423
6547
  export interface DocTablesGetParams {
6424
6548
  doc?: string;
6425
6549
  sessionId?: string;
@@ -8168,6 +8292,33 @@ export interface DocBookmarksListParams {
8168
8292
  sessionId?: string;
8169
8293
  limit?: number;
8170
8294
  offset?: number;
8295
+ in?: ({
8296
+ kind: "story";
8297
+ storyType: "body";
8298
+ }) | ({
8299
+ kind: "story";
8300
+ storyType: "headerFooterSlot";
8301
+ section: {
8302
+ kind: "section";
8303
+ sectionId: string;
8304
+ };
8305
+ headerFooterKind: "header" | "footer";
8306
+ variant: "default" | "first" | "even";
8307
+ resolution?: "effective" | "explicit";
8308
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8309
+ }) | ({
8310
+ kind: "story";
8311
+ storyType: "headerFooterPart";
8312
+ refId: string;
8313
+ }) | ({
8314
+ kind: "story";
8315
+ storyType: "footnote";
8316
+ noteId: string;
8317
+ }) | ({
8318
+ kind: "story";
8319
+ storyType: "endnote";
8320
+ noteId: string;
8321
+ });
8171
8322
  }
8172
8323
  export interface DocBookmarksGetParams {
8173
8324
  doc?: string;
@@ -8176,6 +8327,33 @@ export interface DocBookmarksGetParams {
8176
8327
  kind: "entity";
8177
8328
  entityType: "bookmark";
8178
8329
  name: string;
8330
+ story?: ({
8331
+ kind: "story";
8332
+ storyType: "body";
8333
+ }) | ({
8334
+ kind: "story";
8335
+ storyType: "headerFooterSlot";
8336
+ section: {
8337
+ kind: "section";
8338
+ sectionId: string;
8339
+ };
8340
+ headerFooterKind: "header" | "footer";
8341
+ variant: "default" | "first" | "even";
8342
+ resolution?: "effective" | "explicit";
8343
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8344
+ }) | ({
8345
+ kind: "story";
8346
+ storyType: "headerFooterPart";
8347
+ refId: string;
8348
+ }) | ({
8349
+ kind: "story";
8350
+ storyType: "footnote";
8351
+ noteId: string;
8352
+ }) | ({
8353
+ kind: "story";
8354
+ storyType: "endnote";
8355
+ noteId: string;
8356
+ });
8179
8357
  };
8180
8358
  }
8181
8359
  export interface DocBookmarksInsertParams {
@@ -8196,6 +8374,33 @@ export interface DocBookmarksInsertParams {
8196
8374
  end: number;
8197
8375
  };
8198
8376
  }>;
8377
+ story?: ({
8378
+ kind: "story";
8379
+ storyType: "body";
8380
+ }) | ({
8381
+ kind: "story";
8382
+ storyType: "headerFooterSlot";
8383
+ section: {
8384
+ kind: "section";
8385
+ sectionId: string;
8386
+ };
8387
+ headerFooterKind: "header" | "footer";
8388
+ variant: "default" | "first" | "even";
8389
+ resolution?: "effective" | "explicit";
8390
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8391
+ }) | ({
8392
+ kind: "story";
8393
+ storyType: "headerFooterPart";
8394
+ refId: string;
8395
+ }) | ({
8396
+ kind: "story";
8397
+ storyType: "footnote";
8398
+ noteId: string;
8399
+ }) | ({
8400
+ kind: "story";
8401
+ storyType: "endnote";
8402
+ noteId: string;
8403
+ });
8199
8404
  };
8200
8405
  tableColumn?: {
8201
8406
  colFirst: number;
@@ -8214,6 +8419,33 @@ export interface DocBookmarksRenameParams {
8214
8419
  kind: "entity";
8215
8420
  entityType: "bookmark";
8216
8421
  name: string;
8422
+ story?: ({
8423
+ kind: "story";
8424
+ storyType: "body";
8425
+ }) | ({
8426
+ kind: "story";
8427
+ storyType: "headerFooterSlot";
8428
+ section: {
8429
+ kind: "section";
8430
+ sectionId: string;
8431
+ };
8432
+ headerFooterKind: "header" | "footer";
8433
+ variant: "default" | "first" | "even";
8434
+ resolution?: "effective" | "explicit";
8435
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8436
+ }) | ({
8437
+ kind: "story";
8438
+ storyType: "headerFooterPart";
8439
+ refId: string;
8440
+ }) | ({
8441
+ kind: "story";
8442
+ storyType: "footnote";
8443
+ noteId: string;
8444
+ }) | ({
8445
+ kind: "story";
8446
+ storyType: "endnote";
8447
+ noteId: string;
8448
+ });
8217
8449
  };
8218
8450
  newName: string;
8219
8451
  }
@@ -8229,29 +8461,56 @@ export interface DocBookmarksRemoveParams {
8229
8461
  kind: "entity";
8230
8462
  entityType: "bookmark";
8231
8463
  name: string;
8232
- };
8233
- }
8234
- export interface DocFootnotesListParams {
8235
- doc?: string;
8236
- sessionId?: string;
8237
- type?: string;
8238
- limit?: number;
8239
- offset?: number;
8240
- }
8241
- export interface DocFootnotesGetParams {
8242
- doc?: string;
8243
- sessionId?: string;
8244
- target: {
8245
- kind: "entity";
8246
- entityType: "footnote";
8247
- noteId: string;
8248
- };
8249
- }
8250
- export interface DocFootnotesInsertParams {
8251
- doc?: string;
8252
- sessionId?: string;
8253
- out?: string;
8254
- force?: boolean;
8464
+ story?: ({
8465
+ kind: "story";
8466
+ storyType: "body";
8467
+ }) | ({
8468
+ kind: "story";
8469
+ storyType: "headerFooterSlot";
8470
+ section: {
8471
+ kind: "section";
8472
+ sectionId: string;
8473
+ };
8474
+ headerFooterKind: "header" | "footer";
8475
+ variant: "default" | "first" | "even";
8476
+ resolution?: "effective" | "explicit";
8477
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8478
+ }) | ({
8479
+ kind: "story";
8480
+ storyType: "headerFooterPart";
8481
+ refId: string;
8482
+ }) | ({
8483
+ kind: "story";
8484
+ storyType: "footnote";
8485
+ noteId: string;
8486
+ }) | ({
8487
+ kind: "story";
8488
+ storyType: "endnote";
8489
+ noteId: string;
8490
+ });
8491
+ };
8492
+ }
8493
+ export interface DocFootnotesListParams {
8494
+ doc?: string;
8495
+ sessionId?: string;
8496
+ type?: string;
8497
+ limit?: number;
8498
+ offset?: number;
8499
+ }
8500
+ export interface DocFootnotesGetParams {
8501
+ doc?: string;
8502
+ sessionId?: string;
8503
+ target: {
8504
+ kind: "entity";
8505
+ entityType: "footnote";
8506
+ noteId: string;
8507
+ };
8508
+ }
8509
+ export interface DocFootnotesInsertParams {
8510
+ doc?: string;
8511
+ sessionId?: string;
8512
+ out?: string;
8513
+ force?: boolean;
8255
8514
  expectedRevision?: number;
8256
8515
  changeMode?: string;
8257
8516
  dryRun?: boolean;
@@ -8264,6 +8523,33 @@ export interface DocFootnotesInsertParams {
8264
8523
  end: number;
8265
8524
  };
8266
8525
  }>;
8526
+ story?: ({
8527
+ kind: "story";
8528
+ storyType: "body";
8529
+ }) | ({
8530
+ kind: "story";
8531
+ storyType: "headerFooterSlot";
8532
+ section: {
8533
+ kind: "section";
8534
+ sectionId: string;
8535
+ };
8536
+ headerFooterKind: "header" | "footer";
8537
+ variant: "default" | "first" | "even";
8538
+ resolution?: "effective" | "explicit";
8539
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8540
+ }) | ({
8541
+ kind: "story";
8542
+ storyType: "headerFooterPart";
8543
+ refId: string;
8544
+ }) | ({
8545
+ kind: "story";
8546
+ storyType: "footnote";
8547
+ noteId: string;
8548
+ }) | ({
8549
+ kind: "story";
8550
+ storyType: "endnote";
8551
+ noteId: string;
8552
+ });
8267
8553
  };
8268
8554
  type: string;
8269
8555
  content: string;
@@ -8362,6 +8648,33 @@ export interface DocCrossRefsInsertParams {
8362
8648
  end: number;
8363
8649
  };
8364
8650
  }>;
8651
+ story?: ({
8652
+ kind: "story";
8653
+ storyType: "body";
8654
+ }) | ({
8655
+ kind: "story";
8656
+ storyType: "headerFooterSlot";
8657
+ section: {
8658
+ kind: "section";
8659
+ sectionId: string;
8660
+ };
8661
+ headerFooterKind: "header" | "footer";
8662
+ variant: "default" | "first" | "even";
8663
+ resolution?: "effective" | "explicit";
8664
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8665
+ }) | ({
8666
+ kind: "story";
8667
+ storyType: "headerFooterPart";
8668
+ refId: string;
8669
+ }) | ({
8670
+ kind: "story";
8671
+ storyType: "footnote";
8672
+ noteId: string;
8673
+ }) | ({
8674
+ kind: "story";
8675
+ storyType: "endnote";
8676
+ noteId: string;
8677
+ });
8365
8678
  };
8366
8679
  target: ({
8367
8680
  kind: "bookmark";
@@ -8588,6 +8901,33 @@ export interface DocIndexEntriesInsertParams {
8588
8901
  end: number;
8589
8902
  };
8590
8903
  }>;
8904
+ story?: ({
8905
+ kind: "story";
8906
+ storyType: "body";
8907
+ }) | ({
8908
+ kind: "story";
8909
+ storyType: "headerFooterSlot";
8910
+ section: {
8911
+ kind: "section";
8912
+ sectionId: string;
8913
+ };
8914
+ headerFooterKind: "header" | "footer";
8915
+ variant: "default" | "first" | "even";
8916
+ resolution?: "effective" | "explicit";
8917
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8918
+ }) | ({
8919
+ kind: "story";
8920
+ storyType: "headerFooterPart";
8921
+ refId: string;
8922
+ }) | ({
8923
+ kind: "story";
8924
+ storyType: "footnote";
8925
+ noteId: string;
8926
+ }) | ({
8927
+ kind: "story";
8928
+ storyType: "endnote";
8929
+ noteId: string;
8930
+ });
8591
8931
  };
8592
8932
  entry: {
8593
8933
  text: string;
@@ -8767,6 +9107,33 @@ export interface DocFieldsInsertParams {
8767
9107
  end: number;
8768
9108
  };
8769
9109
  }>;
9110
+ story?: ({
9111
+ kind: "story";
9112
+ storyType: "body";
9113
+ }) | ({
9114
+ kind: "story";
9115
+ storyType: "headerFooterSlot";
9116
+ section: {
9117
+ kind: "section";
9118
+ sectionId: string;
9119
+ };
9120
+ headerFooterKind: "header" | "footer";
9121
+ variant: "default" | "first" | "even";
9122
+ resolution?: "effective" | "explicit";
9123
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
9124
+ }) | ({
9125
+ kind: "story";
9126
+ storyType: "headerFooterPart";
9127
+ refId: string;
9128
+ }) | ({
9129
+ kind: "story";
9130
+ storyType: "footnote";
9131
+ noteId: string;
9132
+ }) | ({
9133
+ kind: "story";
9134
+ storyType: "endnote";
9135
+ noteId: string;
9136
+ });
8770
9137
  };
8771
9138
  instruction: string;
8772
9139
  }
@@ -8842,6 +9209,33 @@ export interface DocCitationsInsertParams {
8842
9209
  end: number;
8843
9210
  };
8844
9211
  }>;
9212
+ story?: ({
9213
+ kind: "story";
9214
+ storyType: "body";
9215
+ }) | ({
9216
+ kind: "story";
9217
+ storyType: "headerFooterSlot";
9218
+ section: {
9219
+ kind: "section";
9220
+ sectionId: string;
9221
+ };
9222
+ headerFooterKind: "header" | "footer";
9223
+ variant: "default" | "first" | "even";
9224
+ resolution?: "effective" | "explicit";
9225
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
9226
+ }) | ({
9227
+ kind: "story";
9228
+ storyType: "headerFooterPart";
9229
+ refId: string;
9230
+ }) | ({
9231
+ kind: "story";
9232
+ storyType: "footnote";
9233
+ noteId: string;
9234
+ }) | ({
9235
+ kind: "story";
9236
+ storyType: "endnote";
9237
+ noteId: string;
9238
+ });
8845
9239
  };
8846
9240
  sourceIds: string[];
8847
9241
  }
@@ -9234,6 +9628,33 @@ export interface DocAuthoritiesEntriesInsertParams {
9234
9628
  end: number;
9235
9629
  };
9236
9630
  }>;
9631
+ story?: ({
9632
+ kind: "story";
9633
+ storyType: "body";
9634
+ }) | ({
9635
+ kind: "story";
9636
+ storyType: "headerFooterSlot";
9637
+ section: {
9638
+ kind: "section";
9639
+ sectionId: string;
9640
+ };
9641
+ headerFooterKind: "header" | "footer";
9642
+ variant: "default" | "first" | "even";
9643
+ resolution?: "effective" | "explicit";
9644
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
9645
+ }) | ({
9646
+ kind: "story";
9647
+ storyType: "headerFooterPart";
9648
+ refId: string;
9649
+ }) | ({
9650
+ kind: "story";
9651
+ storyType: "footnote";
9652
+ noteId: string;
9653
+ }) | ({
9654
+ kind: "story";
9655
+ storyType: "endnote";
9656
+ noteId: string;
9657
+ });
9237
9658
  };
9238
9659
  entry: {
9239
9660
  longCitation: string;
@@ -9463,6 +9884,64 @@ export interface DocPermissionRangesUpdatePrincipalParams {
9463
9884
  id?: string;
9464
9885
  };
9465
9886
  }
9887
+ export interface DocCustomXmlPartsListParams {
9888
+ doc?: string;
9889
+ sessionId?: string;
9890
+ limit?: number;
9891
+ offset?: number;
9892
+ rootNamespace?: string;
9893
+ schemaRef?: string;
9894
+ }
9895
+ export interface DocCustomXmlPartsGetParams {
9896
+ doc?: string;
9897
+ sessionId?: string;
9898
+ target: ({
9899
+ id: string;
9900
+ }) | ({
9901
+ partName: string;
9902
+ });
9903
+ }
9904
+ export interface DocCustomXmlPartsCreateParams {
9905
+ doc?: string;
9906
+ sessionId?: string;
9907
+ out?: string;
9908
+ force?: boolean;
9909
+ expectedRevision?: number;
9910
+ changeMode?: string;
9911
+ dryRun?: boolean;
9912
+ content: string;
9913
+ schemaRefs?: string[];
9914
+ }
9915
+ export interface DocCustomXmlPartsPatchParams {
9916
+ doc?: string;
9917
+ sessionId?: string;
9918
+ out?: string;
9919
+ force?: boolean;
9920
+ expectedRevision?: number;
9921
+ changeMode?: string;
9922
+ dryRun?: boolean;
9923
+ target: ({
9924
+ id: string;
9925
+ }) | ({
9926
+ partName: string;
9927
+ });
9928
+ content?: string;
9929
+ schemaRefs?: string[];
9930
+ }
9931
+ export interface DocCustomXmlPartsRemoveParams {
9932
+ doc?: string;
9933
+ sessionId?: string;
9934
+ out?: string;
9935
+ force?: boolean;
9936
+ expectedRevision?: number;
9937
+ changeMode?: string;
9938
+ dryRun?: boolean;
9939
+ target: ({
9940
+ id: string;
9941
+ }) | ({
9942
+ partName: string;
9943
+ });
9944
+ }
9466
9945
  export interface DocOpenParams {
9467
9946
  doc?: string;
9468
9947
  sessionId?: string;
@@ -9693,6 +10172,13 @@ export type DocExtractResult = {
9693
10172
  nodeId: string;
9694
10173
  type: string;
9695
10174
  text: string;
10175
+ textSpans?: Array<{
10176
+ text: string;
10177
+ trackedChanges?: Array<{
10178
+ entityId: string;
10179
+ type: "insert" | "delete" | "format";
10180
+ }>;
10181
+ }>;
9696
10182
  headingLevel?: number;
9697
10183
  tableContext?: {
9698
10184
  tableOrdinal: number;
@@ -9716,6 +10202,12 @@ export type DocExtractResult = {
9716
10202
  trackedChanges: Array<{
9717
10203
  entityId: string;
9718
10204
  type: "insert" | "delete" | "format";
10205
+ blockIds?: Array<string>;
10206
+ wordRevisionIds?: {
10207
+ insert?: string;
10208
+ delete?: string;
10209
+ format?: string;
10210
+ };
9719
10211
  excerpt?: string;
9720
10212
  author?: string;
9721
10213
  date?: string;
@@ -18577,6 +19069,10 @@ export type DocListsDetachResult = {
18577
19069
  nodeId: string;
18578
19070
  };
18579
19071
  };
19072
+ export type DocListsDeleteResult = {
19073
+ success: true;
19074
+ deletedCount: number;
19075
+ };
18580
19076
  export type DocListsIndentResult = {
18581
19077
  success: true;
18582
19078
  item: {
@@ -18607,6 +19103,18 @@ export type DocListsSeparateResult = {
18607
19103
  listId: string;
18608
19104
  numId: number;
18609
19105
  };
19106
+ export type DocListsMergeResult = {
19107
+ success: true;
19108
+ listId: string;
19109
+ absorbedCount: number;
19110
+ removedEmptyBlocks: number;
19111
+ };
19112
+ export type DocListsSplitResult = {
19113
+ success: true;
19114
+ listId: string;
19115
+ numId: number;
19116
+ restartedAt: unknown;
19117
+ };
18610
19118
  export type DocListsSetLevelResult = {
18611
19119
  success: true;
18612
19120
  item: {
@@ -19185,6 +19693,33 @@ export type DocCommentsGetResult = {
19185
19693
  end: number;
19186
19694
  };
19187
19695
  }>;
19696
+ story?: ({
19697
+ kind: "story";
19698
+ storyType: "body";
19699
+ }) | ({
19700
+ kind: "story";
19701
+ storyType: "headerFooterSlot";
19702
+ section: {
19703
+ kind: "section";
19704
+ sectionId: string;
19705
+ };
19706
+ headerFooterKind: "header" | "footer";
19707
+ variant: "default" | "first" | "even";
19708
+ resolution?: "effective" | "explicit";
19709
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
19710
+ }) | ({
19711
+ kind: "story";
19712
+ storyType: "headerFooterPart";
19713
+ refId: string;
19714
+ }) | ({
19715
+ kind: "story";
19716
+ storyType: "footnote";
19717
+ noteId: string;
19718
+ }) | ({
19719
+ kind: "story";
19720
+ storyType: "endnote";
19721
+ noteId: string;
19722
+ });
19188
19723
  };
19189
19724
  anchoredText?: string;
19190
19725
  createdTime?: number;
@@ -19220,6 +19755,33 @@ export type DocCommentsListResult = {
19220
19755
  end: number;
19221
19756
  };
19222
19757
  }>;
19758
+ story?: ({
19759
+ kind: "story";
19760
+ storyType: "body";
19761
+ }) | ({
19762
+ kind: "story";
19763
+ storyType: "headerFooterSlot";
19764
+ section: {
19765
+ kind: "section";
19766
+ sectionId: string;
19767
+ };
19768
+ headerFooterKind: "header" | "footer";
19769
+ variant: "default" | "first" | "even";
19770
+ resolution?: "effective" | "explicit";
19771
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
19772
+ }) | ({
19773
+ kind: "story";
19774
+ storyType: "headerFooterPart";
19775
+ refId: string;
19776
+ }) | ({
19777
+ kind: "story";
19778
+ storyType: "footnote";
19779
+ noteId: string;
19780
+ }) | ({
19781
+ kind: "story";
19782
+ storyType: "endnote";
19783
+ noteId: string;
19784
+ });
19223
19785
  };
19224
19786
  anchoredText?: string;
19225
19787
  createdTime?: number;
@@ -19665,6 +20227,50 @@ export type DocRangesResolveResult = {
19665
20227
  }>;
19666
20228
  };
19667
20229
  };
20230
+ export type DocSelectionCurrentResult = {
20231
+ empty: boolean;
20232
+ target: ({
20233
+ kind: "text";
20234
+ segments: Array<{
20235
+ blockId: string;
20236
+ range: {
20237
+ start: number;
20238
+ end: number;
20239
+ };
20240
+ }>;
20241
+ story?: ({
20242
+ kind: "story";
20243
+ storyType: "body";
20244
+ }) | ({
20245
+ kind: "story";
20246
+ storyType: "headerFooterSlot";
20247
+ section: {
20248
+ kind: "section";
20249
+ sectionId: string;
20250
+ };
20251
+ headerFooterKind: "header" | "footer";
20252
+ variant: "default" | "first" | "even";
20253
+ resolution?: "effective" | "explicit";
20254
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
20255
+ }) | ({
20256
+ kind: "story";
20257
+ storyType: "headerFooterPart";
20258
+ refId: string;
20259
+ }) | ({
20260
+ kind: "story";
20261
+ storyType: "footnote";
20262
+ noteId: string;
20263
+ }) | ({
20264
+ kind: "story";
20265
+ storyType: "endnote";
20266
+ noteId: string;
20267
+ });
20268
+ }) | null;
20269
+ activeMarks: Array<string>;
20270
+ activeCommentIds: Array<string>;
20271
+ activeChangeIds: Array<string>;
20272
+ text?: string;
20273
+ };
19668
20274
  export type DocMutationsPreviewResult = {
19669
20275
  evaluatedRevision: string;
19670
20276
  steps: Array<Record<string, unknown>>;
@@ -20628,6 +21234,12 @@ export type DocCapabilitiesGetResult = {
20628
21234
  dryRun: boolean;
20629
21235
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
20630
21236
  };
21237
+ "lists.delete": {
21238
+ available: boolean;
21239
+ tracked: boolean;
21240
+ dryRun: boolean;
21241
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21242
+ };
20631
21243
  "lists.indent": {
20632
21244
  available: boolean;
20633
21245
  tracked: boolean;
@@ -20658,6 +21270,18 @@ export type DocCapabilitiesGetResult = {
20658
21270
  dryRun: boolean;
20659
21271
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
20660
21272
  };
21273
+ "lists.merge": {
21274
+ available: boolean;
21275
+ tracked: boolean;
21276
+ dryRun: boolean;
21277
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21278
+ };
21279
+ "lists.split": {
21280
+ available: boolean;
21281
+ tracked: boolean;
21282
+ dryRun: boolean;
21283
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21284
+ };
20661
21285
  "lists.setLevel": {
20662
21286
  available: boolean;
20663
21287
  tracked: boolean;
@@ -20868,6 +21492,12 @@ export type DocCapabilitiesGetResult = {
20868
21492
  dryRun: boolean;
20869
21493
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
20870
21494
  };
21495
+ "selection.current": {
21496
+ available: boolean;
21497
+ tracked: boolean;
21498
+ dryRun: boolean;
21499
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21500
+ };
20871
21501
  "mutations.preview": {
20872
21502
  available: boolean;
20873
21503
  tracked: boolean;
@@ -21024,6 +21654,12 @@ export type DocCapabilitiesGetResult = {
21024
21654
  dryRun: boolean;
21025
21655
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21026
21656
  };
21657
+ "tables.setCellText": {
21658
+ available: boolean;
21659
+ tracked: boolean;
21660
+ dryRun: boolean;
21661
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21662
+ };
21027
21663
  "tables.sort": {
21028
21664
  available: boolean;
21029
21665
  tracked: boolean;
@@ -21126,6 +21762,12 @@ export type DocCapabilitiesGetResult = {
21126
21762
  dryRun: boolean;
21127
21763
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21128
21764
  };
21765
+ "tables.applyPreset": {
21766
+ available: boolean;
21767
+ tracked: boolean;
21768
+ dryRun: boolean;
21769
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21770
+ };
21129
21771
  "tables.get": {
21130
21772
  available: boolean;
21131
21773
  tracked: boolean;
@@ -22284,6 +22926,36 @@ export type DocCapabilitiesGetResult = {
22284
22926
  dryRun: boolean;
22285
22927
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
22286
22928
  };
22929
+ "customXml.parts.list": {
22930
+ available: boolean;
22931
+ tracked: boolean;
22932
+ dryRun: boolean;
22933
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
22934
+ };
22935
+ "customXml.parts.get": {
22936
+ available: boolean;
22937
+ tracked: boolean;
22938
+ dryRun: boolean;
22939
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
22940
+ };
22941
+ "customXml.parts.create": {
22942
+ available: boolean;
22943
+ tracked: boolean;
22944
+ dryRun: boolean;
22945
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
22946
+ };
22947
+ "customXml.parts.patch": {
22948
+ available: boolean;
22949
+ tracked: boolean;
22950
+ dryRun: boolean;
22951
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
22952
+ };
22953
+ "customXml.parts.remove": {
22954
+ available: boolean;
22955
+ tracked: boolean;
22956
+ dryRun: boolean;
22957
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
22958
+ };
22287
22959
  };
22288
22960
  planEngine: {
22289
22961
  supportedStepOps: Array<string>;
@@ -23306,6 +23978,50 @@ export type DocTablesSetCellPropertiesResult = {
23306
23978
  });
23307
23979
  })>;
23308
23980
  };
23981
+ export type DocTablesSetCellTextResult = {
23982
+ success: true;
23983
+ table?: {
23984
+ kind: "block";
23985
+ nodeType: "table";
23986
+ nodeId: string;
23987
+ };
23988
+ trackedChangeRefs?: Array<({
23989
+ kind: "entity";
23990
+ entityType: "comment";
23991
+ entityId: string;
23992
+ }) | ({
23993
+ kind: "entity";
23994
+ entityType: "trackedChange";
23995
+ entityId: string;
23996
+ story?: ({
23997
+ kind: "story";
23998
+ storyType: "body";
23999
+ }) | ({
24000
+ kind: "story";
24001
+ storyType: "headerFooterSlot";
24002
+ section: {
24003
+ kind: "section";
24004
+ sectionId: string;
24005
+ };
24006
+ headerFooterKind: "header" | "footer";
24007
+ variant: "default" | "first" | "even";
24008
+ resolution?: "effective" | "explicit";
24009
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
24010
+ }) | ({
24011
+ kind: "story";
24012
+ storyType: "headerFooterPart";
24013
+ refId: string;
24014
+ }) | ({
24015
+ kind: "story";
24016
+ storyType: "footnote";
24017
+ noteId: string;
24018
+ }) | ({
24019
+ kind: "story";
24020
+ storyType: "endnote";
24021
+ noteId: string;
24022
+ });
24023
+ })>;
24024
+ };
23309
24025
  export type DocTablesSortResult = {
23310
24026
  success: true;
23311
24027
  table?: {
@@ -24054,6 +24770,50 @@ export type DocTablesSetTableOptionsResult = {
24054
24770
  });
24055
24771
  })>;
24056
24772
  };
24773
+ export type DocTablesApplyPresetResult = {
24774
+ success: true;
24775
+ table?: {
24776
+ kind: "block";
24777
+ nodeType: "table";
24778
+ nodeId: string;
24779
+ };
24780
+ trackedChangeRefs?: Array<({
24781
+ kind: "entity";
24782
+ entityType: "comment";
24783
+ entityId: string;
24784
+ }) | ({
24785
+ kind: "entity";
24786
+ entityType: "trackedChange";
24787
+ entityId: string;
24788
+ story?: ({
24789
+ kind: "story";
24790
+ storyType: "body";
24791
+ }) | ({
24792
+ kind: "story";
24793
+ storyType: "headerFooterSlot";
24794
+ section: {
24795
+ kind: "section";
24796
+ sectionId: string;
24797
+ };
24798
+ headerFooterKind: "header" | "footer";
24799
+ variant: "default" | "first" | "even";
24800
+ resolution?: "effective" | "explicit";
24801
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
24802
+ }) | ({
24803
+ kind: "story";
24804
+ storyType: "headerFooterPart";
24805
+ refId: string;
24806
+ }) | ({
24807
+ kind: "story";
24808
+ storyType: "footnote";
24809
+ noteId: string;
24810
+ }) | ({
24811
+ kind: "story";
24812
+ storyType: "endnote";
24813
+ noteId: string;
24814
+ });
24815
+ })>;
24816
+ };
24057
24817
  export type DocTablesGetResult = {
24058
24818
  nodeId: string;
24059
24819
  address: {
@@ -25255,6 +26015,33 @@ export type DocBookmarksInsertResult = {
25255
26015
  kind: "entity";
25256
26016
  entityType: "bookmark";
25257
26017
  name: string;
26018
+ story?: ({
26019
+ kind: "story";
26020
+ storyType: "body";
26021
+ }) | ({
26022
+ kind: "story";
26023
+ storyType: "headerFooterSlot";
26024
+ section: {
26025
+ kind: "section";
26026
+ sectionId: string;
26027
+ };
26028
+ headerFooterKind: "header" | "footer";
26029
+ variant: "default" | "first" | "even";
26030
+ resolution?: "effective" | "explicit";
26031
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
26032
+ }) | ({
26033
+ kind: "story";
26034
+ storyType: "headerFooterPart";
26035
+ refId: string;
26036
+ }) | ({
26037
+ kind: "story";
26038
+ storyType: "footnote";
26039
+ noteId: string;
26040
+ }) | ({
26041
+ kind: "story";
26042
+ storyType: "endnote";
26043
+ noteId: string;
26044
+ });
25258
26045
  };
25259
26046
  };
25260
26047
  export type DocBookmarksRenameResult = {
@@ -25263,6 +26050,33 @@ export type DocBookmarksRenameResult = {
25263
26050
  kind: "entity";
25264
26051
  entityType: "bookmark";
25265
26052
  name: string;
26053
+ story?: ({
26054
+ kind: "story";
26055
+ storyType: "body";
26056
+ }) | ({
26057
+ kind: "story";
26058
+ storyType: "headerFooterSlot";
26059
+ section: {
26060
+ kind: "section";
26061
+ sectionId: string;
26062
+ };
26063
+ headerFooterKind: "header" | "footer";
26064
+ variant: "default" | "first" | "even";
26065
+ resolution?: "effective" | "explicit";
26066
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
26067
+ }) | ({
26068
+ kind: "story";
26069
+ storyType: "headerFooterPart";
26070
+ refId: string;
26071
+ }) | ({
26072
+ kind: "story";
26073
+ storyType: "footnote";
26074
+ noteId: string;
26075
+ }) | ({
26076
+ kind: "story";
26077
+ storyType: "endnote";
26078
+ noteId: string;
26079
+ });
25266
26080
  };
25267
26081
  };
25268
26082
  export type DocBookmarksRemoveResult = {
@@ -25271,6 +26085,33 @@ export type DocBookmarksRemoveResult = {
25271
26085
  kind: "entity";
25272
26086
  entityType: "bookmark";
25273
26087
  name: string;
26088
+ story?: ({
26089
+ kind: "story";
26090
+ storyType: "body";
26091
+ }) | ({
26092
+ kind: "story";
26093
+ storyType: "headerFooterSlot";
26094
+ section: {
26095
+ kind: "section";
26096
+ sectionId: string;
26097
+ };
26098
+ headerFooterKind: "header" | "footer";
26099
+ variant: "default" | "first" | "even";
26100
+ resolution?: "effective" | "explicit";
26101
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
26102
+ }) | ({
26103
+ kind: "story";
26104
+ storyType: "headerFooterPart";
26105
+ refId: string;
26106
+ }) | ({
26107
+ kind: "story";
26108
+ storyType: "footnote";
26109
+ noteId: string;
26110
+ }) | ({
26111
+ kind: "story";
26112
+ storyType: "endnote";
26113
+ noteId: string;
26114
+ });
25274
26115
  };
25275
26116
  };
25276
26117
  export type DocFootnotesListResult = Record<string, unknown>;
@@ -25804,6 +26645,32 @@ export type DocPermissionRangesGetResult = Record<string, unknown>;
25804
26645
  export type DocPermissionRangesCreateResult = Record<string, unknown>;
25805
26646
  export type DocPermissionRangesRemoveResult = Record<string, unknown>;
25806
26647
  export type DocPermissionRangesUpdatePrincipalResult = Record<string, unknown>;
26648
+ export type DocCustomXmlPartsListResult = Record<string, unknown>;
26649
+ export type DocCustomXmlPartsGetResult = Record<string, unknown> | null;
26650
+ export type DocCustomXmlPartsCreateResult = {
26651
+ success: true;
26652
+ id: string;
26653
+ partName: string;
26654
+ propsPartName: string;
26655
+ };
26656
+ export type DocCustomXmlPartsPatchResult = {
26657
+ success: true;
26658
+ target: ({
26659
+ id: string;
26660
+ }) | ({
26661
+ partName: string;
26662
+ });
26663
+ id?: string;
26664
+ };
26665
+ export type DocCustomXmlPartsRemoveResult = {
26666
+ success: true;
26667
+ target: ({
26668
+ id: string;
26669
+ }) | ({
26670
+ partName: string;
26671
+ });
26672
+ id?: string;
26673
+ };
25807
26674
  export type DocOpenResult = {
25808
26675
  active: boolean;
25809
26676
  contextId: string;
@@ -29666,6 +30533,18 @@ export interface DocListsDetachBoundParams {
29666
30533
  input?: Record<string, unknown> | unknown[];
29667
30534
  nodeId?: string;
29668
30535
  }
30536
+ export interface DocListsDeleteBoundParams {
30537
+ out?: string;
30538
+ force?: boolean;
30539
+ expectedRevision?: number;
30540
+ changeMode?: string;
30541
+ dryRun?: boolean;
30542
+ target: {
30543
+ kind: "block";
30544
+ nodeType: "listItem";
30545
+ nodeId: string;
30546
+ };
30547
+ }
29669
30548
  export interface DocListsIndentBoundParams {
29670
30549
  out?: string;
29671
30550
  force?: boolean;
@@ -29732,6 +30611,32 @@ export interface DocListsSeparateBoundParams {
29732
30611
  input?: Record<string, unknown> | unknown[];
29733
30612
  nodeId?: string;
29734
30613
  }
30614
+ export interface DocListsMergeBoundParams {
30615
+ out?: string;
30616
+ force?: boolean;
30617
+ expectedRevision?: number;
30618
+ changeMode?: string;
30619
+ dryRun?: boolean;
30620
+ target: {
30621
+ kind: "block";
30622
+ nodeType: "listItem";
30623
+ nodeId: string;
30624
+ };
30625
+ direction: string;
30626
+ }
30627
+ export interface DocListsSplitBoundParams {
30628
+ out?: string;
30629
+ force?: boolean;
30630
+ expectedRevision?: number;
30631
+ changeMode?: string;
30632
+ dryRun?: boolean;
30633
+ target: {
30634
+ kind: "block";
30635
+ nodeType: "listItem";
30636
+ nodeId: string;
30637
+ };
30638
+ restartNumbering?: boolean;
30639
+ }
29735
30640
  export interface DocListsSetLevelBoundParams {
29736
30641
  out?: string;
29737
30642
  force?: boolean;
@@ -30130,14 +31035,50 @@ export interface DocCommentsCreateBoundParams {
30130
31035
  expectedRevision?: number;
30131
31036
  changeMode?: string;
30132
31037
  text?: string;
30133
- target?: {
31038
+ target?: ({
30134
31039
  kind: "text";
30135
31040
  blockId: string;
30136
31041
  range: {
30137
31042
  start: number;
30138
31043
  end: number;
30139
31044
  };
30140
- };
31045
+ }) | ({
31046
+ kind: "text";
31047
+ segments: Array<{
31048
+ blockId: string;
31049
+ range: {
31050
+ start: number;
31051
+ end: number;
31052
+ };
31053
+ }>;
31054
+ story?: ({
31055
+ kind: "story";
31056
+ storyType: "body";
31057
+ }) | ({
31058
+ kind: "story";
31059
+ storyType: "headerFooterSlot";
31060
+ section: {
31061
+ kind: "section";
31062
+ sectionId: string;
31063
+ };
31064
+ headerFooterKind: "header" | "footer";
31065
+ variant: "default" | "first" | "even";
31066
+ resolution?: "effective" | "explicit";
31067
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
31068
+ }) | ({
31069
+ kind: "story";
31070
+ storyType: "headerFooterPart";
31071
+ refId: string;
31072
+ }) | ({
31073
+ kind: "story";
31074
+ storyType: "footnote";
31075
+ noteId: string;
31076
+ }) | ({
31077
+ kind: "story";
31078
+ storyType: "endnote";
31079
+ noteId: string;
31080
+ });
31081
+ });
30141
31082
  parentId?: string;
30142
31083
  blockId?: string;
30143
31084
  start?: number;
@@ -30378,6 +31319,9 @@ export interface DocRangesResolveBoundParams {
30378
31319
  });
30379
31320
  expectedRevision?: string;
30380
31321
  }
31322
+ export interface DocSelectionCurrentBoundParams {
31323
+ includeText?: boolean;
31324
+ }
30381
31325
  export interface DocMutationsPreviewBoundParams {
30382
31326
  in?: ({
30383
31327
  kind: "story";
@@ -31459,7 +32403,7 @@ export interface DocTablesInsertRowBoundParams {
31459
32403
  nodeType: "table";
31460
32404
  nodeId: string;
31461
32405
  });
31462
- position: string;
32406
+ position?: string;
31463
32407
  count?: number;
31464
32408
  rowIndex?: number;
31465
32409
  nodeId?: string;
@@ -31547,7 +32491,7 @@ export interface DocTablesInsertColumnBoundParams {
31547
32491
  nodeId: string;
31548
32492
  };
31549
32493
  nodeId?: string;
31550
- columnIndex: number;
32494
+ columnIndex?: number;
31551
32495
  position: string;
31552
32496
  count?: number;
31553
32497
  }
@@ -31697,6 +32641,26 @@ export interface DocTablesSetCellPropertiesBoundParams {
31697
32641
  wrapText?: boolean;
31698
32642
  fitText?: boolean;
31699
32643
  }
32644
+ export interface DocTablesSetCellTextBoundParams {
32645
+ out?: string;
32646
+ force?: boolean;
32647
+ expectedRevision?: number;
32648
+ changeMode?: string;
32649
+ dryRun?: boolean;
32650
+ target?: ({
32651
+ kind: "block";
32652
+ nodeType: "tableCell";
32653
+ nodeId: string;
32654
+ }) | ({
32655
+ kind: "block";
32656
+ nodeType: "table";
32657
+ nodeId: string;
32658
+ });
32659
+ text: string;
32660
+ nodeId?: string;
32661
+ rowIndex?: number;
32662
+ columnIndex?: number;
32663
+ }
31700
32664
  export interface DocTablesSortBoundParams {
31701
32665
  out?: string;
31702
32666
  force?: boolean;
@@ -31829,7 +32793,7 @@ export interface DocTablesSetShadingBoundParams {
31829
32793
  nodeId: string;
31830
32794
  };
31831
32795
  nodeId?: string;
31832
- color: string;
32796
+ color: string | unknown;
31833
32797
  }
31834
32798
  export interface DocTablesClearShadingBoundParams {
31835
32799
  out?: string;
@@ -32000,6 +32964,21 @@ export interface DocTablesSetTableOptionsBoundParams {
32000
32964
  };
32001
32965
  cellSpacingPt?: number | unknown;
32002
32966
  }
32967
+ export interface DocTablesApplyPresetBoundParams {
32968
+ out?: string;
32969
+ force?: boolean;
32970
+ expectedRevision?: number;
32971
+ changeMode?: string;
32972
+ dryRun?: boolean;
32973
+ target?: {
32974
+ kind: "block";
32975
+ nodeType: "table";
32976
+ nodeId: string;
32977
+ };
32978
+ nodeId?: string;
32979
+ preset: string;
32980
+ accentColor?: string;
32981
+ }
32003
32982
  export interface DocTablesGetBoundParams {
32004
32983
  target?: {
32005
32984
  kind: "block";
@@ -33510,12 +34489,66 @@ export interface DocContentControlsGroupUngroupBoundParams {
33510
34489
  export interface DocBookmarksListBoundParams {
33511
34490
  limit?: number;
33512
34491
  offset?: number;
34492
+ in?: ({
34493
+ kind: "story";
34494
+ storyType: "body";
34495
+ }) | ({
34496
+ kind: "story";
34497
+ storyType: "headerFooterSlot";
34498
+ section: {
34499
+ kind: "section";
34500
+ sectionId: string;
34501
+ };
34502
+ headerFooterKind: "header" | "footer";
34503
+ variant: "default" | "first" | "even";
34504
+ resolution?: "effective" | "explicit";
34505
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34506
+ }) | ({
34507
+ kind: "story";
34508
+ storyType: "headerFooterPart";
34509
+ refId: string;
34510
+ }) | ({
34511
+ kind: "story";
34512
+ storyType: "footnote";
34513
+ noteId: string;
34514
+ }) | ({
34515
+ kind: "story";
34516
+ storyType: "endnote";
34517
+ noteId: string;
34518
+ });
33513
34519
  }
33514
34520
  export interface DocBookmarksGetBoundParams {
33515
34521
  target: {
33516
34522
  kind: "entity";
33517
34523
  entityType: "bookmark";
33518
34524
  name: string;
34525
+ story?: ({
34526
+ kind: "story";
34527
+ storyType: "body";
34528
+ }) | ({
34529
+ kind: "story";
34530
+ storyType: "headerFooterSlot";
34531
+ section: {
34532
+ kind: "section";
34533
+ sectionId: string;
34534
+ };
34535
+ headerFooterKind: "header" | "footer";
34536
+ variant: "default" | "first" | "even";
34537
+ resolution?: "effective" | "explicit";
34538
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34539
+ }) | ({
34540
+ kind: "story";
34541
+ storyType: "headerFooterPart";
34542
+ refId: string;
34543
+ }) | ({
34544
+ kind: "story";
34545
+ storyType: "footnote";
34546
+ noteId: string;
34547
+ }) | ({
34548
+ kind: "story";
34549
+ storyType: "endnote";
34550
+ noteId: string;
34551
+ });
33519
34552
  };
33520
34553
  }
33521
34554
  export interface DocBookmarksInsertBoundParams {
@@ -33534,6 +34567,33 @@ export interface DocBookmarksInsertBoundParams {
33534
34567
  end: number;
33535
34568
  };
33536
34569
  }>;
34570
+ story?: ({
34571
+ kind: "story";
34572
+ storyType: "body";
34573
+ }) | ({
34574
+ kind: "story";
34575
+ storyType: "headerFooterSlot";
34576
+ section: {
34577
+ kind: "section";
34578
+ sectionId: string;
34579
+ };
34580
+ headerFooterKind: "header" | "footer";
34581
+ variant: "default" | "first" | "even";
34582
+ resolution?: "effective" | "explicit";
34583
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34584
+ }) | ({
34585
+ kind: "story";
34586
+ storyType: "headerFooterPart";
34587
+ refId: string;
34588
+ }) | ({
34589
+ kind: "story";
34590
+ storyType: "footnote";
34591
+ noteId: string;
34592
+ }) | ({
34593
+ kind: "story";
34594
+ storyType: "endnote";
34595
+ noteId: string;
34596
+ });
33537
34597
  };
33538
34598
  tableColumn?: {
33539
34599
  colFirst: number;
@@ -33550,6 +34610,33 @@ export interface DocBookmarksRenameBoundParams {
33550
34610
  kind: "entity";
33551
34611
  entityType: "bookmark";
33552
34612
  name: string;
34613
+ story?: ({
34614
+ kind: "story";
34615
+ storyType: "body";
34616
+ }) | ({
34617
+ kind: "story";
34618
+ storyType: "headerFooterSlot";
34619
+ section: {
34620
+ kind: "section";
34621
+ sectionId: string;
34622
+ };
34623
+ headerFooterKind: "header" | "footer";
34624
+ variant: "default" | "first" | "even";
34625
+ resolution?: "effective" | "explicit";
34626
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34627
+ }) | ({
34628
+ kind: "story";
34629
+ storyType: "headerFooterPart";
34630
+ refId: string;
34631
+ }) | ({
34632
+ kind: "story";
34633
+ storyType: "footnote";
34634
+ noteId: string;
34635
+ }) | ({
34636
+ kind: "story";
34637
+ storyType: "endnote";
34638
+ noteId: string;
34639
+ });
33553
34640
  };
33554
34641
  newName: string;
33555
34642
  }
@@ -33563,6 +34650,33 @@ export interface DocBookmarksRemoveBoundParams {
33563
34650
  kind: "entity";
33564
34651
  entityType: "bookmark";
33565
34652
  name: string;
34653
+ story?: ({
34654
+ kind: "story";
34655
+ storyType: "body";
34656
+ }) | ({
34657
+ kind: "story";
34658
+ storyType: "headerFooterSlot";
34659
+ section: {
34660
+ kind: "section";
34661
+ sectionId: string;
34662
+ };
34663
+ headerFooterKind: "header" | "footer";
34664
+ variant: "default" | "first" | "even";
34665
+ resolution?: "effective" | "explicit";
34666
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34667
+ }) | ({
34668
+ kind: "story";
34669
+ storyType: "headerFooterPart";
34670
+ refId: string;
34671
+ }) | ({
34672
+ kind: "story";
34673
+ storyType: "footnote";
34674
+ noteId: string;
34675
+ }) | ({
34676
+ kind: "story";
34677
+ storyType: "endnote";
34678
+ noteId: string;
34679
+ });
33566
34680
  };
33567
34681
  }
33568
34682
  export interface DocFootnotesListBoundParams {
@@ -33592,6 +34706,33 @@ export interface DocFootnotesInsertBoundParams {
33592
34706
  end: number;
33593
34707
  };
33594
34708
  }>;
34709
+ story?: ({
34710
+ kind: "story";
34711
+ storyType: "body";
34712
+ }) | ({
34713
+ kind: "story";
34714
+ storyType: "headerFooterSlot";
34715
+ section: {
34716
+ kind: "section";
34717
+ sectionId: string;
34718
+ };
34719
+ headerFooterKind: "header" | "footer";
34720
+ variant: "default" | "first" | "even";
34721
+ resolution?: "effective" | "explicit";
34722
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34723
+ }) | ({
34724
+ kind: "story";
34725
+ storyType: "headerFooterPart";
34726
+ refId: string;
34727
+ }) | ({
34728
+ kind: "story";
34729
+ storyType: "footnote";
34730
+ noteId: string;
34731
+ }) | ({
34732
+ kind: "story";
34733
+ storyType: "endnote";
34734
+ noteId: string;
34735
+ });
33595
34736
  };
33596
34737
  type: string;
33597
34738
  content: string;
@@ -33678,6 +34819,33 @@ export interface DocCrossRefsInsertBoundParams {
33678
34819
  end: number;
33679
34820
  };
33680
34821
  }>;
34822
+ story?: ({
34823
+ kind: "story";
34824
+ storyType: "body";
34825
+ }) | ({
34826
+ kind: "story";
34827
+ storyType: "headerFooterSlot";
34828
+ section: {
34829
+ kind: "section";
34830
+ sectionId: string;
34831
+ };
34832
+ headerFooterKind: "header" | "footer";
34833
+ variant: "default" | "first" | "even";
34834
+ resolution?: "effective" | "explicit";
34835
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34836
+ }) | ({
34837
+ kind: "story";
34838
+ storyType: "headerFooterPart";
34839
+ refId: string;
34840
+ }) | ({
34841
+ kind: "story";
34842
+ storyType: "footnote";
34843
+ noteId: string;
34844
+ }) | ({
34845
+ kind: "story";
34846
+ storyType: "endnote";
34847
+ noteId: string;
34848
+ });
33681
34849
  };
33682
34850
  target: ({
33683
34851
  kind: "bookmark";
@@ -33882,6 +35050,33 @@ export interface DocIndexEntriesInsertBoundParams {
33882
35050
  end: number;
33883
35051
  };
33884
35052
  }>;
35053
+ story?: ({
35054
+ kind: "story";
35055
+ storyType: "body";
35056
+ }) | ({
35057
+ kind: "story";
35058
+ storyType: "headerFooterSlot";
35059
+ section: {
35060
+ kind: "section";
35061
+ sectionId: string;
35062
+ };
35063
+ headerFooterKind: "header" | "footer";
35064
+ variant: "default" | "first" | "even";
35065
+ resolution?: "effective" | "explicit";
35066
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35067
+ }) | ({
35068
+ kind: "story";
35069
+ storyType: "headerFooterPart";
35070
+ refId: string;
35071
+ }) | ({
35072
+ kind: "story";
35073
+ storyType: "footnote";
35074
+ noteId: string;
35075
+ }) | ({
35076
+ kind: "story";
35077
+ storyType: "endnote";
35078
+ noteId: string;
35079
+ });
33885
35080
  };
33886
35081
  entry: {
33887
35082
  text: string;
@@ -34039,6 +35234,33 @@ export interface DocFieldsInsertBoundParams {
34039
35234
  end: number;
34040
35235
  };
34041
35236
  }>;
35237
+ story?: ({
35238
+ kind: "story";
35239
+ storyType: "body";
35240
+ }) | ({
35241
+ kind: "story";
35242
+ storyType: "headerFooterSlot";
35243
+ section: {
35244
+ kind: "section";
35245
+ sectionId: string;
35246
+ };
35247
+ headerFooterKind: "header" | "footer";
35248
+ variant: "default" | "first" | "even";
35249
+ resolution?: "effective" | "explicit";
35250
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35251
+ }) | ({
35252
+ kind: "story";
35253
+ storyType: "headerFooterPart";
35254
+ refId: string;
35255
+ }) | ({
35256
+ kind: "story";
35257
+ storyType: "footnote";
35258
+ noteId: string;
35259
+ }) | ({
35260
+ kind: "story";
35261
+ storyType: "endnote";
35262
+ noteId: string;
35263
+ });
34042
35264
  };
34043
35265
  instruction: string;
34044
35266
  }
@@ -34104,6 +35326,33 @@ export interface DocCitationsInsertBoundParams {
34104
35326
  end: number;
34105
35327
  };
34106
35328
  }>;
35329
+ story?: ({
35330
+ kind: "story";
35331
+ storyType: "body";
35332
+ }) | ({
35333
+ kind: "story";
35334
+ storyType: "headerFooterSlot";
35335
+ section: {
35336
+ kind: "section";
35337
+ sectionId: string;
35338
+ };
35339
+ headerFooterKind: "header" | "footer";
35340
+ variant: "default" | "first" | "even";
35341
+ resolution?: "effective" | "explicit";
35342
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35343
+ }) | ({
35344
+ kind: "story";
35345
+ storyType: "headerFooterPart";
35346
+ refId: string;
35347
+ }) | ({
35348
+ kind: "story";
35349
+ storyType: "footnote";
35350
+ noteId: string;
35351
+ }) | ({
35352
+ kind: "story";
35353
+ storyType: "endnote";
35354
+ noteId: string;
35355
+ });
34107
35356
  };
34108
35357
  sourceIds: string[];
34109
35358
  }
@@ -34454,6 +35703,33 @@ export interface DocAuthoritiesEntriesInsertBoundParams {
34454
35703
  end: number;
34455
35704
  };
34456
35705
  }>;
35706
+ story?: ({
35707
+ kind: "story";
35708
+ storyType: "body";
35709
+ }) | ({
35710
+ kind: "story";
35711
+ storyType: "headerFooterSlot";
35712
+ section: {
35713
+ kind: "section";
35714
+ sectionId: string;
35715
+ };
35716
+ headerFooterKind: "header" | "footer";
35717
+ variant: "default" | "first" | "even";
35718
+ resolution?: "effective" | "explicit";
35719
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35720
+ }) | ({
35721
+ kind: "story";
35722
+ storyType: "headerFooterPart";
35723
+ refId: string;
35724
+ }) | ({
35725
+ kind: "story";
35726
+ storyType: "footnote";
35727
+ noteId: string;
35728
+ }) | ({
35729
+ kind: "story";
35730
+ storyType: "endnote";
35731
+ noteId: string;
35732
+ });
34457
35733
  };
34458
35734
  entry: {
34459
35735
  longCitation: string;
@@ -34657,6 +35933,54 @@ export interface DocPermissionRangesUpdatePrincipalBoundParams {
34657
35933
  id?: string;
34658
35934
  };
34659
35935
  }
35936
+ export interface DocCustomXmlPartsListBoundParams {
35937
+ limit?: number;
35938
+ offset?: number;
35939
+ rootNamespace?: string;
35940
+ schemaRef?: string;
35941
+ }
35942
+ export interface DocCustomXmlPartsGetBoundParams {
35943
+ target: ({
35944
+ id: string;
35945
+ }) | ({
35946
+ partName: string;
35947
+ });
35948
+ }
35949
+ export interface DocCustomXmlPartsCreateBoundParams {
35950
+ out?: string;
35951
+ force?: boolean;
35952
+ expectedRevision?: number;
35953
+ changeMode?: string;
35954
+ dryRun?: boolean;
35955
+ content: string;
35956
+ schemaRefs?: string[];
35957
+ }
35958
+ export interface DocCustomXmlPartsPatchBoundParams {
35959
+ out?: string;
35960
+ force?: boolean;
35961
+ expectedRevision?: number;
35962
+ changeMode?: string;
35963
+ dryRun?: boolean;
35964
+ target: ({
35965
+ id: string;
35966
+ }) | ({
35967
+ partName: string;
35968
+ });
35969
+ content?: string;
35970
+ schemaRefs?: string[];
35971
+ }
35972
+ export interface DocCustomXmlPartsRemoveBoundParams {
35973
+ out?: string;
35974
+ force?: boolean;
35975
+ expectedRevision?: number;
35976
+ changeMode?: string;
35977
+ dryRun?: boolean;
35978
+ target: ({
35979
+ id: string;
35980
+ }) | ({
35981
+ partName: string;
35982
+ });
35983
+ }
34660
35984
  export interface DocSaveBoundParams {
34661
35985
  out?: string;
34662
35986
  force?: boolean;
@@ -34818,11 +36142,14 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
34818
36142
  create: (params?: DocListsCreateParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
34819
36143
  attach: (params?: DocListsAttachParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
34820
36144
  detach: (params?: DocListsDetachParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
36145
+ delete: (params: DocListsDeleteParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
34821
36146
  indent: (params?: DocListsIndentParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
34822
36147
  outdent: (params?: DocListsOutdentParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
34823
36148
  join: (params?: DocListsJoinParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
34824
36149
  canJoin: (params?: DocListsCanJoinParams, options?: InvokeOptions) => Promise<DocListsCanJoinResult>;
34825
36150
  separate: (params?: DocListsSeparateParams, options?: InvokeOptions) => Promise<DocListsSeparateResult>;
36151
+ merge: (params: DocListsMergeParams, options?: InvokeOptions) => Promise<DocListsMergeResult>;
36152
+ split: (params: DocListsSplitParams, options?: InvokeOptions) => Promise<DocListsSplitResult>;
34826
36153
  setLevel: (params?: DocListsSetLevelParams, options?: InvokeOptions) => Promise<DocListsSetLevelResult>;
34827
36154
  setValue: (params?: DocListsSetValueParams, options?: InvokeOptions) => Promise<DocListsSetValueResult>;
34828
36155
  continuePrevious: (params?: DocListsContinuePreviousParams, options?: InvokeOptions) => Promise<DocListsContinuePreviousResult>;
@@ -34867,6 +36194,9 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
34867
36194
  ranges: {
34868
36195
  resolve: (params: DocRangesResolveParams, options?: InvokeOptions) => Promise<DocRangesResolveResult>;
34869
36196
  };
36197
+ selection: {
36198
+ current: (params?: DocSelectionCurrentParams, options?: InvokeOptions) => Promise<DocSelectionCurrentResult>;
36199
+ };
34870
36200
  mutations: {
34871
36201
  preview: (params: DocMutationsPreviewParams, options?: InvokeOptions) => Promise<DocMutationsPreviewResult>;
34872
36202
  apply: (params: DocMutationsApplyParams, options?: InvokeOptions) => Promise<DocMutationsApplyResult>;
@@ -34882,7 +36212,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
34882
36212
  split: (params: DocTablesSplitParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
34883
36213
  convertToText: (params?: DocTablesConvertToTextParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
34884
36214
  setLayout: (params?: DocTablesSetLayoutParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
34885
- insertRow: (params: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
36215
+ insertRow: (params?: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
34886
36216
  deleteRow: (params?: DocTablesDeleteRowParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
34887
36217
  setRowHeight: (params: DocTablesSetRowHeightParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
34888
36218
  distributeRows: (params?: DocTablesDistributeRowsParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
@@ -34897,6 +36227,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
34897
36227
  unmergeCells: (params?: DocTablesUnmergeCellsParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
34898
36228
  splitCell: (params: DocTablesSplitCellParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
34899
36229
  setCellProperties: (params?: DocTablesSetCellPropertiesParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
36230
+ setCellText: (params: DocTablesSetCellTextParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
34900
36231
  sort: (params: DocTablesSortParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
34901
36232
  setAltText: (params?: DocTablesSetAltTextParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
34902
36233
  setStyle: (params: DocTablesSetStyleParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
@@ -34914,6 +36245,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
34914
36245
  applyStyle: (params?: DocTablesApplyStyleParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
34915
36246
  setBorders: (params: DocTablesSetBordersParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
34916
36247
  setTableOptions: (params?: DocTablesSetTableOptionsParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
36248
+ applyPreset: (params: DocTablesApplyPresetParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
34917
36249
  get: (params?: DocTablesGetParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
34918
36250
  getCells: (params?: DocTablesGetCellsParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
34919
36251
  getProperties: (params?: DocTablesGetPropertiesParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
@@ -35163,6 +36495,15 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
35163
36495
  remove: (params: DocPermissionRangesRemoveParams, options?: InvokeOptions) => Promise<DocPermissionRangesRemoveResult>;
35164
36496
  updatePrincipal: (params: DocPermissionRangesUpdatePrincipalParams, options?: InvokeOptions) => Promise<DocPermissionRangesUpdatePrincipalResult>;
35165
36497
  };
36498
+ customXml: {
36499
+ parts: {
36500
+ list: (params?: DocCustomXmlPartsListParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsListResult>;
36501
+ get: (params: DocCustomXmlPartsGetParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsGetResult>;
36502
+ create: (params: DocCustomXmlPartsCreateParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsCreateResult>;
36503
+ patch: (params: DocCustomXmlPartsPatchParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsPatchResult>;
36504
+ remove: (params: DocCustomXmlPartsRemoveParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsRemoveResult>;
36505
+ };
36506
+ };
35166
36507
  open: (params?: DocOpenParams, options?: InvokeOptions) => Promise<DocOpenResult>;
35167
36508
  save: (params?: DocSaveParams, options?: InvokeOptions) => Promise<DocSaveResult>;
35168
36509
  close: (params?: DocCloseParams, options?: InvokeOptions) => Promise<DocCloseResult>;
@@ -35310,11 +36651,14 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35310
36651
  create: (params?: DocListsCreateBoundParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
35311
36652
  attach: (params?: DocListsAttachBoundParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
35312
36653
  detach: (params?: DocListsDetachBoundParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
36654
+ delete: (params: DocListsDeleteBoundParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
35313
36655
  indent: (params?: DocListsIndentBoundParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
35314
36656
  outdent: (params?: DocListsOutdentBoundParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
35315
36657
  join: (params?: DocListsJoinBoundParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
35316
36658
  canJoin: (params?: DocListsCanJoinBoundParams, options?: InvokeOptions) => Promise<DocListsCanJoinResult>;
35317
36659
  separate: (params?: DocListsSeparateBoundParams, options?: InvokeOptions) => Promise<DocListsSeparateResult>;
36660
+ merge: (params: DocListsMergeBoundParams, options?: InvokeOptions) => Promise<DocListsMergeResult>;
36661
+ split: (params: DocListsSplitBoundParams, options?: InvokeOptions) => Promise<DocListsSplitResult>;
35318
36662
  setLevel: (params?: DocListsSetLevelBoundParams, options?: InvokeOptions) => Promise<DocListsSetLevelResult>;
35319
36663
  setValue: (params?: DocListsSetValueBoundParams, options?: InvokeOptions) => Promise<DocListsSetValueResult>;
35320
36664
  continuePrevious: (params?: DocListsContinuePreviousBoundParams, options?: InvokeOptions) => Promise<DocListsContinuePreviousResult>;
@@ -35359,6 +36703,9 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35359
36703
  ranges: {
35360
36704
  resolve: (params: DocRangesResolveBoundParams, options?: InvokeOptions) => Promise<DocRangesResolveResult>;
35361
36705
  };
36706
+ selection: {
36707
+ current: (params?: DocSelectionCurrentBoundParams, options?: InvokeOptions) => Promise<DocSelectionCurrentResult>;
36708
+ };
35362
36709
  mutations: {
35363
36710
  preview: (params: DocMutationsPreviewBoundParams, options?: InvokeOptions) => Promise<DocMutationsPreviewResult>;
35364
36711
  apply: (params: DocMutationsApplyBoundParams, options?: InvokeOptions) => Promise<DocMutationsApplyResult>;
@@ -35374,7 +36721,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35374
36721
  split: (params: DocTablesSplitBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
35375
36722
  convertToText: (params?: DocTablesConvertToTextBoundParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
35376
36723
  setLayout: (params?: DocTablesSetLayoutBoundParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
35377
- insertRow: (params: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
36724
+ insertRow: (params?: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
35378
36725
  deleteRow: (params?: DocTablesDeleteRowBoundParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
35379
36726
  setRowHeight: (params: DocTablesSetRowHeightBoundParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
35380
36727
  distributeRows: (params?: DocTablesDistributeRowsBoundParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
@@ -35389,6 +36736,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35389
36736
  unmergeCells: (params?: DocTablesUnmergeCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
35390
36737
  splitCell: (params: DocTablesSplitCellBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
35391
36738
  setCellProperties: (params?: DocTablesSetCellPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
36739
+ setCellText: (params: DocTablesSetCellTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
35392
36740
  sort: (params: DocTablesSortBoundParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
35393
36741
  setAltText: (params?: DocTablesSetAltTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
35394
36742
  setStyle: (params: DocTablesSetStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
@@ -35406,6 +36754,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35406
36754
  applyStyle: (params?: DocTablesApplyStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
35407
36755
  setBorders: (params: DocTablesSetBordersBoundParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
35408
36756
  setTableOptions: (params?: DocTablesSetTableOptionsBoundParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
36757
+ applyPreset: (params: DocTablesApplyPresetBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
35409
36758
  get: (params?: DocTablesGetBoundParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
35410
36759
  getCells: (params?: DocTablesGetCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
35411
36760
  getProperties: (params?: DocTablesGetPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
@@ -35655,6 +37004,15 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35655
37004
  remove: (params: DocPermissionRangesRemoveBoundParams, options?: InvokeOptions) => Promise<DocPermissionRangesRemoveResult>;
35656
37005
  updatePrincipal: (params: DocPermissionRangesUpdatePrincipalBoundParams, options?: InvokeOptions) => Promise<DocPermissionRangesUpdatePrincipalResult>;
35657
37006
  };
37007
+ customXml: {
37008
+ parts: {
37009
+ list: (params?: DocCustomXmlPartsListBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsListResult>;
37010
+ get: (params: DocCustomXmlPartsGetBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsGetResult>;
37011
+ create: (params: DocCustomXmlPartsCreateBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsCreateResult>;
37012
+ patch: (params: DocCustomXmlPartsPatchBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsPatchResult>;
37013
+ remove: (params: DocCustomXmlPartsRemoveBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsRemoveResult>;
37014
+ };
37015
+ };
35658
37016
  save: (params?: DocSaveBoundParams, options?: InvokeOptions) => Promise<DocSaveResult>;
35659
37017
  close: (params?: DocCloseBoundParams, options?: InvokeOptions) => Promise<DocCloseResult>;
35660
37018
  insertTab: (params?: DocInsertTabBoundParams, options?: InvokeOptions) => Promise<DocInsertTabResult>;