@superdoc/sdk 2.25.0-next.4 → 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.
- package/dist/agent/action-change-mode.cjs +6 -0
- package/dist/agent/action-change-mode.d.ts +1 -0
- package/dist/agent/action-change-mode.js +5 -0
- package/dist/agent/action-descriptors.json +2 -2
- package/dist/agent/actions.cjs +886 -530
- package/dist/agent/actions.d.ts +2 -0
- package/dist/agent/actions.js +887 -531
- package/dist/agent/catalog.cjs +5 -0
- package/dist/agent/catalog.js +5 -0
- package/dist/agent/doc-snapshot.cjs +10 -6
- package/dist/agent/doc-snapshot.d.ts +4 -1
- package/dist/agent/doc-snapshot.js +10 -6
- package/dist/agent/ir.d.ts +3 -0
- package/dist/embedded-prompts.generated.cjs +2 -1
- package/dist/embedded-prompts.generated.js +2 -1
- package/dist/generated/client.d.ts +530 -0
- package/dist/generated/contract.cjs +1 -1
- package/dist/generated/contract.js +1 -1
- package/dist/presets/core.cjs +2 -1
- package/dist/presets/core.d.ts +1 -0
- package/dist/presets/core.js +2 -2
- package/dist/presets/full.cjs +1804 -0
- package/dist/presets/full.d.ts +39 -0
- package/dist/presets/full.js +1795 -0
- package/dist/presets.cjs +2 -0
- package/dist/presets.js +2 -0
- package/dist/prompts/full-addendum.md +40 -0
- package/dist/prompts/system-prompt.md +3 -2
- package/dist/runtime/document-rpc.cjs +2 -8
- package/dist/runtime/document-rpc.js +2 -8
- package/dist/runtime/sdk-version.generated.cjs +1 -1
- package/dist/runtime/sdk-version.generated.d.ts +1 -1
- package/dist/runtime/sdk-version.generated.js +1 -1
- package/dist/runtime/tracked-support.cjs +11 -0
- package/dist/runtime/tracked-support.d.ts +6 -0
- package/dist/runtime/tracked-support.js +7 -0
- package/package.json +6 -6
- package/tools/generation-receipt.json +14 -13
- package/tools/tools-policy.json +1 -1
|
@@ -441,6 +441,37 @@ export interface DocGetNodeByIdParams {
|
|
|
441
441
|
sessionId?: string;
|
|
442
442
|
id: string;
|
|
443
443
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
444
|
+
story?: ({
|
|
445
|
+
kind: "story";
|
|
446
|
+
storyType: "body";
|
|
447
|
+
}) | ({
|
|
448
|
+
kind: "story";
|
|
449
|
+
storyType: "headerFooterSlot";
|
|
450
|
+
section: {
|
|
451
|
+
kind: "section";
|
|
452
|
+
sectionId: string;
|
|
453
|
+
};
|
|
454
|
+
headerFooterKind: "header" | "footer";
|
|
455
|
+
variant: "default" | "first" | "even";
|
|
456
|
+
resolution?: "effective" | "explicit";
|
|
457
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
458
|
+
}) | ({
|
|
459
|
+
kind: "story";
|
|
460
|
+
storyType: "headerFooterPart";
|
|
461
|
+
refId: string;
|
|
462
|
+
}) | ({
|
|
463
|
+
kind: "story";
|
|
464
|
+
storyType: "footnote";
|
|
465
|
+
noteId: string;
|
|
466
|
+
}) | ({
|
|
467
|
+
kind: "story";
|
|
468
|
+
storyType: "endnote";
|
|
469
|
+
noteId: string;
|
|
470
|
+
}) | ({
|
|
471
|
+
kind: "story";
|
|
472
|
+
storyType: "textbox";
|
|
473
|
+
textboxId: string;
|
|
474
|
+
});
|
|
444
475
|
}
|
|
445
476
|
export interface DocGetTextParams {
|
|
446
477
|
doc?: string;
|
|
@@ -28109,6 +28140,37 @@ export interface DocImagesRemoveCaptionParams {
|
|
|
28109
28140
|
export interface DocHyperlinksListParams {
|
|
28110
28141
|
doc?: string;
|
|
28111
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
|
+
});
|
|
28112
28174
|
within?: {
|
|
28113
28175
|
kind: "block";
|
|
28114
28176
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
@@ -28167,6 +28229,37 @@ export interface DocHyperlinksGetParams {
|
|
|
28167
28229
|
offset: number;
|
|
28168
28230
|
};
|
|
28169
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
|
+
});
|
|
28170
28263
|
};
|
|
28171
28264
|
}
|
|
28172
28265
|
export interface DocHyperlinksWrapParams {
|
|
@@ -28310,6 +28403,37 @@ export interface DocHyperlinksPatchParams {
|
|
|
28310
28403
|
offset: number;
|
|
28311
28404
|
};
|
|
28312
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
|
+
});
|
|
28313
28437
|
};
|
|
28314
28438
|
patch: {
|
|
28315
28439
|
href?: string | unknown;
|
|
@@ -28342,6 +28466,37 @@ export interface DocHyperlinksRemoveParams {
|
|
|
28342
28466
|
offset: number;
|
|
28343
28467
|
};
|
|
28344
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
|
+
});
|
|
28345
28500
|
};
|
|
28346
28501
|
mode?: "unwrap" | "deleteText";
|
|
28347
28502
|
}
|
|
@@ -29050,6 +29205,18 @@ export interface DocCreateContentControlParams {
|
|
|
29050
29205
|
content?: string;
|
|
29051
29206
|
html?: string;
|
|
29052
29207
|
json?: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
29208
|
+
inline?: {
|
|
29209
|
+
bold?: boolean | unknown;
|
|
29210
|
+
italic?: boolean | unknown;
|
|
29211
|
+
strike?: boolean | unknown;
|
|
29212
|
+
underline?: boolean | unknown | ({
|
|
29213
|
+
style?: string | unknown;
|
|
29214
|
+
color?: string | unknown;
|
|
29215
|
+
themeColor?: string | unknown;
|
|
29216
|
+
});
|
|
29217
|
+
fontSize?: number | unknown;
|
|
29218
|
+
fontFamily?: string | unknown;
|
|
29219
|
+
};
|
|
29053
29220
|
}
|
|
29054
29221
|
export interface DocContentControlsListParams {
|
|
29055
29222
|
doc?: string;
|
|
@@ -33542,6 +33709,11 @@ export interface DocExportToDocxParams {
|
|
|
33542
33709
|
doc?: string;
|
|
33543
33710
|
sessionId?: string;
|
|
33544
33711
|
mode?: "review-preserving" | "final" | "original";
|
|
33712
|
+
policies?: {
|
|
33713
|
+
trackedChanges?: "review-preserving" | "final" | "original";
|
|
33714
|
+
comments?: "preserve" | "resolve" | "remove";
|
|
33715
|
+
contentControls?: "preserve" | "flatten";
|
|
33716
|
+
};
|
|
33545
33717
|
}
|
|
33546
33718
|
export interface DocProtectionGetParams {
|
|
33547
33719
|
doc?: string;
|
|
@@ -220756,6 +220928,37 @@ export type DocHyperlinksListResult = {
|
|
|
220756
220928
|
offset: number;
|
|
220757
220929
|
};
|
|
220758
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
|
+
});
|
|
220759
220962
|
};
|
|
220760
220963
|
properties: {
|
|
220761
220964
|
href?: string;
|
|
@@ -220787,6 +220990,37 @@ export type DocHyperlinksGetResult = {
|
|
|
220787
220990
|
offset: number;
|
|
220788
220991
|
};
|
|
220789
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
|
+
});
|
|
220790
221024
|
};
|
|
220791
221025
|
properties: {
|
|
220792
221026
|
href?: string;
|
|
@@ -221991,6 +222225,37 @@ export type DocHyperlinksWrapResult = {
|
|
|
221991
222225
|
offset: number;
|
|
221992
222226
|
};
|
|
221993
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
|
+
});
|
|
221994
222259
|
};
|
|
221995
222260
|
hyperlinkNodeId?: string | null;
|
|
221996
222261
|
partsCreated?: Array<string>;
|
|
@@ -223190,6 +223455,37 @@ export type DocHyperlinksInsertResult = {
|
|
|
223190
223455
|
offset: number;
|
|
223191
223456
|
};
|
|
223192
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
|
+
});
|
|
223193
223489
|
};
|
|
223194
223490
|
hyperlinkNodeId?: string | null;
|
|
223195
223491
|
partsCreated?: Array<string>;
|
|
@@ -224389,6 +224685,37 @@ export type DocHyperlinksPatchResult = {
|
|
|
224389
224685
|
offset: number;
|
|
224390
224686
|
};
|
|
224391
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
|
+
});
|
|
224392
224719
|
};
|
|
224393
224720
|
hyperlinkNodeId?: string | null;
|
|
224394
224721
|
partsCreated?: Array<string>;
|
|
@@ -225588,6 +225915,37 @@ export type DocHyperlinksRemoveResult = {
|
|
|
225588
225915
|
offset: number;
|
|
225589
225916
|
};
|
|
225590
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
|
+
});
|
|
225591
225949
|
};
|
|
225592
225950
|
hyperlinkNodeId?: string | null;
|
|
225593
225951
|
partsCreated?: Array<string>;
|
|
@@ -282133,6 +282491,37 @@ export interface DocGetNodeBoundParams {
|
|
|
282133
282491
|
export interface DocGetNodeByIdBoundParams {
|
|
282134
282492
|
id: string;
|
|
282135
282493
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
282494
|
+
story?: ({
|
|
282495
|
+
kind: "story";
|
|
282496
|
+
storyType: "body";
|
|
282497
|
+
}) | ({
|
|
282498
|
+
kind: "story";
|
|
282499
|
+
storyType: "headerFooterSlot";
|
|
282500
|
+
section: {
|
|
282501
|
+
kind: "section";
|
|
282502
|
+
sectionId: string;
|
|
282503
|
+
};
|
|
282504
|
+
headerFooterKind: "header" | "footer";
|
|
282505
|
+
variant: "default" | "first" | "even";
|
|
282506
|
+
resolution?: "effective" | "explicit";
|
|
282507
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
282508
|
+
}) | ({
|
|
282509
|
+
kind: "story";
|
|
282510
|
+
storyType: "headerFooterPart";
|
|
282511
|
+
refId: string;
|
|
282512
|
+
}) | ({
|
|
282513
|
+
kind: "story";
|
|
282514
|
+
storyType: "footnote";
|
|
282515
|
+
noteId: string;
|
|
282516
|
+
}) | ({
|
|
282517
|
+
kind: "story";
|
|
282518
|
+
storyType: "endnote";
|
|
282519
|
+
noteId: string;
|
|
282520
|
+
}) | ({
|
|
282521
|
+
kind: "story";
|
|
282522
|
+
storyType: "textbox";
|
|
282523
|
+
textboxId: string;
|
|
282524
|
+
});
|
|
282136
282525
|
}
|
|
282137
282526
|
export interface DocGetTextBoundParams {
|
|
282138
282527
|
in?: ({
|
|
@@ -309250,6 +309639,37 @@ export interface DocImagesRemoveCaptionBoundParams {
|
|
|
309250
309639
|
imageId: string;
|
|
309251
309640
|
}
|
|
309252
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
|
+
});
|
|
309253
309673
|
within?: {
|
|
309254
309674
|
kind: "block";
|
|
309255
309675
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
@@ -309306,6 +309726,37 @@ export interface DocHyperlinksGetBoundParams {
|
|
|
309306
309726
|
offset: number;
|
|
309307
309727
|
};
|
|
309308
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
|
+
});
|
|
309309
309760
|
};
|
|
309310
309761
|
}
|
|
309311
309762
|
export interface DocHyperlinksWrapBoundParams {
|
|
@@ -309443,6 +309894,37 @@ export interface DocHyperlinksPatchBoundParams {
|
|
|
309443
309894
|
offset: number;
|
|
309444
309895
|
};
|
|
309445
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
|
+
});
|
|
309446
309928
|
};
|
|
309447
309929
|
patch: {
|
|
309448
309930
|
href?: string | unknown;
|
|
@@ -309473,6 +309955,37 @@ export interface DocHyperlinksRemoveBoundParams {
|
|
|
309473
309955
|
offset: number;
|
|
309474
309956
|
};
|
|
309475
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
|
+
});
|
|
309476
309989
|
};
|
|
309477
309990
|
mode?: "unwrap" | "deleteText";
|
|
309478
309991
|
}
|
|
@@ -310143,6 +310656,18 @@ export interface DocCreateContentControlBoundParams {
|
|
|
310143
310656
|
content?: string;
|
|
310144
310657
|
html?: string;
|
|
310145
310658
|
json?: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
310659
|
+
inline?: {
|
|
310660
|
+
bold?: boolean | unknown;
|
|
310661
|
+
italic?: boolean | unknown;
|
|
310662
|
+
strike?: boolean | unknown;
|
|
310663
|
+
underline?: boolean | unknown | ({
|
|
310664
|
+
style?: string | unknown;
|
|
310665
|
+
color?: string | unknown;
|
|
310666
|
+
themeColor?: string | unknown;
|
|
310667
|
+
});
|
|
310668
|
+
fontSize?: number | unknown;
|
|
310669
|
+
fontFamily?: string | unknown;
|
|
310670
|
+
};
|
|
310146
310671
|
}
|
|
310147
310672
|
export interface DocContentControlsListBoundParams {
|
|
310148
310673
|
controlType?: string;
|
|
@@ -314385,6 +314910,11 @@ export interface DocDiffApplyBoundParams {
|
|
|
314385
314910
|
}
|
|
314386
314911
|
export interface DocExportToDocxBoundParams {
|
|
314387
314912
|
mode?: "review-preserving" | "final" | "original";
|
|
314913
|
+
policies?: {
|
|
314914
|
+
trackedChanges?: "review-preserving" | "final" | "original";
|
|
314915
|
+
comments?: "preserve" | "resolve" | "remove";
|
|
314916
|
+
contentControls?: "preserve" | "flatten";
|
|
314917
|
+
};
|
|
314388
314918
|
}
|
|
314389
314919
|
export interface DocProtectionGetBoundParams {
|
|
314390
314920
|
}
|