@superdoc-dev/sdk 1.8.0-next.10 → 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;
@@ -4493,6 +4507,33 @@ export interface DocCommentsCreateParams {
4493
4507
  end: number;
4494
4508
  };
4495
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
+ });
4496
4537
  });
4497
4538
  parentId?: string;
4498
4539
  blockId?: string;
@@ -5861,7 +5902,7 @@ export interface DocTablesInsertRowParams {
5861
5902
  nodeType: "table";
5862
5903
  nodeId: string;
5863
5904
  });
5864
- position: string;
5905
+ position?: string;
5865
5906
  count?: number;
5866
5907
  rowIndex?: number;
5867
5908
  nodeId?: string;
@@ -5959,7 +6000,7 @@ export interface DocTablesInsertColumnParams {
5959
6000
  nodeId: string;
5960
6001
  };
5961
6002
  nodeId?: string;
5962
- columnIndex: number;
6003
+ columnIndex?: number;
5963
6004
  position: string;
5964
6005
  count?: number;
5965
6006
  }
@@ -6127,6 +6168,28 @@ export interface DocTablesSetCellPropertiesParams {
6127
6168
  wrapText?: boolean;
6128
6169
  fitText?: boolean;
6129
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
+ }
6130
6193
  export interface DocTablesSortParams {
6131
6194
  doc?: string;
6132
6195
  sessionId?: string;
@@ -6277,7 +6340,7 @@ export interface DocTablesSetShadingParams {
6277
6340
  nodeId: string;
6278
6341
  };
6279
6342
  nodeId?: string;
6280
- color: string;
6343
+ color: string | unknown;
6281
6344
  }
6282
6345
  export interface DocTablesClearShadingParams {
6283
6346
  doc?: string;
@@ -6464,6 +6527,23 @@ export interface DocTablesSetTableOptionsParams {
6464
6527
  };
6465
6528
  cellSpacingPt?: number | unknown;
6466
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
+ }
6467
6547
  export interface DocTablesGetParams {
6468
6548
  doc?: string;
6469
6549
  sessionId?: string;
@@ -8212,6 +8292,33 @@ export interface DocBookmarksListParams {
8212
8292
  sessionId?: string;
8213
8293
  limit?: number;
8214
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
+ });
8215
8322
  }
8216
8323
  export interface DocBookmarksGetParams {
8217
8324
  doc?: string;
@@ -8220,6 +8327,33 @@ export interface DocBookmarksGetParams {
8220
8327
  kind: "entity";
8221
8328
  entityType: "bookmark";
8222
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
+ });
8223
8357
  };
8224
8358
  }
8225
8359
  export interface DocBookmarksInsertParams {
@@ -8240,6 +8374,33 @@ export interface DocBookmarksInsertParams {
8240
8374
  end: number;
8241
8375
  };
8242
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
+ });
8243
8404
  };
8244
8405
  tableColumn?: {
8245
8406
  colFirst: number;
@@ -8258,6 +8419,33 @@ export interface DocBookmarksRenameParams {
8258
8419
  kind: "entity";
8259
8420
  entityType: "bookmark";
8260
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
+ });
8261
8449
  };
8262
8450
  newName: string;
8263
8451
  }
@@ -8273,6 +8461,33 @@ export interface DocBookmarksRemoveParams {
8273
8461
  kind: "entity";
8274
8462
  entityType: "bookmark";
8275
8463
  name: string;
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
+ });
8276
8491
  };
8277
8492
  }
8278
8493
  export interface DocFootnotesListParams {
@@ -8308,6 +8523,33 @@ export interface DocFootnotesInsertParams {
8308
8523
  end: number;
8309
8524
  };
8310
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
+ });
8311
8553
  };
8312
8554
  type: string;
8313
8555
  content: string;
@@ -8406,19 +8648,46 @@ export interface DocCrossRefsInsertParams {
8406
8648
  end: number;
8407
8649
  };
8408
8650
  }>;
8409
- };
8410
- target: ({
8411
- kind: "bookmark";
8412
- name: string;
8413
- }) | ({
8414
- kind: "heading";
8415
- nodeId: string;
8416
- }) | ({
8417
- kind: "note";
8418
- noteId: string;
8419
- }) | ({
8420
- kind: "caption";
8421
- nodeId: string;
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
+ });
8678
+ };
8679
+ target: ({
8680
+ kind: "bookmark";
8681
+ name: string;
8682
+ }) | ({
8683
+ kind: "heading";
8684
+ nodeId: string;
8685
+ }) | ({
8686
+ kind: "note";
8687
+ noteId: string;
8688
+ }) | ({
8689
+ kind: "caption";
8690
+ nodeId: string;
8422
8691
  }) | ({
8423
8692
  kind: "numberedItem";
8424
8693
  nodeId: string;
@@ -8632,6 +8901,33 @@ export interface DocIndexEntriesInsertParams {
8632
8901
  end: number;
8633
8902
  };
8634
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
+ });
8635
8931
  };
