@superdoc/sdk 2.25.0-next.5 → 2.25.0-next.6

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.
@@ -28140,6 +28140,37 @@ export interface DocImagesRemoveCaptionParams {
28140
28140
  export interface DocHyperlinksListParams {
28141
28141
  doc?: string;
28142
28142
  sessionId?: string;
28143
+ in?: ({
28144
+ kind: "story";
28145
+ storyType: "body";
28146
+ }) | ({
28147
+ kind: "story";
28148
+ storyType: "headerFooterSlot";
28149
+ section: {
28150
+ kind: "section";
28151
+ sectionId: string;
28152
+ };
28153
+ headerFooterKind: "header" | "footer";
28154
+ variant: "default" | "first" | "even";
28155
+ resolution?: "effective" | "explicit";
28156
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
28157
+ }) | ({
28158
+ kind: "story";
28159
+ storyType: "headerFooterPart";
28160
+ refId: string;
28161
+ }) | ({
28162
+ kind: "story";
28163
+ storyType: "footnote";
28164
+ noteId: string;
28165
+ }) | ({
28166
+ kind: "story";
28167
+ storyType: "endnote";
28168
+ noteId: string;
28169
+ }) | ({
28170
+ kind: "story";
28171
+ storyType: "textbox";
28172
+ textboxId: string;
28173
+ });
28143
28174
  within?: {
28144
28175
  kind: "block";
28145
28176
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
@@ -28198,6 +28229,37 @@ export interface DocHyperlinksGetParams {
28198
28229
  offset: number;
28199
28230
  };
28200
28231
  };
28232
+ story?: ({
28233
+ kind: "story";
28234
+ storyType: "body";
28235
+ }) | ({
28236
+ kind: "story";
28237
+ storyType: "headerFooterSlot";
28238
+ section: {
28239
+ kind: "section";
28240
+ sectionId: string;
28241
+ };
28242
+ headerFooterKind: "header" | "footer";
28243
+ variant: "default" | "first" | "even";
28244
+ resolution?: "effective" | "explicit";
28245
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
28246
+ }) | ({
28247
+ kind: "story";
28248
+ storyType: "headerFooterPart";
28249
+ refId: string;
28250
+ }) | ({
28251
+ kind: "story";
28252
+ storyType: "footnote";
28253
+ noteId: string;
28254
+ }) | ({
28255
+ kind: "story";
28256
+ storyType: "endnote";
28257
+ noteId: string;
28258
+ }) | ({
28259
+ kind: "story";
28260
+ storyType: "textbox";
28261
+ textboxId: string;
28262
+ });
28201
28263
  };
28202
28264
  }
28203
28265
  export interface DocHyperlinksWrapParams {
@@ -28341,6 +28403,37 @@ export interface DocHyperlinksPatchParams {
28341
28403
  offset: number;
28342
28404
  };
28343
28405
  };
28406
+ story?: ({
28407
+ kind: "story";
28408
+ storyType: "body";
28409
+ }) | ({
28410
+ kind: "story";
28411
+ storyType: "headerFooterSlot";
28412
+ section: {
28413
+ kind: "section";
28414
+ sectionId: string;
28415
+ };
28416
+ headerFooterKind: "header" | "footer";
28417
+ variant: "default" | "first" | "even";
28418
+ resolution?: "effective" | "explicit";
28419
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
28420
+ }) | ({
28421
+ kind: "story";
28422
+ storyType: "headerFooterPart";
28423
+ refId: string;
28424
+ }) | ({
28425
+ kind: "story";
28426
+ storyType: "footnote";
28427
+ noteId: string;
28428
+ }) | ({
28429
+ kind: "story";
28430
+ storyType: "endnote";
28431
+ noteId: string;
28432
+ }) | ({
28433
+ kind: "story";
28434
+ storyType: "textbox";
28435
+ textboxId: string;
28436
+ });
28344
28437
  };
28345
28438
  patch: {
28346
28439
  href?: string | unknown;
@@ -28373,6 +28466,37 @@ export interface DocHyperlinksRemoveParams {
28373
28466
  offset: number;
28374
28467
  };
28375
28468
  };
