@superdoc-dev/sdk 1.8.0-next.8 → 1.8.0-next.81

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;
@@ -18634,6 +19011,10 @@ export type DocListsDetachResult = {
18634
19011
  nodeId: string;
18635
19012
  };
18636
19013
  };
19014
+ export type DocListsDeleteResult = {
19015
+ success: true;
19016
+ deletedCount: number;
19017
+ };
18637
19018
  export type DocListsIndentResult = {
18638
19019
  success: true;
18639
19020
  item: {
@@ -19254,6 +19635,33 @@ export type DocCommentsGetResult = {
19254
19635
  end: number;
19255
19636
  };
19256
19637
  }>;
19638
+ story?: ({
19639
+ kind: "story";
19640
+ storyType: "body";
19641
+ }) | ({
19642
+ kind: "story";
19643
+ storyType: "headerFooterSlot";
19644
+ section: {
19645
+ kind: "section";
19646
+ sectionId: string;
19647
+ };
19648
+ headerFooterKind: "header" | "footer";
19649
+ variant: "default" | "first" | "even";
19650
+ resolution?: "effective" | "explicit";
19651
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
19652
+ }) | ({
19653
+ kind: "story";
19654
+ storyType: "headerFooterPart";
19655
+ refId: string;
19656
+ }) | ({
19657
+ kind: "story";
19658
+ storyType: "footnote";
19659
+ noteId: string;
19660
+ }) | ({
19661
+ kind: "story";
19662
+ storyType: "endnote";
19663
+ noteId: string;
19664
+ });
19257
19665
  };
19258
19666
  anchoredText?: string;
19259
19667
  createdTime?: number;
@@ -19289,6 +19697,33 @@ export type DocCommentsListResult = {
19289
19697
  end: number;
19290
19698
  };
19291
19699
  }>;
19700
+ story?: ({
19701
+ kind: "story";
19702
+ storyType: "body";
19703
+ }) | ({
19704
+ kind: "story";
19705
+ storyType: "headerFooterSlot";
19706
+ section: {
19707
+ kind: "section";
19708
+ sectionId: string;
19709
+ };
19710
+ headerFooterKind: "header" | "footer";
19711
+ variant: "default" | "first" | "even";
19712
+ resolution?: "effective" | "explicit";
19713
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
19714
+ }) | ({
19715
+ kind: "story";
19716
+ storyType: "headerFooterPart";
19717
+ refId: string;
19718
+ }) | ({
19719
+ kind: "story";
19720
+ storyType: "footnote";
19721
+ noteId: string;
19722
+ }) | ({
19723
+ kind: "story";
19724
+ storyType: "endnote";
19725
+ noteId: string;
19726
+ });
19292
19727
  };
19293
19728
  anchoredText?: string;
19294
19729
  createdTime?: number;
@@ -19745,8 +20180,37 @@ export type DocSelectionCurrentResult = {
19745
20180
  end: number;
19746
20181
  };
19747
20182
  }>;
20183
+ story?: ({
20184
+ kind: "story";
20185
+ storyType: "body";
20186
+ }) | ({
20187
+ kind: "story";
20188
+ storyType: "headerFooterSlot";
20189
+ section: {
20190
+ kind: "section";
20191
+ sectionId: string;
20192
+ };
20193
+ headerFooterKind: "header" | "footer";
20194
+ variant: "default" | "first" | "even";
20195
+ resolution?: "effective" | "explicit";
20196
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
20197
+ }) | ({
20198
+ kind: "story";
20199
+ storyType: "headerFooterPart";
20200
+ refId: string;
20201
+ }) | ({
20202
+ kind: "story";
20203
+ storyType: "footnote";
20204
+ noteId: string;
20205
+ }) | ({
20206
+ kind: "story";
20207
+ storyType: "endnote";
20208
+ noteId: string;
20209
+ });
19748
20210
  }) | null;
19749
20211
  activeMarks: Array<string>;
20212
+ activeCommentIds: Array<string>;
20213
+ activeChangeIds: Array<string>;
19750
20214
  text?: string;
19751
20215
  };