8636
8932
  entry: {
8637
8933
  text: string;
@@ -8811,6 +9107,33 @@ export interface DocFieldsInsertParams {
8811
9107
  end: number;
8812
9108
  };
8813
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
+ });
8814
9137
  };
8815
9138
  instruction: string;
8816
9139
  }
@@ -8886,6 +9209,33 @@ export interface DocCitationsInsertParams {
8886
9209
  end: number;
8887
9210
  };
8888
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
+ });
8889
9239
  };
8890
9240
  sourceIds: string[];
8891
9241
  }
@@ -9278,6 +9628,33 @@ export interface DocAuthoritiesEntriesInsertParams {
9278
9628
  end: number;
9279
9629
  };
9280
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
+ });
9281
9658
  };
9282
9659
  entry: {
9283
9660
  longCitation: string;
@@ -9507,6 +9884,64 @@ export interface DocPermissionRangesUpdatePrincipalParams {
9507
9884
  id?: string;
9508
9885
  };
9509
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
+ }
9510
9945
  export interface DocOpenParams {
9511
9946
  doc?: string;
9512
9947
  sessionId?: string;
@@ -18634,6 +19069,10 @@ export type DocListsDetachResult = {
18634
19069
  nodeId: string;
18635
19070
  };
18636
19071
  };
19072
+ export type DocListsDeleteResult = {
19073
+ success: true;
19074
+ deletedCount: number;
19075
+ };
18637
19076
  export type DocListsIndentResult = {
18638
19077
  success: true;
18639
19078
  item: {
@@ -19254,6 +19693,33 @@ export type DocCommentsGetResult = {
19254
19693
  end: number;
19255
19694
  };
19256
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
+ });
19257
19723
  };
19258
19724
  anchoredText?: string;
19259
19725
  createdTime?: number;
@@ -19289,6 +19755,33 @@ export type DocCommentsListResult = {
19289
19755
  end: number;
19290
19756
  };
19291
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
+ });
19292
19785
  };
19293
19786
  anchoredText?: string;
19294
19787
  createdTime?: number;
@@ -19745,11 +20238,40 @@ export type DocSelectionCurrentResult = {
19745
20238
  end: number;
19746
20239
  };
19747
20240
  }>;
19748
- }) | null;
19749
- activeMarks: Array<string>;
19750
- text?: string;
19751
- };
19752
- export type DocMutationsPreviewResult = {
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
+ };
20274
+ export type DocMutationsPreviewResult = {
19753
20275
  evaluatedRevision: string;
19754
20276
  steps: Array<Record<string, unknown>>;
19755
20277
  valid: boolean;
@@ -20712,6 +21234,12 @@ export type DocCapabilitiesGetResult = {
20712
21234
  dryRun: boolean;
20713
21235
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
20714
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
+ };
20715
21243
  "lists.indent": {
20716
21244
  available: boolean;
20717
21245
  tracked: boolean;
@@ -21126,6 +21654,12 @@ export type DocCapabilitiesGetResult = {
21126
21654
  dryRun: boolean;
21127
21655
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21128
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
+ };
21129
21663
  "tables.sort": {
21130
21664
  available: boolean;
21131
21665
  tracked: boolean;
@@ -21228,6 +21762,12 @@ export type DocCapabilitiesGetResult = {
21228
21762
  dryRun: boolean;
21229
21763
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21230
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
+ };
21231
21771
  "tables.get": {
21232
21772
  available: boolean;
21233
21773
  tracked: boolean;
@@ -22386,6 +22926,36 @@ export type DocCapabilitiesGetResult = {
22386
22926
  dryRun: boolean;
22387
22927
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
22388
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
+ };
22389
22959
  };
22390
22960
  planEngine: {
22391
22961
  supportedStepOps: Array<string>;
@@ -23408,6 +23978,50 @@ export type DocTablesSetCellPropertiesResult = {
23408
23978
  });
23409
23979
  })>;
23410
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
+ };
23411
24025
  export type DocTablesSortResult = {
23412
24026
  success: true;
23413
24027
  table?: {
@@ -24156,6 +24770,50 @@ export type DocTablesSetTableOptionsResult = {
24156
24770
  });
24157
24771
  })>;
