@superdoc-dev/sdk 1.8.0-next.6 → 1.8.0-next.61

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.
@@ -4493,6 +4493,33 @@ export interface DocCommentsCreateParams {
4493
4493
  end: number;
4494
4494
  };
4495
4495
  }>;
4496
+ story?: ({
4497
+ kind: "story";
4498
+ storyType: "body";
4499
+ }) | ({
4500
+ kind: "story";
4501
+ storyType: "headerFooterSlot";
4502
+ section: {
4503
+ kind: "section";
4504
+ sectionId: string;
4505
+ };
4506
+ headerFooterKind: "header" | "footer";
4507
+ variant: "default" | "first" | "even";
4508
+ resolution?: "effective" | "explicit";
4509
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
4510
+ }) | ({
4511
+ kind: "story";
4512
+ storyType: "headerFooterPart";
4513
+ refId: string;
4514
+ }) | ({
4515
+ kind: "story";
4516
+ storyType: "footnote";
4517
+ noteId: string;
4518
+ }) | ({
4519
+ kind: "story";
4520
+ storyType: "endnote";
4521
+ noteId: string;
4522
+ });
4496
4523
  });
4497
4524
  parentId?: string;
4498
4525
  blockId?: string;
@@ -8212,6 +8239,33 @@ export interface DocBookmarksListParams {
8212
8239
  sessionId?: string;
8213
8240
  limit?: number;
8214
8241
  offset?: number;
8242
+ in?: ({
8243
+ kind: "story";
8244
+ storyType: "body";
8245
+ }) | ({
8246
+ kind: "story";
8247
+ storyType: "headerFooterSlot";
8248
+ section: {
8249
+ kind: "section";
8250
+ sectionId: string;
8251
+ };
8252
+ headerFooterKind: "header" | "footer";
8253
+ variant: "default" | "first" | "even";
8254
+ resolution?: "effective" | "explicit";
8255
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8256
+ }) | ({
8257
+ kind: "story";
8258
+ storyType: "headerFooterPart";
8259
+ refId: string;
8260
+ }) | ({
8261
+ kind: "story";
8262
+ storyType: "footnote";
8263
+ noteId: string;
8264
+ }) | ({
8265
+ kind: "story";
8266
+ storyType: "endnote";
8267
+ noteId: string;
8268
+ });
8215
8269
  }
8216
8270
  export interface DocBookmarksGetParams {
8217
8271
  doc?: string;
@@ -8220,6 +8274,33 @@ export interface DocBookmarksGetParams {
8220
8274
  kind: "entity";
8221
8275
  entityType: "bookmark";
8222
8276
  name: string;
8277
+ story?: ({
8278
+ kind: "story";
8279
+ storyType: "body";
8280
+ }) | ({
8281
+ kind: "story";
8282
+ storyType: "headerFooterSlot";
8283
+ section: {
8284
+ kind: "section";
8285
+ sectionId: string;
8286
+ };
8287
+ headerFooterKind: "header" | "footer";
8288
+ variant: "default" | "first" | "even";
8289
+ resolution?: "effective" | "explicit";
8290
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8291
+ }) | ({
8292
+ kind: "story";
8293
+ storyType: "headerFooterPart";
8294
+ refId: string;
8295
+ }) | ({
8296
+ kind: "story";
8297
+ storyType: "footnote";
8298
+ noteId: string;
8299
+ }) | ({
8300
+ kind: "story";
8301
+ storyType: "endnote";
8302
+ noteId: string;
8303
+ });
8223
8304
  };
8224
8305
  }
8225
8306
  export interface DocBookmarksInsertParams {
@@ -8240,6 +8321,33 @@ export interface DocBookmarksInsertParams {
8240
8321
  end: number;
8241
8322
  };
8242
8323
  }>;
8324
+ story?: ({
8325
+ kind: "story";
8326
+ storyType: "body";
8327
+ }) | ({
8328
+ kind: "story";
8329
+ storyType: "headerFooterSlot";
8330
+ section: {
8331
+ kind: "section";
8332
+ sectionId: string;
8333
+ };
8334
+ headerFooterKind: "header" | "footer";
8335
+ variant: "default" | "first" | "even";
8336
+ resolution?: "effective" | "explicit";
8337
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8338
+ }) | ({
8339
+ kind: "story";
8340
+ storyType: "headerFooterPart";
8341
+ refId: string;
8342
+ }) | ({
8343
+ kind: "story";
8344
+ storyType: "footnote";
8345
+ noteId: string;
8346
+ }) | ({
8347
+ kind: "story";
8348
+ storyType: "endnote";
8349
+ noteId: string;
8350
+ });
8243
8351
  };
