@superdoc/sdk 2.27.0-next.4 → 2.27.0-next.9
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/README.md +34 -0
- package/dist/agent/actions.cjs +62 -24
- package/dist/agent/actions.js +62 -24
- package/dist/embedded-prompts.generated.cjs +1 -1
- package/dist/embedded-prompts.generated.js +1 -1
- package/dist/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.cjs +4 -0
- package/dist/generated/client.d.ts +1010 -62
- package/dist/generated/client.js +4 -0
- package/dist/generated/contract.cjs +1 -1
- package/dist/generated/contract.js +1 -1
- package/dist/presets/full.cjs +4 -0
- package/dist/presets/full.js +4 -0
- package/dist/prompts/full-addendum.md +1 -0
- 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/package.json +7 -7
- package/tools/catalog.json +42 -2
- package/tools/generation-receipt.json +25 -25
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +42 -2
- package/tools/tools.generic.json +42 -2
- package/tools/tools.openai.json +42 -2
- package/tools/tools.vercel.json +42 -2
|
@@ -14887,6 +14887,345 @@ export interface DocFormatParagraphResetDirectFormattingParams {
|
|
|
14887
14887
|
});
|
|
14888
14888
|
blockId?: string;
|
|
14889
14889
|
}
|
|
14890
|
+
export interface DocFormatParagraphApplyBatchParams {
|
|
14891
|
+
doc?: string;
|
|
14892
|
+
sessionId?: string;
|
|
14893
|
+
out?: string;
|
|
14894
|
+
force?: boolean;
|
|
14895
|
+
changeTag?: string;
|
|
14896
|
+
expectedRevision?: string;
|
|
14897
|
+
changeMode?: string;
|
|
14898
|
+
targets?: Array<({
|
|
14899
|
+
kind: "block";
|
|
14900
|
+
nodeType: "paragraph";
|
|
14901
|
+
nodeId: string;
|
|
14902
|
+
story?: ({
|
|
14903
|
+
kind: "story";
|
|
14904
|
+
storyType: "body";
|
|
14905
|
+
}) | ({
|
|
14906
|
+
kind: "story";
|
|
14907
|
+
storyType: "headerFooterSlot";
|
|
14908
|
+
section: {
|
|
14909
|
+
kind: "section";
|
|
14910
|
+
sectionId: string;
|
|
14911
|
+
};
|
|
14912
|
+
headerFooterKind: "header" | "footer";
|
|
14913
|
+
variant: "default" | "first" | "even";
|
|
14914
|
+
resolution?: "effective" | "explicit";
|
|
14915
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
14916
|
+
}) | ({
|
|
14917
|
+
kind: "story";
|
|
14918
|
+
storyType: "headerFooterPart";
|
|
14919
|
+
refId: string;
|
|
14920
|
+
}) | ({
|
|
14921
|
+
kind: "story";
|
|
14922
|
+
storyType: "footnote";
|
|
14923
|
+
noteId: string;
|
|
14924
|
+
}) | ({
|
|
14925
|
+
kind: "story";
|
|
14926
|
+
storyType: "endnote";
|
|
14927
|
+
noteId: string;
|
|
14928
|
+
}) | ({
|
|
14929
|
+
kind: "story";
|
|
14930
|
+
storyType: "textbox";
|
|
14931
|
+
textboxId: string;
|
|
14932
|
+
});
|
|
14933
|
+
}) | ({
|
|
14934
|
+
kind: "block";
|
|
14935
|
+
nodeType: "heading";
|
|
14936
|
+
nodeId: string;
|
|
14937
|
+
story?: ({
|
|
14938
|
+
kind: "story";
|
|
14939
|
+
storyType: "body";
|
|
14940
|
+
}) | ({
|
|
14941
|
+
kind: "story";
|
|
14942
|
+
storyType: "headerFooterSlot";
|
|
14943
|
+
section: {
|
|
14944
|
+
kind: "section";
|
|
14945
|
+
sectionId: string;
|
|
14946
|
+
};
|
|
14947
|
+
headerFooterKind: "header" | "footer";
|
|
14948
|
+
variant: "default" | "first" | "even";
|
|
14949
|
+
resolution?: "effective" | "explicit";
|
|
14950
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
14951
|
+
}) | ({
|
|
14952
|
+
kind: "story";
|
|
14953
|
+
storyType: "headerFooterPart";
|
|
14954
|
+
refId: string;
|
|
14955
|
+
}) | ({
|
|
14956
|
+
kind: "story";
|
|
14957
|
+
storyType: "footnote";
|
|
14958
|
+
noteId: string;
|
|
14959
|
+
}) | ({
|
|
14960
|
+
kind: "story";
|
|
14961
|
+
storyType: "endnote";
|
|
14962
|
+
noteId: string;
|
|
14963
|
+
}) | ({
|
|
14964
|
+
kind: "story";
|
|
14965
|
+
storyType: "textbox";
|
|
14966
|
+
textboxId: string;
|
|
14967
|
+
});
|
|
14968
|
+
}) | ({
|
|
14969
|
+
kind: "block";
|
|
14970
|
+
nodeType: "listItem";
|
|
14971
|
+
nodeId: string;
|
|
14972
|
+
story?: ({
|
|
14973
|
+
kind: "story";
|
|
14974
|
+
storyType: "body";
|
|
14975
|
+
}) | ({
|
|
14976
|
+
kind: "story";
|
|
14977
|
+
storyType: "headerFooterSlot";
|
|
14978
|
+
section: {
|
|
14979
|
+
kind: "section";
|
|
14980
|
+
sectionId: string;
|
|
14981
|
+
};
|
|
14982
|
+
headerFooterKind: "header" | "footer";
|
|
14983
|
+
variant: "default" | "first" | "even";
|
|
14984
|
+
resolution?: "effective" | "explicit";
|
|
14985
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
14986
|
+
}) | ({
|
|
14987
|
+
kind: "story";
|
|
14988
|
+
storyType: "headerFooterPart";
|
|
14989
|
+
refId: string;
|
|
14990
|
+
}) | ({
|
|
14991
|
+
kind: "story";
|
|
14992
|
+
storyType: "footnote";
|
|
14993
|
+
noteId: string;
|
|
14994
|
+
}) | ({
|
|
14995
|
+
kind: "story";
|
|
14996
|
+
storyType: "endnote";
|
|
14997
|
+
noteId: string;
|
|
14998
|
+
}) | ({
|
|
14999
|
+
kind: "story";
|
|
15000
|
+
storyType: "textbox";
|
|
15001
|
+
textboxId: string;
|
|
15002
|
+
});
|
|
15003
|
+
})>;
|
|
15004
|
+
operations?: Array<({
|
|
15005
|
+
operationId: "styles.paragraph.setStyleRef";
|
|
15006
|
+
input: {
|
|
15007
|
+
styleId: string;
|
|
15008
|
+
};
|
|
15009
|
+
}) | ({
|
|
15010
|
+
operationId: "styles.paragraph.clearStyle";
|
|
15011
|
+
input: Record<string, never>;
|
|
15012
|
+
}) | ({
|
|
15013
|
+
operationId: "format.paragraph.setAlignment";
|
|
15014
|
+
input: {
|
|
15015
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
15016
|
+
};
|
|
15017
|
+
}) | ({
|
|
15018
|
+
operationId: "format.paragraph.clearAlignment";
|
|
15019
|
+
input: Record<string, never>;
|
|
15020
|
+
}) | ({
|
|
15021
|
+
operationId: "format.paragraph.setSpacing";
|
|
15022
|
+
input: {
|
|
15023
|
+
before?: number;
|
|
15024
|
+
after?: number;
|
|
15025
|
+
line?: number;
|
|
15026
|
+
lineRule?: "auto" | "exact" | "atLeast";
|
|
15027
|
+
};
|
|
15028
|
+
}) | ({
|
|
15029
|
+
operationId: "format.paragraph.clearSpacing";
|
|
15030
|
+
input: Record<string, never>;
|
|
15031
|
+
}) | ({
|
|
15032
|
+
operationId: "format.paragraph.setIndentation";
|
|
15033
|
+
input: {
|
|
15034
|
+
left?: number;
|
|
15035
|
+
right?: number;
|
|
15036
|
+
firstLine?: number;
|
|
15037
|
+
hanging?: number;
|
|
15038
|
+
};
|
|
15039
|
+
}) | ({
|
|
15040
|
+
operationId: "format.paragraph.clearIndentation";
|
|
15041
|
+
input: Record<string, never>;
|
|
15042
|
+
}) | ({
|
|
15043
|
+
operationId: "format.paragraph.setKeepOptions";
|
|
15044
|
+
input: {
|
|
15045
|
+
keepNext?: boolean | unknown;
|
|
15046
|
+
keepLines?: boolean | unknown;
|
|
15047
|
+
widowControl?: boolean | unknown;
|
|
15048
|
+
};
|
|
15049
|
+
}) | ({
|
|
15050
|
+
operationId: "format.paragraph.setFlowOptions";
|
|
15051
|
+
input: {
|
|
15052
|
+
contextualSpacing?: boolean | unknown;
|
|
15053
|
+
pageBreakBefore?: boolean | unknown;
|
|
15054
|
+
suppressAutoHyphens?: boolean;
|
|
15055
|
+
autoSpaceDE?: boolean;
|
|
15056
|
+
autoSpaceDN?: boolean;
|
|
15057
|
+
adjustRightInd?: boolean;
|
|
15058
|
+
snapToGrid?: boolean;
|
|
15059
|
+
};
|
|
15060
|
+
}) | ({
|
|
15061
|
+
operationId: "format.paragraph.setOutlineLevel";
|
|
15062
|
+
input: {
|
|
15063
|
+
outlineLevel: number | unknown;
|
|
15064
|
+
};
|
|
15065
|
+
}) | ({
|
|
15066
|
+
operationId: "format.paragraph.setBorder";
|
|
15067
|
+
input: {
|
|
15068
|
+
side: "top" | "bottom" | "left" | "right" | "between" | "bar";
|
|
15069
|
+
style: string;
|
|
15070
|
+
color?: string;
|
|
15071
|
+
size?: number;
|
|
15072
|
+
space?: number;
|
|
15073
|
+
};
|
|
15074
|
+
}) | ({
|
|
15075
|
+
operationId: "format.paragraph.clearBorder";
|
|
15076
|
+
input: {
|
|
15077
|
+
side: "top" | "bottom" | "left" | "right" | "between" | "bar" | "all";
|
|
15078
|
+
};
|
|
15079
|
+
}) | ({
|
|
15080
|
+
operationId: "format.paragraph.setShading";
|
|
15081
|
+
input: {
|
|
15082
|
+
fill?: string;
|
|
15083
|
+
color?: string;
|
|
15084
|
+
pattern?: string;
|
|
15085
|
+
};
|
|
15086
|
+
}) | ({
|
|
15087
|
+
operationId: "format.paragraph.clearShading";
|
|
15088
|
+
input: Record<string, never>;
|
|
15089
|
+
}) | ({
|
|
15090
|
+
operationId: "format.paragraph.setTabStop";
|
|
15091
|
+
input: {
|
|
15092
|
+
position: number;
|
|
15093
|
+
alignment: "left" | "center" | "right" | "decimal" | "bar" | "clear";
|
|
15094
|
+
leader?: "none" | "dot" | "hyphen" | "underscore" | "heavy" | "middleDot";
|
|
15095
|
+
};
|
|
15096
|
+
}) | ({
|
|
15097
|
+
operationId: "format.paragraph.clearAllTabStops";
|
|
15098
|
+
input: Record<string, never>;
|
|
15099
|
+
}) | ({
|
|
15100
|
+
operationId: "format.paragraph.setDirection";
|
|
15101
|
+
input: {
|
|
15102
|
+
direction: "ltr" | "rtl";
|
|
15103
|
+
alignmentPolicy?: "preserve" | "matchDirection";
|
|
15104
|
+
};
|
|
15105
|
+
}) | ({
|
|
15106
|
+
operationId: "format.paragraph.clearDirection";
|
|
15107
|
+
input: Record<string, never>;
|
|
15108
|
+
}) | ({
|
|
15109
|
+
operationId: "format.paragraph.setMarkRunProps";
|
|
15110
|
+
input: {
|
|
15111
|
+
markRunProps: {
|
|
15112
|
+
fontSizeCs?: number;
|
|
15113
|
+
specVanish?: boolean;
|
|
15114
|
+
fontSize?: number;
|
|
15115
|
+
fonts?: {
|
|
15116
|
+
ascii?: string;
|
|
15117
|
+
hAnsi?: string;
|
|
15118
|
+
eastAsia?: string;
|
|
15119
|
+
cs?: string;
|
|
15120
|
+
asciiTheme?: string;
|
|
15121
|
+
hAnsiTheme?: string;
|
|
15122
|
+
eastAsiaTheme?: string;
|
|
15123
|
+
csTheme?: string;
|
|
15124
|
+
hint?: string;
|
|
15125
|
+
};
|
|
15126
|
+
fontFamily?: string;
|
|
15127
|
+
lang?: {
|
|
15128
|
+
val?: string;
|
|
15129
|
+
eastAsia?: string;
|
|
15130
|
+
bidi?: string;
|
|
15131
|
+
};
|
|
15132
|
+
color?: ({
|
|
15133
|
+
model: "rgb";
|
|
15134
|
+
value: string;
|
|
15135
|
+
}) | ({
|
|
15136
|
+
model: "theme";
|
|
15137
|
+
theme: string;
|
|
15138
|
+
tint?: number;
|
|
15139
|
+
shade?: number;
|
|
15140
|
+
}) | ({
|
|
15141
|
+
model: "auto";
|
|
15142
|
+
});
|
|
15143
|
+
highlight?: string;
|
|
15144
|
+
shading?: {
|
|
15145
|
+
fill?: ({
|
|
15146
|
+
model: "rgb";
|
|
15147
|
+
value: string;
|
|
15148
|
+
}) | ({
|
|
15149
|
+
model: "theme";
|
|
15150
|
+
theme: string;
|
|
15151
|
+
tint?: number;
|
|
15152
|
+
shade?: number;
|
|
15153
|
+
}) | ({
|
|
15154
|
+
model: "auto";
|
|
15155
|
+
});
|
|
15156
|
+
color?: ({
|
|
15157
|
+
model: "rgb";
|
|
15158
|
+
value: string;
|
|
15159
|
+
}) | ({
|
|
15160
|
+
model: "theme";
|
|
15161
|
+
theme: string;
|
|
15162
|
+
tint?: number;
|
|
15163
|
+
shade?: number;
|
|
15164
|
+
}) | ({
|
|
15165
|
+
model: "auto";
|
|
15166
|
+
});
|
|
15167
|
+
pattern?: string;
|
|
15168
|
+
};
|
|
15169
|
+
cs?: boolean;
|
|
15170
|
+
rtl?: boolean;
|
|
15171
|
+
bold?: boolean;
|
|
15172
|
+
boldCs?: boolean;
|
|
15173
|
+
italic?: boolean;
|
|
15174
|
+
italicCs?: boolean;
|
|
15175
|
+
underline?: {
|
|
15176
|
+
style?: string;
|
|
15177
|
+
color?: ({
|
|
15178
|
+
model: "rgb";
|
|
15179
|
+
value: string;
|
|
15180
|
+
}) | ({
|
|
15181
|
+
model: "theme";
|
|
15182
|
+
theme: string;
|
|
15183
|
+
tint?: number;
|
|
15184
|
+
shade?: number;
|
|
15185
|
+
}) | ({
|
|
15186
|
+
model: "auto";
|
|
15187
|
+
});
|
|
15188
|
+
};
|
|
15189
|
+
strikethrough?: boolean;
|
|
15190
|
+
doubleStrikethrough?: boolean;
|
|
15191
|
+
caps?: boolean;
|
|
15192
|
+
smallCaps?: boolean;
|
|
15193
|
+
outline?: boolean;
|
|
15194
|
+
shadow?: boolean;
|
|
15195
|
+
emboss?: boolean;
|
|
15196
|
+
imprint?: boolean;
|
|
15197
|
+
verticalAlign?: "baseline" | "superscript" | "subscript";
|
|
15198
|
+
characterSpacing?: number;
|
|
15199
|
+
characterScale?: number;
|
|
15200
|
+
kern?: number;
|
|
15201
|
+
baselineShift?: number;
|
|
15202
|
+
fitTextWidth?: number;
|
|
15203
|
+
vanish?: boolean;
|
|
15204
|
+
webHidden?: boolean;
|
|
15205
|
+
border?: {
|
|
15206
|
+
style?: string;
|
|
15207
|
+
width?: number;
|
|
15208
|
+
space?: number;
|
|
15209
|
+
color?: ({
|
|
15210
|
+
model: "rgb";
|
|
15211
|
+
value: string;
|
|
15212
|
+
}) | ({
|
|
15213
|
+
model: "theme";
|
|
15214
|
+
theme: string;
|
|
15215
|
+
tint?: number;
|
|
15216
|
+
shade?: number;
|
|
15217
|
+
}) | ({
|
|
15218
|
+
model: "auto";
|
|
15219
|
+
});
|
|
15220
|
+
frame?: boolean;
|
|
15221
|
+
shadow?: boolean;
|
|
15222
|
+
};
|
|
15223
|
+
textEffect?: string;
|
|
15224
|
+
};
|
|
15225
|
+
};
|
|
15226
|
+
})>;
|
|
15227
|
+
blockId?: string;
|
|
15228
|
+
}
|
|
14890
15229
|
export interface DocFormatParagraphSetAlignmentParams {
|
|
14891
15230
|
doc?: string;
|
|
14892
15231
|
sessionId?: string;
|
|
@@ -15713,9 +16052,9 @@ export interface DocFormatParagraphSetKeepOptionsParams {
|
|
|
15713
16052
|
textboxId: string;
|
|
15714
16053
|
});
|
|
15715
16054
|
});
|
|
15716
|
-
keepNext?: boolean;
|
|
15717
|
-
keepLines?: boolean;
|
|
15718
|
-
widowControl?: boolean;
|
|
16055
|
+
keepNext?: boolean | unknown;
|
|
16056
|
+
keepLines?: boolean | unknown;
|
|
16057
|
+
widowControl?: boolean | unknown;
|
|
15719
16058
|
blockId?: string;
|
|
15720
16059
|
}
|
|
15721
16060
|
export interface DocFormatParagraphSetOutlineLevelParams {
|
|
@@ -15951,8 +16290,8 @@ export interface DocFormatParagraphSetFlowOptionsParams {
|
|
|
15951
16290
|
textboxId: string;
|
|
15952
16291
|
});
|
|
15953
16292
|
});
|
|
15954
|
-
contextualSpacing?: boolean;
|
|
15955
|
-
pageBreakBefore?: boolean;
|
|
16293
|
+
contextualSpacing?: boolean | unknown;
|
|
16294
|
+
pageBreakBefore?: boolean | unknown;
|
|
15956
16295
|
suppressAutoHyphens?: boolean;
|
|
15957
16296
|
autoSpaceDE?: boolean;
|
|
15958
16297
|
autoSpaceDN?: boolean;
|
|
@@ -19818,6 +20157,7 @@ export interface DocCommentsCreateParams {
|
|
|
19818
20157
|
authorId?: string;
|
|
19819
20158
|
authorEmail?: string;
|
|
19820
20159
|
authorImage?: string;
|
|
20160
|
+
authorIdentity?: unknown;
|
|
19821
20161
|
metadata?: Record<string, unknown>;
|
|
19822
20162
|
expectedText?: string;
|
|
19823
20163
|
blockId?: string;
|
|
@@ -25938,7 +26278,7 @@ export interface DocCapabilitiesCheckParams {
|
|
|
25938
26278
|
export interface DocCapabilitiesResolveParams {
|
|
25939
26279
|
doc?: string;
|
|
25940
26280
|
sessionId?: string;
|
|
25941
|
-
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
26281
|
+
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.applyBatch" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.listPresets" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
25942
26282
|
input?: unknown;
|
|
25943
26283
|
options?: unknown;
|
|
25944
26284
|
}
|
|
@@ -27199,8 +27539,26 @@ export interface DocTablesApplyPresetParams {
|
|
|
27199
27539
|
nodeId: string;
|
|
27200
27540
|
};
|
|
27201
27541
|
nodeId?: string;
|
|
27202
|
-
preset: "grid" | "minimal" | "striped" | "accent";
|
|
27542
|
+
preset: "word.table-grid" | "word.grid-table-light" | "word.plain-table-1" | "word.plain-table-2" | "word.plain-table-3" | "word.plain-table-4" | "word.plain-table-5" | "word.grid-table-1-light" | "word.grid-table-1-light-accent-1" | "word.grid-table-1-light-accent-2" | "word.grid-table-1-light-accent-3" | "word.grid-table-1-light-accent-4" | "word.grid-table-1-light-accent-5" | "word.grid-table-1-light-accent-6" | "word.grid-table-2" | "word.grid-table-2-accent-1" | "word.grid-table-2-accent-2" | "word.grid-table-2-accent-3" | "word.grid-table-2-accent-4" | "word.grid-table-2-accent-5" | "word.grid-table-2-accent-6" | "word.grid-table-3" | "word.grid-table-3-accent-1" | "word.grid-table-3-accent-2" | "word.grid-table-3-accent-3" | "word.grid-table-3-accent-4" | "word.grid-table-3-accent-5" | "word.grid-table-3-accent-6" | "word.grid-table-4" | "word.grid-table-4-accent-1" | "word.grid-table-4-accent-2" | "word.grid-table-4-accent-3" | "word.grid-table-4-accent-4" | "word.grid-table-4-accent-5" | "word.grid-table-4-accent-6" | "word.grid-table-5-dark" | "word.grid-table-5-dark-accent-1" | "word.grid-table-5-dark-accent-2" | "word.grid-table-5-dark-accent-3" | "word.grid-table-5-dark-accent-4" | "word.grid-table-5-dark-accent-5" | "word.grid-table-5-dark-accent-6" | "word.grid-table-6-colorful" | "word.grid-table-6-colorful-accent-1" | "word.grid-table-6-colorful-accent-2" | "word.grid-table-6-colorful-accent-3" | "word.grid-table-6-colorful-accent-4" | "word.grid-table-6-colorful-accent-5" | "word.grid-table-6-colorful-accent-6" | "word.grid-table-7-colorful" | "word.grid-table-7-colorful-accent-1" | "word.grid-table-7-colorful-accent-2" | "word.grid-table-7-colorful-accent-3" | "word.grid-table-7-colorful-accent-4" | "word.grid-table-7-colorful-accent-5" | "word.grid-table-7-colorful-accent-6" | "word.list-table-1-light" | "word.list-table-1-light-accent-1" | "word.list-table-1-light-accent-2" | "word.list-table-1-light-accent-3" | "word.list-table-1-light-accent-4" | "word.list-table-1-light-accent-5" | "word.list-table-1-light-accent-6" | "word.list-table-2" | "word.list-table-2-accent-1" | "word.list-table-2-accent-2" | "word.list-table-2-accent-3" | "word.list-table-2-accent-4" | "word.list-table-2-accent-5" | "word.list-table-2-accent-6" | "word.list-table-3" | "word.list-table-3-accent-1" | "word.list-table-3-accent-2" | "word.list-table-3-accent-3" | "word.list-table-3-accent-4" | "word.list-table-3-accent-5" | "word.list-table-3-accent-6" | "word.list-table-4" | "word.list-table-4-accent-1" | "word.list-table-4-accent-2" | "word.list-table-4-accent-3" | "word.list-table-4-accent-4" | "word.list-table-4-accent-5" | "word.list-table-4-accent-6" | "word.list-table-5-dark" | "word.list-table-5-dark-accent-1" | "word.list-table-5-dark-accent-2" | "word.list-table-5-dark-accent-3" | "word.list-table-5-dark-accent-4" | "word.list-table-5-dark-accent-5" | "word.list-table-5-dark-accent-6" | "word.list-table-6-colorful" | "word.list-table-6-colorful-accent-1" | "word.list-table-6-colorful-accent-2" | "word.list-table-6-colorful-accent-3" | "word.list-table-6-colorful-accent-4" | "word.list-table-6-colorful-accent-5" | "word.list-table-6-colorful-accent-6" | "word.list-table-7-colorful" | "word.list-table-7-colorful-accent-1" | "word.list-table-7-colorful-accent-2" | "word.list-table-7-colorful-accent-3" | "word.list-table-7-colorful-accent-4" | "word.list-table-7-colorful-accent-5" | "word.list-table-7-colorful-accent-6" | "grid" | "minimal" | "striped" | "accent";
|
|
27203
27543
|
accentColor?: string;
|
|
27544
|
+
styleOptions?: {
|
|
27545
|
+
headerRow?: boolean;
|
|
27546
|
+
lastRow?: boolean;
|
|
27547
|
+
totalRow?: boolean;
|
|
27548
|
+
firstColumn?: boolean;
|
|
27549
|
+
lastColumn?: boolean;
|
|
27550
|
+
bandedRows?: boolean;
|
|
27551
|
+
bandedColumns?: boolean;
|
|
27552
|
+
};
|
|
27553
|
+
}
|
|
27554
|
+
export interface DocTablesListPresetsParams {
|
|
27555
|
+
doc?: string;
|
|
27556
|
+
sessionId?: string;
|
|
27557
|
+
source?: "word" | "superdoc";
|
|
27558
|
+
group?: "plain" | "grid" | "list" | "convenience";
|
|
27559
|
+
query?: string;
|
|
27560
|
+
limit?: number;
|
|
27561
|
+
offset?: number;
|
|
27204
27562
|
}
|
|
27205
27563
|
export interface DocTablesGetParams {
|
|
27206
27564
|
doc?: string;
|
|
@@ -117408,6 +117766,154 @@ export type DocFormatParagraphResetDirectFormattingResult = {
|
|
|
117408
117766
|
});
|
|
117409
117767
|
}>;
|
|
117410
117768
|
};
|
|
117769
|
+
export type DocFormatParagraphApplyBatchResult = {
|
|
117770
|
+
success: true;
|
|
117771
|
+
resolution: {
|
|
117772
|
+
targets: Array<({
|
|
117773
|
+
kind: "block";
|
|
117774
|
+
nodeType: "paragraph";
|
|
117775
|
+
nodeId: string;
|
|
117776
|
+
story?: ({
|
|
117777
|
+
kind: "story";
|
|
117778
|
+
storyType: "body";
|
|
117779
|
+
}) | ({
|
|
117780
|
+
kind: "story";
|
|
117781
|
+
storyType: "headerFooterSlot";
|
|
117782
|
+
section: {
|
|
117783
|
+
kind: "section";
|
|
117784
|
+
sectionId: string;
|
|
117785
|
+
};
|
|
117786
|
+
headerFooterKind: "header" | "footer";
|
|
117787
|
+
variant: "default" | "first" | "even";
|
|
117788
|
+
resolution?: "effective" | "explicit";
|
|
117789
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
117790
|
+
}) | ({
|
|
117791
|
+
kind: "story";
|
|
117792
|
+
storyType: "headerFooterPart";
|
|
117793
|
+
refId: string;
|
|
117794
|
+
}) | ({
|
|
117795
|
+
kind: "story";
|
|
117796
|
+
storyType: "footnote";
|
|
117797
|
+
noteId: string;
|
|
117798
|
+
}) | ({
|
|
117799
|
+
kind: "story";
|
|
117800
|
+
storyType: "endnote";
|
|
117801
|
+
noteId: string;
|
|
117802
|
+
}) | ({
|
|
117803
|
+
kind: "story";
|
|
117804
|
+
storyType: "textbox";
|
|
117805
|
+
textboxId: string;
|
|
117806
|
+
});
|
|
117807
|
+
}) | ({
|
|
117808
|
+
kind: "block";
|
|
117809
|
+
nodeType: "heading";
|
|
117810
|
+
nodeId: string;
|
|
117811
|
+
story?: ({
|
|
117812
|
+
kind: "story";
|
|
117813
|
+
storyType: "body";
|
|
117814
|
+
}) | ({
|
|
117815
|
+
kind: "story";
|
|
117816
|
+
storyType: "headerFooterSlot";
|
|
117817
|
+
section: {
|
|
117818
|
+
kind: "section";
|
|
117819
|
+
sectionId: string;
|
|
117820
|
+
};
|
|
117821
|
+
headerFooterKind: "header" | "footer";
|
|
117822
|
+
variant: "default" | "first" | "even";
|
|
117823
|
+
resolution?: "effective" | "explicit";
|
|
117824
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
117825
|
+
}) | ({
|
|
117826
|
+
kind: "story";
|
|
117827
|
+
storyType: "headerFooterPart";
|
|
117828
|
+
refId: string;
|
|
117829
|
+
}) | ({
|
|
117830
|
+
kind: "story";
|
|
117831
|
+
storyType: "footnote";
|
|
117832
|
+
noteId: string;
|
|
117833
|
+
}) | ({
|
|
117834
|
+
kind: "story";
|
|
117835
|
+
storyType: "endnote";
|
|
117836
|
+
noteId: string;
|
|
117837
|
+
}) | ({
|
|
117838
|
+
kind: "story";
|
|
117839
|
+
storyType: "textbox";
|
|
117840
|
+
textboxId: string;
|
|
117841
|
+
});
|
|
117842
|
+
}) | ({
|
|
117843
|
+
kind: "block";
|
|
117844
|
+
nodeType: "listItem";
|
|
117845
|
+
nodeId: string;
|
|
117846
|
+
story?: ({
|
|
117847
|
+
kind: "story";
|
|
117848
|
+
storyType: "body";
|
|
117849
|
+
}) | ({
|
|
117850
|
+
kind: "story";
|
|
117851
|
+
storyType: "headerFooterSlot";
|
|
117852
|
+
section: {
|
|
117853
|
+
kind: "section";
|
|
117854
|
+
sectionId: string;
|
|
117855
|
+
};
|
|
117856
|
+
headerFooterKind: "header" | "footer";
|
|
117857
|
+
variant: "default" | "first" | "even";
|
|
117858
|
+
resolution?: "effective" | "explicit";
|
|
117859
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
117860
|
+
}) | ({
|
|
117861
|
+
kind: "story";
|
|
117862
|
+
storyType: "headerFooterPart";
|
|
117863
|
+
refId: string;
|
|
117864
|
+
}) | ({
|
|
117865
|
+
kind: "story";
|
|
117866
|
+
storyType: "footnote";
|
|
117867
|
+
noteId: string;
|
|
117868
|
+
}) | ({
|
|
117869
|
+
kind: "story";
|
|
117870
|
+
storyType: "endnote";
|
|
117871
|
+
noteId: string;
|
|
117872
|
+
}) | ({
|
|
117873
|
+
kind: "story";
|
|
117874
|
+
storyType: "textbox";
|
|
117875
|
+
textboxId: string;
|
|
117876
|
+
});
|
|
117877
|
+
})>;
|
|
117878
|
+
};
|
|
117879
|
+
appliedChangeMode?: "direct" | "tracked";
|
|
117880
|
+
trackedChangeRefs?: Array<{
|
|
117881
|
+
kind: "entity";
|
|
117882
|
+
entityType: "trackedChange";
|
|
117883
|
+
entityId: string;
|
|
117884
|
+
story?: ({
|
|
117885
|
+
kind: "story";
|
|
117886
|
+
storyType: "body";
|
|
117887
|
+
}) | ({
|
|
117888
|
+
kind: "story";
|
|
117889
|
+
storyType: "headerFooterSlot";
|
|
117890
|
+
section: {
|
|
117891
|
+
kind: "section";
|
|
117892
|
+
sectionId: string;
|
|
117893
|
+
};
|
|
117894
|
+
headerFooterKind: "header" | "footer";
|
|
117895
|
+
variant: "default" | "first" | "even";
|
|
117896
|
+
resolution?: "effective" | "explicit";
|
|
117897
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
117898
|
+
}) | ({
|
|
117899
|
+
kind: "story";
|
|
117900
|
+
storyType: "headerFooterPart";
|
|
117901
|
+
refId: string;
|
|
117902
|
+
}) | ({
|
|
117903
|
+
kind: "story";
|
|
117904
|
+
storyType: "footnote";
|
|
117905
|
+
noteId: string;
|
|
117906
|
+
}) | ({
|
|
117907
|
+
kind: "story";
|
|
117908
|
+
storyType: "endnote";
|
|
117909
|
+
noteId: string;
|
|
117910
|
+
}) | ({
|
|
117911
|
+
kind: "story";
|
|
117912
|
+
storyType: "textbox";
|
|
117913
|
+
textboxId: string;
|
|
117914
|
+
});
|
|
117915
|
+
}>;
|
|
117916
|
+
};
|
|
117411
117917
|
export type DocFormatParagraphSetAlignmentResult = {
|
|
117412
117918
|
success: true;
|
|
117413
117919
|
target: ({
|
|
@@ -183056,6 +183562,14 @@ export type DocCapabilitiesGetResult = {
|
|
|
183056
183562
|
dryRun: boolean;
|
|
183057
183563
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE" | "TARGET_CONTEXT_REQUIRED" | "TARGET_UNSUPPORTED">;
|
|
183058
183564
|
};
|
|
183565
|
+
"format.paragraph.applyBatch": {
|
|
183566
|
+
commentRetention?: Array<"point">;
|
|
183567
|
+
available: boolean;
|
|
183568
|
+
tracked: boolean;
|
|
183569
|
+
trackedSupport?: "always" | "conditional" | "never";
|
|
183570
|
+
dryRun: boolean;
|
|
183571
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE" | "TARGET_CONTEXT_REQUIRED" | "TARGET_UNSUPPORTED">;
|
|
183572
|
+
};
|
|
183059
183573
|
"format.paragraph.setAlignment": {
|
|
183060
183574
|
commentRetention?: Array<"point">;
|
|
183061
183575
|
available: boolean;
|
|
@@ -184104,6 +184618,14 @@ export type DocCapabilitiesGetResult = {
|
|
|
184104
184618
|
dryRun: boolean;
|
|
184105
184619
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE" | "TARGET_CONTEXT_REQUIRED" | "TARGET_UNSUPPORTED">;
|
|
184106
184620
|
};
|
|
184621
|
+
"tables.listPresets": {
|
|
184622
|
+
commentRetention?: Array<"point">;
|
|
184623
|
+
available: boolean;
|
|
184624
|
+
tracked: boolean;
|
|
184625
|
+
trackedSupport?: "always" | "conditional" | "never";
|
|
184626
|
+
dryRun: boolean;
|
|
184627
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE" | "TARGET_CONTEXT_REQUIRED" | "TARGET_UNSUPPORTED">;
|
|
184628
|
+
};
|
|
184107
184629
|
"tables.get": {
|
|
184108
184630
|
commentRetention?: Array<"point">;
|
|
184109
184631
|
available: boolean;
|
|
@@ -188041,7 +188563,7 @@ export type DocCapabilitiesCheckResult = ({
|
|
|
188041
188563
|
};
|
|
188042
188564
|
});
|
|
188043
188565
|
export type DocCapabilitiesResolveResult = {
|
|
188044
|
-
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
188566
|
+
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.applyBatch" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.listPresets" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
188045
188567
|
available: ({
|
|
188046
188568
|
kind: "supported";
|
|
188047
188569
|
}) | ({
|
|
@@ -190183,54 +190705,113 @@ export type DocTablesSetTableOptionsResult = {
|
|
|
190183
190705
|
});
|
|
190184
190706
|
})>;
|
|
190185
190707
|
};
|
|
190186
|
-
export type DocTablesApplyPresetResult = {
|
|
190187
|
-
success: true;
|
|
190188
|
-
appliedChangeMode?: "direct" | "tracked";
|
|
190189
|
-
table?: {
|
|
190190
|
-
kind: "block";
|
|
190191
|
-
nodeType: "table";
|
|
190192
|
-
nodeId: string;
|
|
190193
|
-
};
|
|
190194
|
-
trackedChangeRefs?: Array<({
|
|
190195
|
-
kind: "entity";
|
|
190196
|
-
entityType: "comment";
|
|
190197
|
-
entityId: string;
|
|
190198
|
-
}) | ({
|
|
190199
|
-
kind: "entity";
|
|
190200
|
-
entityType: "trackedChange";
|
|
190201
|
-
entityId: string;
|
|
190202
|
-
story?: ({
|
|
190203
|
-
kind: "story";
|
|
190204
|
-
storyType: "body";
|
|
190205
|
-
}) | ({
|
|
190206
|
-
kind: "story";
|
|
190207
|
-
storyType: "headerFooterSlot";
|
|
190208
|
-
section: {
|
|
190209
|
-
kind: "section";
|
|
190210
|
-
sectionId: string;
|
|
190708
|
+
export type DocTablesApplyPresetResult = {
|
|
190709
|
+
success: true;
|
|
190710
|
+
appliedChangeMode?: "direct" | "tracked";
|
|
190711
|
+
table?: {
|
|
190712
|
+
kind: "block";
|
|
190713
|
+
nodeType: "table";
|
|
190714
|
+
nodeId: string;
|
|
190715
|
+
};
|
|
190716
|
+
trackedChangeRefs?: Array<({
|
|
190717
|
+
kind: "entity";
|
|
190718
|
+
entityType: "comment";
|
|
190719
|
+
entityId: string;
|
|
190720
|
+
}) | ({
|
|
190721
|
+
kind: "entity";
|
|
190722
|
+
entityType: "trackedChange";
|
|
190723
|
+
entityId: string;
|
|
190724
|
+
story?: ({
|
|
190725
|
+
kind: "story";
|
|
190726
|
+
storyType: "body";
|
|
190727
|
+
}) | ({
|
|
190728
|
+
kind: "story";
|
|
190729
|
+
storyType: "headerFooterSlot";
|
|
190730
|
+
section: {
|
|
190731
|
+
kind: "section";
|
|
190732
|
+
sectionId: string;
|
|
190733
|
+
};
|
|
190734
|
+
headerFooterKind: "header" | "footer";
|
|
190735
|
+
variant: "default" | "first" | "even";
|
|
190736
|
+
resolution?: "effective" | "explicit";
|
|
190737
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
190738
|
+
}) | ({
|
|
190739
|
+
kind: "story";
|
|
190740
|
+
storyType: "headerFooterPart";
|
|
190741
|
+
refId: string;
|
|
190742
|
+
}) | ({
|
|
190743
|
+
kind: "story";
|
|
190744
|
+
storyType: "footnote";
|
|
190745
|
+
noteId: string;
|
|
190746
|
+
}) | ({
|
|
190747
|
+
kind: "story";
|
|
190748
|
+
storyType: "endnote";
|
|
190749
|
+
noteId: string;
|
|
190750
|
+
}) | ({
|
|
190751
|
+
kind: "story";
|
|
190752
|
+
storyType: "textbox";
|
|
190753
|
+
textboxId: string;
|
|
190754
|
+
});
|
|
190755
|
+
})>;
|
|
190756
|
+
};
|
|
190757
|
+
export type DocTablesListPresetsResult = {
|
|
190758
|
+
items: Array<{
|
|
190759
|
+
id: string;
|
|
190760
|
+
name: string;
|
|
190761
|
+
source: "word" | "superdoc";
|
|
190762
|
+
group: "plain" | "grid" | "list" | "convenience";
|
|
190763
|
+
accent: number | null;
|
|
190764
|
+
appearance: ({
|
|
190765
|
+
baseFill?: {
|
|
190766
|
+
themeColor?: string;
|
|
190767
|
+
rgb?: string;
|
|
190768
|
+
tint?: string;
|
|
190769
|
+
shade?: string;
|
|
190770
|
+
};
|
|
190771
|
+
header: {
|
|
190772
|
+
treatment: Array<"shading" | "bold" | "borders">;
|
|
190773
|
+
fill?: {
|
|
190774
|
+
themeColor?: string;
|
|
190775
|
+
rgb?: string;
|
|
190776
|
+
tint?: string;
|
|
190777
|
+
shade?: string;
|
|
190778
|
+
};
|
|
190779
|
+
textColor?: {
|
|
190780
|
+
themeColor?: string;
|
|
190781
|
+
rgb?: string;
|
|
190782
|
+
tint?: string;
|
|
190783
|
+
shade?: string;
|
|
190784
|
+
};
|
|
190785
|
+
};
|
|
190786
|
+
bandedRows: {
|
|
190787
|
+
effect: "none" | "shading" | "borders" | "shadingAndBorders";
|
|
190788
|
+
fill?: {
|
|
190789
|
+
themeColor?: string;
|
|
190790
|
+
rgb?: string;
|
|
190791
|
+
tint?: string;
|
|
190792
|
+
shade?: string;
|
|
190793
|
+
};
|
|
190794
|
+
borderColor?: {
|
|
190795
|
+
themeColor?: string;
|
|
190796
|
+
rgb?: string;
|
|
190797
|
+
tint?: string;
|
|
190798
|
+
shade?: string;
|
|
190799
|
+
};
|
|
190800
|
+
};
|
|
190801
|
+
borders: {
|
|
190802
|
+
layout: "none" | "horizontal" | "outer" | "outerAndHorizontal" | "grid";
|
|
190803
|
+
color?: {
|
|
190804
|
+
themeColor?: string;
|
|
190805
|
+
rgb?: string;
|
|
190806
|
+
tint?: string;
|
|
190807
|
+
shade?: string;
|
|
190808
|
+
};
|
|
190211
190809
|
};
|
|
190212
|
-
|
|
190213
|
-
|
|
190214
|
-
|
|
190215
|
-
|
|
190216
|
-
|
|
190217
|
-
kind: "story";
|
|
190218
|
-
storyType: "headerFooterPart";
|
|
190219
|
-
refId: string;
|
|
190220
|
-
}) | ({
|
|
190221
|
-
kind: "story";
|
|
190222
|
-
storyType: "footnote";
|
|
190223
|
-
noteId: string;
|
|
190224
|
-
}) | ({
|
|
190225
|
-
kind: "story";
|
|
190226
|
-
storyType: "endnote";
|
|
190227
|
-
noteId: string;
|
|
190228
|
-
}) | ({
|
|
190229
|
-
kind: "story";
|
|
190230
|
-
storyType: "textbox";
|
|
190231
|
-
textboxId: string;
|
|
190232
|
-
});
|
|
190233
|
-
})>;
|
|
190810
|
+
}) | null;
|
|
190811
|
+
}>;
|
|
190812
|
+
total: number;
|
|
190813
|
+
offset: number;
|
|
190814
|
+
nextOffset: number | null;
|
|
190234
190815
|
};
|
|
190235
190816
|
export type DocTablesGetResult = {
|
|
190236
190817
|
nodeId: string;
|
|
@@ -190270,6 +190851,15 @@ export type DocTablesGetPropertiesResult = {
|
|
|
190270
190851
|
nodeType: "table";
|
|
190271
190852
|
nodeId: string;
|
|
190272
190853
|
};
|
|
190854
|
+
rows?: Array<{
|
|
190855
|
+
rowIndex: number;
|
|
190856
|
+
heightPt?: number;
|
|
190857
|
+
heightRule?: "atLeast" | "exact" | "auto";
|
|
190858
|
+
}>;
|
|
190859
|
+
columns?: Array<{
|
|
190860
|
+
columnIndex: number;
|
|
190861
|
+
widthPt?: number;
|
|
190862
|
+
}>;
|
|
190273
190863
|
styleId?: string;
|
|
190274
190864
|
alignment?: "left" | "center" | "right";
|
|
190275
190865
|
direction?: "ltr" | "rtl";
|
|
@@ -300049,6 +300639,343 @@ export interface DocFormatParagraphResetDirectFormattingBoundParams {
|
|
|
300049
300639
|
});
|
|
300050
300640
|
blockId?: string;
|
|
300051
300641
|
}
|
|
300642
|
+
export interface DocFormatParagraphApplyBatchBoundParams {
|
|
300643
|
+
out?: string;
|
|
300644
|
+
force?: boolean;
|
|
300645
|
+
changeTag?: string;
|
|
300646
|
+
expectedRevision?: string;
|
|
300647
|
+
changeMode?: string;
|
|
300648
|
+
targets?: Array<({
|
|
300649
|
+
kind: "block";
|
|
300650
|
+
nodeType: "paragraph";
|
|
300651
|
+
nodeId: string;
|
|
300652
|
+
story?: ({
|
|
300653
|
+
kind: "story";
|
|
300654
|
+
storyType: "body";
|
|
300655
|
+
}) | ({
|
|
300656
|
+
kind: "story";
|
|
300657
|
+
storyType: "headerFooterSlot";
|
|
300658
|
+
section: {
|
|
300659
|
+
kind: "section";
|
|
300660
|
+
sectionId: string;
|
|
300661
|
+
};
|
|
300662
|
+
headerFooterKind: "header" | "footer";
|
|
300663
|
+
variant: "default" | "first" | "even";
|
|
300664
|
+
resolution?: "effective" | "explicit";
|
|
300665
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
300666
|
+
}) | ({
|
|
300667
|
+
kind: "story";
|
|
300668
|
+
storyType: "headerFooterPart";
|
|
300669
|
+
refId: string;
|
|
300670
|
+
}) | ({
|
|
300671
|
+
kind: "story";
|
|
300672
|
+
storyType: "footnote";
|
|
300673
|
+
noteId: string;
|
|
300674
|
+
}) | ({
|
|
300675
|
+
kind: "story";
|
|
300676
|
+
storyType: "endnote";
|
|
300677
|
+
noteId: string;
|
|
300678
|
+
}) | ({
|
|
300679
|
+
kind: "story";
|
|
300680
|
+
storyType: "textbox";
|
|
300681
|
+
textboxId: string;
|
|
300682
|
+
});
|
|
300683
|
+
}) | ({
|
|
300684
|
+
kind: "block";
|
|
300685
|
+
nodeType: "heading";
|
|
300686
|
+
nodeId: string;
|
|
300687
|
+
story?: ({
|
|
300688
|
+
kind: "story";
|
|
300689
|
+
storyType: "body";
|
|
300690
|
+
}) | ({
|
|
300691
|
+
kind: "story";
|
|
300692
|
+
storyType: "headerFooterSlot";
|
|
300693
|
+
section: {
|
|
300694
|
+
kind: "section";
|
|
300695
|
+
sectionId: string;
|
|
300696
|
+
};
|
|
300697
|
+
headerFooterKind: "header" | "footer";
|
|
300698
|
+
variant: "default" | "first" | "even";
|
|
300699
|
+
resolution?: "effective" | "explicit";
|
|
300700
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
300701
|
+
}) | ({
|
|
300702
|
+
kind: "story";
|
|
300703
|
+
storyType: "headerFooterPart";
|
|
300704
|
+
refId: string;
|
|
300705
|
+
}) | ({
|
|
300706
|
+
kind: "story";
|
|
300707
|
+
storyType: "footnote";
|
|
300708
|
+
noteId: string;
|
|
300709
|
+
}) | ({
|
|
300710
|
+
kind: "story";
|
|
300711
|
+
storyType: "endnote";
|
|
300712
|
+
noteId: string;
|
|
300713
|
+
}) | ({
|
|
300714
|
+
kind: "story";
|
|
300715
|
+
storyType: "textbox";
|
|
300716
|
+
textboxId: string;
|
|
300717
|
+
});
|
|
300718
|
+
}) | ({
|
|
300719
|
+
kind: "block";
|
|
300720
|
+
nodeType: "listItem";
|
|
300721
|
+
nodeId: string;
|
|
300722
|
+
story?: ({
|
|
300723
|
+
kind: "story";
|
|
300724
|
+
storyType: "body";
|
|
300725
|
+
}) | ({
|
|
300726
|
+
kind: "story";
|
|
300727
|
+
storyType: "headerFooterSlot";
|
|
300728
|
+
section: {
|
|
300729
|
+
kind: "section";
|
|
300730
|
+
sectionId: string;
|
|
300731
|
+
};
|
|
300732
|
+
headerFooterKind: "header" | "footer";
|
|
300733
|
+
variant: "default" | "first" | "even";
|
|
300734
|
+
resolution?: "effective" | "explicit";
|
|
300735
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
300736
|
+
}) | ({
|
|
300737
|
+
kind: "story";
|
|
300738
|
+
storyType: "headerFooterPart";
|
|
300739
|
+
refId: string;
|
|
300740
|
+
}) | ({
|
|
300741
|
+
kind: "story";
|
|
300742
|
+
storyType: "footnote";
|
|
300743
|
+
noteId: string;
|
|
300744
|
+
}) | ({
|
|
300745
|
+
kind: "story";
|
|
300746
|
+
storyType: "endnote";
|
|
300747
|
+
noteId: string;
|
|
300748
|
+
}) | ({
|
|
300749
|
+
kind: "story";
|
|
300750
|
+
storyType: "textbox";
|
|
300751
|
+
textboxId: string;
|
|
300752
|
+
});
|
|
300753
|
+
})>;
|
|
300754
|
+
operations?: Array<({
|
|
300755
|
+
operationId: "styles.paragraph.setStyleRef";
|
|
300756
|
+
input: {
|
|
300757
|
+
styleId: string;
|
|
300758
|
+
};
|
|
300759
|
+
}) | ({
|
|
300760
|
+
operationId: "styles.paragraph.clearStyle";
|
|
300761
|
+
input: Record<string, never>;
|
|
300762
|
+
}) | ({
|
|
300763
|
+
operationId: "format.paragraph.setAlignment";
|
|
300764
|
+
input: {
|
|
300765
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
300766
|
+
};
|
|
300767
|
+
}) | ({
|
|
300768
|
+
operationId: "format.paragraph.clearAlignment";
|
|
300769
|
+
input: Record<string, never>;
|
|
300770
|
+
}) | ({
|
|
300771
|
+
operationId: "format.paragraph.setSpacing";
|
|
300772
|
+
input: {
|
|
300773
|
+
before?: number;
|
|
300774
|
+
after?: number;
|
|
300775
|
+
line?: number;
|
|
300776
|
+
lineRule?: "auto" | "exact" | "atLeast";
|
|
300777
|
+
};
|
|
300778
|
+
}) | ({
|
|
300779
|
+
operationId: "format.paragraph.clearSpacing";
|
|
300780
|
+
input: Record<string, never>;
|
|
300781
|
+
}) | ({
|
|
300782
|
+
operationId: "format.paragraph.setIndentation";
|
|
300783
|
+
input: {
|
|
300784
|
+
left?: number;
|
|
300785
|
+
right?: number;
|
|
300786
|
+
firstLine?: number;
|
|
300787
|
+
hanging?: number;
|
|
300788
|
+
};
|
|
300789
|
+
}) | ({
|
|
300790
|
+
operationId: "format.paragraph.clearIndentation";
|
|
300791
|
+
input: Record<string, never>;
|
|
300792
|
+
}) | ({
|
|
300793
|
+
operationId: "format.paragraph.setKeepOptions";
|
|
300794
|
+
input: {
|
|
300795
|
+
keepNext?: boolean | unknown;
|
|
300796
|
+
keepLines?: boolean | unknown;
|
|
300797
|
+
widowControl?: boolean | unknown;
|
|
300798
|
+
};
|
|
300799
|
+
}) | ({
|
|
300800
|
+
operationId: "format.paragraph.setFlowOptions";
|
|
300801
|
+
input: {
|
|
300802
|
+
contextualSpacing?: boolean | unknown;
|
|
300803
|
+
pageBreakBefore?: boolean | unknown;
|
|
300804
|
+
suppressAutoHyphens?: boolean;
|
|
300805
|
+
autoSpaceDE?: boolean;
|
|
300806
|
+
autoSpaceDN?: boolean;
|
|
300807
|
+
adjustRightInd?: boolean;
|
|
300808
|
+
snapToGrid?: boolean;
|
|
300809
|
+
};
|
|
300810
|
+
}) | ({
|
|
300811
|
+
operationId: "format.paragraph.setOutlineLevel";
|
|
300812
|
+
input: {
|
|
300813
|
+
outlineLevel: number | unknown;
|
|
300814
|
+
};
|
|
300815
|
+
}) | ({
|
|
300816
|
+
operationId: "format.paragraph.setBorder";
|
|
300817
|
+
input: {
|
|
300818
|
+
side: "top" | "bottom" | "left" | "right" | "between" | "bar";
|
|
300819
|
+
style: string;
|
|
300820
|
+
color?: string;
|
|
300821
|
+
size?: number;
|
|
300822
|
+
space?: number;
|
|
300823
|
+
};
|
|
300824
|
+
}) | ({
|
|
300825
|
+
operationId: "format.paragraph.clearBorder";
|
|
300826
|
+
input: {
|
|
300827
|
+
side: "top" | "bottom" | "left" | "right" | "between" | "bar" | "all";
|
|
300828
|
+
};
|
|
300829
|
+
}) | ({
|
|
300830
|
+
operationId: "format.paragraph.setShading";
|
|
300831
|
+
input: {
|
|
300832
|
+
fill?: string;
|
|
300833
|
+
color?: string;
|
|
300834
|
+
pattern?: string;
|
|
300835
|
+
};
|
|
300836
|
+
}) | ({
|
|
300837
|
+
operationId: "format.paragraph.clearShading";
|
|
300838
|
+
input: Record<string, never>;
|
|
300839
|
+
}) | ({
|
|
300840
|
+
operationId: "format.paragraph.setTabStop";
|
|
300841
|
+
input: {
|
|
300842
|
+
position: number;
|
|
300843
|
+
alignment: "left" | "center" | "right" | "decimal" | "bar" | "clear";
|
|
300844
|
+
leader?: "none" | "dot" | "hyphen" | "underscore" | "heavy" | "middleDot";
|
|
300845
|
+
};
|
|
300846
|
+
}) | ({
|
|
300847
|
+
operationId: "format.paragraph.clearAllTabStops";
|
|
300848
|
+
input: Record<string, never>;
|
|
300849
|
+
}) | ({
|
|
300850
|
+
operationId: "format.paragraph.setDirection";
|
|
300851
|
+
input: {
|
|
300852
|
+
direction: "ltr" | "rtl";
|
|
300853
|
+
alignmentPolicy?: "preserve" | "matchDirection";
|
|
300854
|
+
};
|
|
300855
|
+
}) | ({
|
|
300856
|
+
operationId: "format.paragraph.clearDirection";
|
|
300857
|
+
input: Record<string, never>;
|
|
300858
|
+
}) | ({
|
|
300859
|
+
operationId: "format.paragraph.setMarkRunProps";
|
|
300860
|
+
input: {
|
|
300861
|
+
markRunProps: {
|
|
300862
|
+
fontSizeCs?: number;
|
|
300863
|
+
specVanish?: boolean;
|
|
300864
|
+
fontSize?: number;
|
|
300865
|
+
fonts?: {
|
|
300866
|
+
ascii?: string;
|
|
300867
|
+
hAnsi?: string;
|
|
300868
|
+
eastAsia?: string;
|
|
300869
|
+
cs?: string;
|
|
300870
|
+
asciiTheme?: string;
|
|
300871
|
+
hAnsiTheme?: string;
|
|
300872
|
+
eastAsiaTheme?: string;
|
|
300873
|
+
csTheme?: string;
|
|
300874
|
+
hint?: string;
|
|
300875
|
+
};
|
|
300876
|
+
fontFamily?: string;
|
|
300877
|
+
lang?: {
|
|
300878
|
+
val?: string;
|
|
300879
|
+
eastAsia?: string;
|
|
300880
|
+
bidi?: string;
|
|
300881
|
+
};
|
|
300882
|
+
color?: ({
|
|
300883
|
+
model: "rgb";
|
|
300884
|
+
value: string;
|
|
300885
|
+
}) | ({
|
|
300886
|
+
model: "theme";
|
|
300887
|
+
theme: string;
|
|
300888
|
+
tint?: number;
|
|
300889
|
+
shade?: number;
|
|
300890
|
+
}) | ({
|
|
300891
|
+
model: "auto";
|
|
300892
|
+
});
|
|
300893
|
+
highlight?: string;
|
|
300894
|
+
shading?: {
|
|
300895
|
+
fill?: ({
|
|
300896
|
+
model: "rgb";
|
|
300897
|
+
value: string;
|
|
300898
|
+
}) | ({
|
|
300899
|
+
model: "theme";
|
|
300900
|
+
theme: string;
|
|
300901
|
+
tint?: number;
|
|
300902
|
+
shade?: number;
|
|
300903
|
+
}) | ({
|
|
300904
|
+
model: "auto";
|
|
300905
|
+
});
|
|
300906
|
+
color?: ({
|
|
300907
|
+
model: "rgb";
|
|
300908
|
+
value: string;
|
|
300909
|
+
}) | ({
|
|
300910
|
+
model: "theme";
|
|
300911
|
+
theme: string;
|
|
300912
|
+
tint?: number;
|
|
300913
|
+
shade?: number;
|
|
300914
|
+
}) | ({
|
|
300915
|
+
model: "auto";
|
|
300916
|
+
});
|
|
300917
|
+
pattern?: string;
|
|
300918
|
+
};
|
|
300919
|
+
cs?: boolean;
|
|
300920
|
+
rtl?: boolean;
|
|
300921
|
+
bold?: boolean;
|
|
300922
|
+
boldCs?: boolean;
|
|
300923
|
+
italic?: boolean;
|
|
300924
|
+
italicCs?: boolean;
|
|
300925
|
+
underline?: {
|
|
300926
|
+
style?: string;
|
|
300927
|
+
color?: ({
|
|
300928
|
+
model: "rgb";
|
|
300929
|
+
value: string;
|
|
300930
|
+
}) | ({
|
|
300931
|
+
model: "theme";
|
|
300932
|
+
theme: string;
|
|
300933
|
+
tint?: number;
|
|
300934
|
+
shade?: number;
|
|
300935
|
+
}) | ({
|
|
300936
|
+
model: "auto";
|
|
300937
|
+
});
|
|
300938
|
+
};
|
|
300939
|
+
strikethrough?: boolean;
|
|
300940
|
+
doubleStrikethrough?: boolean;
|
|
300941
|
+
caps?: boolean;
|
|
300942
|
+
smallCaps?: boolean;
|
|
300943
|
+
outline?: boolean;
|
|
300944
|
+
shadow?: boolean;
|
|
300945
|
+
emboss?: boolean;
|
|
300946
|
+
imprint?: boolean;
|
|
300947
|
+
verticalAlign?: "baseline" | "superscript" | "subscript";
|
|
300948
|
+
characterSpacing?: number;
|
|
300949
|
+
characterScale?: number;
|
|
300950
|
+
kern?: number;
|
|
300951
|
+
baselineShift?: number;
|
|
300952
|
+
fitTextWidth?: number;
|
|
300953
|
+
vanish?: boolean;
|
|
300954
|
+
webHidden?: boolean;
|
|
300955
|
+
border?: {
|
|
300956
|
+
style?: string;
|
|
300957
|
+
width?: number;
|
|
300958
|
+
space?: number;
|
|
300959
|
+
color?: ({
|
|
300960
|
+
model: "rgb";
|
|
300961
|
+
value: string;
|
|
300962
|
+
}) | ({
|
|
300963
|
+
model: "theme";
|
|
300964
|
+
theme: string;
|
|
300965
|
+
tint?: number;
|
|
300966
|
+
shade?: number;
|
|
300967
|
+
}) | ({
|
|
300968
|
+
model: "auto";
|
|
300969
|
+
});
|
|
300970
|
+
frame?: boolean;
|
|
300971
|
+
shadow?: boolean;
|
|
300972
|
+
};
|
|
300973
|
+
textEffect?: string;
|
|
300974
|
+
};
|
|
300975
|
+
};
|
|
300976
|
+
})>;
|
|
300977
|
+
blockId?: string;
|
|
300978
|
+
}
|
|
300052
300979
|
export interface DocFormatParagraphSetAlignmentBoundParams {
|
|
300053
300980
|
out?: string;
|
|
300054
300981
|
force?: boolean;
|
|
@@ -300861,9 +301788,9 @@ export interface DocFormatParagraphSetKeepOptionsBoundParams {
|
|
|
300861
301788
|
textboxId: string;
|
|
300862
301789
|
});
|
|
300863
301790
|
});
|
|
300864
|
-
keepNext?: boolean;
|
|
300865
|
-
keepLines?: boolean;
|
|
300866
|
-
widowControl?: boolean;
|
|
301791
|
+
keepNext?: boolean | unknown;
|
|
301792
|
+
keepLines?: boolean | unknown;
|
|
301793
|
+
widowControl?: boolean | unknown;
|
|
300867
301794
|
blockId?: string;
|
|
300868
301795
|
}
|
|
300869
301796
|
export interface DocFormatParagraphSetOutlineLevelBoundParams {
|
|
@@ -301095,8 +302022,8 @@ export interface DocFormatParagraphSetFlowOptionsBoundParams {
|
|
|
301095
302022
|
textboxId: string;
|
|
301096
302023
|
});
|
|
301097
302024
|
});
|
|
301098
|
-
contextualSpacing?: boolean;
|
|
301099
|
-
pageBreakBefore?: boolean;
|
|
302025
|
+
contextualSpacing?: boolean | unknown;
|
|
302026
|
+
pageBreakBefore?: boolean | unknown;
|
|
301100
302027
|
suppressAutoHyphens?: boolean;
|
|
301101
302028
|
autoSpaceDE?: boolean;
|
|
301102
302029
|
autoSpaceDN?: boolean;
|
|
@@ -304850,6 +305777,7 @@ export interface DocCommentsCreateBoundParams {
|
|
|
304850
305777
|
authorId?: string;
|
|
304851
305778
|
authorEmail?: string;
|
|
304852
305779
|
authorImage?: string;
|
|
305780
|
+
authorIdentity?: unknown;
|
|
304853
305781
|
metadata?: Record<string, unknown>;
|
|
304854
305782
|
expectedText?: string;
|
|
304855
305783
|
blockId?: string;
|
|
@@ -310927,7 +311855,7 @@ export interface DocCapabilitiesCheckBoundParams {
|
|
|
310927
311855
|
});
|
|
310928
311856
|
}
|
|
310929
311857
|
export interface DocCapabilitiesResolveBoundParams {
|
|
310930
|
-
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
311858
|
+
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.applyBatch" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.listPresets" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
310931
311859
|
input?: unknown;
|
|
310932
311860
|
options?: unknown;
|
|
310933
311861
|
}
|
|
@@ -312100,8 +313028,24 @@ export interface DocTablesApplyPresetBoundParams {
|
|
|
312100
313028
|
nodeId: string;
|
|
312101
313029
|
};
|
|
312102
313030
|
nodeId?: string;
|
|
312103
|
-
preset: "grid" | "minimal" | "striped" | "accent";
|
|
313031
|
+
preset: "word.table-grid" | "word.grid-table-light" | "word.plain-table-1" | "word.plain-table-2" | "word.plain-table-3" | "word.plain-table-4" | "word.plain-table-5" | "word.grid-table-1-light" | "word.grid-table-1-light-accent-1" | "word.grid-table-1-light-accent-2" | "word.grid-table-1-light-accent-3" | "word.grid-table-1-light-accent-4" | "word.grid-table-1-light-accent-5" | "word.grid-table-1-light-accent-6" | "word.grid-table-2" | "word.grid-table-2-accent-1" | "word.grid-table-2-accent-2" | "word.grid-table-2-accent-3" | "word.grid-table-2-accent-4" | "word.grid-table-2-accent-5" | "word.grid-table-2-accent-6" | "word.grid-table-3" | "word.grid-table-3-accent-1" | "word.grid-table-3-accent-2" | "word.grid-table-3-accent-3" | "word.grid-table-3-accent-4" | "word.grid-table-3-accent-5" | "word.grid-table-3-accent-6" | "word.grid-table-4" | "word.grid-table-4-accent-1" | "word.grid-table-4-accent-2" | "word.grid-table-4-accent-3" | "word.grid-table-4-accent-4" | "word.grid-table-4-accent-5" | "word.grid-table-4-accent-6" | "word.grid-table-5-dark" | "word.grid-table-5-dark-accent-1" | "word.grid-table-5-dark-accent-2" | "word.grid-table-5-dark-accent-3" | "word.grid-table-5-dark-accent-4" | "word.grid-table-5-dark-accent-5" | "word.grid-table-5-dark-accent-6" | "word.grid-table-6-colorful" | "word.grid-table-6-colorful-accent-1" | "word.grid-table-6-colorful-accent-2" | "word.grid-table-6-colorful-accent-3" | "word.grid-table-6-colorful-accent-4" | "word.grid-table-6-colorful-accent-5" | "word.grid-table-6-colorful-accent-6" | "word.grid-table-7-colorful" | "word.grid-table-7-colorful-accent-1" | "word.grid-table-7-colorful-accent-2" | "word.grid-table-7-colorful-accent-3" | "word.grid-table-7-colorful-accent-4" | "word.grid-table-7-colorful-accent-5" | "word.grid-table-7-colorful-accent-6" | "word.list-table-1-light" | "word.list-table-1-light-accent-1" | "word.list-table-1-light-accent-2" | "word.list-table-1-light-accent-3" | "word.list-table-1-light-accent-4" | "word.list-table-1-light-accent-5" | "word.list-table-1-light-accent-6" | "word.list-table-2" | "word.list-table-2-accent-1" | "word.list-table-2-accent-2" | "word.list-table-2-accent-3" | "word.list-table-2-accent-4" | "word.list-table-2-accent-5" | "word.list-table-2-accent-6" | "word.list-table-3" | "word.list-table-3-accent-1" | "word.list-table-3-accent-2" | "word.list-table-3-accent-3" | "word.list-table-3-accent-4" | "word.list-table-3-accent-5" | "word.list-table-3-accent-6" | "word.list-table-4" | "word.list-table-4-accent-1" | "word.list-table-4-accent-2" | "word.list-table-4-accent-3" | "word.list-table-4-accent-4" | "word.list-table-4-accent-5" | "word.list-table-4-accent-6" | "word.list-table-5-dark" | "word.list-table-5-dark-accent-1" | "word.list-table-5-dark-accent-2" | "word.list-table-5-dark-accent-3" | "word.list-table-5-dark-accent-4" | "word.list-table-5-dark-accent-5" | "word.list-table-5-dark-accent-6" | "word.list-table-6-colorful" | "word.list-table-6-colorful-accent-1" | "word.list-table-6-colorful-accent-2" | "word.list-table-6-colorful-accent-3" | "word.list-table-6-colorful-accent-4" | "word.list-table-6-colorful-accent-5" | "word.list-table-6-colorful-accent-6" | "word.list-table-7-colorful" | "word.list-table-7-colorful-accent-1" | "word.list-table-7-colorful-accent-2" | "word.list-table-7-colorful-accent-3" | "word.list-table-7-colorful-accent-4" | "word.list-table-7-colorful-accent-5" | "word.list-table-7-colorful-accent-6" | "grid" | "minimal" | "striped" | "accent";
|
|
312104
313032
|
accentColor?: string;
|
|
313033
|
+
styleOptions?: {
|
|
313034
|
+
headerRow?: boolean;
|
|
313035
|
+
lastRow?: boolean;
|
|
313036
|
+
totalRow?: boolean;
|
|
313037
|
+
firstColumn?: boolean;
|
|
313038
|
+
lastColumn?: boolean;
|
|
313039
|
+
bandedRows?: boolean;
|
|
313040
|
+
bandedColumns?: boolean;
|
|
313041
|
+
};
|
|
313042
|
+
}
|
|
313043
|
+
export interface DocTablesListPresetsBoundParams {
|
|
313044
|
+
source?: "word" | "superdoc";
|
|
313045
|
+
group?: "plain" | "grid" | "list" | "convenience";
|
|
313046
|
+
query?: string;
|
|
313047
|
+
limit?: number;
|
|
313048
|
+
offset?: number;
|
|
312105
313049
|
}
|
|
312106
313050
|
export interface DocTablesGetBoundParams {
|
|
312107
313051
|
target?: {
|
|
@@ -319222,6 +320166,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
319222
320166
|
readSelection: (params?: DocFormatReadSelectionParams, options?: InvokeOptions) => Promise<DocFormatReadSelectionResult>;
|
|
319223
320167
|
paragraph: {
|
|
319224
320168
|
resetDirectFormatting: (params?: DocFormatParagraphResetDirectFormattingParams, options?: InvokeOptions) => Promise<DocFormatParagraphResetDirectFormattingResult>;
|
|
320169
|
+
applyBatch: (params?: DocFormatParagraphApplyBatchParams, options?: InvokeOptions) => Promise<DocFormatParagraphApplyBatchResult>;
|
|
319225
320170
|
setAlignment: (params?: DocFormatParagraphSetAlignmentParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetAlignmentResult>;
|
|
319226
320171
|
clearAlignment: (params?: DocFormatParagraphClearAlignmentParams, options?: InvokeOptions) => Promise<DocFormatParagraphClearAlignmentResult>;
|
|
319227
320172
|
setIndentation: (params?: DocFormatParagraphSetIndentationParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetIndentationResult>;
|
|
@@ -319416,6 +320361,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
319416
320361
|
setBorders: (params: DocTablesSetBordersParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
|
|
319417
320362
|
setTableOptions: (params?: DocTablesSetTableOptionsParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
|
|
319418
320363
|
applyPreset: (params: DocTablesApplyPresetParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
|
|
320364
|
+
listPresets: (params?: DocTablesListPresetsParams, options?: InvokeOptions) => Promise<DocTablesListPresetsResult>;
|
|
319419
320365
|
get: (params?: DocTablesGetParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
|
|
319420
320366
|
getCells: (params?: DocTablesGetCellsParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
|
|
319421
320367
|
getProperties: (params?: DocTablesGetPropertiesParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
|
|
@@ -319813,6 +320759,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
319813
320759
|
readSelection: (params?: DocFormatReadSelectionBoundParams, options?: InvokeOptions) => Promise<DocFormatReadSelectionResult>;
|
|
319814
320760
|
paragraph: {
|
|
319815
320761
|
resetDirectFormatting: (params?: DocFormatParagraphResetDirectFormattingBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphResetDirectFormattingResult>;
|
|
320762
|
+
applyBatch: (params?: DocFormatParagraphApplyBatchBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphApplyBatchResult>;
|
|
319816
320763
|
setAlignment: (params?: DocFormatParagraphSetAlignmentBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetAlignmentResult>;
|
|
319817
320764
|
clearAlignment: (params?: DocFormatParagraphClearAlignmentBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphClearAlignmentResult>;
|
|
319818
320765
|
setIndentation: (params?: DocFormatParagraphSetIndentationBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetIndentationResult>;
|
|
@@ -320007,6 +320954,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
320007
320954
|
setBorders: (params: DocTablesSetBordersBoundParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
|
|
320008
320955
|
setTableOptions: (params?: DocTablesSetTableOptionsBoundParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
|
|
320009
320956
|
applyPreset: (params: DocTablesApplyPresetBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
|
|
320957
|
+
listPresets: (params?: DocTablesListPresetsBoundParams, options?: InvokeOptions) => Promise<DocTablesListPresetsResult>;
|
|
320010
320958
|
get: (params?: DocTablesGetBoundParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
|
|
320011
320959
|
getCells: (params?: DocTablesGetCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
|
|
320012
320960
|
getProperties: (params?: DocTablesGetPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
|