24158
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
+ };
24159
24817
  export type DocTablesGetResult = {
24160
24818
  nodeId: string;
24161
24819
  address: {
@@ -25357,6 +26015,33 @@ export type DocBookmarksInsertResult = {
25357
26015
  kind: "entity";
25358
26016
  entityType: "bookmark";
25359
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
+ });
25360
26045
  };
25361
26046
  };
25362
26047
  export type DocBookmarksRenameResult = {
@@ -25365,6 +26050,33 @@ export type DocBookmarksRenameResult = {
25365
26050
  kind: "entity";
25366
26051
  entityType: "bookmark";
25367
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
+ });
25368
26080
  };
25369
26081
  };
25370
26082
  export type DocBookmarksRemoveResult = {
@@ -25373,6 +26085,33 @@ export type DocBookmarksRemoveResult = {
25373
26085
  kind: "entity";
25374
26086
  entityType: "bookmark";
25375
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
+ });
25376
26115
  };
25377
26116
  };
25378
26117
  export type DocFootnotesListResult = Record<string, unknown>;
@@ -25906,6 +26645,32 @@ export type DocPermissionRangesGetResult = Record<string, unknown>;
25906
26645
  export type DocPermissionRangesCreateResult = Record<string, unknown>;
25907
26646
  export type DocPermissionRangesRemoveResult = Record<string, unknown>;
25908
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
+ };
25909
26674
  export type DocOpenResult = {
25910
26675
  active: boolean;
25911
26676
  contextId: string;
@@ -29768,6 +30533,18 @@ export interface DocListsDetachBoundParams {
29768
30533
  input?: Record<string, unknown> | unknown[];
29769
30534
  nodeId?: string;
29770
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
+ }
29771
30548
  export interface DocListsIndentBoundParams {
29772
30549
  out?: string;
29773
30550
  force?: boolean;
@@ -30274,6 +31051,33 @@ export interface DocCommentsCreateBoundParams {
30274
31051
  end: number;
30275
31052
  };
30276
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
+ });
30277
31081
  });
30278
31082
  parentId?: string;
30279
31083
  blockId?: string;
@@ -31599,7 +32403,7 @@ export interface DocTablesInsertRowBoundParams {
31599
32403
  nodeType: "table";
31600
32404
  nodeId: string;
31601
32405
  });
31602
- position: string;
32406
+ position?: string;
31603
32407
  count?: number;
31604
32408
  rowIndex?: number;
31605
32409
  nodeId?: string;
@@ -31687,7 +32491,7 @@ export interface DocTablesInsertColumnBoundParams {
31687
32491
  nodeId: string;
31688
32492
  };
31689
32493
  nodeId?: string;
31690
- columnIndex: number;
32494
+ columnIndex?: number;
31691
32495
  position: string;
31692
32496
  count?: number;
31693
32497
  }
@@ -31837,6 +32641,26 @@ export interface DocTablesSetCellPropertiesBoundParams {
31837
32641
  wrapText?: boolean;
31838
32642
  fitText?: boolean;
31839
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
+ }
31840
32664
  export interface DocTablesSortBoundParams {
31841
32665
  out?: string;
31842
32666
  force?: boolean;
@@ -31969,7 +32793,7 @@ export interface DocTablesSetShadingBoundParams {
31969
32793
  nodeId: string;
31970
32794
  };
31971
32795
  nodeId?: string;
31972
- color: string;
32796
+ color: string | unknown;
31973
32797
  }
31974
32798
  export interface DocTablesClearShadingBoundParams {
31975
32799
  out?: string;
@@ -32140,6 +32964,21 @@ export interface DocTablesSetTableOptionsBoundParams {
32140
32964
  };
32141
32965
  cellSpacingPt?: number | unknown;
32142
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
+ }
32143
32982
  export interface DocTablesGetBoundParams {
32144
32983
  target?: {
32145
32984
  kind: "block";
@@ -33650,12 +34489,66 @@ export interface DocContentControlsGroupUngroupBoundParams {
33650
34489
  export interface DocBookmarksListBoundParams {
33651
34490
  limit?: number;
33652
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
+ });
33653
34519
  }
33654
34520
  export interface DocBookmarksGetBoundParams {
33655
34521
  target: {
33656
34522
  kind: "entity";
33657
34523
  entityType: "bookmark";
33658
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
+ });
33659
34552
  };