8244
8352
  tableColumn?: {
8245
8353
  colFirst: number;
@@ -8258,6 +8366,33 @@ export interface DocBookmarksRenameParams {
8258
8366
  kind: "entity";
8259
8367
  entityType: "bookmark";
8260
8368
  name: string;
8369
+ story?: ({
8370
+ kind: "story";
8371
+ storyType: "body";
8372
+ }) | ({
8373
+ kind: "story";
8374
+ storyType: "headerFooterSlot";
8375
+ section: {
8376
+ kind: "section";
8377
+ sectionId: string;
8378
+ };
8379
+ headerFooterKind: "header" | "footer";
8380
+ variant: "default" | "first" | "even";
8381
+ resolution?: "effective" | "explicit";
8382
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8383
+ }) | ({
8384
+ kind: "story";
8385
+ storyType: "headerFooterPart";
8386
+ refId: string;
8387
+ }) | ({
8388
+ kind: "story";
8389
+ storyType: "footnote";
8390
+ noteId: string;
8391
+ }) | ({
8392
+ kind: "story";
8393
+ storyType: "endnote";
8394
+ noteId: string;
8395
+ });
8261
8396
  };
8262
8397
  newName: string;
8263
8398
  }
@@ -8273,6 +8408,33 @@ export interface DocBookmarksRemoveParams {
8273
8408
  kind: "entity";
8274
8409
  entityType: "bookmark";
8275
8410
  name: string;
8411
+ story?: ({
8412
+ kind: "story";
8413
+ storyType: "body";
8414
+ }) | ({
8415
+ kind: "story";
8416
+ storyType: "headerFooterSlot";
8417
+ section: {
8418
+ kind: "section";
8419
+ sectionId: string;
8420
+ };
8421
+ headerFooterKind: "header" | "footer";
8422
+ variant: "default" | "first" | "even";
8423
+ resolution?: "effective" | "explicit";
8424
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8425
+ }) | ({
8426
+ kind: "story";
8427
+ storyType: "headerFooterPart";
8428
+ refId: string;
8429
+ }) | ({
8430
+ kind: "story";
8431
+ storyType: "footnote";
8432
+ noteId: string;
8433
+ }) | ({
8434
+ kind: "story";
8435
+ storyType: "endnote";
8436
+ noteId: string;
8437
+ });
8276
8438
  };
8277
8439
  }
8278
8440
  export interface DocFootnotesListParams {
@@ -8308,6 +8470,33 @@ export interface DocFootnotesInsertParams {
8308
8470
  end: number;
8309
8471
  };
8310
8472
  }>;
8473
+ story?: ({
8474
+ kind: "story";
8475
+ storyType: "body";
8476
+ }) | ({
8477
+ kind: "story";
8478
+ storyType: "headerFooterSlot";
8479
+ section: {
8480
+ kind: "section";
8481
+ sectionId: string;
8482
+ };
8483
+ headerFooterKind: "header" | "footer";
8484
+ variant: "default" | "first" | "even";
8485
+ resolution?: "effective" | "explicit";
8486
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8487
+ }) | ({
8488
+ kind: "story";
8489
+ storyType: "headerFooterPart";
8490
+ refId: string;
8491
+ }) | ({
8492
+ kind: "story";
8493
+ storyType: "footnote";
8494
+ noteId: string;
8495
+ }) | ({
8496
+ kind: "story";
8497
+ storyType: "endnote";
8498
+ noteId: string;
8499
+ });
8311
8500
  };
8312
8501
  type: string;
8313
8502
  content: string;
@@ -8406,6 +8595,33 @@ export interface DocCrossRefsInsertParams {
8406
8595
  end: number;
8407
8596
  };
8408
8597
  }>;
8598
+ story?: ({
8599
+ kind: "story";
8600
+ storyType: "body";
8601
+ }) | ({
8602
+ kind: "story";
8603
+ storyType: "headerFooterSlot";
8604
+ section: {
8605
+ kind: "section";
8606
+ sectionId: string;
8607
+ };
8608
+ headerFooterKind: "header" | "footer";
8609
+ variant: "default" | "first" | "even";
8610
+ resolution?: "effective" | "explicit";
8611
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8612
+ }) | ({
8613
+ kind: "story";
8614
+ storyType: "headerFooterPart";
8615
+ refId: string;
8616
+ }) | ({
8617
+ kind: "story";
8618
+ storyType: "footnote";
8619
+ noteId: string;
8620
+ }) | ({
8621
+ kind: "story";
8622
+ storyType: "endnote";
8623
+ noteId: string;
8624
+ });
8409
8625
  };