28469
+ story?: ({
28470
+ kind: "story";
28471
+ storyType: "body";
28472
+ }) | ({
28473
+ kind: "story";
28474
+ storyType: "headerFooterSlot";
28475
+ section: {
28476
+ kind: "section";
28477
+ sectionId: string;
28478
+ };
28479
+ headerFooterKind: "header" | "footer";
28480
+ variant: "default" | "first" | "even";
28481
+ resolution?: "effective" | "explicit";
28482
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
28483
+ }) | ({
28484
+ kind: "story";
28485
+ storyType: "headerFooterPart";
28486
+ refId: string;
28487
+ }) | ({
28488
+ kind: "story";
28489
+ storyType: "footnote";
28490
+ noteId: string;
28491
+ }) | ({
28492
+ kind: "story";
28493
+ storyType: "endnote";
28494
+ noteId: string;
28495
+ }) | ({
28496
+ kind: "story";
28497
+ storyType: "textbox";
28498
+ textboxId: string;
28499
+ });
28376
28500
  };
28377
28501
  mode?: "unwrap" | "deleteText";
28378
28502
  }
@@ -220804,6 +220928,37 @@ export type DocHyperlinksListResult = {
220804
220928
  offset: number;
220805
220929
  };
220806
220930
  };
220931
+ story?: ({
220932
+ kind: "story";
220933
+ storyType: "body";
220934
+ }) | ({
220935
+ kind: "story";
220936
+ storyType: "headerFooterSlot";
220937
+ section: {
220938
+ kind: "section";
220939
+ sectionId: string;
220940
+ };
220941
+ headerFooterKind: "header" | "footer";
220942
+ variant: "default" | "first" | "even";
220943
+ resolution?: "effective" | "explicit";
220944
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
220945
+ }) | ({
220946
+ kind: "story";
220947
+ storyType: "headerFooterPart";
220948
+ refId: string;
220949
+ }) | ({
220950
+ kind: "story";
220951
+ storyType: "footnote";
220952
+ noteId: string;
220953
+ }) | ({
220954
+ kind: "story";
220955
+ storyType: "endnote";
220956
+ noteId: string;
220957
+ }) | ({
220958
+ kind: "story";
220959
+ storyType: "textbox";
220960
+ textboxId: string;
220961
+ });
220807
220962
  };
220808
220963
  properties: {
220809
220964
  href?: string;
@@ -220835,6 +220990,37 @@ export type DocHyperlinksGetResult = {
220835
220990
  offset: number;
220836
220991
  };
220837
220992
  };
220993
+ story?: ({
220994
+ kind: "story";
220995
+ storyType: "body";
220996
+ }) | ({
220997
+ kind: "story";
220998
+ storyType: "headerFooterSlot";
220999
+ section: {
221000
+ kind: "section";
221001
+ sectionId: string;
221002
+ };
221003
+ headerFooterKind: "header" | "footer";
221004
+ variant: "default" | "first" | "even";
221005
+ resolution?: "effective" | "explicit";
221006
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
221007
+ }) | ({
221008
+ kind: "story";
221009
+ storyType: "headerFooterPart";
221010
+ refId: string;
221011
+ }) | ({
221012
+ kind: "story";
221013
+ storyType: "footnote";
221014
+ noteId: string;
221015
+ }) | ({
221016
+ kind: "story";
221017
+ storyType: "endnote";
221018
+ noteId: string;
221019
+ }) | ({
221020
+ kind: "story";
221021
+ storyType: "textbox";
221022
+ textboxId: string;
221023
+ });
220838
221024
  };
220839
221025
  properties: {
220840
221026
  href?: string;
@@ -222039,6 +222225,37 @@ export type DocHyperlinksWrapResult = {
222039
222225
  offset: number;
222040
222226
  };
222041
222227
  };
222228
+ story?: ({
222229
+ kind: "story";
222230
+ storyType: "body";
222231
+ }) | ({
222232
+ kind: "story";
222233
+ storyType: "headerFooterSlot";
222234
+ section: {
222235
+ kind: "section";
222236
+ sectionId: string;
222237
+ };
222238
+ headerFooterKind: "header" | "footer";
222239
+ variant: "default" | "first" | "even";
222240
+ resolution?: "effective" | "explicit";
222241
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
222242
+ }) | ({
222243
+ kind: "story";
222244
+ storyType: "headerFooterPart";
222245
+ refId: string;
222246
+ }) | ({
222247
+ kind: "story";
222248
+ storyType: "footnote";
222249
+ noteId: string;
222250
+ }) | ({
222251
+ kind: "story";
222252
+ storyType: "endnote";
222253
+ noteId: string;
222254
+ }) | ({
222255
+ kind: "story";
222256
+ storyType: "textbox";
222257
+ textboxId: string;
222258
+ });
222042
222259
  };
222043
222260
  hyperlinkNodeId?: string | null;
222044
222261
  partsCreated?: Array<string>;