33660
34553
  }
33661
34554
  export interface DocBookmarksInsertBoundParams {
@@ -33674,6 +34567,33 @@ export interface DocBookmarksInsertBoundParams {
33674
34567
  end: number;
33675
34568
  };
33676
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
+ });
33677
34597
  };
33678
34598
  tableColumn?: {
33679
34599
  colFirst: number;
@@ -33690,6 +34610,33 @@ export interface DocBookmarksRenameBoundParams {
33690
34610
  kind: "entity";
33691
34611
  entityType: "bookmark";
33692
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
+ });
33693
34640
  };
33694
34641
  newName: string;
33695
34642
  }
@@ -33703,6 +34650,33 @@ export interface DocBookmarksRemoveBoundParams {
33703
34650
  kind: "entity";
33704
34651
  entityType: "bookmark";
33705
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
+ });
33706
34680
  };
33707
34681
  }
33708
34682
  export interface DocFootnotesListBoundParams {
@@ -33732,6 +34706,33 @@ export interface DocFootnotesInsertBoundParams {
33732
34706
  end: number;
33733
34707
  };
33734
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
+ });
33735
34736
  };
33736
34737
  type: string;
33737
34738
  content: string;
@@ -33818,6 +34819,33 @@ export interface DocCrossRefsInsertBoundParams {
33818
34819
  end: number;
33819
34820
  };
33820
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
+ });
33821
34849
  };
33822
34850
  target: ({
33823
34851
  kind: "bookmark";
@@ -34022,6 +35050,33 @@ export interface DocIndexEntriesInsertBoundParams {
34022
35050
  end: number;
34023
35051
  };
34024
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
+ });
34025
35080
  };
34026
35081
  entry: {
34027
35082
  text: string;
@@ -34179,6 +35234,33 @@ export interface DocFieldsInsertBoundParams {
34179
35234
  end: number;
34180
35235
  };
34181
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
+ });
34182
35264
  };
34183
35265
  instruction: string;
34184
35266
  }
@@ -34244,6 +35326,33 @@ export interface DocCitationsInsertBoundParams {
34244
35326
  end: number;
34245
35327
  };
34246
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
+ });
34247
35356
  };
34248
35357
  sourceIds: string[];
34249
35358
  }
@@ -34594,6 +35703,33 @@ export interface DocAuthoritiesEntriesInsertBoundParams {
34594
35703
  end: number;
34595
35704
  };
34596
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
+ });
34597
35733
  };
