@superdoc/sdk 2.21.0-next.9 → 2.22.0-next.1

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.
@@ -12829,6 +12829,280 @@ export interface DocStylesApplyParams {
12829
12829
  }>;
12830
12830
  });
12831
12831
  }
12832
+ export interface DocStylesCreateParams {
12833
+ doc?: string;
12834
+ sessionId?: string;
12835
+ out?: string;
12836
+ force?: boolean;
12837
+ expectedRevision?: string;
12838
+ changeMode?: string;
12839
+ dryRun?: boolean;
12840
+ id: string;
12841
+ name: string;
12842
+ basedOn?: unknown;
12843
+ aliases?: Array<string>;
12844
+ priority?: unknown;
12845
+ qFormat?: boolean;
12846
+ hidden?: boolean;
12847
+ semiHidden?: boolean;
12848
+ unhideWhenUsed?: boolean;
12849
+ locked?: boolean;
12850
+ custom?: boolean;
12851
+ conflictPolicy?: "fail" | "replace";
12852
+ type: "paragraph" | "character";
12853
+ next?: unknown;
12854
+ paragraph?: {
12855
+ keepLines?: boolean;
12856
+ keepNext?: boolean;
12857
+ widowControl?: boolean;
12858
+ contextualSpacing?: boolean;
12859
+ pageBreakBefore?: boolean;
12860
+ suppressAutoHyphens?: boolean;
12861
+ suppressLineNumbers?: boolean;
12862
+ suppressOverlap?: boolean;
12863
+ mirrorIndents?: boolean;
12864
+ wordWrap?: boolean;
12865
+ kinsoku?: boolean;
12866
+ overflowPunct?: boolean;
12867
+ topLinePunct?: boolean;
12868
+ autoSpaceDE?: boolean;
12869
+ autoSpaceDN?: boolean;
12870
+ adjustRightInd?: boolean;
12871
+ rightToLeft?: boolean;
12872
+ snapToGrid?: boolean;
12873
+ outlineLvl?: number;
12874
+ justification?: "left" | "center" | "right" | "justify" | "distribute";
12875
+ textAlignment?: "top" | "center" | "baseline" | "bottom" | "auto";
12876
+ textDirection?: "lrTb" | "tbRl" | "btLr" | "lrTbV" | "tbRlV" | "tbLrV";
12877
+ textboxTightWrap?: "none" | "allLines" | "firstAndLastLine" | "firstLineOnly" | "lastLineOnly";
12878
+ spacing?: {
12879
+ after?: number;
12880
+ afterAutospacing?: boolean;
12881
+ afterLines?: number;
12882
+ before?: number;
12883
+ beforeAutospacing?: boolean;
12884
+ beforeLines?: number;
12885
+ line?: number;
12886
+ lineRule?: "auto" | "exact" | "atLeast";
12887
+ };
12888
+ indent?: {
12889
+ end?: number;
12890
+ endChars?: number;
12891
+ firstLine?: number;
12892
+ firstLineChars?: number;
12893
+ hanging?: number;
12894
+ hangingChars?: number;
12895
+ left?: number;
12896
+ leftChars?: number;
12897
+ right?: number;
12898
+ rightChars?: number;
12899
+ start?: number;
12900
+ startChars?: number;
12901
+ };
12902
+ shading?: {
12903
+ color?: string;
12904
+ fill?: string;
12905
+ themeColor?: string;
12906
+ themeFill?: string;
12907
+ themeFillShade?: string;
12908
+ themeFillTint?: string;
12909
+ themeShade?: string;
12910
+ themeTint?: string;
12911
+ val?: string;
12912
+ };
12913
+ numberingProperties?: {
12914
+ ilvl?: number;
12915
+ numId?: number;
12916
+ };
12917
+ framePr?: {
12918
+ anchorLock?: boolean;
12919
+ dropCap?: string;
12920
+ h?: number;
12921
+ hAnchor?: string;
12922
+ hRule?: string;
12923
+ hSpace?: number;
12924
+ lines?: number;
12925
+ vAnchor?: string;
12926
+ vSpace?: number;
12927
+ w?: number;
12928
+ wrap?: string;
12929
+ x?: number;
12930
+ xAlign?: string;
12931
+ y?: number;
12932
+ yAlign?: string;
12933
+ };
12934
+ borders?: {
12935
+ top?: {
12936
+ val?: string;
12937
+ color?: string;
12938
+ themeColor?: string;
12939
+ themeTint?: string;
12940
+ themeShade?: string;
12941
+ size?: number;
12942
+ space?: number;
12943
+ shadow?: boolean;
12944
+ frame?: boolean;
12945
+ };
12946
+ bottom?: {
12947
+ val?: string;
12948
+ color?: string;
12949
+ themeColor?: string;
12950
+ themeTint?: string;
12951
+ themeShade?: string;
12952
+ size?: number;
12953
+ space?: number;
12954
+ shadow?: boolean;
12955
+ frame?: boolean;
12956
+ };
12957
+ left?: {
12958
+ val?: string;
12959
+ color?: string;
12960
+ themeColor?: string;
12961
+ themeTint?: string;
12962
+ themeShade?: string;
12963
+ size?: number;
12964
+ space?: number;
12965
+ shadow?: boolean;
12966
+ frame?: boolean;
12967
+ };
12968
+ right?: {
12969
+ val?: string;
12970
+ color?: string;
12971
+ themeColor?: string;
12972
+ themeTint?: string;
12973
+ themeShade?: string;
12974
+ size?: number;
12975
+ space?: number;
12976
+ shadow?: boolean;
12977
+ frame?: boolean;
12978
+ };
12979
+ between?: {
12980
+ val?: string;
12981
+ color?: string;
12982
+ themeColor?: string;
12983
+ themeTint?: string;
12984
+ themeShade?: string;
12985
+ size?: number;
12986
+ space?: number;
12987
+ shadow?: boolean;
12988
+ frame?: boolean;
12989
+ };
12990
+ bar?: {
12991
+ val?: string;
12992
+ color?: string;
12993
+ themeColor?: string;
12994
+ themeTint?: string;
12995
+ themeShade?: string;
12996
+ size?: number;
12997
+ space?: number;
12998
+ shadow?: boolean;
12999
+ frame?: boolean;
13000
+ };
13001
+ };
13002
+ tabStops?: Array<{
13003
+ tab?: {
13004
+ tabType?: string;
13005
+ pos?: number;
13006
+ leader?: string;
13007
+ };
13008
+ }>;
13009
+ };
13010
+ run?: {
13011
+ bold?: boolean;
13012
+ boldCs?: boolean;
13013
+ italic?: boolean;
13014
+ iCs?: boolean;
13015
+ smallCaps?: boolean;
13016
+ strike?: boolean;
13017
+ dstrike?: boolean;
13018
+ emboss?: boolean;
13019
+ imprint?: boolean;
13020
+ outline?: boolean;
13021
+ shadow?: boolean;
13022
+ vanish?: boolean;
13023
+ webHidden?: boolean;
13024
+ specVanish?: boolean;
13025
+ snapToGrid?: boolean;
13026
+ noProof?: boolean;
13027
+ fontSize?: number;
13028
+ fontSizeCs?: number;
13029
+ letterSpacing?: number;
13030
+ kern?: number;
13031
+ position?: number;
13032
+ w?: number;
13033
+ textTransform?: "uppercase" | "none";
13034
+ vertAlign?: "superscript" | "subscript" | "baseline";
13035
+ em?: "none" | "dot" | "comma" | "circle" | "sesame";
13036
+ effect?: string;
13037
+ fontFamily?: {
13038
+ hint?: string;
13039
+ ascii?: string;
13040
+ hAnsi?: string;
13041
+ eastAsia?: string;
13042
+ cs?: string;
13043
+ val?: string;
13044
+ asciiTheme?: string;
13045
+ hAnsiTheme?: string;
13046
+ eastAsiaTheme?: string;
13047
+ cstheme?: string;
13048
+ };
13049
+ color?: {
13050
+ val?: string;
13051
+ themeColor?: string;
13052
+ themeTint?: string;
13053
+ themeShade?: string;
13054
+ };
13055
+ underline?: {
13056
+ val?: "single" | "double" | "thick" | "dotted" | "dottedHeavy" | "dash" | "dashedHeavy" | "dashLong" | "dashLongHeavy" | "dotDash" | "dashDotHeavy" | "dotDotDash" | "dashDotDotHeavy" | "wave" | "wavyHeavy" | "wavyDouble" | "words" | "none";
13057
+ color?: string;
13058
+ themeColor?: string;
13059
+ themeTint?: string;
13060
+ themeShade?: string;
13061
+ };
13062
+ borders?: {
13063
+ val?: string;
13064
+ color?: string;
13065
+ themeColor?: string;
13066
+ themeTint?: string;
13067
+ themeShade?: string;
13068
+ size?: number;
13069
+ space?: number;
13070
+ shadow?: boolean;
13071
+ frame?: boolean;
13072
+ };
13073
+ shading?: {
13074
+ color?: string;
13075
+ fill?: string;
13076
+ themeColor?: string;
13077
+ themeFill?: string;
13078
+ themeFillShade?: string;
13079
+ themeFillTint?: string;
13080
+ themeShade?: string;
13081
+ themeTint?: string;
13082
+ val?: string;
13083
+ };
13084
+ lang?: {
13085
+ val?: string;
13086
+ eastAsia?: string;
13087
+ bidi?: string;
13088
+ };
13089
+ eastAsianLayout?: {
13090
+ id?: number;
13091
+ combine?: boolean;
13092
+ combineBrackets?: string;
13093
+ vert?: boolean;
13094
+ vertCompress?: boolean;
13095
+ };
13096
+ fitText?: {
13097
+ val?: number;
13098
+ id?: number;
13099
+ };
13100
+ cs?: boolean;
13101
+ oMath?: boolean;
13102
+ rtl?: boolean;
13103
+ highlight?: "black" | "blue" | "cyan" | "green" | "magenta" | "red" | "yellow" | "white" | "darkBlue" | "darkCyan" | "darkGreen" | "darkMagenta" | "darkRed" | "darkYellow" | "darkGray" | "lightGray" | "none";
13104
+ };
13105
+ }
12832
13106
  export interface DocStylesGetCatalogParams {
12833
13107
  doc?: string;
12834
13108
  sessionId?: string;
@@ -12840,6 +13114,10 @@ export interface DocStylesGetCatalogParams {
12840
13114
  includePreview?: boolean;
12841
13115
  includeDiagnostics?: boolean;
12842
13116
  }
13117
+ export interface DocStylesGetThemeParams {
13118
+ doc?: string;
13119
+ sessionId?: string;
13120
+ }
12843
13121
  export interface DocTemplatesApplyParams {
12844
13122
  doc?: string;
12845
13123
  sessionId?: string;
@@ -24292,7 +24570,7 @@ export interface DocCapabilitiesCheckParams {
24292
24570
  export interface DocCapabilitiesResolveParams {
24293
24571
  doc?: string;
24294
24572
  sessionId?: string;
24295
- 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" | "styles.apply" | "styles.getCatalog" | "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.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" | "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";
24573
+ 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" | "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.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" | "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";
24296
24574
  input?: unknown;
24297
24575
  options?: unknown;
24298
24576
  }
@@ -32715,6 +32993,34 @@ export interface DocPresetDispatchParams {
32715
32993
  export type DocGetResult = {
32716
32994
  modelVersion: "sdm/1";
32717
32995
  body: Array<unknown>;
32996
+ styles?: Record<string, unknown>;
32997
+ theme?: {
32998
+ source?: "document" | "fallback";
32999
+ colorScheme: Record<string, unknown>;
33000
+ fontScheme?: Record<string, unknown>;
33001
+ colorSchemeMapping?: Record<string, unknown>;
33002
+ };
33003
+ docDefaults?: Record<string, unknown>;
33004
+ diagnostics?: Array<{
33005
+ code: string;
33006
+ severity: "error" | "warning" | "info";
33007
+ message: string;
33008
+ path?: Array<string | number>;
33009
+ construct?: "document" | "source" | "text" | "paragraph" | "emptyParagraph" | "softBreak" | "lineBreak" | "heading" | "bold" | "italic" | "underline" | "strike" | "hyperlink" | "list" | "table" | "tableHeader" | "colSpan" | "rowSpan" | "horizontalRule" | "inlineCode" | "codeBlock" | "blockquote" | "taskList" | "image" | "footnote" | "rawHtml" | "unknownWrapper" | "script" | "style" | "eventHandler";
33010
+ disposition?: "preserved" | "normalized" | "downgraded" | "dropped" | "rejected";
33011
+ lossy?: boolean;
33012
+ source?: {
33013
+ format: "html" | "markdown";
33014
+ range?: {
33015
+ startOffset: number;
33016
+ endOffset: number;
33017
+ startLine?: number;
33018
+ startColumn?: number;
33019
+ endLine?: number;
33020
+ endColumn?: number;
33021
+ };
33022
+ };
33023
+ }>;
32718
33024
  };
32719
33025
  export type DocFindResult = {
32720
33026
  total: number;
@@ -81695,6 +82001,167 @@ export type DocStylesApplyResult = {
81695
82001
  tabStops?: Array<unknown> | "inherit";
81696
82002
  };
81697
82003
  };
82004
+ export type DocStylesCreateResult = {
82005
+ success: true;
82006
+ changed: boolean;
82007
+ created: boolean;
82008
+ resolution: {
82009
+ scope: "style";
82010
+ id: string;
82011
+ type: "paragraph" | "character";
82012
+ xmlPart: string;
82013
+ xmlPath: "w:styles/w:style";
82014
+ };
82015
+ dryRun: boolean;
82016
+ before: ({
82017
+ paragraph: ({
82018
+ keepLines?: "on" | "off" | "inherit";
82019
+ keepNext?: "on" | "off" | "inherit";
82020
+ widowControl?: "on" | "off" | "inherit";
82021
+ contextualSpacing?: "on" | "off" | "inherit";
82022
+ pageBreakBefore?: "on" | "off" | "inherit";
82023
+ suppressAutoHyphens?: "on" | "off" | "inherit";
82024
+ suppressLineNumbers?: "on" | "off" | "inherit";
82025
+ suppressOverlap?: "on" | "off" | "inherit";
82026
+ mirrorIndents?: "on" | "off" | "inherit";
82027
+ wordWrap?: "on" | "off" | "inherit";
82028
+ kinsoku?: "on" | "off" | "inherit";
82029
+ overflowPunct?: "on" | "off" | "inherit";
82030
+ topLinePunct?: "on" | "off" | "inherit";
82031
+ autoSpaceDE?: "on" | "off" | "inherit";
82032
+ autoSpaceDN?: "on" | "off" | "inherit";
82033
+ adjustRightInd?: "on" | "off" | "inherit";
82034
+ rightToLeft?: "on" | "off" | "inherit";
82035
+ snapToGrid?: "on" | "off" | "inherit";
82036
+ outlineLvl?: number | "inherit";
82037
+ justification?: string | "inherit";
82038
+ textAlignment?: string | "inherit";
82039
+ textDirection?: string | "inherit";
82040
+ textboxTightWrap?: string | "inherit";
82041
+ spacing?: Record<string, unknown> | "inherit";
82042
+ indent?: Record<string, unknown> | "inherit";
82043
+ shading?: Record<string, unknown> | "inherit";
82044
+ numberingProperties?: Record<string, unknown> | "inherit";
82045
+ framePr?: Record<string, unknown> | "inherit";
82046
+ borders?: Record<string, unknown> | "inherit";
82047
+ tabStops?: Array<unknown> | "inherit";
82048
+ }) | null;
82049
+ run: ({
82050
+ bold?: "on" | "off" | "inherit";
82051
+ boldCs?: "on" | "off" | "inherit";
82052
+ italic?: "on" | "off" | "inherit";
82053
+ iCs?: "on" | "off" | "inherit";
82054
+ smallCaps?: "on" | "off" | "inherit";
82055
+ strike?: "on" | "off" | "inherit";
82056
+ dstrike?: "on" | "off" | "inherit";
82057
+ emboss?: "on" | "off" | "inherit";
82058
+ imprint?: "on" | "off" | "inherit";
82059
+ outline?: "on" | "off" | "inherit";
82060
+ shadow?: "on" | "off" | "inherit";
82061
+ vanish?: "on" | "off" | "inherit";
82062
+ webHidden?: "on" | "off" | "inherit";
82063
+ specVanish?: "on" | "off" | "inherit";
82064
+ snapToGrid?: "on" | "off" | "inherit";
82065
+ noProof?: "on" | "off" | "inherit";
82066
+ fontSize?: number | "inherit";
82067
+ fontSizeCs?: number | "inherit";
82068
+ letterSpacing?: number | "inherit";
82069
+ kern?: number | "inherit";
82070
+ position?: number | "inherit";
82071
+ w?: number | "inherit";
82072
+ textTransform?: string | "inherit";
82073
+ vertAlign?: string | "inherit";
82074
+ em?: string | "inherit";
82075
+ effect?: string | "inherit";
82076
+ fontFamily?: Record<string, unknown> | "inherit";
82077
+ color?: Record<string, unknown> | "inherit";
82078
+ underline?: Record<string, unknown> | "inherit";
82079
+ borders?: Record<string, unknown> | "inherit";
82080
+ shading?: Record<string, unknown> | "inherit";
82081
+ lang?: Record<string, unknown> | "inherit";
82082
+ eastAsianLayout?: Record<string, unknown> | "inherit";
82083
+ fitText?: Record<string, unknown> | "inherit";
82084
+ cs?: "on" | "off" | "inherit";
82085
+ oMath?: "on" | "off" | "inherit";
82086
+ rtl?: "on" | "off" | "inherit";
82087
+ highlight?: string | "inherit";
82088
+ }) | null;
82089
+ }) | null;
82090
+ after: {
82091
+ paragraph: ({
82092
+ keepLines?: "on" | "off" | "inherit";
82093
+ keepNext?: "on" | "off" | "inherit";
82094
+ widowControl?: "on" | "off" | "inherit";
82095
+ contextualSpacing?: "on" | "off" | "inherit";
82096
+ pageBreakBefore?: "on" | "off" | "inherit";
82097
+ suppressAutoHyphens?: "on" | "off" | "inherit";
82098
+ suppressLineNumbers?: "on" | "off" | "inherit";
82099
+ suppressOverlap?: "on" | "off" | "inherit";
82100
+ mirrorIndents?: "on" | "off" | "inherit";
82101
+ wordWrap?: "on" | "off" | "inherit";
82102
+ kinsoku?: "on" | "off" | "inherit";
82103
+ overflowPunct?: "on" | "off" | "inherit";
82104
+ topLinePunct?: "on" | "off" | "inherit";
82105
+ autoSpaceDE?: "on" | "off" | "inherit";
82106
+ autoSpaceDN?: "on" | "off" | "inherit";
82107
+ adjustRightInd?: "on" | "off" | "inherit";
82108
+ rightToLeft?: "on" | "off" | "inherit";
82109
+ snapToGrid?: "on" | "off" | "inherit";
82110
+ outlineLvl?: number | "inherit";
82111
+ justification?: string | "inherit";
82112
+ textAlignment?: string | "inherit";
82113
+ textDirection?: string | "inherit";
82114
+ textboxTightWrap?: string | "inherit";
82115
+ spacing?: Record<string, unknown> | "inherit";
82116
+ indent?: Record<string, unknown> | "inherit";
82117
+ shading?: Record<string, unknown> | "inherit";
82118
+ numberingProperties?: Record<string, unknown> | "inherit";
82119
+ framePr?: Record<string, unknown> | "inherit";
82120
+ borders?: Record<string, unknown> | "inherit";
82121
+ tabStops?: Array<unknown> | "inherit";
82122
+ }) | null;
82123
+ run: ({
82124
+ bold?: "on" | "off" | "inherit";
82125
+ boldCs?: "on" | "off" | "inherit";
82126
+ italic?: "on" | "off" | "inherit";
82127
+ iCs?: "on" | "off" | "inherit";
82128
+ smallCaps?: "on" | "off" | "inherit";
82129
+ strike?: "on" | "off" | "inherit";
82130
+ dstrike?: "on" | "off" | "inherit";
82131
+ emboss?: "on" | "off" | "inherit";
82132
+ imprint?: "on" | "off" | "inherit";
82133
+ outline?: "on" | "off" | "inherit";
82134
+ shadow?: "on" | "off" | "inherit";
82135
+ vanish?: "on" | "off" | "inherit";
82136
+ webHidden?: "on" | "off" | "inherit";
82137
+ specVanish?: "on" | "off" | "inherit";
82138
+ snapToGrid?: "on" | "off" | "inherit";
82139
+ noProof?: "on" | "off" | "inherit";
82140
+ fontSize?: number | "inherit";
82141
+ fontSizeCs?: number | "inherit";
82142
+ letterSpacing?: number | "inherit";
82143
+ kern?: number | "inherit";
82144
+ position?: number | "inherit";
82145
+ w?: number | "inherit";
82146
+ textTransform?: string | "inherit";
82147
+ vertAlign?: string | "inherit";
82148
+ em?: string | "inherit";
82149
+ effect?: string | "inherit";
82150
+ fontFamily?: Record<string, unknown> | "inherit";
82151
+ color?: Record<string, unknown> | "inherit";
82152
+ underline?: Record<string, unknown> | "inherit";
82153
+ borders?: Record<string, unknown> | "inherit";
82154
+ shading?: Record<string, unknown> | "inherit";
82155
+ lang?: Record<string, unknown> | "inherit";
82156
+ eastAsianLayout?: Record<string, unknown> | "inherit";
82157
+ fitText?: Record<string, unknown> | "inherit";
82158
+ cs?: "on" | "off" | "inherit";
82159
+ oMath?: "on" | "off" | "inherit";
82160
+ rtl?: "on" | "off" | "inherit";
82161
+ highlight?: string | "inherit";
82162
+ }) | null;
82163
+ };
82164
+ };
81698
82165
  export type DocStylesGetCatalogResult = {
81699
82166
  version: "style-catalog/v1";
81700
82167
  revision: string | null;
@@ -81738,6 +82205,20 @@ export type DocStylesGetCatalogResult = {
81738
82205
  preview?: {
81739
82206
  available: boolean;
81740
82207
  css?: Record<string, unknown>;
82208
+ sources?: {
82209
+ fontFamily?: {
82210
+ origin: "literal" | "theme";
82211
+ themeFont?: "majorAscii" | "majorHAnsi" | "majorEastAsia" | "majorBidi" | "minorAscii" | "minorHAnsi" | "minorEastAsia" | "minorBidi";
82212
+ fallback?: true;
82213
+ };
82214
+ color?: {
82215
+ origin: "literal" | "theme" | "default";
82216
+ themeColor?: "dk1" | "dk2" | "lt1" | "lt2" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "hyperlink" | "followedHyperlink";
82217
+ tint?: number;
82218
+ shade?: number;
82219
+ fallback?: true;
82220
+ };
82221
+ };
81741
82222
  unsupportedReason?: string;
81742
82223
  };
81743
82224
  }>;
@@ -81775,12 +82256,27 @@ export type DocStylesGetCatalogResult = {
81775
82256
  preview?: {
81776
82257
  available: boolean;
81777
82258
  css?: Record<string, unknown>;
82259
+ sources?: {
82260
+ fontFamily?: {
82261
+ origin: "literal" | "theme";
82262
+ themeFont?: "majorAscii" | "majorHAnsi" | "majorEastAsia" | "majorBidi" | "minorAscii" | "minorHAnsi" | "minorEastAsia" | "minorBidi";
82263
+ fallback?: true;
82264
+ };
82265
+ color?: {
82266
+ origin: "literal" | "theme" | "default";
82267
+ themeColor?: "dk1" | "dk2" | "lt1" | "lt2" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "hyperlink" | "followedHyperlink";
82268
+ tint?: number;
82269
+ shade?: number;
82270
+ fallback?: true;
82271
+ };
82272
+ };
81778
82273
  unsupportedReason?: string;
81779
82274
  };
81780
82275
  }>;
81781
82276
  sourceStatus: {
81782
82277
  styles: "present" | "missing" | "malformed";
81783
82278
  settings: "present" | "missing" | "malformed";
82279
+ theme?: "present" | "missing" | "malformed";
81784
82280
  usage: "unsupported" | "complete" | "partial" | "failed";
81785
82281
  preview: "unsupported" | "available";
81786
82282
  view: "supported" | "unsupported";
@@ -81792,6 +82288,24 @@ export type DocStylesGetCatalogResult = {
81792
82288
  message: string;
81793
82289
  }>;
81794
82290
  };
82291
+ export type DocStylesGetThemeResult = {
82292
+ theme: {
82293
+ source: "document" | "fallback";
82294
+ colorScheme: Record<string, unknown>;
82295
+ fontScheme?: Record<string, unknown>;
82296
+ colorSchemeMapping?: Record<string, unknown>;
82297
+ };
82298
+ sourceStatus: {
82299
+ theme: "present" | "missing" | "malformed";
82300
+ settings: "present" | "missing" | "malformed";
82301
+ };
82302
+ diagnostics: Array<{
82303
+ severity: "info" | "warning" | "error";
82304
+ code: string;
82305
+ part?: string;
82306
+ message: string;
82307
+ }>;
82308
+ };
81795
82309
  export type DocTemplatesApplyResult = {
81796
82310
  success: true;
81797
82311
  appliedChangeMode?: "direct" | "tracked";
@@ -104051,6 +104565,24 @@ export type DocQueryMatchResult = {
104051
104565
  italic: boolean;
104052
104566
  underline: boolean;
104053
104567
  strike: boolean;
104568
+ color?: string;
104569
+ highlight?: string;
104570
+ fontFamily?: string;
104571
+ fontSizePt?: number;
104572
+ sources?: {
104573
+ fontFamily?: {
104574
+ origin: "literal" | "theme";
104575
+ themeFont?: "majorAscii" | "majorHAnsi" | "majorEastAsia" | "majorBidi" | "minorAscii" | "minorHAnsi" | "minorEastAsia" | "minorBidi";
104576
+ fallback?: true;
104577
+ };
104578
+ color?: {
104579
+ origin: "literal" | "theme" | "default";
104580
+ themeColor?: "dk1" | "dk2" | "lt1" | "lt2" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "hyperlink" | "followedHyperlink";
104581
+ tint?: number;
104582
+ shade?: number;
104583
+ fallback?: true;
104584
+ };
104585
+ };
104054
104586
  };
104055
104587
  color?: string;
104056
104588
  highlight?: string;
@@ -104184,6 +104716,24 @@ export type DocQueryMatchResult = {
104184
104716
  italic: boolean;
104185
104717
  underline: boolean;
104186
104718
  strike: boolean;
104719
+ color?: string;
104720
+ highlight?: string;
104721
+ fontFamily?: string;
104722
+ fontSizePt?: number;
104723
+ sources?: {
104724
+ fontFamily?: {
104725
+ origin: "literal" | "theme";
104726
+ themeFont?: "majorAscii" | "majorHAnsi" | "majorEastAsia" | "majorBidi" | "minorAscii" | "minorHAnsi" | "minorEastAsia" | "minorBidi";
104727
+ fallback?: true;
104728
+ };
104729
+ color?: {
104730
+ origin: "literal" | "theme" | "default";
104731
+ themeColor?: "dk1" | "dk2" | "lt1" | "lt2" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "hyperlink" | "followedHyperlink";
104732
+ tint?: number;
104733
+ shade?: number;
104734
+ fallback?: true;
104735
+ };
104736
+ };
104187
104737
  };
104188
104738
  color?: string;
104189
104739
  highlight?: string;
@@ -104201,6 +104751,10 @@ export type DocQueryMatchResult = {
104201
104751
  };
104202
104752
  meta: {
104203
104753
  effectiveResolved: boolean;
104754
+ diagnostics?: Array<{
104755
+ code: "tracked-view-unresolved" | "theme-fallback" | "style-parts-unavailable" | "run-projection-unavailable";
104756
+ message: string;
104757
+ }>;
104204
104758
  };
104205
104759
  };
104206
104760
  export type DocRangesResolveResult = {
@@ -105896,12 +106450,24 @@ export type DocCapabilitiesGetResult = {
105896
106450
  dryRun: boolean;
105897
106451
  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">;
105898
106452
  };
106453
+ "styles.create": {
106454
+ available: boolean;
106455
+ tracked: boolean;
106456
+ dryRun: boolean;
106457
+ 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">;
106458
+ };
105899
106459
  "styles.getCatalog": {
105900
106460
  available: boolean;
105901
106461
  tracked: boolean;
105902
106462
  dryRun: boolean;
105903
106463
  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">;
105904
106464
  };
106465
+ "styles.getTheme": {
106466
+ available: boolean;
106467
+ tracked: boolean;
106468
+ dryRun: boolean;
106469
+ 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">;
106470
+ };
105905
106471
  "templates.apply": {
105906
106472
  available: boolean;
105907
106473
  tracked: boolean;
@@ -110273,7 +110839,7 @@ export type DocCapabilitiesCheckResult = ({
110273
110839
  };
110274
110840
  });
110275
110841
  export type DocCapabilitiesResolveResult = {
110276
- 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" | "styles.apply" | "styles.getCatalog" | "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.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" | "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";
110842
+ 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" | "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.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" | "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";
110277
110843
  available: ({
110278
110844
  kind: "supported";
110279
110845
  }) | ({
@@ -137204,6 +137770,278 @@ export interface DocStylesApplyBoundParams {
137204
137770
  }>;
137205
137771
  });
137206
137772
  }
137773
+ export interface DocStylesCreateBoundParams {
137774
+ out?: string;
137775
+ force?: boolean;
137776
+ expectedRevision?: string;
137777
+ changeMode?: string;
137778
+ dryRun?: boolean;
137779
+ id: string;
137780
+ name: string;
137781
+ basedOn?: unknown;
137782
+ aliases?: Array<string>;
137783
+ priority?: unknown;
137784
+ qFormat?: boolean;
137785
+ hidden?: boolean;
137786
+ semiHidden?: boolean;
137787
+ unhideWhenUsed?: boolean;
137788
+ locked?: boolean;
137789
+ custom?: boolean;
137790
+ conflictPolicy?: "fail" | "replace";
137791
+ type: "paragraph" | "character";
137792
+ next?: unknown;
137793
+ paragraph?: {
137794
+ keepLines?: boolean;
137795
+ keepNext?: boolean;
137796
+ widowControl?: boolean;
137797
+ contextualSpacing?: boolean;
137798
+ pageBreakBefore?: boolean;
137799
+ suppressAutoHyphens?: boolean;
137800
+ suppressLineNumbers?: boolean;
137801
+ suppressOverlap?: boolean;
137802
+ mirrorIndents?: boolean;
137803
+ wordWrap?: boolean;
137804
+ kinsoku?: boolean;
137805
+ overflowPunct?: boolean;
137806
+ topLinePunct?: boolean;
137807
+ autoSpaceDE?: boolean;
137808
+ autoSpaceDN?: boolean;
137809
+ adjustRightInd?: boolean;
137810
+ rightToLeft?: boolean;
137811
+ snapToGrid?: boolean;
137812
+ outlineLvl?: number;
137813
+ justification?: "left" | "center" | "right" | "justify" | "distribute";
137814
+ textAlignment?: "top" | "center" | "baseline" | "bottom" | "auto";
137815
+ textDirection?: "lrTb" | "tbRl" | "btLr" | "lrTbV" | "tbRlV" | "tbLrV";
137816
+ textboxTightWrap?: "none" | "allLines" | "firstAndLastLine" | "firstLineOnly" | "lastLineOnly";
137817
+ spacing?: {
137818
+ after?: number;
137819
+ afterAutospacing?: boolean;
137820
+ afterLines?: number;
137821
+ before?: number;
137822
+ beforeAutospacing?: boolean;
137823
+ beforeLines?: number;
137824
+ line?: number;
137825
+ lineRule?: "auto" | "exact" | "atLeast";
137826
+ };
137827
+ indent?: {
137828
+ end?: number;
137829
+ endChars?: number;
137830
+ firstLine?: number;
137831
+ firstLineChars?: number;
137832
+ hanging?: number;
137833
+ hangingChars?: number;
137834
+ left?: number;
137835
+ leftChars?: number;
137836
+ right?: number;
137837
+ rightChars?: number;
137838
+ start?: number;
137839
+ startChars?: number;
137840
+ };
137841
+ shading?: {
137842
+ color?: string;
137843
+ fill?: string;
137844
+ themeColor?: string;
137845
+ themeFill?: string;
137846
+ themeFillShade?: string;
137847
+ themeFillTint?: string;
137848
+ themeShade?: string;
137849
+ themeTint?: string;
137850
+ val?: string;
137851
+ };
137852
+ numberingProperties?: {
137853
+ ilvl?: number;
137854
+ numId?: number;
137855
+ };
137856
+ framePr?: {
137857
+ anchorLock?: boolean;
137858
+ dropCap?: string;
137859
+ h?: number;
137860
+ hAnchor?: string;
137861
+ hRule?: string;
137862
+ hSpace?: number;
137863
+ lines?: number;
137864
+ vAnchor?: string;
137865
+ vSpace?: number;
137866
+ w?: number;
137867
+ wrap?: string;
137868
+ x?: number;
137869
+ xAlign?: string;
137870
+ y?: number;
137871
+ yAlign?: string;
137872
+ };
137873
+ borders?: {
137874
+ top?: {
137875
+ val?: string;
137876
+ color?: string;
137877
+ themeColor?: string;
137878
+ themeTint?: string;
137879
+ themeShade?: string;
137880
+ size?: number;
137881
+ space?: number;
137882
+ shadow?: boolean;
137883
+ frame?: boolean;
137884
+ };
137885
+ bottom?: {
137886
+ val?: string;
137887
+ color?: string;
137888
+ themeColor?: string;
137889
+ themeTint?: string;
137890
+ themeShade?: string;
137891
+ size?: number;
137892
+ space?: number;
137893
+ shadow?: boolean;
137894
+ frame?: boolean;
137895
+ };
137896
+ left?: {
137897
+ val?: string;
137898
+ color?: string;
137899
+ themeColor?: string;
137900
+ themeTint?: string;
137901
+ themeShade?: string;
137902
+ size?: number;
137903
+ space?: number;
137904
+ shadow?: boolean;
137905
+ frame?: boolean;
137906
+ };
137907
+ right?: {
137908
+ val?: string;
137909
+ color?: string;
137910
+ themeColor?: string;
137911
+ themeTint?: string;
137912
+ themeShade?: string;
137913
+ size?: number;
137914
+ space?: number;
137915
+ shadow?: boolean;
137916
+ frame?: boolean;
137917
+ };
137918
+ between?: {
137919
+ val?: string;
137920
+ color?: string;
137921
+ themeColor?: string;
137922
+ themeTint?: string;
137923
+ themeShade?: string;
137924
+ size?: number;
137925
+ space?: number;
137926
+ shadow?: boolean;
137927
+ frame?: boolean;
137928
+ };
137929
+ bar?: {
137930
+ val?: string;
137931
+ color?: string;
137932
+ themeColor?: string;
137933
+ themeTint?: string;
137934
+ themeShade?: string;
137935
+ size?: number;
137936
+ space?: number;
137937
+ shadow?: boolean;
137938
+ frame?: boolean;
137939
+ };
137940
+ };
137941
+ tabStops?: Array<{
137942
+ tab?: {
137943
+ tabType?: string;
137944
+ pos?: number;
137945
+ leader?: string;
137946
+ };
137947
+ }>;
137948
+ };
137949
+ run?: {
137950
+ bold?: boolean;
137951
+ boldCs?: boolean;
137952
+ italic?: boolean;
137953
+ iCs?: boolean;
137954
+ smallCaps?: boolean;
137955
+ strike?: boolean;
137956
+ dstrike?: boolean;
137957
+ emboss?: boolean;
137958
+ imprint?: boolean;
137959
+ outline?: boolean;
137960
+ shadow?: boolean;
137961
+ vanish?: boolean;
137962
+ webHidden?: boolean;
137963
+ specVanish?: boolean;
137964
+ snapToGrid?: boolean;
137965
+ noProof?: boolean;
137966
+ fontSize?: number;
137967
+ fontSizeCs?: number;
137968
+ letterSpacing?: number;
137969
+ kern?: number;
137970
+ position?: number;
137971
+ w?: number;
137972
+ textTransform?: "uppercase" | "none";
137973
+ vertAlign?: "superscript" | "subscript" | "baseline";
137974
+ em?: "none" | "dot" | "comma" | "circle" | "sesame";
137975
+ effect?: string;
137976
+ fontFamily?: {
137977
+ hint?: string;
137978
+ ascii?: string;
137979
+ hAnsi?: string;
137980
+ eastAsia?: string;
137981
+ cs?: string;
137982
+ val?: string;
137983
+ asciiTheme?: string;
137984
+ hAnsiTheme?: string;
137985
+ eastAsiaTheme?: string;
137986
+ cstheme?: string;
137987
+ };
137988
+ color?: {
137989
+ val?: string;
137990
+ themeColor?: string;
137991
+ themeTint?: string;
137992
+ themeShade?: string;
137993
+ };
137994
+ underline?: {
137995
+ val?: "single" | "double" | "thick" | "dotted" | "dottedHeavy" | "dash" | "dashedHeavy" | "dashLong" | "dashLongHeavy" | "dotDash" | "dashDotHeavy" | "dotDotDash" | "dashDotDotHeavy" | "wave" | "wavyHeavy" | "wavyDouble" | "words" | "none";
137996
+ color?: string;
137997
+ themeColor?: string;
137998
+ themeTint?: string;
137999
+ themeShade?: string;
138000
+ };
138001
+ borders?: {
138002
+ val?: string;
138003
+ color?: string;
138004
+ themeColor?: string;
138005
+ themeTint?: string;
138006
+ themeShade?: string;
138007
+ size?: number;
138008
+ space?: number;
138009
+ shadow?: boolean;
138010
+ frame?: boolean;
138011
+ };
138012
+ shading?: {
138013
+ color?: string;
138014
+ fill?: string;
138015
+ themeColor?: string;
138016
+ themeFill?: string;
138017
+ themeFillShade?: string;
138018
+ themeFillTint?: string;
138019
+ themeShade?: string;
138020
+ themeTint?: string;
138021
+ val?: string;
138022
+ };
138023
+ lang?: {
138024
+ val?: string;
138025
+ eastAsia?: string;
138026
+ bidi?: string;
138027
+ };
138028
+ eastAsianLayout?: {
138029
+ id?: number;
138030
+ combine?: boolean;
138031
+ combineBrackets?: string;
138032
+ vert?: boolean;
138033
+ vertCompress?: boolean;
138034
+ };
138035
+ fitText?: {
138036
+ val?: number;
138037
+ id?: number;
138038
+ };
138039
+ cs?: boolean;
138040
+ oMath?: boolean;
138041
+ rtl?: boolean;
138042
+ highlight?: "black" | "blue" | "cyan" | "green" | "magenta" | "red" | "yellow" | "white" | "darkBlue" | "darkCyan" | "darkGreen" | "darkMagenta" | "darkRed" | "darkYellow" | "darkGray" | "lightGray" | "none";
138043
+ };
138044
+ }
137207
138045
  export interface DocStylesGetCatalogBoundParams {
137208
138046
  view?: "quickGallery" | "recommended" | "currentDocument" | "all" | "inUse";
137209
138047
  types?: Array<"paragraph" | "character" | "linked" | "table" | "numbering">;
@@ -137213,6 +138051,8 @@ export interface DocStylesGetCatalogBoundParams {
137213
138051
  includePreview?: boolean;
137214
138052
  includeDiagnostics?: boolean;
137215
138053
  }
138054
+ export interface DocStylesGetThemeBoundParams {
138055
+ }
137216
138056
  export interface DocTemplatesApplyBoundParams {
137217
138057
  out?: string;
137218
138058
  force?: boolean;
@@ -148448,7 +149288,7 @@ export interface DocCapabilitiesCheckBoundParams {
148448
149288
  });
148449
149289
  }
148450
149290
  export interface DocCapabilitiesResolveBoundParams {
148451
- 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" | "styles.apply" | "styles.getCatalog" | "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.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" | "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";
149291
+ 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" | "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.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" | "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";
148452
149292
  input?: unknown;
148453
149293
  options?: unknown;
148454
149294
  }
@@ -156367,7 +157207,9 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
156367
157207
  };
156368
157208
  styles: {
156369
157209
  apply: (params?: DocStylesApplyParams, options?: InvokeOptions) => Promise<DocStylesApplyResult>;
157210
+ create: (params: DocStylesCreateParams, options?: InvokeOptions) => Promise<DocStylesCreateResult>;
156370
157211
  getCatalog: (params?: DocStylesGetCatalogParams, options?: InvokeOptions) => Promise<DocStylesGetCatalogResult>;
157212
+ getTheme: (params?: DocStylesGetThemeParams, options?: InvokeOptions) => Promise<DocStylesGetThemeResult>;
156371
157213
  paragraph: {
156372
157214
  setStyle: (params: DocStylesParagraphSetStyleParams, options?: InvokeOptions) => Promise<DocStylesParagraphSetStyleResult>;
156373
157215
  setStyleRef: (params: DocStylesParagraphSetStyleRefParams, options?: InvokeOptions) => Promise<DocStylesParagraphSetStyleRefResult>;
@@ -156944,7 +157786,9 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
156944
157786
  };
156945
157787
  styles: {
156946
157788
  apply: (params?: DocStylesApplyBoundParams, options?: InvokeOptions) => Promise<DocStylesApplyResult>;
157789
+ create: (params: DocStylesCreateBoundParams, options?: InvokeOptions) => Promise<DocStylesCreateResult>;
156947
157790
  getCatalog: (params?: DocStylesGetCatalogBoundParams, options?: InvokeOptions) => Promise<DocStylesGetCatalogResult>;
157791
+ getTheme: (params?: DocStylesGetThemeBoundParams, options?: InvokeOptions) => Promise<DocStylesGetThemeResult>;
156948
157792
  paragraph: {
156949
157793
  setStyle: (params: DocStylesParagraphSetStyleBoundParams, options?: InvokeOptions) => Promise<DocStylesParagraphSetStyleResult>;
156950
157794
  setStyleRef: (params: DocStylesParagraphSetStyleRefBoundParams, options?: InvokeOptions) => Promise<DocStylesParagraphSetStyleRefResult>;