19752
20216
  export type DocMutationsPreviewResult = {
@@ -20712,6 +21176,12 @@ export type DocCapabilitiesGetResult = {
20712
21176
  dryRun: boolean;
20713
21177
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
20714
21178
  };
21179
+ "lists.delete": {
21180
+ available: boolean;
21181
+ tracked: boolean;
21182
+ dryRun: boolean;
21183
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21184
+ };
20715
21185
  "lists.indent": {
20716
21186
  available: boolean;
20717
21187
  tracked: boolean;
@@ -21126,6 +21596,12 @@ export type DocCapabilitiesGetResult = {
21126
21596
  dryRun: boolean;
21127
21597
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21128
21598
  };
21599
+ "tables.setCellText": {
21600
+ available: boolean;
21601
+ tracked: boolean;
21602
+ dryRun: boolean;
21603
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21604
+ };
21129
21605
  "tables.sort": {
21130
21606
  available: boolean;
21131
21607
  tracked: boolean;
@@ -21228,6 +21704,12 @@ export type DocCapabilitiesGetResult = {
21228
21704
  dryRun: boolean;
21229
21705
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21230
21706
  };
21707
+ "tables.applyPreset": {
21708
+ available: boolean;
21709
+ tracked: boolean;
21710
+ dryRun: boolean;
21711
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
21712
+ };
21231
21713
  "tables.get": {
21232
21714
  available: boolean;
21233
21715
  tracked: boolean;
@@ -23408,7 +23890,7 @@ export type DocTablesSetCellPropertiesResult = {
23408
23890
  });
23409
23891
  })>;
23410
23892
  };
23411
- export type DocTablesSortResult = {
23893
+ export type DocTablesSetCellTextResult = {
23412
23894
  success: true;
23413
23895
  table?: {
23414
23896
  kind: "block";
@@ -23452,7 +23934,7 @@ export type DocTablesSortResult = {
23452
23934
  });
23453
23935
  })>;
23454
23936
  };
23455
- export type DocTablesSetAltTextResult = {
23937
+ export type DocTablesSortResult = {
23456
23938
  success: true;
23457
23939
  table?: {
23458
23940
  kind: "block";
@@ -23496,7 +23978,7 @@ export type DocTablesSetAltTextResult = {
23496
23978
  });
23497
23979
  })>;
23498
23980
  };
23499
- export type DocTablesSetStyleResult = {
23981
+ export type DocTablesSetAltTextResult = {
23500
23982
  success: true;
23501
23983
  table?: {
23502
23984
  kind: "block";
@@ -23540,7 +24022,7 @@ export type DocTablesSetStyleResult = {
23540
24022
  });
23541
24023
  })>;
23542
24024
  };
23543
- export type DocTablesClearStyleResult = {
24025
+ export type DocTablesSetStyleResult = {
23544
24026
  success: true;
23545
24027
  table?: {
23546
24028
  kind: "block";
@@ -23584,7 +24066,51 @@ export type DocTablesClearStyleResult = {
23584
24066
  });
23585
24067
  })>;
23586
24068
  };
23587
- export type DocTablesSetStyleOptionResult = {
24069
+ export type DocTablesClearStyleResult = {
24070
+ success: true;
24071
+ table?: {
24072
+ kind: "block";
24073
+ nodeType: "table";
24074
+ nodeId: string;
24075
+ };
24076
+ trackedChangeRefs?: Array<({
24077
+ kind: "entity";
24078
+ entityType: "comment";
24079
+ entityId: string;
24080
+ }) | ({
24081
+ kind: "entity";
24082
+ entityType: "trackedChange";
24083
+ entityId: string;
24084
+ story?: ({
24085
+ kind: "story";
24086
+ storyType: "body";
24087
+ }) | ({
24088
+ kind: "story";
24089
+ storyType: "headerFooterSlot";
24090
+ section: {
24091
+ kind: "section";
24092
+ sectionId: string;
24093
+ };
24094
+ headerFooterKind: "header" | "footer";
24095
+ variant: "default" | "first" | "even";
24096
+ resolution?: "effective" | "explicit";
24097
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
24098
+ }) | ({
24099
+ kind: "story";
24100
+ storyType: "headerFooterPart";
24101
+ refId: string;
24102
+ }) | ({
24103
+ kind: "story";
24104
+ storyType: "footnote";
24105
+ noteId: string;
24106
+ }) | ({
24107
+ kind: "story";
24108
+ storyType: "endnote";
24109
+ noteId: string;
24110
+ });
24111
+ })>;
24112
+ };
24113
+ export type DocTablesSetStyleOptionResult = {
23588
24114
  success: true;
23589
24115
  table?: {
23590
24116
  kind: "block";
@@ -24156,6 +24682,50 @@ export type DocTablesSetTableOptionsResult = {
24156
24682
  });
24157
24683
  })>;
24158
24684
  };
