@superdoc/sdk 2.13.0-next.13 → 2.13.0-next.15

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.
@@ -112487,6 +112487,73 @@ export type DocCreateContentControlResult = {
112487
112487
  textboxId: string;
112488
112488
  });
112489
112489
  };
112490
+ affectedStories?: Array<({
112491
+ kind: "story";
112492
+ storyType: "body";
112493
+ }) | ({
112494
+ kind: "story";
112495
+ storyType: "headerFooterSlot";
112496
+ section: {
112497
+ kind: "section";
112498
+ sectionId: string;
112499
+ };
112500
+ headerFooterKind: "header" | "footer";
112501
+ variant: "default" | "first" | "even";
112502
+ resolution?: "effective" | "explicit";
112503
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
112504
+ }) | ({
112505
+ kind: "story";
112506
+ storyType: "headerFooterPart";
112507
+ refId: string;
112508
+ }) | ({
112509
+ kind: "story";
112510
+ storyType: "footnote";
112511
+ noteId: string;
112512
+ }) | ({
112513
+ kind: "story";
112514
+ storyType: "endnote";
112515
+ noteId: string;
112516
+ }) | ({
112517
+ kind: "story";
112518
+ storyType: "textbox";
112519
+ textboxId: string;
112520
+ })>;
112521
+ trackedChangeRefs?: Array<{
112522
+ kind: "entity";
112523
+ entityType: "trackedChange";
112524
+ entityId: string;
112525
+ story?: ({
112526
+ kind: "story";
112527
+ storyType: "body";
112528
+ }) | ({
112529
+ kind: "story";
112530
+ storyType: "headerFooterSlot";
112531
+ section: {
112532
+ kind: "section";
112533
+ sectionId: string;
112534
+ };
112535
+ headerFooterKind: "header" | "footer";
112536
+ variant: "default" | "first" | "even";
112537
+ resolution?: "effective" | "explicit";
112538
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
112539
+ }) | ({
112540
+ kind: "story";
112541
+ storyType: "headerFooterPart";
112542
+ refId: string;
112543
+ }) | ({
112544
+ kind: "story";
112545
+ storyType: "footnote";
112546
+ noteId: string;
112547
+ }) | ({
112548
+ kind: "story";
112549
+ storyType: "endnote";
112550
+ noteId: string;
112551
+ }) | ({
112552
+ kind: "story";
112553
+ storyType: "textbox";
112554
+ textboxId: string;
112555
+ });
112556
+ }>;
112490
112557
  };
112491
112558
  export type DocContentControlsListResult = {
112492
112559
  items: Array<{
@@ -114236,49 +114303,41 @@ export type DocContentControlsWrapResult = {
114236
114303
  textboxId: string;
114237
114304
  });
114238
114305
  };
