@superdoc/sdk 2.25.0-next.1 → 2.25.0-next.11
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/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.d.ts +534 -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/catalog.json +9 -0
- package/tools/generation-receipt.json +20 -19
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +9 -0
- package/tools/tools.generic.json +9 -0
- package/tools/tools.openai.json +9 -0
- package/tools/tools.vercel.json +9 -0
|
@@ -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;
|
|
@@ -21417,6 +21448,7 @@ export interface DocMutationsPreviewParams {
|
|
|
21417
21448
|
});
|
|
21418
21449
|
replacementMode?: "literal" | "regex-template";
|
|
21419
21450
|
caseHandling?: "exact" | "preserve-match";
|
|
21451
|
+
replacementGranularity?: "word" | "phrase" | "range";
|
|
21420
21452
|
style?: {
|
|
21421
21453
|
inline: {
|
|
21422
21454
|
mode: "preserve" | "set" | "clear" | "merge";
|
|
@@ -23332,6 +23364,7 @@ export interface DocMutationsApplyParams {
|
|
|
23332
23364
|
});
|
|
23333
23365
|
replacementMode?: "literal" | "regex-template";
|
|
23334
23366
|
caseHandling?: "exact" | "preserve-match";
|
|
23367
|
+
replacementGranularity?: "word" | "phrase" | "range";
|
|
23335
23368
|
style?: {
|
|
23336
23369
|
inline: {
|
|
23337
23370
|
mode: "preserve" | "set" | "clear" | "merge";
|
|
@@ -28107,6 +28140,37 @@ export interface DocImagesRemoveCaptionParams {
|
|
|
28107
28140
|
export interface DocHyperlinksListParams {
|
|
28108
28141
|
doc?: string;
|
|
28109
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
|
+
});
|
|
28110
28174
|
within?: {
|
|
28111
28175
|
kind: "block";
|
|
28112
28176
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
@@ -28165,6 +28229,37 @@ export interface DocHyperlinksGetParams {
|
|
|
28165
28229
|
offset: number;
|
|
28166
28230
|
};
|
|
28167
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
|
+
});
|
|
28168
28263
|
};
|
|
28169
28264
|
}
|
|
28170
28265
|
export interface DocHyperlinksWrapParams {
|
|
@@ -28308,6 +28403,37 @@ export interface DocHyperlinksPatchParams {
|
|
|
28308
28403
|
offset: number;
|
|
28309
28404
|
};
|
|
28310
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
|
+
});
|
|
28311
28437
|
};
|
|
28312
28438
|
patch: {
|
|
28313
28439
|
href?: string | unknown;
|
|
@@ -28340,6 +28466,37 @@ export interface DocHyperlinksRemoveParams {
|
|
|
28340
28466
|
offset: number;
|
|
28341
28467
|
};
|
|
28342
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
|
+
});
|
|
28343
28500
|
};
|
|
28344
28501
|
mode?: "unwrap" | "deleteText";
|
|
28345
28502
|
}
|
|
@@ -29048,6 +29205,18 @@ export interface DocCreateContentControlParams {
|
|
|
29048
29205
|
content?: string;
|
|
29049
29206
|
html?: string;
|
|
29050
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
|
+
};
|
|
29051
29220
|
}
|
|
29052
29221
|
export interface DocContentControlsListParams {
|
|
29053
29222
|
doc?: string;
|
|
@@ -33540,6 +33709,11 @@ export interface DocExportToDocxParams {
|
|
|
33540
33709
|
doc?: string;
|
|
33541
33710
|
sessionId?: string;
|
|
33542
33711
|
mode?: "review-preserving" | "final" | "original";
|
|
33712
|
+
policies?: {
|
|
33713
|
+
trackedChanges?: "review-preserving" | "final" | "original";
|
|
33714
|
+
comments?: "preserve" | "resolve" | "remove";
|
|
33715
|
+
contentControls?: "preserve" | "flatten";
|
|
33716
|
+
};
|
|
33543
33717
|
}
|
|
33544
33718
|
export interface DocProtectionGetParams {
|
|
33545
33719
|
doc?: string;
|
|
@@ -220754,6 +220928,37 @@ export type DocHyperlinksListResult = {
|
|
|
220754
220928
|
offset: number;
|
|
220755
220929
|
};
|
|
220756
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
|
+
});
|
|
220757
220962
|
};
|
|
220758
220963
|
properties: {
|
|
220759
220964
|
href?: string;
|
|
@@ -220785,6 +220990,37 @@ export type DocHyperlinksGetResult = {
|
|
|
220785
220990
|
offset: number;
|
|
220786
220991
|
};
|
|
220787
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
|
+
});
|
|
220788
221024
|
};
|
|
220789
221025
|
properties: {
|
|
220790
221026
|
href?: string;
|
|
@@ -221989,6 +222225,37 @@ export type DocHyperlinksWrapResult = {
|
|
|
221989
222225
|
offset: number;
|
|
221990
222226
|
};
|
|
221991
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
|
+
});
|
|
221992
222259
|
};
|
|
221993
222260
|
hyperlinkNodeId?: string | null;
|
|
221994
222261
|
partsCreated?: Array<string>;
|
|
@@ -223188,6 +223455,37 @@ export type DocHyperlinksInsertResult = {
|
|
|
223188
223455
|
offset: number;
|
|
223189
223456
|
};
|
|
223190
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
|
+
});
|
|
223191
223489
|
};
|
|
223192
223490
|
hyperlinkNodeId?: string | null;
|
|
223193
223491
|
partsCreated?: Array<string>;
|
|
@@ -224387,6 +224685,37 @@ export type DocHyperlinksPatchResult = {
|
|
|
224387
224685
|
offset: number;
|
|
224388
224686
|
};
|
|
224389
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
|
+
});
|
|
224390
224719
|
};
|
|
224391
224720
|
hyperlinkNodeId?: string | null;
|
|
224392
224721
|
partsCreated?: Array<string>;
|
|
@@ -225586,6 +225915,37 @@ export type DocHyperlinksRemoveResult = {
|
|
|
225586
225915
|
offset: number;
|
|
225587
225916
|
};
|
|
225588
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
|
+
});
|
|
225589
225949
|
};
|
|
225590
225950
|
hyperlinkNodeId?: string | null;
|
|
225591
225951
|
partsCreated?: Array<string>;
|
|
@@ -282131,6 +282491,37 @@ export interface DocGetNodeBoundParams {
|
|
|
282131
282491
|
export interface DocGetNodeByIdBoundParams {
|
|
282132
282492
|
id: string;
|
|
282133
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
|
+
});
|
|
282134
282525
|
}
|
|
282135
282526
|
export interface DocGetTextBoundParams {
|
|
282136
282527
|
in?: ({
|
|
@@ -302751,6 +303142,7 @@ export interface DocMutationsPreviewBoundParams {
|
|
|
302751
303142
|
});
|
|
302752
303143
|
replacementMode?: "literal" | "regex-template";
|
|
302753
303144
|
caseHandling?: "exact" | "preserve-match";
|
|
303145
|
+
replacementGranularity?: "word" | "phrase" | "range";
|
|
302754
303146
|
style?: {
|
|
302755
303147
|
inline: {
|
|
302756
303148
|
mode: "preserve" | "set" | "clear" | "merge";
|
|
@@ -304664,6 +305056,7 @@ export interface DocMutationsApplyBoundParams {
|
|
|
304664
305056
|
});
|
|
304665
305057
|
replacementMode?: "literal" | "regex-template";
|
|
304666
305058
|
caseHandling?: "exact" | "preserve-match";
|
|
305059
|
+
replacementGranularity?: "word" | "phrase" | "range";
|
|
304667
305060
|
style?: {
|
|
304668
305061
|
inline: {
|
|
304669
305062
|
mode: "preserve" | "set" | "clear" | "merge";
|
|
@@ -309246,6 +309639,37 @@ export interface DocImagesRemoveCaptionBoundParams {
|
|
|
309246
309639
|
imageId: string;
|
|
309247
309640
|
}
|
|
309248
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
|
+
});
|
|
309249
309673
|
within?: {
|
|
309250
309674
|
kind: "block";
|
|
309251
309675
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
@@ -309302,6 +309726,37 @@ export interface DocHyperlinksGetBoundParams {
|
|
|
309302
309726
|
offset: number;
|
|
309303
309727
|
};
|
|
309304
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
|
+
});
|
|
309305
309760
|
};
|
|
309306
309761
|
}
|
|
309307
309762
|
export interface DocHyperlinksWrapBoundParams {
|
|
@@ -309439,6 +309894,37 @@ export interface DocHyperlinksPatchBoundParams {
|
|
|
309439
309894
|
offset: number;
|
|
309440
309895
|
};
|
|
309441
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
|
+
});
|
|
309442
309928
|
};
|
|
309443
309929
|
patch: {
|
|
309444
309930
|
href?: string | unknown;
|
|
@@ -309469,6 +309955,37 @@ export interface DocHyperlinksRemoveBoundParams {
|
|
|
309469
309955
|
offset: number;
|
|
309470
309956
|
};
|
|
309471
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
|
+
});
|
|
309472
309989
|
};
|
|
309473
309990
|
mode?: "unwrap" | "deleteText";
|
|
309474
309991
|
}
|
|
@@ -310139,6 +310656,18 @@ export interface DocCreateContentControlBoundParams {
|
|
|
310139
310656
|
content?: string;
|
|
310140
310657
|
html?: string;
|
|
310141
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
|
+
};
|
|
310142
310671
|
}
|
|
310143
310672
|
export interface DocContentControlsListBoundParams {
|
|
310144
310673
|
controlType?: string;
|
|
@@ -314381,6 +314910,11 @@ export interface DocDiffApplyBoundParams {
|
|
|
314381
314910
|
}
|
|
314382
314911
|
export interface DocExportToDocxBoundParams {
|
|
314383
314912
|
mode?: "review-preserving" | "final" | "original";
|
|
314913
|
+
policies?: {
|
|
314914
|
+
trackedChanges?: "review-preserving" | "final" | "original";
|
|
314915
|
+
comments?: "preserve" | "resolve" | "remove";
|
|
314916
|
+
contentControls?: "preserve" | "flatten";
|
|
314917
|
+
};
|
|
314384
314918
|
}
|
|
314385
314919
|
export interface DocProtectionGetBoundParams {
|
|
314386
314920
|
}
|