24685
+ export type DocTablesApplyPresetResult = {
24686
+ success: true;
24687
+ table?: {
24688
+ kind: "block";
24689
+ nodeType: "table";
24690
+ nodeId: string;
24691
+ };
24692
+ trackedChangeRefs?: Array<({
24693
+ kind: "entity";
24694
+ entityType: "comment";
24695
+ entityId: string;
24696
+ }) | ({
24697
+ kind: "entity";
24698
+ entityType: "trackedChange";
24699
+ entityId: string;
24700
+ story?: ({
24701
+ kind: "story";
24702
+ storyType: "body";
24703
+ }) | ({
24704
+ kind: "story";
24705
+ storyType: "headerFooterSlot";
24706
+ section: {
24707
+ kind: "section";
24708
+ sectionId: string;
24709
+ };
24710
+ headerFooterKind: "header" | "footer";
24711
+ variant: "default" | "first" | "even";
24712
+ resolution?: "effective" | "explicit";
24713
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
24714
+ }) | ({
24715
+ kind: "story";
24716
+ storyType: "headerFooterPart";
24717
+ refId: string;
24718
+ }) | ({
24719
+ kind: "story";
24720
+ storyType: "footnote";
24721
+ noteId: string;
24722
+ }) | ({
24723
+ kind: "story";
24724
+ storyType: "endnote";
24725
+ noteId: string;
24726
+ });
24727
+ })>;
24728
+ };
24159
24729
  export type DocTablesGetResult = {
24160
24730
  nodeId: string;
24161
24731
  address: {
@@ -25357,6 +25927,33 @@ export type DocBookmarksInsertResult = {
25357
25927
  kind: "entity";
25358
25928
  entityType: "bookmark";
25359
25929
  name: string;
25930
+ story?: ({
25931
+ kind: "story";
25932
+ storyType: "body";
25933
+ }) | ({
25934
+ kind: "story";
25935
+ storyType: "headerFooterSlot";
25936
+ section: {
25937
+ kind: "section";
25938
+ sectionId: string;
25939
+ };
25940
+ headerFooterKind: "header" | "footer";
25941
+ variant: "default" | "first" | "even";
25942
+ resolution?: "effective" | "explicit";
25943
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
25944
+ }) | ({
25945
+ kind: "story";
25946
+ storyType: "headerFooterPart";
25947
+ refId: string;
25948
+ }) | ({
25949
+ kind: "story";
25950
+ storyType: "footnote";
25951
+ noteId: string;
25952
+ }) | ({
25953
+ kind: "story";
25954
+ storyType: "endnote";
25955
+ noteId: string;
25956
+ });
25360
25957
  };
25361
25958
  };
25362
25959
  export type DocBookmarksRenameResult = {
@@ -25365,6 +25962,33 @@ export type DocBookmarksRenameResult = {
25365
25962
  kind: "entity";
25366
25963
  entityType: "bookmark";
25367
25964
  name: string;
25965
+ story?: ({
25966
+ kind: "story";
25967
+ storyType: "body";
25968
+ }) | ({
25969
+ kind: "story";
25970
+ storyType: "headerFooterSlot";
25971
+ section: {
25972
+ kind: "section";
25973
+ sectionId: string;
25974
+ };
25975
+ headerFooterKind: "header" | "footer";
25976
+ variant: "default" | "first" | "even";
25977
+ resolution?: "effective" | "explicit";
25978
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
25979
+ }) | ({
25980
+ kind: "story";
25981
+ storyType: "headerFooterPart";
25982
+ refId: string;
25983
+ }) | ({
25984
+ kind: "story";
25985
+ storyType: "footnote";
25986
+ noteId: string;
25987
+ }) | ({
25988
+ kind: "story";
25989
+ storyType: "endnote";
25990
+ noteId: string;
25991
+ });
25368
25992
  };
25369
25993
  };
25370
25994
  export type DocBookmarksRemoveResult = {
@@ -25373,6 +25997,33 @@ export type DocBookmarksRemoveResult = {
25373
25997
  kind: "entity";
25374
25998
  entityType: "bookmark";
25375
25999
  name: string;
26000
+ story?: ({
26001
+ kind: "story";
26002
+ storyType: "body";
26003
+ }) | ({
26004
+ kind: "story";
26005
+ storyType: "headerFooterSlot";
26006
+ section: {
26007
+ kind: "section";
26008
+ sectionId: string;
26009
+ };
26010
+ headerFooterKind: "header" | "footer";
26011
+ variant: "default" | "first" | "even";
26012
+ resolution?: "effective" | "explicit";
26013
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
26014
+ }) | ({
26015
+ kind: "story";
26016
+ storyType: "headerFooterPart";
26017
+ refId: string;
26018
+ }) | ({
26019
+ kind: "story";
26020
+ storyType: "footnote";
26021
+ noteId: string;
26022
+ }) | ({
26023
+ kind: "story";
26024
+ storyType: "endnote";
26025
+ noteId: string;
26026
+ });
25376
26027
  };
25377
26028
  };
25378
26029
  export type DocFootnotesListResult = Record<string, unknown>;
@@ -29768,6 +30419,18 @@ export interface DocListsDetachBoundParams {
29768
30419
  input?: Record<string, unknown> | unknown[];
29769
30420
  nodeId?: string;
29770
30421
  }
30422
+ export interface DocListsDeleteBoundParams {
30423
+ out?: string;
30424
+ force?: boolean;
30425
+ expectedRevision?: number;
30426
+ changeMode?: string;
30427
+ dryRun?: boolean;
30428
+ target: {
30429
+ kind: "block";
30430
+ nodeType: "listItem";
30431
+ nodeId: string;
30432
+ };
30433
+ }
29771
30434
  export interface DocListsIndentBoundParams {
29772
30435
  out?: string;
29773
30436
  force?: boolean;
@@ -30274,6 +30937,33 @@ export interface DocCommentsCreateBoundParams {
30274
30937
  end: number;
30275
30938
  };
30276
30939
  }>;
30940
+ story?: ({
30941
+ kind: "story";
30942
+ storyType: "body";
30943
+ }) | ({
30944
+ kind: "story";
30945
+ storyType: "headerFooterSlot";
30946
+ section: {
30947
+ kind: "section";
30948
+ sectionId: string;
30949
+ };
30950
+ headerFooterKind: "header" | "footer";
30951
+ variant: "default" | "first" | "even";
30952
+ resolution?: "effective" | "explicit";
30953
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
30954
+ }) | ({
30955
+ kind: "story";
30956
+ storyType: "headerFooterPart";
30957
+ refId: string;
30958
+ }) | ({
30959
+ kind: "story";
30960
+ storyType: "footnote";
30961
+ noteId: string;
30962
+ }) | ({
30963
+ kind: "story";
30964
+ storyType: "endnote";
30965
+ noteId: string;
30966
+ });
30277
30967
  });