8410
8626
  target: ({
8411
8627
  kind: "bookmark";
@@ -8632,6 +8848,33 @@ export interface DocIndexEntriesInsertParams {
8632
8848
  end: number;
8633
8849
  };
8634
8850
  }>;
8851
+ story?: ({
8852
+ kind: "story";
8853
+ storyType: "body";
8854
+ }) | ({
8855
+ kind: "story";
8856
+ storyType: "headerFooterSlot";
8857
+ section: {
8858
+ kind: "section";
8859
+ sectionId: string;
8860
+ };
8861
+ headerFooterKind: "header" | "footer";
8862
+ variant: "default" | "first" | "even";
8863
+ resolution?: "effective" | "explicit";
8864
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
8865
+ }) | ({
8866
+ kind: "story";
8867
+ storyType: "headerFooterPart";
8868
+ refId: string;
8869
+ }) | ({
8870
+ kind: "story";
8871
+ storyType: "footnote";
8872
+ noteId: string;
8873
+ }) | ({
8874
+ kind: "story";
8875
+ storyType: "endnote";
8876
+ noteId: string;
8877
+ });
8635
8878
  };
8636
8879
  entry: {
8637
8880
  text: string;
@@ -8811,19 +9054,46 @@ export interface DocFieldsInsertParams {
8811
9054
  end: number;
8812
9055
  };
8813
9056
  }>;
8814
- };
8815
- instruction: string;
8816
- }
8817
- export interface DocFieldsRebuildParams {
8818
- doc?: string;
8819
- sessionId?: string;
8820
- out?: string;
8821
- force?: boolean;
8822
- expectedRevision?: number;
8823
- changeMode?: string;
8824
- dryRun?: boolean;
8825
- target: {
8826
- kind: "field";
9057
+ story?: ({
9058
+ kind: "story";
9059
+ storyType: "body";
9060
+ }) | ({
9061
+ kind: "story";
9062
+ storyType: "headerFooterSlot";
9063
+ section: {
9064
+ kind: "section";
9065
+ sectionId: string;
9066
+ };
9067
+ headerFooterKind: "header" | "footer";
9068
+ variant: "default" | "first" | "even";
9069
+ resolution?: "effective" | "explicit";
9070
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
9071
+ }) | ({
9072
+ kind: "story";
9073
+ storyType: "headerFooterPart";
9074
+ refId: string;
9075
+ }) | ({
9076
+ kind: "story";
9077
+ storyType: "footnote";
9078
+ noteId: string;
9079
+ }) | ({
9080
+ kind: "story";
9081
+ storyType: "endnote";
9082
+ noteId: string;
9083
+ });
9084
+ };
9085
+ instruction: string;
9086
+ }
9087
+ export interface DocFieldsRebuildParams {
9088
+ doc?: string;
9089
+ sessionId?: string;
9090
+ out?: string;
9091
+ force?: boolean;
9092
+ expectedRevision?: number;
9093
+ changeMode?: string;
9094
+ dryRun?: boolean;
9095
+ target: {
9096
+ kind: "field";
8827
9097
  blockId: string;
8828
9098
  occurrenceIndex: number;
8829
9099
  nestingDepth?: number;
@@ -8886,6 +9156,33 @@ export interface DocCitationsInsertParams {
8886
9156
  end: number;
8887
9157
  };
8888
9158
  }>;
9159
+ story?: ({
9160
+ kind: "story";
9161
+ storyType: "body";
9162
+ }) | ({
9163
+ kind: "story";
9164
+ storyType: "headerFooterSlot";
9165
+ section: {
9166
+ kind: "section";
9167
+ sectionId: string;
9168
+ };
9169
+ headerFooterKind: "header" | "footer";
9170
+ variant: "default" | "first" | "even";
9171
+ resolution?: "effective" | "explicit";
9172
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
9173
+ }) | ({
9174
+ kind: "story";
9175
+ storyType: "headerFooterPart";
9176
+ refId: string;
9177
+ }) | ({
9178
+ kind: "story";
9179
+ storyType: "footnote";
9180
+ noteId: string;
9181
+ }) | ({
9182
+ kind: "story";
9183
+ storyType: "endnote";
9184
+ noteId: string;
9185
+ });
8889
9186
  };
8890
9187
  sourceIds: string[];
8891
9188
  }
@@ -9278,6 +9575,33 @@ export interface DocAuthoritiesEntriesInsertParams {
9278
9575
  end: number;
9279
9576
  };
9280
9577
  }>;
9578
+ story?: ({
9579
+ kind: "story";
9580
+ storyType: "body";
9581
+ }) | ({
9582
+ kind: "story";
9583
+ storyType: "headerFooterSlot";
9584
+ section: {
9585
+ kind: "section";
9586
+ sectionId: string;
9587
+ };
9588
+ headerFooterKind: "header" | "footer";
9589
+ variant: "default" | "first" | "even";
9590
+ resolution?: "effective" | "explicit";
9591
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
9592
+ }) | ({
9593
+ kind: "story";
9594
+ storyType: "headerFooterPart";
9595
+ refId: string;
9596
+ }) | ({
9597
+ kind: "story";
9598
+ storyType: "footnote";
9599
+ noteId: string;
9600
+ }) | ({
9601
+ kind: "story";
9602
+ storyType: "endnote";
9603
+ noteId: string;
9604
+ });
9281
9605
  };
