# Auto-generated by packages/sdk/codegen/src/generate-python.mjs
# Operation tree and TypedDicts only — lifecycle classes live in client.py.

from __future__ import annotations

from typing import Any, Literal, TypedDict, cast

def _unwrap_string_envelope(value: Any, key: str) -> str:
    if isinstance(value, str):
        return value
    if isinstance(value, dict):
        extracted = value.get(key)
        if isinstance(extracted, str):
            return extracted
    return cast(str, value)

DocFindResultDiagnosticsItem = TypedDict(
    "DocFindResultDiagnosticsItem",
    {
        "address": Any,
        "hint": str,
        "message": str,
    },
    total=False,
)

DocFindResultItemsItemContext = TypedDict(
    "DocFindResultItemsItemContext",
    {
        "address": Any,
        "highlightRange": Any,
        "snippet": str,
        "textRanges": list[Any],
    },
    total=False,
)

DocFindResultItemsItemNodeBodyNodesItem = TypedDict(
    "DocFindResultItemsItemNodeBodyNodesItem",
    {
    },
    total=False,
)

DocFindResultItemsItemNodeNodesItem = TypedDict(
    "DocFindResultItemsItemNodeNodesItem",
    {
    },
    total=False,
)

DocFindResultItemsItemNodeProperties = TypedDict(
    "DocFindResultItemsItemNodeProperties",
    {
    },
    total=False,
)

DocFindResultItemsItemNodeSummary = TypedDict(
    "DocFindResultItemsItemNodeSummary",
    {
        "label": str,
        "text": str,
    },
    total=False,
)

DocFindResultItemsItemNode = TypedDict(
    "DocFindResultItemsItemNode",
    {
        "bodyNodes": list[DocFindResultItemsItemNodeBodyNodesItem],
        "bodyText": str,
        "kind": Literal["block"] | Literal["inline"],
        "nodes": list[DocFindResultItemsItemNodeNodesItem],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"] | Literal["run"] | Literal["bookmark"] | Literal["comment"] | Literal["hyperlink"] | Literal["footnoteRef"] | Literal["tab"] | Literal["lineBreak"],
        "properties": DocFindResultItemsItemNodeProperties,
        "summary": DocFindResultItemsItemNodeSummary,
        "text": str,
    },
    total=False,
)

DocFindResultItemsItem = TypedDict(
    "DocFindResultItemsItem",
    {
        "address": Any,
        "context": DocFindResultItemsItemContext,
        "handle": Any,
        "id": str,
        "node": DocFindResultItemsItemNode,
    },
    total=False,
)

DocFindResult = TypedDict(
    "DocFindResult",
    {
        "diagnostics": list[DocFindResultDiagnosticsItem],
        "evaluatedRevision": str,
        "items": list[DocFindResultItemsItem],
        "page": Any,
        "total": int | float,
    },
    total=False,
)

DocGetNodeResultBodyNodesItem = TypedDict(
    "DocGetNodeResultBodyNodesItem",
    {
    },
    total=False,
)

DocGetNodeResultNodesItem = TypedDict(
    "DocGetNodeResultNodesItem",
    {
    },
    total=False,
)

DocGetNodeResultProperties = TypedDict(
    "DocGetNodeResultProperties",
    {
    },
    total=False,
)

DocGetNodeResultSummary = TypedDict(
    "DocGetNodeResultSummary",
    {
        "label": str,
        "text": str,
    },
    total=False,
)

DocGetNodeResult = TypedDict(
    "DocGetNodeResult",
    {
        "bodyNodes": list[DocGetNodeResultBodyNodesItem],
        "bodyText": str,
        "kind": Literal["block"] | Literal["inline"],
        "nodes": list[DocGetNodeResultNodesItem],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"] | Literal["run"] | Literal["bookmark"] | Literal["comment"] | Literal["hyperlink"] | Literal["footnoteRef"] | Literal["tab"] | Literal["lineBreak"],
        "properties": DocGetNodeResultProperties,
        "summary": DocGetNodeResultSummary,
        "text": str,
    },
    total=False,
)

DocGetNodeByIdResultBodyNodesItem = TypedDict(
    "DocGetNodeByIdResultBodyNodesItem",
    {
    },
    total=False,
)

DocGetNodeByIdResultNodesItem = TypedDict(
    "DocGetNodeByIdResultNodesItem",
    {
    },
    total=False,
)

DocGetNodeByIdResultProperties = TypedDict(
    "DocGetNodeByIdResultProperties",
    {
    },
    total=False,
)

DocGetNodeByIdResultSummary = TypedDict(
    "DocGetNodeByIdResultSummary",
    {
        "label": str,
        "text": str,
    },
    total=False,
)

DocGetNodeByIdResult = TypedDict(
    "DocGetNodeByIdResult",
    {
        "bodyNodes": list[DocGetNodeByIdResultBodyNodesItem],
        "bodyText": str,
        "kind": Literal["block"] | Literal["inline"],
        "nodes": list[DocGetNodeByIdResultNodesItem],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"] | Literal["run"] | Literal["bookmark"] | Literal["comment"] | Literal["hyperlink"] | Literal["footnoteRef"] | Literal["tab"] | Literal["lineBreak"],
        "properties": DocGetNodeByIdResultProperties,
        "summary": DocGetNodeByIdResultSummary,
        "text": str,
    },
    total=False,
)

DocInfoResultCapabilities = TypedDict(
    "DocInfoResultCapabilities",
    {
        "canComment": bool,
        "canFind": bool,
        "canGetNode": bool,
        "canReplace": bool,
    },
    total=False,
)

DocInfoResultCounts = TypedDict(
    "DocInfoResultCounts",
    {
        "comments": int | float,
        "headings": int | float,
        "images": int | float,
        "paragraphs": int | float,
        "tables": int | float,
        "words": int | float,
    },
    total=False,
)

DocInfoResultOutlineItem = TypedDict(
    "DocInfoResultOutlineItem",
    {
        "level": int | float,
        "nodeId": str,
        "text": str,
    },
    total=False,
)

DocInfoResult = TypedDict(
    "DocInfoResult",
    {
        "capabilities": DocInfoResultCapabilities,
        "counts": DocInfoResultCounts,
        "outline": list[DocInfoResultOutlineItem],
        "revision": str,
    },
    total=False,
)

DocBlocksDeleteResult = TypedDict(
    "DocBlocksDeleteResult",
    {
        "deleted": Any,
        "success": Literal[True],
    },
    total=False,
)

DocStylesApplyResultAfterBordersVariant1 = TypedDict(
    "DocStylesApplyResultAfterBordersVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterColorVariant1 = TypedDict(
    "DocStylesApplyResultAfterColorVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterEastAsianLayoutVariant1 = TypedDict(
    "DocStylesApplyResultAfterEastAsianLayoutVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterFitTextVariant1 = TypedDict(
    "DocStylesApplyResultAfterFitTextVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterFontFamilyVariant1 = TypedDict(
    "DocStylesApplyResultAfterFontFamilyVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterFramePrVariant1 = TypedDict(
    "DocStylesApplyResultAfterFramePrVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterIndentVariant1 = TypedDict(
    "DocStylesApplyResultAfterIndentVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterLangVariant1 = TypedDict(
    "DocStylesApplyResultAfterLangVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterNumberingPropertiesVariant1 = TypedDict(
    "DocStylesApplyResultAfterNumberingPropertiesVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterShadingVariant1 = TypedDict(
    "DocStylesApplyResultAfterShadingVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterSpacingVariant1 = TypedDict(
    "DocStylesApplyResultAfterSpacingVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfterUnderlineVariant1 = TypedDict(
    "DocStylesApplyResultAfterUnderlineVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultAfter = TypedDict(
    "DocStylesApplyResultAfter",
    {
        "adjustRightInd": Literal["on"] | Literal["off"] | Literal["inherit"],
        "autoSpaceDE": Literal["on"] | Literal["off"] | Literal["inherit"],
        "autoSpaceDN": Literal["on"] | Literal["off"] | Literal["inherit"],
        "bold": Literal["on"] | Literal["off"] | Literal["inherit"],
        "boldCs": Literal["on"] | Literal["off"] | Literal["inherit"],
        "borders": DocStylesApplyResultAfterBordersVariant1 | Literal["inherit"],
        "color": DocStylesApplyResultAfterColorVariant1 | Literal["inherit"],
        "contextualSpacing": Literal["on"] | Literal["off"] | Literal["inherit"],
        "dstrike": Literal["on"] | Literal["off"] | Literal["inherit"],
        "eastAsianLayout": DocStylesApplyResultAfterEastAsianLayoutVariant1 | Literal["inherit"],
        "effect": str | Literal["inherit"],
        "em": str | Literal["inherit"],
        "emboss": Literal["on"] | Literal["off"] | Literal["inherit"],
        "fitText": DocStylesApplyResultAfterFitTextVariant1 | Literal["inherit"],
        "fontFamily": DocStylesApplyResultAfterFontFamilyVariant1 | Literal["inherit"],
        "fontSize": int | float | Literal["inherit"],
        "fontSizeCs": int | float | Literal["inherit"],
        "framePr": DocStylesApplyResultAfterFramePrVariant1 | Literal["inherit"],
        "iCs": Literal["on"] | Literal["off"] | Literal["inherit"],
        "imprint": Literal["on"] | Literal["off"] | Literal["inherit"],
        "indent": DocStylesApplyResultAfterIndentVariant1 | Literal["inherit"],
        "italic": Literal["on"] | Literal["off"] | Literal["inherit"],
        "justification": str | Literal["inherit"],
        "keepLines": Literal["on"] | Literal["off"] | Literal["inherit"],
        "keepNext": Literal["on"] | Literal["off"] | Literal["inherit"],
        "kern": int | float | Literal["inherit"],
        "kinsoku": Literal["on"] | Literal["off"] | Literal["inherit"],
        "lang": DocStylesApplyResultAfterLangVariant1 | Literal["inherit"],
        "letterSpacing": int | float | Literal["inherit"],
        "mirrorIndents": Literal["on"] | Literal["off"] | Literal["inherit"],
        "noProof": Literal["on"] | Literal["off"] | Literal["inherit"],
        "numberingProperties": DocStylesApplyResultAfterNumberingPropertiesVariant1 | Literal["inherit"],
        "outline": Literal["on"] | Literal["off"] | Literal["inherit"],
        "outlineLvl": int | float | Literal["inherit"],
        "overflowPunct": Literal["on"] | Literal["off"] | Literal["inherit"],
        "pageBreakBefore": Literal["on"] | Literal["off"] | Literal["inherit"],
        "position": int | float | Literal["inherit"],
        "rightToLeft": Literal["on"] | Literal["off"] | Literal["inherit"],
        "shading": DocStylesApplyResultAfterShadingVariant1 | Literal["inherit"],
        "shadow": Literal["on"] | Literal["off"] | Literal["inherit"],
        "smallCaps": Literal["on"] | Literal["off"] | Literal["inherit"],
        "snapToGrid": Literal["on"] | Literal["off"] | Literal["inherit"],
        "spacing": DocStylesApplyResultAfterSpacingVariant1 | Literal["inherit"],
        "specVanish": Literal["on"] | Literal["off"] | Literal["inherit"],
        "strike": Literal["on"] | Literal["off"] | Literal["inherit"],
        "suppressAutoHyphens": Literal["on"] | Literal["off"] | Literal["inherit"],
        "suppressLineNumbers": Literal["on"] | Literal["off"] | Literal["inherit"],
        "suppressOverlap": Literal["on"] | Literal["off"] | Literal["inherit"],
        "tabStops": list[Any] | Literal["inherit"],
        "textAlignment": str | Literal["inherit"],
        "textboxTightWrap": str | Literal["inherit"],
        "textDirection": str | Literal["inherit"],
        "textTransform": str | Literal["inherit"],
        "topLinePunct": Literal["on"] | Literal["off"] | Literal["inherit"],
        "underline": DocStylesApplyResultAfterUnderlineVariant1 | Literal["inherit"],
        "vanish": Literal["on"] | Literal["off"] | Literal["inherit"],
        "vertAlign": str | Literal["inherit"],
        "w": int | float | Literal["inherit"],
        "webHidden": Literal["on"] | Literal["off"] | Literal["inherit"],
        "widowControl": Literal["on"] | Literal["off"] | Literal["inherit"],
        "wordWrap": Literal["on"] | Literal["off"] | Literal["inherit"],
    },
    total=False,
)

DocStylesApplyResultBeforeBordersVariant1 = TypedDict(
    "DocStylesApplyResultBeforeBordersVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeColorVariant1 = TypedDict(
    "DocStylesApplyResultBeforeColorVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeEastAsianLayoutVariant1 = TypedDict(
    "DocStylesApplyResultBeforeEastAsianLayoutVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeFitTextVariant1 = TypedDict(
    "DocStylesApplyResultBeforeFitTextVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeFontFamilyVariant1 = TypedDict(
    "DocStylesApplyResultBeforeFontFamilyVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeFramePrVariant1 = TypedDict(
    "DocStylesApplyResultBeforeFramePrVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeIndentVariant1 = TypedDict(
    "DocStylesApplyResultBeforeIndentVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeLangVariant1 = TypedDict(
    "DocStylesApplyResultBeforeLangVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeNumberingPropertiesVariant1 = TypedDict(
    "DocStylesApplyResultBeforeNumberingPropertiesVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeShadingVariant1 = TypedDict(
    "DocStylesApplyResultBeforeShadingVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeSpacingVariant1 = TypedDict(
    "DocStylesApplyResultBeforeSpacingVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBeforeUnderlineVariant1 = TypedDict(
    "DocStylesApplyResultBeforeUnderlineVariant1",
    {
    },
    total=False,
)

DocStylesApplyResultBefore = TypedDict(
    "DocStylesApplyResultBefore",
    {
        "adjustRightInd": Literal["on"] | Literal["off"] | Literal["inherit"],
        "autoSpaceDE": Literal["on"] | Literal["off"] | Literal["inherit"],
        "autoSpaceDN": Literal["on"] | Literal["off"] | Literal["inherit"],
        "bold": Literal["on"] | Literal["off"] | Literal["inherit"],
        "boldCs": Literal["on"] | Literal["off"] | Literal["inherit"],
        "borders": DocStylesApplyResultBeforeBordersVariant1 | Literal["inherit"],
        "color": DocStylesApplyResultBeforeColorVariant1 | Literal["inherit"],
        "contextualSpacing": Literal["on"] | Literal["off"] | Literal["inherit"],
        "dstrike": Literal["on"] | Literal["off"] | Literal["inherit"],
        "eastAsianLayout": DocStylesApplyResultBeforeEastAsianLayoutVariant1 | Literal["inherit"],
        "effect": str | Literal["inherit"],
        "em": str | Literal["inherit"],
        "emboss": Literal["on"] | Literal["off"] | Literal["inherit"],
        "fitText": DocStylesApplyResultBeforeFitTextVariant1 | Literal["inherit"],
        "fontFamily": DocStylesApplyResultBeforeFontFamilyVariant1 | Literal["inherit"],
        "fontSize": int | float | Literal["inherit"],
        "fontSizeCs": int | float | Literal["inherit"],
        "framePr": DocStylesApplyResultBeforeFramePrVariant1 | Literal["inherit"],
        "iCs": Literal["on"] | Literal["off"] | Literal["inherit"],
        "imprint": Literal["on"] | Literal["off"] | Literal["inherit"],
        "indent": DocStylesApplyResultBeforeIndentVariant1 | Literal["inherit"],
        "italic": Literal["on"] | Literal["off"] | Literal["inherit"],
        "justification": str | Literal["inherit"],
        "keepLines": Literal["on"] | Literal["off"] | Literal["inherit"],
        "keepNext": Literal["on"] | Literal["off"] | Literal["inherit"],
        "kern": int | float | Literal["inherit"],
        "kinsoku": Literal["on"] | Literal["off"] | Literal["inherit"],
        "lang": DocStylesApplyResultBeforeLangVariant1 | Literal["inherit"],
        "letterSpacing": int | float | Literal["inherit"],
        "mirrorIndents": Literal["on"] | Literal["off"] | Literal["inherit"],
        "noProof": Literal["on"] | Literal["off"] | Literal["inherit"],
        "numberingProperties": DocStylesApplyResultBeforeNumberingPropertiesVariant1 | Literal["inherit"],
        "outline": Literal["on"] | Literal["off"] | Literal["inherit"],
        "outlineLvl": int | float | Literal["inherit"],
        "overflowPunct": Literal["on"] | Literal["off"] | Literal["inherit"],
        "pageBreakBefore": Literal["on"] | Literal["off"] | Literal["inherit"],
        "position": int | float | Literal["inherit"],
        "rightToLeft": Literal["on"] | Literal["off"] | Literal["inherit"],
        "shading": DocStylesApplyResultBeforeShadingVariant1 | Literal["inherit"],
        "shadow": Literal["on"] | Literal["off"] | Literal["inherit"],
        "smallCaps": Literal["on"] | Literal["off"] | Literal["inherit"],
        "snapToGrid": Literal["on"] | Literal["off"] | Literal["inherit"],
        "spacing": DocStylesApplyResultBeforeSpacingVariant1 | Literal["inherit"],
        "specVanish": Literal["on"] | Literal["off"] | Literal["inherit"],
        "strike": Literal["on"] | Literal["off"] | Literal["inherit"],
        "suppressAutoHyphens": Literal["on"] | Literal["off"] | Literal["inherit"],
        "suppressLineNumbers": Literal["on"] | Literal["off"] | Literal["inherit"],
        "suppressOverlap": Literal["on"] | Literal["off"] | Literal["inherit"],
        "tabStops": list[Any] | Literal["inherit"],
        "textAlignment": str | Literal["inherit"],
        "textboxTightWrap": str | Literal["inherit"],
        "textDirection": str | Literal["inherit"],
        "textTransform": str | Literal["inherit"],
        "topLinePunct": Literal["on"] | Literal["off"] | Literal["inherit"],
        "underline": DocStylesApplyResultBeforeUnderlineVariant1 | Literal["inherit"],
        "vanish": Literal["on"] | Literal["off"] | Literal["inherit"],
        "vertAlign": str | Literal["inherit"],
        "w": int | float | Literal["inherit"],
        "webHidden": Literal["on"] | Literal["off"] | Literal["inherit"],
        "widowControl": Literal["on"] | Literal["off"] | Literal["inherit"],
        "wordWrap": Literal["on"] | Literal["off"] | Literal["inherit"],
    },
    total=False,
)

DocStylesApplyResultResolution = TypedDict(
    "DocStylesApplyResultResolution",
    {
        "channel": Literal["run"] | Literal["paragraph"],
        "scope": Literal["docDefaults"],
        "xmlPart": Literal["word/styles.xml"],
        "xmlPath": Literal["w:styles/w:docDefaults/w:rPrDefault/w:rPr"] | Literal["w:styles/w:docDefaults/w:pPrDefault/w:pPr"],
    },
    total=False,
)

DocStylesApplyResult = TypedDict(
    "DocStylesApplyResult",
    {
        "after": DocStylesApplyResultAfter,
        "before": DocStylesApplyResultBefore,
        "changed": bool,
        "dryRun": bool,
        "resolution": DocStylesApplyResultResolution,
        "success": Literal[True],
    },
    total=False,
)