30278
30968
  parentId?: string;
30279
30969
  blockId?: string;
@@ -31599,7 +32289,7 @@ export interface DocTablesInsertRowBoundParams {
31599
32289
  nodeType: "table";
31600
32290
  nodeId: string;
31601
32291
  });
31602
- position: string;
32292
+ position?: string;
31603
32293
  count?: number;
31604
32294
  rowIndex?: number;
31605
32295
  nodeId?: string;
@@ -31687,7 +32377,7 @@ export interface DocTablesInsertColumnBoundParams {
31687
32377
  nodeId: string;
31688
32378
  };
31689
32379
  nodeId?: string;
31690
- columnIndex: number;
32380
+ columnIndex?: number;
31691
32381
  position: string;
31692
32382
  count?: number;
31693
32383
  }
@@ -31837,6 +32527,26 @@ export interface DocTablesSetCellPropertiesBoundParams {
31837
32527
  wrapText?: boolean;
31838
32528
  fitText?: boolean;
31839
32529
  }
32530
+ export interface DocTablesSetCellTextBoundParams {
32531
+ out?: string;
32532
+ force?: boolean;
32533
+ expectedRevision?: number;
32534
+ changeMode?: string;
32535
+ dryRun?: boolean;
32536
+ target?: ({
32537
+ kind: "block";
32538
+ nodeType: "tableCell";
32539
+ nodeId: string;
32540
+ }) | ({
32541
+ kind: "block";
32542
+ nodeType: "table";
32543
+ nodeId: string;
32544
+ });
32545
+ text: string;
32546
+ nodeId?: string;
32547
+ rowIndex?: number;
32548
+ columnIndex?: number;
32549
+ }
31840
32550
  export interface DocTablesSortBoundParams {
31841
32551
  out?: string;
31842
32552
  force?: boolean;
@@ -31969,7 +32679,7 @@ export interface DocTablesSetShadingBoundParams {
31969
32679
  nodeId: string;
31970
32680
  };
31971
32681
  nodeId?: string;
31972
- color: string;
32682
+ color: string | unknown;
31973
32683
  }
31974
32684
  export interface DocTablesClearShadingBoundParams {
31975
32685
  out?: string;
@@ -32140,6 +32850,21 @@ export interface DocTablesSetTableOptionsBoundParams {
32140
32850
  };
32141
32851
  cellSpacingPt?: number | unknown;
32142
32852
  }