114239
- };
114240
- export type DocContentControlsUnwrapResult = {
114241
- success: true;
114242
- contentControl: {
114243
- kind: "block" | "inline";
114244
- nodeType: "sdt";
114245
- nodeId: string;
114246
- story?: ({
114247
- kind: "story";
114248
- storyType: "body";
114249
- }) | ({
114250
- kind: "story";
114251
- storyType: "headerFooterSlot";
114252
- section: {
114253
- kind: "section";
114254
- sectionId: string;
114255
- };
114256
- headerFooterKind: "header" | "footer";
114257
- variant: "default" | "first" | "even";
114258
- resolution?: "effective" | "explicit";
114259
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
114260
- }) | ({
114261
- kind: "story";
114262
- storyType: "headerFooterPart";
114263
- refId: string;
114264
- }) | ({
114265
- kind: "story";
114266
- storyType: "footnote";
114267
- noteId: string;
114268
- }) | ({
114269
- kind: "story";
114270
- storyType: "endnote";
114271
- noteId: string;
114272
- }) | ({
114273
- kind: "story";
114274
- storyType: "textbox";
114275
- textboxId: string;
114276
- });
114277
- };
114278
- updatedRef?: {
114279
- kind: "block" | "inline";
114280
- nodeType: "sdt";
114281
- nodeId: string;
114306
+ affectedStories?: Array<({
114307
+ kind: "story";
114308
+ storyType: "body";
114309
+ }) | ({
114310
+ kind: "story";
114311
+ storyType: "headerFooterSlot";
114312
+ section: {
114313
+ kind: "section";
114314
+ sectionId: string;
114315
+ };
114316
+ headerFooterKind: "header" | "footer";
114317
+ variant: "default" | "first" | "even";
114318
+ resolution?: "effective" | "explicit";
114319
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
114320
+ }) | ({
114321
+ kind: "story";
114322
+ storyType: "headerFooterPart";
114323
+ refId: string;
114324
+ }) | ({
114325
+ kind: "story";
114326
+ storyType: "footnote";
114327
+ noteId: string;
114328
+ }) | ({
114329
+ kind: "story";
114330
+ storyType: "endnote";
114331
+ noteId: string;
114332
+ }) | ({
114333
+ kind: "story";
114334
+ storyType: "textbox";
114335
+ textboxId: string;
114336
+ })>;
114337
+ trackedChangeRefs?: Array<{
114338
+ kind: "entity";
114339
+ entityType: "trackedChange";
114340
+ entityId: string;
114282
114341
  story?: ({
114283
114342
  kind: "story";
114284
114343
  storyType: "body";
@@ -114310,9 +114369,9 @@ export type DocContentControlsUnwrapResult = {
114310
114369
  storyType: "textbox";
114311
114370
  textboxId: string;
114312
114371
  });
114313
- };
114372
+ }>;
114314
114373
  };
114315
- export type DocContentControlsDeleteResult = {
114374
+ export type DocContentControlsUnwrapResult = {
114316
114375
  success: true;
114317
114376
  contentControl: {
114318
114377
  kind: "block" | "inline";
@@ -114386,13 +114445,41 @@ export type DocContentControlsDeleteResult = {
114386
114445
  textboxId: string;
114387
114446
  });
114388
114447
  };
114389
- };
114390
- export type DocContentControlsCopyResult = {
114391
- success: true;
114392
- contentControl: {
114393
- kind: "block" | "inline";
114394
- nodeType: "sdt";
114395
- nodeId: string;
114448
+ affectedStories?: Array<({
114449
+ kind: "story";
114450
+ storyType: "body";
114451
+ }) | ({
114452
+ kind: "story";
114453
+ storyType: "headerFooterSlot";
114454
+ section: {
114455
+ kind: "section";
114456
+ sectionId: string;
114457
+ };
114458
+ headerFooterKind: "header" | "footer";
114459
+ variant: "default" | "first" | "even";
114460
+ resolution?: "effective" | "explicit";
114461
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
114462
+ }) | ({
114463
+ kind: "story";
114464
+ storyType: "headerFooterPart";
114465
+ refId: string;
114466
+ }) | ({
114467
+ kind: "story";
114468
+ storyType: "footnote";
114469
+ noteId: string;
114470
+ }) | ({
114471
+ kind: "story";
114472
+ storyType: "endnote";
114473
+ noteId: string;
114474
+ }) | ({
114475
+ kind: "story";
114476
+ storyType: "textbox";
114477
+ textboxId: string;
114478
+ })>;
114479
+ trackedChangeRefs?: Array<{
114480
+ kind: "entity";
114481
+ entityType: "trackedChange";
114482
+ entityId: string;
114396
114483
  story?: ({
114397
114484
  kind: "story";
114398
114485
  storyType: "body";
@@ -114424,8 +114511,11 @@ export type DocContentControlsCopyResult = {
114424
114511
  storyType: "textbox";
114425
114512
  textboxId: string;
114426
114513
  });
114427
- };
114428
- updatedRef?: {
114514
+ }>;
114515
+ };
114516
+ export type DocContentControlsDeleteResult = {
114517
+ success: true;
114518
+ contentControl: {
114429
114519
  kind: "block" | "inline";
114430
114520
  nodeType: "sdt";
114431
114521
  nodeId: string;
@@ -114461,10 +114551,7 @@ export type DocContentControlsCopyResult = {
114461
114551
  textboxId: string;
114462
114552
  });
114463
114553
  };
114464
- };
114465
- export type DocContentControlsMoveResult = {
114466
- success: true;
114467
- contentControl: {
114554
+ updatedRef?: {
114468
114555
  kind: "block" | "inline";
114469
114556
  nodeType: "sdt";
114470
114557
  nodeId: string;
@@ -114500,10 +114587,41 @@ export type DocContentControlsMoveResult = {
114500
114587
  textboxId: string;
114501
114588
  });
114502
114589
  };
114503
- updatedRef?: {
114504
- kind: "block" | "inline";
114505
- nodeType: "sdt";
114506
- nodeId: string;
114590
+ affectedStories?: Array<({
114591
+ kind: "story";
114592
+ storyType: "body";
114593
+ }) | ({
114594
+ kind: "story";
114595
+ storyType: "headerFooterSlot";
114596
+ section: {
114597
+ kind: "section";
114598
+ sectionId: string;
114599
+ };
114600
+ headerFooterKind: "header" | "footer";
114601
+ variant: "default" | "first" | "even";
114602
+ resolution?: "effective" | "explicit";
114603
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
114604
+ }) | ({
114605
+ kind: "story";
114606
+ storyType: "headerFooterPart";
114607
+ refId: string;
114608
+ }) | ({
114609
+ kind: "story";
114610
+ storyType: "footnote";
114611
+ noteId: string;
114612
+ }) | ({
114613
+ kind: "story";
114614
+ storyType: "endnote";
114615
+ noteId: string;
114616
+ }) | ({
114617
+ kind: "story";
114618
+ storyType: "textbox";
114619
+ textboxId: string;
114620
+ })>;
114621
+ trackedChangeRefs?: Array<{
114622
+ kind: "entity";
114623
+ entityType: "trackedChange";
114624
+ entityId: string;
114507
114625
  story?: ({
114508
114626
  kind: "story";
114509
114627
  storyType: "body";
@@ -114535,9 +114653,9 @@ export type DocContentControlsMoveResult = {
114535
114653
  storyType: "textbox";
114536
114654
  textboxId: string;
114537
114655
  });
114538
- };
114656
+ }>;
114539
114657
  };
114540
- export type DocContentControlsPatchResult = {
114658
+ export type DocContentControlsCopyResult = {
114541
114659
  success: true;
114542
114660
  contentControl: {
114543
114661
  kind: "block" | "inline";
@@ -114611,16 +114729,44 @@ export type DocContentControlsPatchResult = {
114611
114729
  textboxId: string;
114612
114730
  });
114613
114731
  };
114614
- };
114615
- export type DocContentControlsSetLockModeResult = {
114616
- success: true;
114617
- contentControl: {
114618
- kind: "block" | "inline";
114619
- nodeType: "sdt";
114620
- nodeId: string;
114621
- story?: ({
114622
- kind: "story";
114623
- storyType: "body";
114732
+ affectedStories?: Array<({
114733
+ kind: "story";
114734
+ storyType: "body";
114735
+ }) | ({
114736
+ kind: "story";
114737
+ storyType: "headerFooterSlot";
114738
+ section: {
114739
+ kind: "section";
114740
+ sectionId: string;
114741
+ };
114742
+ headerFooterKind: "header" | "footer";
114743
+ variant: "default" | "first" | "even";
114744
+ resolution?: "effective" | "explicit";
114745
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
114746
+ }) | ({
114747
+ kind: "story";
114748
+ storyType: "headerFooterPart";
114749
+ refId: string;
114750
+ }) | ({
114751
+ kind: "story";
114752
+ storyType: "footnote";
114753
+ noteId: string;
114754
+ }) | ({
114755
+ kind: "story";
114756
+ storyType: "endnote";
114757
+ noteId: string;
114758
+ }) | ({
114759
+ kind: "story";
114760
+ storyType: "textbox";
114761
+ textboxId: string;
114762
+ })>;
114763
+ trackedChangeRefs?: Array<{
114764
+ kind: "entity";
114765
+ entityType: "trackedChange";
114766
+ entityId: string;
114767
+ story?: ({
114768
+ kind: "story";
114769
+ storyType: "body";
114624
114770
  }) | ({
114625
114771
  kind: "story";
114626
114772
  storyType: "headerFooterSlot";
@@ -114649,8 +114795,11 @@ export type DocContentControlsSetLockModeResult = {
114649
114795
  storyType: "textbox";
114650
114796
  textboxId: string;
114651
114797
  });
114652
- };
114653
- updatedRef?: {
114798
+ }>;
114799
+ };
114800
+ export type DocContentControlsMoveResult = {
114801
+ success: true;
114802
+ contentControl: {
114654
114803
  kind: "block" | "inline";
114655
114804
  nodeType: "sdt";
114656
114805
  nodeId: string;
@@ -114686,10 +114835,7 @@ export type DocContentControlsSetLockModeResult = {
114686
114835
  textboxId: string;
114687
114836
  });
114688
114837
  };
114689
- };
114690
- export type DocContentControlsSetTypeResult = {
114691
- success: true;
114692
- contentControl: {
114838
+ updatedRef?: {
114693
114839
  kind: "block" | "inline";
114694
114840
  nodeType: "sdt";
114695
114841
  nodeId: string;
@@ -114725,10 +114871,41 @@ export type DocContentControlsSetTypeResult = {
114725
114871
  textboxId: string;
114726
114872
  });
114727
114873
  };
114728
- updatedRef?: {
114729
- kind: "block" | "inline";
114730
- nodeType: "sdt";
114731
- nodeId: string;
114874
+ affectedStories?: Array<({
114875
+ kind: "story";
114876
+ storyType: "body";
114877
+ }) | ({
114878
+ kind: "story";
114879
+ storyType: "headerFooterSlot";
114880
+ section: {
114881
+ kind: "section";
114882
+ sectionId: string;
114883
+ };
114884
+ headerFooterKind: "header" | "footer";
114885
+ variant: "default" | "first" | "even";
114886
+ resolution?: "effective" | "explicit";
114887
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
114888
+ }) | ({
114889
+ kind: "story";
114890
+ storyType: "headerFooterPart";
114891
+ refId: string;
114892
+ }) | ({
114893
+ kind: "story";
114894
+ storyType: "footnote";
114895
+ noteId: string;
114896
+ }) | ({
114897
+ kind: "story";
114898
+ storyType: "endnote";
114899
+ noteId: string;
114900
+ }) | ({
114901
+ kind: "story";
114902
+ storyType: "textbox";
114903
+ textboxId: string;
114904
+ })>;
114905
+ trackedChangeRefs?: Array<{
114906
+ kind: "entity";
114907
+ entityType: "trackedChange";
114908
+ entityId: string;
114732
114909
  story?: ({
114733
114910
  kind: "story";
114734
114911
  storyType: "body";
@@ -114760,13 +114937,9 @@ export type DocContentControlsSetTypeResult = {
114760
114937
  storyType: "textbox";
114761
114938
  textboxId: string;
114762
114939
  });
114763
- };
114764
- };
114765
- export type DocContentControlsGetContentResult = {
114766
- content: string;
114767
- format: "text" | "html";
114940
+ }>;
114768
114941
  };
114769
- export type DocContentControlsReplaceContentResult = {
114942
+ export type DocContentControlsPatchResult = {
114770
114943
  success: true;
114771
114944
  contentControl: {
114772
114945
  kind: "block" | "inline";
@@ -114840,13 +115013,41 @@ export type DocContentControlsReplaceContentResult = {
114840
115013
  textboxId: string;
114841
115014
  });
114842
115015
  };
114843
- };
114844
- export type DocContentControlsClearContentResult = {
114845
- success: true;
114846
- contentControl: {
114847
- kind: "block" | "inline";
114848
- nodeType: "sdt";
114849
- nodeId: string;
115016
+ affectedStories?: Array<({
115017
+ kind: "story";
115018
+ storyType: "body";
115019
+ }) | ({
115020
+ kind: "story";
115021
+ storyType: "headerFooterSlot";
115022
+ section: {
115023
+ kind: "section";
115024
+ sectionId: string;
115025
+ };
115026
+ headerFooterKind: "header" | "footer";
115027
+ variant: "default" | "first" | "even";
115028
+ resolution?: "effective" | "explicit";
115029
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
115030
+ }) | ({
115031
+ kind: "story";
115032
+ storyType: "headerFooterPart";
115033
+ refId: string;
115034
+ }) | ({
115035
+ kind: "story";
115036
+ storyType: "footnote";
115037
+ noteId: string;
115038
+ }) | ({
115039
+ kind: "story";
115040
+ storyType: "endnote";
115041
+ noteId: string;
115042
+ }) | ({
115043
+ kind: "story";
115044
+ storyType: "textbox";
115045
+ textboxId: string;
115046
+ })>;
115047
+ trackedChangeRefs?: Array<{
115048
+ kind: "entity";
115049
+ entityType: "trackedChange";
115050
+ entityId: string;
114850
115051
  story?: ({
114851
115052
  kind: "story";
114852
115053
  storyType: "body";
@@ -114878,8 +115079,11 @@ export type DocContentControlsClearContentResult = {
114878
115079
  storyType: "textbox";
114879
115080
  textboxId: string;
114880
115081
  });
114881
- };
114882
- updatedRef?: {
115082
+ }>;
115083
+ };
115084
+ export type DocContentControlsSetLockModeResult = {
115085
+ success: true;
115086
+ contentControl: {
114883
115087
  kind: "block" | "inline";
114884
115088
  nodeType: "sdt";
114885
115089
  nodeId: string;
@@ -114915,10 +115119,7 @@ export type DocContentControlsClearContentResult = {
114915
115119
  textboxId: string;
114916
115120
  });
114917
115121
  };
114918
- };
114919
- export type DocContentControlsAppendContentResult = {
114920
- success: true;
114921
- contentControl: {
115122
+ updatedRef?: {
114922
115123
  kind: "block" | "inline";
114923
115124
  nodeType: "sdt";
114924
115125
  nodeId: string;
@@ -114954,10 +115155,41 @@ export type DocContentControlsAppendContentResult = {
114954
115155
  textboxId: string;
114955
115156
  });
114956
115157
  };
114957
- updatedRef?: {
114958
- kind: "block" | "inline";
114959
- nodeType: "sdt";
114960
- nodeId: string;
115158
+ affectedStories?: Array<({
115159
+ kind: "story";
115160
+ storyType: "body";
115161
+ }) | ({
115162
+ kind: "story";
115163
+ storyType: "headerFooterSlot";
115164
+ section: {
115165
+ kind: "section";
115166
+ sectionId: string;
115167
+ };
115168
+ headerFooterKind: "header" | "footer";
115169
+ variant: "default" | "first" | "even";
115170
+ resolution?: "effective" | "explicit";
115171
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
115172
+ }) | ({
115173
+ kind: "story";
115174
+ storyType: "headerFooterPart";
115175
+ refId: string;
115176
+ }) | ({
115177
+ kind: "story";
115178
+ storyType: "footnote";
115179
+ noteId: string;
115180
+ }) | ({
115181
+ kind: "story";
115182
+ storyType: "endnote";
115183
+ noteId: string;
115184
+ }) | ({
115185
+ kind: "story";
115186
+ storyType: "textbox";
115187
+ textboxId: string;
115188
+ })>;
115189
+ trackedChangeRefs?: Array<{
115190
+ kind: "entity";
115191
+ entityType: "trackedChange";
115192
+ entityId: string;
114961
115193
  story?: ({
114962
115194
  kind: "story";
114963
115195
  storyType: "body";
@@ -114989,9 +115221,9 @@ export type DocContentControlsAppendContentResult = {
114989
115221
  storyType: "textbox";
114990
115222
  textboxId: string;
114991
115223
  });
114992
- };
115224
+ }>;
114993
115225
  };
114994
- export type DocContentControlsPrependContentResult = {
115226
+ export type DocContentControlsSetTypeResult = {
114995
115227
  success: true;
114996
115228
  contentControl: {
114997
115229
  kind: "block" | "inline";
@@ -115065,13 +115297,41 @@ export type DocContentControlsPrependContentResult = {
115065
115297
  textboxId: string;
115066
115298
  });
115067
115299
  };
115068
- };
115069
- export type DocContentControlsInsertBeforeResult = {
115070
- success: true;
115071
- contentControl: {
115072
- kind: "block" | "inline";
115073
- nodeType: "sdt";
115074
- nodeId: string;
115300
+ affectedStories?: Array<({
115301
+ kind: "story";
115302
+ storyType: "body";
115303
+ }) | ({
115304
+ kind: "story";
115305
+ storyType: "headerFooterSlot";
115306
+ section: {
115307
+ kind: "section";
115308
+ sectionId: string;
115309
+ };
115310
+ headerFooterKind: "header" | "footer";
115311
+ variant: "default" | "first" | "even";
115312
+ resolution?: "effective" | "explicit";
115313
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
115314
+ }) | ({
115315
+ kind: "story";
115316
+ storyType: "headerFooterPart";
115317
+ refId: string;
115318
+ }) | ({
115319
+ kind: "story";
115320
+ storyType: "footnote";
115321
+ noteId: string;
115322
+ }) | ({
115323
+ kind: "story";
115324
+ storyType: "endnote";
115325
+ noteId: string;
115326
+ }) | ({
115327
+ kind: "story";
115328
+ storyType: "textbox";
115329
+ textboxId: string;
115330
+ })>;
115331
+ trackedChangeRefs?: Array<{
115332
+ kind: "entity";
115333
+ entityType: "trackedChange";
115334
+ entityId: string;
115075
115335
  story?: ({
115076
115336
  kind: "story";
115077
115337
  storyType: "body";
@@ -115103,8 +115363,15 @@ export type DocContentControlsInsertBeforeResult = {
115103
115363
  storyType: "textbox";
115104
115364
  textboxId: string;
115105
115365
  });
115106
- };
115107
- updatedRef?: {
115366
+ }>;
115367
+ };
115368
+ export type DocContentControlsGetContentResult = {
115369
+ content: string;
115370
+ format: "text" | "html";
115371
+ };
115372
+ export type DocContentControlsReplaceContentResult = {
115373
+ success: true;
115374
+ contentControl: {
115108
115375
  kind: "block" | "inline";
115109
115376
  nodeType: "sdt";
115110
115377
  nodeId: string;
@@ -115140,10 +115407,7 @@ export type DocContentControlsInsertBeforeResult = {
115140
115407
  textboxId: string;
115141
115408
  });
115142
115409
  };
115143
- };
115144
- export type DocContentControlsInsertAfterResult = {
115145
- success: true;
115146
- contentControl: {
115410
+ updatedRef?: {
115147
115411
  kind: "block" | "inline";
115148
115412
  nodeType: "sdt";
115149
115413
  nodeId: string;
@@ -115179,10 +115443,41 @@ export type DocContentControlsInsertAfterResult = {
115179
115443
  textboxId: string;
115180
115444
  });
115181
115445
  };
115182
- updatedRef?: {
115183
- kind: "block" | "inline";
115184
- nodeType: "sdt";
115185
- nodeId: string;
115446
+ affectedStories?: Array<({
115447
+ kind: "story";
115448
+ storyType: "body";
115449
+ }) | ({
115450
+ kind: "story";
115451
+ storyType: "headerFooterSlot";
115452
+ section: {
115453
+ kind: "section";
115454
+ sectionId: string;
115455
+ };
115456
+ headerFooterKind: "header" | "footer";
115457
+ variant: "default" | "first" | "even";
115458
+ resolution?: "effective" | "explicit";
115459
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
115460
+ }) | ({
115461
+ kind: "story";
115462
+ storyType: "headerFooterPart";
115463
+ refId: string;
115464
+ }) | ({
115465
+ kind: "story";
115466
+ storyType: "footnote";
115467
+ noteId: string;
115468
+ }) | ({
115469
+ kind: "story";
115470
+ storyType: "endnote";
115471
+ noteId: string;
115472
+ }) | ({
115473
+ kind: "story";
115474
+ storyType: "textbox";
115475
+ textboxId: string;
115476
+ })>;
115477
+ trackedChangeRefs?: Array<{
115478
+ kind: "entity";
115479
+ entityType: "trackedChange";
115480
+ entityId: string;
115186
115481
  story?: ({
115187
115482
  kind: "story";
115188
115483
  storyType: "body";
@@ -115214,14 +115509,9 @@ export type DocContentControlsInsertAfterResult = {
115214
115509
  storyType: "textbox";
115215
115510
  textboxId: string;
115216
115511
  });
115217
- };
115512
+ }>;
115218
115513
  };
115219
- export type DocContentControlsGetBindingResult = ({
115220
- storeItemId: string;
115221
- xpath: string;
115222
- prefixMappings?: string;
115223
- }) | null;
115224
- export type DocContentControlsSetBindingResult = {
115514
+ export type DocContentControlsClearContentResult = {
115225
115515
  success: true;
115226
115516
  contentControl: {
115227
115517
  kind: "block" | "inline";
@@ -115295,13 +115585,41 @@ export type DocContentControlsSetBindingResult = {
115295
115585
  textboxId: string;
115296
115586
  });
115297
115587
  };
115298
- };
115299
- export type DocContentControlsClearBindingResult = {
115300
- success: true;
115301
- contentControl: {
115302
- kind: "block" | "inline";
115303
- nodeType: "sdt";
115304
- nodeId: string;
115588
+ affectedStories?: Array<({
115589
+ kind: "story";
115590
+ storyType: "body";
115591
+ }) | ({
115592
+ kind: "story";
115593
+ storyType: "headerFooterSlot";
115594
+ section: {
115595
+ kind: "section";
115596
+ sectionId: string;
115597
+ };
115598
+ headerFooterKind: "header" | "footer";
115599
+ variant: "default" | "first" | "even";
115600
+ resolution?: "effective" | "explicit";
115601
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
115602
+ }) | ({
115603
+ kind: "story";
115604
+ storyType: "headerFooterPart";
115605
+ refId: string;
115606
+ }) | ({
115607
+ kind: "story";
115608
+ storyType: "footnote";
115609
+ noteId: string;
115610
+ }) | ({
115611
+ kind: "story";
115612
+ storyType: "endnote";
115613
+ noteId: string;
115614
+ }) | ({
115615
+ kind: "story";
115616
+ storyType: "textbox";
115617
+ textboxId: string;
115618
+ })>;
115619
+ trackedChangeRefs?: Array<{
115620
+ kind: "entity";
115621
+ entityType: "trackedChange";
115622
+ entityId: string;
115305
115623
  story?: ({
115306
115624
  kind: "story";
115307
115625
  storyType: "body";
@@ -115333,8 +115651,11 @@ export type DocContentControlsClearBindingResult = {
115333
115651
  storyType: "textbox";
115334
115652
  textboxId: string;
115335
115653
  });
115336
- };
115337
- updatedRef?: {
115654
+ }>;
115655
+ };
115656
+ export type DocContentControlsAppendContentResult = {
115657
+ success: true;
115658
+ contentControl: {
115338
115659
  kind: "block" | "inline";
115339
115660
  nodeType: "sdt";
115340
115661
  nodeId: string;
@@ -115370,13 +115691,7 @@ export type DocContentControlsClearBindingResult = {
115370
115691
  textboxId: string;
115371
115692
  });
115372
115693
  };
115373
- };
115374
- export type DocContentControlsGetRawPropertiesResult = {
115375
- properties: Record<string, unknown>;
115376
- };
115377
- export type DocContentControlsPatchRawPropertiesResult = {
115378
- success: true;
115379
- contentControl: {
115694
+ updatedRef?: {
115380
115695
  kind: "block" | "inline";
115381
115696
  nodeType: "sdt";
115382
115697
  nodeId: string;
@@ -115412,10 +115727,41 @@ export type DocContentControlsPatchRawPropertiesResult = {
115412
115727
  textboxId: string;
115413
115728
  });
115414
115729
  };
115415
- updatedRef?: {
115416
- kind: "block" | "inline";
115417
- nodeType: "sdt";
115418
- nodeId: string;
115730
+ affectedStories?: Array<({
115731
+ kind: "story";
115732
+ storyType: "body";
115733
+ }) | ({
115734
+ kind: "story";
115735
+ storyType: "headerFooterSlot";
115736
+ section: {
115737
+ kind: "section";
115738
+ sectionId: string;
115739
+ };
115740
+ headerFooterKind: "header" | "footer";
115741
+ variant: "default" | "first" | "even";
115742
+ resolution?: "effective" | "explicit";
115743
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
115744
+ }) | ({
115745
+ kind: "story";
115746
+ storyType: "headerFooterPart";
115747
+ refId: string;
115748
+ }) | ({
115749
+ kind: "story";
115750
+ storyType: "footnote";
115751
+ noteId: string;
115752
+ }) | ({
115753
+ kind: "story";
115754
+ storyType: "endnote";
115755
+ noteId: string;
115756
+ }) | ({
115757
+ kind: "story";
115758
+ storyType: "textbox";
115759
+ textboxId: string;
115760
+ })>;
115761
+ trackedChangeRefs?: Array<{
115762
+ kind: "entity";
115763
+ entityType: "trackedChange";
115764
+ entityId: string;
115419
115765
  story?: ({
115420
115766
  kind: "story";
115421
115767
  storyType: "body";
@@ -115447,13 +115793,9 @@ export type DocContentControlsPatchRawPropertiesResult = {
115447
115793
  storyType: "textbox";
115448
115794
  textboxId: string;
115449
115795
  });
115450
- };
115451
- };
115452
- export type DocContentControlsValidateWordCompatibilityResult = {
115453
- compatible: boolean;
115454
- diagnostics: Array<Record<string, unknown>>;
115796
+ }>;
115455
115797
  };
115456
- export type DocContentControlsNormalizeWordCompatibilityResult = {
115798
+ export type DocContentControlsPrependContentResult = {
115457
115799
  success: true;
115458
115800
  contentControl: {
115459
115801
  kind: "block" | "inline";
@@ -115527,13 +115869,41 @@ export type DocContentControlsNormalizeWordCompatibilityResult = {
115527
115869
  textboxId: string;
115528
115870
  });
115529
115871
  };
115530
- };
115531
- export type DocContentControlsNormalizeTagPayloadResult = {
115532
- success: true;
115533
- contentControl: {
115534
- kind: "block" | "inline";
115535
- nodeType: "sdt";
115536
- nodeId: string;
115872
+ affectedStories?: Array<({
115873
+ kind: "story";
115874
+ storyType: "body";
115875
+ }) | ({
115876
+ kind: "story";
115877
+ storyType: "headerFooterSlot";
115878
+ section: {
115879
+ kind: "section";
115880
+ sectionId: string;
115881
+ };
115882
+ headerFooterKind: "header" | "footer";
115883
+ variant: "default" | "first" | "even";
115884
+ resolution?: "effective" | "explicit";
115885
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
115886
+ }) | ({
115887
+ kind: "story";
115888
+ storyType: "headerFooterPart";
115889
+ refId: string;
115890
+ }) | ({
115891
+ kind: "story";
115892
+ storyType: "footnote";
115893
+ noteId: string;
115894
+ }) | ({
115895
+ kind: "story";
115896
+ storyType: "endnote";
115897
+ noteId: string;
115898
+ }) | ({
115899
+ kind: "story";
115900
+ storyType: "textbox";
115901
+ textboxId: string;
115902
+ })>;
115903
+ trackedChangeRefs?: Array<{
115904
+ kind: "entity";
115905
+ entityType: "trackedChange";
115906
+ entityId: string;
115537
115907
  story?: ({
115538
115908
  kind: "story";
115539
115909
  storyType: "body";
@@ -115565,8 +115935,11 @@ export type DocContentControlsNormalizeTagPayloadResult = {
115565
115935
  storyType: "textbox";
115566
115936
  textboxId: string;
115567
115937
  });
115568
- };
115569
- updatedRef?: {
115938
+ }>;
115939
+ };
115940
+ export type DocContentControlsInsertBeforeResult = {
115941
+ success: true;
115942
+ contentControl: {
115570
115943
  kind: "block" | "inline";
115571
115944
  nodeType: "sdt";
115572
115945
  nodeId: string;
@@ -115602,10 +115975,7 @@ export type DocContentControlsNormalizeTagPayloadResult = {
115602
115975
  textboxId: string;
115603
115976
  });
115604
115977
  };
115605
- };
115606
- export type DocContentControlsTextSetMultilineResult = {
115607
- success: true;
115608
- contentControl: {
115978
+ updatedRef?: {
115609
115979
  kind: "block" | "inline";
115610
115980
  nodeType: "sdt";
115611
115981
  nodeId: string;
@@ -115641,10 +116011,41 @@ export type DocContentControlsTextSetMultilineResult = {
115641
116011
  textboxId: string;
115642
116012
  });
115643
116013
  };
115644
- updatedRef?: {
115645
- kind: "block" | "inline";
115646
- nodeType: "sdt";
115647
- nodeId: string;
116014
+ affectedStories?: Array<({
116015
+ kind: "story";
116016
+ storyType: "body";
116017
+ }) | ({
116018
+ kind: "story";
116019
+ storyType: "headerFooterSlot";
116020
+ section: {
116021
+ kind: "section";
116022
+ sectionId: string;
116023
+ };
116024
+ headerFooterKind: "header" | "footer";
116025
+ variant: "default" | "first" | "even";
116026
+ resolution?: "effective" | "explicit";
116027
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
116028
+ }) | ({
116029
+ kind: "story";
116030
+ storyType: "headerFooterPart";
116031
+ refId: string;
116032
+ }) | ({
116033
+ kind: "story";
116034
+ storyType: "footnote";
116035
+ noteId: string;
116036
+ }) | ({
116037
+ kind: "story";
116038
+ storyType: "endnote";
116039
+ noteId: string;
116040
+ }) | ({
116041
+ kind: "story";
116042
+ storyType: "textbox";
116043
+ textboxId: string;
116044
+ })>;
116045
+ trackedChangeRefs?: Array<{
116046
+ kind: "entity";
116047
+ entityType: "trackedChange";
116048
+ entityId: string;
115648
116049
  story?: ({
115649
116050
  kind: "story";
115650
116051
  storyType: "body";
@@ -115676,9 +116077,9 @@ export type DocContentControlsTextSetMultilineResult = {
115676
116077
  storyType: "textbox";
115677
116078
  textboxId: string;
115678
116079
  });
115679
- };
116080
+ }>;
115680
116081
  };
115681
- export type DocContentControlsTextSetValueResult = {
116082
+ export type DocContentControlsInsertAfterResult = {
115682
116083
  success: true;
115683
116084
  contentControl: {
115684
116085
  kind: "block" | "inline";
@@ -115752,17 +116153,45 @@ export type DocContentControlsTextSetValueResult = {
115752
116153
  textboxId: string;
115753
116154
  });
115754
116155
  };
115755
- };
115756
- export type DocContentControlsTextClearValueResult = {
115757
- success: true;
115758
- contentControl: {
115759
- kind: "block" | "inline";
115760
- nodeType: "sdt";
115761
- nodeId: string;
115762
- story?: ({
115763
- kind: "story";
115764
- storyType: "body";
115765
- }) | ({
116156
+ affectedStories?: Array<({
116157
+ kind: "story";
116158
+ storyType: "body";
116159
+ }) | ({
116160
+ kind: "story";
116161
+ storyType: "headerFooterSlot";
116162
+ section: {
116163
+ kind: "section";
116164
+ sectionId: string;
116165
+ };
116166
+ headerFooterKind: "header" | "footer";
116167
+ variant: "default" | "first" | "even";
116168
+ resolution?: "effective" | "explicit";
116169
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
116170
+ }) | ({
116171
+ kind: "story";
116172
+ storyType: "headerFooterPart";
116173
+ refId: string;
116174
+ }) | ({
116175
+ kind: "story";
116176
+ storyType: "footnote";
116177
+ noteId: string;
116178
+ }) | ({
116179
+ kind: "story";
116180
+ storyType: "endnote";
116181
+ noteId: string;
116182
+ }) | ({
116183
+ kind: "story";
116184
+ storyType: "textbox";
116185
+ textboxId: string;
116186
+ })>;
116187
+ trackedChangeRefs?: Array<{
116188
+ kind: "entity";
116189
+ entityType: "trackedChange";
116190
+ entityId: string;
116191
+ story?: ({
116192
+ kind: "story";
116193
+ storyType: "body";
116194
+ }) | ({
115766
116195
  kind: "story";
115767
116196
  storyType: "headerFooterSlot";
115768
116197
  section: {
@@ -115790,8 +116219,16 @@ export type DocContentControlsTextClearValueResult = {
115790
116219
  storyType: "textbox";
115791
116220
  textboxId: string;
115792
116221
  });
115793
- };
115794
- updatedRef?: {
116222
+ }>;
116223
+ };
116224
+ export type DocContentControlsGetBindingResult = ({
116225
+ storeItemId: string;
116226
+ xpath: string;
116227
+ prefixMappings?: string;
116228
+ }) | null;
116229
+ export type DocContentControlsSetBindingResult = {
116230
+ success: true;
116231
+ contentControl: {
115795
116232
  kind: "block" | "inline";
115796
116233
  nodeType: "sdt";
115797
116234
  nodeId: string;
@@ -115827,10 +116264,7 @@ export type DocContentControlsTextClearValueResult = {
115827
116264
  textboxId: string;
115828
116265
  });
115829
116266
  };
115830
- };
115831
- export type DocContentControlsDateSetValueResult = {
115832
- success: true;
115833
- contentControl: {
116267
+ updatedRef?: {
115834
116268
  kind: "block" | "inline";
115835
116269
  nodeType: "sdt";
115836
116270
  nodeId: string;
@@ -115866,10 +116300,41 @@ export type DocContentControlsDateSetValueResult = {
115866
116300
  textboxId: string;
115867
116301
  });
115868
116302
  };
115869
- updatedRef?: {
115870
- kind: "block" | "inline";
115871
- nodeType: "sdt";
115872
- nodeId: string;
116303
+ affectedStories?: Array<({
116304
+ kind: "story";
116305
+ storyType: "body";
116306
+ }) | ({
116307
+ kind: "story";
116308
+ storyType: "headerFooterSlot";
116309
+ section: {
116310
+ kind: "section";
116311
+ sectionId: string;
116312
+ };
116313
+ headerFooterKind: "header" | "footer";
116314
+ variant: "default" | "first" | "even";
116315
+ resolution?: "effective" | "explicit";
116316
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
116317
+ }) | ({
116318
+ kind: "story";
116319
+ storyType: "headerFooterPart";
116320
+ refId: string;
116321
+ }) | ({
116322
+ kind: "story";
116323
+ storyType: "footnote";
116324
+ noteId: string;
116325
+ }) | ({
116326
+ kind: "story";
116327
+ storyType: "endnote";
116328
+ noteId: string;
116329
+ }) | ({
116330
+ kind: "story";
116331
+ storyType: "textbox";
116332
+ textboxId: string;
116333
+ })>;
116334
+ trackedChangeRefs?: Array<{
116335
+ kind: "entity";
116336
+ entityType: "trackedChange";
116337
+ entityId: string;
115873
116338
  story?: ({
115874
116339
  kind: "story";
115875
116340
  storyType: "body";
@@ -115901,9 +116366,9 @@ export type DocContentControlsDateSetValueResult = {
115901
116366
  storyType: "textbox";
115902
116367
  textboxId: string;
115903
116368
  });
115904
- };
116369
+ }>;
115905
116370
  };
115906
- export type DocContentControlsDateClearValueResult = {
116371
+ export type DocContentControlsClearBindingResult = {
115907
116372
  success: true;
115908
116373
  contentControl: {
115909
116374
  kind: "block" | "inline";
@@ -115977,13 +116442,41 @@ export type DocContentControlsDateClearValueResult = {
115977
116442
  textboxId: string;
115978
116443
  });
115979
116444
  };
115980
- };
115981
- export type DocContentControlsDateSetDisplayFormatResult = {
115982
- success: true;
115983
- contentControl: {
115984
- kind: "block" | "inline";
115985
- nodeType: "sdt";
115986
- nodeId: string;
116445
+ affectedStories?: Array<({
116446
+ kind: "story";
116447
+ storyType: "body";
116448
+ }) | ({
116449
+ kind: "story";
116450
+ storyType: "headerFooterSlot";
116451
+ section: {
116452
+ kind: "section";
116453
+ sectionId: string;
116454
+ };
116455
+ headerFooterKind: "header" | "footer";
116456
+ variant: "default" | "first" | "even";
116457
+ resolution?: "effective" | "explicit";
116458
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
116459
+ }) | ({
116460
+ kind: "story";
116461
+ storyType: "headerFooterPart";
116462
+ refId: string;
116463
+ }) | ({
116464
+ kind: "story";
116465
+ storyType: "footnote";
116466
+ noteId: string;
116467
+ }) | ({
116468
+ kind: "story";
116469
+ storyType: "endnote";
116470
+ noteId: string;
116471
+ }) | ({
116472
+ kind: "story";
116473
+ storyType: "textbox";
116474
+ textboxId: string;
116475
+ })>;
116476
+ trackedChangeRefs?: Array<{
116477
+ kind: "entity";
116478
+ entityType: "trackedChange";
116479
+ entityId: string;
115987
116480
  story?: ({
115988
116481
  kind: "story";
115989
116482
  storyType: "body";
@@ -116015,8 +116508,14 @@ export type DocContentControlsDateSetDisplayFormatResult = {
116015
116508
  storyType: "textbox";
116016
116509
  textboxId: string;
116017
116510
  });
116018
- };
116019
- updatedRef?: {
116511
+ }>;
116512
+ };
116513
+ export type DocContentControlsGetRawPropertiesResult = {
116514
+ properties: Record<string, unknown>;
116515
+ };
116516
+ export type DocContentControlsPatchRawPropertiesResult = {
116517
+ success: true;
116518
+ contentControl: {
116020
116519
  kind: "block" | "inline";
116021
116520
  nodeType: "sdt";
116022
116521
  nodeId: string;
@@ -116052,10 +116551,7 @@ export type DocContentControlsDateSetDisplayFormatResult = {
116052
116551
  textboxId: string;
116053
116552
  });
116054
116553
  };
116055
- };
116056
- export type DocContentControlsDateSetDisplayLocaleResult = {
116057
- success: true;
116058
- contentControl: {
116554
+ updatedRef?: {
116059
116555
  kind: "block" | "inline";
116060
116556
  nodeType: "sdt";
116061
116557
  nodeId: string;
@@ -116091,10 +116587,41 @@ export type DocContentControlsDateSetDisplayLocaleResult = {
116091
116587
  textboxId: string;
116092
116588
  });
116093
116589
  };
116094
- updatedRef?: {
116095
- kind: "block" | "inline";
116096
- nodeType: "sdt";
116097
- nodeId: string;
116590
+ affectedStories?: Array<({
116591
+ kind: "story";
116592
+ storyType: "body";
116593
+ }) | ({
116594
+ kind: "story";
116595
+ storyType: "headerFooterSlot";
116596
+ section: {
116597
+ kind: "section";
116598
+ sectionId: string;
116599
+ };
116600
+ headerFooterKind: "header" | "footer";
116601
+ variant: "default" | "first" | "even";
116602
+ resolution?: "effective" | "explicit";
116603
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
116604
+ }) | ({
116605
+ kind: "story";
116606
+ storyType: "headerFooterPart";
116607
+ refId: string;
116608
+ }) | ({
116609
+ kind: "story";
116610
+ storyType: "footnote";
116611
+ noteId: string;
116612
+ }) | ({
116613
+ kind: "story";
116614
+ storyType: "endnote";
116615
+ noteId: string;
116616
+ }) | ({
116617
+ kind: "story";
116618
+ storyType: "textbox";
116619
+ textboxId: string;
116620
+ })>;
116621
+ trackedChangeRefs?: Array<{
116622
+ kind: "entity";
116623
+ entityType: "trackedChange";
116624
+ entityId: string;
116098
116625
  story?: ({
116099
116626
  kind: "story";
116100
116627
  storyType: "body";
@@ -116126,9 +116653,13 @@ export type DocContentControlsDateSetDisplayLocaleResult = {
116126
116653
  storyType: "textbox";
116127
116654
  textboxId: string;
116128
116655
  });
116129
- };
116656
+ }>;
116130
116657
  };
116131
- export type DocContentControlsDateSetStorageFormatResult = {
116658
+ export type DocContentControlsValidateWordCompatibilityResult = {
116659
+ compatible: boolean;
116660
+ diagnostics: Array<Record<string, unknown>>;
116661
+ };
116662
+ export type DocContentControlsNormalizeWordCompatibilityResult = {
116132
116663
  success: true;
116133
116664
  contentControl: {
116134
116665
  kind: "block" | "inline";
@@ -116202,13 +116733,41 @@ export type DocContentControlsDateSetStorageFormatResult = {
116202
116733
  textboxId: string;
116203
116734
  });
116204
116735
  };
116205
- };
116206
- export type DocContentControlsDateSetCalendarResult = {
116207
- success: true;
116208
- contentControl: {
116209
- kind: "block" | "inline";
116210
- nodeType: "sdt";
116211
- nodeId: string;
116736
+ affectedStories?: Array<({
116737
+ kind: "story";
116738
+ storyType: "body";
116739
+ }) | ({
116740
+ kind: "story";
116741
+ storyType: "headerFooterSlot";
116742
+ section: {
116743
+ kind: "section";
116744
+ sectionId: string;
116745
+ };
116746
+ headerFooterKind: "header" | "footer";
116747
+ variant: "default" | "first" | "even";
116748
+ resolution?: "effective" | "explicit";
116749
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
116750
+ }) | ({
116751
+ kind: "story";
116752
+ storyType: "headerFooterPart";
116753
+ refId: string;
116754
+ }) | ({
116755
+ kind: "story";
116756
+ storyType: "footnote";
116757
+ noteId: string;
116758
+ }) | ({
116759
+ kind: "story";
116760
+ storyType: "endnote";
116761
+ noteId: string;
116762
+ }) | ({
116763
+ kind: "story";
116764
+ storyType: "textbox";
116765
+ textboxId: string;
116766
+ })>;
116767
+ trackedChangeRefs?: Array<{
116768
+ kind: "entity";
116769
+ entityType: "trackedChange";
116770
+ entityId: string;
116212
116771
  story?: ({
116213
116772
  kind: "story";
116214
116773
  storyType: "body";
@@ -116240,8 +116799,11 @@ export type DocContentControlsDateSetCalendarResult = {
116240
116799
  storyType: "textbox";
116241
116800
  textboxId: string;
116242
116801
  });
116243
- };
116244
- updatedRef?: {
116802
+ }>;
116803
+ };
116804
+ export type DocContentControlsNormalizeTagPayloadResult = {
116805
+ success: true;
116806
+ contentControl: {
116245
116807
  kind: "block" | "inline";
116246
116808
  nodeType: "sdt";
116247
116809
  nodeId: string;
@@ -116277,13 +116839,7 @@ export type DocContentControlsDateSetCalendarResult = {
116277
116839
  textboxId: string;
116278
116840
  });
116279
116841
  };
116280
- };
116281
- export type DocContentControlsCheckboxGetStateResult = {
116282
- checked: boolean;
116283
- };
116284
- export type DocContentControlsCheckboxSetStateResult = {
116285
- success: true;
116286
- contentControl: {
116842
+ updatedRef?: {
116287
116843
  kind: "block" | "inline";
116288
116844
  nodeType: "sdt";
116289
116845
  nodeId: string;
@@ -116319,10 +116875,41 @@ export type DocContentControlsCheckboxSetStateResult = {
116319
116875
  textboxId: string;
116320
116876
  });
116321
116877
  };
116322
- updatedRef?: {
116323
- kind: "block" | "inline";
116324
- nodeType: "sdt";
116325
- nodeId: string;
116878
+ affectedStories?: Array<({
116879
+ kind: "story";
116880
+ storyType: "body";
116881
+ }) | ({
116882
+ kind: "story";
116883
+ storyType: "headerFooterSlot";
116884
+ section: {
116885
+ kind: "section";
116886
+ sectionId: string;
116887
+ };
116888
+ headerFooterKind: "header" | "footer";
116889
+ variant: "default" | "first" | "even";
116890
+ resolution?: "effective" | "explicit";
116891
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
116892
+ }) | ({
116893
+ kind: "story";
116894
+ storyType: "headerFooterPart";
116895
+ refId: string;
116896
+ }) | ({
116897
+ kind: "story";
116898
+ storyType: "footnote";
116899
+ noteId: string;
116900
+ }) | ({
116901
+ kind: "story";
116902
+ storyType: "endnote";
116903
+ noteId: string;
116904
+ }) | ({
116905
+ kind: "story";
116906
+ storyType: "textbox";
116907
+ textboxId: string;
116908
+ })>;
116909
+ trackedChangeRefs?: Array<{
116910
+ kind: "entity";
116911
+ entityType: "trackedChange";
116912
+ entityId: string;
116326
116913
  story?: ({
116327
116914
  kind: "story";
116328
116915
  storyType: "body";
@@ -116354,9 +116941,9 @@ export type DocContentControlsCheckboxSetStateResult = {
116354
116941
  storyType: "textbox";
116355
116942
  textboxId: string;
116356
116943
  });
116357
- };
116944
+ }>;
116358
116945
  };
116359
- export type DocContentControlsCheckboxToggleResult = {
116946
+ export type DocContentControlsTextSetMultilineResult = {
116360
116947
  success: true;
116361
116948
  contentControl: {
116362
116949
  kind: "block" | "inline";
@@ -116430,8 +117017,75 @@ export type DocContentControlsCheckboxToggleResult = {
116430
117017
  textboxId: string;
116431
117018
  });
116432
117019
  };
117020
+ affectedStories?: Array<({
117021
+ kind: "story";
117022
+ storyType: "body";
117023
+ }) | ({
117024
+ kind: "story";
117025
+ storyType: "headerFooterSlot";
117026
+ section: {
117027
+ kind: "section";
117028
+ sectionId: string;
117029
+ };
117030
+ headerFooterKind: "header" | "footer";
117031
+ variant: "default" | "first" | "even";
117032
+ resolution?: "effective" | "explicit";
117033
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117034
+ }) | ({
117035
+ kind: "story";
117036
+ storyType: "headerFooterPart";
117037
+ refId: string;
117038
+ }) | ({
117039
+ kind: "story";
117040
+ storyType: "footnote";
117041
+ noteId: string;
117042
+ }) | ({
117043
+ kind: "story";
117044
+ storyType: "endnote";
117045
+ noteId: string;
117046
+ }) | ({
117047
+ kind: "story";
117048
+ storyType: "textbox";
117049
+ textboxId: string;
117050
+ })>;
117051
+ trackedChangeRefs?: Array<{
117052
+ kind: "entity";
117053
+ entityType: "trackedChange";
117054
+ entityId: string;
117055
+ story?: ({
117056
+ kind: "story";
117057
+ storyType: "body";
117058
+ }) | ({
117059
+ kind: "story";
117060
+ storyType: "headerFooterSlot";
117061
+ section: {
117062
+ kind: "section";
117063
+ sectionId: string;
117064
+ };
117065
+ headerFooterKind: "header" | "footer";
117066
+ variant: "default" | "first" | "even";
117067
+ resolution?: "effective" | "explicit";
117068
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117069
+ }) | ({
117070
+ kind: "story";
117071
+ storyType: "headerFooterPart";
117072
+ refId: string;
117073
+ }) | ({
117074
+ kind: "story";
117075
+ storyType: "footnote";
117076
+ noteId: string;
117077
+ }) | ({
117078
+ kind: "story";
117079
+ storyType: "endnote";
117080
+ noteId: string;
117081
+ }) | ({
117082
+ kind: "story";
117083
+ storyType: "textbox";
117084
+ textboxId: string;
117085
+ });
117086
+ }>;
116433
117087
  };
116434
- export type DocContentControlsCheckboxSetSymbolPairResult = {
117088
+ export type DocContentControlsTextSetValueResult = {
116435
117089
  success: true;
116436
117090
  contentControl: {
116437
117091
  kind: "block" | "inline";
@@ -116505,12 +117159,75 @@ export type DocContentControlsCheckboxSetSymbolPairResult = {
116505
117159
  textboxId: string;
116506
117160
  });
116507
117161
  };
117162
+ affectedStories?: Array<({
117163
+ kind: "story";
117164
+ storyType: "body";
117165
+ }) | ({
117166
+ kind: "story";
117167
+ storyType: "headerFooterSlot";
117168
+ section: {
117169
+ kind: "section";
117170
+ sectionId: string;
117171
+ };
117172
+ headerFooterKind: "header" | "footer";
117173
+ variant: "default" | "first" | "even";
117174
+ resolution?: "effective" | "explicit";
117175
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117176
+ }) | ({
117177
+ kind: "story";
117178
+ storyType: "headerFooterPart";
117179
+ refId: string;
117180
+ }) | ({
117181
+ kind: "story";
117182
+ storyType: "footnote";
117183
+ noteId: string;
117184
+ }) | ({
117185
+ kind: "story";
117186
+ storyType: "endnote";
117187
+ noteId: string;
117188
+ }) | ({
117189
+ kind: "story";
117190
+ storyType: "textbox";
117191
+ textboxId: string;
117192
+ })>;
117193
+ trackedChangeRefs?: Array<{
117194
+ kind: "entity";
117195
+ entityType: "trackedChange";
117196
+ entityId: string;
117197
+ story?: ({
117198
+ kind: "story";
117199
+ storyType: "body";
117200
+ }) | ({
117201
+ kind: "story";
117202
+ storyType: "headerFooterSlot";
117203
+ section: {
117204
+ kind: "section";
117205
+ sectionId: string;
117206
+ };
117207
+ headerFooterKind: "header" | "footer";
117208
+ variant: "default" | "first" | "even";
117209
+ resolution?: "effective" | "explicit";
117210
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117211
+ }) | ({
117212
+ kind: "story";
117213
+ storyType: "headerFooterPart";
117214
+ refId: string;
117215
+ }) | ({
117216
+ kind: "story";
117217
+ storyType: "footnote";
117218
+ noteId: string;
117219
+ }) | ({
117220
+ kind: "story";
117221
+ storyType: "endnote";
117222
+ noteId: string;
117223
+ }) | ({
117224
+ kind: "story";
117225
+ storyType: "textbox";
117226
+ textboxId: string;
117227
+ });
117228
+ }>;
116508
117229
  };
116509
- export type DocContentControlsChoiceListGetItemsResult = {
116510
- items: Array<Record<string, unknown>>;
116511
- selectedValue?: string;
116512
- };
116513
- export type DocContentControlsChoiceListSetItemsResult = {
117230
+ export type DocContentControlsTextClearValueResult = {
116514
117231
  success: true;
116515
117232
  contentControl: {
116516
117233
  kind: "block" | "inline";
@@ -116584,13 +117301,41 @@ export type DocContentControlsChoiceListSetItemsResult = {
116584
117301
  textboxId: string;
116585
117302
  });
116586
117303
  };
116587
- };
116588
- export type DocContentControlsChoiceListSetSelectedResult = {
116589
- success: true;
116590
- contentControl: {
116591
- kind: "block" | "inline";
116592
- nodeType: "sdt";
116593
- nodeId: string;
117304
+ affectedStories?: Array<({
117305
+ kind: "story";
117306
+ storyType: "body";
117307
+ }) | ({
117308
+ kind: "story";
117309
+ storyType: "headerFooterSlot";
117310
+ section: {
117311
+ kind: "section";
117312
+ sectionId: string;
117313
+ };
117314
+ headerFooterKind: "header" | "footer";
117315
+ variant: "default" | "first" | "even";
117316
+ resolution?: "effective" | "explicit";
117317
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117318
+ }) | ({
117319
+ kind: "story";
117320
+ storyType: "headerFooterPart";
117321
+ refId: string;
117322
+ }) | ({
117323
+ kind: "story";
117324
+ storyType: "footnote";
117325
+ noteId: string;
117326
+ }) | ({
117327
+ kind: "story";
117328
+ storyType: "endnote";
117329
+ noteId: string;
117330
+ }) | ({
117331
+ kind: "story";
117332
+ storyType: "textbox";
117333
+ textboxId: string;
117334
+ })>;
117335
+ trackedChangeRefs?: Array<{
117336
+ kind: "entity";
117337
+ entityType: "trackedChange";
117338
+ entityId: string;
116594
117339
  story?: ({
116595
117340
  kind: "story";
116596
117341
  storyType: "body";
@@ -116622,8 +117367,11 @@ export type DocContentControlsChoiceListSetSelectedResult = {
116622
117367
  storyType: "textbox";
116623
117368
  textboxId: string;
116624
117369
  });
116625
- };
116626
- updatedRef?: {
117370
+ }>;
117371
+ };
117372
+ export type DocContentControlsDateSetValueResult = {
117373
+ success: true;
117374
+ contentControl: {
116627
117375
  kind: "block" | "inline";
116628
117376
  nodeType: "sdt";
116629
117377
  nodeId: string;
@@ -116659,24 +117407,1554 @@ export type DocContentControlsChoiceListSetSelectedResult = {
116659
117407
  textboxId: string;
116660
117408
  });
116661
117409
  };
116662
- };
116663
- export type DocContentControlsRepeatingSectionListItemsResult = {
116664
- items: Array<{
116665
- nodeType: "sdt";
117410
+ updatedRef?: {
116666
117411
  kind: "block" | "inline";
116667
- id: string;
116668
- controlType: string;
116669
- lockMode: string;
116670
- properties: Record<string, unknown>;
116671
- binding?: {
116672
- storeItemId: string;
116673
- xpath: string;
116674
- prefixMappings?: string;
116675
- };
116676
- raw?: Record<string, unknown>;
116677
- target: {
116678
- kind: "block" | "inline";
116679
- nodeType: "sdt";
117412
+ nodeType: "sdt";
117413
+ nodeId: string;
117414
+ story?: ({
117415
+ kind: "story";
117416
+ storyType: "body";
117417
+ }) | ({
117418
+ kind: "story";
117419
+ storyType: "headerFooterSlot";
117420
+ section: {
117421
+ kind: "section";
117422
+ sectionId: string;
117423
+ };
117424
+ headerFooterKind: "header" | "footer";
117425
+ variant: "default" | "first" | "even";
117426
+ resolution?: "effective" | "explicit";
117427
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117428
+ }) | ({
117429
+ kind: "story";
117430
+ storyType: "headerFooterPart";
117431
+ refId: string;
117432
+ }) | ({
117433
+ kind: "story";
117434
+ storyType: "footnote";
117435
+ noteId: string;
117436
+ }) | ({
117437
+ kind: "story";
117438
+ storyType: "endnote";
117439
+ noteId: string;
117440
+ }) | ({
117441
+ kind: "story";
117442
+ storyType: "textbox";
117443
+ textboxId: string;
117444
+ });
117445
+ };
117446
+ affectedStories?: Array<({
117447
+ kind: "story";
117448
+ storyType: "body";
117449
+ }) | ({
117450
+ kind: "story";
117451
+ storyType: "headerFooterSlot";
117452
+ section: {
117453
+ kind: "section";
117454
+ sectionId: string;
117455
+ };
117456
+ headerFooterKind: "header" | "footer";
117457
+ variant: "default" | "first" | "even";
117458
+ resolution?: "effective" | "explicit";
117459
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117460
+ }) | ({
117461
+ kind: "story";
117462
+ storyType: "headerFooterPart";
117463
+ refId: string;
117464
+ }) | ({
117465
+ kind: "story";
117466
+ storyType: "footnote";
117467
+ noteId: string;
117468
+ }) | ({
117469
+ kind: "story";
117470
+ storyType: "endnote";
117471
+ noteId: string;
117472
+ }) | ({
117473
+ kind: "story";
117474
+ storyType: "textbox";
117475
+ textboxId: string;
117476
+ })>;
117477
+ trackedChangeRefs?: Array<{
117478
+ kind: "entity";
117479
+ entityType: "trackedChange";
117480
+ entityId: string;
117481
+ story?: ({
117482
+ kind: "story";
117483
+ storyType: "body";
117484
+ }) | ({
117485
+ kind: "story";
117486
+ storyType: "headerFooterSlot";
117487
+ section: {
117488
+ kind: "section";
117489
+ sectionId: string;
117490
+ };
117491
+ headerFooterKind: "header" | "footer";
117492
+ variant: "default" | "first" | "even";
117493
+ resolution?: "effective" | "explicit";
117494
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117495
+ }) | ({
117496
+ kind: "story";
117497
+ storyType: "headerFooterPart";
117498
+ refId: string;
117499
+ }) | ({
117500
+ kind: "story";
117501
+ storyType: "footnote";
117502
+ noteId: string;
117503
+ }) | ({
117504
+ kind: "story";
117505
+ storyType: "endnote";
117506
+ noteId: string;
117507
+ }) | ({
117508
+ kind: "story";
117509
+ storyType: "textbox";
117510
+ textboxId: string;
117511
+ });
117512
+ }>;
117513
+ };
117514
+ export type DocContentControlsDateClearValueResult = {
117515
+ success: true;
117516
+ contentControl: {
117517
+ kind: "block" | "inline";
117518
+ nodeType: "sdt";
117519
+ nodeId: string;
117520
+ story?: ({
117521
+ kind: "story";
117522
+ storyType: "body";
117523
+ }) | ({
117524
+ kind: "story";
117525
+ storyType: "headerFooterSlot";
117526
+ section: {
117527
+ kind: "section";
117528
+ sectionId: string;
117529
+ };
117530
+ headerFooterKind: "header" | "footer";
117531
+ variant: "default" | "first" | "even";
117532
+ resolution?: "effective" | "explicit";
117533
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117534
+ }) | ({
117535
+ kind: "story";
117536
+ storyType: "headerFooterPart";
117537
+ refId: string;
117538
+ }) | ({
117539
+ kind: "story";
117540
+ storyType: "footnote";
117541
+ noteId: string;
117542
+ }) | ({
117543
+ kind: "story";
117544
+ storyType: "endnote";
117545
+ noteId: string;
117546
+ }) | ({
117547
+ kind: "story";
117548
+ storyType: "textbox";
117549
+ textboxId: string;
117550
+ });
117551
+ };
117552
+ updatedRef?: {
117553
+ kind: "block" | "inline";
117554
+ nodeType: "sdt";
117555
+ nodeId: string;
117556
+ story?: ({
117557
+ kind: "story";
117558
+ storyType: "body";
117559
+ }) | ({
117560
+ kind: "story";
117561
+ storyType: "headerFooterSlot";
117562
+ section: {
117563
+ kind: "section";
117564
+ sectionId: string;
117565
+ };
117566
+ headerFooterKind: "header" | "footer";
117567
+ variant: "default" | "first" | "even";
117568
+ resolution?: "effective" | "explicit";
117569
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117570
+ }) | ({
117571
+ kind: "story";
117572
+ storyType: "headerFooterPart";
117573
+ refId: string;
117574
+ }) | ({
117575
+ kind: "story";
117576
+ storyType: "footnote";
117577
+ noteId: string;
117578
+ }) | ({
117579
+ kind: "story";
117580
+ storyType: "endnote";
117581
+ noteId: string;
117582
+ }) | ({
117583
+ kind: "story";
117584
+ storyType: "textbox";
117585
+ textboxId: string;
117586
+ });
117587
+ };
117588
+ affectedStories?: Array<({
117589
+ kind: "story";
117590
+ storyType: "body";
117591
+ }) | ({
117592
+ kind: "story";
117593
+ storyType: "headerFooterSlot";
117594
+ section: {
117595
+ kind: "section";
117596
+ sectionId: string;
117597
+ };
117598
+ headerFooterKind: "header" | "footer";
117599
+ variant: "default" | "first" | "even";
117600
+ resolution?: "effective" | "explicit";
117601
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117602
+ }) | ({
117603
+ kind: "story";
117604
+ storyType: "headerFooterPart";
117605
+ refId: string;
117606
+ }) | ({
117607
+ kind: "story";
117608
+ storyType: "footnote";
117609
+ noteId: string;
117610
+ }) | ({
117611
+ kind: "story";
117612
+ storyType: "endnote";
117613
+ noteId: string;
117614
+ }) | ({
117615
+ kind: "story";
117616
+ storyType: "textbox";
117617
+ textboxId: string;
117618
+ })>;
117619
+ trackedChangeRefs?: Array<{
117620
+ kind: "entity";
117621
+ entityType: "trackedChange";
117622
+ entityId: string;
117623
+ story?: ({
117624
+ kind: "story";
117625
+ storyType: "body";
117626
+ }) | ({
117627
+ kind: "story";
117628
+ storyType: "headerFooterSlot";
117629
+ section: {
117630
+ kind: "section";
117631
+ sectionId: string;
117632
+ };
117633
+ headerFooterKind: "header" | "footer";
117634
+ variant: "default" | "first" | "even";
117635
+ resolution?: "effective" | "explicit";
117636
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117637
+ }) | ({
117638
+ kind: "story";
117639
+ storyType: "headerFooterPart";
117640
+ refId: string;
117641
+ }) | ({
117642
+ kind: "story";
117643
+ storyType: "footnote";
117644
+ noteId: string;
117645
+ }) | ({
117646
+ kind: "story";
117647
+ storyType: "endnote";
117648
+ noteId: string;
117649
+ }) | ({
117650
+ kind: "story";
117651
+ storyType: "textbox";
117652
+ textboxId: string;
117653
+ });
117654
+ }>;
117655
+ };
117656
+ export type DocContentControlsDateSetDisplayFormatResult = {
117657
+ success: true;
117658
+ contentControl: {
117659
+ kind: "block" | "inline";
117660
+ nodeType: "sdt";
117661
+ nodeId: string;
117662
+ story?: ({
117663
+ kind: "story";
117664
+ storyType: "body";
117665
+ }) | ({
117666
+ kind: "story";
117667
+ storyType: "headerFooterSlot";
117668
+ section: {
117669
+ kind: "section";
117670
+ sectionId: string;
117671
+ };
117672
+ headerFooterKind: "header" | "footer";
117673
+ variant: "default" | "first" | "even";
117674
+ resolution?: "effective" | "explicit";
117675
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117676
+ }) | ({
117677
+ kind: "story";
117678
+ storyType: "headerFooterPart";
117679
+ refId: string;
117680
+ }) | ({
117681
+ kind: "story";
117682
+ storyType: "footnote";
117683
+ noteId: string;
117684
+ }) | ({
117685
+ kind: "story";
117686
+ storyType: "endnote";
117687
+ noteId: string;
117688
+ }) | ({
117689
+ kind: "story";
117690
+ storyType: "textbox";
117691
+ textboxId: string;
117692
+ });
117693
+ };
117694
+ updatedRef?: {
117695
+ kind: "block" | "inline";
117696
+ nodeType: "sdt";
117697
+ nodeId: string;
117698
+ story?: ({
117699
+ kind: "story";
117700
+ storyType: "body";
117701
+ }) | ({
117702
+ kind: "story";
117703
+ storyType: "headerFooterSlot";
117704
+ section: {
117705
+ kind: "section";
117706
+ sectionId: string;
117707
+ };
117708
+ headerFooterKind: "header" | "footer";
117709
+ variant: "default" | "first" | "even";
117710
+ resolution?: "effective" | "explicit";
117711
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117712
+ }) | ({
117713
+ kind: "story";
117714
+ storyType: "headerFooterPart";
117715
+ refId: string;
117716
+ }) | ({
117717
+ kind: "story";
117718
+ storyType: "footnote";
117719
+ noteId: string;
117720
+ }) | ({
117721
+ kind: "story";
117722
+ storyType: "endnote";
117723
+ noteId: string;
117724
+ }) | ({
117725
+ kind: "story";
117726
+ storyType: "textbox";
117727
+ textboxId: string;
117728
+ });
117729
+ };
117730
+ affectedStories?: Array<({
117731
+ kind: "story";
117732
+ storyType: "body";
117733
+ }) | ({
117734
+ kind: "story";
117735
+ storyType: "headerFooterSlot";
117736
+ section: {
117737
+ kind: "section";
117738
+ sectionId: string;
117739
+ };
117740
+ headerFooterKind: "header" | "footer";
117741
+ variant: "default" | "first" | "even";
117742
+ resolution?: "effective" | "explicit";
117743
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117744
+ }) | ({
117745
+ kind: "story";
117746
+ storyType: "headerFooterPart";
117747
+ refId: string;
117748
+ }) | ({
117749
+ kind: "story";
117750
+ storyType: "footnote";
117751
+ noteId: string;
117752
+ }) | ({
117753
+ kind: "story";
117754
+ storyType: "endnote";
117755
+ noteId: string;
117756
+ }) | ({
117757
+ kind: "story";
117758
+ storyType: "textbox";
117759
+ textboxId: string;
117760
+ })>;
117761
+ trackedChangeRefs?: Array<{
117762
+ kind: "entity";
117763
+ entityType: "trackedChange";
117764
+ entityId: string;
117765
+ story?: ({
117766
+ kind: "story";
117767
+ storyType: "body";
117768
+ }) | ({
117769
+ kind: "story";
117770
+ storyType: "headerFooterSlot";
117771
+ section: {
117772
+ kind: "section";
117773
+ sectionId: string;
117774
+ };
117775
+ headerFooterKind: "header" | "footer";
117776
+ variant: "default" | "first" | "even";
117777
+ resolution?: "effective" | "explicit";
117778
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117779
+ }) | ({
117780
+ kind: "story";
117781
+ storyType: "headerFooterPart";
117782
+ refId: string;
117783
+ }) | ({
117784
+ kind: "story";
117785
+ storyType: "footnote";
117786
+ noteId: string;
117787
+ }) | ({
117788
+ kind: "story";
117789
+ storyType: "endnote";
117790
+ noteId: string;
117791
+ }) | ({
117792
+ kind: "story";
117793
+ storyType: "textbox";
117794
+ textboxId: string;
117795
+ });
117796
+ }>;
117797
+ };
117798
+ export type DocContentControlsDateSetDisplayLocaleResult = {
117799
+ success: true;
117800
+ contentControl: {
117801
+ kind: "block" | "inline";
117802
+ nodeType: "sdt";
117803
+ nodeId: string;
117804
+ story?: ({
117805
+ kind: "story";
117806
+ storyType: "body";
117807
+ }) | ({
117808
+ kind: "story";
117809
+ storyType: "headerFooterSlot";
117810
+ section: {
117811
+ kind: "section";
117812
+ sectionId: string;
117813
+ };
117814
+ headerFooterKind: "header" | "footer";
117815
+ variant: "default" | "first" | "even";
117816
+ resolution?: "effective" | "explicit";
117817
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117818
+ }) | ({
117819
+ kind: "story";
117820
+ storyType: "headerFooterPart";
117821
+ refId: string;
117822
+ }) | ({
117823
+ kind: "story";
117824
+ storyType: "footnote";
117825
+ noteId: string;
117826
+ }) | ({
117827
+ kind: "story";
117828
+ storyType: "endnote";
117829
+ noteId: string;
117830
+ }) | ({
117831
+ kind: "story";
117832
+ storyType: "textbox";
117833
+ textboxId: string;
117834
+ });
117835
+ };
117836
+ updatedRef?: {
117837
+ kind: "block" | "inline";
117838
+ nodeType: "sdt";
117839
+ nodeId: string;
117840
+ story?: ({
117841
+ kind: "story";
117842
+ storyType: "body";
117843
+ }) | ({
117844
+ kind: "story";
117845
+ storyType: "headerFooterSlot";
117846
+ section: {
117847
+ kind: "section";
117848
+ sectionId: string;
117849
+ };
117850
+ headerFooterKind: "header" | "footer";
117851
+ variant: "default" | "first" | "even";
117852
+ resolution?: "effective" | "explicit";
117853
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117854
+ }) | ({
117855
+ kind: "story";
117856
+ storyType: "headerFooterPart";
117857
+ refId: string;
117858
+ }) | ({
117859
+ kind: "story";
117860
+ storyType: "footnote";
117861
+ noteId: string;
117862
+ }) | ({
117863
+ kind: "story";
117864
+ storyType: "endnote";
117865
+ noteId: string;
117866
+ }) | ({
117867
+ kind: "story";
117868
+ storyType: "textbox";
117869
+ textboxId: string;
117870
+ });
117871
+ };
117872
+ affectedStories?: Array<({
117873
+ kind: "story";
117874
+ storyType: "body";
117875
+ }) | ({
117876
+ kind: "story";
117877
+ storyType: "headerFooterSlot";
117878
+ section: {
117879
+ kind: "section";
117880
+ sectionId: string;
117881
+ };
117882
+ headerFooterKind: "header" | "footer";
117883
+ variant: "default" | "first" | "even";
117884
+ resolution?: "effective" | "explicit";
117885
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117886
+ }) | ({
117887
+ kind: "story";
117888
+ storyType: "headerFooterPart";
117889
+ refId: string;
117890
+ }) | ({
117891
+ kind: "story";
117892
+ storyType: "footnote";
117893
+ noteId: string;
117894
+ }) | ({
117895
+ kind: "story";
117896
+ storyType: "endnote";
117897
+ noteId: string;
117898
+ }) | ({
117899
+ kind: "story";
117900
+ storyType: "textbox";
117901
+ textboxId: string;
117902
+ })>;
117903
+ trackedChangeRefs?: Array<{
117904
+ kind: "entity";
117905
+ entityType: "trackedChange";
117906
+ entityId: string;
117907
+ story?: ({
117908
+ kind: "story";
117909
+ storyType: "body";
117910
+ }) | ({
117911
+ kind: "story";
117912
+ storyType: "headerFooterSlot";
117913
+ section: {
117914
+ kind: "section";
117915
+ sectionId: string;
117916
+ };
117917
+ headerFooterKind: "header" | "footer";
117918
+ variant: "default" | "first" | "even";
117919
+ resolution?: "effective" | "explicit";
117920
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117921
+ }) | ({
117922
+ kind: "story";
117923
+ storyType: "headerFooterPart";
117924
+ refId: string;
117925
+ }) | ({
117926
+ kind: "story";
117927
+ storyType: "footnote";
117928
+ noteId: string;
117929
+ }) | ({
117930
+ kind: "story";
117931
+ storyType: "endnote";
117932
+ noteId: string;
117933
+ }) | ({
117934
+ kind: "story";
117935
+ storyType: "textbox";
117936
+ textboxId: string;
117937
+ });
117938
+ }>;
117939
+ };
117940
+ export type DocContentControlsDateSetStorageFormatResult = {
117941
+ success: true;
117942
+ contentControl: {
117943
+ kind: "block" | "inline";
117944
+ nodeType: "sdt";
117945
+ nodeId: string;
117946
+ story?: ({
117947
+ kind: "story";
117948
+ storyType: "body";
117949
+ }) | ({
117950
+ kind: "story";
117951
+ storyType: "headerFooterSlot";
117952
+ section: {
117953
+ kind: "section";
117954
+ sectionId: string;
117955
+ };
117956
+ headerFooterKind: "header" | "footer";
117957
+ variant: "default" | "first" | "even";
117958
+ resolution?: "effective" | "explicit";
117959
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117960
+ }) | ({
117961
+ kind: "story";
117962
+ storyType: "headerFooterPart";
117963
+ refId: string;
117964
+ }) | ({
117965
+ kind: "story";
117966
+ storyType: "footnote";
117967
+ noteId: string;
117968
+ }) | ({
117969
+ kind: "story";
117970
+ storyType: "endnote";
117971
+ noteId: string;
117972
+ }) | ({
117973
+ kind: "story";
117974
+ storyType: "textbox";
117975
+ textboxId: string;
117976
+ });
117977
+ };
117978
+ updatedRef?: {
117979
+ kind: "block" | "inline";
117980
+ nodeType: "sdt";
117981
+ nodeId: string;
117982
+ story?: ({
117983
+ kind: "story";
117984
+ storyType: "body";
117985
+ }) | ({
117986
+ kind: "story";
117987
+ storyType: "headerFooterSlot";
117988
+ section: {
117989
+ kind: "section";
117990
+ sectionId: string;
117991
+ };
117992
+ headerFooterKind: "header" | "footer";
117993
+ variant: "default" | "first" | "even";
117994
+ resolution?: "effective" | "explicit";
117995
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
117996
+ }) | ({
117997
+ kind: "story";
117998
+ storyType: "headerFooterPart";
117999
+ refId: string;
118000
+ }) | ({
118001
+ kind: "story";
118002
+ storyType: "footnote";
118003
+ noteId: string;
118004
+ }) | ({
118005
+ kind: "story";
118006
+ storyType: "endnote";
118007
+ noteId: string;
118008
+ }) | ({
118009
+ kind: "story";
118010
+ storyType: "textbox";
118011
+ textboxId: string;
118012
+ });
118013
+ };
118014
+ affectedStories?: Array<({
118015
+ kind: "story";
118016
+ storyType: "body";
118017
+ }) | ({
118018
+ kind: "story";
118019
+ storyType: "headerFooterSlot";
118020
+ section: {
118021
+ kind: "section";
118022
+ sectionId: string;
118023
+ };
118024
+ headerFooterKind: "header" | "footer";
118025
+ variant: "default" | "first" | "even";
118026
+ resolution?: "effective" | "explicit";
118027
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118028
+ }) | ({
118029
+ kind: "story";
118030
+ storyType: "headerFooterPart";
118031
+ refId: string;
118032
+ }) | ({
118033
+ kind: "story";
118034
+ storyType: "footnote";
118035
+ noteId: string;
118036
+ }) | ({
118037
+ kind: "story";
118038
+ storyType: "endnote";
118039
+ noteId: string;
118040
+ }) | ({
118041
+ kind: "story";
118042
+ storyType: "textbox";
118043
+ textboxId: string;
118044
+ })>;
118045
+ trackedChangeRefs?: Array<{
118046
+ kind: "entity";
118047
+ entityType: "trackedChange";
118048
+ entityId: string;
118049
+ story?: ({
118050
+ kind: "story";
118051
+ storyType: "body";
118052
+ }) | ({
118053
+ kind: "story";
118054
+ storyType: "headerFooterSlot";
118055
+ section: {
118056
+ kind: "section";
118057
+ sectionId: string;
118058
+ };
118059
+ headerFooterKind: "header" | "footer";
118060
+ variant: "default" | "first" | "even";
118061
+ resolution?: "effective" | "explicit";
118062
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118063
+ }) | ({
118064
+ kind: "story";
118065
+ storyType: "headerFooterPart";
118066
+ refId: string;
118067
+ }) | ({
118068
+ kind: "story";
118069
+ storyType: "footnote";
118070
+ noteId: string;
118071
+ }) | ({
118072
+ kind: "story";
118073
+ storyType: "endnote";
118074
+ noteId: string;
118075
+ }) | ({
118076
+ kind: "story";
118077
+ storyType: "textbox";
118078
+ textboxId: string;
118079
+ });
118080
+ }>;
118081
+ };
118082
+ export type DocContentControlsDateSetCalendarResult = {
118083
+ success: true;
118084
+ contentControl: {
118085
+ kind: "block" | "inline";
118086
+ nodeType: "sdt";
118087
+ nodeId: string;
118088
+ story?: ({
118089
+ kind: "story";
118090
+ storyType: "body";
118091
+ }) | ({
118092
+ kind: "story";
118093
+ storyType: "headerFooterSlot";
118094
+ section: {
118095
+ kind: "section";
118096
+ sectionId: string;
118097
+ };
118098
+ headerFooterKind: "header" | "footer";
118099
+ variant: "default" | "first" | "even";
118100
+ resolution?: "effective" | "explicit";
118101
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118102
+ }) | ({
118103
+ kind: "story";
118104
+ storyType: "headerFooterPart";
118105
+ refId: string;
118106
+ }) | ({
118107
+ kind: "story";
118108
+ storyType: "footnote";
118109
+ noteId: string;
118110
+ }) | ({
118111
+ kind: "story";
118112
+ storyType: "endnote";
118113
+ noteId: string;
118114
+ }) | ({
118115
+ kind: "story";
118116
+ storyType: "textbox";
118117
+ textboxId: string;
118118
+ });
118119
+ };
118120
+ updatedRef?: {
118121
+ kind: "block" | "inline";
118122
+ nodeType: "sdt";
118123
+ nodeId: string;
118124
+ story?: ({
118125
+ kind: "story";
118126
+ storyType: "body";
118127
+ }) | ({
118128
+ kind: "story";
118129
+ storyType: "headerFooterSlot";
118130
+ section: {
118131
+ kind: "section";
118132
+ sectionId: string;
118133
+ };
118134
+ headerFooterKind: "header" | "footer";
118135
+ variant: "default" | "first" | "even";
118136
+ resolution?: "effective" | "explicit";
118137
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118138
+ }) | ({
118139
+ kind: "story";
118140
+ storyType: "headerFooterPart";
118141
+ refId: string;
118142
+ }) | ({
118143
+ kind: "story";
118144
+ storyType: "footnote";
118145
+ noteId: string;
118146
+ }) | ({
118147
+ kind: "story";
118148
+ storyType: "endnote";
118149
+ noteId: string;
118150
+ }) | ({
118151
+ kind: "story";
118152
+ storyType: "textbox";
118153
+ textboxId: string;
118154
+ });
118155
+ };
118156
+ affectedStories?: Array<({
118157
+ kind: "story";
118158
+ storyType: "body";
118159
+ }) | ({
118160
+ kind: "story";
118161
+ storyType: "headerFooterSlot";
118162
+ section: {
118163
+ kind: "section";
118164
+ sectionId: string;
118165
+ };
118166
+ headerFooterKind: "header" | "footer";
118167
+ variant: "default" | "first" | "even";
118168
+ resolution?: "effective" | "explicit";
118169
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118170
+ }) | ({
118171
+ kind: "story";
118172
+ storyType: "headerFooterPart";
118173
+ refId: string;
118174
+ }) | ({
118175
+ kind: "story";
118176
+ storyType: "footnote";
118177
+ noteId: string;
118178
+ }) | ({
118179
+ kind: "story";
118180
+ storyType: "endnote";
118181
+ noteId: string;
118182
+ }) | ({
118183
+ kind: "story";
118184
+ storyType: "textbox";
118185
+ textboxId: string;
118186
+ })>;
118187
+ trackedChangeRefs?: Array<{
118188
+ kind: "entity";
118189
+ entityType: "trackedChange";
118190
+ entityId: string;
118191
+ story?: ({
118192
+ kind: "story";
118193
+ storyType: "body";
118194
+ }) | ({
118195
+ kind: "story";
118196
+ storyType: "headerFooterSlot";
118197
+ section: {
118198
+ kind: "section";
118199
+ sectionId: string;
118200
+ };
118201
+ headerFooterKind: "header" | "footer";
118202
+ variant: "default" | "first" | "even";
118203
+ resolution?: "effective" | "explicit";
118204
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118205
+ }) | ({
118206
+ kind: "story";
118207
+ storyType: "headerFooterPart";
118208
+ refId: string;
118209
+ }) | ({
118210
+ kind: "story";
118211
+ storyType: "footnote";
118212
+ noteId: string;
118213
+ }) | ({
118214
+ kind: "story";
118215
+ storyType: "endnote";
118216
+ noteId: string;
118217
+ }) | ({
118218
+ kind: "story";
118219
+ storyType: "textbox";
118220
+ textboxId: string;
118221
+ });
118222
+ }>;
118223
+ };
118224
+ export type DocContentControlsCheckboxGetStateResult = {
118225
+ checked: boolean;
118226
+ };
118227
+ export type DocContentControlsCheckboxSetStateResult = {
118228
+ success: true;
118229
+ contentControl: {
118230
+ kind: "block" | "inline";
118231
+ nodeType: "sdt";
118232
+ nodeId: string;
118233
+ story?: ({
118234
+ kind: "story";
118235
+ storyType: "body";
118236
+ }) | ({
118237
+ kind: "story";
118238
+ storyType: "headerFooterSlot";
118239
+ section: {
118240
+ kind: "section";
118241
+ sectionId: string;
118242
+ };
118243
+ headerFooterKind: "header" | "footer";
118244
+ variant: "default" | "first" | "even";
118245
+ resolution?: "effective" | "explicit";
118246
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118247
+ }) | ({
118248
+ kind: "story";
118249
+ storyType: "headerFooterPart";
118250
+ refId: string;
118251
+ }) | ({
118252
+ kind: "story";
118253
+ storyType: "footnote";
118254
+ noteId: string;
118255
+ }) | ({
118256
+ kind: "story";
118257
+ storyType: "endnote";
118258
+ noteId: string;
118259
+ }) | ({
118260
+ kind: "story";
118261
+ storyType: "textbox";
118262
+ textboxId: string;
118263
+ });
118264
+ };
118265
+ updatedRef?: {
118266
+ kind: "block" | "inline";
118267
+ nodeType: "sdt";
118268
+ nodeId: string;
118269
+ story?: ({
118270
+ kind: "story";
118271
+ storyType: "body";
118272
+ }) | ({
118273
+ kind: "story";
118274
+ storyType: "headerFooterSlot";
118275
+ section: {
118276
+ kind: "section";
118277
+ sectionId: string;
118278
+ };
118279
+ headerFooterKind: "header" | "footer";
118280
+ variant: "default" | "first" | "even";
118281
+ resolution?: "effective" | "explicit";
118282
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118283
+ }) | ({
118284
+ kind: "story";
118285
+ storyType: "headerFooterPart";
118286
+ refId: string;
118287
+ }) | ({
118288
+ kind: "story";
118289
+ storyType: "footnote";
118290
+ noteId: string;
118291
+ }) | ({
118292
+ kind: "story";
118293
+ storyType: "endnote";
118294
+ noteId: string;
118295
+ }) | ({
118296
+ kind: "story";
118297
+ storyType: "textbox";
118298
+ textboxId: string;
118299
+ });
118300
+ };
118301
+ affectedStories?: Array<({
118302
+ kind: "story";
118303
+ storyType: "body";
118304
+ }) | ({
118305
+ kind: "story";
118306
+ storyType: "headerFooterSlot";
118307
+ section: {
118308
+ kind: "section";
118309
+ sectionId: string;
118310
+ };
118311
+ headerFooterKind: "header" | "footer";
118312
+ variant: "default" | "first" | "even";
118313
+ resolution?: "effective" | "explicit";
118314
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118315
+ }) | ({
118316
+ kind: "story";
118317
+ storyType: "headerFooterPart";
118318
+ refId: string;
118319
+ }) | ({
118320
+ kind: "story";
118321
+ storyType: "footnote";
118322
+ noteId: string;
118323
+ }) | ({
118324
+ kind: "story";
118325
+ storyType: "endnote";
118326
+ noteId: string;
118327
+ }) | ({
118328
+ kind: "story";
118329
+ storyType: "textbox";
118330
+ textboxId: string;
118331
+ })>;
118332
+ trackedChangeRefs?: Array<{
118333
+ kind: "entity";
118334
+ entityType: "trackedChange";
118335
+ entityId: string;
118336
+ story?: ({
118337
+ kind: "story";
118338
+ storyType: "body";
118339
+ }) | ({
118340
+ kind: "story";
118341
+ storyType: "headerFooterSlot";
118342
+ section: {
118343
+ kind: "section";
118344
+ sectionId: string;
118345
+ };
118346
+ headerFooterKind: "header" | "footer";
118347
+ variant: "default" | "first" | "even";
118348
+ resolution?: "effective" | "explicit";
118349
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118350
+ }) | ({
118351
+ kind: "story";
118352
+ storyType: "headerFooterPart";
118353
+ refId: string;
118354
+ }) | ({
118355
+ kind: "story";
118356
+ storyType: "footnote";
118357
+ noteId: string;
118358
+ }) | ({
118359
+ kind: "story";
118360
+ storyType: "endnote";
118361
+ noteId: string;
118362
+ }) | ({
118363
+ kind: "story";
118364
+ storyType: "textbox";
118365
+ textboxId: string;
118366
+ });
118367
+ }>;
118368
+ };
118369
+ export type DocContentControlsCheckboxToggleResult = {
118370
+ success: true;
118371
+ contentControl: {
118372
+ kind: "block" | "inline";
118373
+ nodeType: "sdt";
118374
+ nodeId: string;
118375
+ story?: ({
118376
+ kind: "story";
118377
+ storyType: "body";
118378
+ }) | ({
118379
+ kind: "story";
118380
+ storyType: "headerFooterSlot";
118381
+ section: {
118382
+ kind: "section";
118383
+ sectionId: string;
118384
+ };
118385
+ headerFooterKind: "header" | "footer";
118386
+ variant: "default" | "first" | "even";
118387
+ resolution?: "effective" | "explicit";
118388
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118389
+ }) | ({
118390
+ kind: "story";
118391
+ storyType: "headerFooterPart";
118392
+ refId: string;
118393
+ }) | ({
118394
+ kind: "story";
118395
+ storyType: "footnote";
118396
+ noteId: string;
118397
+ }) | ({
118398
+ kind: "story";
118399
+ storyType: "endnote";
118400
+ noteId: string;
118401
+ }) | ({
118402
+ kind: "story";
118403
+ storyType: "textbox";
118404
+ textboxId: string;
118405
+ });
118406
+ };
118407
+ updatedRef?: {
118408
+ kind: "block" | "inline";
118409
+ nodeType: "sdt";
118410
+ nodeId: string;
118411
+ story?: ({
118412
+ kind: "story";
118413
+ storyType: "body";
118414
+ }) | ({
118415
+ kind: "story";
118416
+ storyType: "headerFooterSlot";
118417
+ section: {
118418
+ kind: "section";
118419
+ sectionId: string;
118420
+ };
118421
+ headerFooterKind: "header" | "footer";
118422
+ variant: "default" | "first" | "even";
118423
+ resolution?: "effective" | "explicit";
118424
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118425
+ }) | ({
118426
+ kind: "story";
118427
+ storyType: "headerFooterPart";
118428
+ refId: string;
118429
+ }) | ({
118430
+ kind: "story";
118431
+ storyType: "footnote";
118432
+ noteId: string;
118433
+ }) | ({
118434
+ kind: "story";
118435
+ storyType: "endnote";
118436
+ noteId: string;
118437
+ }) | ({
118438
+ kind: "story";
118439
+ storyType: "textbox";
118440
+ textboxId: string;
118441
+ });
118442
+ };
118443
+ affectedStories?: Array<({
118444
+ kind: "story";
118445
+ storyType: "body";
118446
+ }) | ({
118447
+ kind: "story";
118448
+ storyType: "headerFooterSlot";
118449
+ section: {
118450
+ kind: "section";
118451
+ sectionId: string;
118452
+ };
118453
+ headerFooterKind: "header" | "footer";
118454
+ variant: "default" | "first" | "even";
118455
+ resolution?: "effective" | "explicit";
118456
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118457
+ }) | ({
118458
+ kind: "story";
118459
+ storyType: "headerFooterPart";
118460
+ refId: string;
118461
+ }) | ({
118462
+ kind: "story";
118463
+ storyType: "footnote";
118464
+ noteId: string;
118465
+ }) | ({
118466
+ kind: "story";
118467
+ storyType: "endnote";
118468
+ noteId: string;
118469
+ }) | ({
118470
+ kind: "story";
118471
+ storyType: "textbox";
118472
+ textboxId: string;
118473
+ })>;
118474
+ trackedChangeRefs?: Array<{
118475
+ kind: "entity";
118476
+ entityType: "trackedChange";
118477
+ entityId: string;
118478
+ story?: ({
118479
+ kind: "story";
118480
+ storyType: "body";
118481
+ }) | ({
118482
+ kind: "story";
118483
+ storyType: "headerFooterSlot";
118484
+ section: {
118485
+ kind: "section";
118486
+ sectionId: string;
118487
+ };
118488
+ headerFooterKind: "header" | "footer";
118489
+ variant: "default" | "first" | "even";
118490
+ resolution?: "effective" | "explicit";
118491
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118492
+ }) | ({
118493
+ kind: "story";
118494
+ storyType: "headerFooterPart";
118495
+ refId: string;
118496
+ }) | ({
118497
+ kind: "story";
118498
+ storyType: "footnote";
118499
+ noteId: string;
118500
+ }) | ({
118501
+ kind: "story";
118502
+ storyType: "endnote";
118503
+ noteId: string;
118504
+ }) | ({
118505
+ kind: "story";
118506
+ storyType: "textbox";
118507
+ textboxId: string;
118508
+ });
118509
+ }>;
118510
+ };
118511
+ export type DocContentControlsCheckboxSetSymbolPairResult = {
118512
+ success: true;
118513
+ contentControl: {
118514
+ kind: "block" | "inline";
118515
+ nodeType: "sdt";
118516
+ nodeId: string;
118517
+ story?: ({
118518
+ kind: "story";
118519
+ storyType: "body";
118520
+ }) | ({
118521
+ kind: "story";
118522
+ storyType: "headerFooterSlot";
118523
+ section: {
118524
+ kind: "section";
118525
+ sectionId: string;
118526
+ };
118527
+ headerFooterKind: "header" | "footer";
118528
+ variant: "default" | "first" | "even";
118529
+ resolution?: "effective" | "explicit";
118530
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118531
+ }) | ({
118532
+ kind: "story";
118533
+ storyType: "headerFooterPart";
118534
+ refId: string;
118535
+ }) | ({
118536
+ kind: "story";
118537
+ storyType: "footnote";
118538
+ noteId: string;
118539
+ }) | ({
118540
+ kind: "story";
118541
+ storyType: "endnote";
118542
+ noteId: string;
118543
+ }) | ({
118544
+ kind: "story";
118545
+ storyType: "textbox";
118546
+ textboxId: string;
118547
+ });
118548
+ };
118549
+ updatedRef?: {
118550
+ kind: "block" | "inline";
118551
+ nodeType: "sdt";
118552
+ nodeId: string;
118553
+ story?: ({
118554
+ kind: "story";
118555
+ storyType: "body";
118556
+ }) | ({
118557
+ kind: "story";
118558
+ storyType: "headerFooterSlot";
118559
+ section: {
118560
+ kind: "section";
118561
+ sectionId: string;
118562
+ };
118563
+ headerFooterKind: "header" | "footer";
118564
+ variant: "default" | "first" | "even";
118565
+ resolution?: "effective" | "explicit";
118566
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118567
+ }) | ({
118568
+ kind: "story";
118569
+ storyType: "headerFooterPart";
118570
+ refId: string;
118571
+ }) | ({
118572
+ kind: "story";
118573
+ storyType: "footnote";
118574
+ noteId: string;
118575
+ }) | ({
118576
+ kind: "story";
118577
+ storyType: "endnote";
118578
+ noteId: string;
118579
+ }) | ({
118580
+ kind: "story";
118581
+ storyType: "textbox";
118582
+ textboxId: string;
118583
+ });
118584
+ };
118585
+ affectedStories?: Array<({
118586
+ kind: "story";
118587
+ storyType: "body";
118588
+ }) | ({
118589
+ kind: "story";
118590
+ storyType: "headerFooterSlot";
118591
+ section: {
118592
+ kind: "section";
118593
+ sectionId: string;
118594
+ };
118595
+ headerFooterKind: "header" | "footer";
118596
+ variant: "default" | "first" | "even";
118597
+ resolution?: "effective" | "explicit";
118598
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118599
+ }) | ({
118600
+ kind: "story";
118601
+ storyType: "headerFooterPart";
118602
+ refId: string;
118603
+ }) | ({
118604
+ kind: "story";
118605
+ storyType: "footnote";
118606
+ noteId: string;
118607
+ }) | ({
118608
+ kind: "story";
118609
+ storyType: "endnote";
118610
+ noteId: string;
118611
+ }) | ({
118612
+ kind: "story";
118613
+ storyType: "textbox";
118614
+ textboxId: string;
118615
+ })>;
118616
+ trackedChangeRefs?: Array<{
118617
+ kind: "entity";
118618
+ entityType: "trackedChange";
118619
+ entityId: string;
118620
+ story?: ({
118621
+ kind: "story";
118622
+ storyType: "body";
118623
+ }) | ({
118624
+ kind: "story";
118625
+ storyType: "headerFooterSlot";
118626
+ section: {
118627
+ kind: "section";
118628
+ sectionId: string;
118629
+ };
118630
+ headerFooterKind: "header" | "footer";
118631
+ variant: "default" | "first" | "even";
118632
+ resolution?: "effective" | "explicit";
118633
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118634
+ }) | ({
118635
+ kind: "story";
118636
+ storyType: "headerFooterPart";
118637
+ refId: string;
118638
+ }) | ({
118639
+ kind: "story";
118640
+ storyType: "footnote";
118641
+ noteId: string;
118642
+ }) | ({
118643
+ kind: "story";
118644
+ storyType: "endnote";
118645
+ noteId: string;
118646
+ }) | ({
118647
+ kind: "story";
118648
+ storyType: "textbox";
118649
+ textboxId: string;
118650
+ });
118651
+ }>;
118652
+ };
118653
+ export type DocContentControlsChoiceListGetItemsResult = {
118654
+ items: Array<Record<string, unknown>>;
118655
+ selectedValue?: string;
118656
+ };
118657
+ export type DocContentControlsChoiceListSetItemsResult = {
118658
+ success: true;
118659
+ contentControl: {
118660
+ kind: "block" | "inline";
118661
+ nodeType: "sdt";
118662
+ nodeId: string;
118663
+ story?: ({
118664
+ kind: "story";
118665
+ storyType: "body";
118666
+ }) | ({
118667
+ kind: "story";
118668
+ storyType: "headerFooterSlot";
118669
+ section: {
118670
+ kind: "section";
118671
+ sectionId: string;
118672
+ };
118673
+ headerFooterKind: "header" | "footer";
118674
+ variant: "default" | "first" | "even";
118675
+ resolution?: "effective" | "explicit";
118676
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118677
+ }) | ({
118678
+ kind: "story";
118679
+ storyType: "headerFooterPart";
118680
+ refId: string;
118681
+ }) | ({
118682
+ kind: "story";
118683
+ storyType: "footnote";
118684
+ noteId: string;
118685
+ }) | ({
118686
+ kind: "story";
118687
+ storyType: "endnote";
118688
+ noteId: string;
118689
+ }) | ({
118690
+ kind: "story";
118691
+ storyType: "textbox";
118692
+ textboxId: string;
118693
+ });
118694
+ };
118695
+ updatedRef?: {
118696
+ kind: "block" | "inline";
118697
+ nodeType: "sdt";
118698
+ nodeId: string;
118699
+ story?: ({
118700
+ kind: "story";
118701
+ storyType: "body";
118702
+ }) | ({
118703
+ kind: "story";
118704
+ storyType: "headerFooterSlot";
118705
+ section: {
118706
+ kind: "section";
118707
+ sectionId: string;
118708
+ };
118709
+ headerFooterKind: "header" | "footer";
118710
+ variant: "default" | "first" | "even";
118711
+ resolution?: "effective" | "explicit";
118712
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118713
+ }) | ({
118714
+ kind: "story";
118715
+ storyType: "headerFooterPart";
118716
+ refId: string;
118717
+ }) | ({
118718
+ kind: "story";
118719
+ storyType: "footnote";
118720
+ noteId: string;
118721
+ }) | ({
118722
+ kind: "story";
118723
+ storyType: "endnote";
118724
+ noteId: string;
118725
+ }) | ({
118726
+ kind: "story";
118727
+ storyType: "textbox";
118728
+ textboxId: string;
118729
+ });
118730
+ };
118731
+ affectedStories?: Array<({
118732
+ kind: "story";
118733
+ storyType: "body";
118734
+ }) | ({
118735
+ kind: "story";
118736
+ storyType: "headerFooterSlot";
118737
+ section: {
118738
+ kind: "section";
118739
+ sectionId: string;
118740
+ };
118741
+ headerFooterKind: "header" | "footer";
118742
+ variant: "default" | "first" | "even";
118743
+ resolution?: "effective" | "explicit";
118744
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118745
+ }) | ({
118746
+ kind: "story";
118747
+ storyType: "headerFooterPart";
118748
+ refId: string;
118749
+ }) | ({
118750
+ kind: "story";
118751
+ storyType: "footnote";
118752
+ noteId: string;
118753
+ }) | ({
118754
+ kind: "story";
118755
+ storyType: "endnote";
118756
+ noteId: string;
118757
+ }) | ({
118758
+ kind: "story";
118759
+ storyType: "textbox";
118760
+ textboxId: string;
118761
+ })>;
118762
+ trackedChangeRefs?: Array<{
118763
+ kind: "entity";
118764
+ entityType: "trackedChange";
118765
+ entityId: string;
118766
+ story?: ({
118767
+ kind: "story";
118768
+ storyType: "body";
118769
+ }) | ({
118770
+ kind: "story";
118771
+ storyType: "headerFooterSlot";
118772
+ section: {
118773
+ kind: "section";
118774
+ sectionId: string;
118775
+ };
118776
+ headerFooterKind: "header" | "footer";
118777
+ variant: "default" | "first" | "even";
118778
+ resolution?: "effective" | "explicit";
118779
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118780
+ }) | ({
118781
+ kind: "story";
118782
+ storyType: "headerFooterPart";
118783
+ refId: string;
118784
+ }) | ({
118785
+ kind: "story";
118786
+ storyType: "footnote";
118787
+ noteId: string;
118788
+ }) | ({
118789
+ kind: "story";
118790
+ storyType: "endnote";
118791
+ noteId: string;
118792
+ }) | ({
118793
+ kind: "story";
118794
+ storyType: "textbox";
118795
+ textboxId: string;
118796
+ });
118797
+ }>;
118798
+ };
118799
+ export type DocContentControlsChoiceListSetSelectedResult = {
118800
+ success: true;
118801
+ contentControl: {
118802
+ kind: "block" | "inline";
118803
+ nodeType: "sdt";
118804
+ nodeId: string;
118805
+ story?: ({
118806
+ kind: "story";
118807
+ storyType: "body";
118808
+ }) | ({
118809
+ kind: "story";
118810
+ storyType: "headerFooterSlot";
118811
+ section: {
118812
+ kind: "section";
118813
+ sectionId: string;
118814
+ };
118815
+ headerFooterKind: "header" | "footer";
118816
+ variant: "default" | "first" | "even";
118817
+ resolution?: "effective" | "explicit";
118818
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118819
+ }) | ({
118820
+ kind: "story";
118821
+ storyType: "headerFooterPart";
118822
+ refId: string;
118823
+ }) | ({
118824
+ kind: "story";
118825
+ storyType: "footnote";
118826
+ noteId: string;
118827
+ }) | ({
118828
+ kind: "story";
118829
+ storyType: "endnote";
118830
+ noteId: string;
118831
+ }) | ({
118832
+ kind: "story";
118833
+ storyType: "textbox";
118834
+ textboxId: string;
118835
+ });
118836
+ };
118837
+ updatedRef?: {
118838
+ kind: "block" | "inline";
118839
+ nodeType: "sdt";
118840
+ nodeId: string;
118841
+ story?: ({
118842
+ kind: "story";
118843
+ storyType: "body";
118844
+ }) | ({
118845
+ kind: "story";
118846
+ storyType: "headerFooterSlot";
118847
+ section: {
118848
+ kind: "section";
118849
+ sectionId: string;
118850
+ };
118851
+ headerFooterKind: "header" | "footer";
118852
+ variant: "default" | "first" | "even";
118853
+ resolution?: "effective" | "explicit";
118854
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118855
+ }) | ({
118856
+ kind: "story";
118857
+ storyType: "headerFooterPart";
118858
+ refId: string;
118859
+ }) | ({
118860
+ kind: "story";
118861
+ storyType: "footnote";
118862
+ noteId: string;
118863
+ }) | ({
118864
+ kind: "story";
118865
+ storyType: "endnote";
118866
+ noteId: string;
118867
+ }) | ({
118868
+ kind: "story";
118869
+ storyType: "textbox";
118870
+ textboxId: string;
118871
+ });
118872
+ };
118873
+ affectedStories?: Array<({
118874
+ kind: "story";
118875
+ storyType: "body";
118876
+ }) | ({
118877
+ kind: "story";
118878
+ storyType: "headerFooterSlot";
118879
+ section: {
118880
+ kind: "section";
118881
+ sectionId: string;
118882
+ };
118883
+ headerFooterKind: "header" | "footer";
118884
+ variant: "default" | "first" | "even";
118885
+ resolution?: "effective" | "explicit";
118886
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118887
+ }) | ({
118888
+ kind: "story";
118889
+ storyType: "headerFooterPart";
118890
+ refId: string;
118891
+ }) | ({
118892
+ kind: "story";
118893
+ storyType: "footnote";
118894
+ noteId: string;
118895
+ }) | ({
118896
+ kind: "story";
118897
+ storyType: "endnote";
118898
+ noteId: string;
118899
+ }) | ({
118900
+ kind: "story";
118901
+ storyType: "textbox";
118902
+ textboxId: string;
118903
+ })>;
118904
+ trackedChangeRefs?: Array<{
118905
+ kind: "entity";
118906
+ entityType: "trackedChange";
118907
+ entityId: string;
118908
+ story?: ({
118909
+ kind: "story";
118910
+ storyType: "body";
118911
+ }) | ({
118912
+ kind: "story";
118913
+ storyType: "headerFooterSlot";
118914
+ section: {
118915
+ kind: "section";
118916
+ sectionId: string;
118917
+ };
118918
+ headerFooterKind: "header" | "footer";
118919
+ variant: "default" | "first" | "even";
118920
+ resolution?: "effective" | "explicit";
118921
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
118922
+ }) | ({
118923
+ kind: "story";
118924
+ storyType: "headerFooterPart";
118925
+ refId: string;
118926
+ }) | ({
118927
+ kind: "story";
118928
+ storyType: "footnote";
118929
+ noteId: string;
118930
+ }) | ({
118931
+ kind: "story";
118932
+ storyType: "endnote";
118933
+ noteId: string;
118934
+ }) | ({
118935
+ kind: "story";
118936
+ storyType: "textbox";
118937
+ textboxId: string;
118938
+ });
118939
+ }>;
118940
+ };
118941
+ export type DocContentControlsRepeatingSectionListItemsResult = {
118942
+ items: Array<{
118943
+ nodeType: "sdt";
118944
+ kind: "block" | "inline";
118945
+ id: string;
118946
+ controlType: string;
118947
+ lockMode: string;
118948
+ properties: Record<string, unknown>;
118949
+ binding?: {
118950
+ storeItemId: string;
118951
+ xpath: string;
118952
+ prefixMappings?: string;
118953
+ };
118954
+ raw?: Record<string, unknown>;
118955
+ target: {
118956
+ kind: "block" | "inline";
118957
+ nodeType: "sdt";
116680
118958
  nodeId: string;
116681
118959
  story?: ({
116682
118960
  kind: "story";
@@ -116898,9 +119176,293 @@ export type DocContentControlsRepeatingSectionListItemsResult = {
116898
119176
  text?: string;
116899
119177
  isEmpty?: boolean;
116900
119178
  }>;
116901
- total: number;
119179
+ total: number;
119180
+ };
119181
+ export type DocContentControlsRepeatingSectionInsertItemBeforeResult = {
119182
+ success: true;
119183
+ contentControl: {
119184
+ kind: "block" | "inline";
119185
+ nodeType: "sdt";
119186
+ nodeId: string;
119187
+ story?: ({
119188
+ kind: "story";
119189
+ storyType: "body";
119190
+ }) | ({
119191
+ kind: "story";
119192
+ storyType: "headerFooterSlot";
119193
+ section: {
119194
+ kind: "section";
119195
+ sectionId: string;
119196
+ };
119197
+ headerFooterKind: "header" | "footer";
119198
+ variant: "default" | "first" | "even";
119199
+ resolution?: "effective" | "explicit";
119200
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119201
+ }) | ({
119202
+ kind: "story";
119203
+ storyType: "headerFooterPart";
119204
+ refId: string;
119205
+ }) | ({
119206
+ kind: "story";
119207
+ storyType: "footnote";
119208
+ noteId: string;
119209
+ }) | ({
119210
+ kind: "story";
119211
+ storyType: "endnote";
119212
+ noteId: string;
119213
+ }) | ({
119214
+ kind: "story";
119215
+ storyType: "textbox";
119216
+ textboxId: string;
119217
+ });
119218
+ };
119219
+ updatedRef?: {
119220
+ kind: "block" | "inline";
119221
+ nodeType: "sdt";
119222
+ nodeId: string;
119223
+ story?: ({
119224
+ kind: "story";
119225
+ storyType: "body";
119226
+ }) | ({
119227
+ kind: "story";
119228
+ storyType: "headerFooterSlot";
119229
+ section: {
119230
+ kind: "section";
119231
+ sectionId: string;
119232
+ };
119233
+ headerFooterKind: "header" | "footer";
119234
+ variant: "default" | "first" | "even";
119235
+ resolution?: "effective" | "explicit";
119236
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119237
+ }) | ({
119238
+ kind: "story";
119239
+ storyType: "headerFooterPart";
119240
+ refId: string;
119241
+ }) | ({
119242
+ kind: "story";
119243
+ storyType: "footnote";
119244
+ noteId: string;
119245
+ }) | ({
119246
+ kind: "story";
119247
+ storyType: "endnote";
119248
+ noteId: string;
119249
+ }) | ({
119250
+ kind: "story";
119251
+ storyType: "textbox";
119252
+ textboxId: string;
119253
+ });
119254
+ };
119255
+ affectedStories?: Array<({
119256
+ kind: "story";
119257
+ storyType: "body";
119258
+ }) | ({
119259
+ kind: "story";
119260
+ storyType: "headerFooterSlot";
119261
+ section: {
119262
+ kind: "section";
119263
+ sectionId: string;
119264
+ };
119265
+ headerFooterKind: "header" | "footer";
119266
+ variant: "default" | "first" | "even";
119267
+ resolution?: "effective" | "explicit";
119268
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119269
+ }) | ({
119270
+ kind: "story";
119271
+ storyType: "headerFooterPart";
119272
+ refId: string;
119273
+ }) | ({
119274
+ kind: "story";
119275
+ storyType: "footnote";
119276
+ noteId: string;
119277
+ }) | ({
119278
+ kind: "story";
119279
+ storyType: "endnote";
119280
+ noteId: string;
119281
+ }) | ({
119282
+ kind: "story";
119283
+ storyType: "textbox";
119284
+ textboxId: string;
119285
+ })>;
119286
+ trackedChangeRefs?: Array<{
119287
+ kind: "entity";
119288
+ entityType: "trackedChange";
119289
+ entityId: string;
119290
+ story?: ({
119291
+ kind: "story";
119292
+ storyType: "body";
119293
+ }) | ({
119294
+ kind: "story";
119295
+ storyType: "headerFooterSlot";
119296
+ section: {
119297
+ kind: "section";
119298
+ sectionId: string;
119299
+ };
119300
+ headerFooterKind: "header" | "footer";
119301
+ variant: "default" | "first" | "even";
119302
+ resolution?: "effective" | "explicit";
119303
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119304
+ }) | ({
119305
+ kind: "story";
119306
+ storyType: "headerFooterPart";
119307
+ refId: string;
119308
+ }) | ({
119309
+ kind: "story";
119310
+ storyType: "footnote";
119311
+ noteId: string;
119312
+ }) | ({
119313
+ kind: "story";
119314
+ storyType: "endnote";
119315
+ noteId: string;
119316
+ }) | ({
119317
+ kind: "story";
119318
+ storyType: "textbox";
119319
+ textboxId: string;
119320
+ });
119321
+ }>;
116902
119322
  };
116903
- export type DocContentControlsRepeatingSectionInsertItemBeforeResult = {
119323
+ export type DocContentControlsRepeatingSectionInsertItemAfterResult = {
119324
+ success: true;
119325
+ contentControl: {
119326
+ kind: "block" | "inline";
119327
+ nodeType: "sdt";
119328
+ nodeId: string;
119329
+ story?: ({
119330
+ kind: "story";
119331
+ storyType: "body";
119332
+ }) | ({
119333
+ kind: "story";
119334
+ storyType: "headerFooterSlot";
119335
+ section: {
119336
+ kind: "section";
119337
+ sectionId: string;
119338
+ };
119339
+ headerFooterKind: "header" | "footer";
119340
+ variant: "default" | "first" | "even";
119341
+ resolution?: "effective" | "explicit";
119342
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119343
+ }) | ({
119344
+ kind: "story";
119345
+ storyType: "headerFooterPart";
119346
+ refId: string;
119347
+ }) | ({
119348
+ kind: "story";
119349
+ storyType: "footnote";
119350
+ noteId: string;
119351
+ }) | ({
119352
+ kind: "story";
119353
+ storyType: "endnote";
119354
+ noteId: string;
119355
+ }) | ({
119356
+ kind: "story";
119357
+ storyType: "textbox";
119358
+ textboxId: string;
119359
+ });
119360
+ };
119361
+ updatedRef?: {
119362
+ kind: "block" | "inline";
119363
+ nodeType: "sdt";
119364
+ nodeId: string;
119365
+ story?: ({
119366
+ kind: "story";
119367
+ storyType: "body";
119368
+ }) | ({
119369
+ kind: "story";
119370
+ storyType: "headerFooterSlot";
119371
+ section: {
119372
+ kind: "section";
119373
+ sectionId: string;
119374
+ };
119375
+ headerFooterKind: "header" | "footer";
119376
+ variant: "default" | "first" | "even";
119377
+ resolution?: "effective" | "explicit";
119378
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119379
+ }) | ({
119380
+ kind: "story";
119381
+ storyType: "headerFooterPart";
119382
+ refId: string;
119383
+ }) | ({
119384
+ kind: "story";
119385
+ storyType: "footnote";
119386
+ noteId: string;
119387
+ }) | ({
119388
+ kind: "story";
119389
+ storyType: "endnote";
119390
+ noteId: string;
119391
+ }) | ({
119392
+ kind: "story";
119393
+ storyType: "textbox";
119394
+ textboxId: string;
119395
+ });
119396
+ };
119397
+ affectedStories?: Array<({
119398
+ kind: "story";
119399
+ storyType: "body";
119400
+ }) | ({
119401
+ kind: "story";
119402
+ storyType: "headerFooterSlot";
119403
+ section: {
119404
+ kind: "section";
119405
+ sectionId: string;
119406
+ };
119407
+ headerFooterKind: "header" | "footer";
119408
+ variant: "default" | "first" | "even";
119409
+ resolution?: "effective" | "explicit";
119410
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119411
+ }) | ({
119412
+ kind: "story";
119413
+ storyType: "headerFooterPart";
119414
+ refId: string;
119415
+ }) | ({
119416
+ kind: "story";
119417
+ storyType: "footnote";
119418
+ noteId: string;
119419
+ }) | ({
119420
+ kind: "story";
119421
+ storyType: "endnote";
119422
+ noteId: string;
119423
+ }) | ({
119424
+ kind: "story";
119425
+ storyType: "textbox";
119426
+ textboxId: string;
119427
+ })>;
119428
+ trackedChangeRefs?: Array<{
119429
+ kind: "entity";
119430
+ entityType: "trackedChange";
119431
+ entityId: string;
119432
+ story?: ({
119433
+ kind: "story";
119434
+ storyType: "body";
119435
+ }) | ({
119436
+ kind: "story";
119437
+ storyType: "headerFooterSlot";
119438
+ section: {
119439
+ kind: "section";
119440
+ sectionId: string;
119441
+ };
119442
+ headerFooterKind: "header" | "footer";
119443
+ variant: "default" | "first" | "even";
119444
+ resolution?: "effective" | "explicit";
119445
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119446
+ }) | ({
119447
+ kind: "story";
119448
+ storyType: "headerFooterPart";
119449
+ refId: string;
119450
+ }) | ({
119451
+ kind: "story";
119452
+ storyType: "footnote";
119453
+ noteId: string;
119454
+ }) | ({
119455
+ kind: "story";
119456
+ storyType: "endnote";
119457
+ noteId: string;
119458
+ }) | ({
119459
+ kind: "story";
119460
+ storyType: "textbox";
119461
+ textboxId: string;
119462
+ });
119463
+ }>;
119464
+ };
119465
+ export type DocContentControlsRepeatingSectionCloneItemResult = {
116904
119466
  success: true;
116905
119467
  contentControl: {
116906
119468
  kind: "block" | "inline";
@@ -116938,10 +119500,77 @@ export type DocContentControlsRepeatingSectionInsertItemBeforeResult = {
116938
119500
  textboxId: string;
116939
119501
  });
116940
119502
  };
116941
- updatedRef?: {
116942
- kind: "block" | "inline";
116943
- nodeType: "sdt";
116944
- nodeId: string;
119503
+ updatedRef?: {
119504
+ kind: "block" | "inline";
119505
+ nodeType: "sdt";
119506
+ nodeId: string;
119507
+ story?: ({
119508
+ kind: "story";
119509
+ storyType: "body";
119510
+ }) | ({
119511
+ kind: "story";
119512
+ storyType: "headerFooterSlot";
119513
+ section: {
119514
+ kind: "section";
119515
+ sectionId: string;
119516
+ };
119517
+ headerFooterKind: "header" | "footer";
119518
+ variant: "default" | "first" | "even";
119519
+ resolution?: "effective" | "explicit";
119520
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119521
+ }) | ({
119522
+ kind: "story";
119523
+ storyType: "headerFooterPart";
119524
+ refId: string;
119525
+ }) | ({
119526
+ kind: "story";
119527
+ storyType: "footnote";
119528
+ noteId: string;
119529
+ }) | ({
119530
+ kind: "story";
119531
+ storyType: "endnote";
119532
+ noteId: string;
119533
+ }) | ({
119534
+ kind: "story";
119535
+ storyType: "textbox";
119536
+ textboxId: string;
119537
+ });
119538
+ };
119539
+ affectedStories?: Array<({
119540
+ kind: "story";
119541
+ storyType: "body";
119542
+ }) | ({
119543
+ kind: "story";
119544
+ storyType: "headerFooterSlot";
119545
+ section: {
119546
+ kind: "section";
119547
+ sectionId: string;
119548
+ };
119549
+ headerFooterKind: "header" | "footer";
119550
+ variant: "default" | "first" | "even";
119551
+ resolution?: "effective" | "explicit";
119552
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119553
+ }) | ({
119554
+ kind: "story";
119555
+ storyType: "headerFooterPart";
119556
+ refId: string;
119557
+ }) | ({
119558
+ kind: "story";
119559
+ storyType: "footnote";
119560
+ noteId: string;
119561
+ }) | ({
119562
+ kind: "story";
119563
+ storyType: "endnote";
119564
+ noteId: string;
119565
+ }) | ({
119566
+ kind: "story";
119567
+ storyType: "textbox";
119568
+ textboxId: string;
119569
+ })>;
119570
+ trackedChangeRefs?: Array<{
119571
+ kind: "entity";
119572
+ entityType: "trackedChange";
119573
+ entityId: string;
116945
119574
  story?: ({
116946
119575
  kind: "story";
116947
119576
  storyType: "body";
@@ -116973,9 +119602,9 @@ export type DocContentControlsRepeatingSectionInsertItemBeforeResult = {
116973
119602
  storyType: "textbox";
116974
119603
  textboxId: string;
116975
119604
  });
116976
- };
119605
+ }>;
116977
119606
  };
116978
- export type DocContentControlsRepeatingSectionInsertItemAfterResult = {
119607
+ export type DocContentControlsRepeatingSectionDeleteItemResult = {
116979
119608
  success: true;
116980
119609
  contentControl: {
116981
119610
  kind: "block" | "inline";
@@ -117049,13 +119678,41 @@ export type DocContentControlsRepeatingSectionInsertItemAfterResult = {
117049
119678
  textboxId: string;
117050
119679
  });
117051
119680
  };
117052
- };
117053
- export type DocContentControlsRepeatingSectionCloneItemResult = {
117054
- success: true;
117055
- contentControl: {
117056
- kind: "block" | "inline";
117057
- nodeType: "sdt";
117058
- nodeId: string;
119681
+ affectedStories?: Array<({
119682
+ kind: "story";
119683
+ storyType: "body";
119684
+ }) | ({
119685
+ kind: "story";
119686
+ storyType: "headerFooterSlot";
119687
+ section: {
119688
+ kind: "section";
119689
+ sectionId: string;
119690
+ };
119691
+ headerFooterKind: "header" | "footer";
119692
+ variant: "default" | "first" | "even";
119693
+ resolution?: "effective" | "explicit";
119694
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119695
+ }) | ({
119696
+ kind: "story";
119697
+ storyType: "headerFooterPart";
119698
+ refId: string;
119699
+ }) | ({
119700
+ kind: "story";
119701
+ storyType: "footnote";
119702
+ noteId: string;
119703
+ }) | ({
119704
+ kind: "story";
119705
+ storyType: "endnote";
119706
+ noteId: string;
119707
+ }) | ({
119708
+ kind: "story";
119709
+ storyType: "textbox";
119710
+ textboxId: string;
119711
+ })>;
119712
+ trackedChangeRefs?: Array<{
119713
+ kind: "entity";
119714
+ entityType: "trackedChange";
119715
+ entityId: string;
117059
119716
  story?: ({
117060
119717
  kind: "story";
117061
119718
  storyType: "body";
@@ -117087,8 +119744,11 @@ export type DocContentControlsRepeatingSectionCloneItemResult = {
117087
119744
  storyType: "textbox";
117088
119745
  textboxId: string;
117089
119746
  });
117090
- };
117091
- updatedRef?: {
119747
+ }>;
119748
+ };
119749
+ export type DocContentControlsRepeatingSectionSetAllowInsertDeleteResult = {
119750
+ success: true;
119751
+ contentControl: {
117092
119752
  kind: "block" | "inline";
117093
119753
  nodeType: "sdt";
117094
119754
  nodeId: string;
@@ -117124,10 +119784,7 @@ export type DocContentControlsRepeatingSectionCloneItemResult = {
117124
119784
  textboxId: string;
117125
119785
  });
117126
119786
  };
117127
- };
117128
- export type DocContentControlsRepeatingSectionDeleteItemResult = {
117129
- success: true;
117130
- contentControl: {
119787
+ updatedRef?: {
117131
119788
  kind: "block" | "inline";
117132
119789
  nodeType: "sdt";
117133
119790
  nodeId: string;
@@ -117163,10 +119820,41 @@ export type DocContentControlsRepeatingSectionDeleteItemResult = {
117163
119820
  textboxId: string;
117164
119821
  });
117165
119822
  };
117166
- updatedRef?: {
117167
- kind: "block" | "inline";
117168
- nodeType: "sdt";
117169
- nodeId: string;
119823
+ affectedStories?: Array<({
119824
+ kind: "story";
119825
+ storyType: "body";
119826
+ }) | ({
119827
+ kind: "story";
119828
+ storyType: "headerFooterSlot";
119829
+ section: {
119830
+ kind: "section";
119831
+ sectionId: string;
119832
+ };
119833
+ headerFooterKind: "header" | "footer";
119834
+ variant: "default" | "first" | "even";
119835
+ resolution?: "effective" | "explicit";
119836
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119837
+ }) | ({
119838
+ kind: "story";
119839
+ storyType: "headerFooterPart";
119840
+ refId: string;
119841
+ }) | ({
119842
+ kind: "story";
119843
+ storyType: "footnote";
119844
+ noteId: string;
119845
+ }) | ({
119846
+ kind: "story";
119847
+ storyType: "endnote";
119848
+ noteId: string;
119849
+ }) | ({
119850
+ kind: "story";
119851
+ storyType: "textbox";
119852
+ textboxId: string;
119853
+ })>;
119854
+ trackedChangeRefs?: Array<{
119855
+ kind: "entity";
119856
+ entityType: "trackedChange";
119857
+ entityId: string;
117170
119858
  story?: ({
117171
119859
  kind: "story";
117172
119860
  storyType: "body";
@@ -117198,9 +119886,9 @@ export type DocContentControlsRepeatingSectionDeleteItemResult = {
117198
119886
  storyType: "textbox";
117199
119887
  textboxId: string;
117200
119888
  });
117201
- };
119889
+ }>;
117202
119890
  };
117203
- export type DocContentControlsRepeatingSectionSetAllowInsertDeleteResult = {
119891
+ export type DocContentControlsGroupWrapResult = {
117204
119892
  success: true;
117205
119893
  contentControl: {
117206
119894
  kind: "block" | "inline";
@@ -117274,13 +119962,41 @@ export type DocContentControlsRepeatingSectionSetAllowInsertDeleteResult = {
117274
119962
  textboxId: string;
117275
119963
  });
117276
119964
  };
117277
- };
117278
- export type DocContentControlsGroupWrapResult = {
117279
- success: true;
117280
- contentControl: {
117281
- kind: "block" | "inline";
117282
- nodeType: "sdt";
117283
- nodeId: string;
119965
+ affectedStories?: Array<({
119966
+ kind: "story";
119967
+ storyType: "body";
119968
+ }) | ({
119969
+ kind: "story";
119970
+ storyType: "headerFooterSlot";
119971
+ section: {
119972
+ kind: "section";
119973
+ sectionId: string;
119974
+ };
119975
+ headerFooterKind: "header" | "footer";
119976
+ variant: "default" | "first" | "even";
119977
+ resolution?: "effective" | "explicit";
119978
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
119979
+ }) | ({
119980
+ kind: "story";
119981
+ storyType: "headerFooterPart";
119982
+ refId: string;
119983
+ }) | ({
119984
+ kind: "story";
119985
+ storyType: "footnote";
119986
+ noteId: string;
119987
+ }) | ({
119988
+ kind: "story";
119989
+ storyType: "endnote";
119990
+ noteId: string;
119991
+ }) | ({
119992
+ kind: "story";
119993
+ storyType: "textbox";
119994
+ textboxId: string;
119995
+ })>;
119996
+ trackedChangeRefs?: Array<{
119997
+ kind: "entity";
119998
+ entityType: "trackedChange";
119999
+ entityId: string;
117284
120000
  story?: ({
117285
120001
  kind: "story";
117286
120002
  storyType: "body";
@@ -117312,8 +120028,11 @@ export type DocContentControlsGroupWrapResult = {
117312
120028
  storyType: "textbox";
117313
120029
  textboxId: string;
117314
120030
  });
117315
- };
117316
- updatedRef?: {
120031
+ }>;
120032
+ };
120033
+ export type DocContentControlsGroupUngroupResult = {
120034
+ success: true;
120035
+ contentControl: {
117317
120036
  kind: "block" | "inline";
117318
120037
  nodeType: "sdt";
117319
120038
  nodeId: string;
@@ -117349,10 +120068,7 @@ export type DocContentControlsGroupWrapResult = {
117349
120068
  textboxId: string;
117350
120069
  });
117351
120070
  };
117352
- };
117353
- export type DocContentControlsGroupUngroupResult = {
117354
- success: true;
117355
- contentControl: {
120071
+ updatedRef?: {
117356
120072
  kind: "block" | "inline";
117357
120073
  nodeType: "sdt";
117358
120074
  nodeId: string;
@@ -117388,10 +120104,41 @@ export type DocContentControlsGroupUngroupResult = {
117388
120104
  textboxId: string;
117389
120105
  });
117390
120106
  };
117391
- updatedRef?: {
117392
- kind: "block" | "inline";
117393
- nodeType: "sdt";
117394
- nodeId: string;
120107
+ affectedStories?: Array<({
120108
+ kind: "story";
120109
+ storyType: "body";
120110
+ }) | ({
120111
+ kind: "story";
120112
+ storyType: "headerFooterSlot";
120113
+ section: {
120114
+ kind: "section";
120115
+ sectionId: string;
120116
+ };
120117
+ headerFooterKind: "header" | "footer";
120118
+ variant: "default" | "first" | "even";
120119
+ resolution?: "effective" | "explicit";
120120
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
120121
+ }) | ({
120122
+ kind: "story";
120123
+ storyType: "headerFooterPart";
120124
+ refId: string;
120125
+ }) | ({
120126
+ kind: "story";
120127
+ storyType: "footnote";
120128
+ noteId: string;
120129
+ }) | ({
120130
+ kind: "story";
120131
+ storyType: "endnote";
120132
+ noteId: string;
120133
+ }) | ({
120134
+ kind: "story";
120135
+ storyType: "textbox";
120136
+ textboxId: string;
120137
+ })>;
120138
+ trackedChangeRefs?: Array<{
120139
+ kind: "entity";
120140
+ entityType: "trackedChange";
120141
+ entityId: string;
117395
120142
  story?: ({
117396
120143
  kind: "story";
117397
120144
  storyType: "body";
@@ -117423,7 +120170,7 @@ export type DocContentControlsGroupUngroupResult = {
117423
120170
  storyType: "textbox";
117424
120171
  textboxId: string;
117425
120172
  });
117426
- };
120173
+ }>;
117427
120174
  };
117428
120175
  export type DocBookmarksListResult = Record<string, unknown>;
117429
120176
  export type DocBookmarksGetResult = Record<string, unknown>;