9282
9606
  entry: {
9283
9607
  longCitation: string;
@@ -9737,6 +10061,13 @@ export type DocExtractResult = {
9737
10061
  nodeId: string;
9738
10062
  type: string;
9739
10063
  text: string;
10064
+ textSpans?: Array<{
10065
+ text: string;
10066
+ trackedChanges?: Array<{
10067
+ entityId: string;
10068
+ type: "insert" | "delete" | "format";
10069
+ }>;
10070
+ }>;
9740
10071
  headingLevel?: number;
9741
10072
  tableContext?: {
9742
10073
  tableOrdinal: number;
@@ -9760,6 +10091,12 @@ export type DocExtractResult = {
9760
10091
  trackedChanges: Array<{
9761
10092
  entityId: string;
9762
10093
  type: "insert" | "delete" | "format";
10094
+ blockIds?: Array<string>;
10095
+ wordRevisionIds?: {
10096
+ insert?: string;
10097
+ delete?: string;
10098
+ format?: string;
10099
+ };
9763
10100
  excerpt?: string;
9764
10101
  author?: string;
9765
10102
  date?: string;
@@ -19241,6 +19578,33 @@ export type DocCommentsGetResult = {
19241
19578
  end: number;
19242
19579
  };
19243
19580
  }>;
19581
+ story?: ({
19582
+ kind: "story";
19583
+ storyType: "body";
19584
+ }) | ({
19585
+ kind: "story";
19586
+ storyType: "headerFooterSlot";
19587
+ section: {
19588
+ kind: "section";
19589
+ sectionId: string;
19590
+ };
19591
+ headerFooterKind: "header" | "footer";
19592
+ variant: "default" | "first" | "even";
19593
+ resolution?: "effective" | "explicit";
19594
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
19595
+ }) | ({
19596
+ kind: "story";
19597
+ storyType: "headerFooterPart";
19598
+ refId: string;
19599
+ }) | ({
19600
+ kind: "story";
19601
+ storyType: "footnote";
19602
+ noteId: string;
19603
+ }) | ({
19604
+ kind: "story";
19605
+ storyType: "endnote";
19606
+ noteId: string;
19607
+ });
19244
19608
  };
19245
19609
  anchoredText?: string;
19246
19610
  createdTime?: number;
@@ -19276,6 +19640,33 @@ export type DocCommentsListResult = {
19276
19640
  end: number;
19277
19641
  };
19278
19642
  }>;
19643
+ story?: ({
19644
+ kind: "story";
19645
+ storyType: "body";
19646
+ }) | ({
19647
+ kind: "story";
19648
+ storyType: "headerFooterSlot";
19649
+ section: {
19650
+ kind: "section";
19651
+ sectionId: string;
19652
+ };
19653
+ headerFooterKind: "header" | "footer";
19654
+ variant: "default" | "first" | "even";
19655
+ resolution?: "effective" | "explicit";
19656
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
19657
+ }) | ({
19658
+ kind: "story";
19659
+ storyType: "headerFooterPart";
19660
+ refId: string;
19661
+ }) | ({
19662
+ kind: "story";
19663
+ storyType: "footnote";
19664
+ noteId: string;
19665
+ }) | ({
19666
+ kind: "story";
19667
+ storyType: "endnote";
19668
+ noteId: string;
19669
+ });
19279
19670
  };
19280
19671
  anchoredText?: string;
19281
19672
  createdTime?: number;
@@ -19732,8 +20123,37 @@ export type DocSelectionCurrentResult = {
19732
20123
  end: number;
19733
20124
  };
19734
20125
  }>;
20126
+ story?: ({
20127
+ kind: "story";
20128
+ storyType: "body";
20129
+ }) | ({
20130
+ kind: "story";
20131
+ storyType: "headerFooterSlot";
20132
+ section: {
20133
+ kind: "section";
20134
+ sectionId: string;
20135
+ };
20136
+ headerFooterKind: "header" | "footer";
20137
+ variant: "default" | "first" | "even";
20138
+ resolution?: "effective" | "explicit";
20139
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
20140
+ }) | ({
20141
+ kind: "story";
20142
+ storyType: "headerFooterPart";
20143
+ refId: string;
20144
+ }) | ({
20145
+ kind: "story";
20146
+ storyType: "footnote";
20147
+ noteId: string;
20148
+ }) | ({
20149
+ kind: "story";
20150
+ storyType: "endnote";
20151
+ noteId: string;
20152
+ });
19735
20153
  }) | null;