32853
+ export interface DocTablesApplyPresetBoundParams {
32854
+ out?: string;
32855
+ force?: boolean;
32856
+ expectedRevision?: number;
32857
+ changeMode?: string;
32858
+ dryRun?: boolean;
32859
+ target?: {
32860
+ kind: "block";
32861
+ nodeType: "table";
32862
+ nodeId: string;
32863
+ };
32864
+ nodeId?: string;
32865
+ preset: string;
32866
+ accentColor?: string;
32867
+ }
32143
32868
  export interface DocTablesGetBoundParams {
32144
32869
  target?: {
32145
32870
  kind: "block";
@@ -33650,19 +34375,73 @@ export interface DocContentControlsGroupUngroupBoundParams {
33650
34375
  export interface DocBookmarksListBoundParams {
33651
34376
  limit?: number;
33652
34377
  offset?: number;
33653
- }
33654
- export interface DocBookmarksGetBoundParams {
33655
- target: {
33656
- kind: "entity";
33657
- entityType: "bookmark";
33658
- name: string;
33659
- };
33660
- }
33661
- export interface DocBookmarksInsertBoundParams {
33662
- out?: string;
33663
- force?: boolean;
33664
- expectedRevision?: number;
33665
- changeMode?: string;
34378
+ in?: ({
34379
+ kind: "story";
34380
+ storyType: "body";
34381
+ }) | ({
34382
+ kind: "story";
34383
+ storyType: "headerFooterSlot";
34384
+ section: {
34385
+ kind: "section";
34386
+ sectionId: string;
34387
+ };
34388
+ headerFooterKind: "header" | "footer";
34389
+ variant: "default" | "first" | "even";
34390
+ resolution?: "effective" | "explicit";
34391
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34392
+ }) | ({
34393
+ kind: "story";
34394
+ storyType: "headerFooterPart";
34395
+ refId: string;
34396
+ }) | ({
34397
+ kind: "story";
34398
+ storyType: "footnote";
34399
+ noteId: string;
34400
+ }) | ({
34401
+ kind: "story";
34402
+ storyType: "endnote";
34403
+ noteId: string;
34404
+ });
34405
+ }
34406
+ export interface DocBookmarksGetBoundParams {
34407
+ target: {
34408
+ kind: "entity";
34409
+ entityType: "bookmark";
34410
+ name: string;
34411
+ story?: ({
34412
+ kind: "story";
34413
+ storyType: "body";
34414
+ }) | ({
34415
+ kind: "story";
34416
+ storyType: "headerFooterSlot";
34417
+ section: {
34418
+ kind: "section";
34419
+ sectionId: string;
34420
+ };
34421
+ headerFooterKind: "header" | "footer";
34422
+ variant: "default" | "first" | "even";
34423
+ resolution?: "effective" | "explicit";
34424
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34425
+ }) | ({
34426
+ kind: "story";
34427
+ storyType: "headerFooterPart";
34428
+ refId: string;
34429
+ }) | ({
34430
+ kind: "story";
34431
+ storyType: "footnote";
34432
+ noteId: string;
34433
+ }) | ({
34434
+ kind: "story";
34435
+ storyType: "endnote";
34436
+ noteId: string;
34437
+ });
34438
+ };
34439
+ }
34440
+ export interface DocBookmarksInsertBoundParams {
34441
+ out?: string;
34442
+ force?: boolean;
34443
+ expectedRevision?: number;
34444
+ changeMode?: string;
33666
34445
  dryRun?: boolean;
33667
34446
  name: string;
33668
34447
  at: {
@@ -33674,6 +34453,33 @@ export interface DocBookmarksInsertBoundParams {
33674
34453
  end: number;
33675
34454
  };
33676
34455
  }>;
34456
+ story?: ({
34457
+ kind: "story";
34458
+ storyType: "body";
34459
+ }) | ({
34460
+ kind: "story";
34461
+ storyType: "headerFooterSlot";
34462
+ section: {
34463
+ kind: "section";
34464
+ sectionId: string;
34465
+ };
34466
+ headerFooterKind: "header" | "footer";
34467
+ variant: "default" | "first" | "even";
34468
+ resolution?: "effective" | "explicit";
34469
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34470
+ }) | ({
34471
+ kind: "story";
34472
+ storyType: "headerFooterPart";
34473
+ refId: string;
34474
+ }) | ({
34475
+ kind: "story";
34476
+ storyType: "footnote";
34477
+ noteId: string;
34478
+ }) | ({
34479
+ kind: "story";
34480
+ storyType: "endnote";
34481
+ noteId: string;
34482
+ });
33677
34483
  };
33678
34484
  tableColumn?: {
33679
34485
  colFirst: number;
@@ -33690,6 +34496,33 @@ export interface DocBookmarksRenameBoundParams {
33690
34496
  kind: "entity";
33691
34497
  entityType: "bookmark";
33692
34498
  name: string;
34499
+ story?: ({
34500
+ kind: "story";
34501
+ storyType: "body";
34502
+ }) | ({
34503
+ kind: "story";
34504
+ storyType: "headerFooterSlot";
34505
+ section: {
34506
+ kind: "section";
34507
+ sectionId: string;
34508
+ };
34509
+ headerFooterKind: "header" | "footer";
34510
+ variant: "default" | "first" | "even";
34511
+ resolution?: "effective" | "explicit";
34512
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34513
+ }) | ({
34514
+ kind: "story";
34515
+ storyType: "headerFooterPart";
34516
+ refId: string;
34517
+ }) | ({
34518
+ kind: "story";
34519
+ storyType: "footnote";
34520
+ noteId: string;
34521
+ }) | ({
34522
+ kind: "story";
34523
+ storyType: "endnote";
34524
+ noteId: string;
34525
+ });
33693
34526
  };
33694
34527
  newName: string;
33695
34528
  }
@@ -33703,6 +34536,33 @@ export interface DocBookmarksRemoveBoundParams {
33703
34536
  kind: "entity";
33704
34537
  entityType: "bookmark";
33705
34538
  name: string;
34539
+ story?: ({
34540
+ kind: "story";
34541
+ storyType: "body";
34542
+ }) | ({
34543
+ kind: "story";
34544
+ storyType: "headerFooterSlot";
34545
+ section: {
34546
+ kind: "section";
34547
+ sectionId: string;
34548
+ };
34549
+ headerFooterKind: "header" | "footer";
34550
+ variant: "default" | "first" | "even";
34551
+ resolution?: "effective" | "explicit";
34552
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34553
+ }) | ({
34554
+ kind: "story";
34555
+ storyType: "headerFooterPart";
34556
+ refId: string;
34557
+ }) | ({
34558
+ kind: "story";
34559
+ storyType: "footnote";
34560
+ noteId: string;
34561
+ }) | ({
34562
+ kind: "story";
34563
+ storyType: "endnote";
34564
+ noteId: string;
34565
+ });
33706
34566
  };
33707
34567
  }
33708
34568
  export interface DocFootnotesListBoundParams {
@@ -33732,6 +34592,33 @@ export interface DocFootnotesInsertBoundParams {
33732
34592
  end: number;
33733
34593
  };
33734
34594
  }>;
34595
+ story?: ({
34596
+ kind: "story";
34597
+ storyType: "body";
34598
+ }) | ({
34599
+ kind: "story";
34600
+ storyType: "headerFooterSlot";
34601
+ section: {
34602
+ kind: "section";
34603
+ sectionId: string;
34604
+ };
34605
+ headerFooterKind: "header" | "footer";
34606
+ variant: "default" | "first" | "even";
34607
+ resolution?: "effective" | "explicit";
34608
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34609
+ }) | ({
34610
+ kind: "story";
34611
+ storyType: "headerFooterPart";
34612
+ refId: string;
34613
+ }) | ({
34614
+ kind: "story";
34615
+ storyType: "footnote";
34616
+ noteId: string;
34617
+ }) | ({
34618
+ kind: "story";
34619
+ storyType: "endnote";
34620
+ noteId: string;
34621
+ });
33735
34622
  };
33736
34623
  type: string;
33737
34624
  content: string;
@@ -33818,6 +34705,33 @@ export interface DocCrossRefsInsertBoundParams {
33818
34705
  end: number;
33819
34706
  };
33820
34707
  }>;