DocCreateParagraphResult = TypedDict(
    "DocCreateParagraphResult",
    {
        "insertionPoint": Any,
        "paragraph": Any,
        "success": Literal[True],
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocCreateHeadingResult = TypedDict(
    "DocCreateHeadingResult",
    {
        "heading": Any,
        "insertionPoint": Any,
        "success": Literal[True],
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocCreateSectionBreakResult = TypedDict(
    "DocCreateSectionBreakResult",
    {
        "breakParagraph": Any,
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsListResultItemsItemColumns = TypedDict(
    "DocSectionsListResultItemsItemColumns",
    {
        "count": int | float,
        "equalWidth": bool,
        "gap": int | float,
    },
    total=False,
)

DocSectionsListResultItemsItemFooterRefs = TypedDict(
    "DocSectionsListResultItemsItemFooterRefs",
    {
        "default": str,
        "even": str,
        "first": str,
    },
    total=False,
)

DocSectionsListResultItemsItemHandle = TypedDict(
    "DocSectionsListResultItemsItemHandle",
    {
        "ref": str,
        "refStability": Literal["ephemeral"],
        "targetKind": Literal["section"],
    },
    total=False,
)

DocSectionsListResultItemsItemHeaderFooterMargins = TypedDict(
    "DocSectionsListResultItemsItemHeaderFooterMargins",
    {
        "footer": int | float,
        "header": int | float,
    },
    total=False,
)

DocSectionsListResultItemsItemHeaderRefs = TypedDict(
    "DocSectionsListResultItemsItemHeaderRefs",
    {
        "default": str,
        "even": str,
        "first": str,
    },
    total=False,
)

DocSectionsListResultItemsItemLineNumbering = TypedDict(
    "DocSectionsListResultItemsItemLineNumbering",
    {
        "countBy": int | float,
        "distance": int | float,
        "enabled": bool,
        "restart": Literal["continuous"] | Literal["newPage"] | Literal["newSection"],
        "start": int | float,
    },
    total=False,
)

DocSectionsListResultItemsItemMargins = TypedDict(
    "DocSectionsListResultItemsItemMargins",
    {
        "bottom": int | float,
        "gutter": int | float,
        "left": int | float,
        "right": int | float,
        "top": int | float,
    },
    total=False,
)

DocSectionsListResultItemsItemPageNumbering = TypedDict(
    "DocSectionsListResultItemsItemPageNumbering",
    {
        "format": Literal["decimal"] | Literal["lowerLetter"] | Literal["upperLetter"] | Literal["lowerRoman"] | Literal["upperRoman"] | Literal["numberInDash"],
        "start": int | float,
    },
    total=False,
)

DocSectionsListResultItemsItemPageSetup = TypedDict(
    "DocSectionsListResultItemsItemPageSetup",
    {
        "height": int | float,
        "orientation": Literal["portrait"] | Literal["landscape"],
        "paperSize": str,
        "width": int | float,
    },
    total=False,
)

DocSectionsListResultItemsItemRange = TypedDict(
    "DocSectionsListResultItemsItemRange",
    {
        "endParagraphIndex": int | float,
        "startParagraphIndex": int | float,
    },
    total=False,
)

DocSectionsListResultItemsItem = TypedDict(
    "DocSectionsListResultItemsItem",
    {
        "address": Any,
        "breakType": Literal["continuous"] | Literal["nextPage"] | Literal["evenPage"] | Literal["oddPage"],
        "columns": DocSectionsListResultItemsItemColumns,
        "footerRefs": DocSectionsListResultItemsItemFooterRefs,
        "handle": DocSectionsListResultItemsItemHandle,
        "headerFooterMargins": DocSectionsListResultItemsItemHeaderFooterMargins,
        "headerRefs": DocSectionsListResultItemsItemHeaderRefs,
        "id": str,
        "index": int | float,
        "lineNumbering": DocSectionsListResultItemsItemLineNumbering,
        "margins": DocSectionsListResultItemsItemMargins,
        "oddEvenHeadersFooters": bool,
        "pageBorders": Any | Any | Any | Any | Any | Any | Any,
        "pageNumbering": DocSectionsListResultItemsItemPageNumbering,
        "pageSetup": DocSectionsListResultItemsItemPageSetup,
        "range": DocSectionsListResultItemsItemRange,
        "sectionDirection": Literal["ltr"] | Literal["rtl"],
        "titlePage": bool,
        "verticalAlign": Literal["top"] | Literal["center"] | Literal["bottom"] | Literal["both"],
    },
    total=False,
)

DocSectionsListResult = TypedDict(
    "DocSectionsListResult",
    {
        "evaluatedRevision": str,
        "items": list[DocSectionsListResultItemsItem],
        "page": Any,
        "total": int | float,
    },
    total=False,
)

DocSectionsGetResultColumns = TypedDict(
    "DocSectionsGetResultColumns",
    {
        "count": int | float,
        "equalWidth": bool,
        "gap": int | float,
    },
    total=False,
)

DocSectionsGetResultFooterRefs = TypedDict(
    "DocSectionsGetResultFooterRefs",
    {
        "default": str,
        "even": str,
        "first": str,
    },
    total=False,
)

DocSectionsGetResultHeaderFooterMargins = TypedDict(
    "DocSectionsGetResultHeaderFooterMargins",
    {
        "footer": int | float,
        "header": int | float,
    },
    total=False,
)

DocSectionsGetResultHeaderRefs = TypedDict(
    "DocSectionsGetResultHeaderRefs",
    {
        "default": str,
        "even": str,
        "first": str,
    },
    total=False,
)

DocSectionsGetResultLineNumbering = TypedDict(
    "DocSectionsGetResultLineNumbering",
    {
        "countBy": int | float,
        "distance": int | float,
        "enabled": bool,
        "restart": Literal["continuous"] | Literal["newPage"] | Literal["newSection"],
        "start": int | float,
    },
    total=False,
)

DocSectionsGetResultMargins = TypedDict(
    "DocSectionsGetResultMargins",
    {
        "bottom": int | float,
        "gutter": int | float,
        "left": int | float,
        "right": int | float,
        "top": int | float,
    },
    total=False,
)

DocSectionsGetResultPageNumbering = TypedDict(
    "DocSectionsGetResultPageNumbering",
    {
        "format": Literal["decimal"] | Literal["lowerLetter"] | Literal["upperLetter"] | Literal["lowerRoman"] | Literal["upperRoman"] | Literal["numberInDash"],
        "start": int | float,
    },
    total=False,
)

DocSectionsGetResultPageSetup = TypedDict(
    "DocSectionsGetResultPageSetup",
    {
        "height": int | float,
        "orientation": Literal["portrait"] | Literal["landscape"],
        "paperSize": str,
        "width": int | float,
    },
    total=False,
)

DocSectionsGetResultRange = TypedDict(
    "DocSectionsGetResultRange",
    {
        "endParagraphIndex": int | float,
        "startParagraphIndex": int | float,
    },
    total=False,
)

DocSectionsGetResult = TypedDict(
    "DocSectionsGetResult",
    {
        "address": Any,
        "breakType": Literal["continuous"] | Literal["nextPage"] | Literal["evenPage"] | Literal["oddPage"],
        "columns": DocSectionsGetResultColumns,
        "footerRefs": DocSectionsGetResultFooterRefs,
        "headerFooterMargins": DocSectionsGetResultHeaderFooterMargins,
        "headerRefs": DocSectionsGetResultHeaderRefs,
        "index": int | float,
        "lineNumbering": DocSectionsGetResultLineNumbering,
        "margins": DocSectionsGetResultMargins,
        "oddEvenHeadersFooters": bool,
        "pageBorders": Any | Any | Any | Any | Any | Any | Any,
        "pageNumbering": DocSectionsGetResultPageNumbering,
        "pageSetup": DocSectionsGetResultPageSetup,
        "range": DocSectionsGetResultRange,
        "sectionDirection": Literal["ltr"] | Literal["rtl"],
        "titlePage": bool,
        "verticalAlign": Literal["top"] | Literal["center"] | Literal["bottom"] | Literal["both"],
    },
    total=False,
)

DocSectionsSetBreakTypeResult = TypedDict(
    "DocSectionsSetBreakTypeResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetPageMarginsResult = TypedDict(
    "DocSectionsSetPageMarginsResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetHeaderFooterMarginsResult = TypedDict(
    "DocSectionsSetHeaderFooterMarginsResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetPageSetupResult = TypedDict(
    "DocSectionsSetPageSetupResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetColumnsResult = TypedDict(
    "DocSectionsSetColumnsResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetLineNumberingResult = TypedDict(
    "DocSectionsSetLineNumberingResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetPageNumberingResult = TypedDict(
    "DocSectionsSetPageNumberingResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetTitlePageResult = TypedDict(
    "DocSectionsSetTitlePageResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetOddEvenHeadersFootersResult = TypedDict(
    "DocSectionsSetOddEvenHeadersFootersResult",
    {
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetVerticalAlignResult = TypedDict(
    "DocSectionsSetVerticalAlignResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetSectionDirectionResult = TypedDict(
    "DocSectionsSetSectionDirectionResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetHeaderFooterRefResult = TypedDict(
    "DocSectionsSetHeaderFooterRefResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsClearHeaderFooterRefResult = TypedDict(
    "DocSectionsClearHeaderFooterRefResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetLinkToPreviousResult = TypedDict(
    "DocSectionsSetLinkToPreviousResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsSetPageBordersResult = TypedDict(
    "DocSectionsSetPageBordersResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocSectionsClearPageBordersResult = TypedDict(
    "DocSectionsClearPageBordersResult",
    {
        "section": Any,
        "success": Literal[True],
    },
    total=False,
)

DocStylesParagraphSetStyleResultResolution = TypedDict(
    "DocStylesParagraphSetStyleResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocStylesParagraphSetStyleResult = TypedDict(
    "DocStylesParagraphSetStyleResult",
    {
        "resolution": DocStylesParagraphSetStyleResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocStylesParagraphClearStyleResultResolution = TypedDict(
    "DocStylesParagraphClearStyleResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocStylesParagraphClearStyleResult = TypedDict(
    "DocStylesParagraphClearStyleResult",
    {
        "resolution": DocStylesParagraphClearStyleResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphResetDirectFormattingResultResolution = TypedDict(
    "DocFormatParagraphResetDirectFormattingResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphResetDirectFormattingResult = TypedDict(
    "DocFormatParagraphResetDirectFormattingResult",
    {
        "resolution": DocFormatParagraphResetDirectFormattingResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetAlignmentResultResolution = TypedDict(
    "DocFormatParagraphSetAlignmentResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetAlignmentResult = TypedDict(
    "DocFormatParagraphSetAlignmentResult",
    {
        "resolution": DocFormatParagraphSetAlignmentResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearAlignmentResultResolution = TypedDict(
    "DocFormatParagraphClearAlignmentResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearAlignmentResult = TypedDict(
    "DocFormatParagraphClearAlignmentResult",
    {
        "resolution": DocFormatParagraphClearAlignmentResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetIndentationResultResolution = TypedDict(
    "DocFormatParagraphSetIndentationResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetIndentationResult = TypedDict(
    "DocFormatParagraphSetIndentationResult",
    {
        "resolution": DocFormatParagraphSetIndentationResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearIndentationResultResolution = TypedDict(
    "DocFormatParagraphClearIndentationResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearIndentationResult = TypedDict(
    "DocFormatParagraphClearIndentationResult",
    {
        "resolution": DocFormatParagraphClearIndentationResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetSpacingResultResolution = TypedDict(
    "DocFormatParagraphSetSpacingResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetSpacingResult = TypedDict(
    "DocFormatParagraphSetSpacingResult",
    {
        "resolution": DocFormatParagraphSetSpacingResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearSpacingResultResolution = TypedDict(
    "DocFormatParagraphClearSpacingResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearSpacingResult = TypedDict(
    "DocFormatParagraphClearSpacingResult",
    {
        "resolution": DocFormatParagraphClearSpacingResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetKeepOptionsResultResolution = TypedDict(
    "DocFormatParagraphSetKeepOptionsResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetKeepOptionsResult = TypedDict(
    "DocFormatParagraphSetKeepOptionsResult",
    {
        "resolution": DocFormatParagraphSetKeepOptionsResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetOutlineLevelResultResolution = TypedDict(
    "DocFormatParagraphSetOutlineLevelResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetOutlineLevelResult = TypedDict(
    "DocFormatParagraphSetOutlineLevelResult",
    {
        "resolution": DocFormatParagraphSetOutlineLevelResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetFlowOptionsResultResolution = TypedDict(
    "DocFormatParagraphSetFlowOptionsResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetFlowOptionsResult = TypedDict(
    "DocFormatParagraphSetFlowOptionsResult",
    {
        "resolution": DocFormatParagraphSetFlowOptionsResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetTabStopResultResolution = TypedDict(
    "DocFormatParagraphSetTabStopResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetTabStopResult = TypedDict(
    "DocFormatParagraphSetTabStopResult",
    {
        "resolution": DocFormatParagraphSetTabStopResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearTabStopResultResolution = TypedDict(
    "DocFormatParagraphClearTabStopResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearTabStopResult = TypedDict(
    "DocFormatParagraphClearTabStopResult",
    {
        "resolution": DocFormatParagraphClearTabStopResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearAllTabStopsResultResolution = TypedDict(
    "DocFormatParagraphClearAllTabStopsResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearAllTabStopsResult = TypedDict(
    "DocFormatParagraphClearAllTabStopsResult",
    {
        "resolution": DocFormatParagraphClearAllTabStopsResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetBorderResultResolution = TypedDict(
    "DocFormatParagraphSetBorderResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetBorderResult = TypedDict(
    "DocFormatParagraphSetBorderResult",
    {
        "resolution": DocFormatParagraphSetBorderResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearBorderResultResolution = TypedDict(
    "DocFormatParagraphClearBorderResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearBorderResult = TypedDict(
    "DocFormatParagraphClearBorderResult",
    {
        "resolution": DocFormatParagraphClearBorderResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetShadingResultResolution = TypedDict(
    "DocFormatParagraphSetShadingResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphSetShadingResult = TypedDict(
    "DocFormatParagraphSetShadingResult",
    {
        "resolution": DocFormatParagraphSetShadingResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearShadingResultResolution = TypedDict(
    "DocFormatParagraphClearShadingResultResolution",
    {
        "target": Any | Any | Any,
    },
    total=False,
)

DocFormatParagraphClearShadingResult = TypedDict(
    "DocFormatParagraphClearShadingResult",
    {
        "resolution": DocFormatParagraphClearShadingResultResolution,
        "success": Literal[True],
        "target": Any | Any | Any,
    },
    total=False,
)

DocListsListResultItemsItem = TypedDict(
    "DocListsListResultItemsItem",
    {
        "address": Any,
        "handle": Any,
        "id": str,
        "kind": Literal["ordered"] | Literal["bullet"],
        "level": int | float,
        "listId": str,
        "marker": str,
        "ordinal": int | float,
        "path": list[int | float],
        "text": str,
    },
    total=False,
)

DocListsListResult = TypedDict(
    "DocListsListResult",
    {
        "evaluatedRevision": str,
        "items": list[DocListsListResultItemsItem],
        "page": Any,
        "total": int | float,
    },
    total=False,
)

DocListsGetResult = TypedDict(
    "DocListsGetResult",
    {
        "address": Any,
        "kind": Literal["ordered"] | Literal["bullet"],
        "level": int | float,
        "listId": str,
        "marker": str,
        "ordinal": int | float,
        "path": list[int | float],
        "text": str,
    },
    total=False,
)

DocListsInsertResult = TypedDict(
    "DocListsInsertResult",
    {
        "insertionPoint": Any,
        "item": Any,
        "success": Literal[True],
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocListsCreateResult = TypedDict(
    "DocListsCreateResult",
    {
        "item": Any,
        "listId": str,
        "success": Literal[True],
    },
    total=False,
)

DocListsAttachResult = TypedDict(
    "DocListsAttachResult",
    {
        "item": Any,
        "success": Literal[True],
    },
    total=False,
)

DocListsDetachResult = TypedDict(
    "DocListsDetachResult",
    {
        "paragraph": Any,
        "success": Literal[True],
    },
    total=False,
)

DocListsIndentResult = TypedDict(
    "DocListsIndentResult",
    {
        "item": Any,
        "success": Literal[True],
    },
    total=False,
)

DocListsOutdentResult = TypedDict(
    "DocListsOutdentResult",
    {
        "item": Any,
        "success": Literal[True],
    },
    total=False,
)

DocListsJoinResult = TypedDict(
    "DocListsJoinResult",
    {
        "listId": str,
        "success": Literal[True],
    },
    total=False,
)

DocListsCanJoinResult = TypedDict(
    "DocListsCanJoinResult",
    {
        "adjacentListId": str,
        "canJoin": bool,
        "reason": Literal["NO_ADJACENT_SEQUENCE"] | Literal["INCOMPATIBLE_DEFINITIONS"] | Literal["ALREADY_SAME_SEQUENCE"],
    },
    total=False,
)

DocListsSeparateResult = TypedDict(
    "DocListsSeparateResult",
    {
        "listId": str,
        "numId": int | float,
        "success": Literal[True],
    },
    total=False,
)

DocListsSetLevelResult = TypedDict(
    "DocListsSetLevelResult",
    {
        "item": Any,
        "success": Literal[True],
    },
    total=False,
)

DocListsSetValueResult = TypedDict(
    "DocListsSetValueResult",
    {
        "item": Any,
        "success": Literal[True],
    },
    total=False,
)

DocListsContinuePreviousResult = TypedDict(
    "DocListsContinuePreviousResult",
    {
        "item": Any,
        "success": Literal[True],
    },
    total=False,
)

DocListsCanContinuePreviousResult = TypedDict(
    "DocListsCanContinuePreviousResult",
    {
        "canContinue": bool,
        "previousListId": str,
        "reason": Literal["NO_PREVIOUS_LIST"] | Literal["INCOMPATIBLE_DEFINITIONS"] | Literal["ALREADY_CONTINUOUS"],
    },
    total=False,
)

DocListsSetLevelRestartResult = TypedDict(
    "DocListsSetLevelRestartResult",
    {
        "item": Any,
        "success": Literal[True],
    },
    total=False,
)

DocListsConvertToTextResult = TypedDict(
    "DocListsConvertToTextResult",
    {
        "paragraph": Any,
        "success": Literal[True],
    },
    total=False,
)

DocCommentsGetResult = TypedDict(
    "DocCommentsGetResult",
    {
        "address": Any,
        "anchoredText": str,
        "commentId": str,
        "createdTime": int | float,
        "creatorEmail": str,
        "creatorName": str,
        "importedId": str,
        "isInternal": bool,
        "parentCommentId": str,
        "status": Literal["open"] | Literal["resolved"],
        "target": Any,
        "text": str,
    },
    total=False,
)

DocCommentsListResultItemsItem = TypedDict(
    "DocCommentsListResultItemsItem",
    {
        "address": Any,
        "anchoredText": str,
        "createdTime": int | float,
        "creatorEmail": str,
        "creatorName": str,
        "handle": Any,
        "id": str,
        "importedId": str,
        "isInternal": bool,
        "parentCommentId": str,
        "status": Literal["open"] | Literal["resolved"],
        "target": Any,
        "text": str,
    },
    total=False,
)

DocCommentsListResult = TypedDict(
    "DocCommentsListResult",
    {
        "evaluatedRevision": str,
        "items": list[DocCommentsListResultItemsItem],
        "page": Any,
        "total": int | float,
    },
    total=False,
)

DocTrackChangesListResultItemsItem = TypedDict(
    "DocTrackChangesListResultItemsItem",
    {
        "address": Any,
        "author": str,
        "authorEmail": str,
        "authorImage": str,
        "date": str,
        "excerpt": str,
        "handle": Any,
        "id": str,
        "type": Literal["insert"] | Literal["delete"] | Literal["format"],
    },
    total=False,
)

DocTrackChangesListResult = TypedDict(
    "DocTrackChangesListResult",
    {
        "evaluatedRevision": str,
        "items": list[DocTrackChangesListResultItemsItem],
        "page": Any,
        "total": int | float,
    },
    total=False,
)

DocTrackChangesGetResult = TypedDict(
    "DocTrackChangesGetResult",
    {
        "address": Any,
        "author": str,
        "authorEmail": str,
        "authorImage": str,
        "date": str,
        "excerpt": str,
        "id": str,
        "type": Literal["insert"] | Literal["delete"] | Literal["format"],
    },
    total=False,
)

DocQueryMatchResultItemsItemVariant1 = TypedDict(
    "DocQueryMatchResultItemsItemVariant1",
    {
        "address": Any,
        "blocks": list[Any],
        "handle": Any,
        "highlightRange": Any,
        "id": str,
        "matchKind": Literal["text"],
        "snippet": str,
    },
    total=False,
)

DocQueryMatchResultItemsItemVariant2 = TypedDict(
    "DocQueryMatchResultItemsItemVariant2",
    {
        "address": Any,
        "blocks": list[Any],
        "handle": Any,
        "id": str,
        "matchKind": Literal["node"],
    },
    total=False,
)

DocQueryMatchResultMeta = TypedDict(
    "DocQueryMatchResultMeta",
    {
        "effectiveResolved": bool,
    },
    total=False,
)

DocQueryMatchResult = TypedDict(
    "DocQueryMatchResult",
    {
        "evaluatedRevision": str,
        "items": list[DocQueryMatchResultItemsItemVariant1 | DocQueryMatchResultItemsItemVariant2],
        "meta": DocQueryMatchResultMeta,
        "page": Any,
        "total": int | float,
    },
    total=False,
)

DocMutationsPreviewResultFailuresItem = TypedDict(
    "DocMutationsPreviewResultFailuresItem",
    {
    },
    total=False,
)

DocMutationsPreviewResultStepsItem = TypedDict(
    "DocMutationsPreviewResultStepsItem",
    {
    },
    total=False,
)

DocMutationsPreviewResult = TypedDict(
    "DocMutationsPreviewResult",
    {
        "evaluatedRevision": str,
        "failures": list[DocMutationsPreviewResultFailuresItem],
        "steps": list[DocMutationsPreviewResultStepsItem],
        "valid": bool,
    },
    total=False,
)

DocMutationsApplyResultRevision = TypedDict(
    "DocMutationsApplyResultRevision",
    {
        "after": str,
        "before": str,
    },
    total=False,
)

DocMutationsApplyResultStepsItem = TypedDict(
    "DocMutationsApplyResultStepsItem",
    {
    },
    total=False,
)

DocMutationsApplyResultTiming = TypedDict(
    "DocMutationsApplyResultTiming",
    {
        "totalMs": int | float,
    },
    total=False,
)

DocMutationsApplyResult = TypedDict(
    "DocMutationsApplyResult",
    {
        "revision": DocMutationsApplyResultRevision,
        "steps": list[DocMutationsApplyResultStepsItem],
        "success": Literal[True],
        "timing": DocMutationsApplyResultTiming,
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesBCs = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesBCs",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesBold = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesBold",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesBorder = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesBorder",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesCaps = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesCaps",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesCharScale = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesCharScale",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesColor = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesColor",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesContextualAlternates = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesContextualAlternates",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesCs = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesCs",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesDstrike = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesDstrike",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesEastAsianLayout = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesEastAsianLayout",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesEm = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesEm",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesEmboss = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesEmboss",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesFitText = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesFitText",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontFamily = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontFamily",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontSize = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontSize",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontSizeCs = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontSizeCs",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesHighlight = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesHighlight",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesICs = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesICs",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesImprint = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesImprint",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesItalic = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesItalic",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesKerning = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesKerning",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesLang = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesLang",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesLetterSpacing = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesLetterSpacing",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesLigatures = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesLigatures",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesNumForm = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesNumForm",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesNumSpacing = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesNumSpacing",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesOMath = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesOMath",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesOutline = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesOutline",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesPosition = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesPosition",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesRFonts = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesRFonts",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesRStyle = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesRStyle",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesRtl = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesRtl",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesShading = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesShading",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesShadow = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesShadow",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesSmallCaps = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesSmallCaps",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesSnapToGrid = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesSnapToGrid",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesSpecVanish = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesSpecVanish",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesStrike = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesStrike",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesStylisticSets = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesStylisticSets",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesUnderline = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesUnderline",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesVanish = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesVanish",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesVertAlign = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesVertAlign",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlinePropertiesWebHidden = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlinePropertiesWebHidden",
    {
        "available": bool,
        "storage": Literal["mark"] | Literal["runAttribute"],
        "tracked": bool,
        "type": Literal["boolean"] | Literal["string"] | Literal["number"] | Literal["object"] | Literal["array"],
    },
    total=False,
)

DocCapabilitiesGetResultFormatSupportedInlineProperties = TypedDict(
    "DocCapabilitiesGetResultFormatSupportedInlineProperties",
    {
        "bCs": DocCapabilitiesGetResultFormatSupportedInlinePropertiesBCs,
        "bold": DocCapabilitiesGetResultFormatSupportedInlinePropertiesBold,
        "border": DocCapabilitiesGetResultFormatSupportedInlinePropertiesBorder,
        "caps": DocCapabilitiesGetResultFormatSupportedInlinePropertiesCaps,
        "charScale": DocCapabilitiesGetResultFormatSupportedInlinePropertiesCharScale,
        "color": DocCapabilitiesGetResultFormatSupportedInlinePropertiesColor,
        "contextualAlternates": DocCapabilitiesGetResultFormatSupportedInlinePropertiesContextualAlternates,
        "cs": DocCapabilitiesGetResultFormatSupportedInlinePropertiesCs,
        "dstrike": DocCapabilitiesGetResultFormatSupportedInlinePropertiesDstrike,
        "eastAsianLayout": DocCapabilitiesGetResultFormatSupportedInlinePropertiesEastAsianLayout,
        "em": DocCapabilitiesGetResultFormatSupportedInlinePropertiesEm,
        "emboss": DocCapabilitiesGetResultFormatSupportedInlinePropertiesEmboss,
        "fitText": DocCapabilitiesGetResultFormatSupportedInlinePropertiesFitText,
        "fontFamily": DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontFamily,
        "fontSize": DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontSize,
        "fontSizeCs": DocCapabilitiesGetResultFormatSupportedInlinePropertiesFontSizeCs,
        "highlight": DocCapabilitiesGetResultFormatSupportedInlinePropertiesHighlight,
        "iCs": DocCapabilitiesGetResultFormatSupportedInlinePropertiesICs,
        "imprint": DocCapabilitiesGetResultFormatSupportedInlinePropertiesImprint,
        "italic": DocCapabilitiesGetResultFormatSupportedInlinePropertiesItalic,
        "kerning": DocCapabilitiesGetResultFormatSupportedInlinePropertiesKerning,
        "lang": DocCapabilitiesGetResultFormatSupportedInlinePropertiesLang,
        "letterSpacing": DocCapabilitiesGetResultFormatSupportedInlinePropertiesLetterSpacing,
        "ligatures": DocCapabilitiesGetResultFormatSupportedInlinePropertiesLigatures,
        "numForm": DocCapabilitiesGetResultFormatSupportedInlinePropertiesNumForm,
        "numSpacing": DocCapabilitiesGetResultFormatSupportedInlinePropertiesNumSpacing,
        "oMath": DocCapabilitiesGetResultFormatSupportedInlinePropertiesOMath,
        "outline": DocCapabilitiesGetResultFormatSupportedInlinePropertiesOutline,
        "position": DocCapabilitiesGetResultFormatSupportedInlinePropertiesPosition,
        "rFonts": DocCapabilitiesGetResultFormatSupportedInlinePropertiesRFonts,
        "rStyle": DocCapabilitiesGetResultFormatSupportedInlinePropertiesRStyle,
        "rtl": DocCapabilitiesGetResultFormatSupportedInlinePropertiesRtl,
        "shading": DocCapabilitiesGetResultFormatSupportedInlinePropertiesShading,
        "shadow": DocCapabilitiesGetResultFormatSupportedInlinePropertiesShadow,
        "smallCaps": DocCapabilitiesGetResultFormatSupportedInlinePropertiesSmallCaps,
        "snapToGrid": DocCapabilitiesGetResultFormatSupportedInlinePropertiesSnapToGrid,
        "specVanish": DocCapabilitiesGetResultFormatSupportedInlinePropertiesSpecVanish,
        "strike": DocCapabilitiesGetResultFormatSupportedInlinePropertiesStrike,
        "stylisticSets": DocCapabilitiesGetResultFormatSupportedInlinePropertiesStylisticSets,
        "underline": DocCapabilitiesGetResultFormatSupportedInlinePropertiesUnderline,
        "vanish": DocCapabilitiesGetResultFormatSupportedInlinePropertiesVanish,
        "vertAlign": DocCapabilitiesGetResultFormatSupportedInlinePropertiesVertAlign,
        "webHidden": DocCapabilitiesGetResultFormatSupportedInlinePropertiesWebHidden,
    },
    total=False,
)

DocCapabilitiesGetResultFormat = TypedDict(
    "DocCapabilitiesGetResultFormat",
    {
        "supportedInlineProperties": DocCapabilitiesGetResultFormatSupportedInlineProperties,
    },
    total=False,
)

DocCapabilitiesGetResultGlobalComments = TypedDict(
    "DocCapabilitiesGetResultGlobalComments",
    {
        "enabled": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
    },
    total=False,
)

DocCapabilitiesGetResultGlobalDryRun = TypedDict(
    "DocCapabilitiesGetResultGlobalDryRun",
    {
        "enabled": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
    },
    total=False,
)

DocCapabilitiesGetResultGlobalHistory = TypedDict(
    "DocCapabilitiesGetResultGlobalHistory",
    {
        "enabled": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
    },
    total=False,
)

DocCapabilitiesGetResultGlobalLists = TypedDict(
    "DocCapabilitiesGetResultGlobalLists",
    {
        "enabled": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
    },
    total=False,
)

DocCapabilitiesGetResultGlobalTrackChanges = TypedDict(
    "DocCapabilitiesGetResultGlobalTrackChanges",
    {
        "enabled": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
    },
    total=False,
)

DocCapabilitiesGetResultGlobal = TypedDict(
    "DocCapabilitiesGetResultGlobal",
    {
        "comments": DocCapabilitiesGetResultGlobalComments,
        "dryRun": DocCapabilitiesGetResultGlobalDryRun,
        "history": DocCapabilitiesGetResultGlobalHistory,
        "lists": DocCapabilitiesGetResultGlobalLists,
        "trackChanges": DocCapabilitiesGetResultGlobalTrackChanges,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsBlocksDelete = TypedDict(
    "DocCapabilitiesGetResultOperationsBlocksDelete",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCapabilitiesGet = TypedDict(
    "DocCapabilitiesGetResultOperationsCapabilitiesGet",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCommentsCreate = TypedDict(
    "DocCapabilitiesGetResultOperationsCommentsCreate",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCommentsDelete = TypedDict(
    "DocCapabilitiesGetResultOperationsCommentsDelete",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCommentsGet = TypedDict(
    "DocCapabilitiesGetResultOperationsCommentsGet",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCommentsList = TypedDict(
    "DocCapabilitiesGetResultOperationsCommentsList",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCommentsPatch = TypedDict(
    "DocCapabilitiesGetResultOperationsCommentsPatch",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCreateHeading = TypedDict(
    "DocCapabilitiesGetResultOperationsCreateHeading",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCreateParagraph = TypedDict(
    "DocCapabilitiesGetResultOperationsCreateParagraph",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCreateSectionBreak = TypedDict(
    "DocCapabilitiesGetResultOperationsCreateSectionBreak",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCreateTable = TypedDict(
    "DocCapabilitiesGetResultOperationsCreateTable",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsCreateTableOfContents = TypedDict(
    "DocCapabilitiesGetResultOperationsCreateTableOfContents",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsDelete = TypedDict(
    "DocCapabilitiesGetResultOperationsDelete",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFind = TypedDict(
    "DocCapabilitiesGetResultOperationsFind",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatApply = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatApply",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatBCs = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatBCs",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatBold = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatBold",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatBorder = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatBorder",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatCaps = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatCaps",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatCharScale = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatCharScale",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatColor = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatColor",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatContextualAlternates = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatContextualAlternates",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatCs = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatCs",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatDstrike = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatDstrike",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatEastAsianLayout = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatEastAsianLayout",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatEm = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatEm",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatEmboss = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatEmboss",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatFitText = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatFitText",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatFontFamily = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatFontFamily",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatFontSize = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatFontSize",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatFontSizeCs = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatFontSizeCs",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatHighlight = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatHighlight",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatICs = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatICs",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatImprint = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatImprint",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatItalic = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatItalic",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatKerning = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatKerning",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatLang = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatLang",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatLetterSpacing = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatLetterSpacing",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatLigatures = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatLigatures",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatNumForm = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatNumForm",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatNumSpacing = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatNumSpacing",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatOMath = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatOMath",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatOutline = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatOutline",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphClearAlignment = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphClearAlignment",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphClearAllTabStops = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphClearAllTabStops",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphClearBorder = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphClearBorder",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphClearIndentation = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphClearIndentation",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphClearShading = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphClearShading",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphClearSpacing = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphClearSpacing",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphClearTabStop = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphClearTabStop",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphResetDirectFormatting = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphResetDirectFormatting",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetAlignment = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetAlignment",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetBorder = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetBorder",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetFlowOptions = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetFlowOptions",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetIndentation = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetIndentation",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetKeepOptions = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetKeepOptions",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetOutlineLevel = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetOutlineLevel",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetShading = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetShading",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetSpacing = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetSpacing",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatParagraphSetTabStop = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatParagraphSetTabStop",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatPosition = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatPosition",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatRFonts = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatRFonts",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatRStyle = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatRStyle",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatRtl = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatRtl",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatShading = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatShading",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatShadow = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatShadow",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatSmallCaps = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatSmallCaps",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatSnapToGrid = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatSnapToGrid",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatSpecVanish = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatSpecVanish",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatStrike = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatStrike",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatStylisticSets = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatStylisticSets",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatUnderline = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatUnderline",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatVanish = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatVanish",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatVertAlign = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatVertAlign",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsFormatWebHidden = TypedDict(
    "DocCapabilitiesGetResultOperationsFormatWebHidden",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsGetHtml = TypedDict(
    "DocCapabilitiesGetResultOperationsGetHtml",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsGetMarkdown = TypedDict(
    "DocCapabilitiesGetResultOperationsGetMarkdown",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsGetNode = TypedDict(
    "DocCapabilitiesGetResultOperationsGetNode",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsGetNodeById = TypedDict(
    "DocCapabilitiesGetResultOperationsGetNodeById",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsGetText = TypedDict(
    "DocCapabilitiesGetResultOperationsGetText",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsHistoryGet = TypedDict(
    "DocCapabilitiesGetResultOperationsHistoryGet",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsHistoryRedo = TypedDict(
    "DocCapabilitiesGetResultOperationsHistoryRedo",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsHistoryUndo = TypedDict(
    "DocCapabilitiesGetResultOperationsHistoryUndo",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsInfo = TypedDict(
    "DocCapabilitiesGetResultOperationsInfo",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsInsert = TypedDict(
    "DocCapabilitiesGetResultOperationsInsert",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsAttach = TypedDict(
    "DocCapabilitiesGetResultOperationsListsAttach",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsCanContinuePrevious = TypedDict(
    "DocCapabilitiesGetResultOperationsListsCanContinuePrevious",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsCanJoin = TypedDict(
    "DocCapabilitiesGetResultOperationsListsCanJoin",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsContinuePrevious = TypedDict(
    "DocCapabilitiesGetResultOperationsListsContinuePrevious",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsConvertToText = TypedDict(
    "DocCapabilitiesGetResultOperationsListsConvertToText",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsCreate = TypedDict(
    "DocCapabilitiesGetResultOperationsListsCreate",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsDetach = TypedDict(
    "DocCapabilitiesGetResultOperationsListsDetach",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsGet = TypedDict(
    "DocCapabilitiesGetResultOperationsListsGet",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsIndent = TypedDict(
    "DocCapabilitiesGetResultOperationsListsIndent",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsInsert = TypedDict(
    "DocCapabilitiesGetResultOperationsListsInsert",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsJoin = TypedDict(
    "DocCapabilitiesGetResultOperationsListsJoin",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsList = TypedDict(
    "DocCapabilitiesGetResultOperationsListsList",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsOutdent = TypedDict(
    "DocCapabilitiesGetResultOperationsListsOutdent",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsSeparate = TypedDict(
    "DocCapabilitiesGetResultOperationsListsSeparate",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsSetLevel = TypedDict(
    "DocCapabilitiesGetResultOperationsListsSetLevel",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsSetLevelRestart = TypedDict(
    "DocCapabilitiesGetResultOperationsListsSetLevelRestart",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsListsSetValue = TypedDict(
    "DocCapabilitiesGetResultOperationsListsSetValue",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsMutationsApply = TypedDict(
    "DocCapabilitiesGetResultOperationsMutationsApply",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsMutationsPreview = TypedDict(
    "DocCapabilitiesGetResultOperationsMutationsPreview",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsQueryMatch = TypedDict(
    "DocCapabilitiesGetResultOperationsQueryMatch",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsReplace = TypedDict(
    "DocCapabilitiesGetResultOperationsReplace",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsClearHeaderFooterRef = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsClearHeaderFooterRef",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsClearPageBorders = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsClearPageBorders",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsGet = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsGet",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsList = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsList",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetBreakType = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetBreakType",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetColumns = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetColumns",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetHeaderFooterMargins = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetHeaderFooterMargins",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetHeaderFooterRef = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetHeaderFooterRef",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetLineNumbering = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetLineNumbering",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetLinkToPrevious = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetLinkToPrevious",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetOddEvenHeadersFooters = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetOddEvenHeadersFooters",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetPageBorders = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetPageBorders",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetPageMargins = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetPageMargins",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetPageNumbering = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetPageNumbering",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetPageSetup = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetPageSetup",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetSectionDirection = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetSectionDirection",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetTitlePage = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetTitlePage",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsSectionsSetVerticalAlign = TypedDict(
    "DocCapabilitiesGetResultOperationsSectionsSetVerticalAlign",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsStylesApply = TypedDict(
    "DocCapabilitiesGetResultOperationsStylesApply",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsStylesParagraphClearStyle = TypedDict(
    "DocCapabilitiesGetResultOperationsStylesParagraphClearStyle",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsStylesParagraphSetStyle = TypedDict(
    "DocCapabilitiesGetResultOperationsStylesParagraphSetStyle",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesApplyBorderPreset = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesApplyBorderPreset",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesClearBorder = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesClearBorder",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesClearCellSpacing = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesClearCellSpacing",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesClearContents = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesClearContents",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesClearDefaultStyle = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesClearDefaultStyle",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesClearShading = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesClearShading",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesClearStyle = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesClearStyle",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesConvertFromText = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesConvertFromText",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesConvertToText = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesConvertToText",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesDelete = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesDelete",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesDeleteCell = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesDeleteCell",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesDeleteColumn = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesDeleteColumn",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesDeleteRow = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesDeleteRow",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesDistributeColumns = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesDistributeColumns",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesDistributeRows = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesDistributeRows",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesGet = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesGet",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesGetCells = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesGetCells",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesGetProperties = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesGetProperties",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesGetStyles = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesGetStyles",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesInsertCell = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesInsertCell",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesInsertColumn = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesInsertColumn",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesInsertRow = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesInsertRow",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesMergeCells = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesMergeCells",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesMove = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesMove",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetAltText = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetAltText",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetBorder = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetBorder",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetCellPadding = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetCellPadding",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetCellProperties = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetCellProperties",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetCellSpacing = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetCellSpacing",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetColumnWidth = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetColumnWidth",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetDefaultStyle = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetDefaultStyle",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetLayout = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetLayout",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetRowHeight = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetRowHeight",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetRowOptions = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetRowOptions",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetShading = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetShading",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetStyle = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetStyle",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetStyleOption = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetStyleOption",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSetTablePadding = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSetTablePadding",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSort = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSort",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSplit = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSplit",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesSplitCell = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesSplitCell",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTablesUnmergeCells = TypedDict(
    "DocCapabilitiesGetResultOperationsTablesUnmergeCells",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocConfigure = TypedDict(
    "DocCapabilitiesGetResultOperationsTocConfigure",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocEditEntry = TypedDict(
    "DocCapabilitiesGetResultOperationsTocEditEntry",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocGet = TypedDict(
    "DocCapabilitiesGetResultOperationsTocGet",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocGetEntry = TypedDict(
    "DocCapabilitiesGetResultOperationsTocGetEntry",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocList = TypedDict(
    "DocCapabilitiesGetResultOperationsTocList",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocListEntries = TypedDict(
    "DocCapabilitiesGetResultOperationsTocListEntries",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocMarkEntry = TypedDict(
    "DocCapabilitiesGetResultOperationsTocMarkEntry",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocRemove = TypedDict(
    "DocCapabilitiesGetResultOperationsTocRemove",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocUnmarkEntry = TypedDict(
    "DocCapabilitiesGetResultOperationsTocUnmarkEntry",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTocUpdate = TypedDict(
    "DocCapabilitiesGetResultOperationsTocUpdate",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTrackChangesDecide = TypedDict(
    "DocCapabilitiesGetResultOperationsTrackChangesDecide",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTrackChangesGet = TypedDict(
    "DocCapabilitiesGetResultOperationsTrackChangesGet",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperationsTrackChangesList = TypedDict(
    "DocCapabilitiesGetResultOperationsTrackChangesList",
    {
        "available": bool,
        "dryRun": bool,
        "reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
        "tracked": bool,
    },
    total=False,
)

DocCapabilitiesGetResultOperations = TypedDict(
    "DocCapabilitiesGetResultOperations",
    {
        "blocks.delete": DocCapabilitiesGetResultOperationsBlocksDelete,
        "capabilities.get": DocCapabilitiesGetResultOperationsCapabilitiesGet,
        "comments.create": DocCapabilitiesGetResultOperationsCommentsCreate,
        "comments.delete": DocCapabilitiesGetResultOperationsCommentsDelete,
        "comments.get": DocCapabilitiesGetResultOperationsCommentsGet,
        "comments.list": DocCapabilitiesGetResultOperationsCommentsList,
        "comments.patch": DocCapabilitiesGetResultOperationsCommentsPatch,
        "create.heading": DocCapabilitiesGetResultOperationsCreateHeading,
        "create.paragraph": DocCapabilitiesGetResultOperationsCreateParagraph,
        "create.sectionBreak": DocCapabilitiesGetResultOperationsCreateSectionBreak,
        "create.table": DocCapabilitiesGetResultOperationsCreateTable,
        "create.tableOfContents": DocCapabilitiesGetResultOperationsCreateTableOfContents,
        "delete": DocCapabilitiesGetResultOperationsDelete,
        "find": DocCapabilitiesGetResultOperationsFind,
        "format.apply": DocCapabilitiesGetResultOperationsFormatApply,
        "format.bCs": DocCapabilitiesGetResultOperationsFormatBCs,
        "format.bold": DocCapabilitiesGetResultOperationsFormatBold,
        "format.border": DocCapabilitiesGetResultOperationsFormatBorder,
        "format.caps": DocCapabilitiesGetResultOperationsFormatCaps,
        "format.charScale": DocCapabilitiesGetResultOperationsFormatCharScale,
        "format.color": DocCapabilitiesGetResultOperationsFormatColor,
        "format.contextualAlternates": DocCapabilitiesGetResultOperationsFormatContextualAlternates,
        "format.cs": DocCapabilitiesGetResultOperationsFormatCs,
        "format.dstrike": DocCapabilitiesGetResultOperationsFormatDstrike,
        "format.eastAsianLayout": DocCapabilitiesGetResultOperationsFormatEastAsianLayout,
        "format.em": DocCapabilitiesGetResultOperationsFormatEm,
        "format.emboss": DocCapabilitiesGetResultOperationsFormatEmboss,
        "format.fitText": DocCapabilitiesGetResultOperationsFormatFitText,
        "format.fontFamily": DocCapabilitiesGetResultOperationsFormatFontFamily,
        "format.fontSize": DocCapabilitiesGetResultOperationsFormatFontSize,
        "format.fontSizeCs": DocCapabilitiesGetResultOperationsFormatFontSizeCs,
        "format.highlight": DocCapabilitiesGetResultOperationsFormatHighlight,
        "format.iCs": DocCapabilitiesGetResultOperationsFormatICs,
        "format.imprint": DocCapabilitiesGetResultOperationsFormatImprint,
        "format.italic": DocCapabilitiesGetResultOperationsFormatItalic,
        "format.kerning": DocCapabilitiesGetResultOperationsFormatKerning,
        "format.lang": DocCapabilitiesGetResultOperationsFormatLang,
        "format.letterSpacing": DocCapabilitiesGetResultOperationsFormatLetterSpacing,
        "format.ligatures": DocCapabilitiesGetResultOperationsFormatLigatures,
        "format.numForm": DocCapabilitiesGetResultOperationsFormatNumForm,
        "format.numSpacing": DocCapabilitiesGetResultOperationsFormatNumSpacing,
        "format.oMath": DocCapabilitiesGetResultOperationsFormatOMath,
        "format.outline": DocCapabilitiesGetResultOperationsFormatOutline,
        "format.paragraph.clearAlignment": DocCapabilitiesGetResultOperationsFormatParagraphClearAlignment,
        "format.paragraph.clearAllTabStops": DocCapabilitiesGetResultOperationsFormatParagraphClearAllTabStops,
        "format.paragraph.clearBorder": DocCapabilitiesGetResultOperationsFormatParagraphClearBorder,
        "format.paragraph.clearIndentation": DocCapabilitiesGetResultOperationsFormatParagraphClearIndentation,
        "format.paragraph.clearShading": DocCapabilitiesGetResultOperationsFormatParagraphClearShading,
        "format.paragraph.clearSpacing": DocCapabilitiesGetResultOperationsFormatParagraphClearSpacing,
        "format.paragraph.clearTabStop": DocCapabilitiesGetResultOperationsFormatParagraphClearTabStop,
        "format.paragraph.resetDirectFormatting": DocCapabilitiesGetResultOperationsFormatParagraphResetDirectFormatting,
        "format.paragraph.setAlignment": DocCapabilitiesGetResultOperationsFormatParagraphSetAlignment,
        "format.paragraph.setBorder": DocCapabilitiesGetResultOperationsFormatParagraphSetBorder,
        "format.paragraph.setFlowOptions": DocCapabilitiesGetResultOperationsFormatParagraphSetFlowOptions,
        "format.paragraph.setIndentation": DocCapabilitiesGetResultOperationsFormatParagraphSetIndentation,
        "format.paragraph.setKeepOptions": DocCapabilitiesGetResultOperationsFormatParagraphSetKeepOptions,
        "format.paragraph.setOutlineLevel": DocCapabilitiesGetResultOperationsFormatParagraphSetOutlineLevel,
        "format.paragraph.setShading": DocCapabilitiesGetResultOperationsFormatParagraphSetShading,
        "format.paragraph.setSpacing": DocCapabilitiesGetResultOperationsFormatParagraphSetSpacing,
        "format.paragraph.setTabStop": DocCapabilitiesGetResultOperationsFormatParagraphSetTabStop,
        "format.position": DocCapabilitiesGetResultOperationsFormatPosition,
        "format.rFonts": DocCapabilitiesGetResultOperationsFormatRFonts,
        "format.rStyle": DocCapabilitiesGetResultOperationsFormatRStyle,
        "format.rtl": DocCapabilitiesGetResultOperationsFormatRtl,
        "format.shading": DocCapabilitiesGetResultOperationsFormatShading,
        "format.shadow": DocCapabilitiesGetResultOperationsFormatShadow,
        "format.smallCaps": DocCapabilitiesGetResultOperationsFormatSmallCaps,
        "format.snapToGrid": DocCapabilitiesGetResultOperationsFormatSnapToGrid,
        "format.specVanish": DocCapabilitiesGetResultOperationsFormatSpecVanish,
        "format.strike": DocCapabilitiesGetResultOperationsFormatStrike,
        "format.stylisticSets": DocCapabilitiesGetResultOperationsFormatStylisticSets,
        "format.underline": DocCapabilitiesGetResultOperationsFormatUnderline,
        "format.vanish": DocCapabilitiesGetResultOperationsFormatVanish,
        "format.vertAlign": DocCapabilitiesGetResultOperationsFormatVertAlign,
        "format.webHidden": DocCapabilitiesGetResultOperationsFormatWebHidden,
        "getHtml": DocCapabilitiesGetResultOperationsGetHtml,
        "getMarkdown": DocCapabilitiesGetResultOperationsGetMarkdown,
        "getNode": DocCapabilitiesGetResultOperationsGetNode,
        "getNodeById": DocCapabilitiesGetResultOperationsGetNodeById,
        "getText": DocCapabilitiesGetResultOperationsGetText,
        "history.get": DocCapabilitiesGetResultOperationsHistoryGet,
        "history.redo": DocCapabilitiesGetResultOperationsHistoryRedo,
        "history.undo": DocCapabilitiesGetResultOperationsHistoryUndo,
        "info": DocCapabilitiesGetResultOperationsInfo,
        "insert": DocCapabilitiesGetResultOperationsInsert,
        "lists.attach": DocCapabilitiesGetResultOperationsListsAttach,
        "lists.canContinuePrevious": DocCapabilitiesGetResultOperationsListsCanContinuePrevious,
        "lists.canJoin": DocCapabilitiesGetResultOperationsListsCanJoin,
        "lists.continuePrevious": DocCapabilitiesGetResultOperationsListsContinuePrevious,
        "lists.convertToText": DocCapabilitiesGetResultOperationsListsConvertToText,
        "lists.create": DocCapabilitiesGetResultOperationsListsCreate,
        "lists.detach": DocCapabilitiesGetResultOperationsListsDetach,
        "lists.get": DocCapabilitiesGetResultOperationsListsGet,
        "lists.indent": DocCapabilitiesGetResultOperationsListsIndent,
        "lists.insert": DocCapabilitiesGetResultOperationsListsInsert,
        "lists.join": DocCapabilitiesGetResultOperationsListsJoin,
        "lists.list": DocCapabilitiesGetResultOperationsListsList,
        "lists.outdent": DocCapabilitiesGetResultOperationsListsOutdent,
        "lists.separate": DocCapabilitiesGetResultOperationsListsSeparate,
        "lists.setLevel": DocCapabilitiesGetResultOperationsListsSetLevel,
        "lists.setLevelRestart": DocCapabilitiesGetResultOperationsListsSetLevelRestart,
        "lists.setValue": DocCapabilitiesGetResultOperationsListsSetValue,
        "mutations.apply": DocCapabilitiesGetResultOperationsMutationsApply,
        "mutations.preview": DocCapabilitiesGetResultOperationsMutationsPreview,
        "query.match": DocCapabilitiesGetResultOperationsQueryMatch,
        "replace": DocCapabilitiesGetResultOperationsReplace,
        "sections.clearHeaderFooterRef": DocCapabilitiesGetResultOperationsSectionsClearHeaderFooterRef,
        "sections.clearPageBorders": DocCapabilitiesGetResultOperationsSectionsClearPageBorders,
        "sections.get": DocCapabilitiesGetResultOperationsSectionsGet,
        "sections.list": DocCapabilitiesGetResultOperationsSectionsList,
        "sections.setBreakType": DocCapabilitiesGetResultOperationsSectionsSetBreakType,
        "sections.setColumns": DocCapabilitiesGetResultOperationsSectionsSetColumns,
        "sections.setHeaderFooterMargins": DocCapabilitiesGetResultOperationsSectionsSetHeaderFooterMargins,
        "sections.setHeaderFooterRef": DocCapabilitiesGetResultOperationsSectionsSetHeaderFooterRef,
        "sections.setLineNumbering": DocCapabilitiesGetResultOperationsSectionsSetLineNumbering,
        "sections.setLinkToPrevious": DocCapabilitiesGetResultOperationsSectionsSetLinkToPrevious,
        "sections.setOddEvenHeadersFooters": DocCapabilitiesGetResultOperationsSectionsSetOddEvenHeadersFooters,
        "sections.setPageBorders": DocCapabilitiesGetResultOperationsSectionsSetPageBorders,
        "sections.setPageMargins": DocCapabilitiesGetResultOperationsSectionsSetPageMargins,
        "sections.setPageNumbering": DocCapabilitiesGetResultOperationsSectionsSetPageNumbering,
        "sections.setPageSetup": DocCapabilitiesGetResultOperationsSectionsSetPageSetup,
        "sections.setSectionDirection": DocCapabilitiesGetResultOperationsSectionsSetSectionDirection,
        "sections.setTitlePage": DocCapabilitiesGetResultOperationsSectionsSetTitlePage,
        "sections.setVerticalAlign": DocCapabilitiesGetResultOperationsSectionsSetVerticalAlign,
        "styles.apply": DocCapabilitiesGetResultOperationsStylesApply,
        "styles.paragraph.clearStyle": DocCapabilitiesGetResultOperationsStylesParagraphClearStyle,
        "styles.paragraph.setStyle": DocCapabilitiesGetResultOperationsStylesParagraphSetStyle,
        "tables.applyBorderPreset": DocCapabilitiesGetResultOperationsTablesApplyBorderPreset,
        "tables.clearBorder": DocCapabilitiesGetResultOperationsTablesClearBorder,
        "tables.clearCellSpacing": DocCapabilitiesGetResultOperationsTablesClearCellSpacing,
        "tables.clearContents": DocCapabilitiesGetResultOperationsTablesClearContents,
        "tables.clearDefaultStyle": DocCapabilitiesGetResultOperationsTablesClearDefaultStyle,
        "tables.clearShading": DocCapabilitiesGetResultOperationsTablesClearShading,
        "tables.clearStyle": DocCapabilitiesGetResultOperationsTablesClearStyle,
        "tables.convertFromText": DocCapabilitiesGetResultOperationsTablesConvertFromText,
        "tables.convertToText": DocCapabilitiesGetResultOperationsTablesConvertToText,
        "tables.delete": DocCapabilitiesGetResultOperationsTablesDelete,
        "tables.deleteCell": DocCapabilitiesGetResultOperationsTablesDeleteCell,
        "tables.deleteColumn": DocCapabilitiesGetResultOperationsTablesDeleteColumn,
        "tables.deleteRow": DocCapabilitiesGetResultOperationsTablesDeleteRow,
        "tables.distributeColumns": DocCapabilitiesGetResultOperationsTablesDistributeColumns,
        "tables.distributeRows": DocCapabilitiesGetResultOperationsTablesDistributeRows,
        "tables.get": DocCapabilitiesGetResultOperationsTablesGet,
        "tables.getCells": DocCapabilitiesGetResultOperationsTablesGetCells,
        "tables.getProperties": DocCapabilitiesGetResultOperationsTablesGetProperties,
        "tables.getStyles": DocCapabilitiesGetResultOperationsTablesGetStyles,
        "tables.insertCell": DocCapabilitiesGetResultOperationsTablesInsertCell,
        "tables.insertColumn": DocCapabilitiesGetResultOperationsTablesInsertColumn,
        "tables.insertRow": DocCapabilitiesGetResultOperationsTablesInsertRow,
        "tables.mergeCells": DocCapabilitiesGetResultOperationsTablesMergeCells,
        "tables.move": DocCapabilitiesGetResultOperationsTablesMove,
        "tables.setAltText": DocCapabilitiesGetResultOperationsTablesSetAltText,
        "tables.setBorder": DocCapabilitiesGetResultOperationsTablesSetBorder,
        "tables.setCellPadding": DocCapabilitiesGetResultOperationsTablesSetCellPadding,
        "tables.setCellProperties": DocCapabilitiesGetResultOperationsTablesSetCellProperties,
        "tables.setCellSpacing": DocCapabilitiesGetResultOperationsTablesSetCellSpacing,
        "tables.setColumnWidth": DocCapabilitiesGetResultOperationsTablesSetColumnWidth,
        "tables.setDefaultStyle": DocCapabilitiesGetResultOperationsTablesSetDefaultStyle,
        "tables.setLayout": DocCapabilitiesGetResultOperationsTablesSetLayout,
        "tables.setRowHeight": DocCapabilitiesGetResultOperationsTablesSetRowHeight,
        "tables.setRowOptions": DocCapabilitiesGetResultOperationsTablesSetRowOptions,
        "tables.setShading": DocCapabilitiesGetResultOperationsTablesSetShading,
        "tables.setStyle": DocCapabilitiesGetResultOperationsTablesSetStyle,
        "tables.setStyleOption": DocCapabilitiesGetResultOperationsTablesSetStyleOption,
        "tables.setTablePadding": DocCapabilitiesGetResultOperationsTablesSetTablePadding,
        "tables.sort": DocCapabilitiesGetResultOperationsTablesSort,
        "tables.split": DocCapabilitiesGetResultOperationsTablesSplit,
        "tables.splitCell": DocCapabilitiesGetResultOperationsTablesSplitCell,
        "tables.unmergeCells": DocCapabilitiesGetResultOperationsTablesUnmergeCells,
        "toc.configure": DocCapabilitiesGetResultOperationsTocConfigure,
        "toc.editEntry": DocCapabilitiesGetResultOperationsTocEditEntry,
        "toc.get": DocCapabilitiesGetResultOperationsTocGet,
        "toc.getEntry": DocCapabilitiesGetResultOperationsTocGetEntry,
        "toc.list": DocCapabilitiesGetResultOperationsTocList,
        "toc.listEntries": DocCapabilitiesGetResultOperationsTocListEntries,
        "toc.markEntry": DocCapabilitiesGetResultOperationsTocMarkEntry,
        "toc.remove": DocCapabilitiesGetResultOperationsTocRemove,
        "toc.unmarkEntry": DocCapabilitiesGetResultOperationsTocUnmarkEntry,
        "toc.update": DocCapabilitiesGetResultOperationsTocUpdate,
        "trackChanges.decide": DocCapabilitiesGetResultOperationsTrackChangesDecide,
        "trackChanges.get": DocCapabilitiesGetResultOperationsTrackChangesGet,
        "trackChanges.list": DocCapabilitiesGetResultOperationsTrackChangesList,
    },
    total=False,
)

DocCapabilitiesGetResultPlanEngineRegex = TypedDict(
    "DocCapabilitiesGetResultPlanEngineRegex",
    {
        "maxPatternLength": int | float,
    },
    total=False,
)

DocCapabilitiesGetResultPlanEngine = TypedDict(
    "DocCapabilitiesGetResultPlanEngine",
    {
        "regex": DocCapabilitiesGetResultPlanEngineRegex,
        "supportedNonUniformStrategies": list[str],
        "supportedSetMarks": list[str],
        "supportedStepOps": list[str],
    },
    total=False,
)

DocCapabilitiesGetResult = TypedDict(
    "DocCapabilitiesGetResult",
    {
        "format": DocCapabilitiesGetResultFormat,
        "global": DocCapabilitiesGetResultGlobal,
        "operations": DocCapabilitiesGetResultOperations,
        "planEngine": DocCapabilitiesGetResultPlanEngine,
    },
    total=False,
)

DocCreateTableResult = TypedDict(
    "DocCreateTableResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesConvertFromTextResult = TypedDict(
    "DocTablesConvertFromTextResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesDeleteResult = TypedDict(
    "DocTablesDeleteResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesClearContentsResult = TypedDict(
    "DocTablesClearContentsResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesMoveResult = TypedDict(
    "DocTablesMoveResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSplitResult = TypedDict(
    "DocTablesSplitResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesConvertToTextResult = TypedDict(
    "DocTablesConvertToTextResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetLayoutResult = TypedDict(
    "DocTablesSetLayoutResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesInsertRowResult = TypedDict(
    "DocTablesInsertRowResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesDeleteRowResult = TypedDict(
    "DocTablesDeleteRowResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetRowHeightResult = TypedDict(
    "DocTablesSetRowHeightResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesDistributeRowsResult = TypedDict(
    "DocTablesDistributeRowsResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetRowOptionsResult = TypedDict(
    "DocTablesSetRowOptionsResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesInsertColumnResult = TypedDict(
    "DocTablesInsertColumnResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesDeleteColumnResult = TypedDict(
    "DocTablesDeleteColumnResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetColumnWidthResult = TypedDict(
    "DocTablesSetColumnWidthResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesDistributeColumnsResult = TypedDict(
    "DocTablesDistributeColumnsResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesInsertCellResult = TypedDict(
    "DocTablesInsertCellResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesDeleteCellResult = TypedDict(
    "DocTablesDeleteCellResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesMergeCellsResult = TypedDict(
    "DocTablesMergeCellsResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesUnmergeCellsResult = TypedDict(
    "DocTablesUnmergeCellsResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSplitCellResult = TypedDict(
    "DocTablesSplitCellResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetCellPropertiesResult = TypedDict(
    "DocTablesSetCellPropertiesResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSortResult = TypedDict(
    "DocTablesSortResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetAltTextResult = TypedDict(
    "DocTablesSetAltTextResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetStyleResult = TypedDict(
    "DocTablesSetStyleResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesClearStyleResult = TypedDict(
    "DocTablesClearStyleResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetStyleOptionResult = TypedDict(
    "DocTablesSetStyleOptionResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetBorderResult = TypedDict(
    "DocTablesSetBorderResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesClearBorderResult = TypedDict(
    "DocTablesClearBorderResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesApplyBorderPresetResult = TypedDict(
    "DocTablesApplyBorderPresetResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetShadingResult = TypedDict(
    "DocTablesSetShadingResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesClearShadingResult = TypedDict(
    "DocTablesClearShadingResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetTablePaddingResult = TypedDict(
    "DocTablesSetTablePaddingResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetCellPaddingResult = TypedDict(
    "DocTablesSetCellPaddingResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesSetCellSpacingResult = TypedDict(
    "DocTablesSetCellSpacingResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesClearCellSpacingResult = TypedDict(
    "DocTablesClearCellSpacingResult",
    {
        "success": Literal[True],
        "table": Any,
        "trackedChangeRefs": list[Any],
    },
    total=False,
)

DocTablesGetResult = TypedDict(
    "DocTablesGetResult",
    {
        "address": Any,
        "columns": int | float,
        "nodeId": str,
        "rows": int | float,
    },
    total=False,
)

DocTablesGetCellsResultCellsItem = TypedDict(
    "DocTablesGetCellsResultCellsItem",
    {
        "colspan": int | float,
        "columnIndex": int | float,
        "nodeId": str,
        "rowIndex": int | float,
        "rowspan": int | float,
    },
    total=False,
)

DocTablesGetCellsResult = TypedDict(
    "DocTablesGetCellsResult",
    {
        "cells": list[DocTablesGetCellsResultCellsItem],
        "tableNodeId": str,
    },
    total=False,
)

DocTablesGetPropertiesResultStyleOptions = TypedDict(
    "DocTablesGetPropertiesResultStyleOptions",
    {
        "bandedColumns": bool,
        "bandedRows": bool,
        "firstColumn": bool,
        "headerRow": bool,
        "lastColumn": bool,
        "totalRow": bool,
    },
    total=False,
)

DocTablesGetPropertiesResult = TypedDict(
    "DocTablesGetPropertiesResult",
    {
        "alignment": Literal["left"] | Literal["center"] | Literal["right"],
        "autoFitMode": Literal["fixedWidth"] | Literal["fitContents"] | Literal["fitWindow"],
        "direction": Literal["ltr"] | Literal["rtl"],
        "nodeId": str,
        "preferredWidth": int | float,
        "styleId": str,
        "styleOptions": DocTablesGetPropertiesResultStyleOptions,
    },
    total=False,
)

DocTablesGetStylesResultStylesItem = TypedDict(
    "DocTablesGetStylesResultStylesItem",
    {
        "basedOn": Any,
        "conditionalRegions": list[str],
        "hidden": bool,
        "id": str,
        "isCustom": bool,
        "isDefault": bool,
        "name": Any,
        "quickFormat": bool,
        "uiPriority": Any,
    },
    total=False,
)

DocTablesGetStylesResult = TypedDict(
    "DocTablesGetStylesResult",
    {
        "effectiveDefaultSource": str,
        "effectiveDefaultStyleId": Any,
        "explicitDefaultStyleId": Any,
        "styles": list[DocTablesGetStylesResultStylesItem],
    },
    total=False,
)

DocTablesSetDefaultStyleResult = TypedDict(
    "DocTablesSetDefaultStyleResult",
    {
        "success": Literal[True],
    },
    total=False,
)

DocTablesClearDefaultStyleResult = TypedDict(
    "DocTablesClearDefaultStyleResult",
    {
        "success": Literal[True],
    },
    total=False,
)

DocCreateTableOfContentsResultToc = TypedDict(
    "DocCreateTableOfContentsResultToc",
    {
        "kind": Literal["block"],
        "nodeId": str,
        "nodeType": Literal["tableOfContents"],
    },
    total=False,
)

DocCreateTableOfContentsResult = TypedDict(
    "DocCreateTableOfContentsResult",
    {
        "success": Literal[True],
        "toc": DocCreateTableOfContentsResultToc,
    },
    total=False,
)

DocTocListResultItemsItemAddress = TypedDict(
    "DocTocListResultItemsItemAddress",
    {
        "kind": Literal["block"],
        "nodeId": str,
        "nodeType": Literal["tableOfContents"],
    },
    total=False,
)

DocTocListResultItemsItemDisplayConfig = TypedDict(
    "DocTocListResultItemsItemDisplayConfig",
    {
    },
    total=False,
)

DocTocListResultItemsItemPreserved = TypedDict(
    "DocTocListResultItemsItemPreserved",
    {
    },
    total=False,
)

DocTocListResultItemsItemSourceConfig = TypedDict(
    "DocTocListResultItemsItemSourceConfig",
    {
    },
    total=False,
)

DocTocListResultItemsItem = TypedDict(
    "DocTocListResultItemsItem",
    {
        "address": DocTocListResultItemsItemAddress,
        "displayConfig": DocTocListResultItemsItemDisplayConfig,
        "entryCount": int | float,
        "handle": Any,
        "id": str,
        "instruction": str,
        "preserved": DocTocListResultItemsItemPreserved,
        "sourceConfig": DocTocListResultItemsItemSourceConfig,
    },
    total=False,
)

DocTocListResult = TypedDict(
    "DocTocListResult",
    {
        "evaluatedRevision": str,
        "items": list[DocTocListResultItemsItem],
        "page": Any,
        "total": int | float,
    },
    total=False,
)

DocTocGetResultPropertiesDisplayConfig = TypedDict(
    "DocTocGetResultPropertiesDisplayConfig",
    {
    },
    total=False,
)

DocTocGetResultPropertiesPreservedSwitches = TypedDict(
    "DocTocGetResultPropertiesPreservedSwitches",
    {
    },
    total=False,
)

DocTocGetResultPropertiesSourceConfig = TypedDict(
    "DocTocGetResultPropertiesSourceConfig",
    {
    },
    total=False,
)

DocTocGetResultProperties = TypedDict(
    "DocTocGetResultProperties",
    {
        "displayConfig": DocTocGetResultPropertiesDisplayConfig,
        "entryCount": int | float,
        "instruction": str,
        "preservedSwitches": DocTocGetResultPropertiesPreservedSwitches,
        "sourceConfig": DocTocGetResultPropertiesSourceConfig,
    },
    total=False,
)

DocTocGetResult = TypedDict(
    "DocTocGetResult",
    {
        "kind": Literal["block"],
        "nodeType": Literal["tableOfContents"],
        "properties": DocTocGetResultProperties,
    },
    total=False,
)

DocTocConfigureResultToc = TypedDict(
    "DocTocConfigureResultToc",
    {
        "kind": Literal["block"],
        "nodeId": str,
        "nodeType": Literal["tableOfContents"],
    },
    total=False,
)

DocTocConfigureResult = TypedDict(
    "DocTocConfigureResult",
    {
        "success": Literal[True],
        "toc": DocTocConfigureResultToc,
    },
    total=False,
)

DocTocUpdateResultToc = TypedDict(
    "DocTocUpdateResultToc",
    {
        "kind": Literal["block"],
        "nodeId": str,
        "nodeType": Literal["tableOfContents"],
    },
    total=False,
)

DocTocUpdateResult = TypedDict(
    "DocTocUpdateResult",
    {
        "success": Literal[True],
        "toc": DocTocUpdateResultToc,
    },
    total=False,
)

DocTocRemoveResultToc = TypedDict(
    "DocTocRemoveResultToc",
    {
        "kind": Literal["block"],
        "nodeId": str,
        "nodeType": Literal["tableOfContents"],
    },
    total=False,
)

DocTocRemoveResult = TypedDict(
    "DocTocRemoveResult",
    {
        "success": Literal[True],
        "toc": DocTocRemoveResultToc,
    },
    total=False,
)

DocTocMarkEntryResultEntry = TypedDict(
    "DocTocMarkEntryResultEntry",
    {
        "kind": Literal["inline"],
        "nodeId": str,
        "nodeType": Literal["tableOfContentsEntry"],
    },
    total=False,
)

DocTocMarkEntryResult = TypedDict(
    "DocTocMarkEntryResult",
    {
        "entry": DocTocMarkEntryResultEntry,
        "success": Literal[True],
    },
    total=False,
)

DocTocUnmarkEntryResultEntry = TypedDict(
    "DocTocUnmarkEntryResultEntry",
    {
        "kind": Literal["inline"],
        "nodeId": str,
        "nodeType": Literal["tableOfContentsEntry"],
    },
    total=False,
)

DocTocUnmarkEntryResult = TypedDict(
    "DocTocUnmarkEntryResult",
    {
        "entry": DocTocUnmarkEntryResultEntry,
        "success": Literal[True],
    },
    total=False,
)

DocTocListEntriesResultItemsItemAddress = TypedDict(
    "DocTocListEntriesResultItemsItemAddress",
    {
        "kind": Literal["inline"],
        "nodeId": str,
        "nodeType": Literal["tableOfContentsEntry"],
    },
    total=False,
)

DocTocListEntriesResultItemsItem = TypedDict(
    "DocTocListEntriesResultItemsItem",
    {
        "address": DocTocListEntriesResultItemsItemAddress,
        "handle": Any,
        "id": str,
        "instruction": str,
        "level": int | float,
        "omitPageNumber": bool,
        "tableIdentifier": str,
        "text": str,
    },
    total=False,
)

DocTocListEntriesResult = TypedDict(
    "DocTocListEntriesResult",
    {
        "evaluatedRevision": str,
        "items": list[DocTocListEntriesResultItemsItem],
        "page": Any,
        "total": int | float,
    },
    total=False,
)

DocTocGetEntryResultProperties = TypedDict(
    "DocTocGetEntryResultProperties",
    {
        "instruction": str,
        "level": int | float,
        "omitPageNumber": bool,
        "tableIdentifier": str,
        "text": str,
    },
    total=False,
)

DocTocGetEntryResult = TypedDict(
    "DocTocGetEntryResult",
    {
        "kind": Literal["inline"],
        "nodeType": Literal["tableOfContentsEntry"],
        "properties": DocTocGetEntryResultProperties,
    },
    total=False,
)

DocTocEditEntryResultEntry = TypedDict(
    "DocTocEditEntryResultEntry",
    {
        "kind": Literal["inline"],
        "nodeId": str,
        "nodeType": Literal["tableOfContentsEntry"],
    },
    total=False,
)

DocTocEditEntryResult = TypedDict(
    "DocTocEditEntryResult",
    {
        "entry": DocTocEditEntryResultEntry,
        "success": Literal[True],
    },
    total=False,
)

DocHistoryGetResult = TypedDict(
    "DocHistoryGetResult",
    {
        "canRedo": bool,
        "canUndo": bool,
        "historyUnsafeOperations": list[str],
        "redoDepth": int | float,
        "undoDepth": int | float,
    },
    total=False,
)

DocHistoryUndoResultRevision = TypedDict(
    "DocHistoryUndoResultRevision",
    {
        "after": str,
        "before": str,
    },
    total=False,
)

DocHistoryUndoResult = TypedDict(
    "DocHistoryUndoResult",
    {
        "noop": bool,
        "revision": DocHistoryUndoResultRevision,
    },
    total=False,
)

DocHistoryRedoResultRevision = TypedDict(
    "DocHistoryRedoResultRevision",
    {
        "after": str,
        "before": str,
    },
    total=False,
)

DocHistoryRedoResult = TypedDict(
    "DocHistoryRedoResult",
    {
        "noop": bool,
        "revision": DocHistoryRedoResultRevision,
    },
    total=False,
)

DocOpenResultDocument = TypedDict(
    "DocOpenResultDocument",
    {
        "path": str,
        "source": str,
        "revision": int | float,
    },
    total=False,
)

DocOpenResultCollaboration = TypedDict(
    "DocOpenResultCollaboration",
    {
        "documentId": str,
        "url": str,
    },
    total=False,
)

DocOpenResultBootstrap = TypedDict(
    "DocOpenResultBootstrap",
    {
        "roomState": str,
        "bootstrapApplied": bool,
        "bootstrapSource": str,
    },
    total=False,
)

DocOpenResult = TypedDict(
    "DocOpenResult",
    {
        "contextId": str,
        "sessionType": str,
        "document": DocOpenResultDocument,
        "collaboration": DocOpenResultCollaboration,
        "bootstrap": DocOpenResultBootstrap,
    },
    total=False,
)

DocSaveResultDocument = TypedDict(
    "DocSaveResultDocument",
    {
        "path": str,
        "source": str,
        "revision": int | float,
    },
    total=False,
)

DocSaveResultContext = TypedDict(
    "DocSaveResultContext",
    {
        "dirty": bool,
        "revision": int | float,
        "lastSavedAt": str,
    },
    total=False,
)

DocSaveResultOutput = TypedDict(
    "DocSaveResultOutput",
    {
        "path": str,
        "byteLength": int | float,
    },
    total=False,
)

DocSaveResult = TypedDict(
    "DocSaveResult",
    {
        "contextId": str,
        "saved": bool,
        "inPlace": bool,
        "document": DocSaveResultDocument,
        "context": DocSaveResultContext,
        "output": DocSaveResultOutput,
    },
    total=False,
)

DocCloseResultDocument = TypedDict(
    "DocCloseResultDocument",
    {
        "path": str,
        "source": str,
        "revision": int | float,
    },
    total=False,
)

DocCloseResult = TypedDict(
    "DocCloseResult",
    {
        "contextId": str,
        "closed": bool,
        "saved": bool,
        "discarded": bool,
        "defaultSessionCleared": bool,
        "wasDirty": bool,
        "document": DocCloseResultDocument,
    },
    total=False,
)

DocStatusResultDocument = TypedDict(
    "DocStatusResultDocument",
    {
        "path": str,
        "source": str,
    },
    total=False,
)

DocStatusResult = TypedDict(
    "DocStatusResult",
    {
        "contextId": str,
        "sessionType": str,
        "dirty": bool,
        "revision": int | float,
        "document": DocStatusResultDocument,
    },
    total=False,
)

DocDescribeResultOperationsItem = TypedDict(
    "DocDescribeResultOperationsItem",
    {
        "operationId": str,
        "command": str,
        "category": str,
        "description": str,
        "mutates": bool,
    },
    total=False,
)

DocDescribeResult = TypedDict(
    "DocDescribeResult",
    {
        "contractVersion": str,
        "operations": list[DocDescribeResultOperationsItem],
    },
    total=False,
)

DocDescribeCommandResult = TypedDict(
    "DocDescribeCommandResult",
    {
        "operationId": str,
        "command": str,
        "category": str,
        "description": str,
        "mutates": bool,
        "params": list[Any],
        "constraints": Any,
    },
    total=False,
)

DocSessionListResultSessionsItem = TypedDict(
    "DocSessionListResultSessionsItem",
    {
        "sessionId": str,
        "sessionType": str,
        "dirty": bool,
        "revision": int | float,
    },
    total=False,
)

DocSessionListResult = TypedDict(
    "DocSessionListResult",
    {
        "activeSessionId": str,
        "sessions": list[DocSessionListResultSessionsItem],
        "total": int | float,
    },
    total=False,
)

DocSessionSaveResultDocument = TypedDict(
    "DocSessionSaveResultDocument",
    {
        "path": str,
        "source": str,
        "revision": int | float,
    },
    total=False,
)

DocSessionSaveResultOutput = TypedDict(
    "DocSessionSaveResultOutput",
    {
        "path": str,
        "byteLength": int | float,
    },
    total=False,
)

DocSessionSaveResult = TypedDict(
    "DocSessionSaveResult",
    {
        "sessionId": str,
        "contextId": str,
        "saved": bool,
        "inPlace": bool,
        "document": DocSessionSaveResultDocument,
        "output": DocSessionSaveResultOutput,
    },
    total=False,
)

DocSessionCloseResultDocument = TypedDict(
    "DocSessionCloseResultDocument",
    {
        "path": str,
        "source": str,
        "revision": int | float,
    },
    total=False,
)

DocSessionCloseResult = TypedDict(
    "DocSessionCloseResult",
    {
        "sessionId": str,
        "contextId": str,
        "closed": bool,
        "saved": bool,
        "discarded": bool,
        "defaultSessionCleared": bool,
        "wasDirty": bool,
        "document": DocSessionCloseResultDocument,
    },
    total=False,
)

DocSessionSetDefaultResult = TypedDict(
    "DocSessionSetDefaultResult",
    {
        "activeSessionId": str,
    },
    total=False,
)

DocFindParamsWithinVariant1 = TypedDict(
    "DocFindParamsWithinVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocFindParamsWithinVariant2AnchorStart = TypedDict(
    "DocFindParamsWithinVariant2AnchorStart",
    {
        "blockId": str,
        "offset": int | float,
    },
    total=False,
)

DocFindParamsWithinVariant2AnchorEnd = TypedDict(
    "DocFindParamsWithinVariant2AnchorEnd",
    {
        "blockId": str,
        "offset": int | float,
    },
    total=False,
)

DocFindParamsWithinVariant2Anchor = TypedDict(
    "DocFindParamsWithinVariant2Anchor",
    {
        "start": DocFindParamsWithinVariant2AnchorStart,
        "end": DocFindParamsWithinVariant2AnchorEnd,
    },
    total=False,
)

DocFindParamsWithinVariant2 = TypedDict(
    "DocFindParamsWithinVariant2",
    {
        "kind": Literal["inline"],
        "nodeType": Literal["run"] | Literal["bookmark"] | Literal["comment"] | Literal["hyperlink"] | Literal["sdt"] | Literal["image"] | Literal["footnoteRef"] | Literal["tab"] | Literal["lineBreak"],
        "anchor": DocFindParamsWithinVariant2Anchor,
    },
    total=False,
)

DocFindParams = TypedDict(
    "DocFindParams",
    {
        "doc": str,
        "sessionId": str,
        "within": DocFindParamsWithinVariant1 | DocFindParamsWithinVariant2,
        "limit": int | float,
        "offset": int | float,
        "require": str,
        "includeNodes": bool,
        "includeUnknown": bool,
        "type": str,
        "nodeType": str,
        "kind": str,
        "pattern": str,
        "mode": str,
        "caseSensitive": bool,
        "select": Any,
        "query": Any,
    },
    total=False,
)

DocGetNodeParams = TypedDict(
    "DocGetNodeParams",
    {
        "doc": str,
        "sessionId": str,
        "address": Any,
    },
    total=False,
)

DocGetNodeByIdParams = TypedDict(
    "DocGetNodeByIdParams",
    {
        "doc": str,
        "sessionId": str,
        "id": str,
        "nodeType": str,
    },
    total=False,
)

DocGetTextParams = TypedDict(
    "DocGetTextParams",
    {
        "doc": str,
        "sessionId": str,
    },
    total=False,
)

DocGetMarkdownParams = TypedDict(
    "DocGetMarkdownParams",
    {
        "doc": str,
        "sessionId": str,
    },
    total=False,
)

DocGetHtmlParams = TypedDict(
    "DocGetHtmlParams",
    {
        "doc": str,
        "sessionId": str,
        "unflattenLists": bool,
    },
    total=False,
)

DocInfoParams = TypedDict(
    "DocInfoParams",
    {
        "doc": str,
        "sessionId": str,
    },
    total=False,
)

DocInsertParamsTargetRange = TypedDict(
    "DocInsertParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocInsertParamsTarget = TypedDict(
    "DocInsertParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocInsertParamsTargetRange,
    },
    total=False,
)

DocInsertParams = TypedDict(
    "DocInsertParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocInsertParamsTarget,
        "value": str,
        "type": str,
        "blockId": str,
        "offset": int | float,
    },
    total=False,
)

DocReplaceParamsTargetRange = TypedDict(
    "DocReplaceParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocReplaceParamsTarget = TypedDict(
    "DocReplaceParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocReplaceParamsTargetRange,
    },
    total=False,
)

DocReplaceParams = TypedDict(
    "DocReplaceParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocReplaceParamsTarget,
        "text": str,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocDeleteParamsTargetRange = TypedDict(
    "DocDeleteParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocDeleteParamsTarget = TypedDict(
    "DocDeleteParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocDeleteParamsTargetRange,
    },
    total=False,
)

DocDeleteParams = TypedDict(
    "DocDeleteParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocDeleteParamsTarget,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocBlocksDeleteParamsTarget = TypedDict(
    "DocBlocksDeleteParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocBlocksDeleteParams = TypedDict(
    "DocBlocksDeleteParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocBlocksDeleteParamsTarget,
        "nodeType": str,
        "nodeId": str,
    },
    total=False,
)

DocFormatApplyParamsTargetRange = TypedDict(
    "DocFormatApplyParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatApplyParamsTarget = TypedDict(
    "DocFormatApplyParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatApplyParamsTargetRange,
    },
    total=False,
)

DocFormatApplyParamsInlineUnderlineVariant3 = TypedDict(
    "DocFormatApplyParamsInlineUnderlineVariant3",
    {
        "style": str | Any,
        "color": str | Any,
        "themeColor": str | Any,
    },
    total=False,
)

DocFormatApplyParamsInlineShadingVariant1 = TypedDict(
    "DocFormatApplyParamsInlineShadingVariant1",
    {
        "fill": str | Any,
        "color": str | Any,
        "val": str | Any,
    },
    total=False,
)

DocFormatApplyParamsInlineBorderVariant1 = TypedDict(
    "DocFormatApplyParamsInlineBorderVariant1",
    {
        "val": str | Any,
        "sz": int | float | Any,
        "color": str | Any,
        "space": int | float | Any,
    },
    total=False,
)

DocFormatApplyParamsInlineEastAsianLayoutVariant1 = TypedDict(
    "DocFormatApplyParamsInlineEastAsianLayoutVariant1",
    {
        "id": str | Any,
        "combine": bool | Any,
        "combineBrackets": str | Any,
        "vert": bool | Any,
        "vertCompress": bool | Any,
    },
    total=False,
)

DocFormatApplyParamsInlineFitTextVariant1 = TypedDict(
    "DocFormatApplyParamsInlineFitTextVariant1",
    {
        "val": int | float | Any,
        "id": str | Any,
    },
    total=False,
)

DocFormatApplyParamsInlineLangVariant1 = TypedDict(
    "DocFormatApplyParamsInlineLangVariant1",
    {
        "val": str | Any,
        "eastAsia": str | Any,
        "bidi": str | Any,
    },
    total=False,
)

DocFormatApplyParamsInlineRFontsVariant1 = TypedDict(
    "DocFormatApplyParamsInlineRFontsVariant1",
    {
        "ascii": str | Any,
        "hAnsi": str | Any,
        "eastAsia": str | Any,
        "cs": str | Any,
        "asciiTheme": str | Any,
        "hAnsiTheme": str | Any,
        "eastAsiaTheme": str | Any,
        "csTheme": str | Any,
        "hint": str | Any,
    },
    total=False,
)

DocFormatApplyParamsInlineStylisticSetsVariant1Item = TypedDict(
    "DocFormatApplyParamsInlineStylisticSetsVariant1Item",
    {
        "id": int | float,
        "val": bool,
    },
    total=False,
)

DocFormatApplyParamsInline = TypedDict(
    "DocFormatApplyParamsInline",
    {
        "bold": bool | Any,
        "italic": bool | Any,
        "strike": bool | Any,
        "underline": bool | Any | DocFormatApplyParamsInlineUnderlineVariant3,
        "highlight": str | Any,
        "color": str | Any,
        "fontSize": int | float | Any,
        "fontFamily": str | Any,
        "letterSpacing": int | float | Any,
        "vertAlign": Literal["superscript"] | Literal["subscript"] | Literal["baseline"] | Any,
        "position": int | float | Any,
        "dstrike": bool | Any,
        "smallCaps": bool | Any,
        "caps": bool | Any,
        "shading": DocFormatApplyParamsInlineShadingVariant1 | Any,
        "border": DocFormatApplyParamsInlineBorderVariant1 | Any,
        "outline": bool | Any,
        "shadow": bool | Any,
        "emboss": bool | Any,
        "imprint": bool | Any,
        "charScale": int | float | Any,
        "kerning": int | float | Any,
        "vanish": bool | Any,
        "webHidden": bool | Any,
        "specVanish": bool | Any,
        "rtl": bool | Any,
        "cs": bool | Any,
        "bCs": bool | Any,
        "iCs": bool | Any,
        "eastAsianLayout": DocFormatApplyParamsInlineEastAsianLayoutVariant1 | Any,
        "em": str | Any,
        "fitText": DocFormatApplyParamsInlineFitTextVariant1 | Any,
        "snapToGrid": bool | Any,
        "lang": DocFormatApplyParamsInlineLangVariant1 | Any,
        "oMath": bool | Any,
        "rStyle": str | Any,
        "rFonts": DocFormatApplyParamsInlineRFontsVariant1 | Any,
        "fontSizeCs": int | float | Any,
        "ligatures": str | Any,
        "numForm": str | Any,
        "numSpacing": str | Any,
        "stylisticSets": list[DocFormatApplyParamsInlineStylisticSetsVariant1Item] | Any,
        "contextualAlternates": bool | Any,
    },
    total=False,
)

DocFormatApplyParams = TypedDict(
    "DocFormatApplyParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatApplyParamsTarget,
        "inline": DocFormatApplyParamsInline,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatBoldParamsTargetRange = TypedDict(
    "DocFormatBoldParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatBoldParamsTarget = TypedDict(
    "DocFormatBoldParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatBoldParamsTargetRange,
    },
    total=False,
)

DocFormatBoldParams = TypedDict(
    "DocFormatBoldParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatBoldParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatItalicParamsTargetRange = TypedDict(
    "DocFormatItalicParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatItalicParamsTarget = TypedDict(
    "DocFormatItalicParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatItalicParamsTargetRange,
    },
    total=False,
)

DocFormatItalicParams = TypedDict(
    "DocFormatItalicParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatItalicParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatStrikeParamsTargetRange = TypedDict(
    "DocFormatStrikeParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatStrikeParamsTarget = TypedDict(
    "DocFormatStrikeParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatStrikeParamsTargetRange,
    },
    total=False,
)

DocFormatStrikeParams = TypedDict(
    "DocFormatStrikeParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatStrikeParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatUnderlineParamsTargetRange = TypedDict(
    "DocFormatUnderlineParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatUnderlineParamsTarget = TypedDict(
    "DocFormatUnderlineParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatUnderlineParamsTargetRange,
    },
    total=False,
)

DocFormatUnderlineParamsValueVariant3 = TypedDict(
    "DocFormatUnderlineParamsValueVariant3",
    {
        "style": str | Any,
        "color": str | Any,
        "themeColor": str | Any,
    },
    total=False,
)

DocFormatUnderlineParams = TypedDict(
    "DocFormatUnderlineParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatUnderlineParamsTarget,
        "value": bool | Any | DocFormatUnderlineParamsValueVariant3,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatHighlightParamsTargetRange = TypedDict(
    "DocFormatHighlightParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatHighlightParamsTarget = TypedDict(
    "DocFormatHighlightParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatHighlightParamsTargetRange,
    },
    total=False,
)

DocFormatHighlightParams = TypedDict(
    "DocFormatHighlightParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatHighlightParamsTarget,
        "value": str | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatColorParamsTargetRange = TypedDict(
    "DocFormatColorParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatColorParamsTarget = TypedDict(
    "DocFormatColorParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatColorParamsTargetRange,
    },
    total=False,
)

DocFormatColorParams = TypedDict(
    "DocFormatColorParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatColorParamsTarget,
        "value": str | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatFontSizeParamsTargetRange = TypedDict(
    "DocFormatFontSizeParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatFontSizeParamsTarget = TypedDict(
    "DocFormatFontSizeParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatFontSizeParamsTargetRange,
    },
    total=False,
)

DocFormatFontSizeParams = TypedDict(
    "DocFormatFontSizeParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatFontSizeParamsTarget,
        "value": int | float | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatFontFamilyParamsTargetRange = TypedDict(
    "DocFormatFontFamilyParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatFontFamilyParamsTarget = TypedDict(
    "DocFormatFontFamilyParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatFontFamilyParamsTargetRange,
    },
    total=False,
)

DocFormatFontFamilyParams = TypedDict(
    "DocFormatFontFamilyParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatFontFamilyParamsTarget,
        "value": str | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatLetterSpacingParamsTargetRange = TypedDict(
    "DocFormatLetterSpacingParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatLetterSpacingParamsTarget = TypedDict(
    "DocFormatLetterSpacingParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatLetterSpacingParamsTargetRange,
    },
    total=False,
)

DocFormatLetterSpacingParams = TypedDict(
    "DocFormatLetterSpacingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatLetterSpacingParamsTarget,
        "value": int | float | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatVertAlignParamsTargetRange = TypedDict(
    "DocFormatVertAlignParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatVertAlignParamsTarget = TypedDict(
    "DocFormatVertAlignParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatVertAlignParamsTargetRange,
    },
    total=False,
)

DocFormatVertAlignParams = TypedDict(
    "DocFormatVertAlignParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatVertAlignParamsTarget,
        "value": Literal["superscript"] | Literal["subscript"] | Literal["baseline"] | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatPositionParamsTargetRange = TypedDict(
    "DocFormatPositionParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatPositionParamsTarget = TypedDict(
    "DocFormatPositionParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatPositionParamsTargetRange,
    },
    total=False,
)

DocFormatPositionParams = TypedDict(
    "DocFormatPositionParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatPositionParamsTarget,
        "value": int | float | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatDstrikeParamsTargetRange = TypedDict(
    "DocFormatDstrikeParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatDstrikeParamsTarget = TypedDict(
    "DocFormatDstrikeParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatDstrikeParamsTargetRange,
    },
    total=False,
)

DocFormatDstrikeParams = TypedDict(
    "DocFormatDstrikeParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatDstrikeParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatSmallCapsParamsTargetRange = TypedDict(
    "DocFormatSmallCapsParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatSmallCapsParamsTarget = TypedDict(
    "DocFormatSmallCapsParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatSmallCapsParamsTargetRange,
    },
    total=False,
)

DocFormatSmallCapsParams = TypedDict(
    "DocFormatSmallCapsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatSmallCapsParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatCapsParamsTargetRange = TypedDict(
    "DocFormatCapsParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatCapsParamsTarget = TypedDict(
    "DocFormatCapsParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatCapsParamsTargetRange,
    },
    total=False,
)

DocFormatCapsParams = TypedDict(
    "DocFormatCapsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatCapsParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatShadingParamsTargetRange = TypedDict(
    "DocFormatShadingParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatShadingParamsTarget = TypedDict(
    "DocFormatShadingParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatShadingParamsTargetRange,
    },
    total=False,
)

DocFormatShadingParamsValueVariant1 = TypedDict(
    "DocFormatShadingParamsValueVariant1",
    {
        "fill": str | Any,
        "color": str | Any,
        "val": str | Any,
    },
    total=False,
)

DocFormatShadingParams = TypedDict(
    "DocFormatShadingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatShadingParamsTarget,
        "value": DocFormatShadingParamsValueVariant1 | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatBorderParamsTargetRange = TypedDict(
    "DocFormatBorderParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatBorderParamsTarget = TypedDict(
    "DocFormatBorderParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatBorderParamsTargetRange,
    },
    total=False,
)

DocFormatBorderParamsValueVariant1 = TypedDict(
    "DocFormatBorderParamsValueVariant1",
    {
        "val": str | Any,
        "sz": int | float | Any,
        "color": str | Any,
        "space": int | float | Any,
    },
    total=False,
)

DocFormatBorderParams = TypedDict(
    "DocFormatBorderParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatBorderParamsTarget,
        "value": DocFormatBorderParamsValueVariant1 | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatOutlineParamsTargetRange = TypedDict(
    "DocFormatOutlineParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatOutlineParamsTarget = TypedDict(
    "DocFormatOutlineParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatOutlineParamsTargetRange,
    },
    total=False,
)

DocFormatOutlineParams = TypedDict(
    "DocFormatOutlineParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatOutlineParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatShadowParamsTargetRange = TypedDict(
    "DocFormatShadowParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatShadowParamsTarget = TypedDict(
    "DocFormatShadowParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatShadowParamsTargetRange,
    },
    total=False,
)

DocFormatShadowParams = TypedDict(
    "DocFormatShadowParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatShadowParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatEmbossParamsTargetRange = TypedDict(
    "DocFormatEmbossParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatEmbossParamsTarget = TypedDict(
    "DocFormatEmbossParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatEmbossParamsTargetRange,
    },
    total=False,
)

DocFormatEmbossParams = TypedDict(
    "DocFormatEmbossParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatEmbossParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatImprintParamsTargetRange = TypedDict(
    "DocFormatImprintParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatImprintParamsTarget = TypedDict(
    "DocFormatImprintParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatImprintParamsTargetRange,
    },
    total=False,
)

DocFormatImprintParams = TypedDict(
    "DocFormatImprintParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatImprintParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatCharScaleParamsTargetRange = TypedDict(
    "DocFormatCharScaleParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatCharScaleParamsTarget = TypedDict(
    "DocFormatCharScaleParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatCharScaleParamsTargetRange,
    },
    total=False,
)

DocFormatCharScaleParams = TypedDict(
    "DocFormatCharScaleParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatCharScaleParamsTarget,
        "value": int | float | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatKerningParamsTargetRange = TypedDict(
    "DocFormatKerningParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatKerningParamsTarget = TypedDict(
    "DocFormatKerningParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatKerningParamsTargetRange,
    },
    total=False,
)

DocFormatKerningParams = TypedDict(
    "DocFormatKerningParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatKerningParamsTarget,
        "value": int | float | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatVanishParamsTargetRange = TypedDict(
    "DocFormatVanishParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatVanishParamsTarget = TypedDict(
    "DocFormatVanishParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatVanishParamsTargetRange,
    },
    total=False,
)

DocFormatVanishParams = TypedDict(
    "DocFormatVanishParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatVanishParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatWebHiddenParamsTargetRange = TypedDict(
    "DocFormatWebHiddenParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatWebHiddenParamsTarget = TypedDict(
    "DocFormatWebHiddenParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatWebHiddenParamsTargetRange,
    },
    total=False,
)

DocFormatWebHiddenParams = TypedDict(
    "DocFormatWebHiddenParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatWebHiddenParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatSpecVanishParamsTargetRange = TypedDict(
    "DocFormatSpecVanishParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatSpecVanishParamsTarget = TypedDict(
    "DocFormatSpecVanishParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatSpecVanishParamsTargetRange,
    },
    total=False,
)

DocFormatSpecVanishParams = TypedDict(
    "DocFormatSpecVanishParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatSpecVanishParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatRtlParamsTargetRange = TypedDict(
    "DocFormatRtlParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatRtlParamsTarget = TypedDict(
    "DocFormatRtlParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatRtlParamsTargetRange,
    },
    total=False,
)

DocFormatRtlParams = TypedDict(
    "DocFormatRtlParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatRtlParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatCsParamsTargetRange = TypedDict(
    "DocFormatCsParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatCsParamsTarget = TypedDict(
    "DocFormatCsParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatCsParamsTargetRange,
    },
    total=False,
)

DocFormatCsParams = TypedDict(
    "DocFormatCsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatCsParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatBCsParamsTargetRange = TypedDict(
    "DocFormatBCsParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatBCsParamsTarget = TypedDict(
    "DocFormatBCsParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatBCsParamsTargetRange,
    },
    total=False,
)

DocFormatBCsParams = TypedDict(
    "DocFormatBCsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatBCsParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatICsParamsTargetRange = TypedDict(
    "DocFormatICsParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatICsParamsTarget = TypedDict(
    "DocFormatICsParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatICsParamsTargetRange,
    },
    total=False,
)

DocFormatICsParams = TypedDict(
    "DocFormatICsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatICsParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatEastAsianLayoutParamsTargetRange = TypedDict(
    "DocFormatEastAsianLayoutParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatEastAsianLayoutParamsTarget = TypedDict(
    "DocFormatEastAsianLayoutParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatEastAsianLayoutParamsTargetRange,
    },
    total=False,
)

DocFormatEastAsianLayoutParamsValueVariant1 = TypedDict(
    "DocFormatEastAsianLayoutParamsValueVariant1",
    {
        "id": str | Any,
        "combine": bool | Any,
        "combineBrackets": str | Any,
        "vert": bool | Any,
        "vertCompress": bool | Any,
    },
    total=False,
)

DocFormatEastAsianLayoutParams = TypedDict(
    "DocFormatEastAsianLayoutParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatEastAsianLayoutParamsTarget,
        "value": DocFormatEastAsianLayoutParamsValueVariant1 | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatEmParamsTargetRange = TypedDict(
    "DocFormatEmParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatEmParamsTarget = TypedDict(
    "DocFormatEmParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatEmParamsTargetRange,
    },
    total=False,
)

DocFormatEmParams = TypedDict(
    "DocFormatEmParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatEmParamsTarget,
        "value": str | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatFitTextParamsTargetRange = TypedDict(
    "DocFormatFitTextParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatFitTextParamsTarget = TypedDict(
    "DocFormatFitTextParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatFitTextParamsTargetRange,
    },
    total=False,
)

DocFormatFitTextParamsValueVariant1 = TypedDict(
    "DocFormatFitTextParamsValueVariant1",
    {
        "val": int | float | Any,
        "id": str | Any,
    },
    total=False,
)

DocFormatFitTextParams = TypedDict(
    "DocFormatFitTextParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatFitTextParamsTarget,
        "value": DocFormatFitTextParamsValueVariant1 | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatSnapToGridParamsTargetRange = TypedDict(
    "DocFormatSnapToGridParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatSnapToGridParamsTarget = TypedDict(
    "DocFormatSnapToGridParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatSnapToGridParamsTargetRange,
    },
    total=False,
)

DocFormatSnapToGridParams = TypedDict(
    "DocFormatSnapToGridParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatSnapToGridParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatLangParamsTargetRange = TypedDict(
    "DocFormatLangParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatLangParamsTarget = TypedDict(
    "DocFormatLangParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatLangParamsTargetRange,
    },
    total=False,
)

DocFormatLangParamsValueVariant1 = TypedDict(
    "DocFormatLangParamsValueVariant1",
    {
        "val": str | Any,
        "eastAsia": str | Any,
        "bidi": str | Any,
    },
    total=False,
)

DocFormatLangParams = TypedDict(
    "DocFormatLangParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatLangParamsTarget,
        "value": DocFormatLangParamsValueVariant1 | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatOMathParamsTargetRange = TypedDict(
    "DocFormatOMathParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatOMathParamsTarget = TypedDict(
    "DocFormatOMathParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatOMathParamsTargetRange,
    },
    total=False,
)

DocFormatOMathParams = TypedDict(
    "DocFormatOMathParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatOMathParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatRStyleParamsTargetRange = TypedDict(
    "DocFormatRStyleParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatRStyleParamsTarget = TypedDict(
    "DocFormatRStyleParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatRStyleParamsTargetRange,
    },
    total=False,
)

DocFormatRStyleParams = TypedDict(
    "DocFormatRStyleParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatRStyleParamsTarget,
        "value": str | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatRFontsParamsTargetRange = TypedDict(
    "DocFormatRFontsParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatRFontsParamsTarget = TypedDict(
    "DocFormatRFontsParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatRFontsParamsTargetRange,
    },
    total=False,
)

DocFormatRFontsParamsValueVariant1 = TypedDict(
    "DocFormatRFontsParamsValueVariant1",
    {
        "ascii": str | Any,
        "hAnsi": str | Any,
        "eastAsia": str | Any,
        "cs": str | Any,
        "asciiTheme": str | Any,
        "hAnsiTheme": str | Any,
        "eastAsiaTheme": str | Any,
        "csTheme": str | Any,
        "hint": str | Any,
    },
    total=False,
)

DocFormatRFontsParams = TypedDict(
    "DocFormatRFontsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatRFontsParamsTarget,
        "value": DocFormatRFontsParamsValueVariant1 | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatFontSizeCsParamsTargetRange = TypedDict(
    "DocFormatFontSizeCsParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatFontSizeCsParamsTarget = TypedDict(
    "DocFormatFontSizeCsParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatFontSizeCsParamsTargetRange,
    },
    total=False,
)

DocFormatFontSizeCsParams = TypedDict(
    "DocFormatFontSizeCsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatFontSizeCsParamsTarget,
        "value": int | float | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatLigaturesParamsTargetRange = TypedDict(
    "DocFormatLigaturesParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatLigaturesParamsTarget = TypedDict(
    "DocFormatLigaturesParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatLigaturesParamsTargetRange,
    },
    total=False,
)

DocFormatLigaturesParams = TypedDict(
    "DocFormatLigaturesParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatLigaturesParamsTarget,
        "value": str | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatNumFormParamsTargetRange = TypedDict(
    "DocFormatNumFormParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatNumFormParamsTarget = TypedDict(
    "DocFormatNumFormParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatNumFormParamsTargetRange,
    },
    total=False,
)

DocFormatNumFormParams = TypedDict(
    "DocFormatNumFormParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatNumFormParamsTarget,
        "value": str | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatNumSpacingParamsTargetRange = TypedDict(
    "DocFormatNumSpacingParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatNumSpacingParamsTarget = TypedDict(
    "DocFormatNumSpacingParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatNumSpacingParamsTargetRange,
    },
    total=False,
)

DocFormatNumSpacingParams = TypedDict(
    "DocFormatNumSpacingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatNumSpacingParamsTarget,
        "value": str | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatStylisticSetsParamsTargetRange = TypedDict(
    "DocFormatStylisticSetsParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatStylisticSetsParamsTarget = TypedDict(
    "DocFormatStylisticSetsParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatStylisticSetsParamsTargetRange,
    },
    total=False,
)

DocFormatStylisticSetsParamsValueVariant1Item = TypedDict(
    "DocFormatStylisticSetsParamsValueVariant1Item",
    {
        "id": int | float,
        "val": bool,
    },
    total=False,
)

DocFormatStylisticSetsParams = TypedDict(
    "DocFormatStylisticSetsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatStylisticSetsParamsTarget,
        "value": list[DocFormatStylisticSetsParamsValueVariant1Item] | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatContextualAlternatesParamsTargetRange = TypedDict(
    "DocFormatContextualAlternatesParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatContextualAlternatesParamsTarget = TypedDict(
    "DocFormatContextualAlternatesParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocFormatContextualAlternatesParamsTargetRange,
    },
    total=False,
)

DocFormatContextualAlternatesParams = TypedDict(
    "DocFormatContextualAlternatesParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatContextualAlternatesParamsTarget,
        "value": bool | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocStylesApplyParams = TypedDict(
    "DocStylesApplyParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": Any,
        "patch": Any,
    },
    total=False,
)

DocCreateParagraphParamsAtVariant1 = TypedDict(
    "DocCreateParagraphParamsAtVariant1",
    {
        "kind": Literal["documentStart"],
    },
    total=False,
)

DocCreateParagraphParamsAtVariant2 = TypedDict(
    "DocCreateParagraphParamsAtVariant2",
    {
        "kind": Literal["documentEnd"],
    },
    total=False,
)

DocCreateParagraphParamsAtVariant3Target = TypedDict(
    "DocCreateParagraphParamsAtVariant3Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateParagraphParamsAtVariant3 = TypedDict(
    "DocCreateParagraphParamsAtVariant3",
    {
        "kind": Literal["before"],
        "target": DocCreateParagraphParamsAtVariant3Target,
    },
    total=False,
)

DocCreateParagraphParamsAtVariant4Target = TypedDict(
    "DocCreateParagraphParamsAtVariant4Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateParagraphParamsAtVariant4 = TypedDict(
    "DocCreateParagraphParamsAtVariant4",
    {
        "kind": Literal["after"],
        "target": DocCreateParagraphParamsAtVariant4Target,
    },
    total=False,
)

DocCreateParagraphParams = TypedDict(
    "DocCreateParagraphParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "at": DocCreateParagraphParamsAtVariant1 | DocCreateParagraphParamsAtVariant2 | DocCreateParagraphParamsAtVariant3 | DocCreateParagraphParamsAtVariant4,
        "text": str,
        "input": Any,
    },
    total=False,
)

DocCreateHeadingParamsAtVariant1 = TypedDict(
    "DocCreateHeadingParamsAtVariant1",
    {
        "kind": Literal["documentStart"],
    },
    total=False,
)

DocCreateHeadingParamsAtVariant2 = TypedDict(
    "DocCreateHeadingParamsAtVariant2",
    {
        "kind": Literal["documentEnd"],
    },
    total=False,
)

DocCreateHeadingParamsAtVariant3Target = TypedDict(
    "DocCreateHeadingParamsAtVariant3Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateHeadingParamsAtVariant3 = TypedDict(
    "DocCreateHeadingParamsAtVariant3",
    {
        "kind": Literal["before"],
        "target": DocCreateHeadingParamsAtVariant3Target,
    },
    total=False,
)

DocCreateHeadingParamsAtVariant4Target = TypedDict(
    "DocCreateHeadingParamsAtVariant4Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateHeadingParamsAtVariant4 = TypedDict(
    "DocCreateHeadingParamsAtVariant4",
    {
        "kind": Literal["after"],
        "target": DocCreateHeadingParamsAtVariant4Target,
    },
    total=False,
)

DocCreateHeadingParams = TypedDict(
    "DocCreateHeadingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "level": int | float,
        "at": DocCreateHeadingParamsAtVariant1 | DocCreateHeadingParamsAtVariant2 | DocCreateHeadingParamsAtVariant3 | DocCreateHeadingParamsAtVariant4,
        "text": str,
        "input": Any,
    },
    total=False,
)

DocCreateSectionBreakParamsAtVariant1 = TypedDict(
    "DocCreateSectionBreakParamsAtVariant1",
    {
        "kind": Literal["documentStart"],
    },
    total=False,
)

DocCreateSectionBreakParamsAtVariant2 = TypedDict(
    "DocCreateSectionBreakParamsAtVariant2",
    {
        "kind": Literal["documentEnd"],
    },
    total=False,
)

DocCreateSectionBreakParamsAtVariant3Target = TypedDict(
    "DocCreateSectionBreakParamsAtVariant3Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateSectionBreakParamsAtVariant3 = TypedDict(
    "DocCreateSectionBreakParamsAtVariant3",
    {
        "kind": Literal["before"],
        "target": DocCreateSectionBreakParamsAtVariant3Target,
    },
    total=False,
)

DocCreateSectionBreakParamsAtVariant4Target = TypedDict(
    "DocCreateSectionBreakParamsAtVariant4Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateSectionBreakParamsAtVariant4 = TypedDict(
    "DocCreateSectionBreakParamsAtVariant4",
    {
        "kind": Literal["after"],
        "target": DocCreateSectionBreakParamsAtVariant4Target,
    },
    total=False,
)

DocCreateSectionBreakParamsPageMargins = TypedDict(
    "DocCreateSectionBreakParamsPageMargins",
    {
        "top": int | float,
        "right": int | float,
        "bottom": int | float,
        "left": int | float,
        "gutter": int | float,
    },
    total=False,
)

DocCreateSectionBreakParamsHeaderFooterMargins = TypedDict(
    "DocCreateSectionBreakParamsHeaderFooterMargins",
    {
        "header": int | float,
        "footer": int | float,
    },
    total=False,
)

DocCreateSectionBreakParams = TypedDict(
    "DocCreateSectionBreakParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "at": DocCreateSectionBreakParamsAtVariant1 | DocCreateSectionBreakParamsAtVariant2 | DocCreateSectionBreakParamsAtVariant3 | DocCreateSectionBreakParamsAtVariant4,
        "breakType": str,
        "pageMargins": DocCreateSectionBreakParamsPageMargins,
        "headerFooterMargins": DocCreateSectionBreakParamsHeaderFooterMargins,
    },
    total=False,
)

DocSectionsListParams = TypedDict(
    "DocSectionsListParams",
    {
        "doc": str,
        "sessionId": str,
        "limit": int | float,
        "offset": int | float,
    },
    total=False,
)

DocSectionsGetParamsAddress = TypedDict(
    "DocSectionsGetParamsAddress",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsGetParams = TypedDict(
    "DocSectionsGetParams",
    {
        "doc": str,
        "sessionId": str,
        "address": DocSectionsGetParamsAddress,
    },
    total=False,
)

DocSectionsSetBreakTypeParamsTarget = TypedDict(
    "DocSectionsSetBreakTypeParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetBreakTypeParams = TypedDict(
    "DocSectionsSetBreakTypeParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetBreakTypeParamsTarget,
        "breakType": str,
    },
    total=False,
)

DocSectionsSetPageMarginsParamsTarget = TypedDict(
    "DocSectionsSetPageMarginsParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetPageMarginsParams = TypedDict(
    "DocSectionsSetPageMarginsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetPageMarginsParamsTarget,
        "top": int | float,
        "right": int | float,
        "bottom": int | float,
        "left": int | float,
        "gutter": int | float,
    },
    total=False,
)

DocSectionsSetHeaderFooterMarginsParamsTarget = TypedDict(
    "DocSectionsSetHeaderFooterMarginsParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetHeaderFooterMarginsParams = TypedDict(
    "DocSectionsSetHeaderFooterMarginsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetHeaderFooterMarginsParamsTarget,
        "header": int | float,
        "footer": int | float,
    },
    total=False,
)

DocSectionsSetPageSetupParamsTarget = TypedDict(
    "DocSectionsSetPageSetupParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetPageSetupParams = TypedDict(
    "DocSectionsSetPageSetupParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetPageSetupParamsTarget,
        "width": int | float,
        "height": int | float,
        "orientation": str,
        "paperSize": str,
    },
    total=False,
)

DocSectionsSetColumnsParamsTarget = TypedDict(
    "DocSectionsSetColumnsParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetColumnsParams = TypedDict(
    "DocSectionsSetColumnsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetColumnsParamsTarget,
        "count": int | float,
        "gap": int | float,
        "equalWidth": bool,
    },
    total=False,
)

DocSectionsSetLineNumberingParamsTarget = TypedDict(
    "DocSectionsSetLineNumberingParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetLineNumberingParams = TypedDict(
    "DocSectionsSetLineNumberingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetLineNumberingParamsTarget,
        "enabled": bool,
        "countBy": int | float,
        "start": int | float,
        "distance": int | float,
        "restart": str,
    },
    total=False,
)

DocSectionsSetPageNumberingParamsTarget = TypedDict(
    "DocSectionsSetPageNumberingParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetPageNumberingParams = TypedDict(
    "DocSectionsSetPageNumberingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetPageNumberingParamsTarget,
        "start": int | float,
        "format": str,
    },
    total=False,
)

DocSectionsSetTitlePageParamsTarget = TypedDict(
    "DocSectionsSetTitlePageParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetTitlePageParams = TypedDict(
    "DocSectionsSetTitlePageParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetTitlePageParamsTarget,
        "enabled": bool,
    },
    total=False,
)

DocSectionsSetOddEvenHeadersFootersParams = TypedDict(
    "DocSectionsSetOddEvenHeadersFootersParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "enabled": bool,
    },
    total=False,
)

DocSectionsSetVerticalAlignParamsTarget = TypedDict(
    "DocSectionsSetVerticalAlignParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetVerticalAlignParams = TypedDict(
    "DocSectionsSetVerticalAlignParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetVerticalAlignParamsTarget,
        "value": str,
    },
    total=False,
)

DocSectionsSetSectionDirectionParamsTarget = TypedDict(
    "DocSectionsSetSectionDirectionParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetSectionDirectionParams = TypedDict(
    "DocSectionsSetSectionDirectionParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetSectionDirectionParamsTarget,
        "direction": str,
    },
    total=False,
)

DocSectionsSetHeaderFooterRefParamsTarget = TypedDict(
    "DocSectionsSetHeaderFooterRefParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetHeaderFooterRefParams = TypedDict(
    "DocSectionsSetHeaderFooterRefParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetHeaderFooterRefParamsTarget,
        "kind": str,
        "variant": str,
        "refId": str,
    },
    total=False,
)

DocSectionsClearHeaderFooterRefParamsTarget = TypedDict(
    "DocSectionsClearHeaderFooterRefParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsClearHeaderFooterRefParams = TypedDict(
    "DocSectionsClearHeaderFooterRefParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsClearHeaderFooterRefParamsTarget,
        "kind": str,
        "variant": str,
    },
    total=False,
)

DocSectionsSetLinkToPreviousParamsTarget = TypedDict(
    "DocSectionsSetLinkToPreviousParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetLinkToPreviousParams = TypedDict(
    "DocSectionsSetLinkToPreviousParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetLinkToPreviousParamsTarget,
        "kind": str,
        "variant": str,
        "linked": bool,
    },
    total=False,
)

DocSectionsSetPageBordersParamsTarget = TypedDict(
    "DocSectionsSetPageBordersParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsSetPageBordersParams = TypedDict(
    "DocSectionsSetPageBordersParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsSetPageBordersParamsTarget,
        "borders": Any | Any | Any | Any | Any | Any | Any,
    },
    total=False,
)

DocSectionsClearPageBordersParamsTarget = TypedDict(
    "DocSectionsClearPageBordersParamsTarget",
    {
        "kind": Literal["section"],
        "sectionId": str,
    },
    total=False,
)

DocSectionsClearPageBordersParams = TypedDict(
    "DocSectionsClearPageBordersParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocSectionsClearPageBordersParamsTarget,
    },
    total=False,
)

DocStylesParagraphSetStyleParamsTargetVariant1 = TypedDict(
    "DocStylesParagraphSetStyleParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocStylesParagraphSetStyleParamsTargetVariant2 = TypedDict(
    "DocStylesParagraphSetStyleParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocStylesParagraphSetStyleParamsTargetVariant3 = TypedDict(
    "DocStylesParagraphSetStyleParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocStylesParagraphSetStyleParams = TypedDict(
    "DocStylesParagraphSetStyleParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocStylesParagraphSetStyleParamsTargetVariant1 | DocStylesParagraphSetStyleParamsTargetVariant2 | DocStylesParagraphSetStyleParamsTargetVariant3,
        "styleId": str,
    },
    total=False,
)

DocStylesParagraphClearStyleParamsTargetVariant1 = TypedDict(
    "DocStylesParagraphClearStyleParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocStylesParagraphClearStyleParamsTargetVariant2 = TypedDict(
    "DocStylesParagraphClearStyleParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocStylesParagraphClearStyleParamsTargetVariant3 = TypedDict(
    "DocStylesParagraphClearStyleParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocStylesParagraphClearStyleParams = TypedDict(
    "DocStylesParagraphClearStyleParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocStylesParagraphClearStyleParamsTargetVariant1 | DocStylesParagraphClearStyleParamsTargetVariant2 | DocStylesParagraphClearStyleParamsTargetVariant3,
    },
    total=False,
)

DocFormatParagraphResetDirectFormattingParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphResetDirectFormattingParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphResetDirectFormattingParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphResetDirectFormattingParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphResetDirectFormattingParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphResetDirectFormattingParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphResetDirectFormattingParams = TypedDict(
    "DocFormatParagraphResetDirectFormattingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphResetDirectFormattingParamsTargetVariant1 | DocFormatParagraphResetDirectFormattingParamsTargetVariant2 | DocFormatParagraphResetDirectFormattingParamsTargetVariant3,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetAlignmentParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetAlignmentParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetAlignmentParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetAlignmentParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetAlignmentParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetAlignmentParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetAlignmentParams = TypedDict(
    "DocFormatParagraphSetAlignmentParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetAlignmentParamsTargetVariant1 | DocFormatParagraphSetAlignmentParamsTargetVariant2 | DocFormatParagraphSetAlignmentParamsTargetVariant3,
        "alignment": str,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphClearAlignmentParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphClearAlignmentParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearAlignmentParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphClearAlignmentParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearAlignmentParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphClearAlignmentParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearAlignmentParams = TypedDict(
    "DocFormatParagraphClearAlignmentParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphClearAlignmentParamsTargetVariant1 | DocFormatParagraphClearAlignmentParamsTargetVariant2 | DocFormatParagraphClearAlignmentParamsTargetVariant3,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetIndentationParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetIndentationParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetIndentationParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetIndentationParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetIndentationParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetIndentationParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetIndentationParams = TypedDict(
    "DocFormatParagraphSetIndentationParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetIndentationParamsTargetVariant1 | DocFormatParagraphSetIndentationParamsTargetVariant2 | DocFormatParagraphSetIndentationParamsTargetVariant3,
        "left": int | float,
        "right": int | float,
        "firstLine": int | float,
        "hanging": int | float,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphClearIndentationParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphClearIndentationParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearIndentationParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphClearIndentationParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearIndentationParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphClearIndentationParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearIndentationParams = TypedDict(
    "DocFormatParagraphClearIndentationParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphClearIndentationParamsTargetVariant1 | DocFormatParagraphClearIndentationParamsTargetVariant2 | DocFormatParagraphClearIndentationParamsTargetVariant3,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetSpacingParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetSpacingParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetSpacingParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetSpacingParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetSpacingParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetSpacingParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetSpacingParams = TypedDict(
    "DocFormatParagraphSetSpacingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetSpacingParamsTargetVariant1 | DocFormatParagraphSetSpacingParamsTargetVariant2 | DocFormatParagraphSetSpacingParamsTargetVariant3,
        "before": int | float,
        "after": int | float,
        "line": int | float,
        "lineRule": str,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphClearSpacingParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphClearSpacingParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearSpacingParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphClearSpacingParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearSpacingParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphClearSpacingParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearSpacingParams = TypedDict(
    "DocFormatParagraphClearSpacingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphClearSpacingParamsTargetVariant1 | DocFormatParagraphClearSpacingParamsTargetVariant2 | DocFormatParagraphClearSpacingParamsTargetVariant3,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetKeepOptionsParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetKeepOptionsParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetKeepOptionsParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetKeepOptionsParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetKeepOptionsParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetKeepOptionsParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetKeepOptionsParams = TypedDict(
    "DocFormatParagraphSetKeepOptionsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetKeepOptionsParamsTargetVariant1 | DocFormatParagraphSetKeepOptionsParamsTargetVariant2 | DocFormatParagraphSetKeepOptionsParamsTargetVariant3,
        "keepNext": bool,
        "keepLines": bool,
        "widowControl": bool,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetOutlineLevelParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetOutlineLevelParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetOutlineLevelParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetOutlineLevelParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetOutlineLevelParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetOutlineLevelParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetOutlineLevelParams = TypedDict(
    "DocFormatParagraphSetOutlineLevelParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetOutlineLevelParamsTargetVariant1 | DocFormatParagraphSetOutlineLevelParamsTargetVariant2 | DocFormatParagraphSetOutlineLevelParamsTargetVariant3,
        "outlineLevel": int | float | Any,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetFlowOptionsParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetFlowOptionsParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetFlowOptionsParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetFlowOptionsParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetFlowOptionsParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetFlowOptionsParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetFlowOptionsParams = TypedDict(
    "DocFormatParagraphSetFlowOptionsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetFlowOptionsParamsTargetVariant1 | DocFormatParagraphSetFlowOptionsParamsTargetVariant2 | DocFormatParagraphSetFlowOptionsParamsTargetVariant3,
        "contextualSpacing": bool,
        "pageBreakBefore": bool,
        "suppressAutoHyphens": bool,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetTabStopParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetTabStopParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetTabStopParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetTabStopParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetTabStopParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetTabStopParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetTabStopParams = TypedDict(
    "DocFormatParagraphSetTabStopParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetTabStopParamsTargetVariant1 | DocFormatParagraphSetTabStopParamsTargetVariant2 | DocFormatParagraphSetTabStopParamsTargetVariant3,
        "position": int | float,
        "alignment": str,
        "leader": str,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphClearTabStopParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphClearTabStopParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearTabStopParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphClearTabStopParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearTabStopParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphClearTabStopParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearTabStopParams = TypedDict(
    "DocFormatParagraphClearTabStopParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphClearTabStopParamsTargetVariant1 | DocFormatParagraphClearTabStopParamsTargetVariant2 | DocFormatParagraphClearTabStopParamsTargetVariant3,
        "position": int | float,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphClearAllTabStopsParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphClearAllTabStopsParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearAllTabStopsParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphClearAllTabStopsParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearAllTabStopsParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphClearAllTabStopsParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearAllTabStopsParams = TypedDict(
    "DocFormatParagraphClearAllTabStopsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphClearAllTabStopsParamsTargetVariant1 | DocFormatParagraphClearAllTabStopsParamsTargetVariant2 | DocFormatParagraphClearAllTabStopsParamsTargetVariant3,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetBorderParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetBorderParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetBorderParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetBorderParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetBorderParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetBorderParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetBorderParams = TypedDict(
    "DocFormatParagraphSetBorderParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetBorderParamsTargetVariant1 | DocFormatParagraphSetBorderParamsTargetVariant2 | DocFormatParagraphSetBorderParamsTargetVariant3,
        "side": str,
        "style": str,
        "color": str,
        "size": int | float,
        "space": int | float,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphClearBorderParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphClearBorderParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearBorderParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphClearBorderParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearBorderParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphClearBorderParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearBorderParams = TypedDict(
    "DocFormatParagraphClearBorderParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphClearBorderParamsTargetVariant1 | DocFormatParagraphClearBorderParamsTargetVariant2 | DocFormatParagraphClearBorderParamsTargetVariant3,
        "side": str,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphSetShadingParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphSetShadingParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetShadingParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphSetShadingParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetShadingParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphSetShadingParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphSetShadingParams = TypedDict(
    "DocFormatParagraphSetShadingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphSetShadingParamsTargetVariant1 | DocFormatParagraphSetShadingParamsTargetVariant2 | DocFormatParagraphSetShadingParamsTargetVariant3,
        "fill": str,
        "color": str,
        "pattern": str,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocFormatParagraphClearShadingParamsTargetVariant1 = TypedDict(
    "DocFormatParagraphClearShadingParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearShadingParamsTargetVariant2 = TypedDict(
    "DocFormatParagraphClearShadingParamsTargetVariant2",
    {
        "kind": Literal["block"],
        "nodeType": Literal["heading"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearShadingParamsTargetVariant3 = TypedDict(
    "DocFormatParagraphClearShadingParamsTargetVariant3",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocFormatParagraphClearShadingParams = TypedDict(
    "DocFormatParagraphClearShadingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocFormatParagraphClearShadingParamsTargetVariant1 | DocFormatParagraphClearShadingParamsTargetVariant2 | DocFormatParagraphClearShadingParamsTargetVariant3,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocListsListParamsWithin = TypedDict(
    "DocListsListParamsWithin",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocListsListParams = TypedDict(
    "DocListsListParams",
    {
        "doc": str,
        "sessionId": str,
        "within": DocListsListParamsWithin,
        "limit": int | float,
        "offset": int | float,
        "kind": str,
        "level": int | float,
        "ordinal": int | float,
        "query": Any,
    },
    total=False,
)

DocListsGetParamsAddress = TypedDict(
    "DocListsGetParamsAddress",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsGetParams = TypedDict(
    "DocListsGetParams",
    {
        "doc": str,
        "sessionId": str,
        "address": DocListsGetParamsAddress,
    },
    total=False,
)

DocListsInsertParamsTarget = TypedDict(
    "DocListsInsertParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsInsertParams = TypedDict(
    "DocListsInsertParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsInsertParamsTarget,
        "position": str,
        "text": str,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsCreateParamsAt = TypedDict(
    "DocListsCreateParamsAt",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocListsCreateParamsTargetVariant1 = TypedDict(
    "DocListsCreateParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocListsCreateParamsTargetVariant2From = TypedDict(
    "DocListsCreateParamsTargetVariant2From",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocListsCreateParamsTargetVariant2To = TypedDict(
    "DocListsCreateParamsTargetVariant2To",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocListsCreateParamsTargetVariant2 = TypedDict(
    "DocListsCreateParamsTargetVariant2",
    {
        "from": DocListsCreateParamsTargetVariant2From,
        "to": DocListsCreateParamsTargetVariant2To,
    },
    total=False,
)

DocListsCreateParams = TypedDict(
    "DocListsCreateParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "mode": str,
        "at": DocListsCreateParamsAt,
        "target": DocListsCreateParamsTargetVariant1 | DocListsCreateParamsTargetVariant2,
        "kind": str,
        "level": int | float,
        "input": Any,
    },
    total=False,
)

DocListsAttachParamsTargetVariant1 = TypedDict(
    "DocListsAttachParamsTargetVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocListsAttachParamsTargetVariant2From = TypedDict(
    "DocListsAttachParamsTargetVariant2From",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocListsAttachParamsTargetVariant2To = TypedDict(
    "DocListsAttachParamsTargetVariant2To",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocListsAttachParamsTargetVariant2 = TypedDict(
    "DocListsAttachParamsTargetVariant2",
    {
        "from": DocListsAttachParamsTargetVariant2From,
        "to": DocListsAttachParamsTargetVariant2To,
    },
    total=False,
)

DocListsAttachParamsAttachTo = TypedDict(
    "DocListsAttachParamsAttachTo",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsAttachParams = TypedDict(
    "DocListsAttachParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsAttachParamsTargetVariant1 | DocListsAttachParamsTargetVariant2,
        "attachTo": DocListsAttachParamsAttachTo,
        "level": int | float,
        "input": Any,
    },
    total=False,
)

DocListsDetachParamsTarget = TypedDict(
    "DocListsDetachParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsDetachParams = TypedDict(
    "DocListsDetachParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsDetachParamsTarget,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsIndentParamsTarget = TypedDict(
    "DocListsIndentParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsIndentParams = TypedDict(
    "DocListsIndentParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsIndentParamsTarget,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsOutdentParamsTarget = TypedDict(
    "DocListsOutdentParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsOutdentParams = TypedDict(
    "DocListsOutdentParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsOutdentParamsTarget,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsJoinParamsTarget = TypedDict(
    "DocListsJoinParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsJoinParams = TypedDict(
    "DocListsJoinParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsJoinParamsTarget,
        "direction": str,
        "input": Any,
    },
    total=False,
)

DocListsCanJoinParamsTarget = TypedDict(
    "DocListsCanJoinParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsCanJoinParams = TypedDict(
    "DocListsCanJoinParams",
    {
        "doc": str,
        "sessionId": str,
        "target": DocListsCanJoinParamsTarget,
        "direction": str,
        "input": Any,
    },
    total=False,
)

DocListsSeparateParamsTarget = TypedDict(
    "DocListsSeparateParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsSeparateParams = TypedDict(
    "DocListsSeparateParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsSeparateParamsTarget,
        "copyOverrides": bool,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsSetLevelParamsTarget = TypedDict(
    "DocListsSetLevelParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsSetLevelParams = TypedDict(
    "DocListsSetLevelParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsSetLevelParamsTarget,
        "level": int | float,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsSetValueParamsTarget = TypedDict(
    "DocListsSetValueParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsSetValueParams = TypedDict(
    "DocListsSetValueParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsSetValueParamsTarget,
        "value": Any,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsContinuePreviousParamsTarget = TypedDict(
    "DocListsContinuePreviousParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsContinuePreviousParams = TypedDict(
    "DocListsContinuePreviousParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsContinuePreviousParamsTarget,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsCanContinuePreviousParamsTarget = TypedDict(
    "DocListsCanContinuePreviousParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsCanContinuePreviousParams = TypedDict(
    "DocListsCanContinuePreviousParams",
    {
        "doc": str,
        "sessionId": str,
        "target": DocListsCanContinuePreviousParamsTarget,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocListsSetLevelRestartParamsTarget = TypedDict(
    "DocListsSetLevelRestartParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsSetLevelRestartParams = TypedDict(
    "DocListsSetLevelRestartParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsSetLevelRestartParamsTarget,
        "level": int | float,
        "restartAfterLevel": Any,
        "scope": str,
        "input": Any,
    },
    total=False,
)

DocListsConvertToTextParamsTarget = TypedDict(
    "DocListsConvertToTextParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["listItem"],
        "nodeId": str,
    },
    total=False,
)

DocListsConvertToTextParams = TypedDict(
    "DocListsConvertToTextParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocListsConvertToTextParamsTarget,
        "includeMarker": bool,
        "input": Any,
        "nodeId": str,
    },
    total=False,
)

DocCommentsCreateParamsTargetRange = TypedDict(
    "DocCommentsCreateParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocCommentsCreateParamsTarget = TypedDict(
    "DocCommentsCreateParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocCommentsCreateParamsTargetRange,
    },
    total=False,
)

DocCommentsCreateParams = TypedDict(
    "DocCommentsCreateParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "text": str,
        "target": DocCommentsCreateParamsTarget,
        "parentId": str,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocCommentsPatchParamsTargetRange = TypedDict(
    "DocCommentsPatchParamsTargetRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocCommentsPatchParamsTarget = TypedDict(
    "DocCommentsPatchParamsTarget",
    {
        "kind": Literal["text"],
        "blockId": str,
        "range": DocCommentsPatchParamsTargetRange,
    },
    total=False,
)

DocCommentsPatchParams = TypedDict(
    "DocCommentsPatchParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "id": str,
        "text": str,
        "target": DocCommentsPatchParamsTarget,
        "status": str,
        "isInternal": bool,
        "blockId": str,
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocCommentsDeleteParams = TypedDict(
    "DocCommentsDeleteParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "id": str,
    },
    total=False,
)

DocCommentsGetParams = TypedDict(
    "DocCommentsGetParams",
    {
        "doc": str,
        "sessionId": str,
        "id": str,
    },
    total=False,
)

DocCommentsListParams = TypedDict(
    "DocCommentsListParams",
    {
        "doc": str,
        "sessionId": str,
        "includeResolved": bool,
        "limit": int | float,
        "offset": int | float,
    },
    total=False,
)

DocTrackChangesListParams = TypedDict(
    "DocTrackChangesListParams",
    {
        "doc": str,
        "sessionId": str,
        "limit": int | float,
        "offset": int | float,
        "type": str,
    },
    total=False,
)

DocTrackChangesGetParams = TypedDict(
    "DocTrackChangesGetParams",
    {
        "doc": str,
        "sessionId": str,
        "id": str,
    },
    total=False,
)

DocTrackChangesDecideParamsTargetVariant1 = TypedDict(
    "DocTrackChangesDecideParamsTargetVariant1",
    {
        "id": str,
    },
    total=False,
)

DocTrackChangesDecideParamsTargetVariant2 = TypedDict(
    "DocTrackChangesDecideParamsTargetVariant2",
    {
        "scope": Literal["all"],
    },
    total=False,
)

DocTrackChangesDecideParams = TypedDict(
    "DocTrackChangesDecideParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "decision": str,
        "target": DocTrackChangesDecideParamsTargetVariant1 | DocTrackChangesDecideParamsTargetVariant2,
    },
    total=False,
)

DocQueryMatchParamsSelectVariant1 = TypedDict(
    "DocQueryMatchParamsSelectVariant1",
    {
        "type": Literal["text"],
        "pattern": str,
        "mode": Literal["contains"] | Literal["regex"],
        "caseSensitive": bool,
    },
    total=False,
)

DocQueryMatchParamsSelectVariant2 = TypedDict(
    "DocQueryMatchParamsSelectVariant2",
    {
        "type": Literal["node"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"] | Literal["run"] | Literal["bookmark"] | Literal["comment"] | Literal["hyperlink"] | Literal["footnoteRef"] | Literal["tab"] | Literal["lineBreak"],
        "kind": Literal["block"] | Literal["inline"],
    },
    total=False,
)

DocQueryMatchParamsWithinVariant1 = TypedDict(
    "DocQueryMatchParamsWithinVariant1",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocQueryMatchParamsWithinVariant2AnchorStart = TypedDict(
    "DocQueryMatchParamsWithinVariant2AnchorStart",
    {
        "blockId": str,
        "offset": int | float,
    },
    total=False,
)

DocQueryMatchParamsWithinVariant2AnchorEnd = TypedDict(
    "DocQueryMatchParamsWithinVariant2AnchorEnd",
    {
        "blockId": str,
        "offset": int | float,
    },
    total=False,
)

DocQueryMatchParamsWithinVariant2Anchor = TypedDict(
    "DocQueryMatchParamsWithinVariant2Anchor",
    {
        "start": DocQueryMatchParamsWithinVariant2AnchorStart,
        "end": DocQueryMatchParamsWithinVariant2AnchorEnd,
    },
    total=False,
)

DocQueryMatchParamsWithinVariant2 = TypedDict(
    "DocQueryMatchParamsWithinVariant2",
    {
        "kind": Literal["inline"],
        "nodeType": Literal["run"] | Literal["bookmark"] | Literal["comment"] | Literal["hyperlink"] | Literal["sdt"] | Literal["image"] | Literal["footnoteRef"] | Literal["tab"] | Literal["lineBreak"],
        "anchor": DocQueryMatchParamsWithinVariant2Anchor,
    },
    total=False,
)

DocQueryMatchParams = TypedDict(
    "DocQueryMatchParams",
    {
        "doc": str,
        "sessionId": str,
        "select": DocQueryMatchParamsSelectVariant1 | DocQueryMatchParamsSelectVariant2,
        "within": DocQueryMatchParamsWithinVariant1 | DocQueryMatchParamsWithinVariant2,
        "require": str,
        "mode": str,
        "includeNodes": bool,
        "limit": int | float,
        "offset": int | float,
    },
    total=False,
)

DocMutationsPreviewParams = TypedDict(
    "DocMutationsPreviewParams",
    {
        "doc": str,
        "sessionId": str,
        "expectedRevision": str,
        "atomic": Literal[True],
        "changeMode": str,
        "steps": Any,
    },
    total=False,
)

DocMutationsApplyParams = TypedDict(
    "DocMutationsApplyParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "atomic": Literal[True],
        "steps": Any,
    },
    total=False,
)

DocCapabilitiesGetParams = TypedDict(
    "DocCapabilitiesGetParams",
    {
        "sessionId": str,
    },
    total=False,
)

DocCreateTableParamsAtVariant1 = TypedDict(
    "DocCreateTableParamsAtVariant1",
    {
        "kind": Literal["documentStart"],
    },
    total=False,
)

DocCreateTableParamsAtVariant2 = TypedDict(
    "DocCreateTableParamsAtVariant2",
    {
        "kind": Literal["documentEnd"],
    },
    total=False,
)

DocCreateTableParamsAtVariant3Target = TypedDict(
    "DocCreateTableParamsAtVariant3Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateTableParamsAtVariant3 = TypedDict(
    "DocCreateTableParamsAtVariant3",
    {
        "kind": Literal["before"],
        "target": DocCreateTableParamsAtVariant3Target,
    },
    total=False,
)

DocCreateTableParamsAtVariant4Target = TypedDict(
    "DocCreateTableParamsAtVariant4Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateTableParamsAtVariant4 = TypedDict(
    "DocCreateTableParamsAtVariant4",
    {
        "kind": Literal["after"],
        "target": DocCreateTableParamsAtVariant4Target,
    },
    total=False,
)

DocCreateTableParamsAtVariant5 = TypedDict(
    "DocCreateTableParamsAtVariant5",
    {
        "kind": Literal["before"],
        "nodeId": str,
    },
    total=False,
)

DocCreateTableParamsAtVariant6 = TypedDict(
    "DocCreateTableParamsAtVariant6",
    {
        "kind": Literal["after"],
        "nodeId": str,
    },
    total=False,
)

DocCreateTableParams = TypedDict(
    "DocCreateTableParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "rows": int | float,
        "columns": int | float,
        "at": DocCreateTableParamsAtVariant1 | DocCreateTableParamsAtVariant2 | DocCreateTableParamsAtVariant3 | DocCreateTableParamsAtVariant4 | DocCreateTableParamsAtVariant5 | DocCreateTableParamsAtVariant6,
    },
    total=False,
)

DocTablesConvertFromTextParamsTarget = TypedDict(
    "DocTablesConvertFromTextParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesConvertFromTextParamsDelimiterVariant2 = TypedDict(
    "DocTablesConvertFromTextParamsDelimiterVariant2",
    {
        "custom": str,
    },
    total=False,
)

DocTablesConvertFromTextParams = TypedDict(
    "DocTablesConvertFromTextParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesConvertFromTextParamsTarget,
        "nodeId": str,
        "delimiter": Literal["tab"] | Literal["comma"] | Literal["paragraph"] | DocTablesConvertFromTextParamsDelimiterVariant2,
        "columns": int | float,
        "inferColumns": bool,
    },
    total=False,
)

DocTablesDeleteParamsTarget = TypedDict(
    "DocTablesDeleteParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesDeleteParams = TypedDict(
    "DocTablesDeleteParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesDeleteParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesClearContentsParamsTarget = TypedDict(
    "DocTablesClearContentsParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesClearContentsParams = TypedDict(
    "DocTablesClearContentsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesClearContentsParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesMoveParamsTarget = TypedDict(
    "DocTablesMoveParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesMoveParamsDestinationVariant1 = TypedDict(
    "DocTablesMoveParamsDestinationVariant1",
    {
        "kind": Literal["documentStart"],
    },
    total=False,
)

DocTablesMoveParamsDestinationVariant2 = TypedDict(
    "DocTablesMoveParamsDestinationVariant2",
    {
        "kind": Literal["documentEnd"],
    },
    total=False,
)

DocTablesMoveParamsDestinationVariant3Target = TypedDict(
    "DocTablesMoveParamsDestinationVariant3Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesMoveParamsDestinationVariant3 = TypedDict(
    "DocTablesMoveParamsDestinationVariant3",
    {
        "kind": Literal["before"],
        "target": DocTablesMoveParamsDestinationVariant3Target,
    },
    total=False,
)

DocTablesMoveParamsDestinationVariant4Target = TypedDict(
    "DocTablesMoveParamsDestinationVariant4Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesMoveParamsDestinationVariant4 = TypedDict(
    "DocTablesMoveParamsDestinationVariant4",
    {
        "kind": Literal["after"],
        "target": DocTablesMoveParamsDestinationVariant4Target,
    },
    total=False,
)

DocTablesMoveParamsDestinationVariant5 = TypedDict(
    "DocTablesMoveParamsDestinationVariant5",
    {
        "kind": Literal["before"],
        "nodeId": str,
    },
    total=False,
)

DocTablesMoveParamsDestinationVariant6 = TypedDict(
    "DocTablesMoveParamsDestinationVariant6",
    {
        "kind": Literal["after"],
        "nodeId": str,
    },
    total=False,
)

DocTablesMoveParams = TypedDict(
    "DocTablesMoveParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesMoveParamsTarget,
        "nodeId": str,
        "destination": DocTablesMoveParamsDestinationVariant1 | DocTablesMoveParamsDestinationVariant2 | DocTablesMoveParamsDestinationVariant3 | DocTablesMoveParamsDestinationVariant4 | DocTablesMoveParamsDestinationVariant5 | DocTablesMoveParamsDestinationVariant6,
    },
    total=False,
)

DocTablesSplitParamsTarget = TypedDict(
    "DocTablesSplitParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSplitParams = TypedDict(
    "DocTablesSplitParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSplitParamsTarget,
        "nodeId": str,
        "atRowIndex": int | float,
    },
    total=False,
)

DocTablesConvertToTextParamsTarget = TypedDict(
    "DocTablesConvertToTextParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesConvertToTextParams = TypedDict(
    "DocTablesConvertToTextParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesConvertToTextParamsTarget,
        "nodeId": str,
        "delimiter": str,
    },
    total=False,
)

DocTablesSetLayoutParamsTarget = TypedDict(
    "DocTablesSetLayoutParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetLayoutParams = TypedDict(
    "DocTablesSetLayoutParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetLayoutParamsTarget,
        "nodeId": str,
        "preferredWidth": int | float,
        "alignment": str,
        "leftIndentPt": int | float,
        "autoFitMode": str,
        "tableDirection": str,
    },
    total=False,
)

DocTablesInsertRowParamsTarget = TypedDict(
    "DocTablesInsertRowParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesInsertRowParamsTableTarget = TypedDict(
    "DocTablesInsertRowParamsTableTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesInsertRowParams = TypedDict(
    "DocTablesInsertRowParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesInsertRowParamsTarget,
        "nodeId": str,
        "tableTarget": DocTablesInsertRowParamsTableTarget,
        "tableNodeId": str,
        "rowIndex": int | float,
        "position": str,
        "count": int | float,
    },
    total=False,
)

DocTablesDeleteRowParamsTarget = TypedDict(
    "DocTablesDeleteRowParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesDeleteRowParamsTableTarget = TypedDict(
    "DocTablesDeleteRowParamsTableTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesDeleteRowParams = TypedDict(
    "DocTablesDeleteRowParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesDeleteRowParamsTarget,
        "nodeId": str,
        "tableTarget": DocTablesDeleteRowParamsTableTarget,
        "tableNodeId": str,
        "rowIndex": int | float,
    },
    total=False,
)

DocTablesSetRowHeightParamsTarget = TypedDict(
    "DocTablesSetRowHeightParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetRowHeightParamsTableTarget = TypedDict(
    "DocTablesSetRowHeightParamsTableTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetRowHeightParams = TypedDict(
    "DocTablesSetRowHeightParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetRowHeightParamsTarget,
        "nodeId": str,
        "tableTarget": DocTablesSetRowHeightParamsTableTarget,
        "tableNodeId": str,
        "rowIndex": int | float,
        "heightPt": int | float,
        "rule": str,
    },
    total=False,
)

DocTablesDistributeRowsParamsTarget = TypedDict(
    "DocTablesDistributeRowsParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesDistributeRowsParams = TypedDict(
    "DocTablesDistributeRowsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesDistributeRowsParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesSetRowOptionsParamsTarget = TypedDict(
    "DocTablesSetRowOptionsParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetRowOptionsParamsTableTarget = TypedDict(
    "DocTablesSetRowOptionsParamsTableTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetRowOptionsParams = TypedDict(
    "DocTablesSetRowOptionsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetRowOptionsParamsTarget,
        "nodeId": str,
        "tableTarget": DocTablesSetRowOptionsParamsTableTarget,
        "tableNodeId": str,
        "rowIndex": int | float,
        "allowBreakAcrossPages": bool,
        "repeatHeader": bool,
    },
    total=False,
)

DocTablesInsertColumnParamsTableTarget = TypedDict(
    "DocTablesInsertColumnParamsTableTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesInsertColumnParams = TypedDict(
    "DocTablesInsertColumnParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "tableTarget": DocTablesInsertColumnParamsTableTarget,
        "tableNodeId": str,
        "columnIndex": int | float,
        "position": str,
        "count": int | float,
    },
    total=False,
)

DocTablesDeleteColumnParamsTableTarget = TypedDict(
    "DocTablesDeleteColumnParamsTableTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesDeleteColumnParams = TypedDict(
    "DocTablesDeleteColumnParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "tableTarget": DocTablesDeleteColumnParamsTableTarget,
        "tableNodeId": str,
        "columnIndex": int | float,
    },
    total=False,
)

DocTablesSetColumnWidthParamsTableTarget = TypedDict(
    "DocTablesSetColumnWidthParamsTableTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetColumnWidthParams = TypedDict(
    "DocTablesSetColumnWidthParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "tableTarget": DocTablesSetColumnWidthParamsTableTarget,
        "tableNodeId": str,
        "columnIndex": int | float,
        "widthPt": int | float,
    },
    total=False,
)

DocTablesDistributeColumnsParamsTarget = TypedDict(
    "DocTablesDistributeColumnsParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesDistributeColumnsParamsColumnRange = TypedDict(
    "DocTablesDistributeColumnsParamsColumnRange",
    {
        "start": int | float,
        "end": int | float,
    },
    total=False,
)

DocTablesDistributeColumnsParams = TypedDict(
    "DocTablesDistributeColumnsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesDistributeColumnsParamsTarget,
        "nodeId": str,
        "columnRange": DocTablesDistributeColumnsParamsColumnRange,
    },
    total=False,
)

DocTablesInsertCellParamsTarget = TypedDict(
    "DocTablesInsertCellParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesInsertCellParams = TypedDict(
    "DocTablesInsertCellParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesInsertCellParamsTarget,
        "nodeId": str,
        "mode": str,
    },
    total=False,
)

DocTablesDeleteCellParamsTarget = TypedDict(
    "DocTablesDeleteCellParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesDeleteCellParams = TypedDict(
    "DocTablesDeleteCellParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesDeleteCellParamsTarget,
        "nodeId": str,
        "mode": str,
    },
    total=False,
)

DocTablesMergeCellsParamsTableTarget = TypedDict(
    "DocTablesMergeCellsParamsTableTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesMergeCellsParamsStart = TypedDict(
    "DocTablesMergeCellsParamsStart",
    {
        "rowIndex": int | float,
        "columnIndex": int | float,
    },
    total=False,
)

DocTablesMergeCellsParamsEnd = TypedDict(
    "DocTablesMergeCellsParamsEnd",
    {
        "rowIndex": int | float,
        "columnIndex": int | float,
    },
    total=False,
)

DocTablesMergeCellsParams = TypedDict(
    "DocTablesMergeCellsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "tableTarget": DocTablesMergeCellsParamsTableTarget,
        "tableNodeId": str,
        "start": DocTablesMergeCellsParamsStart,
        "end": DocTablesMergeCellsParamsEnd,
    },
    total=False,
)

DocTablesUnmergeCellsParamsTarget = TypedDict(
    "DocTablesUnmergeCellsParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesUnmergeCellsParams = TypedDict(
    "DocTablesUnmergeCellsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesUnmergeCellsParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesSplitCellParamsTarget = TypedDict(
    "DocTablesSplitCellParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSplitCellParams = TypedDict(
    "DocTablesSplitCellParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSplitCellParamsTarget,
        "nodeId": str,
        "rows": int | float,
        "columns": int | float,
    },
    total=False,
)

DocTablesSetCellPropertiesParamsTarget = TypedDict(
    "DocTablesSetCellPropertiesParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetCellPropertiesParams = TypedDict(
    "DocTablesSetCellPropertiesParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetCellPropertiesParamsTarget,
        "nodeId": str,
        "preferredWidthPt": int | float,
        "verticalAlign": str,
        "wrapText": bool,
        "fitText": bool,
    },
    total=False,
)

DocTablesSortParamsTarget = TypedDict(
    "DocTablesSortParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSortParamsKeysItem = TypedDict(
    "DocTablesSortParamsKeysItem",
    {
        "columnIndex": int | float,
        "direction": Literal["ascending"] | Literal["descending"],
        "type": Literal["text"] | Literal["number"] | Literal["date"],
    },
    total=False,
)

DocTablesSortParams = TypedDict(
    "DocTablesSortParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSortParamsTarget,
        "nodeId": str,
        "keys": list[DocTablesSortParamsKeysItem],
    },
    total=False,
)

DocTablesSetAltTextParamsTarget = TypedDict(
    "DocTablesSetAltTextParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetAltTextParams = TypedDict(
    "DocTablesSetAltTextParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetAltTextParamsTarget,
        "nodeId": str,
        "title": str,
        "description": str,
    },
    total=False,
)

DocTablesSetStyleParamsTarget = TypedDict(
    "DocTablesSetStyleParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetStyleParams = TypedDict(
    "DocTablesSetStyleParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetStyleParamsTarget,
        "nodeId": str,
        "styleId": str,
    },
    total=False,
)

DocTablesClearStyleParamsTarget = TypedDict(
    "DocTablesClearStyleParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesClearStyleParams = TypedDict(
    "DocTablesClearStyleParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesClearStyleParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesSetStyleOptionParamsTarget = TypedDict(
    "DocTablesSetStyleOptionParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetStyleOptionParams = TypedDict(
    "DocTablesSetStyleOptionParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetStyleOptionParamsTarget,
        "nodeId": str,
        "flag": str,
        "enabled": bool,
    },
    total=False,
)

DocTablesSetBorderParamsTarget = TypedDict(
    "DocTablesSetBorderParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetBorderParams = TypedDict(
    "DocTablesSetBorderParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetBorderParamsTarget,
        "nodeId": str,
        "edge": str,
        "lineStyle": str,
        "lineWeightPt": int | float,
        "color": str,
    },
    total=False,
)

DocTablesClearBorderParamsTarget = TypedDict(
    "DocTablesClearBorderParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesClearBorderParams = TypedDict(
    "DocTablesClearBorderParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesClearBorderParamsTarget,
        "nodeId": str,
        "edge": str,
    },
    total=False,
)

DocTablesApplyBorderPresetParamsTarget = TypedDict(
    "DocTablesApplyBorderPresetParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesApplyBorderPresetParams = TypedDict(
    "DocTablesApplyBorderPresetParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesApplyBorderPresetParamsTarget,
        "nodeId": str,
        "preset": str,
    },
    total=False,
)

DocTablesSetShadingParamsTarget = TypedDict(
    "DocTablesSetShadingParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetShadingParams = TypedDict(
    "DocTablesSetShadingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetShadingParamsTarget,
        "nodeId": str,
        "color": str,
    },
    total=False,
)

DocTablesClearShadingParamsTarget = TypedDict(
    "DocTablesClearShadingParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesClearShadingParams = TypedDict(
    "DocTablesClearShadingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesClearShadingParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesSetTablePaddingParamsTarget = TypedDict(
    "DocTablesSetTablePaddingParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetTablePaddingParams = TypedDict(
    "DocTablesSetTablePaddingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetTablePaddingParamsTarget,
        "nodeId": str,
        "topPt": int | float,
        "rightPt": int | float,
        "bottomPt": int | float,
        "leftPt": int | float,
    },
    total=False,
)

DocTablesSetCellPaddingParamsTarget = TypedDict(
    "DocTablesSetCellPaddingParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetCellPaddingParams = TypedDict(
    "DocTablesSetCellPaddingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetCellPaddingParamsTarget,
        "nodeId": str,
        "topPt": int | float,
        "rightPt": int | float,
        "bottomPt": int | float,
        "leftPt": int | float,
    },
    total=False,
)

DocTablesSetCellSpacingParamsTarget = TypedDict(
    "DocTablesSetCellSpacingParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesSetCellSpacingParams = TypedDict(
    "DocTablesSetCellSpacingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesSetCellSpacingParamsTarget,
        "nodeId": str,
        "spacingPt": int | float,
    },
    total=False,
)

DocTablesClearCellSpacingParamsTarget = TypedDict(
    "DocTablesClearCellSpacingParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesClearCellSpacingParams = TypedDict(
    "DocTablesClearCellSpacingParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTablesClearCellSpacingParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesGetParamsTarget = TypedDict(
    "DocTablesGetParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesGetParams = TypedDict(
    "DocTablesGetParams",
    {
        "doc": str,
        "sessionId": str,
        "target": DocTablesGetParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesGetCellsParamsTarget = TypedDict(
    "DocTablesGetCellsParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesGetCellsParams = TypedDict(
    "DocTablesGetCellsParams",
    {
        "doc": str,
        "sessionId": str,
        "target": DocTablesGetCellsParamsTarget,
        "nodeId": str,
        "rowIndex": int | float,
        "columnIndex": int | float,
    },
    total=False,
)

DocTablesGetPropertiesParamsTarget = TypedDict(
    "DocTablesGetPropertiesParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocTablesGetPropertiesParams = TypedDict(
    "DocTablesGetPropertiesParams",
    {
        "doc": str,
        "sessionId": str,
        "target": DocTablesGetPropertiesParamsTarget,
        "nodeId": str,
    },
    total=False,
)

DocTablesGetStylesParams = TypedDict(
    "DocTablesGetStylesParams",
    {
        "doc": str,
        "sessionId": str,
    },
    total=False,
)

DocTablesSetDefaultStyleParams = TypedDict(
    "DocTablesSetDefaultStyleParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "styleId": str,
    },
    total=False,
)

DocTablesClearDefaultStyleParams = TypedDict(
    "DocTablesClearDefaultStyleParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
    },
    total=False,
)

DocCreateTableOfContentsParamsAtVariant1 = TypedDict(
    "DocCreateTableOfContentsParamsAtVariant1",
    {
        "kind": Literal["documentStart"],
    },
    total=False,
)

DocCreateTableOfContentsParamsAtVariant2 = TypedDict(
    "DocCreateTableOfContentsParamsAtVariant2",
    {
        "kind": Literal["documentEnd"],
    },
    total=False,
)

DocCreateTableOfContentsParamsAtVariant3Target = TypedDict(
    "DocCreateTableOfContentsParamsAtVariant3Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateTableOfContentsParamsAtVariant3 = TypedDict(
    "DocCreateTableOfContentsParamsAtVariant3",
    {
        "kind": Literal["before"],
        "target": DocCreateTableOfContentsParamsAtVariant3Target,
    },
    total=False,
)

DocCreateTableOfContentsParamsAtVariant4Target = TypedDict(
    "DocCreateTableOfContentsParamsAtVariant4Target",
    {
        "kind": Literal["block"],
        "nodeType": Literal["paragraph"] | Literal["heading"] | Literal["listItem"] | Literal["table"] | Literal["tableRow"] | Literal["tableCell"] | Literal["tableOfContents"] | Literal["image"] | Literal["sdt"],
        "nodeId": str,
    },
    total=False,
)

DocCreateTableOfContentsParamsAtVariant4 = TypedDict(
    "DocCreateTableOfContentsParamsAtVariant4",
    {
        "kind": Literal["after"],
        "target": DocCreateTableOfContentsParamsAtVariant4Target,
    },
    total=False,
)

DocCreateTableOfContentsParamsConfigOutlineLevels = TypedDict(
    "DocCreateTableOfContentsParamsConfigOutlineLevels",
    {
        "from": int | float,
        "to": int | float,
    },
    total=False,
)

DocCreateTableOfContentsParamsConfigTcFieldLevels = TypedDict(
    "DocCreateTableOfContentsParamsConfigTcFieldLevels",
    {
        "from": int | float,
        "to": int | float,
    },
    total=False,
)

DocCreateTableOfContentsParamsConfigOmitPageNumberLevels = TypedDict(
    "DocCreateTableOfContentsParamsConfigOmitPageNumberLevels",
    {
        "from": int | float,
        "to": int | float,
    },
    total=False,
)

DocCreateTableOfContentsParamsConfig = TypedDict(
    "DocCreateTableOfContentsParamsConfig",
    {
        "outlineLevels": DocCreateTableOfContentsParamsConfigOutlineLevels,
        "useAppliedOutlineLevel": bool,
        "tcFieldIdentifier": str,
        "tcFieldLevels": DocCreateTableOfContentsParamsConfigTcFieldLevels,
        "hyperlinks": bool,
        "hideInWebView": bool,
        "omitPageNumberLevels": DocCreateTableOfContentsParamsConfigOmitPageNumberLevels,
        "separator": str,
        "includePageNumbers": bool,
        "tabLeader": Literal["none"] | Literal["dot"] | Literal["hyphen"] | Literal["underscore"] | Literal["middleDot"],
        "rightAlignPageNumbers": bool,
    },
    total=False,
)

DocCreateTableOfContentsParams = TypedDict(
    "DocCreateTableOfContentsParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "at": DocCreateTableOfContentsParamsAtVariant1 | DocCreateTableOfContentsParamsAtVariant2 | DocCreateTableOfContentsParamsAtVariant3 | DocCreateTableOfContentsParamsAtVariant4,
        "config": DocCreateTableOfContentsParamsConfig,
    },
    total=False,
)

DocTocListParams = TypedDict(
    "DocTocListParams",
    {
        "doc": str,
        "sessionId": str,
        "limit": int | float,
        "offset": int | float,
    },
    total=False,
)

DocTocGetParamsTarget = TypedDict(
    "DocTocGetParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["tableOfContents"],
        "nodeId": str,
    },
    total=False,
)

DocTocGetParams = TypedDict(
    "DocTocGetParams",
    {
        "doc": str,
        "sessionId": str,
        "target": DocTocGetParamsTarget,
    },
    total=False,
)

DocTocConfigureParamsTarget = TypedDict(
    "DocTocConfigureParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["tableOfContents"],
        "nodeId": str,
    },
    total=False,
)

DocTocConfigureParamsPatchOutlineLevels = TypedDict(
    "DocTocConfigureParamsPatchOutlineLevels",
    {
        "from": int | float,
        "to": int | float,
    },
    total=False,
)

DocTocConfigureParamsPatchTcFieldLevels = TypedDict(
    "DocTocConfigureParamsPatchTcFieldLevels",
    {
        "from": int | float,
        "to": int | float,
    },
    total=False,
)

DocTocConfigureParamsPatchOmitPageNumberLevels = TypedDict(
    "DocTocConfigureParamsPatchOmitPageNumberLevels",
    {
        "from": int | float,
        "to": int | float,
    },
    total=False,
)

DocTocConfigureParamsPatch = TypedDict(
    "DocTocConfigureParamsPatch",
    {
        "outlineLevels": DocTocConfigureParamsPatchOutlineLevels,
        "useAppliedOutlineLevel": bool,
        "tcFieldIdentifier": str,
        "tcFieldLevels": DocTocConfigureParamsPatchTcFieldLevels,
        "hyperlinks": bool,
        "hideInWebView": bool,
        "omitPageNumberLevels": DocTocConfigureParamsPatchOmitPageNumberLevels,
        "separator": str,
        "includePageNumbers": bool,
        "tabLeader": Literal["none"] | Literal["dot"] | Literal["hyphen"] | Literal["underscore"] | Literal["middleDot"],
        "rightAlignPageNumbers": bool,
    },
    total=False,
)

DocTocConfigureParams = TypedDict(
    "DocTocConfigureParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTocConfigureParamsTarget,
        "patch": DocTocConfigureParamsPatch,
    },
    total=False,
)

DocTocUpdateParamsTarget = TypedDict(
    "DocTocUpdateParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["tableOfContents"],
        "nodeId": str,
    },
    total=False,
)

DocTocUpdateParams = TypedDict(
    "DocTocUpdateParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTocUpdateParamsTarget,
        "mode": str,
    },
    total=False,
)

DocTocRemoveParamsTarget = TypedDict(
    "DocTocRemoveParamsTarget",
    {
        "kind": Literal["block"],
        "nodeType": Literal["tableOfContents"],
        "nodeId": str,
    },
    total=False,
)

DocTocRemoveParams = TypedDict(
    "DocTocRemoveParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTocRemoveParamsTarget,
    },
    total=False,
)

DocTocMarkEntryParamsTargetAnchor = TypedDict(
    "DocTocMarkEntryParamsTargetAnchor",
    {
        "nodeType": Literal["paragraph"],
        "nodeId": str,
    },
    total=False,
)

DocTocMarkEntryParamsTarget = TypedDict(
    "DocTocMarkEntryParamsTarget",
    {
        "kind": Literal["inline-insert"],
        "anchor": DocTocMarkEntryParamsTargetAnchor,
        "position": Literal["start"] | Literal["end"],
    },
    total=False,
)

DocTocMarkEntryParams = TypedDict(
    "DocTocMarkEntryParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTocMarkEntryParamsTarget,
        "text": str,
        "level": int | float,
        "tableIdentifier": str,
        "omitPageNumber": bool,
    },
    total=False,
)

DocTocUnmarkEntryParamsTarget = TypedDict(
    "DocTocUnmarkEntryParamsTarget",
    {
        "kind": Literal["inline"],
        "nodeType": Literal["tableOfContentsEntry"],
        "nodeId": str,
    },
    total=False,
)

DocTocUnmarkEntryParams = TypedDict(
    "DocTocUnmarkEntryParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTocUnmarkEntryParamsTarget,
    },
    total=False,
)

DocTocListEntriesParamsLevelRange = TypedDict(
    "DocTocListEntriesParamsLevelRange",
    {
        "from": int | float,
        "to": int | float,
    },
    total=False,
)

DocTocListEntriesParams = TypedDict(
    "DocTocListEntriesParams",
    {
        "doc": str,
        "sessionId": str,
        "tableIdentifier": str,
        "levelRange": DocTocListEntriesParamsLevelRange,
        "limit": int | float,
        "offset": int | float,
    },
    total=False,
)

DocTocGetEntryParamsTarget = TypedDict(
    "DocTocGetEntryParamsTarget",
    {
        "kind": Literal["inline"],
        "nodeType": Literal["tableOfContentsEntry"],
        "nodeId": str,
    },
    total=False,
)

DocTocGetEntryParams = TypedDict(
    "DocTocGetEntryParams",
    {
        "doc": str,
        "sessionId": str,
        "target": DocTocGetEntryParamsTarget,
    },
    total=False,
)

DocTocEditEntryParamsTarget = TypedDict(
    "DocTocEditEntryParamsTarget",
    {
        "kind": Literal["inline"],
        "nodeType": Literal["tableOfContentsEntry"],
        "nodeId": str,
    },
    total=False,
)

DocTocEditEntryParamsPatch = TypedDict(
    "DocTocEditEntryParamsPatch",
    {
        "text": str,
        "level": int | float,
        "tableIdentifier": str,
        "omitPageNumber": bool,
    },
    total=False,
)

DocTocEditEntryParams = TypedDict(
    "DocTocEditEntryParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
        "dryRun": bool,
        "target": DocTocEditEntryParamsTarget,
        "patch": DocTocEditEntryParamsPatch,
    },
    total=False,
)

DocHistoryGetParams = TypedDict(
    "DocHistoryGetParams",
    {
        "doc": str,
        "sessionId": str,
    },
    total=False,
)

DocHistoryUndoParams = TypedDict(
    "DocHistoryUndoParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
    },
    total=False,
)

DocHistoryRedoParams = TypedDict(
    "DocHistoryRedoParams",
    {
        "doc": str,
        "sessionId": str,
        "out": str,
        "force": bool,
        "expectedRevision": int | float,
        "changeMode": str,
    },
    total=False,
)

DocOpenParams = TypedDict(
    "DocOpenParams",
    {
        "doc": str,
        "sessionId": str,
        "collaboration": Any,
        "collabDocumentId": str,
        "collabUrl": str,
        "contentOverride": str,
        "overrideType": str,
        "onMissing": str,
        "bootstrapSettlingMs": int | float,
        "userName": str,
        "userEmail": str,
    },
    total=False,
)

DocSaveParams = TypedDict(
    "DocSaveParams",
    {
        "sessionId": str,
        "out": str,
        "force": bool,
        "inPlace": bool,
    },
    total=False,
)

DocCloseParams = TypedDict(
    "DocCloseParams",
    {
        "sessionId": str,
        "discard": bool,
    },
    total=False,
)

DocStatusParams = TypedDict(
    "DocStatusParams",
    {
        "sessionId": str,
    },
    total=False,
)

DocDescribeParams = TypedDict(
    "DocDescribeParams",
    {
    },
    total=False,
)

DocDescribeCommandParams = TypedDict(
    "DocDescribeCommandParams",
    {
        "operationId": str,
    },
    total=False,
)

DocSessionListParams = TypedDict(
    "DocSessionListParams",
    {
    },
    total=False,
)

DocSessionSaveParams = TypedDict(
    "DocSessionSaveParams",
    {
        "sessionId": str,
        "out": str,
        "force": bool,
        "inPlace": bool,
    },
    total=False,
)

DocSessionCloseParams = TypedDict(
    "DocSessionCloseParams",
    {
        "sessionId": str,
        "discard": bool,
    },
    total=False,
)

DocSessionSetDefaultParams = TypedDict(
    "DocSessionSetDefaultParams",
    {
        "sessionId": str,
    },
    total=False,
)

class _SyncDocApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def find(self, params: DocFindParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFindResult:
        return self._runtime.invoke("doc.find", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_node(self, params: DocGetNodeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocGetNodeResult:
        return self._runtime.invoke("doc.getNode", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def getNode(self, params: DocGetNodeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocGetNodeResult:
        return self.get_node(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_node_by_id(self, params: DocGetNodeByIdParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocGetNodeByIdResult:
        return self._runtime.invoke("doc.getNodeById", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def getNodeById(self, params: DocGetNodeByIdParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocGetNodeByIdResult:
        return self.get_node_by_id(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_text(self, params: DocGetTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        raw = self._runtime.invoke("doc.getText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
        return _unwrap_string_envelope(raw, "text")

    def getText(self, params: DocGetTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        return self.get_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_markdown(self, params: DocGetMarkdownParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        raw = self._runtime.invoke("doc.getMarkdown", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
        return _unwrap_string_envelope(raw, "markdown")

    def getMarkdown(self, params: DocGetMarkdownParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        return self.get_markdown(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_html(self, params: DocGetHtmlParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        raw = self._runtime.invoke("doc.getHtml", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
        return _unwrap_string_envelope(raw, "html")

    def getHtml(self, params: DocGetHtmlParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        return self.get_html(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def info(self, params: DocInfoParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocInfoResult:
        return self._runtime.invoke("doc.info", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def insert(self, params: DocInsertParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.insert", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def replace(self, params: DocReplaceParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.replace", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def delete(self, params: DocDeleteParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.delete", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    @property
    def blocks(self):
        return _SyncDocBlocksApi(self._runtime)

    @property
    def format(self):
        return _SyncDocFormatApi(self._runtime)

    @property
    def styles(self):
        return _SyncDocStylesApi(self._runtime)

    @property
    def create(self):
        return _SyncDocCreateApi(self._runtime)

    @property
    def sections(self):
        return _SyncDocSectionsApi(self._runtime)

    @property
    def lists(self):
        return _SyncDocListsApi(self._runtime)

    @property
    def comments(self):
        return _SyncDocCommentsApi(self._runtime)

    @property
    def track_changes(self):
        return _SyncDocTrackChangesApi(self._runtime)

    @property
    def trackChanges(self):
        return self.track_changes

    @property
    def query(self):
        return _SyncDocQueryApi(self._runtime)

    @property
    def mutations(self):
        return _SyncDocMutationsApi(self._runtime)

    @property
    def capabilities(self):
        return _SyncDocCapabilitiesApi(self._runtime)

    @property
    def tables(self):
        return _SyncDocTablesApi(self._runtime)

    @property
    def toc(self):
        return _SyncDocTocApi(self._runtime)

    @property
    def history(self):
        return _SyncDocHistoryApi(self._runtime)

    def open(self, params: DocOpenParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocOpenResult:
        return self._runtime.invoke("doc.open", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def save(self, params: DocSaveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSaveResult:
        return self._runtime.invoke("doc.save", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def close(self, params: DocCloseParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCloseResult:
        return self._runtime.invoke("doc.close", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def status(self, params: DocStatusParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStatusResult:
        return self._runtime.invoke("doc.status", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def describe(self, params: DocDescribeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocDescribeResult:
        return self._runtime.invoke("doc.describe", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def describe_command(self, params: DocDescribeCommandParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocDescribeCommandResult:
        return self._runtime.invoke("doc.describeCommand", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def describeCommand(self, params: DocDescribeCommandParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocDescribeCommandResult:
        return self.describe_command(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    @property
    def session(self):
        return _SyncDocSessionApi(self._runtime)

class _SyncDocBlocksApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def delete(self, params: DocBlocksDeleteParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocBlocksDeleteResult:
        return self._runtime.invoke("doc.blocks.delete", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocFormatApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def apply(self, params: DocFormatApplyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.apply", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def bold(self, params: DocFormatBoldParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.bold", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def italic(self, params: DocFormatItalicParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.italic", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def strike(self, params: DocFormatStrikeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.strike", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def underline(self, params: DocFormatUnderlineParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.underline", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def highlight(self, params: DocFormatHighlightParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.highlight", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def color(self, params: DocFormatColorParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.color", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def font_size(self, params: DocFormatFontSizeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.fontSize", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def fontSize(self, params: DocFormatFontSizeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.font_size(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def font_family(self, params: DocFormatFontFamilyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.fontFamily", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def fontFamily(self, params: DocFormatFontFamilyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.font_family(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def letter_spacing(self, params: DocFormatLetterSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.letterSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def letterSpacing(self, params: DocFormatLetterSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.letter_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def vert_align(self, params: DocFormatVertAlignParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.vertAlign", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def vertAlign(self, params: DocFormatVertAlignParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.vert_align(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def position(self, params: DocFormatPositionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.position", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def dstrike(self, params: DocFormatDstrikeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.dstrike", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def small_caps(self, params: DocFormatSmallCapsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.smallCaps", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def smallCaps(self, params: DocFormatSmallCapsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.small_caps(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def caps(self, params: DocFormatCapsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.caps", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def shading(self, params: DocFormatShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.shading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def border(self, params: DocFormatBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.border", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def outline(self, params: DocFormatOutlineParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.outline", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def shadow(self, params: DocFormatShadowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.shadow", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def emboss(self, params: DocFormatEmbossParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.emboss", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def imprint(self, params: DocFormatImprintParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.imprint", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def char_scale(self, params: DocFormatCharScaleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.charScale", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def charScale(self, params: DocFormatCharScaleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.char_scale(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def kerning(self, params: DocFormatKerningParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.kerning", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def vanish(self, params: DocFormatVanishParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.vanish", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def web_hidden(self, params: DocFormatWebHiddenParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.webHidden", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def webHidden(self, params: DocFormatWebHiddenParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.web_hidden(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def spec_vanish(self, params: DocFormatSpecVanishParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.specVanish", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def specVanish(self, params: DocFormatSpecVanishParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.spec_vanish(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def rtl(self, params: DocFormatRtlParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.rtl", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def cs(self, params: DocFormatCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.cs", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def b_cs(self, params: DocFormatBCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.bCs", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def bCs(self, params: DocFormatBCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.b_cs(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def i_cs(self, params: DocFormatICsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.iCs", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def iCs(self, params: DocFormatICsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.i_cs(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def east_asian_layout(self, params: DocFormatEastAsianLayoutParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.eastAsianLayout", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def eastAsianLayout(self, params: DocFormatEastAsianLayoutParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.east_asian_layout(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def em(self, params: DocFormatEmParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.em", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def fit_text(self, params: DocFormatFitTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.fitText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def fitText(self, params: DocFormatFitTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.fit_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def snap_to_grid(self, params: DocFormatSnapToGridParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.snapToGrid", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def snapToGrid(self, params: DocFormatSnapToGridParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.snap_to_grid(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def lang(self, params: DocFormatLangParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.lang", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def o_math(self, params: DocFormatOMathParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.oMath", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def oMath(self, params: DocFormatOMathParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.o_math(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def r_style(self, params: DocFormatRStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.rStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def rStyle(self, params: DocFormatRStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.r_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def r_fonts(self, params: DocFormatRFontsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.rFonts", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def rFonts(self, params: DocFormatRFontsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.r_fonts(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def font_size_cs(self, params: DocFormatFontSizeCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.fontSizeCs", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def fontSizeCs(self, params: DocFormatFontSizeCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.font_size_cs(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def ligatures(self, params: DocFormatLigaturesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.ligatures", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def num_form(self, params: DocFormatNumFormParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.numForm", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def numForm(self, params: DocFormatNumFormParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.num_form(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def num_spacing(self, params: DocFormatNumSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.numSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def numSpacing(self, params: DocFormatNumSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.num_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def stylistic_sets(self, params: DocFormatStylisticSetsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.stylisticSets", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def stylisticSets(self, params: DocFormatStylisticSetsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.stylistic_sets(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def contextual_alternates(self, params: DocFormatContextualAlternatesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.format.contextualAlternates", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def contextualAlternates(self, params: DocFormatContextualAlternatesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self.contextual_alternates(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    @property
    def paragraph(self):
        return _SyncDocFormatParagraphApi(self._runtime)

class _SyncDocFormatParagraphApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def reset_direct_formatting(self, params: DocFormatParagraphResetDirectFormattingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphResetDirectFormattingResult:
        return self._runtime.invoke("doc.format.paragraph.resetDirectFormatting", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def resetDirectFormatting(self, params: DocFormatParagraphResetDirectFormattingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphResetDirectFormattingResult:
        return self.reset_direct_formatting(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_alignment(self, params: DocFormatParagraphSetAlignmentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetAlignmentResult:
        return self._runtime.invoke("doc.format.paragraph.setAlignment", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setAlignment(self, params: DocFormatParagraphSetAlignmentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetAlignmentResult:
        return self.set_alignment(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_alignment(self, params: DocFormatParagraphClearAlignmentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearAlignmentResult:
        return self._runtime.invoke("doc.format.paragraph.clearAlignment", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearAlignment(self, params: DocFormatParagraphClearAlignmentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearAlignmentResult:
        return self.clear_alignment(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_indentation(self, params: DocFormatParagraphSetIndentationParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetIndentationResult:
        return self._runtime.invoke("doc.format.paragraph.setIndentation", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setIndentation(self, params: DocFormatParagraphSetIndentationParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetIndentationResult:
        return self.set_indentation(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_indentation(self, params: DocFormatParagraphClearIndentationParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearIndentationResult:
        return self._runtime.invoke("doc.format.paragraph.clearIndentation", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearIndentation(self, params: DocFormatParagraphClearIndentationParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearIndentationResult:
        return self.clear_indentation(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_spacing(self, params: DocFormatParagraphSetSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetSpacingResult:
        return self._runtime.invoke("doc.format.paragraph.setSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setSpacing(self, params: DocFormatParagraphSetSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetSpacingResult:
        return self.set_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_spacing(self, params: DocFormatParagraphClearSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearSpacingResult:
        return self._runtime.invoke("doc.format.paragraph.clearSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearSpacing(self, params: DocFormatParagraphClearSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearSpacingResult:
        return self.clear_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_keep_options(self, params: DocFormatParagraphSetKeepOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetKeepOptionsResult:
        return self._runtime.invoke("doc.format.paragraph.setKeepOptions", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setKeepOptions(self, params: DocFormatParagraphSetKeepOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetKeepOptionsResult:
        return self.set_keep_options(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_outline_level(self, params: DocFormatParagraphSetOutlineLevelParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetOutlineLevelResult:
        return self._runtime.invoke("doc.format.paragraph.setOutlineLevel", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setOutlineLevel(self, params: DocFormatParagraphSetOutlineLevelParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetOutlineLevelResult:
        return self.set_outline_level(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_flow_options(self, params: DocFormatParagraphSetFlowOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetFlowOptionsResult:
        return self._runtime.invoke("doc.format.paragraph.setFlowOptions", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setFlowOptions(self, params: DocFormatParagraphSetFlowOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetFlowOptionsResult:
        return self.set_flow_options(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_tab_stop(self, params: DocFormatParagraphSetTabStopParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetTabStopResult:
        return self._runtime.invoke("doc.format.paragraph.setTabStop", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setTabStop(self, params: DocFormatParagraphSetTabStopParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetTabStopResult:
        return self.set_tab_stop(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_tab_stop(self, params: DocFormatParagraphClearTabStopParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearTabStopResult:
        return self._runtime.invoke("doc.format.paragraph.clearTabStop", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearTabStop(self, params: DocFormatParagraphClearTabStopParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearTabStopResult:
        return self.clear_tab_stop(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_all_tab_stops(self, params: DocFormatParagraphClearAllTabStopsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearAllTabStopsResult:
        return self._runtime.invoke("doc.format.paragraph.clearAllTabStops", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearAllTabStops(self, params: DocFormatParagraphClearAllTabStopsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearAllTabStopsResult:
        return self.clear_all_tab_stops(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_border(self, params: DocFormatParagraphSetBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetBorderResult:
        return self._runtime.invoke("doc.format.paragraph.setBorder", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setBorder(self, params: DocFormatParagraphSetBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetBorderResult:
        return self.set_border(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_border(self, params: DocFormatParagraphClearBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearBorderResult:
        return self._runtime.invoke("doc.format.paragraph.clearBorder", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearBorder(self, params: DocFormatParagraphClearBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearBorderResult:
        return self.clear_border(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_shading(self, params: DocFormatParagraphSetShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetShadingResult:
        return self._runtime.invoke("doc.format.paragraph.setShading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setShading(self, params: DocFormatParagraphSetShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetShadingResult:
        return self.set_shading(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_shading(self, params: DocFormatParagraphClearShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearShadingResult:
        return self._runtime.invoke("doc.format.paragraph.clearShading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearShading(self, params: DocFormatParagraphClearShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearShadingResult:
        return self.clear_shading(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocStylesApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def apply(self, params: DocStylesApplyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesApplyResult:
        return self._runtime.invoke("doc.styles.apply", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    @property
    def paragraph(self):
        return _SyncDocStylesParagraphApi(self._runtime)

class _SyncDocStylesParagraphApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def set_style(self, params: DocStylesParagraphSetStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesParagraphSetStyleResult:
        return self._runtime.invoke("doc.styles.paragraph.setStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setStyle(self, params: DocStylesParagraphSetStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesParagraphSetStyleResult:
        return self.set_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_style(self, params: DocStylesParagraphClearStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesParagraphClearStyleResult:
        return self._runtime.invoke("doc.styles.paragraph.clearStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearStyle(self, params: DocStylesParagraphClearStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesParagraphClearStyleResult:
        return self.clear_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocCreateApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def paragraph(self, params: DocCreateParagraphParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateParagraphResult:
        return self._runtime.invoke("doc.create.paragraph", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def heading(self, params: DocCreateHeadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateHeadingResult:
        return self._runtime.invoke("doc.create.heading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def section_break(self, params: DocCreateSectionBreakParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateSectionBreakResult:
        return self._runtime.invoke("doc.create.sectionBreak", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def sectionBreak(self, params: DocCreateSectionBreakParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateSectionBreakResult:
        return self.section_break(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def table(self, params: DocCreateTableParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateTableResult:
        return self._runtime.invoke("doc.create.table", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def table_of_contents(self, params: DocCreateTableOfContentsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateTableOfContentsResult:
        return self._runtime.invoke("doc.create.tableOfContents", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def tableOfContents(self, params: DocCreateTableOfContentsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateTableOfContentsResult:
        return self.table_of_contents(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocSectionsApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def list(self, params: DocSectionsListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsListResult:
        return self._runtime.invoke("doc.sections.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get(self, params: DocSectionsGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsGetResult:
        return self._runtime.invoke("doc.sections.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_break_type(self, params: DocSectionsSetBreakTypeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetBreakTypeResult:
        return self._runtime.invoke("doc.sections.setBreakType", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setBreakType(self, params: DocSectionsSetBreakTypeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetBreakTypeResult:
        return self.set_break_type(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_page_margins(self, params: DocSectionsSetPageMarginsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageMarginsResult:
        return self._runtime.invoke("doc.sections.setPageMargins", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setPageMargins(self, params: DocSectionsSetPageMarginsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageMarginsResult:
        return self.set_page_margins(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_header_footer_margins(self, params: DocSectionsSetHeaderFooterMarginsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetHeaderFooterMarginsResult:
        return self._runtime.invoke("doc.sections.setHeaderFooterMargins", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setHeaderFooterMargins(self, params: DocSectionsSetHeaderFooterMarginsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetHeaderFooterMarginsResult:
        return self.set_header_footer_margins(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_page_setup(self, params: DocSectionsSetPageSetupParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageSetupResult:
        return self._runtime.invoke("doc.sections.setPageSetup", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setPageSetup(self, params: DocSectionsSetPageSetupParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageSetupResult:
        return self.set_page_setup(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_columns(self, params: DocSectionsSetColumnsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetColumnsResult:
        return self._runtime.invoke("doc.sections.setColumns", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setColumns(self, params: DocSectionsSetColumnsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetColumnsResult:
        return self.set_columns(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_line_numbering(self, params: DocSectionsSetLineNumberingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetLineNumberingResult:
        return self._runtime.invoke("doc.sections.setLineNumbering", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setLineNumbering(self, params: DocSectionsSetLineNumberingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetLineNumberingResult:
        return self.set_line_numbering(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_page_numbering(self, params: DocSectionsSetPageNumberingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageNumberingResult:
        return self._runtime.invoke("doc.sections.setPageNumbering", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setPageNumbering(self, params: DocSectionsSetPageNumberingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageNumberingResult:
        return self.set_page_numbering(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_title_page(self, params: DocSectionsSetTitlePageParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetTitlePageResult:
        return self._runtime.invoke("doc.sections.setTitlePage", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setTitlePage(self, params: DocSectionsSetTitlePageParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetTitlePageResult:
        return self.set_title_page(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_odd_even_headers_footers(self, params: DocSectionsSetOddEvenHeadersFootersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetOddEvenHeadersFootersResult:
        return self._runtime.invoke("doc.sections.setOddEvenHeadersFooters", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setOddEvenHeadersFooters(self, params: DocSectionsSetOddEvenHeadersFootersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetOddEvenHeadersFootersResult:
        return self.set_odd_even_headers_footers(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_vertical_align(self, params: DocSectionsSetVerticalAlignParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetVerticalAlignResult:
        return self._runtime.invoke("doc.sections.setVerticalAlign", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setVerticalAlign(self, params: DocSectionsSetVerticalAlignParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetVerticalAlignResult:
        return self.set_vertical_align(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_section_direction(self, params: DocSectionsSetSectionDirectionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetSectionDirectionResult:
        return self._runtime.invoke("doc.sections.setSectionDirection", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setSectionDirection(self, params: DocSectionsSetSectionDirectionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetSectionDirectionResult:
        return self.set_section_direction(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_header_footer_ref(self, params: DocSectionsSetHeaderFooterRefParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetHeaderFooterRefResult:
        return self._runtime.invoke("doc.sections.setHeaderFooterRef", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setHeaderFooterRef(self, params: DocSectionsSetHeaderFooterRefParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetHeaderFooterRefResult:
        return self.set_header_footer_ref(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_header_footer_ref(self, params: DocSectionsClearHeaderFooterRefParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsClearHeaderFooterRefResult:
        return self._runtime.invoke("doc.sections.clearHeaderFooterRef", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearHeaderFooterRef(self, params: DocSectionsClearHeaderFooterRefParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsClearHeaderFooterRefResult:
        return self.clear_header_footer_ref(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_link_to_previous(self, params: DocSectionsSetLinkToPreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetLinkToPreviousResult:
        return self._runtime.invoke("doc.sections.setLinkToPrevious", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setLinkToPrevious(self, params: DocSectionsSetLinkToPreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetLinkToPreviousResult:
        return self.set_link_to_previous(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_page_borders(self, params: DocSectionsSetPageBordersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageBordersResult:
        return self._runtime.invoke("doc.sections.setPageBorders", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setPageBorders(self, params: DocSectionsSetPageBordersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageBordersResult:
        return self.set_page_borders(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_page_borders(self, params: DocSectionsClearPageBordersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsClearPageBordersResult:
        return self._runtime.invoke("doc.sections.clearPageBorders", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearPageBorders(self, params: DocSectionsClearPageBordersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsClearPageBordersResult:
        return self.clear_page_borders(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocListsApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def list(self, params: DocListsListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsListResult:
        return self._runtime.invoke("doc.lists.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get(self, params: DocListsGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsGetResult:
        return self._runtime.invoke("doc.lists.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def insert(self, params: DocListsInsertParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsInsertResult:
        return self._runtime.invoke("doc.lists.insert", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def create(self, params: DocListsCreateParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCreateResult:
        return self._runtime.invoke("doc.lists.create", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def attach(self, params: DocListsAttachParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsAttachResult:
        return self._runtime.invoke("doc.lists.attach", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def detach(self, params: DocListsDetachParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsDetachResult:
        return self._runtime.invoke("doc.lists.detach", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def indent(self, params: DocListsIndentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsIndentResult:
        return self._runtime.invoke("doc.lists.indent", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def outdent(self, params: DocListsOutdentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsOutdentResult:
        return self._runtime.invoke("doc.lists.outdent", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def join(self, params: DocListsJoinParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsJoinResult:
        return self._runtime.invoke("doc.lists.join", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def can_join(self, params: DocListsCanJoinParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCanJoinResult:
        return self._runtime.invoke("doc.lists.canJoin", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def canJoin(self, params: DocListsCanJoinParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCanJoinResult:
        return self.can_join(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def separate(self, params: DocListsSeparateParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSeparateResult:
        return self._runtime.invoke("doc.lists.separate", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_level(self, params: DocListsSetLevelParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetLevelResult:
        return self._runtime.invoke("doc.lists.setLevel", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setLevel(self, params: DocListsSetLevelParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetLevelResult:
        return self.set_level(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_value(self, params: DocListsSetValueParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetValueResult:
        return self._runtime.invoke("doc.lists.setValue", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setValue(self, params: DocListsSetValueParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetValueResult:
        return self.set_value(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def continue_previous(self, params: DocListsContinuePreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsContinuePreviousResult:
        return self._runtime.invoke("doc.lists.continuePrevious", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def continuePrevious(self, params: DocListsContinuePreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsContinuePreviousResult:
        return self.continue_previous(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def can_continue_previous(self, params: DocListsCanContinuePreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCanContinuePreviousResult:
        return self._runtime.invoke("doc.lists.canContinuePrevious", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def canContinuePrevious(self, params: DocListsCanContinuePreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCanContinuePreviousResult:
        return self.can_continue_previous(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_level_restart(self, params: DocListsSetLevelRestartParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetLevelRestartResult:
        return self._runtime.invoke("doc.lists.setLevelRestart", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setLevelRestart(self, params: DocListsSetLevelRestartParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetLevelRestartResult:
        return self.set_level_restart(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def convert_to_text(self, params: DocListsConvertToTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsConvertToTextResult:
        return self._runtime.invoke("doc.lists.convertToText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def convertToText(self, params: DocListsConvertToTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsConvertToTextResult:
        return self.convert_to_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocCommentsApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def create(self, params: DocCommentsCreateParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.comments.create", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def patch(self, params: DocCommentsPatchParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.comments.patch", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def delete(self, params: DocCommentsDeleteParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.comments.delete", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get(self, params: DocCommentsGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCommentsGetResult:
        return self._runtime.invoke("doc.comments.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def list(self, params: DocCommentsListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCommentsListResult:
        return self._runtime.invoke("doc.comments.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocTrackChangesApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def list(self, params: DocTrackChangesListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTrackChangesListResult:
        return self._runtime.invoke("doc.trackChanges.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get(self, params: DocTrackChangesGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTrackChangesGetResult:
        return self._runtime.invoke("doc.trackChanges.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def decide(self, params: DocTrackChangesDecideParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return self._runtime.invoke("doc.trackChanges.decide", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocQueryApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def match(self, params: DocQueryMatchParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocQueryMatchResult:
        return self._runtime.invoke("doc.query.match", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocMutationsApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def preview(self, params: DocMutationsPreviewParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocMutationsPreviewResult:
        return self._runtime.invoke("doc.mutations.preview", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def apply(self, params: DocMutationsApplyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocMutationsApplyResult:
        return self._runtime.invoke("doc.mutations.apply", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocCapabilitiesApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def get(self, params: DocCapabilitiesGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCapabilitiesGetResult:
        return self._runtime.invoke("doc.capabilities.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocTablesApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def convert_from_text(self, params: DocTablesConvertFromTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesConvertFromTextResult:
        return self._runtime.invoke("doc.tables.convertFromText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def convertFromText(self, params: DocTablesConvertFromTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesConvertFromTextResult:
        return self.convert_from_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def delete(self, params: DocTablesDeleteParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteResult:
        return self._runtime.invoke("doc.tables.delete", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_contents(self, params: DocTablesClearContentsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearContentsResult:
        return self._runtime.invoke("doc.tables.clearContents", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearContents(self, params: DocTablesClearContentsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearContentsResult:
        return self.clear_contents(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def move(self, params: DocTablesMoveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesMoveResult:
        return self._runtime.invoke("doc.tables.move", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def split(self, params: DocTablesSplitParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSplitResult:
        return self._runtime.invoke("doc.tables.split", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def convert_to_text(self, params: DocTablesConvertToTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesConvertToTextResult:
        return self._runtime.invoke("doc.tables.convertToText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def convertToText(self, params: DocTablesConvertToTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesConvertToTextResult:
        return self.convert_to_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_layout(self, params: DocTablesSetLayoutParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetLayoutResult:
        return self._runtime.invoke("doc.tables.setLayout", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setLayout(self, params: DocTablesSetLayoutParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetLayoutResult:
        return self.set_layout(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def insert_row(self, params: DocTablesInsertRowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertRowResult:
        return self._runtime.invoke("doc.tables.insertRow", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def insertRow(self, params: DocTablesInsertRowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertRowResult:
        return self.insert_row(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def delete_row(self, params: DocTablesDeleteRowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteRowResult:
        return self._runtime.invoke("doc.tables.deleteRow", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def deleteRow(self, params: DocTablesDeleteRowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteRowResult:
        return self.delete_row(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_row_height(self, params: DocTablesSetRowHeightParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetRowHeightResult:
        return self._runtime.invoke("doc.tables.setRowHeight", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setRowHeight(self, params: DocTablesSetRowHeightParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetRowHeightResult:
        return self.set_row_height(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def distribute_rows(self, params: DocTablesDistributeRowsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDistributeRowsResult:
        return self._runtime.invoke("doc.tables.distributeRows", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def distributeRows(self, params: DocTablesDistributeRowsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDistributeRowsResult:
        return self.distribute_rows(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_row_options(self, params: DocTablesSetRowOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetRowOptionsResult:
        return self._runtime.invoke("doc.tables.setRowOptions", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setRowOptions(self, params: DocTablesSetRowOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetRowOptionsResult:
        return self.set_row_options(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def insert_column(self, params: DocTablesInsertColumnParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertColumnResult:
        return self._runtime.invoke("doc.tables.insertColumn", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def insertColumn(self, params: DocTablesInsertColumnParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertColumnResult:
        return self.insert_column(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def delete_column(self, params: DocTablesDeleteColumnParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteColumnResult:
        return self._runtime.invoke("doc.tables.deleteColumn", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def deleteColumn(self, params: DocTablesDeleteColumnParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteColumnResult:
        return self.delete_column(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_column_width(self, params: DocTablesSetColumnWidthParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetColumnWidthResult:
        return self._runtime.invoke("doc.tables.setColumnWidth", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setColumnWidth(self, params: DocTablesSetColumnWidthParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetColumnWidthResult:
        return self.set_column_width(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def distribute_columns(self, params: DocTablesDistributeColumnsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDistributeColumnsResult:
        return self._runtime.invoke("doc.tables.distributeColumns", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def distributeColumns(self, params: DocTablesDistributeColumnsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDistributeColumnsResult:
        return self.distribute_columns(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def insert_cell(self, params: DocTablesInsertCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertCellResult:
        return self._runtime.invoke("doc.tables.insertCell", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def insertCell(self, params: DocTablesInsertCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertCellResult:
        return self.insert_cell(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def delete_cell(self, params: DocTablesDeleteCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteCellResult:
        return self._runtime.invoke("doc.tables.deleteCell", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def deleteCell(self, params: DocTablesDeleteCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteCellResult:
        return self.delete_cell(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def merge_cells(self, params: DocTablesMergeCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesMergeCellsResult:
        return self._runtime.invoke("doc.tables.mergeCells", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def mergeCells(self, params: DocTablesMergeCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesMergeCellsResult:
        return self.merge_cells(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def unmerge_cells(self, params: DocTablesUnmergeCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesUnmergeCellsResult:
        return self._runtime.invoke("doc.tables.unmergeCells", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def unmergeCells(self, params: DocTablesUnmergeCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesUnmergeCellsResult:
        return self.unmerge_cells(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def split_cell(self, params: DocTablesSplitCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSplitCellResult:
        return self._runtime.invoke("doc.tables.splitCell", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def splitCell(self, params: DocTablesSplitCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSplitCellResult:
        return self.split_cell(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_cell_properties(self, params: DocTablesSetCellPropertiesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellPropertiesResult:
        return self._runtime.invoke("doc.tables.setCellProperties", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setCellProperties(self, params: DocTablesSetCellPropertiesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellPropertiesResult:
        return self.set_cell_properties(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def sort(self, params: DocTablesSortParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSortResult:
        return self._runtime.invoke("doc.tables.sort", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_alt_text(self, params: DocTablesSetAltTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetAltTextResult:
        return self._runtime.invoke("doc.tables.setAltText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setAltText(self, params: DocTablesSetAltTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetAltTextResult:
        return self.set_alt_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_style(self, params: DocTablesSetStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetStyleResult:
        return self._runtime.invoke("doc.tables.setStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setStyle(self, params: DocTablesSetStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetStyleResult:
        return self.set_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_style(self, params: DocTablesClearStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearStyleResult:
        return self._runtime.invoke("doc.tables.clearStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearStyle(self, params: DocTablesClearStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearStyleResult:
        return self.clear_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_style_option(self, params: DocTablesSetStyleOptionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetStyleOptionResult:
        return self._runtime.invoke("doc.tables.setStyleOption", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setStyleOption(self, params: DocTablesSetStyleOptionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetStyleOptionResult:
        return self.set_style_option(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_border(self, params: DocTablesSetBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetBorderResult:
        return self._runtime.invoke("doc.tables.setBorder", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setBorder(self, params: DocTablesSetBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetBorderResult:
        return self.set_border(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_border(self, params: DocTablesClearBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearBorderResult:
        return self._runtime.invoke("doc.tables.clearBorder", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearBorder(self, params: DocTablesClearBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearBorderResult:
        return self.clear_border(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def apply_border_preset(self, params: DocTablesApplyBorderPresetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesApplyBorderPresetResult:
        return self._runtime.invoke("doc.tables.applyBorderPreset", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def applyBorderPreset(self, params: DocTablesApplyBorderPresetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesApplyBorderPresetResult:
        return self.apply_border_preset(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_shading(self, params: DocTablesSetShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetShadingResult:
        return self._runtime.invoke("doc.tables.setShading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setShading(self, params: DocTablesSetShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetShadingResult:
        return self.set_shading(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_shading(self, params: DocTablesClearShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearShadingResult:
        return self._runtime.invoke("doc.tables.clearShading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearShading(self, params: DocTablesClearShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearShadingResult:
        return self.clear_shading(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_table_padding(self, params: DocTablesSetTablePaddingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetTablePaddingResult:
        return self._runtime.invoke("doc.tables.setTablePadding", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setTablePadding(self, params: DocTablesSetTablePaddingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetTablePaddingResult:
        return self.set_table_padding(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_cell_padding(self, params: DocTablesSetCellPaddingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellPaddingResult:
        return self._runtime.invoke("doc.tables.setCellPadding", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setCellPadding(self, params: DocTablesSetCellPaddingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellPaddingResult:
        return self.set_cell_padding(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_cell_spacing(self, params: DocTablesSetCellSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellSpacingResult:
        return self._runtime.invoke("doc.tables.setCellSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setCellSpacing(self, params: DocTablesSetCellSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellSpacingResult:
        return self.set_cell_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_cell_spacing(self, params: DocTablesClearCellSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearCellSpacingResult:
        return self._runtime.invoke("doc.tables.clearCellSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearCellSpacing(self, params: DocTablesClearCellSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearCellSpacingResult:
        return self.clear_cell_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get(self, params: DocTablesGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetResult:
        return self._runtime.invoke("doc.tables.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_cells(self, params: DocTablesGetCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetCellsResult:
        return self._runtime.invoke("doc.tables.getCells", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def getCells(self, params: DocTablesGetCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetCellsResult:
        return self.get_cells(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_properties(self, params: DocTablesGetPropertiesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetPropertiesResult:
        return self._runtime.invoke("doc.tables.getProperties", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def getProperties(self, params: DocTablesGetPropertiesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetPropertiesResult:
        return self.get_properties(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_styles(self, params: DocTablesGetStylesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetStylesResult:
        return self._runtime.invoke("doc.tables.getStyles", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def getStyles(self, params: DocTablesGetStylesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetStylesResult:
        return self.get_styles(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_default_style(self, params: DocTablesSetDefaultStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetDefaultStyleResult:
        return self._runtime.invoke("doc.tables.setDefaultStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setDefaultStyle(self, params: DocTablesSetDefaultStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetDefaultStyleResult:
        return self.set_default_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clear_default_style(self, params: DocTablesClearDefaultStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearDefaultStyleResult:
        return self._runtime.invoke("doc.tables.clearDefaultStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def clearDefaultStyle(self, params: DocTablesClearDefaultStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearDefaultStyleResult:
        return self.clear_default_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocTocApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def list(self, params: DocTocListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocListResult:
        return self._runtime.invoke("doc.toc.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get(self, params: DocTocGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocGetResult:
        return self._runtime.invoke("doc.toc.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def configure(self, params: DocTocConfigureParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocConfigureResult:
        return self._runtime.invoke("doc.toc.configure", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def update(self, params: DocTocUpdateParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocUpdateResult:
        return self._runtime.invoke("doc.toc.update", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def remove(self, params: DocTocRemoveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocRemoveResult:
        return self._runtime.invoke("doc.toc.remove", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def mark_entry(self, params: DocTocMarkEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocMarkEntryResult:
        return self._runtime.invoke("doc.toc.markEntry", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def markEntry(self, params: DocTocMarkEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocMarkEntryResult:
        return self.mark_entry(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def unmark_entry(self, params: DocTocUnmarkEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocUnmarkEntryResult:
        return self._runtime.invoke("doc.toc.unmarkEntry", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def unmarkEntry(self, params: DocTocUnmarkEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocUnmarkEntryResult:
        return self.unmark_entry(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def list_entries(self, params: DocTocListEntriesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocListEntriesResult:
        return self._runtime.invoke("doc.toc.listEntries", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def listEntries(self, params: DocTocListEntriesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocListEntriesResult:
        return self.list_entries(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def get_entry(self, params: DocTocGetEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocGetEntryResult:
        return self._runtime.invoke("doc.toc.getEntry", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def getEntry(self, params: DocTocGetEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocGetEntryResult:
        return self.get_entry(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def edit_entry(self, params: DocTocEditEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocEditEntryResult:
        return self._runtime.invoke("doc.toc.editEntry", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def editEntry(self, params: DocTocEditEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocEditEntryResult:
        return self.edit_entry(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocHistoryApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def get(self, params: DocHistoryGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocHistoryGetResult:
        return self._runtime.invoke("doc.history.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def undo(self, params: DocHistoryUndoParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocHistoryUndoResult:
        return self._runtime.invoke("doc.history.undo", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def redo(self, params: DocHistoryRedoParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocHistoryRedoResult:
        return self._runtime.invoke("doc.history.redo", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _SyncDocSessionApi:
    def __init__(self, runtime):
        self._runtime = runtime

    def list(self, params: DocSessionListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionListResult:
        return self._runtime.invoke("doc.session.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def save(self, params: DocSessionSaveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionSaveResult:
        return self._runtime.invoke("doc.session.save", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def close(self, params: DocSessionCloseParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionCloseResult:
        return self._runtime.invoke("doc.session.close", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def set_default(self, params: DocSessionSetDefaultParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionSetDefaultResult:
        return self._runtime.invoke("doc.session.setDefault", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    def setDefault(self, params: DocSessionSetDefaultParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionSetDefaultResult:
        return self.set_default(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def find(self, params: DocFindParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFindResult:
        return await self._runtime.invoke("doc.find", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_node(self, params: DocGetNodeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocGetNodeResult:
        return await self._runtime.invoke("doc.getNode", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def getNode(self, params: DocGetNodeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocGetNodeResult:
        return await self.get_node(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_node_by_id(self, params: DocGetNodeByIdParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocGetNodeByIdResult:
        return await self._runtime.invoke("doc.getNodeById", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def getNodeById(self, params: DocGetNodeByIdParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocGetNodeByIdResult:
        return await self.get_node_by_id(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_text(self, params: DocGetTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        raw = await self._runtime.invoke("doc.getText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
        return _unwrap_string_envelope(raw, "text")

    async def getText(self, params: DocGetTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        return await self.get_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_markdown(self, params: DocGetMarkdownParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        raw = await self._runtime.invoke("doc.getMarkdown", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
        return _unwrap_string_envelope(raw, "markdown")

    async def getMarkdown(self, params: DocGetMarkdownParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        return await self.get_markdown(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_html(self, params: DocGetHtmlParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        raw = await self._runtime.invoke("doc.getHtml", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
        return _unwrap_string_envelope(raw, "html")

    async def getHtml(self, params: DocGetHtmlParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> str:
        return await self.get_html(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def info(self, params: DocInfoParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocInfoResult:
        return await self._runtime.invoke("doc.info", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def insert(self, params: DocInsertParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.insert", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def replace(self, params: DocReplaceParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.replace", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def delete(self, params: DocDeleteParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.delete", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    @property
    def blocks(self):
        return _AsyncDocBlocksApi(self._runtime)

    @property
    def format(self):
        return _AsyncDocFormatApi(self._runtime)

    @property
    def styles(self):
        return _AsyncDocStylesApi(self._runtime)

    @property
    def create(self):
        return _AsyncDocCreateApi(self._runtime)

    @property
    def sections(self):
        return _AsyncDocSectionsApi(self._runtime)

    @property
    def lists(self):
        return _AsyncDocListsApi(self._runtime)

    @property
    def comments(self):
        return _AsyncDocCommentsApi(self._runtime)

    @property
    def track_changes(self):
        return _AsyncDocTrackChangesApi(self._runtime)

    @property
    def trackChanges(self):
        return self.track_changes

    @property
    def query(self):
        return _AsyncDocQueryApi(self._runtime)

    @property
    def mutations(self):
        return _AsyncDocMutationsApi(self._runtime)

    @property
    def capabilities(self):
        return _AsyncDocCapabilitiesApi(self._runtime)

    @property
    def tables(self):
        return _AsyncDocTablesApi(self._runtime)

    @property
    def toc(self):
        return _AsyncDocTocApi(self._runtime)

    @property
    def history(self):
        return _AsyncDocHistoryApi(self._runtime)

    async def open(self, params: DocOpenParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocOpenResult:
        return await self._runtime.invoke("doc.open", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def save(self, params: DocSaveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSaveResult:
        return await self._runtime.invoke("doc.save", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def close(self, params: DocCloseParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCloseResult:
        return await self._runtime.invoke("doc.close", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def status(self, params: DocStatusParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStatusResult:
        return await self._runtime.invoke("doc.status", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def describe(self, params: DocDescribeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocDescribeResult:
        return await self._runtime.invoke("doc.describe", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def describe_command(self, params: DocDescribeCommandParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocDescribeCommandResult:
        return await self._runtime.invoke("doc.describeCommand", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def describeCommand(self, params: DocDescribeCommandParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocDescribeCommandResult:
        return await self.describe_command(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    @property
    def session(self):
        return _AsyncDocSessionApi(self._runtime)

class _AsyncDocBlocksApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def delete(self, params: DocBlocksDeleteParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocBlocksDeleteResult:
        return await self._runtime.invoke("doc.blocks.delete", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocFormatApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def apply(self, params: DocFormatApplyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.apply", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def bold(self, params: DocFormatBoldParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.bold", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def italic(self, params: DocFormatItalicParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.italic", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def strike(self, params: DocFormatStrikeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.strike", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def underline(self, params: DocFormatUnderlineParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.underline", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def highlight(self, params: DocFormatHighlightParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.highlight", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def color(self, params: DocFormatColorParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.color", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def font_size(self, params: DocFormatFontSizeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.fontSize", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def fontSize(self, params: DocFormatFontSizeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.font_size(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def font_family(self, params: DocFormatFontFamilyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.fontFamily", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def fontFamily(self, params: DocFormatFontFamilyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.font_family(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def letter_spacing(self, params: DocFormatLetterSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.letterSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def letterSpacing(self, params: DocFormatLetterSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.letter_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def vert_align(self, params: DocFormatVertAlignParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.vertAlign", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def vertAlign(self, params: DocFormatVertAlignParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.vert_align(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def position(self, params: DocFormatPositionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.position", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def dstrike(self, params: DocFormatDstrikeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.dstrike", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def small_caps(self, params: DocFormatSmallCapsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.smallCaps", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def smallCaps(self, params: DocFormatSmallCapsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.small_caps(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def caps(self, params: DocFormatCapsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.caps", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def shading(self, params: DocFormatShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.shading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def border(self, params: DocFormatBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.border", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def outline(self, params: DocFormatOutlineParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.outline", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def shadow(self, params: DocFormatShadowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.shadow", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def emboss(self, params: DocFormatEmbossParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.emboss", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def imprint(self, params: DocFormatImprintParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.imprint", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def char_scale(self, params: DocFormatCharScaleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.charScale", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def charScale(self, params: DocFormatCharScaleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.char_scale(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def kerning(self, params: DocFormatKerningParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.kerning", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def vanish(self, params: DocFormatVanishParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.vanish", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def web_hidden(self, params: DocFormatWebHiddenParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.webHidden", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def webHidden(self, params: DocFormatWebHiddenParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.web_hidden(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def spec_vanish(self, params: DocFormatSpecVanishParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.specVanish", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def specVanish(self, params: DocFormatSpecVanishParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.spec_vanish(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def rtl(self, params: DocFormatRtlParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.rtl", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def cs(self, params: DocFormatCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.cs", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def b_cs(self, params: DocFormatBCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.bCs", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def bCs(self, params: DocFormatBCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.b_cs(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def i_cs(self, params: DocFormatICsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.iCs", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def iCs(self, params: DocFormatICsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.i_cs(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def east_asian_layout(self, params: DocFormatEastAsianLayoutParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.eastAsianLayout", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def eastAsianLayout(self, params: DocFormatEastAsianLayoutParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.east_asian_layout(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def em(self, params: DocFormatEmParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.em", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def fit_text(self, params: DocFormatFitTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.fitText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def fitText(self, params: DocFormatFitTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.fit_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def snap_to_grid(self, params: DocFormatSnapToGridParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.snapToGrid", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def snapToGrid(self, params: DocFormatSnapToGridParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.snap_to_grid(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def lang(self, params: DocFormatLangParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.lang", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def o_math(self, params: DocFormatOMathParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.oMath", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def oMath(self, params: DocFormatOMathParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.o_math(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def r_style(self, params: DocFormatRStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.rStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def rStyle(self, params: DocFormatRStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.r_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def r_fonts(self, params: DocFormatRFontsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.rFonts", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def rFonts(self, params: DocFormatRFontsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.r_fonts(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def font_size_cs(self, params: DocFormatFontSizeCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.fontSizeCs", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def fontSizeCs(self, params: DocFormatFontSizeCsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.font_size_cs(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def ligatures(self, params: DocFormatLigaturesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.ligatures", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def num_form(self, params: DocFormatNumFormParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.numForm", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def numForm(self, params: DocFormatNumFormParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.num_form(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def num_spacing(self, params: DocFormatNumSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.numSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def numSpacing(self, params: DocFormatNumSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.num_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def stylistic_sets(self, params: DocFormatStylisticSetsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.stylisticSets", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def stylisticSets(self, params: DocFormatStylisticSetsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.stylistic_sets(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def contextual_alternates(self, params: DocFormatContextualAlternatesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.format.contextualAlternates", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def contextualAlternates(self, params: DocFormatContextualAlternatesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self.contextual_alternates(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    @property
    def paragraph(self):
        return _AsyncDocFormatParagraphApi(self._runtime)

class _AsyncDocFormatParagraphApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def reset_direct_formatting(self, params: DocFormatParagraphResetDirectFormattingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphResetDirectFormattingResult:
        return await self._runtime.invoke("doc.format.paragraph.resetDirectFormatting", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def resetDirectFormatting(self, params: DocFormatParagraphResetDirectFormattingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphResetDirectFormattingResult:
        return await self.reset_direct_formatting(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_alignment(self, params: DocFormatParagraphSetAlignmentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetAlignmentResult:
        return await self._runtime.invoke("doc.format.paragraph.setAlignment", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setAlignment(self, params: DocFormatParagraphSetAlignmentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetAlignmentResult:
        return await self.set_alignment(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_alignment(self, params: DocFormatParagraphClearAlignmentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearAlignmentResult:
        return await self._runtime.invoke("doc.format.paragraph.clearAlignment", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearAlignment(self, params: DocFormatParagraphClearAlignmentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearAlignmentResult:
        return await self.clear_alignment(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_indentation(self, params: DocFormatParagraphSetIndentationParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetIndentationResult:
        return await self._runtime.invoke("doc.format.paragraph.setIndentation", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setIndentation(self, params: DocFormatParagraphSetIndentationParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetIndentationResult:
        return await self.set_indentation(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_indentation(self, params: DocFormatParagraphClearIndentationParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearIndentationResult:
        return await self._runtime.invoke("doc.format.paragraph.clearIndentation", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearIndentation(self, params: DocFormatParagraphClearIndentationParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearIndentationResult:
        return await self.clear_indentation(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_spacing(self, params: DocFormatParagraphSetSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetSpacingResult:
        return await self._runtime.invoke("doc.format.paragraph.setSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setSpacing(self, params: DocFormatParagraphSetSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetSpacingResult:
        return await self.set_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_spacing(self, params: DocFormatParagraphClearSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearSpacingResult:
        return await self._runtime.invoke("doc.format.paragraph.clearSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearSpacing(self, params: DocFormatParagraphClearSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearSpacingResult:
        return await self.clear_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_keep_options(self, params: DocFormatParagraphSetKeepOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetKeepOptionsResult:
        return await self._runtime.invoke("doc.format.paragraph.setKeepOptions", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setKeepOptions(self, params: DocFormatParagraphSetKeepOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetKeepOptionsResult:
        return await self.set_keep_options(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_outline_level(self, params: DocFormatParagraphSetOutlineLevelParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetOutlineLevelResult:
        return await self._runtime.invoke("doc.format.paragraph.setOutlineLevel", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setOutlineLevel(self, params: DocFormatParagraphSetOutlineLevelParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetOutlineLevelResult:
        return await self.set_outline_level(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_flow_options(self, params: DocFormatParagraphSetFlowOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetFlowOptionsResult:
        return await self._runtime.invoke("doc.format.paragraph.setFlowOptions", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setFlowOptions(self, params: DocFormatParagraphSetFlowOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetFlowOptionsResult:
        return await self.set_flow_options(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_tab_stop(self, params: DocFormatParagraphSetTabStopParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetTabStopResult:
        return await self._runtime.invoke("doc.format.paragraph.setTabStop", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setTabStop(self, params: DocFormatParagraphSetTabStopParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetTabStopResult:
        return await self.set_tab_stop(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_tab_stop(self, params: DocFormatParagraphClearTabStopParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearTabStopResult:
        return await self._runtime.invoke("doc.format.paragraph.clearTabStop", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearTabStop(self, params: DocFormatParagraphClearTabStopParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearTabStopResult:
        return await self.clear_tab_stop(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_all_tab_stops(self, params: DocFormatParagraphClearAllTabStopsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearAllTabStopsResult:
        return await self._runtime.invoke("doc.format.paragraph.clearAllTabStops", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearAllTabStops(self, params: DocFormatParagraphClearAllTabStopsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearAllTabStopsResult:
        return await self.clear_all_tab_stops(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_border(self, params: DocFormatParagraphSetBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetBorderResult:
        return await self._runtime.invoke("doc.format.paragraph.setBorder", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setBorder(self, params: DocFormatParagraphSetBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetBorderResult:
        return await self.set_border(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_border(self, params: DocFormatParagraphClearBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearBorderResult:
        return await self._runtime.invoke("doc.format.paragraph.clearBorder", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearBorder(self, params: DocFormatParagraphClearBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearBorderResult:
        return await self.clear_border(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_shading(self, params: DocFormatParagraphSetShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetShadingResult:
        return await self._runtime.invoke("doc.format.paragraph.setShading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setShading(self, params: DocFormatParagraphSetShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphSetShadingResult:
        return await self.set_shading(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_shading(self, params: DocFormatParagraphClearShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearShadingResult:
        return await self._runtime.invoke("doc.format.paragraph.clearShading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearShading(self, params: DocFormatParagraphClearShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocFormatParagraphClearShadingResult:
        return await self.clear_shading(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocStylesApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def apply(self, params: DocStylesApplyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesApplyResult:
        return await self._runtime.invoke("doc.styles.apply", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    @property
    def paragraph(self):
        return _AsyncDocStylesParagraphApi(self._runtime)

class _AsyncDocStylesParagraphApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def set_style(self, params: DocStylesParagraphSetStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesParagraphSetStyleResult:
        return await self._runtime.invoke("doc.styles.paragraph.setStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setStyle(self, params: DocStylesParagraphSetStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesParagraphSetStyleResult:
        return await self.set_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_style(self, params: DocStylesParagraphClearStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesParagraphClearStyleResult:
        return await self._runtime.invoke("doc.styles.paragraph.clearStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearStyle(self, params: DocStylesParagraphClearStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocStylesParagraphClearStyleResult:
        return await self.clear_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocCreateApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def paragraph(self, params: DocCreateParagraphParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateParagraphResult:
        return await self._runtime.invoke("doc.create.paragraph", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def heading(self, params: DocCreateHeadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateHeadingResult:
        return await self._runtime.invoke("doc.create.heading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def section_break(self, params: DocCreateSectionBreakParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateSectionBreakResult:
        return await self._runtime.invoke("doc.create.sectionBreak", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def sectionBreak(self, params: DocCreateSectionBreakParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateSectionBreakResult:
        return await self.section_break(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def table(self, params: DocCreateTableParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateTableResult:
        return await self._runtime.invoke("doc.create.table", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def table_of_contents(self, params: DocCreateTableOfContentsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateTableOfContentsResult:
        return await self._runtime.invoke("doc.create.tableOfContents", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def tableOfContents(self, params: DocCreateTableOfContentsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCreateTableOfContentsResult:
        return await self.table_of_contents(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocSectionsApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def list(self, params: DocSectionsListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsListResult:
        return await self._runtime.invoke("doc.sections.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get(self, params: DocSectionsGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsGetResult:
        return await self._runtime.invoke("doc.sections.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_break_type(self, params: DocSectionsSetBreakTypeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetBreakTypeResult:
        return await self._runtime.invoke("doc.sections.setBreakType", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setBreakType(self, params: DocSectionsSetBreakTypeParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetBreakTypeResult:
        return await self.set_break_type(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_page_margins(self, params: DocSectionsSetPageMarginsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageMarginsResult:
        return await self._runtime.invoke("doc.sections.setPageMargins", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setPageMargins(self, params: DocSectionsSetPageMarginsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageMarginsResult:
        return await self.set_page_margins(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_header_footer_margins(self, params: DocSectionsSetHeaderFooterMarginsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetHeaderFooterMarginsResult:
        return await self._runtime.invoke("doc.sections.setHeaderFooterMargins", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setHeaderFooterMargins(self, params: DocSectionsSetHeaderFooterMarginsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetHeaderFooterMarginsResult:
        return await self.set_header_footer_margins(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_page_setup(self, params: DocSectionsSetPageSetupParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageSetupResult:
        return await self._runtime.invoke("doc.sections.setPageSetup", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setPageSetup(self, params: DocSectionsSetPageSetupParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageSetupResult:
        return await self.set_page_setup(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_columns(self, params: DocSectionsSetColumnsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetColumnsResult:
        return await self._runtime.invoke("doc.sections.setColumns", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setColumns(self, params: DocSectionsSetColumnsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetColumnsResult:
        return await self.set_columns(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_line_numbering(self, params: DocSectionsSetLineNumberingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetLineNumberingResult:
        return await self._runtime.invoke("doc.sections.setLineNumbering", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setLineNumbering(self, params: DocSectionsSetLineNumberingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetLineNumberingResult:
        return await self.set_line_numbering(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_page_numbering(self, params: DocSectionsSetPageNumberingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageNumberingResult:
        return await self._runtime.invoke("doc.sections.setPageNumbering", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setPageNumbering(self, params: DocSectionsSetPageNumberingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageNumberingResult:
        return await self.set_page_numbering(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_title_page(self, params: DocSectionsSetTitlePageParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetTitlePageResult:
        return await self._runtime.invoke("doc.sections.setTitlePage", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setTitlePage(self, params: DocSectionsSetTitlePageParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetTitlePageResult:
        return await self.set_title_page(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_odd_even_headers_footers(self, params: DocSectionsSetOddEvenHeadersFootersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetOddEvenHeadersFootersResult:
        return await self._runtime.invoke("doc.sections.setOddEvenHeadersFooters", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setOddEvenHeadersFooters(self, params: DocSectionsSetOddEvenHeadersFootersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetOddEvenHeadersFootersResult:
        return await self.set_odd_even_headers_footers(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_vertical_align(self, params: DocSectionsSetVerticalAlignParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetVerticalAlignResult:
        return await self._runtime.invoke("doc.sections.setVerticalAlign", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setVerticalAlign(self, params: DocSectionsSetVerticalAlignParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetVerticalAlignResult:
        return await self.set_vertical_align(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_section_direction(self, params: DocSectionsSetSectionDirectionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetSectionDirectionResult:
        return await self._runtime.invoke("doc.sections.setSectionDirection", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setSectionDirection(self, params: DocSectionsSetSectionDirectionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetSectionDirectionResult:
        return await self.set_section_direction(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_header_footer_ref(self, params: DocSectionsSetHeaderFooterRefParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetHeaderFooterRefResult:
        return await self._runtime.invoke("doc.sections.setHeaderFooterRef", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setHeaderFooterRef(self, params: DocSectionsSetHeaderFooterRefParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetHeaderFooterRefResult:
        return await self.set_header_footer_ref(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_header_footer_ref(self, params: DocSectionsClearHeaderFooterRefParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsClearHeaderFooterRefResult:
        return await self._runtime.invoke("doc.sections.clearHeaderFooterRef", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearHeaderFooterRef(self, params: DocSectionsClearHeaderFooterRefParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsClearHeaderFooterRefResult:
        return await self.clear_header_footer_ref(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_link_to_previous(self, params: DocSectionsSetLinkToPreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetLinkToPreviousResult:
        return await self._runtime.invoke("doc.sections.setLinkToPrevious", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setLinkToPrevious(self, params: DocSectionsSetLinkToPreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetLinkToPreviousResult:
        return await self.set_link_to_previous(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_page_borders(self, params: DocSectionsSetPageBordersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageBordersResult:
        return await self._runtime.invoke("doc.sections.setPageBorders", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setPageBorders(self, params: DocSectionsSetPageBordersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsSetPageBordersResult:
        return await self.set_page_borders(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_page_borders(self, params: DocSectionsClearPageBordersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsClearPageBordersResult:
        return await self._runtime.invoke("doc.sections.clearPageBorders", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearPageBorders(self, params: DocSectionsClearPageBordersParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSectionsClearPageBordersResult:
        return await self.clear_page_borders(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocListsApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def list(self, params: DocListsListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsListResult:
        return await self._runtime.invoke("doc.lists.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get(self, params: DocListsGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsGetResult:
        return await self._runtime.invoke("doc.lists.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def insert(self, params: DocListsInsertParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsInsertResult:
        return await self._runtime.invoke("doc.lists.insert", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def create(self, params: DocListsCreateParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCreateResult:
        return await self._runtime.invoke("doc.lists.create", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def attach(self, params: DocListsAttachParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsAttachResult:
        return await self._runtime.invoke("doc.lists.attach", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def detach(self, params: DocListsDetachParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsDetachResult:
        return await self._runtime.invoke("doc.lists.detach", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def indent(self, params: DocListsIndentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsIndentResult:
        return await self._runtime.invoke("doc.lists.indent", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def outdent(self, params: DocListsOutdentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsOutdentResult:
        return await self._runtime.invoke("doc.lists.outdent", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def join(self, params: DocListsJoinParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsJoinResult:
        return await self._runtime.invoke("doc.lists.join", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def can_join(self, params: DocListsCanJoinParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCanJoinResult:
        return await self._runtime.invoke("doc.lists.canJoin", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def canJoin(self, params: DocListsCanJoinParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCanJoinResult:
        return await self.can_join(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def separate(self, params: DocListsSeparateParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSeparateResult:
        return await self._runtime.invoke("doc.lists.separate", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_level(self, params: DocListsSetLevelParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetLevelResult:
        return await self._runtime.invoke("doc.lists.setLevel", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setLevel(self, params: DocListsSetLevelParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetLevelResult:
        return await self.set_level(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_value(self, params: DocListsSetValueParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetValueResult:
        return await self._runtime.invoke("doc.lists.setValue", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setValue(self, params: DocListsSetValueParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetValueResult:
        return await self.set_value(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def continue_previous(self, params: DocListsContinuePreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsContinuePreviousResult:
        return await self._runtime.invoke("doc.lists.continuePrevious", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def continuePrevious(self, params: DocListsContinuePreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsContinuePreviousResult:
        return await self.continue_previous(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def can_continue_previous(self, params: DocListsCanContinuePreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCanContinuePreviousResult:
        return await self._runtime.invoke("doc.lists.canContinuePrevious", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def canContinuePrevious(self, params: DocListsCanContinuePreviousParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsCanContinuePreviousResult:
        return await self.can_continue_previous(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_level_restart(self, params: DocListsSetLevelRestartParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetLevelRestartResult:
        return await self._runtime.invoke("doc.lists.setLevelRestart", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setLevelRestart(self, params: DocListsSetLevelRestartParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsSetLevelRestartResult:
        return await self.set_level_restart(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def convert_to_text(self, params: DocListsConvertToTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsConvertToTextResult:
        return await self._runtime.invoke("doc.lists.convertToText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def convertToText(self, params: DocListsConvertToTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocListsConvertToTextResult:
        return await self.convert_to_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocCommentsApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def create(self, params: DocCommentsCreateParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.comments.create", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def patch(self, params: DocCommentsPatchParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.comments.patch", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def delete(self, params: DocCommentsDeleteParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.comments.delete", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get(self, params: DocCommentsGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCommentsGetResult:
        return await self._runtime.invoke("doc.comments.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def list(self, params: DocCommentsListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCommentsListResult:
        return await self._runtime.invoke("doc.comments.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocTrackChangesApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def list(self, params: DocTrackChangesListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTrackChangesListResult:
        return await self._runtime.invoke("doc.trackChanges.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get(self, params: DocTrackChangesGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTrackChangesGetResult:
        return await self._runtime.invoke("doc.trackChanges.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def decide(self, params: DocTrackChangesDecideParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> Any:
        return await self._runtime.invoke("doc.trackChanges.decide", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocQueryApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def match(self, params: DocQueryMatchParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocQueryMatchResult:
        return await self._runtime.invoke("doc.query.match", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocMutationsApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def preview(self, params: DocMutationsPreviewParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocMutationsPreviewResult:
        return await self._runtime.invoke("doc.mutations.preview", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def apply(self, params: DocMutationsApplyParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocMutationsApplyResult:
        return await self._runtime.invoke("doc.mutations.apply", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocCapabilitiesApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def get(self, params: DocCapabilitiesGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocCapabilitiesGetResult:
        return await self._runtime.invoke("doc.capabilities.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocTablesApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def convert_from_text(self, params: DocTablesConvertFromTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesConvertFromTextResult:
        return await self._runtime.invoke("doc.tables.convertFromText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def convertFromText(self, params: DocTablesConvertFromTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesConvertFromTextResult:
        return await self.convert_from_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def delete(self, params: DocTablesDeleteParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteResult:
        return await self._runtime.invoke("doc.tables.delete", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_contents(self, params: DocTablesClearContentsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearContentsResult:
        return await self._runtime.invoke("doc.tables.clearContents", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearContents(self, params: DocTablesClearContentsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearContentsResult:
        return await self.clear_contents(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def move(self, params: DocTablesMoveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesMoveResult:
        return await self._runtime.invoke("doc.tables.move", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def split(self, params: DocTablesSplitParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSplitResult:
        return await self._runtime.invoke("doc.tables.split", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def convert_to_text(self, params: DocTablesConvertToTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesConvertToTextResult:
        return await self._runtime.invoke("doc.tables.convertToText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def convertToText(self, params: DocTablesConvertToTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesConvertToTextResult:
        return await self.convert_to_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_layout(self, params: DocTablesSetLayoutParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetLayoutResult:
        return await self._runtime.invoke("doc.tables.setLayout", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setLayout(self, params: DocTablesSetLayoutParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetLayoutResult:
        return await self.set_layout(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def insert_row(self, params: DocTablesInsertRowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertRowResult:
        return await self._runtime.invoke("doc.tables.insertRow", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def insertRow(self, params: DocTablesInsertRowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertRowResult:
        return await self.insert_row(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def delete_row(self, params: DocTablesDeleteRowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteRowResult:
        return await self._runtime.invoke("doc.tables.deleteRow", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def deleteRow(self, params: DocTablesDeleteRowParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteRowResult:
        return await self.delete_row(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_row_height(self, params: DocTablesSetRowHeightParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetRowHeightResult:
        return await self._runtime.invoke("doc.tables.setRowHeight", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setRowHeight(self, params: DocTablesSetRowHeightParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetRowHeightResult:
        return await self.set_row_height(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def distribute_rows(self, params: DocTablesDistributeRowsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDistributeRowsResult:
        return await self._runtime.invoke("doc.tables.distributeRows", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def distributeRows(self, params: DocTablesDistributeRowsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDistributeRowsResult:
        return await self.distribute_rows(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_row_options(self, params: DocTablesSetRowOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetRowOptionsResult:
        return await self._runtime.invoke("doc.tables.setRowOptions", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setRowOptions(self, params: DocTablesSetRowOptionsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetRowOptionsResult:
        return await self.set_row_options(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def insert_column(self, params: DocTablesInsertColumnParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertColumnResult:
        return await self._runtime.invoke("doc.tables.insertColumn", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def insertColumn(self, params: DocTablesInsertColumnParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertColumnResult:
        return await self.insert_column(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def delete_column(self, params: DocTablesDeleteColumnParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteColumnResult:
        return await self._runtime.invoke("doc.tables.deleteColumn", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def deleteColumn(self, params: DocTablesDeleteColumnParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteColumnResult:
        return await self.delete_column(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_column_width(self, params: DocTablesSetColumnWidthParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetColumnWidthResult:
        return await self._runtime.invoke("doc.tables.setColumnWidth", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setColumnWidth(self, params: DocTablesSetColumnWidthParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetColumnWidthResult:
        return await self.set_column_width(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def distribute_columns(self, params: DocTablesDistributeColumnsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDistributeColumnsResult:
        return await self._runtime.invoke("doc.tables.distributeColumns", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def distributeColumns(self, params: DocTablesDistributeColumnsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDistributeColumnsResult:
        return await self.distribute_columns(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def insert_cell(self, params: DocTablesInsertCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertCellResult:
        return await self._runtime.invoke("doc.tables.insertCell", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def insertCell(self, params: DocTablesInsertCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesInsertCellResult:
        return await self.insert_cell(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def delete_cell(self, params: DocTablesDeleteCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteCellResult:
        return await self._runtime.invoke("doc.tables.deleteCell", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def deleteCell(self, params: DocTablesDeleteCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesDeleteCellResult:
        return await self.delete_cell(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def merge_cells(self, params: DocTablesMergeCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesMergeCellsResult:
        return await self._runtime.invoke("doc.tables.mergeCells", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def mergeCells(self, params: DocTablesMergeCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesMergeCellsResult:
        return await self.merge_cells(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def unmerge_cells(self, params: DocTablesUnmergeCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesUnmergeCellsResult:
        return await self._runtime.invoke("doc.tables.unmergeCells", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def unmergeCells(self, params: DocTablesUnmergeCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesUnmergeCellsResult:
        return await self.unmerge_cells(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def split_cell(self, params: DocTablesSplitCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSplitCellResult:
        return await self._runtime.invoke("doc.tables.splitCell", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def splitCell(self, params: DocTablesSplitCellParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSplitCellResult:
        return await self.split_cell(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_cell_properties(self, params: DocTablesSetCellPropertiesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellPropertiesResult:
        return await self._runtime.invoke("doc.tables.setCellProperties", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setCellProperties(self, params: DocTablesSetCellPropertiesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellPropertiesResult:
        return await self.set_cell_properties(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def sort(self, params: DocTablesSortParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSortResult:
        return await self._runtime.invoke("doc.tables.sort", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_alt_text(self, params: DocTablesSetAltTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetAltTextResult:
        return await self._runtime.invoke("doc.tables.setAltText", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setAltText(self, params: DocTablesSetAltTextParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetAltTextResult:
        return await self.set_alt_text(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_style(self, params: DocTablesSetStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetStyleResult:
        return await self._runtime.invoke("doc.tables.setStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setStyle(self, params: DocTablesSetStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetStyleResult:
        return await self.set_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_style(self, params: DocTablesClearStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearStyleResult:
        return await self._runtime.invoke("doc.tables.clearStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearStyle(self, params: DocTablesClearStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearStyleResult:
        return await self.clear_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_style_option(self, params: DocTablesSetStyleOptionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetStyleOptionResult:
        return await self._runtime.invoke("doc.tables.setStyleOption", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setStyleOption(self, params: DocTablesSetStyleOptionParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetStyleOptionResult:
        return await self.set_style_option(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_border(self, params: DocTablesSetBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetBorderResult:
        return await self._runtime.invoke("doc.tables.setBorder", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setBorder(self, params: DocTablesSetBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetBorderResult:
        return await self.set_border(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_border(self, params: DocTablesClearBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearBorderResult:
        return await self._runtime.invoke("doc.tables.clearBorder", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearBorder(self, params: DocTablesClearBorderParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearBorderResult:
        return await self.clear_border(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def apply_border_preset(self, params: DocTablesApplyBorderPresetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesApplyBorderPresetResult:
        return await self._runtime.invoke("doc.tables.applyBorderPreset", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def applyBorderPreset(self, params: DocTablesApplyBorderPresetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesApplyBorderPresetResult:
        return await self.apply_border_preset(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_shading(self, params: DocTablesSetShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetShadingResult:
        return await self._runtime.invoke("doc.tables.setShading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setShading(self, params: DocTablesSetShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetShadingResult:
        return await self.set_shading(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_shading(self, params: DocTablesClearShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearShadingResult:
        return await self._runtime.invoke("doc.tables.clearShading", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearShading(self, params: DocTablesClearShadingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearShadingResult:
        return await self.clear_shading(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_table_padding(self, params: DocTablesSetTablePaddingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetTablePaddingResult:
        return await self._runtime.invoke("doc.tables.setTablePadding", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setTablePadding(self, params: DocTablesSetTablePaddingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetTablePaddingResult:
        return await self.set_table_padding(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_cell_padding(self, params: DocTablesSetCellPaddingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellPaddingResult:
        return await self._runtime.invoke("doc.tables.setCellPadding", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setCellPadding(self, params: DocTablesSetCellPaddingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellPaddingResult:
        return await self.set_cell_padding(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_cell_spacing(self, params: DocTablesSetCellSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellSpacingResult:
        return await self._runtime.invoke("doc.tables.setCellSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setCellSpacing(self, params: DocTablesSetCellSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetCellSpacingResult:
        return await self.set_cell_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_cell_spacing(self, params: DocTablesClearCellSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearCellSpacingResult:
        return await self._runtime.invoke("doc.tables.clearCellSpacing", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearCellSpacing(self, params: DocTablesClearCellSpacingParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearCellSpacingResult:
        return await self.clear_cell_spacing(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get(self, params: DocTablesGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetResult:
        return await self._runtime.invoke("doc.tables.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_cells(self, params: DocTablesGetCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetCellsResult:
        return await self._runtime.invoke("doc.tables.getCells", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def getCells(self, params: DocTablesGetCellsParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetCellsResult:
        return await self.get_cells(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_properties(self, params: DocTablesGetPropertiesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetPropertiesResult:
        return await self._runtime.invoke("doc.tables.getProperties", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def getProperties(self, params: DocTablesGetPropertiesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetPropertiesResult:
        return await self.get_properties(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_styles(self, params: DocTablesGetStylesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetStylesResult:
        return await self._runtime.invoke("doc.tables.getStyles", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def getStyles(self, params: DocTablesGetStylesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesGetStylesResult:
        return await self.get_styles(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_default_style(self, params: DocTablesSetDefaultStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetDefaultStyleResult:
        return await self._runtime.invoke("doc.tables.setDefaultStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setDefaultStyle(self, params: DocTablesSetDefaultStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesSetDefaultStyleResult:
        return await self.set_default_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clear_default_style(self, params: DocTablesClearDefaultStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearDefaultStyleResult:
        return await self._runtime.invoke("doc.tables.clearDefaultStyle", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def clearDefaultStyle(self, params: DocTablesClearDefaultStyleParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTablesClearDefaultStyleResult:
        return await self.clear_default_style(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocTocApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def list(self, params: DocTocListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocListResult:
        return await self._runtime.invoke("doc.toc.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get(self, params: DocTocGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocGetResult:
        return await self._runtime.invoke("doc.toc.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def configure(self, params: DocTocConfigureParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocConfigureResult:
        return await self._runtime.invoke("doc.toc.configure", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def update(self, params: DocTocUpdateParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocUpdateResult:
        return await self._runtime.invoke("doc.toc.update", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def remove(self, params: DocTocRemoveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocRemoveResult:
        return await self._runtime.invoke("doc.toc.remove", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def mark_entry(self, params: DocTocMarkEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocMarkEntryResult:
        return await self._runtime.invoke("doc.toc.markEntry", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def markEntry(self, params: DocTocMarkEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocMarkEntryResult:
        return await self.mark_entry(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def unmark_entry(self, params: DocTocUnmarkEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocUnmarkEntryResult:
        return await self._runtime.invoke("doc.toc.unmarkEntry", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def unmarkEntry(self, params: DocTocUnmarkEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocUnmarkEntryResult:
        return await self.unmark_entry(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def list_entries(self, params: DocTocListEntriesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocListEntriesResult:
        return await self._runtime.invoke("doc.toc.listEntries", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def listEntries(self, params: DocTocListEntriesParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocListEntriesResult:
        return await self.list_entries(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def get_entry(self, params: DocTocGetEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocGetEntryResult:
        return await self._runtime.invoke("doc.toc.getEntry", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def getEntry(self, params: DocTocGetEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocGetEntryResult:
        return await self.get_entry(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def edit_entry(self, params: DocTocEditEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocEditEntryResult:
        return await self._runtime.invoke("doc.toc.editEntry", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def editEntry(self, params: DocTocEditEntryParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocTocEditEntryResult:
        return await self.edit_entry(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocHistoryApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def get(self, params: DocHistoryGetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocHistoryGetResult:
        return await self._runtime.invoke("doc.history.get", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def undo(self, params: DocHistoryUndoParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocHistoryUndoResult:
        return await self._runtime.invoke("doc.history.undo", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def redo(self, params: DocHistoryRedoParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocHistoryRedoResult:
        return await self._runtime.invoke("doc.history.redo", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

class _AsyncDocSessionApi:
    def __init__(self, runtime):
        self._runtime = runtime

    async def list(self, params: DocSessionListParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionListResult:
        return await self._runtime.invoke("doc.session.list", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def save(self, params: DocSessionSaveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionSaveResult:
        return await self._runtime.invoke("doc.session.save", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def close(self, params: DocSessionCloseParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionCloseResult:
        return await self._runtime.invoke("doc.session.close", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def set_default(self, params: DocSessionSetDefaultParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionSetDefaultResult:
        return await self._runtime.invoke("doc.session.setDefault", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)

    async def setDefault(self, params: DocSessionSetDefaultParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionSetDefaultResult:
        return await self.set_default(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