@@ -223238,6 +223455,37 @@ export type DocHyperlinksInsertResult = {
223238
223455
  offset: number;
223239
223456
  };
223240
223457
  };
223458
+ story?: ({
223459
+ kind: "story";
223460
+ storyType: "body";
223461
+ }) | ({
223462
+ kind: "story";
223463
+ storyType: "headerFooterSlot";
223464
+ section: {
223465
+ kind: "section";
223466
+ sectionId: string;
223467
+ };
223468
+ headerFooterKind: "header" | "footer";
223469
+ variant: "default" | "first" | "even";
223470
+ resolution?: "effective" | "explicit";
223471
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
223472
+ }) | ({
223473
+ kind: "story";
223474
+ storyType: "headerFooterPart";
223475
+ refId: string;
223476
+ }) | ({
223477
+ kind: "story";
223478
+ storyType: "footnote";
223479
+ noteId: string;
223480
+ }) | ({
223481
+ kind: "story";
223482
+ storyType: "endnote";
223483
+ noteId: string;
223484
+ }) | ({
223485
+ kind: "story";
223486
+ storyType: "textbox";
223487
+ textboxId: string;
223488
+ });
223241
223489
  };
223242
223490
  hyperlinkNodeId?: string | null;
223243
223491
  partsCreated?: Array<string>;
@@ -224437,6 +224685,37 @@ export type DocHyperlinksPatchResult = {
224437
224685
  offset: number;
224438
224686
  };
224439
224687
  };
224688
+ story?: ({
224689
+ kind: "story";
224690
+ storyType: "body";
224691
+ }) | ({
224692
+ kind: "story";
224693
+ storyType: "headerFooterSlot";
224694
+ section: {
224695
+ kind: "section";
224696
+ sectionId: string;
224697
+ };
224698
+ headerFooterKind: "header" | "footer";
224699
+ variant: "default" | "first" | "even";
224700
+ resolution?: "effective" | "explicit";
224701
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
224702
+ }) | ({
224703
+ kind: "story";
224704
+ storyType: "headerFooterPart";
224705
+ refId: string;
224706
+ }) | ({
224707
+ kind: "story";
224708
+ storyType: "footnote";
224709
+ noteId: string;
224710
+ }) | ({
224711
+ kind: "story";
224712
+ storyType: "endnote";
224713
+ noteId: string;
224714
+ }) | ({
224715
+ kind: "story";
224716
+ storyType: "textbox";
224717
+ textboxId: string;
224718
+ });
224440
224719
  };
224441
224720
  hyperlinkNodeId?: string | null;
224442
224721
  partsCreated?: Array<string>;
@@ -225636,6 +225915,37 @@ export type DocHyperlinksRemoveResult = {
225636
225915
  offset: number;
225637
225916
  };
225638
225917
  };
225918
+ story?: ({
225919
+ kind: "story";
225920
+ storyType: "body";
225921
+ }) | ({
225922
+ kind: "story";
225923
+ storyType: "headerFooterSlot";
225924
+ section: {
225925
+ kind: "section";
225926
+ sectionId: string;
225927
+ };
225928
+ headerFooterKind: "header" | "footer";
225929
+ variant: "default" | "first" | "even";
225930
+ resolution?: "effective" | "explicit";
225931
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
225932
+ }) | ({
225933
+ kind: "story";
225934
+ storyType: "headerFooterPart";
225935
+ refId: string;
225936
+ }) | ({
225937
+ kind: "story";
225938
+ storyType: "footnote";
225939
+ noteId: string;
225940
+ }) | ({
225941
+ kind: "story";
225942
+ storyType: "endnote";
225943
+ noteId: string;
225944
+ }) | ({
225945
+ kind: "story";
225946
+ storyType: "textbox";
225947
+ textboxId: string;
225948
+ });
225639
225949
  };
225640
225950
  hyperlinkNodeId?: string | null;
225641
225951
  partsCreated?: Array<string>;
@@ -309329,6 +309639,37 @@ export interface DocImagesRemoveCaptionBoundParams {
309329
309639
  imageId: string;
309330
309640
  }