34708
+ story?: ({
34709
+ kind: "story";
34710
+ storyType: "body";
34711
+ }) | ({
34712
+ kind: "story";
34713
+ storyType: "headerFooterSlot";
34714
+ section: {
34715
+ kind: "section";
34716
+ sectionId: string;
34717
+ };
34718
+ headerFooterKind: "header" | "footer";
34719
+ variant: "default" | "first" | "even";
34720
+ resolution?: "effective" | "explicit";
34721
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34722
+ }) | ({
34723
+ kind: "story";
34724
+ storyType: "headerFooterPart";
34725
+ refId: string;
34726
+ }) | ({
34727
+ kind: "story";
34728
+ storyType: "footnote";
34729
+ noteId: string;
34730
+ }) | ({
34731
+ kind: "story";
34732
+ storyType: "endnote";
34733
+ noteId: string;
34734
+ });
33821
34735
  };
33822
34736
  target: ({
33823
34737
  kind: "bookmark";
@@ -34022,6 +34936,33 @@ export interface DocIndexEntriesInsertBoundParams {
34022
34936
  end: number;
34023
34937
  };
34024
34938
  }>;
34939
+ story?: ({
34940
+ kind: "story";
34941
+ storyType: "body";
34942
+ }) | ({
34943
+ kind: "story";
34944
+ storyType: "headerFooterSlot";
34945
+ section: {
34946
+ kind: "section";
34947
+ sectionId: string;
34948
+ };
34949
+ headerFooterKind: "header" | "footer";
34950
+ variant: "default" | "first" | "even";
34951
+ resolution?: "effective" | "explicit";
34952
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34953
+ }) | ({
34954
+ kind: "story";
34955
+ storyType: "headerFooterPart";
34956
+ refId: string;
34957
+ }) | ({
34958
+ kind: "story";
34959
+ storyType: "footnote";
34960
+ noteId: string;
34961
+ }) | ({
34962
+ kind: "story";
34963
+ storyType: "endnote";
34964
+ noteId: string;
34965
+ });
34025
34966
  };