19736
20154
  activeMarks: Array<string>;
20155
+ activeCommentIds: Array<string>;
20156
+ activeChangeIds: Array<string>;
19737
20157
  text?: string;
19738
20158
  };
19739
20159
  export type DocMutationsPreviewResult = {
@@ -25344,6 +25764,33 @@ export type DocBookmarksInsertResult = {
25344
25764
  kind: "entity";
25345
25765
  entityType: "bookmark";
25346
25766
  name: string;
25767
+ story?: ({
25768
+ kind: "story";
25769
+ storyType: "body";
25770
+ }) | ({
25771
+ kind: "story";
25772
+ storyType: "headerFooterSlot";
25773
+ section: {
25774
+ kind: "section";
25775
+ sectionId: string;
25776
+ };
25777
+ headerFooterKind: "header" | "footer";
25778
+ variant: "default" | "first" | "even";
25779
+ resolution?: "effective" | "explicit";
25780
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
25781
+ }) | ({
25782
+ kind: "story";
25783
+ storyType: "headerFooterPart";
25784
+ refId: string;
25785
+ }) | ({
25786
+ kind: "story";
25787
+ storyType: "footnote";
25788
+ noteId: string;
25789
+ }) | ({
25790
+ kind: "story";
25791
+ storyType: "endnote";
25792
+ noteId: string;
25793
+ });
25347
25794
  };
25348
25795
  };
25349
25796
  export type DocBookmarksRenameResult = {
@@ -25352,6 +25799,33 @@ export type DocBookmarksRenameResult = {
25352
25799
  kind: "entity";
25353
25800
  entityType: "bookmark";
25354
25801
  name: string;
25802
+ story?: ({
25803
+ kind: "story";
25804
+ storyType: "body";
25805
+ }) | ({
25806
+ kind: "story";
25807
+ storyType: "headerFooterSlot";
25808
+ section: {
25809
+ kind: "section";
25810
+ sectionId: string;
25811
+ };
25812
+ headerFooterKind: "header" | "footer";
25813
+ variant: "default" | "first" | "even";
25814
+ resolution?: "effective" | "explicit";
25815
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
25816
+ }) | ({
25817
+ kind: "story";
25818
+ storyType: "headerFooterPart";
25819
+ refId: string;
25820
+ }) | ({
25821
+ kind: "story";
25822
+ storyType: "footnote";
25823
+ noteId: string;
25824
+ }) | ({
25825
+ kind: "story";
25826
+ storyType: "endnote";
25827
+ noteId: string;
25828
+ });
25355
25829
  };
25356
25830
  };
25357
25831
  export type DocBookmarksRemoveResult = {
@@ -25360,25 +25834,52 @@ export type DocBookmarksRemoveResult = {
25360
25834
  kind: "entity";
25361
25835
  entityType: "bookmark";
25362
25836
  name: string;
25363
- };
25364
- };
25365
- export type DocFootnotesListResult = Record<string, unknown>;
25366
- export type DocFootnotesGetResult = Record<string, unknown>;
25367
- export type DocFootnotesInsertResult = {
25368
- success: true;
25369
- footnote: {
25370
- kind: "entity";
25371
- entityType: "footnote";
25372
- noteId: string;
25373
- };
25374
- };
25375
- export type DocFootnotesUpdateResult = {
25376
- success: true;
25377
- footnote: {
25378
- kind: "entity";
25379
- entityType: "footnote";
25380
- noteId: string;
25381
- };
25837
+ story?: ({
25838
+ kind: "story";
25839
+ storyType: "body";
25840
+ }) | ({
25841
+ kind: "story";
25842
+ storyType: "headerFooterSlot";
25843
+ section: {
25844
+ kind: "section";
25845
+ sectionId: string;
25846
+ };
25847
+ headerFooterKind: "header" | "footer";
25848
+ variant: "default" | "first" | "even";
25849
+ resolution?: "effective" | "explicit";
25850
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
25851
+ }) | ({
25852
+ kind: "story";
25853
+ storyType: "headerFooterPart";
25854
+ refId: string;
25855
+ }) | ({
25856
+ kind: "story";
25857
+ storyType: "footnote";
25858
+ noteId: string;
25859
+ }) | ({
25860
+ kind: "story";
25861
+ storyType: "endnote";
25862
+ noteId: string;
25863
+ });
25864
+ };
25865
+ };
25866
+ export type DocFootnotesListResult = Record<string, unknown>;
25867
+ export type DocFootnotesGetResult = Record<string, unknown>;
25868
+ export type DocFootnotesInsertResult = {
25869
+ success: true;
25870
+ footnote: {
25871
+ kind: "entity";
25872
+ entityType: "footnote";
25873
+ noteId: string;
25874
+ };
25875
+ };
25876
+ export type DocFootnotesUpdateResult = {
25877
+ success: true;
25878
+ footnote: {
25879
+ kind: "entity";
25880
+ entityType: "footnote";
25881
+ noteId: string;
25882
+ };
25382
25883
  };