309331
309641
  export interface DocHyperlinksListBoundParams {
309642
+ in?: ({
309643
+ kind: "story";
309644
+ storyType: "body";
309645
+ }) | ({
309646
+ kind: "story";
309647
+ storyType: "headerFooterSlot";
309648
+ section: {
309649
+ kind: "section";
309650
+ sectionId: string;
309651
+ };
309652
+ headerFooterKind: "header" | "footer";
309653
+ variant: "default" | "first" | "even";
309654
+ resolution?: "effective" | "explicit";
309655
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
309656
+ }) | ({
309657
+ kind: "story";
309658
+ storyType: "headerFooterPart";
309659
+ refId: string;
309660
+ }) | ({
309661
+ kind: "story";
309662
+ storyType: "footnote";
309663
+ noteId: string;
309664
+ }) | ({
309665
+ kind: "story";
309666
+ storyType: "endnote";
309667
+ noteId: string;
309668
+ }) | ({
309669
+ kind: "story";
309670
+ storyType: "textbox";
309671
+ textboxId: string;
309672
+ });
309332
309673
  within?: {
309333
309674
  kind: "block";
309334
309675
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
@@ -309385,6 +309726,37 @@ export interface DocHyperlinksGetBoundParams {
309385
309726
  offset: number;
309386
309727
  };
309387
309728
  };
309729
+ story?: ({
309730
+ kind: "story";
309731
+ storyType: "body";
309732
+ }) | ({
309733
+ kind: "story";
309734
+ storyType: "headerFooterSlot";
309735
+ section: {
309736
+ kind: "section";
309737
+ sectionId: string;
309738
+ };
309739
+ headerFooterKind: "header" | "footer";
309740
+ variant: "default" | "first" | "even";
309741
+ resolution?: "effective" | "explicit";
309742
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
309743
+ }) | ({
309744
+ kind: "story";
309745
+ storyType: "headerFooterPart";
309746
+ refId: string;
309747
+ }) | ({
309748
+ kind: "story";
309749
+ storyType: "footnote";
309750
+ noteId: string;
309751
+ }) | ({
309752
+ kind: "story";
309753
+ storyType: "endnote";
309754
+ noteId: string;
309755
+ }) | ({
309756
+ kind: "story";
309757
+ storyType: "textbox";
309758
+ textboxId: string;
309759
+ });
309388
309760
  };
309389
309761
  }
309390
309762
  export interface DocHyperlinksWrapBoundParams {
@@ -309522,6 +309894,37 @@ export interface DocHyperlinksPatchBoundParams {
309522
309894
  offset: number;
309523
309895
  };
309524
309896
  };
309897
+ story?: ({
309898
+ kind: "story";
309899
+ storyType: "body";
309900
+ }) | ({
309901
+ kind: "story";
309902
+ storyType: "headerFooterSlot";
309903
+ section: {
309904
+ kind: "section";
309905
+ sectionId: string;
309906
+ };
309907
+ headerFooterKind: "header" | "footer";
309908
+ variant: "default" | "first" | "even";
309909
+ resolution?: "effective" | "explicit";
309910
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
309911
+ }) | ({
309912
+ kind: "story";
309913
+ storyType: "headerFooterPart";
309914
+ refId: string;
309915
+ }) | ({
309916
+ kind: "story";
309917
+ storyType: "footnote";
309918
+ noteId: string;
309919
+ }) | ({
309920
+ kind: "story";
309921
+ storyType: "endnote";
309922
+ noteId: string;
309923
+ }) | ({
309924
+ kind: "story";
309925
+ storyType: "textbox";
309926
+ textboxId: string;
309927
+ });
309525
309928
  };
309526
309929
  patch: {
309527
309930
  href?: string | unknown;
@@ -309552,6 +309955,37 @@ export interface DocHyperlinksRemoveBoundParams {
309552
309955
  offset: number;
309553
309956
  };
309554
309957
  };
309958
+ story?: ({
309959
+ kind: "story";
309960
+ storyType: "body";
309961
+ }) | ({
309962
+ kind: "story";
309963
+ storyType: "headerFooterSlot";
309964
+ section: {
309965
+ kind: "section";
309966
+ sectionId: string;
309967
+ };
309968
+ headerFooterKind: "header" | "footer";
309969
+ variant: "default" | "first" | "even";
309970
+ resolution?: "effective" | "explicit";
309971
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
309972
+ }) | ({
309973
+ kind: "story";
309974
+ storyType: "headerFooterPart";
309975
+ refId: string;
309976
+ }) | ({
309977
+ kind: "story";
309978
+ storyType: "footnote";
309979
+ noteId: string;
309980
+ }) | ({
309981
+ kind: "story";
309982
+ storyType: "endnote";
309983
+ noteId: string;
309984
+ }) | ({
309985
+ kind: "story";
309986
+ storyType: "textbox";
309987
+ textboxId: string;
309988
+ });
309555
309989
  };
309556
309990
  mode?: "unwrap" | "deleteText";
309557
309991
  }