34026
34967
  entry: {
34027
34968
  text: string;
@@ -34179,6 +35120,33 @@ export interface DocFieldsInsertBoundParams {
34179
35120
  end: number;
34180
35121
  };
34181
35122
  }>;
35123
+ story?: ({
35124
+ kind: "story";
35125
+ storyType: "body";
35126
+ }) | ({
35127
+ kind: "story";
35128
+ storyType: "headerFooterSlot";
35129
+ section: {
35130
+ kind: "section";
35131
+ sectionId: string;
35132
+ };
35133
+ headerFooterKind: "header" | "footer";
35134
+ variant: "default" | "first" | "even";
35135
+ resolution?: "effective" | "explicit";
35136
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35137
+ }) | ({
35138
+ kind: "story";
35139
+ storyType: "headerFooterPart";
35140
+ refId: string;
35141
+ }) | ({
35142
+ kind: "story";
35143
+ storyType: "footnote";
35144
+ noteId: string;
35145
+ }) | ({
35146
+ kind: "story";
35147
+ storyType: "endnote";
35148
+ noteId: string;
35149
+ });
34182
35150
  };
34183
35151
  instruction: string;
34184
35152
  }
@@ -34244,6 +35212,33 @@ export interface DocCitationsInsertBoundParams {
34244
35212
  end: number;
34245
35213
  };
34246
35214
  }>;
35215
+ story?: ({
35216
+ kind: "story";
35217
+ storyType: "body";
35218
+ }) | ({
35219
+ kind: "story";
35220
+ storyType: "headerFooterSlot";
35221
+ section: {
35222
+ kind: "section";
35223
+ sectionId: string;
35224
+ };
35225
+ headerFooterKind: "header" | "footer";
35226
+ variant: "default" | "first" | "even";
35227
+ resolution?: "effective" | "explicit";
35228
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35229
+ }) | ({
35230
+ kind: "story";
35231
+ storyType: "headerFooterPart";
35232
+ refId: string;
35233
+ }) | ({
35234
+ kind: "story";
35235
+ storyType: "footnote";
35236
+ noteId: string;
35237
+ }) | ({
35238
+ kind: "story";
35239
+ storyType: "endnote";
35240
+ noteId: string;
35241
+ });
34247
35242
  };
34248
35243
  sourceIds: string[];
34249
35244
  }
@@ -34594,6 +35589,33 @@ export interface DocAuthoritiesEntriesInsertBoundParams {
34594
35589
  end: number;
34595
35590
  };
34596
35591
  }>;
35592
+ story?: ({
35593
+ kind: "story";
35594
+ storyType: "body";
35595
+ }) | ({
35596
+ kind: "story";
35597
+ storyType: "headerFooterSlot";
35598
+ section: {
35599
+ kind: "section";
35600
+ sectionId: string;
35601
+ };
35602
+ headerFooterKind: "header" | "footer";
35603
+ variant: "default" | "first" | "even";
35604
+ resolution?: "effective" | "explicit";
35605
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35606
+ }) | ({
35607
+ kind: "story";
35608
+ storyType: "headerFooterPart";
35609
+ refId: string;
35610
+ }) | ({
35611
+ kind: "story";
35612
+ storyType: "footnote";
35613
+ noteId: string;
35614
+ }) | ({
35615
+ kind: "story";
35616
+ storyType: "endnote";
35617
+ noteId: string;
35618
+ });
34597
35619
  };