25383
25884
  export type DocFootnotesRemoveResult = {
25384
25885
  success: true;
@@ -30261,6 +30762,33 @@ export interface DocCommentsCreateBoundParams {
30261
30762
  end: number;
30262
30763
  };
30263
30764
  }>;
30765
+ story?: ({
30766
+ kind: "story";
30767
+ storyType: "body";
30768
+ }) | ({
30769
+ kind: "story";
30770
+ storyType: "headerFooterSlot";
30771
+ section: {
30772
+ kind: "section";
30773
+ sectionId: string;
30774
+ };
30775
+ headerFooterKind: "header" | "footer";
30776
+ variant: "default" | "first" | "even";
30777
+ resolution?: "effective" | "explicit";
30778
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
30779
+ }) | ({
30780
+ kind: "story";
30781
+ storyType: "headerFooterPart";
30782
+ refId: string;
30783
+ }) | ({
30784
+ kind: "story";
30785
+ storyType: "footnote";
30786
+ noteId: string;
30787
+ }) | ({
30788
+ kind: "story";
30789
+ storyType: "endnote";
30790
+ noteId: string;
30791
+ });
30264
30792
  });
30265
30793
  parentId?: string;
30266
30794
  blockId?: string;
@@ -33637,12 +34165,66 @@ export interface DocContentControlsGroupUngroupBoundParams {
33637
34165
  export interface DocBookmarksListBoundParams {
33638
34166
  limit?: number;
33639
34167
  offset?: number;
34168
+ in?: ({
34169
+ kind: "story";
34170
+ storyType: "body";
34171
+ }) | ({
34172
+ kind: "story";
34173
+ storyType: "headerFooterSlot";
34174
+ section: {
34175
+ kind: "section";
34176
+ sectionId: string;
34177
+ };
34178
+ headerFooterKind: "header" | "footer";
34179
+ variant: "default" | "first" | "even";
34180
+ resolution?: "effective" | "explicit";
34181
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34182
+ }) | ({
34183
+ kind: "story";
34184
+ storyType: "headerFooterPart";
34185
+ refId: string;
34186
+ }) | ({
34187
+ kind: "story";
34188
+ storyType: "footnote";
34189
+ noteId: string;
34190
+ }) | ({
34191
+ kind: "story";
34192
+ storyType: "endnote";
34193
+ noteId: string;
34194
+ });
33640
34195
  }
33641
34196
  export interface DocBookmarksGetBoundParams {
33642
34197
  target: {
33643
34198
  kind: "entity";
33644
34199
  entityType: "bookmark";
33645
34200
  name: string;
34201
+ story?: ({
34202
+ kind: "story";
34203
+ storyType: "body";
34204
+ }) | ({
34205
+ kind: "story";
34206
+ storyType: "headerFooterSlot";
34207
+ section: {
34208
+ kind: "section";
34209
+ sectionId: string;
34210
+ };
34211
+ headerFooterKind: "header" | "footer";
34212
+ variant: "default" | "first" | "even";
34213
+ resolution?: "effective" | "explicit";
34214
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34215
+ }) | ({
34216
+ kind: "story";
34217
+ storyType: "headerFooterPart";
34218
+ refId: string;
34219
+ }) | ({
34220
+ kind: "story";
34221
+ storyType: "footnote";
34222
+ noteId: string;
34223
+ }) | ({
34224
+ kind: "story";
34225
+ storyType: "endnote";
34226
+ noteId: string;
34227
+ });
33646
34228
  };
33647
34229
  }
33648
34230
  export interface DocBookmarksInsertBoundParams {
@@ -33661,6 +34243,33 @@ export interface DocBookmarksInsertBoundParams {
33661
34243
  end: number;
33662
34244
  };
33663
34245
  }>;
34246
+ story?: ({
34247
+ kind: "story";
34248
+ storyType: "body";
34249
+ }) | ({
34250
+ kind: "story";
34251
+ storyType: "headerFooterSlot";
34252
+ section: {
34253
+ kind: "section";
34254
+ sectionId: string;
34255
+ };
34256
+ headerFooterKind: "header" | "footer";
34257
+ variant: "default" | "first" | "even";
34258
+ resolution?: "effective" | "explicit";
34259
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34260
+ }) | ({
34261
+ kind: "story";
34262
+ storyType: "headerFooterPart";
34263
+ refId: string;
34264
+ }) | ({
34265
+ kind: "story";
34266
+ storyType: "footnote";
34267
+ noteId: string;
34268
+ }) | ({
34269
+ kind: "story";
34270
+ storyType: "endnote";
34271
+ noteId: string;
34272
+ });
33664
34273
  };