34598
35734
  entry: {
34599
35735
  longCitation: string;
@@ -34797,6 +35933,54 @@ export interface DocPermissionRangesUpdatePrincipalBoundParams {
34797
35933
  id?: string;
34798
35934
  };
34799
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
+ }
34800
35984
  export interface DocSaveBoundParams {
34801
35985
  out?: string;
34802
35986
  force?: boolean;
@@ -34958,6 +36142,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
34958
36142
  create: (params?: DocListsCreateParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
34959
36143
  attach: (params?: DocListsAttachParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
34960
36144
  detach: (params?: DocListsDetachParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
36145
+ delete: (params: DocListsDeleteParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
34961
36146
  indent: (params?: DocListsIndentParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
34962
36147
  outdent: (params?: DocListsOutdentParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
34963
36148
  join: (params?: DocListsJoinParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
@@ -35027,7 +36212,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
35027
36212
  split: (params: DocTablesSplitParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
35028
36213
  convertToText: (params?: DocTablesConvertToTextParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
35029
36214
  setLayout: (params?: DocTablesSetLayoutParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
35030
- insertRow: (params: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
36215
+ insertRow: (params?: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
35031
36216
  deleteRow: (params?: DocTablesDeleteRowParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
35032
36217
  setRowHeight: (params: DocTablesSetRowHeightParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
35033
36218
  distributeRows: (params?: DocTablesDistributeRowsParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
@@ -35042,6 +36227,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
35042
36227
  unmergeCells: (params?: DocTablesUnmergeCellsParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
35043
36228
  splitCell: (params: DocTablesSplitCellParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
35044
36229
  setCellProperties: (params?: DocTablesSetCellPropertiesParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
36230
+ setCellText: (params: DocTablesSetCellTextParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
35045
36231
  sort: (params: DocTablesSortParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
35046
36232
  setAltText: (params?: DocTablesSetAltTextParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
35047
36233
  setStyle: (params: DocTablesSetStyleParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
@@ -35059,6 +36245,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
35059
36245
  applyStyle: (params?: DocTablesApplyStyleParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
35060
36246
  setBorders: (params: DocTablesSetBordersParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
35061
36247
  setTableOptions: (params?: DocTablesSetTableOptionsParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
36248
+ applyPreset: (params: DocTablesApplyPresetParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
35062
36249
  get: (params?: DocTablesGetParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
35063
36250
  getCells: (params?: DocTablesGetCellsParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
35064
36251
  getProperties: (params?: DocTablesGetPropertiesParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
@@ -35308,6 +36495,15 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
35308
36495
  remove: (params: DocPermissionRangesRemoveParams, options?: InvokeOptions) => Promise<DocPermissionRangesRemoveResult>;
35309
36496
  updatePrincipal: (params: DocPermissionRangesUpdatePrincipalParams, options?: InvokeOptions) => Promise<DocPermissionRangesUpdatePrincipalResult>;
35310
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
+ };
35311
36507
  open: (params?: DocOpenParams, options?: InvokeOptions) => Promise<DocOpenResult>;
35312
36508
  save: (params?: DocSaveParams, options?: InvokeOptions) => Promise<DocSaveResult>;
35313
36509
  close: (params?: DocCloseParams, options?: InvokeOptions) => Promise<DocCloseResult>;
@@ -35455,6 +36651,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35455
36651
  create: (params?: DocListsCreateBoundParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
35456
36652
  attach: (params?: DocListsAttachBoundParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
35457
36653
  detach: (params?: DocListsDetachBoundParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
36654
+ delete: (params: DocListsDeleteBoundParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
35458
36655
  indent: (params?: DocListsIndentBoundParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
35459
36656
  outdent: (params?: DocListsOutdentBoundParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
35460
36657
  join: (params?: DocListsJoinBoundParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
@@ -35524,7 +36721,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35524
36721
  split: (params: DocTablesSplitBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
35525
36722
  convertToText: (params?: DocTablesConvertToTextBoundParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
35526
36723
  setLayout: (params?: DocTablesSetLayoutBoundParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
35527
- insertRow: (params: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
36724
+ insertRow: (params?: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
35528
36725
  deleteRow: (params?: DocTablesDeleteRowBoundParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
35529
36726
  setRowHeight: (params: DocTablesSetRowHeightBoundParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
35530
36727
  distributeRows: (params?: DocTablesDistributeRowsBoundParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
@@ -35539,6 +36736,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35539
36736
  unmergeCells: (params?: DocTablesUnmergeCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
35540
36737
  splitCell: (params: DocTablesSplitCellBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
35541
36738
  setCellProperties: (params?: DocTablesSetCellPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
36739
+ setCellText: (params: DocTablesSetCellTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
35542
36740
  sort: (params: DocTablesSortBoundParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
35543
36741
  setAltText: (params?: DocTablesSetAltTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
35544
36742
  setStyle: (params: DocTablesSetStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
@@ -35556,6 +36754,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35556
36754
  applyStyle: (params?: DocTablesApplyStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
35557
36755
  setBorders: (params: DocTablesSetBordersBoundParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
35558
36756
  setTableOptions: (params?: DocTablesSetTableOptionsBoundParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
36757
+ applyPreset: (params: DocTablesApplyPresetBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
35559
36758
  get: (params?: DocTablesGetBoundParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
35560
36759
  getCells: (params?: DocTablesGetCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
35561
36760
  getProperties: (params?: DocTablesGetPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
@@ -35805,6 +37004,15 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35805
37004
  remove: (params: DocPermissionRangesRemoveBoundParams, options?: InvokeOptions) => Promise<DocPermissionRangesRemoveResult>;
35806
37005
  updatePrincipal: (params: DocPermissionRangesUpdatePrincipalBoundParams, options?: InvokeOptions) => Promise<DocPermissionRangesUpdatePrincipalResult>;
35807
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
+ };
35808
37016
  save: (params?: DocSaveBoundParams, options?: InvokeOptions) => Promise<DocSaveResult>;
35809
37017
  close: (params?: DocCloseBoundParams, options?: InvokeOptions) => Promise<DocCloseResult>;
35810
37018
  insertTab: (params?: DocInsertTabBoundParams, options?: InvokeOptions) => Promise<DocInsertTabResult>;