34598
35620
  entry: {
34599
35621
  longCitation: string;
@@ -34958,6 +35980,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
34958
35980
  create: (params?: DocListsCreateParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
34959
35981
  attach: (params?: DocListsAttachParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
34960
35982
  detach: (params?: DocListsDetachParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
35983
+ delete: (params: DocListsDeleteParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
34961
35984
  indent: (params?: DocListsIndentParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
34962
35985
  outdent: (params?: DocListsOutdentParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
34963
35986
  join: (params?: DocListsJoinParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
@@ -35027,7 +36050,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
35027
36050
  split: (params: DocTablesSplitParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
35028
36051
  convertToText: (params?: DocTablesConvertToTextParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
35029
36052
  setLayout: (params?: DocTablesSetLayoutParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
35030
- insertRow: (params: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
36053
+ insertRow: (params?: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
35031
36054
  deleteRow: (params?: DocTablesDeleteRowParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
35032
36055
  setRowHeight: (params: DocTablesSetRowHeightParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
35033
36056
  distributeRows: (params?: DocTablesDistributeRowsParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
@@ -35042,6 +36065,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
35042
36065
  unmergeCells: (params?: DocTablesUnmergeCellsParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
35043
36066
  splitCell: (params: DocTablesSplitCellParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
35044
36067
  setCellProperties: (params?: DocTablesSetCellPropertiesParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
36068
+ setCellText: (params: DocTablesSetCellTextParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
35045
36069
  sort: (params: DocTablesSortParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
35046
36070
  setAltText: (params?: DocTablesSetAltTextParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
35047
36071
  setStyle: (params: DocTablesSetStyleParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
@@ -35059,6 +36083,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
35059
36083
  applyStyle: (params?: DocTablesApplyStyleParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
35060
36084
  setBorders: (params: DocTablesSetBordersParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
35061
36085
  setTableOptions: (params?: DocTablesSetTableOptionsParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
36086
+ applyPreset: (params: DocTablesApplyPresetParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
35062
36087
  get: (params?: DocTablesGetParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
35063
36088
  getCells: (params?: DocTablesGetCellsParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
35064
36089
  getProperties: (params?: DocTablesGetPropertiesParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
@@ -35455,6 +36480,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35455
36480
  create: (params?: DocListsCreateBoundParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
35456
36481
  attach: (params?: DocListsAttachBoundParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
35457
36482
  detach: (params?: DocListsDetachBoundParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
36483
+ delete: (params: DocListsDeleteBoundParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
35458
36484
  indent: (params?: DocListsIndentBoundParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
35459
36485
  outdent: (params?: DocListsOutdentBoundParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
35460
36486
  join: (params?: DocListsJoinBoundParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
@@ -35524,7 +36550,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35524
36550
  split: (params: DocTablesSplitBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
35525
36551
  convertToText: (params?: DocTablesConvertToTextBoundParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
35526
36552
  setLayout: (params?: DocTablesSetLayoutBoundParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
35527
- insertRow: (params: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
36553
+ insertRow: (params?: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
35528
36554
  deleteRow: (params?: DocTablesDeleteRowBoundParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
35529
36555
  setRowHeight: (params: DocTablesSetRowHeightBoundParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
35530
36556
  distributeRows: (params?: DocTablesDistributeRowsBoundParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
@@ -35539,6 +36565,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35539
36565
  unmergeCells: (params?: DocTablesUnmergeCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
35540
36566
  splitCell: (params: DocTablesSplitCellBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
35541
36567
  setCellProperties: (params?: DocTablesSetCellPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
36568
+ setCellText: (params: DocTablesSetCellTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
35542
36569
  sort: (params: DocTablesSortBoundParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
35543
36570
  setAltText: (params?: DocTablesSetAltTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
35544
36571
  setStyle: (params: DocTablesSetStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
@@ -35556,6 +36583,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
35556
36583
  applyStyle: (params?: DocTablesApplyStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
35557
36584
  setBorders: (params: DocTablesSetBordersBoundParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
35558
36585
  setTableOptions: (params?: DocTablesSetTableOptionsBoundParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
36586
+ applyPreset: (params: DocTablesApplyPresetBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
35559
36587
  get: (params?: DocTablesGetBoundParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
35560
36588
  getCells: (params?: DocTablesGetCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
35561
36589
  getProperties: (params?: DocTablesGetPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;