33665
34274
  tableColumn?: {
33666
34275
  colFirst: number;
@@ -33677,6 +34286,33 @@ export interface DocBookmarksRenameBoundParams {
33677
34286
  kind: "entity";
33678
34287
  entityType: "bookmark";
33679
34288
  name: string;
34289
+ story?: ({
34290
+ kind: "story";
34291
+ storyType: "body";
34292
+ }) | ({
34293
+ kind: "story";
34294
+ storyType: "headerFooterSlot";
34295
+ section: {
34296
+ kind: "section";
34297
+ sectionId: string;
34298
+ };
34299
+ headerFooterKind: "header" | "footer";
34300
+ variant: "default" | "first" | "even";
34301
+ resolution?: "effective" | "explicit";
34302
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34303
+ }) | ({
34304
+ kind: "story";
34305
+ storyType: "headerFooterPart";
34306
+ refId: string;
34307
+ }) | ({
34308
+ kind: "story";
34309
+ storyType: "footnote";
34310
+ noteId: string;
34311
+ }) | ({
34312
+ kind: "story";
34313
+ storyType: "endnote";
34314
+ noteId: string;
34315
+ });
33680
34316
  };
33681
34317
  newName: string;
33682
34318
  }
@@ -33690,6 +34326,33 @@ export interface DocBookmarksRemoveBoundParams {
33690
34326
  kind: "entity";
33691
34327
  entityType: "bookmark";
33692
34328
  name: string;
34329
+ story?: ({
34330
+ kind: "story";
34331
+ storyType: "body";
34332
+ }) | ({
34333
+ kind: "story";
34334
+ storyType: "headerFooterSlot";
34335
+ section: {
34336
+ kind: "section";
34337
+ sectionId: string;
34338
+ };
34339
+ headerFooterKind: "header" | "footer";
34340
+ variant: "default" | "first" | "even";
34341
+ resolution?: "effective" | "explicit";
34342
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34343
+ }) | ({
34344
+ kind: "story";
34345
+ storyType: "headerFooterPart";
34346
+ refId: string;
34347
+ }) | ({
34348
+ kind: "story";
34349
+ storyType: "footnote";
34350
+ noteId: string;
34351
+ }) | ({
34352
+ kind: "story";
34353
+ storyType: "endnote";
34354
+ noteId: string;
34355
+ });
33693
34356
  };
33694
34357
  }
33695
34358
  export interface DocFootnotesListBoundParams {
@@ -33719,6 +34382,33 @@ export interface DocFootnotesInsertBoundParams {
33719
34382
  end: number;
33720
34383
  };
33721
34384
  }>;
34385
+ story?: ({
34386
+ kind: "story";
34387
+ storyType: "body";
34388
+ }) | ({
34389
+ kind: "story";
34390
+ storyType: "headerFooterSlot";
34391
+ section: {
34392
+ kind: "section";
34393
+ sectionId: string;
34394
+ };
34395
+ headerFooterKind: "header" | "footer";
34396
+ variant: "default" | "first" | "even";
34397
+ resolution?: "effective" | "explicit";
34398
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34399
+ }) | ({
34400
+ kind: "story";
34401
+ storyType: "headerFooterPart";
34402
+ refId: string;
34403
+ }) | ({
34404
+ kind: "story";
34405
+ storyType: "footnote";
34406
+ noteId: string;
34407
+ }) | ({
34408
+ kind: "story";
34409
+ storyType: "endnote";
34410
+ noteId: string;
34411
+ });
33722
34412
  };
33723
34413
  type: string;
33724
34414
  content: string;
@@ -33805,6 +34495,33 @@ export interface DocCrossRefsInsertBoundParams {
33805
34495
  end: number;
33806
34496
  };
33807
34497
  }>;
34498
+ story?: ({
34499
+ kind: "story";
34500
+ storyType: "body";
34501
+ }) | ({
34502
+ kind: "story";
34503
+ storyType: "headerFooterSlot";
34504
+ section: {
34505
+ kind: "section";
34506
+ sectionId: string;
34507
+ };
34508
+ headerFooterKind: "header" | "footer";
34509
+ variant: "default" | "first" | "even";
34510
+ resolution?: "effective" | "explicit";
34511
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34512
+ }) | ({
34513
+ kind: "story";
34514
+ storyType: "headerFooterPart";
34515
+ refId: string;
34516
+ }) | ({
34517
+ kind: "story";
34518
+ storyType: "footnote";
34519
+ noteId: string;
34520
+ }) | ({
34521
+ kind: "story";
34522
+ storyType: "endnote";
34523
+ noteId: string;
34524
+ });
33808
34525
  };
