@superdoc/sdk 2.26.0 → 2.27.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +202 -29
- package/dist/agent/catalog.d.ts +0 -4
- package/dist/agent/catalog.js +0 -4
- package/dist/generated/client.cjs +14 -1
- package/dist/generated/client.d.ts +1496 -215
- package/dist/generated/client.js +14 -1
- package/dist/generated/contract.cjs +1 -2
- package/dist/generated/contract.d.ts +1 -0
- package/dist/generated/contract.js +1 -2
- package/dist/index.cjs +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/runtime/host.cjs +36 -3
- package/dist/runtime/host.d.ts +5 -0
- package/dist/runtime/host.js +36 -4
- package/dist/runtime/notifications.cjs +124 -0
- package/dist/runtime/notifications.d.ts +35 -0
- package/dist/runtime/notifications.js +116 -0
- package/dist/runtime/process.cjs +4 -1
- package/dist/runtime/process.d.ts +2 -0
- package/dist/runtime/process.js +4 -1
- package/dist/runtime/sdk-policy.d.ts +1 -0
- package/dist/runtime/sdk-version.generated.cjs +1 -1
- package/dist/runtime/sdk-version.generated.d.ts +1 -1
- package/dist/runtime/sdk-version.generated.js +1 -1
- package/dist/runtime/transport-common.cjs +9 -1
- package/dist/runtime/transport-common.d.ts +3 -0
- package/dist/runtime/transport-common.js +8 -1
- package/package.json +7 -7
- package/tools/generation-receipt.json +51 -13
- package/tools/tools-policy.json +1 -1
|
@@ -25938,7 +25938,7 @@ export interface DocCapabilitiesCheckParams {
|
|
|
25938
25938
|
export interface DocCapabilitiesResolveParams {
|
|
25939
25939
|
doc?: string;
|
|
25940
25940
|
sessionId?: string;
|
|
25941
|
-
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "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";
|
|
25941
|
+
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
25942
25942
|
input?: unknown;
|
|
25943
25943
|
options?: unknown;
|
|
25944
25944
|
}
|
|
@@ -27554,6 +27554,67 @@ export interface DocHistoryRedoParams {
|
|
|
27554
27554
|
expectedRevision?: string;
|
|
27555
27555
|
changeMode?: string;
|
|
27556
27556
|
}
|
|
27557
|
+
export interface DocChangesListParams {
|
|
27558
|
+
doc?: string;
|
|
27559
|
+
sessionId?: string;
|
|
27560
|
+
after?: string;
|
|
27561
|
+
limit?: number;
|
|
27562
|
+
story?: ({
|
|
27563
|
+
kind: "story";
|
|
27564
|
+
storyType: "body";
|
|
27565
|
+
}) | ({
|
|
27566
|
+
kind: "story";
|
|
27567
|
+
storyType: "headerFooterSlot";
|
|
27568
|
+
section: {
|
|
27569
|
+
kind: "section";
|
|
27570
|
+
sectionId: string;
|
|
27571
|
+
};
|
|
27572
|
+
headerFooterKind: "header" | "footer";
|
|
27573
|
+
variant: "default" | "first" | "even";
|
|
27574
|
+
resolution?: "effective" | "explicit";
|
|
27575
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
27576
|
+
}) | ({
|
|
27577
|
+
kind: "story";
|
|
27578
|
+
storyType: "headerFooterPart";
|
|
27579
|
+
refId: string;
|
|
27580
|
+
}) | ({
|
|
27581
|
+
kind: "story";
|
|
27582
|
+
storyType: "footnote";
|
|
27583
|
+
noteId: string;
|
|
27584
|
+
}) | ({
|
|
27585
|
+
kind: "story";
|
|
27586
|
+
storyType: "endnote";
|
|
27587
|
+
noteId: string;
|
|
27588
|
+
}) | ({
|
|
27589
|
+
kind: "story";
|
|
27590
|
+
storyType: "textbox";
|
|
27591
|
+
textboxId: string;
|
|
27592
|
+
});
|
|
27593
|
+
blockId?: string;
|
|
27594
|
+
actorId?: string;
|
|
27595
|
+
includeUpdate?: boolean;
|
|
27596
|
+
waitMs?: number;
|
|
27597
|
+
}
|
|
27598
|
+
export interface DocChangesGetParams {
|
|
27599
|
+
doc?: string;
|
|
27600
|
+
sessionId?: string;
|
|
27601
|
+
id: string;
|
|
27602
|
+
}
|
|
27603
|
+
export interface DocChangesResolveParams {
|
|
27604
|
+
doc?: string;
|
|
27605
|
+
sessionId?: string;
|
|
27606
|
+
blockId: string;
|
|
27607
|
+
limit?: number;
|
|
27608
|
+
}
|
|
27609
|
+
export interface DocChangesActorsParams {
|
|
27610
|
+
doc?: string;
|
|
27611
|
+
sessionId?: string;
|
|
27612
|
+
}
|
|
27613
|
+
export interface DocChangesSnapshotParams {
|
|
27614
|
+
doc?: string;
|
|
27615
|
+
sessionId?: string;
|
|
27616
|
+
includeState?: boolean;
|
|
27617
|
+
}
|
|
27557
27618
|
export interface DocCreateImageParams {
|
|
27558
27619
|
doc?: string;
|
|
27559
27620
|
sessionId?: string;
|
|
@@ -33727,7 +33788,7 @@ export interface DocDiffCompareParams {
|
|
|
33727
33788
|
};
|
|
33728
33789
|
payload: Record<string, unknown>;
|
|
33729
33790
|
};
|
|
33730
|
-
styleChangeMode?: "direct";
|
|
33791
|
+
styleChangeMode?: "direct" | "tracked";
|
|
33731
33792
|
}
|
|
33732
33793
|
export interface DocDiffApplyParams {
|
|
33733
33794
|
doc?: string;
|
|
@@ -33797,7 +33858,7 @@ export interface DocDiffApplyParams {
|
|
|
33797
33858
|
}>;
|
|
33798
33859
|
payload: Record<string, unknown>;
|
|
33799
33860
|
};
|
|
33800
|
-
styleChangeMode?: "direct";
|
|
33861
|
+
styleChangeMode?: "direct" | "tracked";
|
|
33801
33862
|
}
|
|
33802
33863
|
export interface DocExportToDocxParams {
|
|
33803
33864
|
doc?: string;
|
|
@@ -34601,6 +34662,9 @@ export interface DocOpenParams {
|
|
|
34601
34662
|
runtime?: "v2";
|
|
34602
34663
|
userName?: string;
|
|
34603
34664
|
userEmail?: string;
|
|
34665
|
+
userId?: string;
|
|
34666
|
+
changesRetainRecords?: number;
|
|
34667
|
+
changesRetainBytes?: number;
|
|
34604
34668
|
password?: string;
|
|
34605
34669
|
}
|
|
34606
34670
|
export interface DocSaveParams {
|
|
@@ -184200,6 +184264,46 @@ export type DocCapabilitiesGetResult = {
|
|
|
184200
184264
|
dryRun: boolean;
|
|
184201
184265
|
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">;
|
|
184202
184266
|
};
|
|
184267
|
+
"changes.list": {
|
|
184268
|
+
commentRetention?: Array<"point">;
|
|
184269
|
+
available: boolean;
|
|
184270
|
+
tracked: boolean;
|
|
184271
|
+
trackedSupport?: "always" | "conditional" | "never";
|
|
184272
|
+
dryRun: boolean;
|
|
184273
|
+
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">;
|
|
184274
|
+
};
|
|
184275
|
+
"changes.get": {
|
|
184276
|
+
commentRetention?: Array<"point">;
|
|
184277
|
+
available: boolean;
|
|
184278
|
+
tracked: boolean;
|
|
184279
|
+
trackedSupport?: "always" | "conditional" | "never";
|
|
184280
|
+
dryRun: boolean;
|
|
184281
|
+
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">;
|
|
184282
|
+
};
|
|
184283
|
+
"changes.resolve": {
|
|
184284
|
+
commentRetention?: Array<"point">;
|
|
184285
|
+
available: boolean;
|
|
184286
|
+
tracked: boolean;
|
|
184287
|
+
trackedSupport?: "always" | "conditional" | "never";
|
|
184288
|
+
dryRun: boolean;
|
|
184289
|
+
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">;
|
|
184290
|
+
};
|
|
184291
|
+
"changes.actors": {
|
|
184292
|
+
commentRetention?: Array<"point">;
|
|
184293
|
+
available: boolean;
|
|
184294
|
+
tracked: boolean;
|
|
184295
|
+
trackedSupport?: "always" | "conditional" | "never";
|
|
184296
|
+
dryRun: boolean;
|
|
184297
|
+
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">;
|
|
184298
|
+
};
|
|
184299
|
+
"changes.snapshot": {
|
|
184300
|
+
commentRetention?: Array<"point">;
|
|
184301
|
+
available: boolean;
|
|
184302
|
+
tracked: boolean;
|
|
184303
|
+
trackedSupport?: "always" | "conditional" | "never";
|
|
184304
|
+
dryRun: boolean;
|
|
184305
|
+
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">;
|
|
184306
|
+
};
|
|
184203
184307
|
"create.image": {
|
|
184204
184308
|
commentRetention?: Array<"point">;
|
|
184205
184309
|
available: boolean;
|
|
@@ -187937,7 +188041,7 @@ export type DocCapabilitiesCheckResult = ({
|
|
|
187937
188041
|
};
|
|
187938
188042
|
});
|
|
187939
188043
|
export type DocCapabilitiesResolveResult = {
|
|
187940
|
-
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "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";
|
|
188044
|
+
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
187941
188045
|
available: ({
|
|
187942
188046
|
kind: "supported";
|
|
187943
188047
|
}) | ({
|
|
@@ -191354,94 +191458,1302 @@ export type DocHistoryRedoResult = {
|
|
|
191354
191458
|
storyType: "textbox";
|
|
191355
191459
|
textboxId: string;
|
|
191356
191460
|
});
|
|
191357
|
-
}) | ({
|
|
191358
|
-
kind: "block";
|
|
191359
|
-
nodeId: string;
|
|
191360
|
-
nodeType?: string;
|
|
191361
|
-
});
|
|
191362
|
-
to: ({
|
|
191363
|
-
captureState?: string;
|
|
191364
|
-
kind: "text";
|
|
191461
|
+
}) | ({
|
|
191462
|
+
kind: "block";
|
|
191463
|
+
nodeId: string;
|
|
191464
|
+
nodeType?: string;
|
|
191465
|
+
});
|
|
191466
|
+
to: ({
|
|
191467
|
+
captureState?: string;
|
|
191468
|
+
kind: "text";
|
|
191469
|
+
blockId: string;
|
|
191470
|
+
range: {
|
|
191471
|
+
start: number;
|
|
191472
|
+
end: number;
|
|
191473
|
+
};
|
|
191474
|
+
story?: ({
|
|
191475
|
+
kind: "story";
|
|
191476
|
+
storyType: "body";
|
|
191477
|
+
}) | ({
|
|
191478
|
+
kind: "story";
|
|
191479
|
+
storyType: "headerFooterSlot";
|
|
191480
|
+
section: {
|
|
191481
|
+
kind: "section";
|
|
191482
|
+
sectionId: string;
|
|
191483
|
+
};
|
|
191484
|
+
headerFooterKind: "header" | "footer";
|
|
191485
|
+
variant: "default" | "first" | "even";
|
|
191486
|
+
resolution?: "effective" | "explicit";
|
|
191487
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191488
|
+
}) | ({
|
|
191489
|
+
kind: "story";
|
|
191490
|
+
storyType: "headerFooterPart";
|
|
191491
|
+
refId: string;
|
|
191492
|
+
}) | ({
|
|
191493
|
+
kind: "story";
|
|
191494
|
+
storyType: "footnote";
|
|
191495
|
+
noteId: string;
|
|
191496
|
+
}) | ({
|
|
191497
|
+
kind: "story";
|
|
191498
|
+
storyType: "endnote";
|
|
191499
|
+
noteId: string;
|
|
191500
|
+
}) | ({
|
|
191501
|
+
kind: "story";
|
|
191502
|
+
storyType: "textbox";
|
|
191503
|
+
textboxId: string;
|
|
191504
|
+
});
|
|
191505
|
+
}) | ({
|
|
191506
|
+
kind: "entity";
|
|
191507
|
+
entityType: "bookmark";
|
|
191508
|
+
name: string;
|
|
191509
|
+
story?: ({
|
|
191510
|
+
kind: "story";
|
|
191511
|
+
storyType: "body";
|
|
191512
|
+
}) | ({
|
|
191513
|
+
kind: "story";
|
|
191514
|
+
storyType: "headerFooterSlot";
|
|
191515
|
+
section: {
|
|
191516
|
+
kind: "section";
|
|
191517
|
+
sectionId: string;
|
|
191518
|
+
};
|
|
191519
|
+
headerFooterKind: "header" | "footer";
|
|
191520
|
+
variant: "default" | "first" | "even";
|
|
191521
|
+
resolution?: "effective" | "explicit";
|
|
191522
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191523
|
+
}) | ({
|
|
191524
|
+
kind: "story";
|
|
191525
|
+
storyType: "headerFooterPart";
|
|
191526
|
+
refId: string;
|
|
191527
|
+
}) | ({
|
|
191528
|
+
kind: "story";
|
|
191529
|
+
storyType: "footnote";
|
|
191530
|
+
noteId: string;
|
|
191531
|
+
}) | ({
|
|
191532
|
+
kind: "story";
|
|
191533
|
+
storyType: "endnote";
|
|
191534
|
+
noteId: string;
|
|
191535
|
+
}) | ({
|
|
191536
|
+
kind: "story";
|
|
191537
|
+
storyType: "textbox";
|
|
191538
|
+
textboxId: string;
|
|
191539
|
+
});
|
|
191540
|
+
}) | ({
|
|
191541
|
+
kind: "entity";
|
|
191542
|
+
entityType: "comment";
|
|
191543
|
+
entityId: string;
|
|
191544
|
+
}) | ({
|
|
191545
|
+
kind: "entity";
|
|
191546
|
+
entityType: "trackedChange";
|
|
191547
|
+
entityId: string;
|
|
191548
|
+
story?: ({
|
|
191549
|
+
kind: "story";
|
|
191550
|
+
storyType: "body";
|
|
191551
|
+
}) | ({
|
|
191552
|
+
kind: "story";
|
|
191553
|
+
storyType: "headerFooterSlot";
|
|
191554
|
+
section: {
|
|
191555
|
+
kind: "section";
|
|
191556
|
+
sectionId: string;
|
|
191557
|
+
};
|
|
191558
|
+
headerFooterKind: "header" | "footer";
|
|
191559
|
+
variant: "default" | "first" | "even";
|
|
191560
|
+
resolution?: "effective" | "explicit";
|
|
191561
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191562
|
+
}) | ({
|
|
191563
|
+
kind: "story";
|
|
191564
|
+
storyType: "headerFooterPart";
|
|
191565
|
+
refId: string;
|
|
191566
|
+
}) | ({
|
|
191567
|
+
kind: "story";
|
|
191568
|
+
storyType: "footnote";
|
|
191569
|
+
noteId: string;
|
|
191570
|
+
}) | ({
|
|
191571
|
+
kind: "story";
|
|
191572
|
+
storyType: "endnote";
|
|
191573
|
+
noteId: string;
|
|
191574
|
+
}) | ({
|
|
191575
|
+
kind: "story";
|
|
191576
|
+
storyType: "textbox";
|
|
191577
|
+
textboxId: string;
|
|
191578
|
+
});
|
|
191579
|
+
}) | ({
|
|
191580
|
+
kind: "block";
|
|
191581
|
+
nodeId: string;
|
|
191582
|
+
nodeType?: string;
|
|
191583
|
+
});
|
|
191584
|
+
}>;
|
|
191585
|
+
affectedStories?: Array<({
|
|
191586
|
+
kind: "story";
|
|
191587
|
+
storyType: "body";
|
|
191588
|
+
}) | ({
|
|
191589
|
+
kind: "story";
|
|
191590
|
+
storyType: "headerFooterSlot";
|
|
191591
|
+
section: {
|
|
191592
|
+
kind: "section";
|
|
191593
|
+
sectionId: string;
|
|
191594
|
+
};
|
|
191595
|
+
headerFooterKind: "header" | "footer";
|
|
191596
|
+
variant: "default" | "first" | "even";
|
|
191597
|
+
resolution?: "effective" | "explicit";
|
|
191598
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191599
|
+
}) | ({
|
|
191600
|
+
kind: "story";
|
|
191601
|
+
storyType: "headerFooterPart";
|
|
191602
|
+
refId: string;
|
|
191603
|
+
}) | ({
|
|
191604
|
+
kind: "story";
|
|
191605
|
+
storyType: "footnote";
|
|
191606
|
+
noteId: string;
|
|
191607
|
+
}) | ({
|
|
191608
|
+
kind: "story";
|
|
191609
|
+
storyType: "endnote";
|
|
191610
|
+
noteId: string;
|
|
191611
|
+
}) | ({
|
|
191612
|
+
kind: "story";
|
|
191613
|
+
storyType: "textbox";
|
|
191614
|
+
textboxId: string;
|
|
191615
|
+
})>;
|
|
191616
|
+
textRangeShifts?: Array<{
|
|
191617
|
+
story: ({
|
|
191618
|
+
kind: "story";
|
|
191619
|
+
storyType: "body";
|
|
191620
|
+
}) | ({
|
|
191621
|
+
kind: "story";
|
|
191622
|
+
storyType: "headerFooterSlot";
|
|
191623
|
+
section: {
|
|
191624
|
+
kind: "section";
|
|
191625
|
+
sectionId: string;
|
|
191626
|
+
};
|
|
191627
|
+
headerFooterKind: "header" | "footer";
|
|
191628
|
+
variant: "default" | "first" | "even";
|
|
191629
|
+
resolution?: "effective" | "explicit";
|
|
191630
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191631
|
+
}) | ({
|
|
191632
|
+
kind: "story";
|
|
191633
|
+
storyType: "headerFooterPart";
|
|
191634
|
+
refId: string;
|
|
191635
|
+
}) | ({
|
|
191636
|
+
kind: "story";
|
|
191637
|
+
storyType: "footnote";
|
|
191638
|
+
noteId: string;
|
|
191639
|
+
}) | ({
|
|
191640
|
+
kind: "story";
|
|
191641
|
+
storyType: "endnote";
|
|
191642
|
+
noteId: string;
|
|
191643
|
+
}) | ({
|
|
191644
|
+
kind: "story";
|
|
191645
|
+
storyType: "textbox";
|
|
191646
|
+
textboxId: string;
|
|
191647
|
+
});
|
|
191648
|
+
atChar: number;
|
|
191649
|
+
blockId?: string;
|
|
191650
|
+
atCharInBlock?: number;
|
|
191651
|
+
delta: number;
|
|
191652
|
+
replacedLength?: number;
|
|
191653
|
+
}>;
|
|
191654
|
+
trackedTextRangeShifts?: Array<{
|
|
191655
|
+
story: ({
|
|
191656
|
+
kind: "story";
|
|
191657
|
+
storyType: "body";
|
|
191658
|
+
}) | ({
|
|
191659
|
+
kind: "story";
|
|
191660
|
+
storyType: "headerFooterSlot";
|
|
191661
|
+
section: {
|
|
191662
|
+
kind: "section";
|
|
191663
|
+
sectionId: string;
|
|
191664
|
+
};
|
|
191665
|
+
headerFooterKind: "header" | "footer";
|
|
191666
|
+
variant: "default" | "first" | "even";
|
|
191667
|
+
resolution?: "effective" | "explicit";
|
|
191668
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191669
|
+
}) | ({
|
|
191670
|
+
kind: "story";
|
|
191671
|
+
storyType: "headerFooterPart";
|
|
191672
|
+
refId: string;
|
|
191673
|
+
}) | ({
|
|
191674
|
+
kind: "story";
|
|
191675
|
+
storyType: "footnote";
|
|
191676
|
+
noteId: string;
|
|
191677
|
+
}) | ({
|
|
191678
|
+
kind: "story";
|
|
191679
|
+
storyType: "endnote";
|
|
191680
|
+
noteId: string;
|
|
191681
|
+
}) | ({
|
|
191682
|
+
kind: "story";
|
|
191683
|
+
storyType: "textbox";
|
|
191684
|
+
textboxId: string;
|
|
191685
|
+
});
|
|
191686
|
+
blockId: string;
|
|
191687
|
+
atCharInBlock: number;
|
|
191688
|
+
delta: number;
|
|
191689
|
+
}>;
|
|
191690
|
+
history?: {
|
|
191691
|
+
txId: string;
|
|
191692
|
+
direction: "undo" | "redo";
|
|
191693
|
+
txIds?: Array<string>;
|
|
191694
|
+
};
|
|
191695
|
+
status?: "applied" | "noop" | "rejected" | "partial" | "repaired";
|
|
191696
|
+
diagnosticCode?: string;
|
|
191697
|
+
collaboration?: {
|
|
191698
|
+
mode: "session-local" | "single-shard" | "journaled-multi-shard";
|
|
191699
|
+
undoGroupId?: string;
|
|
191700
|
+
opId?: string;
|
|
191701
|
+
affectedShards?: Array<string>;
|
|
191702
|
+
};
|
|
191703
|
+
};
|
|
191704
|
+
export type DocChangesListResult = {
|
|
191705
|
+
items: Array<{
|
|
191706
|
+
id: string;
|
|
191707
|
+
seq: number;
|
|
191708
|
+
revision: string;
|
|
191709
|
+
origin: "local" | "remote";
|
|
191710
|
+
actor: ({
|
|
191711
|
+
id: string | null;
|
|
191712
|
+
name?: string;
|
|
191713
|
+
email?: string;
|
|
191714
|
+
claim?: string;
|
|
191715
|
+
}) | null;
|
|
191716
|
+
contributors?: Array<{
|
|
191717
|
+
id: string | null;
|
|
191718
|
+
name?: string;
|
|
191719
|
+
email?: string;
|
|
191720
|
+
claim?: string;
|
|
191721
|
+
}>;
|
|
191722
|
+
actorType: "human" | "code" | null;
|
|
191723
|
+
cause: "user" | "api" | "undo" | "redo" | null;
|
|
191724
|
+
provenance: "authored" | "declared" | "relayed" | "unknown";
|
|
191725
|
+
at: {
|
|
191726
|
+
declared: string | null;
|
|
191727
|
+
observed: string;
|
|
191728
|
+
};
|
|
191729
|
+
session: {
|
|
191730
|
+
id: string | null;
|
|
191731
|
+
clientId: number;
|
|
191732
|
+
};
|
|
191733
|
+
changeTag?: string;
|
|
191734
|
+
changes: Array<({
|
|
191735
|
+
kind: "text";
|
|
191736
|
+
story: ({
|
|
191737
|
+
kind: "story";
|
|
191738
|
+
storyType: "body";
|
|
191739
|
+
}) | ({
|
|
191740
|
+
kind: "story";
|
|
191741
|
+
storyType: "headerFooterSlot";
|
|
191742
|
+
section: {
|
|
191743
|
+
kind: "section";
|
|
191744
|
+
sectionId: string;
|
|
191745
|
+
};
|
|
191746
|
+
headerFooterKind: "header" | "footer";
|
|
191747
|
+
variant: "default" | "first" | "even";
|
|
191748
|
+
resolution?: "effective" | "explicit";
|
|
191749
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191750
|
+
}) | ({
|
|
191751
|
+
kind: "story";
|
|
191752
|
+
storyType: "headerFooterPart";
|
|
191753
|
+
refId: string;
|
|
191754
|
+
}) | ({
|
|
191755
|
+
kind: "story";
|
|
191756
|
+
storyType: "footnote";
|
|
191757
|
+
noteId: string;
|
|
191758
|
+
}) | ({
|
|
191759
|
+
kind: "story";
|
|
191760
|
+
storyType: "endnote";
|
|
191761
|
+
noteId: string;
|
|
191762
|
+
}) | ({
|
|
191763
|
+
kind: "story";
|
|
191764
|
+
storyType: "textbox";
|
|
191765
|
+
textboxId: string;
|
|
191766
|
+
});
|
|
191767
|
+
blockId: string;
|
|
191768
|
+
range: {
|
|
191769
|
+
start: number;
|
|
191770
|
+
end: number;
|
|
191771
|
+
};
|
|
191772
|
+
inserted: string;
|
|
191773
|
+
deleted: string;
|
|
191774
|
+
}) | ({
|
|
191775
|
+
kind: "format";
|
|
191776
|
+
story: ({
|
|
191777
|
+
kind: "story";
|
|
191778
|
+
storyType: "body";
|
|
191779
|
+
}) | ({
|
|
191780
|
+
kind: "story";
|
|
191781
|
+
storyType: "headerFooterSlot";
|
|
191782
|
+
section: {
|
|
191783
|
+
kind: "section";
|
|
191784
|
+
sectionId: string;
|
|
191785
|
+
};
|
|
191786
|
+
headerFooterKind: "header" | "footer";
|
|
191787
|
+
variant: "default" | "first" | "even";
|
|
191788
|
+
resolution?: "effective" | "explicit";
|
|
191789
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191790
|
+
}) | ({
|
|
191791
|
+
kind: "story";
|
|
191792
|
+
storyType: "headerFooterPart";
|
|
191793
|
+
refId: string;
|
|
191794
|
+
}) | ({
|
|
191795
|
+
kind: "story";
|
|
191796
|
+
storyType: "footnote";
|
|
191797
|
+
noteId: string;
|
|
191798
|
+
}) | ({
|
|
191799
|
+
kind: "story";
|
|
191800
|
+
storyType: "endnote";
|
|
191801
|
+
noteId: string;
|
|
191802
|
+
}) | ({
|
|
191803
|
+
kind: "story";
|
|
191804
|
+
storyType: "textbox";
|
|
191805
|
+
textboxId: string;
|
|
191806
|
+
});
|
|
191807
|
+
blockId: string;
|
|
191808
|
+
range: {
|
|
191809
|
+
start: number;
|
|
191810
|
+
end: number;
|
|
191811
|
+
};
|
|
191812
|
+
attributes: Record<string, unknown>;
|
|
191813
|
+
}) | ({
|
|
191814
|
+
kind: "paragraph";
|
|
191815
|
+
story: ({
|
|
191816
|
+
kind: "story";
|
|
191817
|
+
storyType: "body";
|
|
191818
|
+
}) | ({
|
|
191819
|
+
kind: "story";
|
|
191820
|
+
storyType: "headerFooterSlot";
|
|
191821
|
+
section: {
|
|
191822
|
+
kind: "section";
|
|
191823
|
+
sectionId: string;
|
|
191824
|
+
};
|
|
191825
|
+
headerFooterKind: "header" | "footer";
|
|
191826
|
+
variant: "default" | "first" | "even";
|
|
191827
|
+
resolution?: "effective" | "explicit";
|
|
191828
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191829
|
+
}) | ({
|
|
191830
|
+
kind: "story";
|
|
191831
|
+
storyType: "headerFooterPart";
|
|
191832
|
+
refId: string;
|
|
191833
|
+
}) | ({
|
|
191834
|
+
kind: "story";
|
|
191835
|
+
storyType: "footnote";
|
|
191836
|
+
noteId: string;
|
|
191837
|
+
}) | ({
|
|
191838
|
+
kind: "story";
|
|
191839
|
+
storyType: "endnote";
|
|
191840
|
+
noteId: string;
|
|
191841
|
+
}) | ({
|
|
191842
|
+
kind: "story";
|
|
191843
|
+
storyType: "textbox";
|
|
191844
|
+
textboxId: string;
|
|
191845
|
+
});
|
|
191846
|
+
blockId: string;
|
|
191847
|
+
properties: Record<string, unknown>;
|
|
191848
|
+
}) | ({
|
|
191849
|
+
kind: "split";
|
|
191850
|
+
story: ({
|
|
191851
|
+
kind: "story";
|
|
191852
|
+
storyType: "body";
|
|
191853
|
+
}) | ({
|
|
191854
|
+
kind: "story";
|
|
191855
|
+
storyType: "headerFooterSlot";
|
|
191856
|
+
section: {
|
|
191857
|
+
kind: "section";
|
|
191858
|
+
sectionId: string;
|
|
191859
|
+
};
|
|
191860
|
+
headerFooterKind: "header" | "footer";
|
|
191861
|
+
variant: "default" | "first" | "even";
|
|
191862
|
+
resolution?: "effective" | "explicit";
|
|
191863
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191864
|
+
}) | ({
|
|
191865
|
+
kind: "story";
|
|
191866
|
+
storyType: "headerFooterPart";
|
|
191867
|
+
refId: string;
|
|
191868
|
+
}) | ({
|
|
191869
|
+
kind: "story";
|
|
191870
|
+
storyType: "footnote";
|
|
191871
|
+
noteId: string;
|
|
191872
|
+
}) | ({
|
|
191873
|
+
kind: "story";
|
|
191874
|
+
storyType: "endnote";
|
|
191875
|
+
noteId: string;
|
|
191876
|
+
}) | ({
|
|
191877
|
+
kind: "story";
|
|
191878
|
+
storyType: "textbox";
|
|
191879
|
+
textboxId: string;
|
|
191880
|
+
});
|
|
191881
|
+
blockId: string;
|
|
191882
|
+
tailBlockId: string;
|
|
191883
|
+
offset: number;
|
|
191884
|
+
}) | ({
|
|
191885
|
+
kind: "merge";
|
|
191886
|
+
story: ({
|
|
191887
|
+
kind: "story";
|
|
191888
|
+
storyType: "body";
|
|
191889
|
+
}) | ({
|
|
191890
|
+
kind: "story";
|
|
191891
|
+
storyType: "headerFooterSlot";
|
|
191892
|
+
section: {
|
|
191893
|
+
kind: "section";
|
|
191894
|
+
sectionId: string;
|
|
191895
|
+
};
|
|
191896
|
+
headerFooterKind: "header" | "footer";
|
|
191897
|
+
variant: "default" | "first" | "even";
|
|
191898
|
+
resolution?: "effective" | "explicit";
|
|
191899
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191900
|
+
}) | ({
|
|
191901
|
+
kind: "story";
|
|
191902
|
+
storyType: "headerFooterPart";
|
|
191903
|
+
refId: string;
|
|
191904
|
+
}) | ({
|
|
191905
|
+
kind: "story";
|
|
191906
|
+
storyType: "footnote";
|
|
191907
|
+
noteId: string;
|
|
191908
|
+
}) | ({
|
|
191909
|
+
kind: "story";
|
|
191910
|
+
storyType: "endnote";
|
|
191911
|
+
noteId: string;
|
|
191912
|
+
}) | ({
|
|
191913
|
+
kind: "story";
|
|
191914
|
+
storyType: "textbox";
|
|
191915
|
+
textboxId: string;
|
|
191916
|
+
});
|
|
191917
|
+
blockId: string;
|
|
191918
|
+
mergedBlockId: string;
|
|
191919
|
+
}) | ({
|
|
191920
|
+
kind: "move";
|
|
191921
|
+
story: ({
|
|
191922
|
+
kind: "story";
|
|
191923
|
+
storyType: "body";
|
|
191924
|
+
}) | ({
|
|
191925
|
+
kind: "story";
|
|
191926
|
+
storyType: "headerFooterSlot";
|
|
191927
|
+
section: {
|
|
191928
|
+
kind: "section";
|
|
191929
|
+
sectionId: string;
|
|
191930
|
+
};
|
|
191931
|
+
headerFooterKind: "header" | "footer";
|
|
191932
|
+
variant: "default" | "first" | "even";
|
|
191933
|
+
resolution?: "effective" | "explicit";
|
|
191934
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191935
|
+
}) | ({
|
|
191936
|
+
kind: "story";
|
|
191937
|
+
storyType: "headerFooterPart";
|
|
191938
|
+
refId: string;
|
|
191939
|
+
}) | ({
|
|
191940
|
+
kind: "story";
|
|
191941
|
+
storyType: "footnote";
|
|
191942
|
+
noteId: string;
|
|
191943
|
+
}) | ({
|
|
191944
|
+
kind: "story";
|
|
191945
|
+
storyType: "endnote";
|
|
191946
|
+
noteId: string;
|
|
191947
|
+
}) | ({
|
|
191948
|
+
kind: "story";
|
|
191949
|
+
storyType: "textbox";
|
|
191950
|
+
textboxId: string;
|
|
191951
|
+
});
|
|
191952
|
+
blockId: string;
|
|
191953
|
+
afterBlockId: string | null;
|
|
191954
|
+
}) | ({
|
|
191955
|
+
kind: "create";
|
|
191956
|
+
story: ({
|
|
191957
|
+
kind: "story";
|
|
191958
|
+
storyType: "body";
|
|
191959
|
+
}) | ({
|
|
191960
|
+
kind: "story";
|
|
191961
|
+
storyType: "headerFooterSlot";
|
|
191962
|
+
section: {
|
|
191963
|
+
kind: "section";
|
|
191964
|
+
sectionId: string;
|
|
191965
|
+
};
|
|
191966
|
+
headerFooterKind: "header" | "footer";
|
|
191967
|
+
variant: "default" | "first" | "even";
|
|
191968
|
+
resolution?: "effective" | "explicit";
|
|
191969
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191970
|
+
}) | ({
|
|
191971
|
+
kind: "story";
|
|
191972
|
+
storyType: "headerFooterPart";
|
|
191973
|
+
refId: string;
|
|
191974
|
+
}) | ({
|
|
191975
|
+
kind: "story";
|
|
191976
|
+
storyType: "footnote";
|
|
191977
|
+
noteId: string;
|
|
191978
|
+
}) | ({
|
|
191979
|
+
kind: "story";
|
|
191980
|
+
storyType: "endnote";
|
|
191981
|
+
noteId: string;
|
|
191982
|
+
}) | ({
|
|
191983
|
+
kind: "story";
|
|
191984
|
+
storyType: "textbox";
|
|
191985
|
+
textboxId: string;
|
|
191986
|
+
});
|
|
191987
|
+
blockId: string;
|
|
191988
|
+
text: string;
|
|
191989
|
+
}) | ({
|
|
191990
|
+
kind: "remove";
|
|
191991
|
+
story: ({
|
|
191992
|
+
kind: "story";
|
|
191993
|
+
storyType: "body";
|
|
191994
|
+
}) | ({
|
|
191995
|
+
kind: "story";
|
|
191996
|
+
storyType: "headerFooterSlot";
|
|
191997
|
+
section: {
|
|
191998
|
+
kind: "section";
|
|
191999
|
+
sectionId: string;
|
|
192000
|
+
};
|
|
192001
|
+
headerFooterKind: "header" | "footer";
|
|
192002
|
+
variant: "default" | "first" | "even";
|
|
192003
|
+
resolution?: "effective" | "explicit";
|
|
192004
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192005
|
+
}) | ({
|
|
192006
|
+
kind: "story";
|
|
192007
|
+
storyType: "headerFooterPart";
|
|
192008
|
+
refId: string;
|
|
192009
|
+
}) | ({
|
|
192010
|
+
kind: "story";
|
|
192011
|
+
storyType: "footnote";
|
|
192012
|
+
noteId: string;
|
|
192013
|
+
}) | ({
|
|
192014
|
+
kind: "story";
|
|
192015
|
+
storyType: "endnote";
|
|
192016
|
+
noteId: string;
|
|
192017
|
+
}) | ({
|
|
192018
|
+
kind: "story";
|
|
192019
|
+
storyType: "textbox";
|
|
192020
|
+
textboxId: string;
|
|
192021
|
+
});
|
|
192022
|
+
blockId: string;
|
|
192023
|
+
text: string;
|
|
192024
|
+
}) | ({
|
|
192025
|
+
kind: "table";
|
|
192026
|
+
story: ({
|
|
192027
|
+
kind: "story";
|
|
192028
|
+
storyType: "body";
|
|
192029
|
+
}) | ({
|
|
192030
|
+
kind: "story";
|
|
192031
|
+
storyType: "headerFooterSlot";
|
|
192032
|
+
section: {
|
|
192033
|
+
kind: "section";
|
|
192034
|
+
sectionId: string;
|
|
192035
|
+
};
|
|
192036
|
+
headerFooterKind: "header" | "footer";
|
|
192037
|
+
variant: "default" | "first" | "even";
|
|
192038
|
+
resolution?: "effective" | "explicit";
|
|
192039
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192040
|
+
}) | ({
|
|
192041
|
+
kind: "story";
|
|
192042
|
+
storyType: "headerFooterPart";
|
|
192043
|
+
refId: string;
|
|
192044
|
+
}) | ({
|
|
192045
|
+
kind: "story";
|
|
192046
|
+
storyType: "footnote";
|
|
192047
|
+
noteId: string;
|
|
192048
|
+
}) | ({
|
|
192049
|
+
kind: "story";
|
|
192050
|
+
storyType: "endnote";
|
|
192051
|
+
noteId: string;
|
|
192052
|
+
}) | ({
|
|
192053
|
+
kind: "story";
|
|
192054
|
+
storyType: "textbox";
|
|
192055
|
+
textboxId: string;
|
|
192056
|
+
});
|
|
192057
|
+
tableId: string;
|
|
192058
|
+
detail: Record<string, unknown>;
|
|
192059
|
+
}) | ({
|
|
192060
|
+
kind: "sidecar";
|
|
192061
|
+
affects: "comment" | "trackedChange" | "bookmark";
|
|
192062
|
+
ids: Array<string>;
|
|
192063
|
+
})>;
|
|
192064
|
+
update?: string;
|
|
192065
|
+
}>;
|
|
192066
|
+
cursor: string | null;
|
|
192067
|
+
truncated: boolean;
|
|
192068
|
+
identity: "configured" | "missing";
|
|
192069
|
+
collaboration: boolean;
|
|
192070
|
+
};
|
|
192071
|
+
export type DocChangesGetResult = ({
|
|
192072
|
+
id: string;
|
|
192073
|
+
seq: number;
|
|
192074
|
+
revision: string;
|
|
192075
|
+
origin: "local" | "remote";
|
|
192076
|
+
actor: ({
|
|
192077
|
+
id: string | null;
|
|
192078
|
+
name?: string;
|
|
192079
|
+
email?: string;
|
|
192080
|
+
claim?: string;
|
|
192081
|
+
}) | null;
|
|
192082
|
+
contributors?: Array<{
|
|
192083
|
+
id: string | null;
|
|
192084
|
+
name?: string;
|
|
192085
|
+
email?: string;
|
|
192086
|
+
claim?: string;
|
|
192087
|
+
}>;
|
|
192088
|
+
actorType: "human" | "code" | null;
|
|
192089
|
+
cause: "user" | "api" | "undo" | "redo" | null;
|
|
192090
|
+
provenance: "authored" | "declared" | "relayed" | "unknown";
|
|
192091
|
+
at: {
|
|
192092
|
+
declared: string | null;
|
|
192093
|
+
observed: string;
|
|
192094
|
+
};
|
|
192095
|
+
session: {
|
|
192096
|
+
id: string | null;
|
|
192097
|
+
clientId: number;
|
|
192098
|
+
};
|
|
192099
|
+
changeTag?: string;
|
|
192100
|
+
changes: Array<({
|
|
192101
|
+
kind: "text";
|
|
192102
|
+
story: ({
|
|
192103
|
+
kind: "story";
|
|
192104
|
+
storyType: "body";
|
|
192105
|
+
}) | ({
|
|
192106
|
+
kind: "story";
|
|
192107
|
+
storyType: "headerFooterSlot";
|
|
192108
|
+
section: {
|
|
192109
|
+
kind: "section";
|
|
192110
|
+
sectionId: string;
|
|
192111
|
+
};
|
|
192112
|
+
headerFooterKind: "header" | "footer";
|
|
192113
|
+
variant: "default" | "first" | "even";
|
|
192114
|
+
resolution?: "effective" | "explicit";
|
|
192115
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192116
|
+
}) | ({
|
|
192117
|
+
kind: "story";
|
|
192118
|
+
storyType: "headerFooterPart";
|
|
192119
|
+
refId: string;
|
|
192120
|
+
}) | ({
|
|
192121
|
+
kind: "story";
|
|
192122
|
+
storyType: "footnote";
|
|
192123
|
+
noteId: string;
|
|
192124
|
+
}) | ({
|
|
192125
|
+
kind: "story";
|
|
192126
|
+
storyType: "endnote";
|
|
192127
|
+
noteId: string;
|
|
192128
|
+
}) | ({
|
|
192129
|
+
kind: "story";
|
|
192130
|
+
storyType: "textbox";
|
|
192131
|
+
textboxId: string;
|
|
192132
|
+
});
|
|
192133
|
+
blockId: string;
|
|
192134
|
+
range: {
|
|
192135
|
+
start: number;
|
|
192136
|
+
end: number;
|
|
192137
|
+
};
|
|
192138
|
+
inserted: string;
|
|
192139
|
+
deleted: string;
|
|
192140
|
+
}) | ({
|
|
192141
|
+
kind: "format";
|
|
192142
|
+
story: ({
|
|
192143
|
+
kind: "story";
|
|
192144
|
+
storyType: "body";
|
|
192145
|
+
}) | ({
|
|
192146
|
+
kind: "story";
|
|
192147
|
+
storyType: "headerFooterSlot";
|
|
192148
|
+
section: {
|
|
192149
|
+
kind: "section";
|
|
192150
|
+
sectionId: string;
|
|
192151
|
+
};
|
|
192152
|
+
headerFooterKind: "header" | "footer";
|
|
192153
|
+
variant: "default" | "first" | "even";
|
|
192154
|
+
resolution?: "effective" | "explicit";
|
|
192155
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192156
|
+
}) | ({
|
|
192157
|
+
kind: "story";
|
|
192158
|
+
storyType: "headerFooterPart";
|
|
192159
|
+
refId: string;
|
|
192160
|
+
}) | ({
|
|
192161
|
+
kind: "story";
|
|
192162
|
+
storyType: "footnote";
|
|
192163
|
+
noteId: string;
|
|
192164
|
+
}) | ({
|
|
192165
|
+
kind: "story";
|
|
192166
|
+
storyType: "endnote";
|
|
192167
|
+
noteId: string;
|
|
192168
|
+
}) | ({
|
|
192169
|
+
kind: "story";
|
|
192170
|
+
storyType: "textbox";
|
|
192171
|
+
textboxId: string;
|
|
192172
|
+
});
|
|
192173
|
+
blockId: string;
|
|
192174
|
+
range: {
|
|
192175
|
+
start: number;
|
|
192176
|
+
end: number;
|
|
192177
|
+
};
|
|
192178
|
+
attributes: Record<string, unknown>;
|
|
192179
|
+
}) | ({
|
|
192180
|
+
kind: "paragraph";
|
|
192181
|
+
story: ({
|
|
192182
|
+
kind: "story";
|
|
192183
|
+
storyType: "body";
|
|
192184
|
+
}) | ({
|
|
192185
|
+
kind: "story";
|
|
192186
|
+
storyType: "headerFooterSlot";
|
|
192187
|
+
section: {
|
|
192188
|
+
kind: "section";
|
|
192189
|
+
sectionId: string;
|
|
192190
|
+
};
|
|
192191
|
+
headerFooterKind: "header" | "footer";
|
|
192192
|
+
variant: "default" | "first" | "even";
|
|
192193
|
+
resolution?: "effective" | "explicit";
|
|
192194
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192195
|
+
}) | ({
|
|
192196
|
+
kind: "story";
|
|
192197
|
+
storyType: "headerFooterPart";
|
|
192198
|
+
refId: string;
|
|
192199
|
+
}) | ({
|
|
192200
|
+
kind: "story";
|
|
192201
|
+
storyType: "footnote";
|
|
192202
|
+
noteId: string;
|
|
192203
|
+
}) | ({
|
|
192204
|
+
kind: "story";
|
|
192205
|
+
storyType: "endnote";
|
|
192206
|
+
noteId: string;
|
|
192207
|
+
}) | ({
|
|
192208
|
+
kind: "story";
|
|
192209
|
+
storyType: "textbox";
|
|
192210
|
+
textboxId: string;
|
|
192211
|
+
});
|
|
192212
|
+
blockId: string;
|
|
192213
|
+
properties: Record<string, unknown>;
|
|
192214
|
+
}) | ({
|
|
192215
|
+
kind: "split";
|
|
192216
|
+
story: ({
|
|
192217
|
+
kind: "story";
|
|
192218
|
+
storyType: "body";
|
|
192219
|
+
}) | ({
|
|
192220
|
+
kind: "story";
|
|
192221
|
+
storyType: "headerFooterSlot";
|
|
192222
|
+
section: {
|
|
192223
|
+
kind: "section";
|
|
192224
|
+
sectionId: string;
|
|
192225
|
+
};
|
|
192226
|
+
headerFooterKind: "header" | "footer";
|
|
192227
|
+
variant: "default" | "first" | "even";
|
|
192228
|
+
resolution?: "effective" | "explicit";
|
|
192229
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192230
|
+
}) | ({
|
|
192231
|
+
kind: "story";
|
|
192232
|
+
storyType: "headerFooterPart";
|
|
192233
|
+
refId: string;
|
|
192234
|
+
}) | ({
|
|
192235
|
+
kind: "story";
|
|
192236
|
+
storyType: "footnote";
|
|
192237
|
+
noteId: string;
|
|
192238
|
+
}) | ({
|
|
192239
|
+
kind: "story";
|
|
192240
|
+
storyType: "endnote";
|
|
192241
|
+
noteId: string;
|
|
192242
|
+
}) | ({
|
|
192243
|
+
kind: "story";
|
|
192244
|
+
storyType: "textbox";
|
|
192245
|
+
textboxId: string;
|
|
192246
|
+
});
|
|
192247
|
+
blockId: string;
|
|
192248
|
+
tailBlockId: string;
|
|
192249
|
+
offset: number;
|
|
192250
|
+
}) | ({
|
|
192251
|
+
kind: "merge";
|
|
192252
|
+
story: ({
|
|
192253
|
+
kind: "story";
|
|
192254
|
+
storyType: "body";
|
|
192255
|
+
}) | ({
|
|
192256
|
+
kind: "story";
|
|
192257
|
+
storyType: "headerFooterSlot";
|
|
192258
|
+
section: {
|
|
192259
|
+
kind: "section";
|
|
192260
|
+
sectionId: string;
|
|
192261
|
+
};
|
|
192262
|
+
headerFooterKind: "header" | "footer";
|
|
192263
|
+
variant: "default" | "first" | "even";
|
|
192264
|
+
resolution?: "effective" | "explicit";
|
|
192265
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192266
|
+
}) | ({
|
|
192267
|
+
kind: "story";
|
|
192268
|
+
storyType: "headerFooterPart";
|
|
192269
|
+
refId: string;
|
|
192270
|
+
}) | ({
|
|
192271
|
+
kind: "story";
|
|
192272
|
+
storyType: "footnote";
|
|
192273
|
+
noteId: string;
|
|
192274
|
+
}) | ({
|
|
192275
|
+
kind: "story";
|
|
192276
|
+
storyType: "endnote";
|
|
192277
|
+
noteId: string;
|
|
192278
|
+
}) | ({
|
|
192279
|
+
kind: "story";
|
|
192280
|
+
storyType: "textbox";
|
|
192281
|
+
textboxId: string;
|
|
192282
|
+
});
|
|
192283
|
+
blockId: string;
|
|
192284
|
+
mergedBlockId: string;
|
|
192285
|
+
}) | ({
|
|
192286
|
+
kind: "move";
|
|
192287
|
+
story: ({
|
|
192288
|
+
kind: "story";
|
|
192289
|
+
storyType: "body";
|
|
192290
|
+
}) | ({
|
|
192291
|
+
kind: "story";
|
|
192292
|
+
storyType: "headerFooterSlot";
|
|
192293
|
+
section: {
|
|
192294
|
+
kind: "section";
|
|
192295
|
+
sectionId: string;
|
|
192296
|
+
};
|
|
192297
|
+
headerFooterKind: "header" | "footer";
|
|
192298
|
+
variant: "default" | "first" | "even";
|
|
192299
|
+
resolution?: "effective" | "explicit";
|
|
192300
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192301
|
+
}) | ({
|
|
192302
|
+
kind: "story";
|
|
192303
|
+
storyType: "headerFooterPart";
|
|
192304
|
+
refId: string;
|
|
192305
|
+
}) | ({
|
|
192306
|
+
kind: "story";
|
|
192307
|
+
storyType: "footnote";
|
|
192308
|
+
noteId: string;
|
|
192309
|
+
}) | ({
|
|
192310
|
+
kind: "story";
|
|
192311
|
+
storyType: "endnote";
|
|
192312
|
+
noteId: string;
|
|
192313
|
+
}) | ({
|
|
192314
|
+
kind: "story";
|
|
192315
|
+
storyType: "textbox";
|
|
192316
|
+
textboxId: string;
|
|
192317
|
+
});
|
|
192318
|
+
blockId: string;
|
|
192319
|
+
afterBlockId: string | null;
|
|
192320
|
+
}) | ({
|
|
192321
|
+
kind: "create";
|
|
192322
|
+
story: ({
|
|
192323
|
+
kind: "story";
|
|
192324
|
+
storyType: "body";
|
|
192325
|
+
}) | ({
|
|
192326
|
+
kind: "story";
|
|
192327
|
+
storyType: "headerFooterSlot";
|
|
192328
|
+
section: {
|
|
192329
|
+
kind: "section";
|
|
192330
|
+
sectionId: string;
|
|
192331
|
+
};
|
|
192332
|
+
headerFooterKind: "header" | "footer";
|
|
192333
|
+
variant: "default" | "first" | "even";
|
|
192334
|
+
resolution?: "effective" | "explicit";
|
|
192335
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192336
|
+
}) | ({
|
|
192337
|
+
kind: "story";
|
|
192338
|
+
storyType: "headerFooterPart";
|
|
192339
|
+
refId: string;
|
|
192340
|
+
}) | ({
|
|
192341
|
+
kind: "story";
|
|
192342
|
+
storyType: "footnote";
|
|
192343
|
+
noteId: string;
|
|
192344
|
+
}) | ({
|
|
192345
|
+
kind: "story";
|
|
192346
|
+
storyType: "endnote";
|
|
192347
|
+
noteId: string;
|
|
192348
|
+
}) | ({
|
|
192349
|
+
kind: "story";
|
|
192350
|
+
storyType: "textbox";
|
|
192351
|
+
textboxId: string;
|
|
192352
|
+
});
|
|
192353
|
+
blockId: string;
|
|
192354
|
+
text: string;
|
|
192355
|
+
}) | ({
|
|
192356
|
+
kind: "remove";
|
|
192357
|
+
story: ({
|
|
192358
|
+
kind: "story";
|
|
192359
|
+
storyType: "body";
|
|
192360
|
+
}) | ({
|
|
192361
|
+
kind: "story";
|
|
192362
|
+
storyType: "headerFooterSlot";
|
|
192363
|
+
section: {
|
|
192364
|
+
kind: "section";
|
|
192365
|
+
sectionId: string;
|
|
192366
|
+
};
|
|
192367
|
+
headerFooterKind: "header" | "footer";
|
|
192368
|
+
variant: "default" | "first" | "even";
|
|
192369
|
+
resolution?: "effective" | "explicit";
|
|
192370
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192371
|
+
}) | ({
|
|
192372
|
+
kind: "story";
|
|
192373
|
+
storyType: "headerFooterPart";
|
|
192374
|
+
refId: string;
|
|
192375
|
+
}) | ({
|
|
192376
|
+
kind: "story";
|
|
192377
|
+
storyType: "footnote";
|
|
192378
|
+
noteId: string;
|
|
192379
|
+
}) | ({
|
|
192380
|
+
kind: "story";
|
|
192381
|
+
storyType: "endnote";
|
|
192382
|
+
noteId: string;
|
|
192383
|
+
}) | ({
|
|
192384
|
+
kind: "story";
|
|
192385
|
+
storyType: "textbox";
|
|
192386
|
+
textboxId: string;
|
|
192387
|
+
});
|
|
192388
|
+
blockId: string;
|
|
192389
|
+
text: string;
|
|
192390
|
+
}) | ({
|
|
192391
|
+
kind: "table";
|
|
192392
|
+
story: ({
|
|
192393
|
+
kind: "story";
|
|
192394
|
+
storyType: "body";
|
|
192395
|
+
}) | ({
|
|
192396
|
+
kind: "story";
|
|
192397
|
+
storyType: "headerFooterSlot";
|
|
192398
|
+
section: {
|
|
192399
|
+
kind: "section";
|
|
192400
|
+
sectionId: string;
|
|
192401
|
+
};
|
|
192402
|
+
headerFooterKind: "header" | "footer";
|
|
192403
|
+
variant: "default" | "first" | "even";
|
|
192404
|
+
resolution?: "effective" | "explicit";
|
|
192405
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192406
|
+
}) | ({
|
|
192407
|
+
kind: "story";
|
|
192408
|
+
storyType: "headerFooterPart";
|
|
192409
|
+
refId: string;
|
|
192410
|
+
}) | ({
|
|
192411
|
+
kind: "story";
|
|
192412
|
+
storyType: "footnote";
|
|
192413
|
+
noteId: string;
|
|
192414
|
+
}) | ({
|
|
192415
|
+
kind: "story";
|
|
192416
|
+
storyType: "endnote";
|
|
192417
|
+
noteId: string;
|
|
192418
|
+
}) | ({
|
|
192419
|
+
kind: "story";
|
|
192420
|
+
storyType: "textbox";
|
|
192421
|
+
textboxId: string;
|
|
192422
|
+
});
|
|
192423
|
+
tableId: string;
|
|
192424
|
+
detail: Record<string, unknown>;
|
|
192425
|
+
}) | ({
|
|
192426
|
+
kind: "sidecar";
|
|
192427
|
+
affects: "comment" | "trackedChange" | "bookmark";
|
|
192428
|
+
ids: Array<string>;
|
|
192429
|
+
})>;
|
|
192430
|
+
update?: string;
|
|
192431
|
+
}) | null;
|
|
192432
|
+
export type DocChangesResolveResult = {
|
|
192433
|
+
blockId: string;
|
|
192434
|
+
lineage: Array<string>;
|
|
192435
|
+
items: Array<{
|
|
192436
|
+
id: string;
|
|
192437
|
+
seq: number;
|
|
192438
|
+
revision: string;
|
|
192439
|
+
origin: "local" | "remote";
|
|
192440
|
+
actor: ({
|
|
192441
|
+
id: string | null;
|
|
192442
|
+
name?: string;
|
|
192443
|
+
email?: string;
|
|
192444
|
+
claim?: string;
|
|
192445
|
+
}) | null;
|
|
192446
|
+
contributors?: Array<{
|
|
192447
|
+
id: string | null;
|
|
192448
|
+
name?: string;
|
|
192449
|
+
email?: string;
|
|
192450
|
+
claim?: string;
|
|
192451
|
+
}>;
|
|
192452
|
+
actorType: "human" | "code" | null;
|
|
192453
|
+
cause: "user" | "api" | "undo" | "redo" | null;
|
|
192454
|
+
provenance: "authored" | "declared" | "relayed" | "unknown";
|
|
192455
|
+
at: {
|
|
192456
|
+
declared: string | null;
|
|
192457
|
+
observed: string;
|
|
192458
|
+
};
|
|
192459
|
+
session: {
|
|
192460
|
+
id: string | null;
|
|
192461
|
+
clientId: number;
|
|
192462
|
+
};
|
|
192463
|
+
changeTag?: string;
|
|
192464
|
+
changes: Array<({
|
|
192465
|
+
kind: "text";
|
|
192466
|
+
story: ({
|
|
192467
|
+
kind: "story";
|
|
192468
|
+
storyType: "body";
|
|
192469
|
+
}) | ({
|
|
192470
|
+
kind: "story";
|
|
192471
|
+
storyType: "headerFooterSlot";
|
|
192472
|
+
section: {
|
|
192473
|
+
kind: "section";
|
|
192474
|
+
sectionId: string;
|
|
192475
|
+
};
|
|
192476
|
+
headerFooterKind: "header" | "footer";
|
|
192477
|
+
variant: "default" | "first" | "even";
|
|
192478
|
+
resolution?: "effective" | "explicit";
|
|
192479
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192480
|
+
}) | ({
|
|
192481
|
+
kind: "story";
|
|
192482
|
+
storyType: "headerFooterPart";
|
|
192483
|
+
refId: string;
|
|
192484
|
+
}) | ({
|
|
192485
|
+
kind: "story";
|
|
192486
|
+
storyType: "footnote";
|
|
192487
|
+
noteId: string;
|
|
192488
|
+
}) | ({
|
|
192489
|
+
kind: "story";
|
|
192490
|
+
storyType: "endnote";
|
|
192491
|
+
noteId: string;
|
|
192492
|
+
}) | ({
|
|
192493
|
+
kind: "story";
|
|
192494
|
+
storyType: "textbox";
|
|
192495
|
+
textboxId: string;
|
|
192496
|
+
});
|
|
192497
|
+
blockId: string;
|
|
192498
|
+
range: {
|
|
192499
|
+
start: number;
|
|
192500
|
+
end: number;
|
|
192501
|
+
};
|
|
192502
|
+
inserted: string;
|
|
192503
|
+
deleted: string;
|
|
192504
|
+
}) | ({
|
|
192505
|
+
kind: "format";
|
|
192506
|
+
story: ({
|
|
192507
|
+
kind: "story";
|
|
192508
|
+
storyType: "body";
|
|
192509
|
+
}) | ({
|
|
192510
|
+
kind: "story";
|
|
192511
|
+
storyType: "headerFooterSlot";
|
|
192512
|
+
section: {
|
|
192513
|
+
kind: "section";
|
|
192514
|
+
sectionId: string;
|
|
192515
|
+
};
|
|
192516
|
+
headerFooterKind: "header" | "footer";
|
|
192517
|
+
variant: "default" | "first" | "even";
|
|
192518
|
+
resolution?: "effective" | "explicit";
|
|
192519
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192520
|
+
}) | ({
|
|
192521
|
+
kind: "story";
|
|
192522
|
+
storyType: "headerFooterPart";
|
|
192523
|
+
refId: string;
|
|
192524
|
+
}) | ({
|
|
192525
|
+
kind: "story";
|
|
192526
|
+
storyType: "footnote";
|
|
192527
|
+
noteId: string;
|
|
192528
|
+
}) | ({
|
|
192529
|
+
kind: "story";
|
|
192530
|
+
storyType: "endnote";
|
|
192531
|
+
noteId: string;
|
|
192532
|
+
}) | ({
|
|
192533
|
+
kind: "story";
|
|
192534
|
+
storyType: "textbox";
|
|
192535
|
+
textboxId: string;
|
|
192536
|
+
});
|
|
192537
|
+
blockId: string;
|
|
192538
|
+
range: {
|
|
192539
|
+
start: number;
|
|
192540
|
+
end: number;
|
|
192541
|
+
};
|
|
192542
|
+
attributes: Record<string, unknown>;
|
|
192543
|
+
}) | ({
|
|
192544
|
+
kind: "paragraph";
|
|
192545
|
+
story: ({
|
|
192546
|
+
kind: "story";
|
|
192547
|
+
storyType: "body";
|
|
192548
|
+
}) | ({
|
|
192549
|
+
kind: "story";
|
|
192550
|
+
storyType: "headerFooterSlot";
|
|
192551
|
+
section: {
|
|
192552
|
+
kind: "section";
|
|
192553
|
+
sectionId: string;
|
|
192554
|
+
};
|
|
192555
|
+
headerFooterKind: "header" | "footer";
|
|
192556
|
+
variant: "default" | "first" | "even";
|
|
192557
|
+
resolution?: "effective" | "explicit";
|
|
192558
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192559
|
+
}) | ({
|
|
192560
|
+
kind: "story";
|
|
192561
|
+
storyType: "headerFooterPart";
|
|
192562
|
+
refId: string;
|
|
192563
|
+
}) | ({
|
|
192564
|
+
kind: "story";
|
|
192565
|
+
storyType: "footnote";
|
|
192566
|
+
noteId: string;
|
|
192567
|
+
}) | ({
|
|
192568
|
+
kind: "story";
|
|
192569
|
+
storyType: "endnote";
|
|
192570
|
+
noteId: string;
|
|
192571
|
+
}) | ({
|
|
192572
|
+
kind: "story";
|
|
192573
|
+
storyType: "textbox";
|
|
192574
|
+
textboxId: string;
|
|
192575
|
+
});
|
|
192576
|
+
blockId: string;
|
|
192577
|
+
properties: Record<string, unknown>;
|
|
192578
|
+
}) | ({
|
|
192579
|
+
kind: "split";
|
|
192580
|
+
story: ({
|
|
192581
|
+
kind: "story";
|
|
192582
|
+
storyType: "body";
|
|
192583
|
+
}) | ({
|
|
192584
|
+
kind: "story";
|
|
192585
|
+
storyType: "headerFooterSlot";
|
|
192586
|
+
section: {
|
|
192587
|
+
kind: "section";
|
|
192588
|
+
sectionId: string;
|
|
192589
|
+
};
|
|
192590
|
+
headerFooterKind: "header" | "footer";
|
|
192591
|
+
variant: "default" | "first" | "even";
|
|
192592
|
+
resolution?: "effective" | "explicit";
|
|
192593
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192594
|
+
}) | ({
|
|
192595
|
+
kind: "story";
|
|
192596
|
+
storyType: "headerFooterPart";
|
|
192597
|
+
refId: string;
|
|
192598
|
+
}) | ({
|
|
192599
|
+
kind: "story";
|
|
192600
|
+
storyType: "footnote";
|
|
192601
|
+
noteId: string;
|
|
192602
|
+
}) | ({
|
|
192603
|
+
kind: "story";
|
|
192604
|
+
storyType: "endnote";
|
|
192605
|
+
noteId: string;
|
|
192606
|
+
}) | ({
|
|
192607
|
+
kind: "story";
|
|
192608
|
+
storyType: "textbox";
|
|
192609
|
+
textboxId: string;
|
|
192610
|
+
});
|
|
192611
|
+
blockId: string;
|
|
192612
|
+
tailBlockId: string;
|
|
192613
|
+
offset: number;
|
|
192614
|
+
}) | ({
|
|
192615
|
+
kind: "merge";
|
|
192616
|
+
story: ({
|
|
192617
|
+
kind: "story";
|
|
192618
|
+
storyType: "body";
|
|
192619
|
+
}) | ({
|
|
192620
|
+
kind: "story";
|
|
192621
|
+
storyType: "headerFooterSlot";
|
|
192622
|
+
section: {
|
|
192623
|
+
kind: "section";
|
|
192624
|
+
sectionId: string;
|
|
192625
|
+
};
|
|
192626
|
+
headerFooterKind: "header" | "footer";
|
|
192627
|
+
variant: "default" | "first" | "even";
|
|
192628
|
+
resolution?: "effective" | "explicit";
|
|
192629
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192630
|
+
}) | ({
|
|
192631
|
+
kind: "story";
|
|
192632
|
+
storyType: "headerFooterPart";
|
|
192633
|
+
refId: string;
|
|
192634
|
+
}) | ({
|
|
192635
|
+
kind: "story";
|
|
192636
|
+
storyType: "footnote";
|
|
192637
|
+
noteId: string;
|
|
192638
|
+
}) | ({
|
|
192639
|
+
kind: "story";
|
|
192640
|
+
storyType: "endnote";
|
|
192641
|
+
noteId: string;
|
|
192642
|
+
}) | ({
|
|
192643
|
+
kind: "story";
|
|
192644
|
+
storyType: "textbox";
|
|
192645
|
+
textboxId: string;
|
|
192646
|
+
});
|
|
192647
|
+
blockId: string;
|
|
192648
|
+
mergedBlockId: string;
|
|
192649
|
+
}) | ({
|
|
192650
|
+
kind: "move";
|
|
192651
|
+
story: ({
|
|
192652
|
+
kind: "story";
|
|
192653
|
+
storyType: "body";
|
|
192654
|
+
}) | ({
|
|
192655
|
+
kind: "story";
|
|
192656
|
+
storyType: "headerFooterSlot";
|
|
192657
|
+
section: {
|
|
192658
|
+
kind: "section";
|
|
192659
|
+
sectionId: string;
|
|
192660
|
+
};
|
|
192661
|
+
headerFooterKind: "header" | "footer";
|
|
192662
|
+
variant: "default" | "first" | "even";
|
|
192663
|
+
resolution?: "effective" | "explicit";
|
|
192664
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192665
|
+
}) | ({
|
|
192666
|
+
kind: "story";
|
|
192667
|
+
storyType: "headerFooterPart";
|
|
192668
|
+
refId: string;
|
|
192669
|
+
}) | ({
|
|
192670
|
+
kind: "story";
|
|
192671
|
+
storyType: "footnote";
|
|
192672
|
+
noteId: string;
|
|
192673
|
+
}) | ({
|
|
192674
|
+
kind: "story";
|
|
192675
|
+
storyType: "endnote";
|
|
192676
|
+
noteId: string;
|
|
192677
|
+
}) | ({
|
|
192678
|
+
kind: "story";
|
|
192679
|
+
storyType: "textbox";
|
|
192680
|
+
textboxId: string;
|
|
192681
|
+
});
|
|
192682
|
+
blockId: string;
|
|
192683
|
+
afterBlockId: string | null;
|
|
192684
|
+
}) | ({
|
|
192685
|
+
kind: "create";
|
|
192686
|
+
story: ({
|
|
192687
|
+
kind: "story";
|
|
192688
|
+
storyType: "body";
|
|
192689
|
+
}) | ({
|
|
192690
|
+
kind: "story";
|
|
192691
|
+
storyType: "headerFooterSlot";
|
|
192692
|
+
section: {
|
|
192693
|
+
kind: "section";
|
|
192694
|
+
sectionId: string;
|
|
192695
|
+
};
|
|
192696
|
+
headerFooterKind: "header" | "footer";
|
|
192697
|
+
variant: "default" | "first" | "even";
|
|
192698
|
+
resolution?: "effective" | "explicit";
|
|
192699
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192700
|
+
}) | ({
|
|
192701
|
+
kind: "story";
|
|
192702
|
+
storyType: "headerFooterPart";
|
|
192703
|
+
refId: string;
|
|
192704
|
+
}) | ({
|
|
192705
|
+
kind: "story";
|
|
192706
|
+
storyType: "footnote";
|
|
192707
|
+
noteId: string;
|
|
192708
|
+
}) | ({
|
|
192709
|
+
kind: "story";
|
|
192710
|
+
storyType: "endnote";
|
|
192711
|
+
noteId: string;
|
|
192712
|
+
}) | ({
|
|
192713
|
+
kind: "story";
|
|
192714
|
+
storyType: "textbox";
|
|
192715
|
+
textboxId: string;
|
|
192716
|
+
});
|
|
192717
|
+
blockId: string;
|
|
192718
|
+
text: string;
|
|
192719
|
+
}) | ({
|
|
192720
|
+
kind: "remove";
|
|
192721
|
+
story: ({
|
|
192722
|
+
kind: "story";
|
|
192723
|
+
storyType: "body";
|
|
192724
|
+
}) | ({
|
|
192725
|
+
kind: "story";
|
|
192726
|
+
storyType: "headerFooterSlot";
|
|
192727
|
+
section: {
|
|
192728
|
+
kind: "section";
|
|
192729
|
+
sectionId: string;
|
|
192730
|
+
};
|
|
192731
|
+
headerFooterKind: "header" | "footer";
|
|
192732
|
+
variant: "default" | "first" | "even";
|
|
192733
|
+
resolution?: "effective" | "explicit";
|
|
192734
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
192735
|
+
}) | ({
|
|
192736
|
+
kind: "story";
|
|
192737
|
+
storyType: "headerFooterPart";
|
|
192738
|
+
refId: string;
|
|
192739
|
+
}) | ({
|
|
192740
|
+
kind: "story";
|
|
192741
|
+
storyType: "footnote";
|
|
192742
|
+
noteId: string;
|
|
192743
|
+
}) | ({
|
|
192744
|
+
kind: "story";
|
|
192745
|
+
storyType: "endnote";
|
|
192746
|
+
noteId: string;
|
|
192747
|
+
}) | ({
|
|
192748
|
+
kind: "story";
|
|
192749
|
+
storyType: "textbox";
|
|
192750
|
+
textboxId: string;
|
|
192751
|
+
});
|
|
191365
192752
|
blockId: string;
|
|
191366
|
-
|
|
191367
|
-
start: number;
|
|
191368
|
-
end: number;
|
|
191369
|
-
};
|
|
191370
|
-
story?: ({
|
|
191371
|
-
kind: "story";
|
|
191372
|
-
storyType: "body";
|
|
191373
|
-
}) | ({
|
|
191374
|
-
kind: "story";
|
|
191375
|
-
storyType: "headerFooterSlot";
|
|
191376
|
-
section: {
|
|
191377
|
-
kind: "section";
|
|
191378
|
-
sectionId: string;
|
|
191379
|
-
};
|
|
191380
|
-
headerFooterKind: "header" | "footer";
|
|
191381
|
-
variant: "default" | "first" | "even";
|
|
191382
|
-
resolution?: "effective" | "explicit";
|
|
191383
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191384
|
-
}) | ({
|
|
191385
|
-
kind: "story";
|
|
191386
|
-
storyType: "headerFooterPart";
|
|
191387
|
-
refId: string;
|
|
191388
|
-
}) | ({
|
|
191389
|
-
kind: "story";
|
|
191390
|
-
storyType: "footnote";
|
|
191391
|
-
noteId: string;
|
|
191392
|
-
}) | ({
|
|
191393
|
-
kind: "story";
|
|
191394
|
-
storyType: "endnote";
|
|
191395
|
-
noteId: string;
|
|
191396
|
-
}) | ({
|
|
191397
|
-
kind: "story";
|
|
191398
|
-
storyType: "textbox";
|
|
191399
|
-
textboxId: string;
|
|
191400
|
-
});
|
|
191401
|
-
}) | ({
|
|
191402
|
-
kind: "entity";
|
|
191403
|
-
entityType: "bookmark";
|
|
191404
|
-
name: string;
|
|
191405
|
-
story?: ({
|
|
191406
|
-
kind: "story";
|
|
191407
|
-
storyType: "body";
|
|
191408
|
-
}) | ({
|
|
191409
|
-
kind: "story";
|
|
191410
|
-
storyType: "headerFooterSlot";
|
|
191411
|
-
section: {
|
|
191412
|
-
kind: "section";
|
|
191413
|
-
sectionId: string;
|
|
191414
|
-
};
|
|
191415
|
-
headerFooterKind: "header" | "footer";
|
|
191416
|
-
variant: "default" | "first" | "even";
|
|
191417
|
-
resolution?: "effective" | "explicit";
|
|
191418
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191419
|
-
}) | ({
|
|
191420
|
-
kind: "story";
|
|
191421
|
-
storyType: "headerFooterPart";
|
|
191422
|
-
refId: string;
|
|
191423
|
-
}) | ({
|
|
191424
|
-
kind: "story";
|
|
191425
|
-
storyType: "footnote";
|
|
191426
|
-
noteId: string;
|
|
191427
|
-
}) | ({
|
|
191428
|
-
kind: "story";
|
|
191429
|
-
storyType: "endnote";
|
|
191430
|
-
noteId: string;
|
|
191431
|
-
}) | ({
|
|
191432
|
-
kind: "story";
|
|
191433
|
-
storyType: "textbox";
|
|
191434
|
-
textboxId: string;
|
|
191435
|
-
});
|
|
191436
|
-
}) | ({
|
|
191437
|
-
kind: "entity";
|
|
191438
|
-
entityType: "comment";
|
|
191439
|
-
entityId: string;
|
|
192753
|
+
text: string;
|
|
191440
192754
|
}) | ({
|
|
191441
|
-
kind: "
|
|
191442
|
-
|
|
191443
|
-
entityId: string;
|
|
191444
|
-
story?: ({
|
|
192755
|
+
kind: "table";
|
|
192756
|
+
story: ({
|
|
191445
192757
|
kind: "story";
|
|
191446
192758
|
storyType: "body";
|
|
191447
192759
|
}) | ({
|
|
@@ -191472,130 +192784,34 @@ export type DocHistoryRedoResult = {
|
|
|
191472
192784
|
storyType: "textbox";
|
|
191473
192785
|
textboxId: string;
|
|
191474
192786
|
});
|
|
192787
|
+
tableId: string;
|
|
192788
|
+
detail: Record<string, unknown>;
|
|
191475
192789
|
}) | ({
|
|
191476
|
-
kind: "
|
|
191477
|
-
|
|
191478
|
-
|
|
191479
|
-
})
|
|
191480
|
-
|
|
191481
|
-
affectedStories?: Array<({
|
|
191482
|
-
kind: "story";
|
|
191483
|
-
storyType: "body";
|
|
191484
|
-
}) | ({
|
|
191485
|
-
kind: "story";
|
|
191486
|
-
storyType: "headerFooterSlot";
|
|
191487
|
-
section: {
|
|
191488
|
-
kind: "section";
|
|
191489
|
-
sectionId: string;
|
|
191490
|
-
};
|
|
191491
|
-
headerFooterKind: "header" | "footer";
|
|
191492
|
-
variant: "default" | "first" | "even";
|
|
191493
|
-
resolution?: "effective" | "explicit";
|
|
191494
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191495
|
-
}) | ({
|
|
191496
|
-
kind: "story";
|
|
191497
|
-
storyType: "headerFooterPart";
|
|
191498
|
-
refId: string;
|
|
191499
|
-
}) | ({
|
|
191500
|
-
kind: "story";
|
|
191501
|
-
storyType: "footnote";
|
|
191502
|
-
noteId: string;
|
|
191503
|
-
}) | ({
|
|
191504
|
-
kind: "story";
|
|
191505
|
-
storyType: "endnote";
|
|
191506
|
-
noteId: string;
|
|
191507
|
-
}) | ({
|
|
191508
|
-
kind: "story";
|
|
191509
|
-
storyType: "textbox";
|
|
191510
|
-
textboxId: string;
|
|
191511
|
-
})>;
|
|
191512
|
-
textRangeShifts?: Array<{
|
|
191513
|
-
story: ({
|
|
191514
|
-
kind: "story";
|
|
191515
|
-
storyType: "body";
|
|
191516
|
-
}) | ({
|
|
191517
|
-
kind: "story";
|
|
191518
|
-
storyType: "headerFooterSlot";
|
|
191519
|
-
section: {
|
|
191520
|
-
kind: "section";
|
|
191521
|
-
sectionId: string;
|
|
191522
|
-
};
|
|
191523
|
-
headerFooterKind: "header" | "footer";
|
|
191524
|
-
variant: "default" | "first" | "even";
|
|
191525
|
-
resolution?: "effective" | "explicit";
|
|
191526
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191527
|
-
}) | ({
|
|
191528
|
-
kind: "story";
|
|
191529
|
-
storyType: "headerFooterPart";
|
|
191530
|
-
refId: string;
|
|
191531
|
-
}) | ({
|
|
191532
|
-
kind: "story";
|
|
191533
|
-
storyType: "footnote";
|
|
191534
|
-
noteId: string;
|
|
191535
|
-
}) | ({
|
|
191536
|
-
kind: "story";
|
|
191537
|
-
storyType: "endnote";
|
|
191538
|
-
noteId: string;
|
|
191539
|
-
}) | ({
|
|
191540
|
-
kind: "story";
|
|
191541
|
-
storyType: "textbox";
|
|
191542
|
-
textboxId: string;
|
|
191543
|
-
});
|
|
191544
|
-
atChar: number;
|
|
191545
|
-
blockId?: string;
|
|
191546
|
-
atCharInBlock?: number;
|
|
191547
|
-
delta: number;
|
|
191548
|
-
replacedLength?: number;
|
|
192790
|
+
kind: "sidecar";
|
|
192791
|
+
affects: "comment" | "trackedChange" | "bookmark";
|
|
192792
|
+
ids: Array<string>;
|
|
192793
|
+
})>;
|
|
192794
|
+
update?: string;
|
|
191549
192795
|
}>;
|
|
191550
|
-
|
|
191551
|
-
|
|
191552
|
-
|
|
191553
|
-
|
|
191554
|
-
|
|
191555
|
-
|
|
191556
|
-
|
|
191557
|
-
|
|
191558
|
-
|
|
191559
|
-
|
|
191560
|
-
};
|
|
191561
|
-
headerFooterKind: "header" | "footer";
|
|
191562
|
-
variant: "default" | "first" | "even";
|
|
191563
|
-
resolution?: "effective" | "explicit";
|
|
191564
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
191565
|
-
}) | ({
|
|
191566
|
-
kind: "story";
|
|
191567
|
-
storyType: "headerFooterPart";
|
|
191568
|
-
refId: string;
|
|
191569
|
-
}) | ({
|
|
191570
|
-
kind: "story";
|
|
191571
|
-
storyType: "footnote";
|
|
191572
|
-
noteId: string;
|
|
191573
|
-
}) | ({
|
|
191574
|
-
kind: "story";
|
|
191575
|
-
storyType: "endnote";
|
|
191576
|
-
noteId: string;
|
|
191577
|
-
}) | ({
|
|
191578
|
-
kind: "story";
|
|
191579
|
-
storyType: "textbox";
|
|
191580
|
-
textboxId: string;
|
|
191581
|
-
});
|
|
191582
|
-
blockId: string;
|
|
191583
|
-
atCharInBlock: number;
|
|
191584
|
-
delta: number;
|
|
192796
|
+
};
|
|
192797
|
+
export type DocChangesActorsResult = {
|
|
192798
|
+
items: Array<{
|
|
192799
|
+
clientId: number;
|
|
192800
|
+
actorId: string | null;
|
|
192801
|
+
name?: string;
|
|
192802
|
+
email?: string;
|
|
192803
|
+
sessionId: string;
|
|
192804
|
+
declaredAt: string;
|
|
192805
|
+
claim?: string;
|
|
191585
192806
|
}>;
|
|
191586
|
-
|
|
191587
|
-
|
|
191588
|
-
|
|
191589
|
-
|
|
191590
|
-
|
|
191591
|
-
|
|
191592
|
-
|
|
191593
|
-
|
|
191594
|
-
mode: "session-local" | "single-shard" | "journaled-multi-shard";
|
|
191595
|
-
undoGroupId?: string;
|
|
191596
|
-
opId?: string;
|
|
191597
|
-
affectedShards?: Array<string>;
|
|
191598
|
-
};
|
|
192807
|
+
};
|
|
192808
|
+
export type DocChangesSnapshotResult = {
|
|
192809
|
+
revision: string;
|
|
192810
|
+
cursor: string | null;
|
|
192811
|
+
lastChangeId: string | null;
|
|
192812
|
+
stateVector: string;
|
|
192813
|
+
state?: string;
|
|
192814
|
+
at: string;
|
|
191599
192815
|
};
|
|
191600
192816
|
export type DocCreateImageResult = {
|
|
191601
192817
|
status?: "NO_OP";
|
|
@@ -283959,7 +285175,7 @@ export type DocDiffCompareResult = {
|
|
|
283959
285175
|
export type DocDiffApplyResult = {
|
|
283960
285176
|
appliedOperations: number;
|
|
283961
285177
|
styleChanges?: {
|
|
283962
|
-
changeMode: "direct";
|
|
285178
|
+
changeMode: "direct" | "tracked";
|
|
283963
285179
|
partUris: Array<string>;
|
|
283964
285180
|
};
|
|
283965
285181
|
operationReceipts: Array<({
|
|
@@ -309711,7 +310927,7 @@ export interface DocCapabilitiesCheckBoundParams {
|
|
|
309711
310927
|
});
|
|
309712
310928
|
}
|
|
309713
310929
|
export interface DocCapabilitiesResolveBoundParams {
|
|
309714
|
-
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "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";
|
|
310930
|
+
operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "format.readSelection" | "styles.apply" | "styles.create" | "styles.getCatalog" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
|
|
309715
310931
|
input?: unknown;
|
|
309716
310932
|
options?: unknown;
|
|
309717
310933
|
}
|
|
@@ -311199,6 +312415,57 @@ export interface DocHistoryRedoBoundParams {
|
|
|
311199
312415
|
expectedRevision?: string;
|
|
311200
312416
|
changeMode?: string;
|
|
311201
312417
|
}
|
|
312418
|
+
export interface DocChangesListBoundParams {
|
|
312419
|
+
after?: string;
|
|
312420
|
+
limit?: number;
|
|
312421
|
+
story?: ({
|
|
312422
|
+
kind: "story";
|
|
312423
|
+
storyType: "body";
|
|
312424
|
+
}) | ({
|
|
312425
|
+
kind: "story";
|
|
312426
|
+
storyType: "headerFooterSlot";
|
|
312427
|
+
section: {
|
|
312428
|
+
kind: "section";
|
|
312429
|
+
sectionId: string;
|
|
312430
|
+
};
|
|
312431
|
+
headerFooterKind: "header" | "footer";
|
|
312432
|
+
variant: "default" | "first" | "even";
|
|
312433
|
+
resolution?: "effective" | "explicit";
|
|
312434
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
312435
|
+
}) | ({
|
|
312436
|
+
kind: "story";
|
|
312437
|
+
storyType: "headerFooterPart";
|
|
312438
|
+
refId: string;
|
|
312439
|
+
}) | ({
|
|
312440
|
+
kind: "story";
|
|
312441
|
+
storyType: "footnote";
|
|
312442
|
+
noteId: string;
|
|
312443
|
+
}) | ({
|
|
312444
|
+
kind: "story";
|
|
312445
|
+
storyType: "endnote";
|
|
312446
|
+
noteId: string;
|
|
312447
|
+
}) | ({
|
|
312448
|
+
kind: "story";
|
|
312449
|
+
storyType: "textbox";
|
|
312450
|
+
textboxId: string;
|
|
312451
|
+
});
|
|
312452
|
+
blockId?: string;
|
|
312453
|
+
actorId?: string;
|
|
312454
|
+
includeUpdate?: boolean;
|
|
312455
|
+
waitMs?: number;
|
|
312456
|
+
}
|
|
312457
|
+
export interface DocChangesGetBoundParams {
|
|
312458
|
+
id: string;
|
|
312459
|
+
}
|
|
312460
|
+
export interface DocChangesResolveBoundParams {
|
|
312461
|
+
blockId: string;
|
|
312462
|
+
limit?: number;
|
|
312463
|
+
}
|
|
312464
|
+
export interface DocChangesActorsBoundParams {
|
|
312465
|
+
}
|
|
312466
|
+
export interface DocChangesSnapshotBoundParams {
|
|
312467
|
+
includeState?: boolean;
|
|
312468
|
+
}
|
|
311202
312469
|
export interface DocCreateImageBoundParams {
|
|
311203
312470
|
out?: string;
|
|
311204
312471
|
force?: boolean;
|
|
@@ -317020,7 +318287,7 @@ export interface DocDiffCompareBoundParams {
|
|
|
317020
318287
|
};
|
|
317021
318288
|
payload: Record<string, unknown>;
|
|
317022
318289
|
};
|
|
317023
|
-
styleChangeMode?: "direct";
|
|
318290
|
+
styleChangeMode?: "direct" | "tracked";
|
|
317024
318291
|
}
|
|
317025
318292
|
export interface DocDiffApplyBoundParams {
|
|
317026
318293
|
out?: string;
|
|
@@ -317088,7 +318355,7 @@ export interface DocDiffApplyBoundParams {
|
|
|
317088
318355
|
}>;
|
|
317089
318356
|
payload: Record<string, unknown>;
|
|
317090
318357
|
};
|
|
317091
|
-
styleChangeMode?: "direct";
|
|
318358
|
+
styleChangeMode?: "direct" | "tracked";
|
|
317092
318359
|
}
|
|
317093
318360
|
export interface DocExportToDocxBoundParams {
|
|
317094
318361
|
mode?: "review-preserving" | "final" | "original";
|
|
@@ -318173,6 +319440,13 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
318173
319440
|
undo: (params?: DocHistoryUndoParams, options?: InvokeOptions) => Promise<DocHistoryUndoResult>;
|
|
318174
319441
|
redo: (params?: DocHistoryRedoParams, options?: InvokeOptions) => Promise<DocHistoryRedoResult>;
|
|
318175
319442
|
};
|
|
319443
|
+
changes: {
|
|
319444
|
+
list: (params?: DocChangesListParams, options?: InvokeOptions) => Promise<DocChangesListResult>;
|
|
319445
|
+
get: (params: DocChangesGetParams, options?: InvokeOptions) => Promise<DocChangesGetResult>;
|
|
319446
|
+
resolve: (params: DocChangesResolveParams, options?: InvokeOptions) => Promise<DocChangesResolveResult>;
|
|
319447
|
+
actors: (params?: DocChangesActorsParams, options?: InvokeOptions) => Promise<DocChangesActorsResult>;
|
|
319448
|
+
snapshot: (params?: DocChangesSnapshotParams, options?: InvokeOptions) => Promise<DocChangesSnapshotResult>;
|
|
319449
|
+
};
|
|
318176
319450
|
images: {
|
|
318177
319451
|
list: (params?: DocImagesListParams, options?: InvokeOptions) => Promise<DocImagesListResult>;
|
|
318178
319452
|
get: (params: DocImagesGetParams, options?: InvokeOptions) => Promise<DocImagesGetResult>;
|
|
@@ -318757,6 +320031,13 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
318757
320031
|
undo: (params?: DocHistoryUndoBoundParams, options?: InvokeOptions) => Promise<DocHistoryUndoResult>;
|
|
318758
320032
|
redo: (params?: DocHistoryRedoBoundParams, options?: InvokeOptions) => Promise<DocHistoryRedoResult>;
|
|
318759
320033
|
};
|
|
320034
|
+
changes: {
|
|
320035
|
+
list: (params?: DocChangesListBoundParams, options?: InvokeOptions) => Promise<DocChangesListResult>;
|
|
320036
|
+
get: (params: DocChangesGetBoundParams, options?: InvokeOptions) => Promise<DocChangesGetResult>;
|
|
320037
|
+
resolve: (params: DocChangesResolveBoundParams, options?: InvokeOptions) => Promise<DocChangesResolveResult>;
|
|
320038
|
+
actors: (params?: DocChangesActorsBoundParams, options?: InvokeOptions) => Promise<DocChangesActorsResult>;
|
|
320039
|
+
snapshot: (params?: DocChangesSnapshotBoundParams, options?: InvokeOptions) => Promise<DocChangesSnapshotResult>;
|
|
320040
|
+
};
|
|
318760
320041
|
images: {
|
|
318761
320042
|
list: (params?: DocImagesListBoundParams, options?: InvokeOptions) => Promise<DocImagesListResult>;
|
|
318762
320043
|
get: (params: DocImagesGetBoundParams, options?: InvokeOptions) => Promise<DocImagesGetResult>;
|