33809
34526
  target: ({
33810
34527
  kind: "bookmark";
@@ -34009,6 +34726,33 @@ export interface DocIndexEntriesInsertBoundParams {
34009
34726
  end: number;
34010
34727
  };
34011
34728
  }>;
34729
+ story?: ({
34730
+ kind: "story";
34731
+ storyType: "body";
34732
+ }) | ({
34733
+ kind: "story";
34734
+ storyType: "headerFooterSlot";
34735
+ section: {
34736
+ kind: "section";
34737
+ sectionId: string;
34738
+ };
34739
+ headerFooterKind: "header" | "footer";
34740
+ variant: "default" | "first" | "even";
34741
+ resolution?: "effective" | "explicit";
34742
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34743
+ }) | ({
34744
+ kind: "story";
34745
+ storyType: "headerFooterPart";
34746
+ refId: string;
34747
+ }) | ({
34748
+ kind: "story";
34749
+ storyType: "footnote";
34750
+ noteId: string;
34751
+ }) | ({
34752
+ kind: "story";
34753
+ storyType: "endnote";
34754
+ noteId: string;
34755
+ });
34012
34756
  };
34013
34757
  entry: {
34014
34758
  text: string;
@@ -34166,6 +34910,33 @@ export interface DocFieldsInsertBoundParams {
34166
34910
  end: number;
34167
34911
  };
34168
34912
  }>;
34913
+ story?: ({
34914
+ kind: "story";
34915
+ storyType: "body";
34916
+ }) | ({
34917
+ kind: "story";
34918
+ storyType: "headerFooterSlot";
34919
+ section: {
34920
+ kind: "section";
34921
+ sectionId: string;
34922
+ };
34923
+ headerFooterKind: "header" | "footer";
34924
+ variant: "default" | "first" | "even";
34925
+ resolution?: "effective" | "explicit";
34926
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
34927
+ }) | ({
34928
+ kind: "story";
34929
+ storyType: "headerFooterPart";
34930
+ refId: string;
34931
+ }) | ({
34932
+ kind: "story";
34933
+ storyType: "footnote";
34934
+ noteId: string;
34935
+ }) | ({
34936
+ kind: "story";
34937
+ storyType: "endnote";
34938
+ noteId: string;
34939
+ });
34169
34940
  };
34170
34941
  instruction: string;
34171
34942
  }
@@ -34231,6 +35002,33 @@ export interface DocCitationsInsertBoundParams {
34231
35002
  end: number;
34232
35003
  };
34233
35004
  }>;
35005
+ story?: ({
35006
+ kind: "story";
35007
+ storyType: "body";
35008
+ }) | ({
35009
+ kind: "story";
35010
+ storyType: "headerFooterSlot";
35011
+ section: {
35012
+ kind: "section";
35013
+ sectionId: string;
35014
+ };
35015
+ headerFooterKind: "header" | "footer";
35016
+ variant: "default" | "first" | "even";
35017
+ resolution?: "effective" | "explicit";
35018
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35019
+ }) | ({
35020
+ kind: "story";
35021
+ storyType: "headerFooterPart";
35022
+ refId: string;
35023
+ }) | ({
35024
+ kind: "story";
35025
+ storyType: "footnote";
35026
+ noteId: string;
35027
+ }) | ({
35028
+ kind: "story";
35029
+ storyType: "endnote";
35030
+ noteId: string;
35031
+ });
34234
35032
  };
34235
35033
  sourceIds: string[];
34236
35034
  }
@@ -34581,6 +35379,33 @@ export interface DocAuthoritiesEntriesInsertBoundParams {
34581
35379
  end: number;
34582
35380
  };
34583
35381
  }>;
35382
+ story?: ({
35383
+ kind: "story";
35384
+ storyType: "body";
35385
+ }) | ({
35386
+ kind: "story";
35387
+ storyType: "headerFooterSlot";
35388
+ section: {
35389
+ kind: "section";
35390
+ sectionId: string;
35391
+ };
35392
+ headerFooterKind: "header" | "footer";
35393
+ variant: "default" | "first" | "even";
35394
+ resolution?: "effective" | "explicit";
35395
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
35396
+ }) | ({
35397
+ kind: "story";
35398
+ storyType: "headerFooterPart";
35399
+ refId: string;
35400
+ }) | ({
35401
+ kind: "story";
35402
+ storyType: "footnote";
35403
+ noteId: string;
35404
+ }) | ({
35405
+ kind: "story";
35406
+ storyType: "endnote";
35407
+ noteId: string;
35408
+ });
34584
35409
  };
34585
35410
  entry: {
34586
35411
  longCitation: string;