@superdoc-dev/sdk 1.19.1 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/action-primitives/doc-index.cjs +215 -0
  2. package/dist/action-primitives/doc-index.d.ts +83 -0
  3. package/dist/action-primitives/doc-index.d.ts.map +1 -0
  4. package/dist/action-primitives/doc-index.js +211 -0
  5. package/dist/action-primitives/engine.cjs +204 -0
  6. package/dist/action-primitives/engine.d.ts +71 -0
  7. package/dist/action-primitives/engine.d.ts.map +1 -0
  8. package/dist/action-primitives/engine.js +196 -0
  9. package/dist/action-primitives/receipt.cjs +39 -0
  10. package/dist/action-primitives/receipt.d.ts +49 -0
  11. package/dist/action-primitives/receipt.d.ts.map +1 -0
  12. package/dist/action-primitives/receipt.js +32 -0
  13. package/dist/action-primitives/resolve.cjs +252 -0
  14. package/dist/action-primitives/resolve.d.ts +56 -0
  15. package/dist/action-primitives/resolve.d.ts.map +1 -0
  16. package/dist/action-primitives/resolve.js +246 -0
  17. package/dist/action-primitives/session-cache.cjs +43 -0
  18. package/dist/action-primitives/session-cache.d.ts +19 -0
  19. package/dist/action-primitives/session-cache.d.ts.map +1 -0
  20. package/dist/action-primitives/session-cache.js +37 -0
  21. package/dist/action-primitives/tools/list-transform.cjs +661 -0
  22. package/dist/action-primitives/tools/list-transform.d.ts +98 -0
  23. package/dist/action-primitives/tools/list-transform.d.ts.map +1 -0
  24. package/dist/action-primitives/tools/list-transform.js +656 -0
  25. package/dist/action-primitives/tools/structure-insert.cjs +1343 -0
  26. package/dist/action-primitives/tools/structure-insert.d.ts +183 -0
  27. package/dist/action-primitives/tools/structure-insert.d.ts.map +1 -0
  28. package/dist/action-primitives/tools/structure-insert.js +1338 -0
  29. package/dist/action-primitives/tools/text-transform.cjs +669 -0
  30. package/dist/action-primitives/tools/text-transform.d.ts +64 -0
  31. package/dist/action-primitives/tools/text-transform.d.ts.map +1 -0
  32. package/dist/action-primitives/tools/text-transform.js +664 -0
  33. package/dist/action-primitives/types.d.ts +36 -0
  34. package/dist/action-primitives/types.d.ts.map +1 -0
  35. package/dist/action-primitives/types.js +15 -0
  36. package/dist/agent/actions.cjs +5381 -0
  37. package/dist/agent/actions.d.ts +404 -0
  38. package/dist/agent/actions.d.ts.map +1 -0
  39. package/dist/agent/actions.js +5373 -0
  40. package/dist/agent/catalog.cjs +483 -0
  41. package/dist/agent/catalog.d.ts +103 -0
  42. package/dist/agent/catalog.d.ts.map +1 -0
  43. package/dist/agent/catalog.js +471 -0
  44. package/dist/agent/doc-snapshot.cjs +663 -0
  45. package/dist/agent/doc-snapshot.d.ts +247 -0
  46. package/dist/agent/doc-snapshot.d.ts.map +1 -0
  47. package/dist/agent/doc-snapshot.js +657 -0
  48. package/dist/agent/index.d.ts +16 -0
  49. package/dist/agent/index.d.ts.map +1 -0
  50. package/dist/agent/index.js +15 -0
  51. package/dist/agent/ir.cjs +170 -0
  52. package/dist/agent/ir.d.ts +216 -0
  53. package/dist/agent/ir.d.ts.map +1 -0
  54. package/dist/agent/ir.js +181 -0
  55. package/dist/agent/operation-catalog.cjs +418 -0
  56. package/dist/agent/operation-catalog.d.ts +36 -0
  57. package/dist/agent/operation-catalog.d.ts.map +1 -0
  58. package/dist/agent/operation-catalog.js +446 -0
  59. package/dist/agent/runtime.cjs +501 -0
  60. package/dist/agent/runtime.d.ts +120 -0
  61. package/dist/agent/runtime.d.ts.map +1 -0
  62. package/dist/agent/runtime.js +493 -0
  63. package/dist/embedded-prompts.generated.cjs +13 -0
  64. package/dist/embedded-prompts.generated.d.ts +4 -0
  65. package/dist/embedded-prompts.generated.d.ts.map +1 -0
  66. package/dist/embedded-prompts.generated.js +9 -0
  67. package/dist/generated/client.cjs +18 -20
  68. package/dist/generated/client.d.ts +723 -3223
  69. package/dist/generated/client.d.ts.map +1 -1
  70. package/dist/generated/client.js +18 -20
  71. package/dist/generated/contract.cjs +12898 -18467
  72. package/dist/generated/contract.d.ts.map +1 -1
  73. package/dist/generated/contract.js +12898 -18467
  74. package/dist/generated/intent-dispatch.generated.cjs +0 -1
  75. package/dist/generated/intent-dispatch.generated.d.ts.map +1 -1
  76. package/dist/generated/intent-dispatch.generated.js +0 -1
  77. package/dist/index.cjs +3 -7
  78. package/dist/index.d.ts +8 -6
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/index.js +2 -8
  81. package/dist/presets/core.cjs +454 -0
  82. package/dist/presets/core.d.ts +20 -0
  83. package/dist/presets/core.d.ts.map +1 -0
  84. package/dist/presets/core.js +447 -0
  85. package/dist/presets.cjs +55 -8
  86. package/dist/presets.d.ts +39 -8
  87. package/dist/presets.d.ts.map +1 -1
  88. package/dist/presets.js +53 -8
  89. package/dist/prompts/mcp-prompt.md +23 -0
  90. package/dist/prompts/system-prompt.md +108 -0
  91. package/dist/runtime/transport-common.cjs +8 -0
  92. package/dist/runtime/transport-common.d.ts.map +1 -1
  93. package/dist/runtime/transport-common.js +8 -0
  94. package/dist/tools.cjs +46 -11
  95. package/dist/tools.d.ts +55 -8
  96. package/dist/tools.d.ts.map +1 -1
  97. package/dist/tools.js +45 -13
  98. package/package.json +9 -8
  99. package/tools/__pycache__/__init__.cpython-312.pyc +0 -0
  100. package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
  101. package/tools/catalog.json +22 -178
  102. package/tools/intent_dispatch_generated.py +0 -2
  103. package/tools/tools-policy.json +1 -1
  104. package/tools/tools.anthropic.json +22 -158
  105. package/tools/tools.generic.json +23 -160
  106. package/tools/tools.openai.json +22 -158
  107. package/tools/tools.vercel.json +22 -158
@@ -1714,212 +1714,6 @@ export interface DocBlocksDeleteRangeParams {
1714
1714
  });
1715
1715
  };
1716
1716
  }
1717
- export interface DocBlocksSplitParams {
1718
- doc?: string;
1719
- sessionId?: string;
1720
- out?: string;
1721
- force?: boolean;
1722
- expectedRevision?: number;
1723
- changeMode?: string;
1724
- target: {
1725
- kind: "block";
1726
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
1727
- nodeId: string;
1728
- story?: ({
1729
- kind: "story";
1730
- storyType: "body";
1731
- }) | ({
1732
- kind: "story";
1733
- storyType: "headerFooterSlot";
1734
- section: {
1735
- kind: "section";
1736
- sectionId: string;
1737
- };
1738
- headerFooterKind: "header" | "footer";
1739
- variant: "default" | "first" | "even";
1740
- resolution?: "effective" | "explicit";
1741
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1742
- }) | ({
1743
- kind: "story";
1744
- storyType: "headerFooterPart";
1745
- refId: string;
1746
- }) | ({
1747
- kind: "story";
1748
- storyType: "footnote";
1749
- noteId: string;
1750
- }) | ({
1751
- kind: "story";
1752
- storyType: "endnote";
1753
- noteId: string;
1754
- }) | ({
1755
- kind: "story";
1756
- storyType: "textbox";
1757
- textboxId: string;
1758
- });
1759
- };
1760
- offset: number;
1761
- }
1762
- export interface DocBlocksMergeParams {
1763
- doc?: string;
1764
- sessionId?: string;
1765
- out?: string;
1766
- force?: boolean;
1767
- expectedRevision?: number;
1768
- changeMode?: string;
1769
- first: {
1770
- kind: "block";
1771
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
1772
- nodeId: string;
1773
- story?: ({
1774
- kind: "story";
1775
- storyType: "body";
1776
- }) | ({
1777
- kind: "story";
1778
- storyType: "headerFooterSlot";
1779
- section: {
1780
- kind: "section";
1781
- sectionId: string;
1782
- };
1783
- headerFooterKind: "header" | "footer";
1784
- variant: "default" | "first" | "even";
1785
- resolution?: "effective" | "explicit";
1786
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1787
- }) | ({
1788
- kind: "story";
1789
- storyType: "headerFooterPart";
1790
- refId: string;
1791
- }) | ({
1792
- kind: "story";
1793
- storyType: "footnote";
1794
- noteId: string;
1795
- }) | ({
1796
- kind: "story";
1797
- storyType: "endnote";
1798
- noteId: string;
1799
- }) | ({
1800
- kind: "story";
1801
- storyType: "textbox";
1802
- textboxId: string;
1803
- });
1804
- };
1805
- second: {
1806
- kind: "block";
1807
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
1808
- nodeId: string;
1809
- story?: ({
1810
- kind: "story";
1811
- storyType: "body";
1812
- }) | ({
1813
- kind: "story";
1814
- storyType: "headerFooterSlot";
1815
- section: {
1816
- kind: "section";
1817
- sectionId: string;
1818
- };
1819
- headerFooterKind: "header" | "footer";
1820
- variant: "default" | "first" | "even";
1821
- resolution?: "effective" | "explicit";
1822
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1823
- }) | ({
1824
- kind: "story";
1825
- storyType: "headerFooterPart";
1826
- refId: string;
1827
- }) | ({
1828
- kind: "story";
1829
- storyType: "footnote";
1830
- noteId: string;
1831
- }) | ({
1832
- kind: "story";
1833
- storyType: "endnote";
1834
- noteId: string;
1835
- }) | ({
1836
- kind: "story";
1837
- storyType: "textbox";
1838
- textboxId: string;
1839
- });
1840
- };
1841
- }
1842
- export interface DocBlocksMoveParams {
1843
- doc?: string;
1844
- sessionId?: string;
1845
- out?: string;
1846
- force?: boolean;
1847
- expectedRevision?: number;
1848
- changeMode?: string;
1849
- source: {
1850
- kind: "block";
1851
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
1852
- nodeId: string;
1853
- story?: ({
1854
- kind: "story";
1855
- storyType: "body";
1856
- }) | ({
1857
- kind: "story";
1858
- storyType: "headerFooterSlot";
1859
- section: {
1860
- kind: "section";
1861
- sectionId: string;
1862
- };
1863
- headerFooterKind: "header" | "footer";
1864
- variant: "default" | "first" | "even";
1865
- resolution?: "effective" | "explicit";
1866
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1867
- }) | ({
1868
- kind: "story";
1869
- storyType: "headerFooterPart";
1870
- refId: string;
1871
- }) | ({
1872
- kind: "story";
1873
- storyType: "footnote";
1874
- noteId: string;
1875
- }) | ({
1876
- kind: "story";
1877
- storyType: "endnote";
1878
- noteId: string;
1879
- }) | ({
1880
- kind: "story";
1881
- storyType: "textbox";
1882
- textboxId: string;
1883
- });
1884
- };
1885
- destination: {
1886
- kind: "block";
1887
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
1888
- nodeId: string;
1889
- story?: ({
1890
- kind: "story";
1891
- storyType: "body";
1892
- }) | ({
1893
- kind: "story";
1894
- storyType: "headerFooterSlot";
1895
- section: {
1896
- kind: "section";
1897
- sectionId: string;
1898
- };
1899
- headerFooterKind: "header" | "footer";
1900
- variant: "default" | "first" | "even";
1901
- resolution?: "effective" | "explicit";
1902
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1903
- }) | ({
1904
- kind: "story";
1905
- storyType: "headerFooterPart";
1906
- refId: string;
1907
- }) | ({
1908
- kind: "story";
1909
- storyType: "footnote";
1910
- noteId: string;
1911
- }) | ({
1912
- kind: "story";
1913
- storyType: "endnote";
1914
- noteId: string;
1915
- }) | ({
1916
- kind: "story";
1917
- storyType: "textbox";
1918
- textboxId: string;
1919
- });
1920
- };
1921
- placement: string;
1922
- }
1923
1717
  export interface DocFormatApplyParams {
1924
1718
  doc?: string;
1925
1719
  sessionId?: string;
@@ -13906,7 +13700,7 @@ export interface DocFormatParagraphClearShadingParams {
13906
13700
  });
13907
13701
  blockId?: string;
13908
13702
  }
13909
- export interface DocFormatParagraphSetMarkRunPropsParams {
13703
+ export interface DocFormatParagraphSetDirectionParams {
13910
13704
  doc?: string;
13911
13705
  sessionId?: string;
13912
13706
  out?: string;
@@ -14020,241 +13814,11 @@ export interface DocFormatParagraphSetMarkRunPropsParams {
14020
13814
  textboxId: string;
14021
13815
  });
14022
13816
  });
14023
- markRunProps?: {
14024
- fontSizeCs?: number;
14025
- specVanish?: boolean;
14026
- fontSize?: number;
14027
- fonts?: {
14028
- ascii?: string;
14029
- hAnsi?: string;
14030
- eastAsia?: string;
14031
- cs?: string;
14032
- asciiTheme?: string;
14033
- hAnsiTheme?: string;
14034
- eastAsiaTheme?: string;
14035
- csTheme?: string;
14036
- hint?: string;
14037
- };
14038
- fontFamily?: string;
14039
- lang?: {
14040
- val?: string;
14041
- eastAsia?: string;
14042
- bidi?: string;
14043
- };
14044
- color?: ({
14045
- model: "rgb";
14046
- value: string;
14047
- }) | ({
14048
- model: "theme";
14049
- theme: string;
14050
- tint?: number;
14051
- shade?: number;
14052
- }) | ({
14053
- model: "auto";
14054
- });
14055
- highlight?: string;
14056
- shading?: {
14057
- fill?: ({
14058
- model: "rgb";
14059
- value: string;
14060
- }) | ({
14061
- model: "theme";
14062
- theme: string;
14063
- tint?: number;
14064
- shade?: number;
14065
- }) | ({
14066
- model: "auto";
14067
- });
14068
- color?: ({
14069
- model: "rgb";
14070
- value: string;
14071
- }) | ({
14072
- model: "theme";
14073
- theme: string;
14074
- tint?: number;
14075
- shade?: number;
14076
- }) | ({
14077
- model: "auto";
14078
- });
14079
- pattern?: string;
14080
- };
14081
- cs?: boolean;
14082
- rtl?: boolean;
14083
- bold?: boolean;
14084
- boldCs?: boolean;
14085
- italic?: boolean;
14086
- italicCs?: boolean;
14087
- underline?: {
14088
- style?: string;
14089
- color?: ({
14090
- model: "rgb";
14091
- value: string;
14092
- }) | ({
14093
- model: "theme";
14094
- theme: string;
14095
- tint?: number;
14096
- shade?: number;
14097
- }) | ({
14098
- model: "auto";
14099
- });
14100
- };
14101
- strikethrough?: boolean;
14102
- doubleStrikethrough?: boolean;
14103
- caps?: boolean;
14104
- smallCaps?: boolean;
14105
- outline?: boolean;
14106
- shadow?: boolean;
14107
- emboss?: boolean;
14108
- imprint?: boolean;
14109
- verticalAlign?: "baseline" | "superscript" | "subscript";
14110
- characterSpacing?: number;
14111
- characterScale?: number;
14112
- kern?: number;
14113
- baselineShift?: number;
14114
- fitTextWidth?: number;
14115
- vanish?: boolean;
14116
- webHidden?: boolean;
14117
- border?: {
14118
- style?: string;
14119
- width?: number;
14120
- space?: number;
14121
- color?: ({
14122
- model: "rgb";
14123
- value: string;
14124
- }) | ({
14125
- model: "theme";
14126
- theme: string;
14127
- tint?: number;
14128
- shade?: number;
14129
- }) | ({
14130
- model: "auto";
14131
- });
14132
- frame?: boolean;
14133
- shadow?: boolean;
14134
- };
14135
- textEffect?: string;
14136
- };
13817
+ direction?: string;
13818
+ alignmentPolicy?: string;
14137
13819
  blockId?: string;
14138
13820
  }
14139
- export interface DocFormatParagraphSetDirectionParams {
14140
- doc?: string;
14141
- sessionId?: string;
14142
- out?: string;
14143
- force?: boolean;
14144
- expectedRevision?: number;
14145
- changeMode?: string;
14146
- dryRun?: boolean;
14147
- target?: ({
14148
- kind: "block";
14149
- nodeType: "paragraph";
14150
- nodeId: string;
14151
- story?: ({
14152
- kind: "story";
14153
- storyType: "body";
14154
- }) | ({
14155
- kind: "story";
14156
- storyType: "headerFooterSlot";
14157
- section: {
14158
- kind: "section";
14159
- sectionId: string;
14160
- };
14161
- headerFooterKind: "header" | "footer";
14162
- variant: "default" | "first" | "even";
14163
- resolution?: "effective" | "explicit";
14164
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
14165
- }) | ({
14166
- kind: "story";
14167
- storyType: "headerFooterPart";
14168
- refId: string;
14169
- }) | ({
14170
- kind: "story";
14171
- storyType: "footnote";
14172
- noteId: string;
14173
- }) | ({
14174
- kind: "story";
14175
- storyType: "endnote";
14176
- noteId: string;
14177
- }) | ({
14178
- kind: "story";
14179
- storyType: "textbox";
14180
- textboxId: string;
14181
- });
14182
- }) | ({
14183
- kind: "block";
14184
- nodeType: "heading";
14185
- nodeId: string;
14186
- story?: ({
14187
- kind: "story";
14188
- storyType: "body";
14189
- }) | ({
14190
- kind: "story";
14191
- storyType: "headerFooterSlot";
14192
- section: {
14193
- kind: "section";
14194
- sectionId: string;
14195
- };
14196
- headerFooterKind: "header" | "footer";
14197
- variant: "default" | "first" | "even";
14198
- resolution?: "effective" | "explicit";
14199
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
14200
- }) | ({
14201
- kind: "story";
14202
- storyType: "headerFooterPart";
14203
- refId: string;
14204
- }) | ({
14205
- kind: "story";
14206
- storyType: "footnote";
14207
- noteId: string;
14208
- }) | ({
14209
- kind: "story";
14210
- storyType: "endnote";
14211
- noteId: string;
14212
- }) | ({
14213
- kind: "story";
14214
- storyType: "textbox";
14215
- textboxId: string;
14216
- });
14217
- }) | ({
14218
- kind: "block";
14219
- nodeType: "listItem";
14220
- nodeId: string;
14221
- story?: ({
14222
- kind: "story";
14223
- storyType: "body";
14224
- }) | ({
14225
- kind: "story";
14226
- storyType: "headerFooterSlot";
14227
- section: {
14228
- kind: "section";
14229
- sectionId: string;
14230
- };
14231
- headerFooterKind: "header" | "footer";
14232
- variant: "default" | "first" | "even";
14233
- resolution?: "effective" | "explicit";
14234
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
14235
- }) | ({
14236
- kind: "story";
14237
- storyType: "headerFooterPart";
14238
- refId: string;
14239
- }) | ({
14240
- kind: "story";
14241
- storyType: "footnote";
14242
- noteId: string;
14243
- }) | ({
14244
- kind: "story";
14245
- storyType: "endnote";
14246
- noteId: string;
14247
- }) | ({
14248
- kind: "story";
14249
- storyType: "textbox";
14250
- textboxId: string;
14251
- });
14252
- });
14253
- direction?: string;
14254
- alignmentPolicy?: string;
14255
- blockId?: string;
14256
- }
14257
- export interface DocFormatParagraphClearDirectionParams {
13821
+ export interface DocFormatParagraphClearDirectionParams {
14258
13822
  doc?: string;
14259
13823
  sessionId?: string;
14260
13824
  out?: string;
@@ -16378,91 +15942,6 @@ export interface DocListsSetLevelLayoutParams {
16378
15942
  tabStopAt?: unknown;
16379
15943
  };
16380
15944
  }
16381
- export interface DocListsGetStateParams {
16382
- doc?: string;
16383
- sessionId?: string;
16384
- target: ({
16385
- kind: "block";
16386
- nodeType: "paragraph";
16387
- nodeId: string;
16388
- }) | ({
16389
- kind: "block";
16390
- nodeType: "listItem";
16391
- nodeId: string;
16392
- });
16393
- }
16394
- export interface DocListsApplyParams {
16395
- doc?: string;
16396
- sessionId?: string;
16397
- out?: string;
16398
- force?: boolean;
16399
- expectedRevision?: number;
16400
- changeMode?: string;
16401
- target: ({
16402
- kind: "block";
16403
- nodeType: "paragraph";
16404
- nodeId: string;
16405
- }) | ({
16406
- kind: "block";
16407
- nodeType: "listItem";
16408
- nodeId: string;
16409
- });
16410
- seed: string;
16411
- reuseNumId?: string;
16412
- ilvl?: number;
16413
- }
16414
- export interface DocListsContinueParams {
16415
- doc?: string;
16416
- sessionId?: string;
16417
- out?: string;
16418
- force?: boolean;
16419
- expectedRevision?: number;
16420
- changeMode?: string;
16421
- target: ({
16422
- kind: "block";
16423
- nodeType: "paragraph";
16424
- nodeId: string;
16425
- }) | ({
16426
- kind: "block";
16427
- nodeType: "listItem";
16428
- nodeId: string;
16429
- });
16430
- }
16431
- export interface DocListsRestartParams {
16432
- doc?: string;
16433
- sessionId?: string;
16434
- out?: string;
16435
- force?: boolean;
16436
- expectedRevision?: number;
16437
- changeMode?: string;
16438
- target: ({
16439
- kind: "block";
16440
- nodeType: "paragraph";
16441
- nodeId: string;
16442
- }) | ({
16443
- kind: "block";
16444
- nodeType: "listItem";
16445
- nodeId: string;
16446
- });
16447
- startAt?: number;
16448
- }
16449
- export interface DocListsRemoveParams {
16450
- doc?: string;
16451
- sessionId?: string;
16452
- out?: string;
16453
- force?: boolean;
16454
- expectedRevision?: number;
16455
- changeMode?: string;
16456
- target: ({
16457
- kind: "block";
16458
- nodeType: "paragraph";
16459
- nodeId: string;
16460
- }) | ({
16461
- kind: "block";
16462
- nodeType: "listItem";
16463
- nodeId: string;
16464
- });
16465
- }
16466
15945
  export interface DocCommentsCreateParams {
16467
15946
  doc?: string;
16468
15947
  sessionId?: string;
@@ -17282,6 +16761,7 @@ export interface DocTrackChangesDecideParams {
17282
16761
  textboxId: string;
17283
16762
  });
17284
16763
  moveRole?: "pair" | "source" | "destination";
16764
+ side?: "inserted" | "deleted";
17285
16765
  }) | ({
17286
16766
  kind: "range";
17287
16767
  range: {
@@ -17506,6 +16986,7 @@ export interface DocTrackChangesDecideParams {
17506
16986
  textboxId: string;
17507
16987
  });
17508
16988
  moveRole?: "pair" | "source" | "destination";
16989
+ side?: "inserted" | "deleted";
17509
16990
  }) | ({
17510
16991
  id: string;
17511
16992
  range: {
@@ -20968,57 +20449,6 @@ export interface DocTablesDeleteRowParams {
20968
20449
  rowIndex?: number;
20969
20450
  nodeId?: string;
20970
20451
  }
20971
- export interface DocTablesMoveRowParams {
20972
- doc?: string;
20973
- sessionId?: string;
20974
- out?: string;
20975
- force?: boolean;
20976
- expectedRevision?: number;
20977
- changeMode?: string;
20978
- dryRun?: boolean;
20979
- target?: ({
20980
- kind: "block";
20981
- nodeType: "tableRow";
20982
- nodeId: string;
20983
- }) | ({
20984
- kind: "block";
20985
- nodeType: "table";
20986
- nodeId: string;
20987
- });
20988
- destination: ({
20989
- kind: "first";
20990
- }) | ({
20991
- kind: "last";
20992
- }) | ({
20993
- kind: "before";
20994
- rowIndex: number;
20995
- }) | ({
20996
- kind: "after";
20997
- rowIndex: number;
20998
- }) | ({
20999
- kind: "before";
21000
- target: {
21001
- kind: "block";
21002
- nodeType: "tableRow";
21003
- nodeId: string;
21004
- };
21005
- }) | ({
21006
- kind: "after";
21007
- target: {
21008
- kind: "block";
21009
- nodeType: "tableRow";
21010
- nodeId: string;
21011
- };
21012
- }) | ({
21013
- kind: "before";
21014
- nodeId: string;
21015
- }) | ({
21016
- kind: "after";
21017
- nodeId: string;
21018
- });
21019
- rowIndex?: number;
21020
- nodeId?: string;
21021
- }
21022
20452
  export interface DocTablesSetRowHeightParams {
21023
20453
  doc?: string;
21024
20454
  sessionId?: string;
@@ -26520,7 +25950,6 @@ export interface DocOpenParams {
26520
25950
  overrideType?: string;
26521
25951
  onMissing?: string;
26522
25952
  bootstrapSettlingMs?: number;
26523
- runtime?: string;
26524
25953
  userName?: string;
26525
25954
  userEmail?: string;
26526
25955
  password?: string;
@@ -26562,6 +25991,11 @@ export interface DocInsertLineBreakParams {
26562
25991
  end?: number;
26563
25992
  offset?: number;
26564
25993
  }
25994
+ export interface DocExecuteCodeParams {
25995
+ sessionId?: string;
25996
+ expectedRevision?: number;
25997
+ code?: string;
25998
+ }
26565
25999
  export interface DocStatusParams {
26566
26000
  sessionId?: string;
26567
26001
  }
@@ -26585,6 +26019,32 @@ export interface DocSessionCloseParams {
26585
26019
  export interface DocSessionSetDefaultParams {
26586
26020
  sessionId: string;
26587
26021
  }
26022
+ export interface DocPresetListParams {
26023
+ }
26024
+ export interface DocPresetGetCatalogParams {
26025
+ preset?: string;
26026
+ }
26027
+ export interface DocPresetGetToolsParams {
26028
+ provider: string;
26029
+ preset?: string;
26030
+ cache?: boolean;
26031
+ excludeActions?: string;
26032
+ }
26033
+ export interface DocPresetGetSystemPromptParams {
26034
+ preset?: string;
26035
+ excludeActions?: string;
26036
+ }
26037
+ export interface DocPresetGetMcpPromptParams {
26038
+ preset?: string;
26039
+ }
26040
+ export interface DocPresetDispatchParams {
26041
+ sessionId?: string;
26042
+ expectedRevision?: number;
26043
+ toolName: string;
26044
+ args?: Record<string, unknown> | unknown[];
26045
+ excludeActions?: string;
26046
+ preset?: string;
26047
+ }
26588
26048
  export type DocGetResult = {
26589
26049
  modelVersion: "sdm/1";
26590
26050
  body: Array<unknown>;
@@ -28836,6 +28296,17 @@ export type DocBlocksListResult = {
28836
28296
  numId?: number;
28837
28297
  level?: number;
28838
28298
  };
28299
+ numbering?: {
28300
+ marker?: string | null;
28301
+ path?: Array<number> | null;
28302
+ kind?: string | null;
28303
+ };
28304
+ indent?: {
28305
+ left?: number;
28306
+ right?: number;
28307
+ firstLine?: number;
28308
+ hanging?: number;
28309
+ };
28839
28310
  ref?: string;
28840
28311
  }>;
28841
28312
  revision: string;
@@ -29079,997 +28550,6 @@ export type DocBlocksDeleteRangeResult = {
29079
28550
  };
29080
28551
  dryRun: boolean;
29081
28552
  };
29082
- export type DocBlocksSplitResult = {
29083
- success: true;
29084
- inserted: {
29085
- kind: "block";
29086
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
29087
- nodeId: string;
29088
- story?: ({
29089
- kind: "story";
29090
- storyType: "body";
29091
- }) | ({
29092
- kind: "story";
29093
- storyType: "headerFooterSlot";
29094
- section: {
29095
- kind: "section";
29096
- sectionId: string;
29097
- };
29098
- headerFooterKind: "header" | "footer";
29099
- variant: "default" | "first" | "even";
29100
- resolution?: "effective" | "explicit";
29101
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29102
- }) | ({
29103
- kind: "story";
29104
- storyType: "headerFooterPart";
29105
- refId: string;
29106
- }) | ({
29107
- kind: "story";
29108
- storyType: "footnote";
29109
- noteId: string;
29110
- }) | ({
29111
- kind: "story";
29112
- storyType: "endnote";
29113
- noteId: string;
29114
- }) | ({
29115
- kind: "story";
29116
- storyType: "textbox";
29117
- textboxId: string;
29118
- });
29119
- };
29120
- remappedRefs?: Array<{
29121
- from: ({
29122
- kind: "text";
29123
- blockId: string;
29124
- range: {
29125
- start: number;
29126
- end: number;
29127
- };
29128
- story?: ({
29129
- kind: "story";
29130
- storyType: "body";
29131
- }) | ({
29132
- kind: "story";
29133
- storyType: "headerFooterSlot";
29134
- section: {
29135
- kind: "section";
29136
- sectionId: string;
29137
- };
29138
- headerFooterKind: "header" | "footer";
29139
- variant: "default" | "first" | "even";
29140
- resolution?: "effective" | "explicit";
29141
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29142
- }) | ({
29143
- kind: "story";
29144
- storyType: "headerFooterPart";
29145
- refId: string;
29146
- }) | ({
29147
- kind: "story";
29148
- storyType: "footnote";
29149
- noteId: string;
29150
- }) | ({
29151
- kind: "story";
29152
- storyType: "endnote";
29153
- noteId: string;
29154
- }) | ({
29155
- kind: "story";
29156
- storyType: "textbox";
29157
- textboxId: string;
29158
- });
29159
- }) | ({
29160
- kind: "entity";
29161
- entityType: "bookmark";
29162
- name: string;
29163
- story?: ({
29164
- kind: "story";
29165
- storyType: "body";
29166
- }) | ({
29167
- kind: "story";
29168
- storyType: "headerFooterSlot";
29169
- section: {
29170
- kind: "section";
29171
- sectionId: string;
29172
- };
29173
- headerFooterKind: "header" | "footer";
29174
- variant: "default" | "first" | "even";
29175
- resolution?: "effective" | "explicit";
29176
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29177
- }) | ({
29178
- kind: "story";
29179
- storyType: "headerFooterPart";
29180
- refId: string;
29181
- }) | ({
29182
- kind: "story";
29183
- storyType: "footnote";
29184
- noteId: string;
29185
- }) | ({
29186
- kind: "story";
29187
- storyType: "endnote";
29188
- noteId: string;
29189
- }) | ({
29190
- kind: "story";
29191
- storyType: "textbox";
29192
- textboxId: string;
29193
- });
29194
- }) | ({
29195
- kind: "entity";
29196
- entityType: "comment";
29197
- entityId: string;
29198
- }) | ({
29199
- kind: "entity";
29200
- entityType: "trackedChange";
29201
- entityId: string;
29202
- story?: ({
29203
- kind: "story";
29204
- storyType: "body";
29205
- }) | ({
29206
- kind: "story";
29207
- storyType: "headerFooterSlot";
29208
- section: {
29209
- kind: "section";
29210
- sectionId: string;
29211
- };
29212
- headerFooterKind: "header" | "footer";
29213
- variant: "default" | "first" | "even";
29214
- resolution?: "effective" | "explicit";
29215
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29216
- }) | ({
29217
- kind: "story";
29218
- storyType: "headerFooterPart";
29219
- refId: string;
29220
- }) | ({
29221
- kind: "story";
29222
- storyType: "footnote";
29223
- noteId: string;
29224
- }) | ({
29225
- kind: "story";
29226
- storyType: "endnote";
29227
- noteId: string;
29228
- }) | ({
29229
- kind: "story";
29230
- storyType: "textbox";
29231
- textboxId: string;
29232
- });
29233
- }) | ({
29234
- kind: "block";
29235
- nodeId: string;
29236
- nodeType?: string;
29237
- });
29238
- to: ({
29239
- kind: "text";
29240
- blockId: string;
29241
- range: {
29242
- start: number;
29243
- end: number;
29244
- };
29245
- story?: ({
29246
- kind: "story";
29247
- storyType: "body";
29248
- }) | ({
29249
- kind: "story";
29250
- storyType: "headerFooterSlot";
29251
- section: {
29252
- kind: "section";
29253
- sectionId: string;
29254
- };
29255
- headerFooterKind: "header" | "footer";
29256
- variant: "default" | "first" | "even";
29257
- resolution?: "effective" | "explicit";
29258
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29259
- }) | ({
29260
- kind: "story";
29261
- storyType: "headerFooterPart";
29262
- refId: string;
29263
- }) | ({
29264
- kind: "story";
29265
- storyType: "footnote";
29266
- noteId: string;
29267
- }) | ({
29268
- kind: "story";
29269
- storyType: "endnote";
29270
- noteId: string;
29271
- }) | ({
29272
- kind: "story";
29273
- storyType: "textbox";
29274
- textboxId: string;
29275
- });
29276
- }) | ({
29277
- kind: "entity";
29278
- entityType: "bookmark";
29279
- name: string;
29280
- story?: ({
29281
- kind: "story";
29282
- storyType: "body";
29283
- }) | ({
29284
- kind: "story";
29285
- storyType: "headerFooterSlot";
29286
- section: {
29287
- kind: "section";
29288
- sectionId: string;
29289
- };
29290
- headerFooterKind: "header" | "footer";
29291
- variant: "default" | "first" | "even";
29292
- resolution?: "effective" | "explicit";
29293
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29294
- }) | ({
29295
- kind: "story";
29296
- storyType: "headerFooterPart";
29297
- refId: string;
29298
- }) | ({
29299
- kind: "story";
29300
- storyType: "footnote";
29301
- noteId: string;
29302
- }) | ({
29303
- kind: "story";
29304
- storyType: "endnote";
29305
- noteId: string;
29306
- }) | ({
29307
- kind: "story";
29308
- storyType: "textbox";
29309
- textboxId: string;
29310
- });
29311
- }) | ({
29312
- kind: "entity";
29313
- entityType: "comment";
29314
- entityId: string;
29315
- }) | ({
29316
- kind: "entity";
29317
- entityType: "trackedChange";
29318
- entityId: string;
29319
- story?: ({
29320
- kind: "story";
29321
- storyType: "body";
29322
- }) | ({
29323
- kind: "story";
29324
- storyType: "headerFooterSlot";
29325
- section: {
29326
- kind: "section";
29327
- sectionId: string;
29328
- };
29329
- headerFooterKind: "header" | "footer";
29330
- variant: "default" | "first" | "even";
29331
- resolution?: "effective" | "explicit";
29332
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29333
- }) | ({
29334
- kind: "story";
29335
- storyType: "headerFooterPart";
29336
- refId: string;
29337
- }) | ({
29338
- kind: "story";
29339
- storyType: "footnote";
29340
- noteId: string;
29341
- }) | ({
29342
- kind: "story";
29343
- storyType: "endnote";
29344
- noteId: string;
29345
- }) | ({
29346
- kind: "story";
29347
- storyType: "textbox";
29348
- textboxId: string;
29349
- });
29350
- }) | ({
29351
- kind: "block";
29352
- nodeId: string;
29353
- nodeType?: string;
29354
- });
29355
- }>;
29356
- affectedStories?: Array<({
29357
- kind: "story";
29358
- storyType: "body";
29359
- }) | ({
29360
- kind: "story";
29361
- storyType: "headerFooterSlot";
29362
- section: {
29363
- kind: "section";
29364
- sectionId: string;
29365
- };
29366
- headerFooterKind: "header" | "footer";
29367
- variant: "default" | "first" | "even";
29368
- resolution?: "effective" | "explicit";
29369
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29370
- }) | ({
29371
- kind: "story";
29372
- storyType: "headerFooterPart";
29373
- refId: string;
29374
- }) | ({
29375
- kind: "story";
29376
- storyType: "footnote";
29377
- noteId: string;
29378
- }) | ({
29379
- kind: "story";
29380
- storyType: "endnote";
29381
- noteId: string;
29382
- }) | ({
29383
- kind: "story";
29384
- storyType: "textbox";
29385
- textboxId: string;
29386
- })>;
29387
- textRangeShifts?: Array<{
29388
- story: ({
29389
- kind: "story";
29390
- storyType: "body";
29391
- }) | ({
29392
- kind: "story";
29393
- storyType: "headerFooterSlot";
29394
- section: {
29395
- kind: "section";
29396
- sectionId: string;
29397
- };
29398
- headerFooterKind: "header" | "footer";
29399
- variant: "default" | "first" | "even";
29400
- resolution?: "effective" | "explicit";
29401
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29402
- }) | ({
29403
- kind: "story";
29404
- storyType: "headerFooterPart";
29405
- refId: string;
29406
- }) | ({
29407
- kind: "story";
29408
- storyType: "footnote";
29409
- noteId: string;
29410
- }) | ({
29411
- kind: "story";
29412
- storyType: "endnote";
29413
- noteId: string;
29414
- }) | ({
29415
- kind: "story";
29416
- storyType: "textbox";
29417
- textboxId: string;
29418
- });
29419
- atChar: number;
29420
- delta: number;
29421
- }>;
29422
- txId?: string;
29423
- };
29424
- export type DocBlocksMergeResult = {
29425
- success: true;
29426
- removed: {
29427
- kind: "block";
29428
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
29429
- nodeId: string;
29430
- story?: ({
29431
- kind: "story";
29432
- storyType: "body";
29433
- }) | ({
29434
- kind: "story";
29435
- storyType: "headerFooterSlot";
29436
- section: {
29437
- kind: "section";
29438
- sectionId: string;
29439
- };
29440
- headerFooterKind: "header" | "footer";
29441
- variant: "default" | "first" | "even";
29442
- resolution?: "effective" | "explicit";
29443
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29444
- }) | ({
29445
- kind: "story";
29446
- storyType: "headerFooterPart";
29447
- refId: string;
29448
- }) | ({
29449
- kind: "story";
29450
- storyType: "footnote";
29451
- noteId: string;
29452
- }) | ({
29453
- kind: "story";
29454
- storyType: "endnote";
29455
- noteId: string;
29456
- }) | ({
29457
- kind: "story";
29458
- storyType: "textbox";
29459
- textboxId: string;
29460
- });
29461
- };
29462
- remappedRefs?: Array<{
29463
- from: ({
29464
- kind: "text";
29465
- blockId: string;
29466
- range: {
29467
- start: number;
29468
- end: number;
29469
- };
29470
- story?: ({
29471
- kind: "story";
29472
- storyType: "body";
29473
- }) | ({
29474
- kind: "story";
29475
- storyType: "headerFooterSlot";
29476
- section: {
29477
- kind: "section";
29478
- sectionId: string;
29479
- };
29480
- headerFooterKind: "header" | "footer";
29481
- variant: "default" | "first" | "even";
29482
- resolution?: "effective" | "explicit";
29483
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29484
- }) | ({
29485
- kind: "story";
29486
- storyType: "headerFooterPart";
29487
- refId: string;
29488
- }) | ({
29489
- kind: "story";
29490
- storyType: "footnote";
29491
- noteId: string;
29492
- }) | ({
29493
- kind: "story";
29494
- storyType: "endnote";
29495
- noteId: string;
29496
- }) | ({
29497
- kind: "story";
29498
- storyType: "textbox";
29499
- textboxId: string;
29500
- });
29501
- }) | ({
29502
- kind: "entity";
29503
- entityType: "bookmark";
29504
- name: string;
29505
- story?: ({
29506
- kind: "story";
29507
- storyType: "body";
29508
- }) | ({
29509
- kind: "story";
29510
- storyType: "headerFooterSlot";
29511
- section: {
29512
- kind: "section";
29513
- sectionId: string;
29514
- };
29515
- headerFooterKind: "header" | "footer";
29516
- variant: "default" | "first" | "even";
29517
- resolution?: "effective" | "explicit";
29518
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29519
- }) | ({
29520
- kind: "story";
29521
- storyType: "headerFooterPart";
29522
- refId: string;
29523
- }) | ({
29524
- kind: "story";
29525
- storyType: "footnote";
29526
- noteId: string;
29527
- }) | ({
29528
- kind: "story";
29529
- storyType: "endnote";
29530
- noteId: string;
29531
- }) | ({
29532
- kind: "story";
29533
- storyType: "textbox";
29534
- textboxId: string;
29535
- });
29536
- }) | ({
29537
- kind: "entity";
29538
- entityType: "comment";
29539
- entityId: string;
29540
- }) | ({
29541
- kind: "entity";
29542
- entityType: "trackedChange";
29543
- entityId: string;
29544
- story?: ({
29545
- kind: "story";
29546
- storyType: "body";
29547
- }) | ({
29548
- kind: "story";
29549
- storyType: "headerFooterSlot";
29550
- section: {
29551
- kind: "section";
29552
- sectionId: string;
29553
- };
29554
- headerFooterKind: "header" | "footer";
29555
- variant: "default" | "first" | "even";
29556
- resolution?: "effective" | "explicit";
29557
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29558
- }) | ({
29559
- kind: "story";
29560
- storyType: "headerFooterPart";
29561
- refId: string;
29562
- }) | ({
29563
- kind: "story";
29564
- storyType: "footnote";
29565
- noteId: string;
29566
- }) | ({
29567
- kind: "story";
29568
- storyType: "endnote";
29569
- noteId: string;
29570
- }) | ({
29571
- kind: "story";
29572
- storyType: "textbox";
29573
- textboxId: string;
29574
- });
29575
- }) | ({
29576
- kind: "block";
29577
- nodeId: string;
29578
- nodeType?: string;
29579
- });
29580
- to: ({
29581
- kind: "text";
29582
- blockId: string;
29583
- range: {
29584
- start: number;
29585
- end: number;
29586
- };
29587
- story?: ({
29588
- kind: "story";
29589
- storyType: "body";
29590
- }) | ({
29591
- kind: "story";
29592
- storyType: "headerFooterSlot";
29593
- section: {
29594
- kind: "section";
29595
- sectionId: string;
29596
- };
29597
- headerFooterKind: "header" | "footer";
29598
- variant: "default" | "first" | "even";
29599
- resolution?: "effective" | "explicit";
29600
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29601
- }) | ({
29602
- kind: "story";
29603
- storyType: "headerFooterPart";
29604
- refId: string;
29605
- }) | ({
29606
- kind: "story";
29607
- storyType: "footnote";
29608
- noteId: string;
29609
- }) | ({
29610
- kind: "story";
29611
- storyType: "endnote";
29612
- noteId: string;
29613
- }) | ({
29614
- kind: "story";
29615
- storyType: "textbox";
29616
- textboxId: string;
29617
- });
29618
- }) | ({
29619
- kind: "entity";
29620
- entityType: "bookmark";
29621
- name: string;
29622
- story?: ({
29623
- kind: "story";
29624
- storyType: "body";
29625
- }) | ({
29626
- kind: "story";
29627
- storyType: "headerFooterSlot";
29628
- section: {
29629
- kind: "section";
29630
- sectionId: string;
29631
- };
29632
- headerFooterKind: "header" | "footer";
29633
- variant: "default" | "first" | "even";
29634
- resolution?: "effective" | "explicit";
29635
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29636
- }) | ({
29637
- kind: "story";
29638
- storyType: "headerFooterPart";
29639
- refId: string;
29640
- }) | ({
29641
- kind: "story";
29642
- storyType: "footnote";
29643
- noteId: string;
29644
- }) | ({
29645
- kind: "story";
29646
- storyType: "endnote";
29647
- noteId: string;
29648
- }) | ({
29649
- kind: "story";
29650
- storyType: "textbox";
29651
- textboxId: string;
29652
- });
29653
- }) | ({
29654
- kind: "entity";
29655
- entityType: "comment";
29656
- entityId: string;
29657
- }) | ({
29658
- kind: "entity";
29659
- entityType: "trackedChange";
29660
- entityId: string;
29661
- story?: ({
29662
- kind: "story";
29663
- storyType: "body";
29664
- }) | ({
29665
- kind: "story";
29666
- storyType: "headerFooterSlot";
29667
- section: {
29668
- kind: "section";
29669
- sectionId: string;
29670
- };
29671
- headerFooterKind: "header" | "footer";
29672
- variant: "default" | "first" | "even";
29673
- resolution?: "effective" | "explicit";
29674
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29675
- }) | ({
29676
- kind: "story";
29677
- storyType: "headerFooterPart";
29678
- refId: string;
29679
- }) | ({
29680
- kind: "story";
29681
- storyType: "footnote";
29682
- noteId: string;
29683
- }) | ({
29684
- kind: "story";
29685
- storyType: "endnote";
29686
- noteId: string;
29687
- }) | ({
29688
- kind: "story";
29689
- storyType: "textbox";
29690
- textboxId: string;
29691
- });
29692
- }) | ({
29693
- kind: "block";
29694
- nodeId: string;
29695
- nodeType?: string;
29696
- });
29697
- }>;
29698
- affectedStories?: Array<({
29699
- kind: "story";
29700
- storyType: "body";
29701
- }) | ({
29702
- kind: "story";
29703
- storyType: "headerFooterSlot";
29704
- section: {
29705
- kind: "section";
29706
- sectionId: string;
29707
- };
29708
- headerFooterKind: "header" | "footer";
29709
- variant: "default" | "first" | "even";
29710
- resolution?: "effective" | "explicit";
29711
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29712
- }) | ({
29713
- kind: "story";
29714
- storyType: "headerFooterPart";
29715
- refId: string;
29716
- }) | ({
29717
- kind: "story";
29718
- storyType: "footnote";
29719
- noteId: string;
29720
- }) | ({
29721
- kind: "story";
29722
- storyType: "endnote";
29723
- noteId: string;
29724
- }) | ({
29725
- kind: "story";
29726
- storyType: "textbox";
29727
- textboxId: string;
29728
- })>;
29729
- textRangeShifts?: Array<{
29730
- story: ({
29731
- kind: "story";
29732
- storyType: "body";
29733
- }) | ({
29734
- kind: "story";
29735
- storyType: "headerFooterSlot";
29736
- section: {
29737
- kind: "section";
29738
- sectionId: string;
29739
- };
29740
- headerFooterKind: "header" | "footer";
29741
- variant: "default" | "first" | "even";
29742
- resolution?: "effective" | "explicit";
29743
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29744
- }) | ({
29745
- kind: "story";
29746
- storyType: "headerFooterPart";
29747
- refId: string;
29748
- }) | ({
29749
- kind: "story";
29750
- storyType: "footnote";
29751
- noteId: string;
29752
- }) | ({
29753
- kind: "story";
29754
- storyType: "endnote";
29755
- noteId: string;
29756
- }) | ({
29757
- kind: "story";
29758
- storyType: "textbox";
29759
- textboxId: string;
29760
- });
29761
- atChar: number;
29762
- delta: number;
29763
- }>;
29764
- txId?: string;
29765
- };
29766
- export type DocBlocksMoveResult = {
29767
- success: true;
29768
- moved: {
29769
- kind: "block";
29770
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
29771
- nodeId: string;
29772
- story?: ({
29773
- kind: "story";
29774
- storyType: "body";
29775
- }) | ({
29776
- kind: "story";
29777
- storyType: "headerFooterSlot";
29778
- section: {
29779
- kind: "section";
29780
- sectionId: string;
29781
- };
29782
- headerFooterKind: "header" | "footer";
29783
- variant: "default" | "first" | "even";
29784
- resolution?: "effective" | "explicit";
29785
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29786
- }) | ({
29787
- kind: "story";
29788
- storyType: "headerFooterPart";
29789
- refId: string;
29790
- }) | ({
29791
- kind: "story";
29792
- storyType: "footnote";
29793
- noteId: string;
29794
- }) | ({
29795
- kind: "story";
29796
- storyType: "endnote";
29797
- noteId: string;
29798
- }) | ({
29799
- kind: "story";
29800
- storyType: "textbox";
29801
- textboxId: string;
29802
- });
29803
- };
29804
- remappedRefs?: Array<{
29805
- from: ({
29806
- kind: "text";
29807
- blockId: string;
29808
- range: {
29809
- start: number;
29810
- end: number;
29811
- };
29812
- story?: ({
29813
- kind: "story";
29814
- storyType: "body";
29815
- }) | ({
29816
- kind: "story";
29817
- storyType: "headerFooterSlot";
29818
- section: {
29819
- kind: "section";
29820
- sectionId: string;
29821
- };
29822
- headerFooterKind: "header" | "footer";
29823
- variant: "default" | "first" | "even";
29824
- resolution?: "effective" | "explicit";
29825
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29826
- }) | ({
29827
- kind: "story";
29828
- storyType: "headerFooterPart";
29829
- refId: string;
29830
- }) | ({
29831
- kind: "story";
29832
- storyType: "footnote";
29833
- noteId: string;
29834
- }) | ({
29835
- kind: "story";
29836
- storyType: "endnote";
29837
- noteId: string;
29838
- }) | ({
29839
- kind: "story";
29840
- storyType: "textbox";
29841
- textboxId: string;
29842
- });
29843
- }) | ({
29844
- kind: "entity";
29845
- entityType: "bookmark";
29846
- name: string;
29847
- story?: ({
29848
- kind: "story";
29849
- storyType: "body";
29850
- }) | ({
29851
- kind: "story";
29852
- storyType: "headerFooterSlot";
29853
- section: {
29854
- kind: "section";
29855
- sectionId: string;
29856
- };
29857
- headerFooterKind: "header" | "footer";
29858
- variant: "default" | "first" | "even";
29859
- resolution?: "effective" | "explicit";
29860
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29861
- }) | ({
29862
- kind: "story";
29863
- storyType: "headerFooterPart";
29864
- refId: string;
29865
- }) | ({
29866
- kind: "story";
29867
- storyType: "footnote";
29868
- noteId: string;
29869
- }) | ({
29870
- kind: "story";
29871
- storyType: "endnote";
29872
- noteId: string;
29873
- }) | ({
29874
- kind: "story";
29875
- storyType: "textbox";
29876
- textboxId: string;
29877
- });
29878
- }) | ({
29879
- kind: "entity";
29880
- entityType: "comment";
29881
- entityId: string;
29882
- }) | ({
29883
- kind: "entity";
29884
- entityType: "trackedChange";
29885
- entityId: string;
29886
- story?: ({
29887
- kind: "story";
29888
- storyType: "body";
29889
- }) | ({
29890
- kind: "story";
29891
- storyType: "headerFooterSlot";
29892
- section: {
29893
- kind: "section";
29894
- sectionId: string;
29895
- };
29896
- headerFooterKind: "header" | "footer";
29897
- variant: "default" | "first" | "even";
29898
- resolution?: "effective" | "explicit";
29899
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29900
- }) | ({
29901
- kind: "story";
29902
- storyType: "headerFooterPart";
29903
- refId: string;
29904
- }) | ({
29905
- kind: "story";
29906
- storyType: "footnote";
29907
- noteId: string;
29908
- }) | ({
29909
- kind: "story";
29910
- storyType: "endnote";
29911
- noteId: string;
29912
- }) | ({
29913
- kind: "story";
29914
- storyType: "textbox";
29915
- textboxId: string;
29916
- });
29917
- }) | ({
29918
- kind: "block";
29919
- nodeId: string;
29920
- nodeType?: string;
29921
- });
29922
- to: ({
29923
- kind: "text";
29924
- blockId: string;
29925
- range: {
29926
- start: number;
29927
- end: number;
29928
- };
29929
- story?: ({
29930
- kind: "story";
29931
- storyType: "body";
29932
- }) | ({
29933
- kind: "story";
29934
- storyType: "headerFooterSlot";
29935
- section: {
29936
- kind: "section";
29937
- sectionId: string;
29938
- };
29939
- headerFooterKind: "header" | "footer";
29940
- variant: "default" | "first" | "even";
29941
- resolution?: "effective" | "explicit";
29942
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29943
- }) | ({
29944
- kind: "story";
29945
- storyType: "headerFooterPart";
29946
- refId: string;
29947
- }) | ({
29948
- kind: "story";
29949
- storyType: "footnote";
29950
- noteId: string;
29951
- }) | ({
29952
- kind: "story";
29953
- storyType: "endnote";
29954
- noteId: string;
29955
- }) | ({
29956
- kind: "story";
29957
- storyType: "textbox";
29958
- textboxId: string;
29959
- });
29960
- }) | ({
29961
- kind: "entity";
29962
- entityType: "bookmark";
29963
- name: string;
29964
- story?: ({
29965
- kind: "story";
29966
- storyType: "body";
29967
- }) | ({
29968
- kind: "story";
29969
- storyType: "headerFooterSlot";
29970
- section: {
29971
- kind: "section";
29972
- sectionId: string;
29973
- };
29974
- headerFooterKind: "header" | "footer";
29975
- variant: "default" | "first" | "even";
29976
- resolution?: "effective" | "explicit";
29977
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
29978
- }) | ({
29979
- kind: "story";
29980
- storyType: "headerFooterPart";
29981
- refId: string;
29982
- }) | ({
29983
- kind: "story";
29984
- storyType: "footnote";
29985
- noteId: string;
29986
- }) | ({
29987
- kind: "story";
29988
- storyType: "endnote";
29989
- noteId: string;
29990
- }) | ({
29991
- kind: "story";
29992
- storyType: "textbox";
29993
- textboxId: string;
29994
- });
29995
- }) | ({
29996
- kind: "entity";
29997
- entityType: "comment";
29998
- entityId: string;
29999
- }) | ({
30000
- kind: "entity";
30001
- entityType: "trackedChange";
30002
- entityId: string;
30003
- story?: ({
30004
- kind: "story";
30005
- storyType: "body";
30006
- }) | ({
30007
- kind: "story";
30008
- storyType: "headerFooterSlot";
30009
- section: {
30010
- kind: "section";
30011
- sectionId: string;
30012
- };
30013
- headerFooterKind: "header" | "footer";
30014
- variant: "default" | "first" | "even";
30015
- resolution?: "effective" | "explicit";
30016
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
30017
- }) | ({
30018
- kind: "story";
30019
- storyType: "headerFooterPart";
30020
- refId: string;
30021
- }) | ({
30022
- kind: "story";
30023
- storyType: "footnote";
30024
- noteId: string;
30025
- }) | ({
30026
- kind: "story";
30027
- storyType: "endnote";
30028
- noteId: string;
30029
- }) | ({
30030
- kind: "story";
30031
- storyType: "textbox";
30032
- textboxId: string;
30033
- });
30034
- }) | ({
30035
- kind: "block";
30036
- nodeId: string;
30037
- nodeType?: string;
30038
- });
30039
- }>;
30040
- affectedStories?: Array<({
30041
- kind: "story";
30042
- storyType: "body";
30043
- }) | ({
30044
- kind: "story";
30045
- storyType: "headerFooterSlot";
30046
- section: {
30047
- kind: "section";
30048
- sectionId: string;
30049
- };
30050
- headerFooterKind: "header" | "footer";
30051
- variant: "default" | "first" | "even";
30052
- resolution?: "effective" | "explicit";
30053
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
30054
- }) | ({
30055
- kind: "story";
30056
- storyType: "headerFooterPart";
30057
- refId: string;
30058
- }) | ({
30059
- kind: "story";
30060
- storyType: "footnote";
30061
- noteId: string;
30062
- }) | ({
30063
- kind: "story";
30064
- storyType: "endnote";
30065
- noteId: string;
30066
- }) | ({
30067
- kind: "story";
30068
- storyType: "textbox";
30069
- textboxId: string;
30070
- })>;
30071
- txId?: string;
30072
- };
30073
28553
  export type DocFormatApplyResult = {
30074
28554
  success: true;
30075
28555
  resolution: {
@@ -48467,224 +46947,7 @@ export type DocStylesParagraphClearStyleResult = {
48467
46947
  });
48468
46948
  };
48469
46949
  };
48470
- export type DocFormatParagraphResetDirectFormattingResult = {
48471
- success: true;
48472
- target: ({
48473
- kind: "block";
48474
- nodeType: "paragraph";
48475
- nodeId: string;
48476
- story?: ({
48477
- kind: "story";
48478
- storyType: "body";
48479
- }) | ({
48480
- kind: "story";
48481
- storyType: "headerFooterSlot";
48482
- section: {
48483
- kind: "section";
48484
- sectionId: string;
48485
- };
48486
- headerFooterKind: "header" | "footer";
48487
- variant: "default" | "first" | "even";
48488
- resolution?: "effective" | "explicit";
48489
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
48490
- }) | ({
48491
- kind: "story";
48492
- storyType: "headerFooterPart";
48493
- refId: string;
48494
- }) | ({
48495
- kind: "story";
48496
- storyType: "footnote";
48497
- noteId: string;
48498
- }) | ({
48499
- kind: "story";
48500
- storyType: "endnote";
48501
- noteId: string;
48502
- }) | ({
48503
- kind: "story";
48504
- storyType: "textbox";
48505
- textboxId: string;
48506
- });
48507
- }) | ({
48508
- kind: "block";
48509
- nodeType: "heading";
48510
- nodeId: string;
48511
- story?: ({
48512
- kind: "story";
48513
- storyType: "body";
48514
- }) | ({
48515
- kind: "story";
48516
- storyType: "headerFooterSlot";
48517
- section: {
48518
- kind: "section";
48519
- sectionId: string;
48520
- };
48521
- headerFooterKind: "header" | "footer";
48522
- variant: "default" | "first" | "even";
48523
- resolution?: "effective" | "explicit";
48524
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
48525
- }) | ({
48526
- kind: "story";
48527
- storyType: "headerFooterPart";
48528
- refId: string;
48529
- }) | ({
48530
- kind: "story";
48531
- storyType: "footnote";
48532
- noteId: string;
48533
- }) | ({
48534
- kind: "story";
48535
- storyType: "endnote";
48536
- noteId: string;
48537
- }) | ({
48538
- kind: "story";
48539
- storyType: "textbox";
48540
- textboxId: string;
48541
- });
48542
- }) | ({
48543
- kind: "block";
48544
- nodeType: "listItem";
48545
- nodeId: string;
48546
- story?: ({
48547
- kind: "story";
48548
- storyType: "body";
48549
- }) | ({
48550
- kind: "story";
48551
- storyType: "headerFooterSlot";
48552
- section: {
48553
- kind: "section";
48554
- sectionId: string;
48555
- };
48556
- headerFooterKind: "header" | "footer";
48557
- variant: "default" | "first" | "even";
48558
- resolution?: "effective" | "explicit";
48559
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
48560
- }) | ({
48561
- kind: "story";
48562
- storyType: "headerFooterPart";
48563
- refId: string;
48564
- }) | ({
48565
- kind: "story";
48566
- storyType: "footnote";
48567
- noteId: string;
48568
- }) | ({
48569
- kind: "story";
48570
- storyType: "endnote";
48571
- noteId: string;
48572
- }) | ({
48573
- kind: "story";
48574
- storyType: "textbox";
48575
- textboxId: string;
48576
- });
48577
- });
48578
- resolution: {
48579
- target: ({
48580
- kind: "block";
48581
- nodeType: "paragraph";
48582
- nodeId: string;
48583
- story?: ({
48584
- kind: "story";
48585
- storyType: "body";
48586
- }) | ({
48587
- kind: "story";
48588
- storyType: "headerFooterSlot";
48589
- section: {
48590
- kind: "section";
48591
- sectionId: string;
48592
- };
48593
- headerFooterKind: "header" | "footer";
48594
- variant: "default" | "first" | "even";
48595
- resolution?: "effective" | "explicit";
48596
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
48597
- }) | ({
48598
- kind: "story";
48599
- storyType: "headerFooterPart";
48600
- refId: string;
48601
- }) | ({
48602
- kind: "story";
48603
- storyType: "footnote";
48604
- noteId: string;
48605
- }) | ({
48606
- kind: "story";
48607
- storyType: "endnote";
48608
- noteId: string;
48609
- }) | ({
48610
- kind: "story";
48611
- storyType: "textbox";
48612
- textboxId: string;
48613
- });
48614
- }) | ({
48615
- kind: "block";
48616
- nodeType: "heading";
48617
- nodeId: string;
48618
- story?: ({
48619
- kind: "story";
48620
- storyType: "body";
48621
- }) | ({
48622
- kind: "story";
48623
- storyType: "headerFooterSlot";
48624
- section: {
48625
- kind: "section";
48626
- sectionId: string;
48627
- };
48628
- headerFooterKind: "header" | "footer";
48629
- variant: "default" | "first" | "even";
48630
- resolution?: "effective" | "explicit";
48631
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
48632
- }) | ({
48633
- kind: "story";
48634
- storyType: "headerFooterPart";
48635
- refId: string;
48636
- }) | ({
48637
- kind: "story";
48638
- storyType: "footnote";
48639
- noteId: string;
48640
- }) | ({
48641
- kind: "story";
48642
- storyType: "endnote";
48643
- noteId: string;
48644
- }) | ({
48645
- kind: "story";
48646
- storyType: "textbox";
48647
- textboxId: string;
48648
- });
48649
- }) | ({
48650
- kind: "block";
48651
- nodeType: "listItem";
48652
- nodeId: string;
48653
- story?: ({
48654
- kind: "story";
48655
- storyType: "body";
48656
- }) | ({
48657
- kind: "story";
48658
- storyType: "headerFooterSlot";
48659
- section: {
48660
- kind: "section";
48661
- sectionId: string;
48662
- };
48663
- headerFooterKind: "header" | "footer";
48664
- variant: "default" | "first" | "even";
48665
- resolution?: "effective" | "explicit";
48666
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
48667
- }) | ({
48668
- kind: "story";
48669
- storyType: "headerFooterPart";
48670
- refId: string;
48671
- }) | ({
48672
- kind: "story";
48673
- storyType: "footnote";
48674
- noteId: string;
48675
- }) | ({
48676
- kind: "story";
48677
- storyType: "endnote";
48678
- noteId: string;
48679
- }) | ({
48680
- kind: "story";
48681
- storyType: "textbox";
48682
- textboxId: string;
48683
- });
48684
- });
48685
- };
48686
- };
48687
- export type DocFormatParagraphSetAlignmentResult = {
46950
+ export type DocFormatParagraphResetDirectFormattingResult = {
48688
46951
  success: true;
48689
46952
  target: ({
48690
46953
  kind: "block";
@@ -48901,7 +47164,7 @@ export type DocFormatParagraphSetAlignmentResult = {
48901
47164
  });
48902
47165
  };
48903
47166
  };
48904
- export type DocFormatParagraphClearAlignmentResult = {
47167
+ export type DocFormatParagraphSetAlignmentResult = {
48905
47168
  success: true;
48906
47169
  target: ({
48907
47170
  kind: "block";
@@ -49118,7 +47381,7 @@ export type DocFormatParagraphClearAlignmentResult = {
49118
47381
  });
49119
47382
  };
49120
47383
  };
49121
- export type DocFormatParagraphSetIndentationResult = {
47384
+ export type DocFormatParagraphClearAlignmentResult = {
49122
47385
  success: true;
49123
47386
  target: ({
49124
47387
  kind: "block";
@@ -49335,7 +47598,7 @@ export type DocFormatParagraphSetIndentationResult = {
49335
47598
  });
49336
47599
  };
49337
47600
  };
49338
- export type DocFormatParagraphClearIndentationResult = {
47601
+ export type DocFormatParagraphSetIndentationResult = {
49339
47602
  success: true;
49340
47603
  target: ({
49341
47604
  kind: "block";
@@ -49552,7 +47815,7 @@ export type DocFormatParagraphClearIndentationResult = {
49552
47815
  });
49553
47816
  };
49554
47817
  };
49555
- export type DocFormatParagraphSetSpacingResult = {
47818
+ export type DocFormatParagraphClearIndentationResult = {
49556
47819
  success: true;
49557
47820
  target: ({
49558
47821
  kind: "block";
@@ -49769,7 +48032,7 @@ export type DocFormatParagraphSetSpacingResult = {
49769
48032
  });
49770
48033
  };
49771
48034
  };
49772
- export type DocFormatParagraphClearSpacingResult = {
48035
+ export type DocFormatParagraphSetSpacingResult = {
49773
48036
  success: true;
49774
48037
  target: ({
49775
48038
  kind: "block";
@@ -49986,7 +48249,7 @@ export type DocFormatParagraphClearSpacingResult = {
49986
48249
  });
49987
48250
  };
49988
48251
  };
49989
- export type DocFormatParagraphSetKeepOptionsResult = {
48252
+ export type DocFormatParagraphClearSpacingResult = {
49990
48253
  success: true;
49991
48254
  target: ({
49992
48255
  kind: "block";
@@ -50203,7 +48466,7 @@ export type DocFormatParagraphSetKeepOptionsResult = {
50203
48466
  });
50204
48467
  };
50205
48468
  };
50206
- export type DocFormatParagraphSetOutlineLevelResult = {
48469
+ export type DocFormatParagraphSetKeepOptionsResult = {
50207
48470
  success: true;
50208
48471
  target: ({
50209
48472
  kind: "block";
@@ -50420,7 +48683,7 @@ export type DocFormatParagraphSetOutlineLevelResult = {
50420
48683
  });
50421
48684
  };
50422
48685
  };
50423
- export type DocFormatParagraphSetFlowOptionsResult = {
48686
+ export type DocFormatParagraphSetOutlineLevelResult = {
50424
48687
  success: true;
50425
48688
  target: ({
50426
48689
  kind: "block";
@@ -50637,7 +48900,7 @@ export type DocFormatParagraphSetFlowOptionsResult = {
50637
48900
  });
50638
48901
  };
50639
48902
  };
50640
- export type DocFormatParagraphSetTabStopResult = {
48903
+ export type DocFormatParagraphSetFlowOptionsResult = {
50641
48904
  success: true;
50642
48905
  target: ({
50643
48906
  kind: "block";
@@ -50854,7 +49117,7 @@ export type DocFormatParagraphSetTabStopResult = {
50854
49117
  });
50855
49118
  };
50856
49119
  };
50857
- export type DocFormatParagraphClearTabStopResult = {
49120
+ export type DocFormatParagraphSetTabStopResult = {
50858
49121
  success: true;
50859
49122
  target: ({
50860
49123
  kind: "block";
@@ -51071,7 +49334,7 @@ export type DocFormatParagraphClearTabStopResult = {
51071
49334
  });
51072
49335
  };
51073
49336
  };
51074
- export type DocFormatParagraphClearAllTabStopsResult = {
49337
+ export type DocFormatParagraphClearTabStopResult = {
51075
49338
  success: true;
51076
49339
  target: ({
51077
49340
  kind: "block";
@@ -51288,7 +49551,7 @@ export type DocFormatParagraphClearAllTabStopsResult = {
51288
49551
  });
51289
49552
  };
51290
49553
  };
51291
- export type DocFormatParagraphSetBorderResult = {
49554
+ export type DocFormatParagraphClearAllTabStopsResult = {
51292
49555
  success: true;
51293
49556
  target: ({
51294
49557
  kind: "block";
@@ -51505,7 +49768,7 @@ export type DocFormatParagraphSetBorderResult = {
51505
49768
  });
51506
49769
  };
51507
49770
  };
51508
- export type DocFormatParagraphClearBorderResult = {
49771
+ export type DocFormatParagraphSetBorderResult = {
51509
49772
  success: true;
51510
49773
  target: ({
51511
49774
  kind: "block";
@@ -51722,7 +49985,7 @@ export type DocFormatParagraphClearBorderResult = {
51722
49985
  });
51723
49986
  };
51724
49987
  };
51725
- export type DocFormatParagraphSetShadingResult = {
49988
+ export type DocFormatParagraphClearBorderResult = {
51726
49989
  success: true;
51727
49990
  target: ({
51728
49991
  kind: "block";
@@ -51939,7 +50202,7 @@ export type DocFormatParagraphSetShadingResult = {
51939
50202
  });
51940
50203
  };
51941
50204
  };
51942
- export type DocFormatParagraphClearShadingResult = {
50205
+ export type DocFormatParagraphSetShadingResult = {
51943
50206
  success: true;
51944
50207
  target: ({
51945
50208
  kind: "block";
@@ -52156,7 +50419,7 @@ export type DocFormatParagraphClearShadingResult = {
52156
50419
  });
52157
50420
  };
52158
50421
  };
52159
- export type DocFormatParagraphSetMarkRunPropsResult = {
50422
+ export type DocFormatParagraphClearShadingResult = {
52160
50423
  success: true;
52161
50424
  target: ({
52162
50425
  kind: "block";
@@ -53361,237 +51624,11 @@ export type DocListsDetachResult = {
53361
51624
  });
53362
51625
  };
53363
51626
  };
53364
- export type DocListsDeleteResult = {
53365
- success: true;
53366
- deletedCount: number;
53367
- };
53368
- export type DocListsIndentResult = {
53369
- success: true;
53370
- item: {
53371
- kind: "block";
53372
- nodeType: "listItem";
53373
- nodeId: string;
53374
- story?: ({
53375
- kind: "story";
53376
- storyType: "body";
53377
- }) | ({
53378
- kind: "story";
53379
- storyType: "headerFooterSlot";
53380
- section: {
53381
- kind: "section";
53382
- sectionId: string;
53383
- };
53384
- headerFooterKind: "header" | "footer";
53385
- variant: "default" | "first" | "even";
53386
- resolution?: "effective" | "explicit";
53387
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
53388
- }) | ({
53389
- kind: "story";
53390
- storyType: "headerFooterPart";
53391
- refId: string;
53392
- }) | ({
53393
- kind: "story";
53394
- storyType: "footnote";
53395
- noteId: string;
53396
- }) | ({
53397
- kind: "story";
53398
- storyType: "endnote";
53399
- noteId: string;
53400
- }) | ({
53401
- kind: "story";
53402
- storyType: "textbox";
53403
- textboxId: string;
53404
- });
53405
- };
53406
- };
53407
- export type DocListsOutdentResult = {
53408
- success: true;
53409
- item: {
53410
- kind: "block";
53411
- nodeType: "listItem";
53412
- nodeId: string;
53413
- story?: ({
53414
- kind: "story";
53415
- storyType: "body";
53416
- }) | ({
53417
- kind: "story";
53418
- storyType: "headerFooterSlot";
53419
- section: {
53420
- kind: "section";
53421
- sectionId: string;
53422
- };
53423
- headerFooterKind: "header" | "footer";
53424
- variant: "default" | "first" | "even";
53425
- resolution?: "effective" | "explicit";
53426
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
53427
- }) | ({
53428
- kind: "story";
53429
- storyType: "headerFooterPart";
53430
- refId: string;
53431
- }) | ({
53432
- kind: "story";
53433
- storyType: "footnote";
53434
- noteId: string;
53435
- }) | ({
53436
- kind: "story";
53437
- storyType: "endnote";
53438
- noteId: string;
53439
- }) | ({
53440
- kind: "story";
53441
- storyType: "textbox";
53442
- textboxId: string;
53443
- });
53444
- };
53445
- };
53446
- export type DocListsJoinResult = {
53447
- success: true;
53448
- listId: string;
53449
- };
53450
- export type DocListsCanJoinResult = {
53451
- canJoin: boolean;
53452
- reason?: "NO_ADJACENT_SEQUENCE" | "INCOMPATIBLE_DEFINITIONS" | "ALREADY_SAME_SEQUENCE";
53453
- adjacentListId?: string;
53454
- };
53455
- export type DocListsSeparateResult = {
53456
- success: true;
53457
- listId: string;
53458
- numId: number;
53459
- };
53460
- export type DocListsMergeResult = {
53461
- success: true;
53462
- listId: string;
53463
- absorbedCount: number;
53464
- removedEmptyBlocks: number;
53465
- };
53466
- export type DocListsSplitResult = {
53467
- success: true;
53468
- listId: string;
53469
- numId: number;
53470
- restartedAt: unknown;
53471
- };
53472
- export type DocListsSetLevelResult = {
53473
- success: true;
53474
- item: {
53475
- kind: "block";
53476
- nodeType: "listItem";
53477
- nodeId: string;
53478
- story?: ({
53479
- kind: "story";
53480
- storyType: "body";
53481
- }) | ({
53482
- kind: "story";
53483
- storyType: "headerFooterSlot";
53484
- section: {
53485
- kind: "section";
53486
- sectionId: string;
53487
- };
53488
- headerFooterKind: "header" | "footer";
53489
- variant: "default" | "first" | "even";
53490
- resolution?: "effective" | "explicit";
53491
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
53492
- }) | ({
53493
- kind: "story";
53494
- storyType: "headerFooterPart";
53495
- refId: string;
53496
- }) | ({
53497
- kind: "story";
53498
- storyType: "footnote";
53499
- noteId: string;
53500
- }) | ({
53501
- kind: "story";
53502
- storyType: "endnote";
53503
- noteId: string;
53504
- }) | ({
53505
- kind: "story";
53506
- storyType: "textbox";
53507
- textboxId: string;
53508
- });
53509
- };
53510
- };
53511
- export type DocListsSetValueResult = {
53512
- success: true;
53513
- item: {
53514
- kind: "block";
53515
- nodeType: "listItem";
53516
- nodeId: string;
53517
- story?: ({
53518
- kind: "story";
53519
- storyType: "body";
53520
- }) | ({
53521
- kind: "story";
53522
- storyType: "headerFooterSlot";
53523
- section: {
53524
- kind: "section";
53525
- sectionId: string;
53526
- };
53527
- headerFooterKind: "header" | "footer";
53528
- variant: "default" | "first" | "even";
53529
- resolution?: "effective" | "explicit";
53530
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
53531
- }) | ({
53532
- kind: "story";
53533
- storyType: "headerFooterPart";
53534
- refId: string;
53535
- }) | ({
53536
- kind: "story";
53537
- storyType: "footnote";
53538
- noteId: string;
53539
- }) | ({
53540
- kind: "story";
53541
- storyType: "endnote";
53542
- noteId: string;
53543
- }) | ({
53544
- kind: "story";
53545
- storyType: "textbox";
53546
- textboxId: string;
53547
- });
53548
- };
53549
- };
53550
- export type DocListsContinuePreviousResult = {
53551
- success: true;
53552
- item: {
53553
- kind: "block";
53554
- nodeType: "listItem";
53555
- nodeId: string;
53556
- story?: ({
53557
- kind: "story";
53558
- storyType: "body";
53559
- }) | ({
53560
- kind: "story";
53561
- storyType: "headerFooterSlot";
53562
- section: {
53563
- kind: "section";
53564
- sectionId: string;
53565
- };
53566
- headerFooterKind: "header" | "footer";
53567
- variant: "default" | "first" | "even";
53568
- resolution?: "effective" | "explicit";
53569
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
53570
- }) | ({
53571
- kind: "story";
53572
- storyType: "headerFooterPart";
53573
- refId: string;
53574
- }) | ({
53575
- kind: "story";
53576
- storyType: "footnote";
53577
- noteId: string;
53578
- }) | ({
53579
- kind: "story";
53580
- storyType: "endnote";
53581
- noteId: string;
53582
- }) | ({
53583
- kind: "story";
53584
- storyType: "textbox";
53585
- textboxId: string;
53586
- });
53587
- };
53588
- };
53589
- export type DocListsCanContinuePreviousResult = {
53590
- canContinue: boolean;
53591
- reason?: "NO_PREVIOUS_LIST" | "INCOMPATIBLE_DEFINITIONS" | "ALREADY_CONTINUOUS";
53592
- previousListId?: string;
51627
+ export type DocListsDeleteResult = {
51628
+ success: true;
51629
+ deletedCount: number;
53593
51630
  };
53594
- export type DocListsSetLevelRestartResult = {
51631
+ export type DocListsIndentResult = {
53595
51632
  success: true;
53596
51633
  item: {
53597
51634
  kind: "block";
@@ -53630,11 +51667,11 @@ export type DocListsSetLevelRestartResult = {
53630
51667
  });
53631
51668
  };
53632
51669
  };
53633
- export type DocListsConvertToTextResult = {
51670
+ export type DocListsOutdentResult = {
53634
51671
  success: true;
53635
- paragraph: {
51672
+ item: {
53636
51673
  kind: "block";
53637
- nodeType: "paragraph";
51674
+ nodeType: "listItem";
53638
51675
  nodeId: string;
53639
51676
  story?: ({
53640
51677
  kind: "story";
@@ -53669,7 +51706,33 @@ export type DocListsConvertToTextResult = {
53669
51706
  });
53670
51707
  };
53671
51708
  };
53672
- export type DocListsApplyTemplateResult = {
51709
+ export type DocListsJoinResult = {
51710
+ success: true;
51711
+ listId: string;
51712
+ };
51713
+ export type DocListsCanJoinResult = {
51714
+ canJoin: boolean;
51715
+ reason?: "NO_ADJACENT_SEQUENCE" | "INCOMPATIBLE_DEFINITIONS" | "ALREADY_SAME_SEQUENCE";
51716
+ adjacentListId?: string;
51717
+ };
51718
+ export type DocListsSeparateResult = {
51719
+ success: true;
51720
+ listId: string;
51721
+ numId: number;
51722
+ };
51723
+ export type DocListsMergeResult = {
51724
+ success: true;
51725
+ listId: string;
51726
+ absorbedCount: number;
51727
+ removedEmptyBlocks: number;
51728
+ };
51729
+ export type DocListsSplitResult = {
51730
+ success: true;
51731
+ listId: string;
51732
+ numId: number;
51733
+ restartedAt: unknown;
51734
+ };
51735
+ export type DocListsSetLevelResult = {
53673
51736
  success: true;
53674
51737
  item: {
53675
51738
  kind: "block";
@@ -53708,7 +51771,7 @@ export type DocListsApplyTemplateResult = {
53708
51771
  });
53709
51772
  };
53710
51773
  };
53711
- export type DocListsApplyPresetResult = {
51774
+ export type DocListsSetValueResult = {
53712
51775
  success: true;
53713
51776
  item: {
53714
51777
  kind: "block";
@@ -53747,7 +51810,7 @@ export type DocListsApplyPresetResult = {
53747
51810
  });
53748
51811
  };
53749
51812
  };
53750
- export type DocListsSetTypeResult = {
51813
+ export type DocListsContinuePreviousResult = {
53751
51814
  success: true;
53752
51815
  item: {
53753
51816
  kind: "block";
@@ -53786,28 +51849,12 @@ export type DocListsSetTypeResult = {
53786
51849
  });
53787
51850
  };
53788
51851
  };
53789
- export type DocListsCaptureTemplateResult = {
53790
- success: true;
53791
- template: {
53792
- version: 1;
53793
- levels: Array<{
53794
- level: number;
53795
- numFmt?: string;
53796
- lvlText?: string;
53797
- start?: number;
53798
- alignment?: "left" | "center" | "right";
53799
- indents?: {
53800
- left?: number;
53801
- hanging?: number;
53802
- firstLine?: number;
53803
- };
53804
- trailingCharacter?: "tab" | "space" | "nothing";
53805
- markerFont?: string;
53806
- pictureBulletId?: number;
53807
- }>;
53808
- };
51852
+ export type DocListsCanContinuePreviousResult = {
51853
+ canContinue: boolean;
51854
+ reason?: "NO_PREVIOUS_LIST" | "INCOMPATIBLE_DEFINITIONS" | "ALREADY_CONTINUOUS";
51855
+ previousListId?: string;
53809
51856
  };
53810
- export type DocListsSetLevelNumberingResult = {
51857
+ export type DocListsSetLevelRestartResult = {
53811
51858
  success: true;
53812
51859
  item: {
53813
51860
  kind: "block";
@@ -53846,11 +51893,11 @@ export type DocListsSetLevelNumberingResult = {
53846
51893
  });
53847
51894
  };
53848
51895
  };
53849
- export type DocListsSetLevelBulletResult = {
51896
+ export type DocListsConvertToTextResult = {
53850
51897
  success: true;
53851
- item: {
51898
+ paragraph: {
53852
51899
  kind: "block";
53853
- nodeType: "listItem";
51900
+ nodeType: "paragraph";
53854
51901
  nodeId: string;
53855
51902
  story?: ({
53856
51903
  kind: "story";
@@ -53885,7 +51932,7 @@ export type DocListsSetLevelBulletResult = {
53885
51932
  });
53886
51933
  };
53887
51934
  };
53888
- export type DocListsSetLevelPictureBulletResult = {
51935
+ export type DocListsApplyTemplateResult = {
53889
51936
  success: true;
53890
51937
  item: {
53891
51938
  kind: "block";
@@ -53924,7 +51971,7 @@ export type DocListsSetLevelPictureBulletResult = {
53924
51971
  });
53925
51972
  };
53926
51973
  };
53927
- export type DocListsSetLevelAlignmentResult = {
51974
+ export type DocListsApplyPresetResult = {
53928
51975
  success: true;
53929
51976
  item: {
53930
51977
  kind: "block";
@@ -53963,7 +52010,7 @@ export type DocListsSetLevelAlignmentResult = {
53963
52010
  });
53964
52011
  };
53965
52012
  };
53966
- export type DocListsSetLevelIndentsResult = {
52013
+ export type DocListsSetTypeResult = {
53967
52014
  success: true;
53968
52015
  item: {
53969
52016
  kind: "block";
@@ -54002,7 +52049,28 @@ export type DocListsSetLevelIndentsResult = {
54002
52049
  });
54003
52050
  };
54004
52051
  };
54005
- export type DocListsSetLevelTrailingCharacterResult = {
52052
+ export type DocListsCaptureTemplateResult = {
52053
+ success: true;
52054
+ template: {
52055
+ version: 1;
52056
+ levels: Array<{
52057
+ level: number;
52058
+ numFmt?: string;
52059
+ lvlText?: string;
52060
+ start?: number;
52061
+ alignment?: "left" | "center" | "right";
52062
+ indents?: {
52063
+ left?: number;
52064
+ hanging?: number;
52065
+ firstLine?: number;
52066
+ };
52067
+ trailingCharacter?: "tab" | "space" | "nothing";
52068
+ markerFont?: string;
52069
+ pictureBulletId?: number;
52070
+ }>;
52071
+ };
52072
+ };
52073
+ export type DocListsSetLevelNumberingResult = {
54006
52074
  success: true;
54007
52075
  item: {
54008
52076
  kind: "block";
@@ -54041,7 +52109,7 @@ export type DocListsSetLevelTrailingCharacterResult = {
54041
52109
  });
54042
52110
  };
54043
52111
  };
54044
- export type DocListsSetLevelMarkerFontResult = {
52112
+ export type DocListsSetLevelBulletResult = {
54045
52113
  success: true;
54046
52114
  item: {
54047
52115
  kind: "block";
@@ -54080,7 +52148,7 @@ export type DocListsSetLevelMarkerFontResult = {
54080
52148
  });
54081
52149
  };
54082
52150
  };
54083
- export type DocListsClearLevelOverridesResult = {
52151
+ export type DocListsSetLevelPictureBulletResult = {
54084
52152
  success: true;
54085
52153
  item: {
54086
52154
  kind: "block";
@@ -54119,29 +52187,46 @@ export type DocListsClearLevelOverridesResult = {
54119
52187
  });
54120
52188
  };
54121
52189
  };
54122
- export type DocListsGetStyleResult = {
52190
+ export type DocListsSetLevelAlignmentResult = {
54123
52191
  success: true;
54124
- style: {
54125
- version: 1;
54126
- levels: Array<{
54127
- level: number;
54128
- numFmt?: string;
54129
- lvlText?: string;
54130
- start?: number;
54131
- alignment?: "left" | "center" | "right";
54132
- indents?: {
54133
- left?: number;
54134
- hanging?: number;
54135
- firstLine?: number;
52192
+ item: {
52193
+ kind: "block";
52194
+ nodeType: "listItem";
52195
+ nodeId: string;
52196
+ story?: ({
52197
+ kind: "story";
52198
+ storyType: "body";
52199
+ }) | ({
52200
+ kind: "story";
52201
+ storyType: "headerFooterSlot";
52202
+ section: {
52203
+ kind: "section";
52204
+ sectionId: string;
54136
52205
  };
54137
- trailingCharacter?: "tab" | "space" | "nothing";
54138
- markerFont?: string;
54139
- pictureBulletId?: number;
54140
- tabStopAt?: unknown;
54141
- }>;
52206
+ headerFooterKind: "header" | "footer";
52207
+ variant: "default" | "first" | "even";
52208
+ resolution?: "effective" | "explicit";
52209
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
52210
+ }) | ({
52211
+ kind: "story";
52212
+ storyType: "headerFooterPart";
52213
+ refId: string;
52214
+ }) | ({
52215
+ kind: "story";
52216
+ storyType: "footnote";
52217
+ noteId: string;
52218
+ }) | ({
52219
+ kind: "story";
52220
+ storyType: "endnote";
52221
+ noteId: string;
52222
+ }) | ({
52223
+ kind: "story";
52224
+ storyType: "textbox";
52225
+ textboxId: string;
52226
+ });
54142
52227
  };
54143
52228
  };
54144
- export type DocListsApplyStyleResult = {
52229
+ export type DocListsSetLevelIndentsResult = {
54145
52230
  success: true;
54146
52231
  item: {
54147
52232
  kind: "block";
@@ -54180,7 +52265,7 @@ export type DocListsApplyStyleResult = {
54180
52265
  });
54181
52266
  };
54182
52267
  };
54183
- export type DocListsRestartAtResult = {
52268
+ export type DocListsSetLevelTrailingCharacterResult = {
54184
52269
  success: true;
54185
52270
  item: {
54186
52271
  kind: "block";
@@ -54219,7 +52304,7 @@ export type DocListsRestartAtResult = {
54219
52304
  });
54220
52305
  };
54221
52306
  };
54222
- export type DocListsSetLevelNumberStyleResult = {
52307
+ export type DocListsSetLevelMarkerFontResult = {
54223
52308
  success: true;
54224
52309
  item: {
54225
52310
  kind: "block";
@@ -54258,7 +52343,7 @@ export type DocListsSetLevelNumberStyleResult = {
54258
52343
  });
54259
52344
  };
54260
52345
  };
54261
- export type DocListsSetLevelTextResult = {
52346
+ export type DocListsClearLevelOverridesResult = {
54262
52347
  success: true;
54263
52348
  item: {
54264
52349
  kind: "block";
@@ -54297,7 +52382,29 @@ export type DocListsSetLevelTextResult = {
54297
52382
  });
54298
52383
  };
54299
52384
  };
54300
- export type DocListsSetLevelStartResult = {
52385
+ export type DocListsGetStyleResult = {
52386
+ success: true;
52387
+ style: {
52388
+ version: 1;
52389
+ levels: Array<{
52390
+ level: number;
52391
+ numFmt?: string;
52392
+ lvlText?: string;
52393
+ start?: number;
52394
+ alignment?: "left" | "center" | "right";
52395
+ indents?: {
52396
+ left?: number;
52397
+ hanging?: number;
52398
+ firstLine?: number;
52399
+ };
52400
+ trailingCharacter?: "tab" | "space" | "nothing";
52401
+ markerFont?: string;
52402
+ pictureBulletId?: number;
52403
+ tabStopAt?: unknown;
52404
+ }>;
52405
+ };
52406
+ };
52407
+ export type DocListsApplyStyleResult = {
54301
52408
  success: true;
54302
52409
  item: {
54303
52410
  kind: "block";
@@ -54336,7 +52443,7 @@ export type DocListsSetLevelStartResult = {
54336
52443
  });
54337
52444
  };
54338
52445
  };
54339
- export type DocListsSetLevelLayoutResult = {
52446
+ export type DocListsRestartAtResult = {
54340
52447
  success: true;
54341
52448
  item: {
54342
52449
  kind: "block";
@@ -54375,24 +52482,7 @@ export type DocListsSetLevelLayoutResult = {
54375
52482
  });
54376
52483
  };
54377
52484
  };
54378
- export type DocListsGetStateResult = ({
54379
- success: true;
54380
- isListItem: boolean;
54381
- numId?: unknown;
54382
- ilvl: number;
54383
- abstractNumId?: unknown;
54384
- numFmt?: unknown;
54385
- lvlText?: unknown;
54386
- seed?: "bullet" | "ordered" | null;
54387
- }) | ({
54388
- success: false;
54389
- failure: {
54390
- code: "TARGET_NOT_FOUND" | "CAPABILITY_UNAVAILABLE";
54391
- message: string;
54392
- details?: unknown;
54393
- };
54394
- });
54395
- export type DocListsApplyResult = {
52485
+ export type DocListsSetLevelNumberStyleResult = {
54396
52486
  success: true;
54397
52487
  item: {
54398
52488
  kind: "block";
@@ -54431,7 +52521,7 @@ export type DocListsApplyResult = {
54431
52521
  });
54432
52522
  };
54433
52523
  };
54434
- export type DocListsContinueResult = {
52524
+ export type DocListsSetLevelTextResult = {
54435
52525
  success: true;
54436
52526
  item: {
54437
52527
  kind: "block";
@@ -54470,7 +52560,7 @@ export type DocListsContinueResult = {
54470
52560
  });
54471
52561
  };
54472
52562
  };
54473
- export type DocListsRestartResult = {
52563
+ export type DocListsSetLevelStartResult = {
54474
52564
  success: true;
54475
52565
  item: {
54476
52566
  kind: "block";
@@ -54509,7 +52599,7 @@ export type DocListsRestartResult = {
54509
52599
  });
54510
52600
  };
54511
52601
  };
54512
- export type DocListsRemoveResult = {
52602
+ export type DocListsSetLevelLayoutResult = {
54513
52603
  success: true;
54514
52604
  item: {
54515
52605
  kind: "block";
@@ -58015,24 +56105,6 @@ export type DocCapabilitiesGetResult = {
58015
56105
  dryRun: boolean;
58016
56106
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58017
56107
  };
58018
- "blocks.split": {
58019
- available: boolean;
58020
- tracked: boolean;
58021
- dryRun: boolean;
58022
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58023
- };
58024
- "blocks.merge": {
58025
- available: boolean;
58026
- tracked: boolean;
58027
- dryRun: boolean;
58028
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58029
- };
58030
- "blocks.move": {
58031
- available: boolean;
58032
- tracked: boolean;
58033
- dryRun: boolean;
58034
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58035
- };
58036
56108
  "format.apply": {
58037
56109
  available: boolean;
58038
56110
  tracked: boolean;
@@ -58549,12 +56621,6 @@ export type DocCapabilitiesGetResult = {
58549
56621
  dryRun: boolean;
58550
56622
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58551
56623
  };
58552
- "format.paragraph.setMarkRunProps": {
58553
- available: boolean;
58554
- tracked: boolean;
58555
- dryRun: boolean;
58556
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58557
- };
58558
56624
  "format.paragraph.setDirection": {
58559
56625
  available: boolean;
58560
56626
  tracked: boolean;
@@ -58807,36 +56873,6 @@ export type DocCapabilitiesGetResult = {
58807
56873
  dryRun: boolean;
58808
56874
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58809
56875
  };
58810
- "lists.getState": {
58811
- available: boolean;
58812
- tracked: boolean;
58813
- dryRun: boolean;
58814
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58815
- };
58816
- "lists.apply": {
58817
- available: boolean;
58818
- tracked: boolean;
58819
- dryRun: boolean;
58820
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58821
- };
58822
- "lists.continue": {
58823
- available: boolean;
58824
- tracked: boolean;
58825
- dryRun: boolean;
58826
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58827
- };
58828
- "lists.restart": {
58829
- available: boolean;
58830
- tracked: boolean;
58831
- dryRun: boolean;
58832
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58833
- };
58834
- "lists.remove": {
58835
- available: boolean;
58836
- tracked: boolean;
58837
- dryRun: boolean;
58838
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58839
- };
58840
56876
  "comments.create": {
58841
56877
  available: boolean;
58842
56878
  tracked: boolean;
@@ -58987,12 +57023,6 @@ export type DocCapabilitiesGetResult = {
58987
57023
  dryRun: boolean;
58988
57024
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58989
57025
  };
58990
- "tables.moveRow": {
58991
- available: boolean;
58992
- tracked: boolean;
58993
- dryRun: boolean;
58994
- reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
58995
- };
58996
57026
  "tables.setRowHeight": {
58997
57027
  available: boolean;
58998
57028
  tracked: boolean;
@@ -60899,54 +58929,6 @@ export type DocTablesDeleteRowResult = {
60899
58929
  });
60900
58930
  })>;
60901
58931
  };
60902
- export type DocTablesMoveRowResult = {
60903
- success: true;
60904
- table?: {
60905
- kind: "block";
60906
- nodeType: "table";
60907
- nodeId: string;
60908
- };
60909
- trackedChangeRefs?: Array<({
60910
- kind: "entity";
60911
- entityType: "comment";
60912
- entityId: string;
60913
- }) | ({
60914
- kind: "entity";
60915
- entityType: "trackedChange";
60916
- entityId: string;
60917
- story?: ({
60918
- kind: "story";
60919
- storyType: "body";
60920
- }) | ({
60921
- kind: "story";
60922
- storyType: "headerFooterSlot";
60923
- section: {
60924
- kind: "section";
60925
- sectionId: string;
60926
- };
60927
- headerFooterKind: "header" | "footer";
60928
- variant: "default" | "first" | "even";
60929
- resolution?: "effective" | "explicit";
60930
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
60931
- }) | ({
60932
- kind: "story";
60933
- storyType: "headerFooterPart";
60934
- refId: string;
60935
- }) | ({
60936
- kind: "story";
60937
- storyType: "footnote";
60938
- noteId: string;
60939
- }) | ({
60940
- kind: "story";
60941
- storyType: "endnote";
60942
- noteId: string;
60943
- }) | ({
60944
- kind: "story";
60945
- storyType: "textbox";
60946
- textboxId: string;
60947
- });
60948
- })>;
60949
- };
60950
58932
  export type DocTablesSetRowHeightResult = {
60951
58933
  success: true;
60952
58934
  table?: {
@@ -65475,7 +63457,7 @@ export type DocMetadataResolveResult = Record<string, unknown> | null;
65475
63457
  export type DocOpenResult = {
65476
63458
  active: boolean;
65477
63459
  contextId: string;
65478
- runtime?: "v1" | "v2";
63460
+ runtime?: "v1";
65479
63461
  sessionType: string;
65480
63462
  document?: {
65481
63463
  path?: string;
@@ -65499,7 +63481,7 @@ export type DocOpenResult = {
65499
63481
  };
65500
63482
  export type DocSaveResult = {
65501
63483
  contextId: string;
65502
- runtime?: "v1" | "v2";
63484
+ runtime?: "v1";
65503
63485
  saved: boolean;
65504
63486
  inPlace?: boolean;
65505
63487
  document?: {
@@ -65526,7 +63508,7 @@ export type DocSaveResult = {
65526
63508
  };
65527
63509
  export type DocCloseResult = {
65528
63510
  contextId: string;
65529
- runtime?: "v1" | "v2";
63511
+ runtime?: "v1";
65530
63512
  closed: boolean;
65531
63513
  saved?: boolean;
65532
63514
  discarded?: boolean;
@@ -65552,10 +63534,28 @@ export type DocInsertLineBreakResult = {
65552
63534
  context?: Record<string, unknown>;
65553
63535
  output?: Record<string, unknown>;
65554
63536
  };
63537
+ export type DocExecuteCodeResult = {
63538
+ ok: boolean;
63539
+ result?: unknown;
63540
+ logs: Array<{
63541
+ level?: string;
63542
+ message?: string;
63543
+ }>;
63544
+ error?: {
63545
+ name?: string;
63546
+ message?: string;
63547
+ stack?: string;
63548
+ };
63549
+ context?: {
63550
+ dirty?: boolean;
63551
+ revision?: number;
63552
+ mutated?: boolean;
63553
+ };
63554
+ };
65555
63555
  export type DocStatusResult = {
65556
63556
  active: boolean;
65557
63557
  contextId?: string;
65558
- runtime?: "v1" | "v2";
63558
+ runtime?: "v1";
65559
63559
  activeSessionId?: string;
65560
63560
  requestedSessionId?: string;
65561
63561
  projectRoot?: string;
@@ -65601,7 +63601,7 @@ export type DocSessionListResult = {
65601
63601
  sessions?: Array<{
65602
63602
  sessionId?: string;
65603
63603
  sessionType?: string;
65604
- runtime?: "v1" | "v2";
63604
+ runtime?: "v1";
65605
63605
  dirty?: boolean;
65606
63606
  revision?: number;
65607
63607
  collaboration?: {
@@ -65644,6 +63644,29 @@ export type DocSessionCloseResult = {
65644
63644
  export type DocSessionSetDefaultResult = {
65645
63645
  activeSessionId: string;
65646
63646
  };
63647
+ export type DocPresetListResult = {
63648
+ presets: Array<string>;
63649
+ defaultPreset: string;
63650
+ };
63651
+ export type DocPresetGetCatalogResult = Record<string, unknown>;
63652
+ export type DocPresetGetToolsResult = {
63653
+ tools: Array<unknown>;
63654
+ cacheStrategy: string;
63655
+ };
63656
+ export type DocPresetGetSystemPromptResult = {
63657
+ prompt: string;
63658
+ };
63659
+ export type DocPresetGetMcpPromptResult = {
63660
+ prompt: string;
63661
+ };
63662
+ export type DocPresetDispatchResult = {
63663
+ result?: unknown;
63664
+ context?: {
63665
+ dirty?: boolean;
63666
+ revision?: number;
63667
+ mutated?: boolean;
63668
+ };
63669
+ };
65647
63670
  export interface DocGetBoundParams {
65648
63671
  options?: {
65649
63672
  includeResolved?: boolean;
@@ -67323,206 +65346,6 @@ export interface DocBlocksDeleteRangeBoundParams {
67323
65346
  });
67324
65347
  };
67325
65348
  }
67326
- export interface DocBlocksSplitBoundParams {
67327
- out?: string;
67328
- force?: boolean;
67329
- expectedRevision?: number;
67330
- changeMode?: string;
67331
- target: {
67332
- kind: "block";
67333
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
67334
- nodeId: string;
67335
- story?: ({
67336
- kind: "story";
67337
- storyType: "body";
67338
- }) | ({
67339
- kind: "story";
67340
- storyType: "headerFooterSlot";
67341
- section: {
67342
- kind: "section";
67343
- sectionId: string;
67344
- };
67345
- headerFooterKind: "header" | "footer";
67346
- variant: "default" | "first" | "even";
67347
- resolution?: "effective" | "explicit";
67348
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
67349
- }) | ({
67350
- kind: "story";
67351
- storyType: "headerFooterPart";
67352
- refId: string;
67353
- }) | ({
67354
- kind: "story";
67355
- storyType: "footnote";
67356
- noteId: string;
67357
- }) | ({
67358
- kind: "story";
67359
- storyType: "endnote";
67360
- noteId: string;
67361
- }) | ({
67362
- kind: "story";
67363
- storyType: "textbox";
67364
- textboxId: string;
67365
- });
67366
- };
67367
- offset: number;
67368
- }
67369
- export interface DocBlocksMergeBoundParams {
67370
- out?: string;
67371
- force?: boolean;
67372
- expectedRevision?: number;
67373
- changeMode?: string;
67374
- first: {
67375
- kind: "block";
67376
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
67377
- nodeId: string;
67378
- story?: ({
67379
- kind: "story";
67380
- storyType: "body";
67381
- }) | ({
67382
- kind: "story";
67383
- storyType: "headerFooterSlot";
67384
- section: {
67385
- kind: "section";
67386
- sectionId: string;
67387
- };
67388
- headerFooterKind: "header" | "footer";
67389
- variant: "default" | "first" | "even";
67390
- resolution?: "effective" | "explicit";
67391
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
67392
- }) | ({
67393
- kind: "story";
67394
- storyType: "headerFooterPart";
67395
- refId: string;
67396
- }) | ({
67397
- kind: "story";
67398
- storyType: "footnote";
67399
- noteId: string;
67400
- }) | ({
67401
- kind: "story";
67402
- storyType: "endnote";
67403
- noteId: string;
67404
- }) | ({
67405
- kind: "story";
67406
- storyType: "textbox";
67407
- textboxId: string;
67408
- });
67409
- };
67410
- second: {
67411
- kind: "block";
67412
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
67413
- nodeId: string;
67414
- story?: ({
67415
- kind: "story";
67416
- storyType: "body";
67417
- }) | ({
67418
- kind: "story";
67419
- storyType: "headerFooterSlot";
67420
- section: {
67421
- kind: "section";
67422
- sectionId: string;
67423
- };
67424
- headerFooterKind: "header" | "footer";
67425
- variant: "default" | "first" | "even";
67426
- resolution?: "effective" | "explicit";
67427
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
67428
- }) | ({
67429
- kind: "story";
67430
- storyType: "headerFooterPart";
67431
- refId: string;
67432
- }) | ({
67433
- kind: "story";
67434
- storyType: "footnote";
67435
- noteId: string;
67436
- }) | ({
67437
- kind: "story";
67438
- storyType: "endnote";
67439
- noteId: string;
67440
- }) | ({
67441
- kind: "story";
67442
- storyType: "textbox";
67443
- textboxId: string;
67444
- });
67445
- };
67446
- }
67447
- export interface DocBlocksMoveBoundParams {
67448
- out?: string;
67449
- force?: boolean;
67450
- expectedRevision?: number;
67451
- changeMode?: string;
67452
- source: {
67453
- kind: "block";
67454
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
67455
- nodeId: string;
67456
- story?: ({
67457
- kind: "story";
67458
- storyType: "body";
67459
- }) | ({
67460
- kind: "story";
67461
- storyType: "headerFooterSlot";
67462
- section: {
67463
- kind: "section";
67464
- sectionId: string;
67465
- };
67466
- headerFooterKind: "header" | "footer";
67467
- variant: "default" | "first" | "even";
67468
- resolution?: "effective" | "explicit";
67469
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
67470
- }) | ({
67471
- kind: "story";
67472
- storyType: "headerFooterPart";
67473
- refId: string;
67474
- }) | ({
67475
- kind: "story";
67476
- storyType: "footnote";
67477
- noteId: string;
67478
- }) | ({
67479
- kind: "story";
67480
- storyType: "endnote";
67481
- noteId: string;
67482
- }) | ({
67483
- kind: "story";
67484
- storyType: "textbox";
67485
- textboxId: string;
67486
- });
67487
- };
67488
- destination: {
67489
- kind: "block";
67490
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
67491
- nodeId: string;
67492
- story?: ({
67493
- kind: "story";
67494
- storyType: "body";
67495
- }) | ({
67496
- kind: "story";
67497
- storyType: "headerFooterSlot";
67498
- section: {
67499
- kind: "section";
67500
- sectionId: string;
67501
- };
67502
- headerFooterKind: "header" | "footer";
67503
- variant: "default" | "first" | "even";
67504
- resolution?: "effective" | "explicit";
67505
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
67506
- }) | ({
67507
- kind: "story";
67508
- storyType: "headerFooterPart";
67509
- refId: string;
67510
- }) | ({
67511
- kind: "story";
67512
- storyType: "footnote";
67513
- noteId: string;
67514
- }) | ({
67515
- kind: "story";
67516
- storyType: "endnote";
67517
- noteId: string;
67518
- }) | ({
67519
- kind: "story";
67520
- storyType: "textbox";
67521
- textboxId: string;
67522
- });
67523
- };
67524
- placement: string;
67525
- }
67526
65349
  export interface DocFormatApplyBoundParams {
67527
65350
  out?: string;
67528
65351
  force?: boolean;
@@ -77709,357 +75532,7 @@ export interface DocFormatParagraphClearAlignmentBoundParams {
77709
75532
  });
77710
75533
  blockId?: string;
77711
75534
  }
77712
- export interface DocFormatParagraphSetIndentationBoundParams {
77713
- out?: string;
77714
- force?: boolean;
77715
- expectedRevision?: number;
77716
- changeMode?: string;
77717
- dryRun?: boolean;
77718
- target?: ({
77719
- kind: "block";
77720
- nodeType: "paragraph";
77721
- nodeId: string;
77722
- story?: ({
77723
- kind: "story";
77724
- storyType: "body";
77725
- }) | ({
77726
- kind: "story";
77727
- storyType: "headerFooterSlot";
77728
- section: {
77729
- kind: "section";
77730
- sectionId: string;
77731
- };
77732
- headerFooterKind: "header" | "footer";
77733
- variant: "default" | "first" | "even";
77734
- resolution?: "effective" | "explicit";
77735
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
77736
- }) | ({
77737
- kind: "story";
77738
- storyType: "headerFooterPart";
77739
- refId: string;
77740
- }) | ({
77741
- kind: "story";
77742
- storyType: "footnote";
77743
- noteId: string;
77744
- }) | ({
77745
- kind: "story";
77746
- storyType: "endnote";
77747
- noteId: string;
77748
- }) | ({
77749
- kind: "story";
77750
- storyType: "textbox";
77751
- textboxId: string;
77752
- });
77753
- }) | ({
77754
- kind: "block";
77755
- nodeType: "heading";
77756
- nodeId: string;
77757
- story?: ({
77758
- kind: "story";
77759
- storyType: "body";
77760
- }) | ({
77761
- kind: "story";
77762
- storyType: "headerFooterSlot";
77763
- section: {
77764
- kind: "section";
77765
- sectionId: string;
77766
- };
77767
- headerFooterKind: "header" | "footer";
77768
- variant: "default" | "first" | "even";
77769
- resolution?: "effective" | "explicit";
77770
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
77771
- }) | ({
77772
- kind: "story";
77773
- storyType: "headerFooterPart";
77774
- refId: string;
77775
- }) | ({
77776
- kind: "story";
77777
- storyType: "footnote";
77778
- noteId: string;
77779
- }) | ({
77780
- kind: "story";
77781
- storyType: "endnote";
77782
- noteId: string;
77783
- }) | ({
77784
- kind: "story";
77785
- storyType: "textbox";
77786
- textboxId: string;
77787
- });
77788
- }) | ({
77789
- kind: "block";
77790
- nodeType: "listItem";
77791
- nodeId: string;
77792
- story?: ({
77793
- kind: "story";
77794
- storyType: "body";
77795
- }) | ({
77796
- kind: "story";
77797
- storyType: "headerFooterSlot";
77798
- section: {
77799
- kind: "section";
77800
- sectionId: string;
77801
- };
77802
- headerFooterKind: "header" | "footer";
77803
- variant: "default" | "first" | "even";
77804
- resolution?: "effective" | "explicit";
77805
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
77806
- }) | ({
77807
- kind: "story";
77808
- storyType: "headerFooterPart";
77809
- refId: string;
77810
- }) | ({
77811
- kind: "story";
77812
- storyType: "footnote";
77813
- noteId: string;
77814
- }) | ({
77815
- kind: "story";
77816
- storyType: "endnote";
77817
- noteId: string;
77818
- }) | ({
77819
- kind: "story";
77820
- storyType: "textbox";
77821
- textboxId: string;
77822
- });
77823
- });
77824
- left?: number;
77825
- right?: number;
77826
- firstLine?: number;
77827
- hanging?: number;
77828
- blockId?: string;
77829
- }
77830
- export interface DocFormatParagraphClearIndentationBoundParams {
77831
- out?: string;
77832
- force?: boolean;
77833
- expectedRevision?: number;
77834
- changeMode?: string;
77835
- dryRun?: boolean;
77836
- target?: ({
77837
- kind: "block";
77838
- nodeType: "paragraph";
77839
- nodeId: string;
77840
- story?: ({
77841
- kind: "story";
77842
- storyType: "body";
77843
- }) | ({
77844
- kind: "story";
77845
- storyType: "headerFooterSlot";
77846
- section: {
77847
- kind: "section";
77848
- sectionId: string;
77849
- };
77850
- headerFooterKind: "header" | "footer";
77851
- variant: "default" | "first" | "even";
77852
- resolution?: "effective" | "explicit";
77853
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
77854
- }) | ({
77855
- kind: "story";
77856
- storyType: "headerFooterPart";
77857
- refId: string;
77858
- }) | ({
77859
- kind: "story";
77860
- storyType: "footnote";
77861
- noteId: string;
77862
- }) | ({
77863
- kind: "story";
77864
- storyType: "endnote";
77865
- noteId: string;
77866
- }) | ({
77867
- kind: "story";
77868
- storyType: "textbox";
77869
- textboxId: string;
77870
- });
77871
- }) | ({
77872
- kind: "block";
77873
- nodeType: "heading";
77874
- nodeId: string;
77875
- story?: ({
77876
- kind: "story";
77877
- storyType: "body";
77878
- }) | ({
77879
- kind: "story";
77880
- storyType: "headerFooterSlot";
77881
- section: {
77882
- kind: "section";
77883
- sectionId: string;
77884
- };
77885
- headerFooterKind: "header" | "footer";
77886
- variant: "default" | "first" | "even";
77887
- resolution?: "effective" | "explicit";
77888
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
77889
- }) | ({
77890
- kind: "story";
77891
- storyType: "headerFooterPart";
77892
- refId: string;
77893
- }) | ({
77894
- kind: "story";
77895
- storyType: "footnote";
77896
- noteId: string;
77897
- }) | ({
77898
- kind: "story";
77899
- storyType: "endnote";
77900
- noteId: string;
77901
- }) | ({
77902
- kind: "story";
77903
- storyType: "textbox";
77904
- textboxId: string;
77905
- });
77906
- }) | ({
77907
- kind: "block";
77908
- nodeType: "listItem";
77909
- nodeId: string;
77910
- story?: ({
77911
- kind: "story";
77912
- storyType: "body";
77913
- }) | ({
77914
- kind: "story";
77915
- storyType: "headerFooterSlot";
77916
- section: {
77917
- kind: "section";
77918
- sectionId: string;
77919
- };
77920
- headerFooterKind: "header" | "footer";
77921
- variant: "default" | "first" | "even";
77922
- resolution?: "effective" | "explicit";
77923
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
77924
- }) | ({
77925
- kind: "story";
77926
- storyType: "headerFooterPart";
77927
- refId: string;
77928
- }) | ({
77929
- kind: "story";
77930
- storyType: "footnote";
77931
- noteId: string;
77932
- }) | ({
77933
- kind: "story";
77934
- storyType: "endnote";
77935
- noteId: string;
77936
- }) | ({
77937
- kind: "story";
77938
- storyType: "textbox";
77939
- textboxId: string;
77940
- });
77941
- });
77942
- blockId?: string;
77943
- }
77944
- export interface DocFormatParagraphSetSpacingBoundParams {
77945
- out?: string;
77946
- force?: boolean;
77947
- expectedRevision?: number;
77948
- changeMode?: string;
77949
- dryRun?: boolean;
77950
- target?: ({
77951
- kind: "block";
77952
- nodeType: "paragraph";
77953
- nodeId: string;
77954
- story?: ({
77955
- kind: "story";
77956
- storyType: "body";
77957
- }) | ({
77958
- kind: "story";
77959
- storyType: "headerFooterSlot";
77960
- section: {
77961
- kind: "section";
77962
- sectionId: string;
77963
- };
77964
- headerFooterKind: "header" | "footer";
77965
- variant: "default" | "first" | "even";
77966
- resolution?: "effective" | "explicit";
77967
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
77968
- }) | ({
77969
- kind: "story";
77970
- storyType: "headerFooterPart";
77971
- refId: string;
77972
- }) | ({
77973
- kind: "story";
77974
- storyType: "footnote";
77975
- noteId: string;
77976
- }) | ({
77977
- kind: "story";
77978
- storyType: "endnote";
77979
- noteId: string;
77980
- }) | ({
77981
- kind: "story";
77982
- storyType: "textbox";
77983
- textboxId: string;
77984
- });
77985
- }) | ({
77986
- kind: "block";
77987
- nodeType: "heading";
77988
- nodeId: string;
77989
- story?: ({
77990
- kind: "story";
77991
- storyType: "body";
77992
- }) | ({
77993
- kind: "story";
77994
- storyType: "headerFooterSlot";
77995
- section: {
77996
- kind: "section";
77997
- sectionId: string;
77998
- };
77999
- headerFooterKind: "header" | "footer";
78000
- variant: "default" | "first" | "even";
78001
- resolution?: "effective" | "explicit";
78002
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
78003
- }) | ({
78004
- kind: "story";
78005
- storyType: "headerFooterPart";
78006
- refId: string;
78007
- }) | ({
78008
- kind: "story";
78009
- storyType: "footnote";
78010
- noteId: string;
78011
- }) | ({
78012
- kind: "story";
78013
- storyType: "endnote";
78014
- noteId: string;
78015
- }) | ({
78016
- kind: "story";
78017
- storyType: "textbox";
78018
- textboxId: string;
78019
- });
78020
- }) | ({
78021
- kind: "block";
78022
- nodeType: "listItem";
78023
- nodeId: string;
78024
- story?: ({
78025
- kind: "story";
78026
- storyType: "body";
78027
- }) | ({
78028
- kind: "story";
78029
- storyType: "headerFooterSlot";
78030
- section: {
78031
- kind: "section";
78032
- sectionId: string;
78033
- };
78034
- headerFooterKind: "header" | "footer";
78035
- variant: "default" | "first" | "even";
78036
- resolution?: "effective" | "explicit";
78037
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
78038
- }) | ({
78039
- kind: "story";
78040
- storyType: "headerFooterPart";
78041
- refId: string;
78042
- }) | ({
78043
- kind: "story";
78044
- storyType: "footnote";
78045
- noteId: string;
78046
- }) | ({
78047
- kind: "story";
78048
- storyType: "endnote";
78049
- noteId: string;
78050
- }) | ({
78051
- kind: "story";
78052
- storyType: "textbox";
78053
- textboxId: string;
78054
- });
78055
- });
78056
- before?: number;
78057
- after?: number;
78058
- line?: number;
78059
- lineRule?: string;
78060
- blockId?: string;
78061
- }
78062
- export interface DocFormatParagraphClearSpacingBoundParams {
75535
+ export interface DocFormatParagraphSetIndentationBoundParams {
78063
75536
  out?: string;
78064
75537
  force?: boolean;
78065
75538
  expectedRevision?: number;
@@ -78171,9 +75644,13 @@ export interface DocFormatParagraphClearSpacingBoundParams {
78171
75644
  textboxId: string;
78172
75645
  });
78173
75646
  });
75647
+ left?: number;
75648
+ right?: number;
75649
+ firstLine?: number;
75650
+ hanging?: number;
78174
75651
  blockId?: string;
78175
75652
  }
78176
- export interface DocFormatParagraphSetKeepOptionsBoundParams {
75653
+ export interface DocFormatParagraphClearIndentationBoundParams {
78177
75654
  out?: string;
78178
75655
  force?: boolean;
78179
75656
  expectedRevision?: number;
@@ -78285,12 +75762,9 @@ export interface DocFormatParagraphSetKeepOptionsBoundParams {
78285
75762
  textboxId: string;
78286
75763
  });
78287
75764
  });
78288
- keepNext?: boolean;
78289
- keepLines?: boolean;
78290
- widowControl?: boolean;
78291
75765
  blockId?: string;
78292
75766
  }
78293
- export interface DocFormatParagraphSetOutlineLevelBoundParams {
75767
+ export interface DocFormatParagraphSetSpacingBoundParams {
78294
75768
  out?: string;
78295
75769
  force?: boolean;
78296
75770
  expectedRevision?: number;
@@ -78402,10 +75876,13 @@ export interface DocFormatParagraphSetOutlineLevelBoundParams {
78402
75876
  textboxId: string;
78403
75877
  });
78404
75878
  });
78405
- outlineLevel?: number | unknown;
75879
+ before?: number;
75880
+ after?: number;
75881
+ line?: number;
75882
+ lineRule?: string;
78406
75883
  blockId?: string;
78407
75884
  }
78408
- export interface DocFormatParagraphSetFlowOptionsBoundParams {
75885
+ export interface DocFormatParagraphClearSpacingBoundParams {
78409
75886
  out?: string;
78410
75887
  force?: boolean;
78411
75888
  expectedRevision?: number;
@@ -78517,16 +75994,9 @@ export interface DocFormatParagraphSetFlowOptionsBoundParams {
78517
75994
  textboxId: string;
78518
75995
  });
78519
75996
  });
78520
- contextualSpacing?: boolean;
78521
- pageBreakBefore?: boolean;
78522
- suppressAutoHyphens?: boolean;
78523
- autoSpaceDE?: boolean;
78524
- autoSpaceDN?: boolean;
78525
- adjustRightInd?: boolean;
78526
- snapToGrid?: boolean;
78527
75997
  blockId?: string;
78528
75998
  }
78529
- export interface DocFormatParagraphSetTabStopBoundParams {
75999
+ export interface DocFormatParagraphSetKeepOptionsBoundParams {
78530
76000
  out?: string;
78531
76001
  force?: boolean;
78532
76002
  expectedRevision?: number;
@@ -78638,12 +76108,248 @@ export interface DocFormatParagraphSetTabStopBoundParams {
78638
76108
  textboxId: string;
78639
76109
  });
78640
76110
  });
78641
- position?: number;
78642
- alignment?: string;
78643
- leader?: string;
76111
+ keepNext?: boolean;
76112
+ keepLines?: boolean;
76113
+ widowControl?: boolean;
78644
76114
  blockId?: string;
78645
76115
  }
78646
- export interface DocFormatParagraphClearTabStopBoundParams {
76116
+ export interface DocFormatParagraphSetOutlineLevelBoundParams {
76117
+ out?: string;
76118
+ force?: boolean;
76119
+ expectedRevision?: number;
76120
+ changeMode?: string;
76121
+ dryRun?: boolean;
76122
+ target?: ({
76123
+ kind: "block";
76124
+ nodeType: "paragraph";
76125
+ nodeId: string;
76126
+ story?: ({
76127
+ kind: "story";
76128
+ storyType: "body";
76129
+ }) | ({
76130
+ kind: "story";
76131
+ storyType: "headerFooterSlot";
76132
+ section: {
76133
+ kind: "section";
76134
+ sectionId: string;
76135
+ };
76136
+ headerFooterKind: "header" | "footer";
76137
+ variant: "default" | "first" | "even";
76138
+ resolution?: "effective" | "explicit";
76139
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
76140
+ }) | ({
76141
+ kind: "story";
76142
+ storyType: "headerFooterPart";
76143
+ refId: string;
76144
+ }) | ({
76145
+ kind: "story";
76146
+ storyType: "footnote";
76147
+ noteId: string;
76148
+ }) | ({
76149
+ kind: "story";
76150
+ storyType: "endnote";
76151
+ noteId: string;
76152
+ }) | ({
76153
+ kind: "story";
76154
+ storyType: "textbox";
76155
+ textboxId: string;
76156
+ });
76157
+ }) | ({
76158
+ kind: "block";
76159
+ nodeType: "heading";
76160
+ nodeId: string;
76161
+ story?: ({
76162
+ kind: "story";
76163
+ storyType: "body";
76164
+ }) | ({
76165
+ kind: "story";
76166
+ storyType: "headerFooterSlot";
76167
+ section: {
76168
+ kind: "section";
76169
+ sectionId: string;
76170
+ };
76171
+ headerFooterKind: "header" | "footer";
76172
+ variant: "default" | "first" | "even";
76173
+ resolution?: "effective" | "explicit";
76174
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
76175
+ }) | ({
76176
+ kind: "story";
76177
+ storyType: "headerFooterPart";
76178
+ refId: string;
76179
+ }) | ({
76180
+ kind: "story";
76181
+ storyType: "footnote";
76182
+ noteId: string;
76183
+ }) | ({
76184
+ kind: "story";
76185
+ storyType: "endnote";
76186
+ noteId: string;
76187
+ }) | ({
76188
+ kind: "story";
76189
+ storyType: "textbox";
76190
+ textboxId: string;
76191
+ });
76192
+ }) | ({
76193
+ kind: "block";
76194
+ nodeType: "listItem";
76195
+ nodeId: string;
76196
+ story?: ({
76197
+ kind: "story";
76198
+ storyType: "body";
76199
+ }) | ({
76200
+ kind: "story";
76201
+ storyType: "headerFooterSlot";
76202
+ section: {
76203
+ kind: "section";
76204
+ sectionId: string;
76205
+ };
76206
+ headerFooterKind: "header" | "footer";
76207
+ variant: "default" | "first" | "even";
76208
+ resolution?: "effective" | "explicit";
76209
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
76210
+ }) | ({
76211
+ kind: "story";
76212
+ storyType: "headerFooterPart";
76213
+ refId: string;
76214
+ }) | ({
76215
+ kind: "story";
76216
+ storyType: "footnote";
76217
+ noteId: string;
76218
+ }) | ({
76219
+ kind: "story";
76220
+ storyType: "endnote";
76221
+ noteId: string;
76222
+ }) | ({
76223
+ kind: "story";
76224
+ storyType: "textbox";
76225
+ textboxId: string;
76226
+ });
76227
+ });
76228
+ outlineLevel?: number | unknown;
76229
+ blockId?: string;
76230
+ }
76231
+ export interface DocFormatParagraphSetFlowOptionsBoundParams {
76232
+ out?: string;
76233
+ force?: boolean;
76234
+ expectedRevision?: number;
76235
+ changeMode?: string;
76236
+ dryRun?: boolean;
76237
+ target?: ({
76238
+ kind: "block";
76239
+ nodeType: "paragraph";
76240
+ nodeId: string;
76241
+ story?: ({
76242
+ kind: "story";
76243
+ storyType: "body";
76244
+ }) | ({
76245
+ kind: "story";
76246
+ storyType: "headerFooterSlot";
76247
+ section: {
76248
+ kind: "section";
76249
+ sectionId: string;
76250
+ };
76251
+ headerFooterKind: "header" | "footer";
76252
+ variant: "default" | "first" | "even";
76253
+ resolution?: "effective" | "explicit";
76254
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
76255
+ }) | ({
76256
+ kind: "story";
76257
+ storyType: "headerFooterPart";
76258
+ refId: string;
76259
+ }) | ({
76260
+ kind: "story";
76261
+ storyType: "footnote";
76262
+ noteId: string;
76263
+ }) | ({
76264
+ kind: "story";
76265
+ storyType: "endnote";
76266
+ noteId: string;
76267
+ }) | ({
76268
+ kind: "story";
76269
+ storyType: "textbox";
76270
+ textboxId: string;
76271
+ });
76272
+ }) | ({
76273
+ kind: "block";
76274
+ nodeType: "heading";
76275
+ nodeId: string;
76276
+ story?: ({
76277
+ kind: "story";
76278
+ storyType: "body";
76279
+ }) | ({
76280
+ kind: "story";
76281
+ storyType: "headerFooterSlot";
76282
+ section: {
76283
+ kind: "section";
76284
+ sectionId: string;
76285
+ };
76286
+ headerFooterKind: "header" | "footer";
76287
+ variant: "default" | "first" | "even";
76288
+ resolution?: "effective" | "explicit";
76289
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
76290
+ }) | ({
76291
+ kind: "story";
76292
+ storyType: "headerFooterPart";
76293
+ refId: string;
76294
+ }) | ({
76295
+ kind: "story";
76296
+ storyType: "footnote";
76297
+ noteId: string;
76298
+ }) | ({
76299
+ kind: "story";
76300
+ storyType: "endnote";
76301
+ noteId: string;
76302
+ }) | ({
76303
+ kind: "story";
76304
+ storyType: "textbox";
76305
+ textboxId: string;
76306
+ });
76307
+ }) | ({
76308
+ kind: "block";
76309
+ nodeType: "listItem";
76310
+ nodeId: string;
76311
+ story?: ({
76312
+ kind: "story";
76313
+ storyType: "body";
76314
+ }) | ({
76315
+ kind: "story";
76316
+ storyType: "headerFooterSlot";
76317
+ section: {
76318
+ kind: "section";
76319
+ sectionId: string;
76320
+ };
76321
+ headerFooterKind: "header" | "footer";
76322
+ variant: "default" | "first" | "even";
76323
+ resolution?: "effective" | "explicit";
76324
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
76325
+ }) | ({
76326
+ kind: "story";
76327
+ storyType: "headerFooterPart";
76328
+ refId: string;
76329
+ }) | ({
76330
+ kind: "story";
76331
+ storyType: "footnote";
76332
+ noteId: string;
76333
+ }) | ({
76334
+ kind: "story";
76335
+ storyType: "endnote";
76336
+ noteId: string;
76337
+ }) | ({
76338
+ kind: "story";
76339
+ storyType: "textbox";
76340
+ textboxId: string;
76341
+ });
76342
+ });
76343
+ contextualSpacing?: boolean;
76344
+ pageBreakBefore?: boolean;
76345
+ suppressAutoHyphens?: boolean;
76346
+ autoSpaceDE?: boolean;
76347
+ autoSpaceDN?: boolean;
76348
+ adjustRightInd?: boolean;
76349
+ snapToGrid?: boolean;
76350
+ blockId?: string;
76351
+ }
76352
+ export interface DocFormatParagraphSetTabStopBoundParams {
78647
76353
  out?: string;
78648
76354
  force?: boolean;
78649
76355
  expectedRevision?: number;
@@ -78756,9 +76462,11 @@ export interface DocFormatParagraphClearTabStopBoundParams {
78756
76462
  });
78757
76463
  });
78758
76464
  position?: number;
76465
+ alignment?: string;
76466
+ leader?: string;
78759
76467
  blockId?: string;
78760
76468
  }
78761
- export interface DocFormatParagraphClearAllTabStopsBoundParams {
76469
+ export interface DocFormatParagraphClearTabStopBoundParams {
78762
76470
  out?: string;
78763
76471
  force?: boolean;
78764
76472
  expectedRevision?: number;
@@ -78870,9 +76578,10 @@ export interface DocFormatParagraphClearAllTabStopsBoundParams {
78870
76578
  textboxId: string;
78871
76579
  });
78872
76580
  });
76581
+ position?: number;
78873
76582
  blockId?: string;
78874
76583
  }
78875
- export interface DocFormatParagraphSetBorderBoundParams {
76584
+ export interface DocFormatParagraphClearAllTabStopsBoundParams {
78876
76585
  out?: string;
78877
76586
  force?: boolean;
78878
76587
  expectedRevision?: number;
@@ -78984,14 +76693,9 @@ export interface DocFormatParagraphSetBorderBoundParams {
78984
76693
  textboxId: string;
78985
76694
  });
78986
76695
  });
78987
- side?: string;
78988
- style?: string;
78989
- color?: string;
78990
- size?: number;
78991
- space?: number;
78992
76696
  blockId?: string;
78993
76697
  }
78994
- export interface DocFormatParagraphClearBorderBoundParams {
76698
+ export interface DocFormatParagraphSetBorderBoundParams {
78995
76699
  out?: string;
78996
76700
  force?: boolean;
78997
76701
  expectedRevision?: number;
@@ -79104,9 +76808,13 @@ export interface DocFormatParagraphClearBorderBoundParams {
79104
76808
  });
79105
76809
  });
79106
76810
  side?: string;
76811
+ style?: string;
76812
+ color?: string;
76813
+ size?: number;
76814
+ space?: number;
79107
76815
  blockId?: string;
79108
76816
  }
79109
- export interface DocFormatParagraphSetShadingBoundParams {
76817
+ export interface DocFormatParagraphClearBorderBoundParams {
79110
76818
  out?: string;
79111
76819
  force?: boolean;
79112
76820
  expectedRevision?: number;
@@ -79218,12 +76926,10 @@ export interface DocFormatParagraphSetShadingBoundParams {
79218
76926
  textboxId: string;
79219
76927
  });
79220
76928
  });
79221
- fill?: string;
79222
- color?: string;
79223
- pattern?: string;
76929
+ side?: string;
79224
76930
  blockId?: string;
79225
76931
  }
79226
- export interface DocFormatParagraphClearShadingBoundParams {
76932
+ export interface DocFormatParagraphSetShadingBoundParams {
79227
76933
  out?: string;
79228
76934
  force?: boolean;
79229
76935
  expectedRevision?: number;
@@ -79335,9 +77041,12 @@ export interface DocFormatParagraphClearShadingBoundParams {
79335
77041
  textboxId: string;
79336
77042
  });
79337
77043
  });
77044
+ fill?: string;
77045
+ color?: string;
77046
+ pattern?: string;
79338
77047
  blockId?: string;
79339
77048
  }
79340
- export interface DocFormatParagraphSetMarkRunPropsBoundParams {
77049
+ export interface DocFormatParagraphClearShadingBoundParams {
79341
77050
  out?: string;
79342
77051
  force?: boolean;
79343
77052
  expectedRevision?: number;
@@ -79449,120 +77158,6 @@ export interface DocFormatParagraphSetMarkRunPropsBoundParams {
79449
77158
  textboxId: string;
79450
77159
  });
79451
77160
  });
79452
- markRunProps?: {
79453
- fontSizeCs?: number;
79454
- specVanish?: boolean;
79455
- fontSize?: number;
79456
- fonts?: {
79457
- ascii?: string;
79458
- hAnsi?: string;
79459
- eastAsia?: string;
79460
- cs?: string;
79461
- asciiTheme?: string;
79462
- hAnsiTheme?: string;
79463
- eastAsiaTheme?: string;
79464
- csTheme?: string;
79465
- hint?: string;
79466
- };
79467
- fontFamily?: string;
79468
- lang?: {
79469
- val?: string;
79470
- eastAsia?: string;
79471
- bidi?: string;
79472
- };
79473
- color?: ({
79474
- model: "rgb";
79475
- value: string;
79476
- }) | ({
79477
- model: "theme";
79478
- theme: string;
79479
- tint?: number;
79480
- shade?: number;
79481
- }) | ({
79482
- model: "auto";
79483
- });
79484
- highlight?: string;
79485
- shading?: {
79486
- fill?: ({
79487
- model: "rgb";
79488
- value: string;
79489
- }) | ({
79490
- model: "theme";
79491
- theme: string;
79492
- tint?: number;
79493
- shade?: number;
79494
- }) | ({
79495
- model: "auto";
79496
- });
79497
- color?: ({
79498
- model: "rgb";
79499
- value: string;
79500
- }) | ({
79501
- model: "theme";
79502
- theme: string;
79503
- tint?: number;
79504
- shade?: number;
79505
- }) | ({
79506
- model: "auto";
79507
- });
79508
- pattern?: string;
79509
- };
79510
- cs?: boolean;
79511
- rtl?: boolean;
79512
- bold?: boolean;
79513
- boldCs?: boolean;
79514
- italic?: boolean;
79515
- italicCs?: boolean;
79516
- underline?: {
79517
- style?: string;
79518
- color?: ({
79519
- model: "rgb";
79520
- value: string;
79521
- }) | ({
79522
- model: "theme";
79523
- theme: string;
79524
- tint?: number;
79525
- shade?: number;
79526
- }) | ({
79527
- model: "auto";
79528
- });
79529
- };
79530
- strikethrough?: boolean;
79531
- doubleStrikethrough?: boolean;
79532
- caps?: boolean;
79533
- smallCaps?: boolean;
79534
- outline?: boolean;
79535
- shadow?: boolean;
79536
- emboss?: boolean;
79537
- imprint?: boolean;
79538
- verticalAlign?: "baseline" | "superscript" | "subscript";
79539
- characterSpacing?: number;
79540
- characterScale?: number;
79541
- kern?: number;
79542
- baselineShift?: number;
79543
- fitTextWidth?: number;
79544
- vanish?: boolean;
79545
- webHidden?: boolean;
79546
- border?: {
79547
- style?: string;
79548
- width?: number;
79549
- space?: number;
79550
- color?: ({
79551
- model: "rgb";
79552
- value: string;
79553
- }) | ({
79554
- model: "theme";
79555
- theme: string;
79556
- tint?: number;
79557
- shade?: number;
79558
- }) | ({
79559
- model: "auto";
79560
- });
79561
- frame?: boolean;
79562
- shadow?: boolean;
79563
- };
79564
- textEffect?: string;
79565
- };
79566
77161
  blockId?: string;
79567
77162
  }
79568
77163
  export interface DocFormatParagraphSetDirectionBoundParams {
@@ -81535,268 +79130,193 @@ export interface DocListsRestartAtBoundParams {
81535
79130
  textboxId: string;
81536
79131
  });
81537
79132
  };
81538
- startAt: number;
81539
- }
81540
- export interface DocListsSetLevelNumberStyleBoundParams {
81541
- out?: string;
81542
- force?: boolean;
81543
- expectedRevision?: number;
81544
- changeMode?: string;
81545
- dryRun?: boolean;
81546
- target: {
81547
- kind: "block";
81548
- nodeType: "listItem";
81549
- nodeId: string;
81550
- story?: ({
81551
- kind: "story";
81552
- storyType: "body";
81553
- }) | ({
81554
- kind: "story";
81555
- storyType: "headerFooterSlot";
81556
- section: {
81557
- kind: "section";
81558
- sectionId: string;
81559
- };
81560
- headerFooterKind: "header" | "footer";
81561
- variant: "default" | "first" | "even";
81562
- resolution?: "effective" | "explicit";
81563
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
81564
- }) | ({
81565
- kind: "story";
81566
- storyType: "headerFooterPart";
81567
- refId: string;
81568
- }) | ({
81569
- kind: "story";
81570
- storyType: "footnote";
81571
- noteId: string;
81572
- }) | ({
81573
- kind: "story";
81574
- storyType: "endnote";
81575
- noteId: string;
81576
- }) | ({
81577
- kind: "story";
81578
- storyType: "textbox";
81579
- textboxId: string;
81580
- });
81581
- };
81582
- level: number;
81583
- numberStyle: string;
81584
- }
81585
- export interface DocListsSetLevelTextBoundParams {
81586
- out?: string;
81587
- force?: boolean;
81588
- expectedRevision?: number;
81589
- changeMode?: string;
81590
- dryRun?: boolean;
81591
- target: {
81592
- kind: "block";
81593
- nodeType: "listItem";
81594
- nodeId: string;
81595
- story?: ({
81596
- kind: "story";
81597
- storyType: "body";
81598
- }) | ({
81599
- kind: "story";
81600
- storyType: "headerFooterSlot";
81601
- section: {
81602
- kind: "section";
81603
- sectionId: string;
81604
- };
81605
- headerFooterKind: "header" | "footer";
81606
- variant: "default" | "first" | "even";
81607
- resolution?: "effective" | "explicit";
81608
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
81609
- }) | ({
81610
- kind: "story";
81611
- storyType: "headerFooterPart";
81612
- refId: string;
81613
- }) | ({
81614
- kind: "story";
81615
- storyType: "footnote";
81616
- noteId: string;
81617
- }) | ({
81618
- kind: "story";
81619
- storyType: "endnote";
81620
- noteId: string;
81621
- }) | ({
81622
- kind: "story";
81623
- storyType: "textbox";
81624
- textboxId: string;
81625
- });
81626
- };
81627
- level: number;
81628
- text: string;
81629
- }
81630
- export interface DocListsSetLevelStartBoundParams {
81631
- out?: string;
81632
- force?: boolean;
81633
- expectedRevision?: number;
81634
- changeMode?: string;
81635
- dryRun?: boolean;
81636
- target: {
81637
- kind: "block";
81638
- nodeType: "listItem";
81639
- nodeId: string;
81640
- story?: ({
81641
- kind: "story";
81642
- storyType: "body";
81643
- }) | ({
81644
- kind: "story";
81645
- storyType: "headerFooterSlot";
81646
- section: {
81647
- kind: "section";
81648
- sectionId: string;
81649
- };
81650
- headerFooterKind: "header" | "footer";
81651
- variant: "default" | "first" | "even";
81652
- resolution?: "effective" | "explicit";
81653
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
81654
- }) | ({
81655
- kind: "story";
81656
- storyType: "headerFooterPart";
81657
- refId: string;
81658
- }) | ({
81659
- kind: "story";
81660
- storyType: "footnote";
81661
- noteId: string;
81662
- }) | ({
81663
- kind: "story";
81664
- storyType: "endnote";
81665
- noteId: string;
81666
- }) | ({
81667
- kind: "story";
81668
- storyType: "textbox";
81669
- textboxId: string;
81670
- });
81671
- };
81672
- level: number;
81673
- startAt: number;
81674
- }
81675
- export interface DocListsSetLevelLayoutBoundParams {
81676
- out?: string;
81677
- force?: boolean;
81678
- expectedRevision?: number;
81679
- changeMode?: string;
81680
- dryRun?: boolean;
81681
- target: {
81682
- kind: "block";
81683
- nodeType: "listItem";
81684
- nodeId: string;
81685
- story?: ({
81686
- kind: "story";
81687
- storyType: "body";
81688
- }) | ({
81689
- kind: "story";
81690
- storyType: "headerFooterSlot";
81691
- section: {
81692
- kind: "section";
81693
- sectionId: string;
81694
- };
81695
- headerFooterKind: "header" | "footer";
81696
- variant: "default" | "first" | "even";
81697
- resolution?: "effective" | "explicit";
81698
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
81699
- }) | ({
81700
- kind: "story";
81701
- storyType: "headerFooterPart";
81702
- refId: string;
81703
- }) | ({
81704
- kind: "story";
81705
- storyType: "footnote";
81706
- noteId: string;
81707
- }) | ({
81708
- kind: "story";
81709
- storyType: "endnote";
81710
- noteId: string;
81711
- }) | ({
81712
- kind: "story";
81713
- storyType: "textbox";
81714
- textboxId: string;
81715
- });
81716
- };
81717
- level: number;
81718
- layout: {
81719
- alignment?: "left" | "center" | "right";
81720
- alignedAt?: number;
81721
- textIndentAt?: number;
81722
- followCharacter?: "tab" | "space" | "nothing";
81723
- tabStopAt?: unknown;
81724
- };
81725
- }
81726
- export interface DocListsGetStateBoundParams {
81727
- target: ({
81728
- kind: "block";
81729
- nodeType: "paragraph";
81730
- nodeId: string;
81731
- }) | ({
81732
- kind: "block";
81733
- nodeType: "listItem";
81734
- nodeId: string;
81735
- });
79133
+ startAt: number;
81736
79134
  }
81737
- export interface DocListsApplyBoundParams {
79135
+ export interface DocListsSetLevelNumberStyleBoundParams {
81738
79136
  out?: string;
81739
79137
  force?: boolean;
81740
79138
  expectedRevision?: number;
81741
79139
  changeMode?: string;
81742
- target: ({
81743
- kind: "block";
81744
- nodeType: "paragraph";
81745
- nodeId: string;
81746
- }) | ({
79140
+ dryRun?: boolean;
79141
+ target: {
81747
79142
  kind: "block";
81748
79143
  nodeType: "listItem";
81749
79144
  nodeId: string;
81750
- });
81751
- seed: string;
81752
- reuseNumId?: string;
81753
- ilvl?: number;
79145
+ story?: ({
79146
+ kind: "story";
79147
+ storyType: "body";
79148
+ }) | ({
79149
+ kind: "story";
79150
+ storyType: "headerFooterSlot";
79151
+ section: {
79152
+ kind: "section";
79153
+ sectionId: string;
79154
+ };
79155
+ headerFooterKind: "header" | "footer";
79156
+ variant: "default" | "first" | "even";
79157
+ resolution?: "effective" | "explicit";
79158
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
79159
+ }) | ({
79160
+ kind: "story";
79161
+ storyType: "headerFooterPart";
79162
+ refId: string;
79163
+ }) | ({
79164
+ kind: "story";
79165
+ storyType: "footnote";
79166
+ noteId: string;
79167
+ }) | ({
79168
+ kind: "story";
79169
+ storyType: "endnote";
79170
+ noteId: string;
79171
+ }) | ({
79172
+ kind: "story";
79173
+ storyType: "textbox";
79174
+ textboxId: string;
79175
+ });
79176
+ };
79177
+ level: number;
79178
+ numberStyle: string;
81754
79179
  }
81755
- export interface DocListsContinueBoundParams {
79180
+ export interface DocListsSetLevelTextBoundParams {
81756
79181
  out?: string;
81757
79182
  force?: boolean;
81758
79183
  expectedRevision?: number;
81759
79184
  changeMode?: string;
81760
- target: ({
81761
- kind: "block";
81762
- nodeType: "paragraph";
81763
- nodeId: string;
81764
- }) | ({
79185
+ dryRun?: boolean;
79186
+ target: {
81765
79187
  kind: "block";
81766
79188
  nodeType: "listItem";
81767
79189
  nodeId: string;
81768
- });
79190
+ story?: ({
79191
+ kind: "story";
79192
+ storyType: "body";
79193
+ }) | ({
79194
+ kind: "story";
79195
+ storyType: "headerFooterSlot";
79196
+ section: {
79197
+ kind: "section";
79198
+ sectionId: string;
79199
+ };
79200
+ headerFooterKind: "header" | "footer";
79201
+ variant: "default" | "first" | "even";
79202
+ resolution?: "effective" | "explicit";
79203
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
79204
+ }) | ({
79205
+ kind: "story";
79206
+ storyType: "headerFooterPart";
79207
+ refId: string;
79208
+ }) | ({
79209
+ kind: "story";
79210
+ storyType: "footnote";
79211
+ noteId: string;
79212
+ }) | ({
79213
+ kind: "story";
79214
+ storyType: "endnote";
79215
+ noteId: string;
79216
+ }) | ({
79217
+ kind: "story";
79218
+ storyType: "textbox";
79219
+ textboxId: string;
79220
+ });
79221
+ };
79222
+ level: number;
79223
+ text: string;
81769
79224
  }
81770
- export interface DocListsRestartBoundParams {
79225
+ export interface DocListsSetLevelStartBoundParams {
81771
79226
  out?: string;
81772
79227
  force?: boolean;
81773
79228
  expectedRevision?: number;
81774
79229
  changeMode?: string;
81775
- target: ({
81776
- kind: "block";
81777
- nodeType: "paragraph";
81778
- nodeId: string;
81779
- }) | ({
79230
+ dryRun?: boolean;
79231
+ target: {
81780
79232
  kind: "block";
81781
79233
  nodeType: "listItem";
81782
79234
  nodeId: string;
81783
- });
81784
- startAt?: number;
79235
+ story?: ({
79236
+ kind: "story";
79237
+ storyType: "body";
79238
+ }) | ({
79239
+ kind: "story";
79240
+ storyType: "headerFooterSlot";
79241
+ section: {
79242
+ kind: "section";
79243
+ sectionId: string;
79244
+ };
79245
+ headerFooterKind: "header" | "footer";
79246
+ variant: "default" | "first" | "even";
79247
+ resolution?: "effective" | "explicit";
79248
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
79249
+ }) | ({
79250
+ kind: "story";
79251
+ storyType: "headerFooterPart";
79252
+ refId: string;
79253
+ }) | ({
79254
+ kind: "story";
79255
+ storyType: "footnote";
79256
+ noteId: string;
79257
+ }) | ({
79258
+ kind: "story";
79259
+ storyType: "endnote";
79260
+ noteId: string;
79261
+ }) | ({
79262
+ kind: "story";
79263
+ storyType: "textbox";
79264
+ textboxId: string;
79265
+ });
79266
+ };
79267
+ level: number;
79268
+ startAt: number;
81785
79269
  }
81786
- export interface DocListsRemoveBoundParams {
79270
+ export interface DocListsSetLevelLayoutBoundParams {
81787
79271
  out?: string;
81788
79272
  force?: boolean;
81789
79273
  expectedRevision?: number;
81790
79274
  changeMode?: string;
81791
- target: ({
81792
- kind: "block";
81793
- nodeType: "paragraph";
81794
- nodeId: string;
81795
- }) | ({
79275
+ dryRun?: boolean;
79276
+ target: {
81796
79277
  kind: "block";
81797
79278
  nodeType: "listItem";
81798
79279
  nodeId: string;
81799
- });
79280
+ story?: ({
79281
+ kind: "story";
79282
+ storyType: "body";
79283
+ }) | ({
79284
+ kind: "story";
79285
+ storyType: "headerFooterSlot";
79286
+ section: {
79287
+ kind: "section";
79288
+ sectionId: string;
79289
+ };
79290
+ headerFooterKind: "header" | "footer";
79291
+ variant: "default" | "first" | "even";
79292
+ resolution?: "effective" | "explicit";
79293
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
79294
+ }) | ({
79295
+ kind: "story";
79296
+ storyType: "headerFooterPart";
79297
+ refId: string;
79298
+ }) | ({
79299
+ kind: "story";
79300
+ storyType: "footnote";
79301
+ noteId: string;
79302
+ }) | ({
79303
+ kind: "story";
79304
+ storyType: "endnote";
79305
+ noteId: string;
79306
+ }) | ({
79307
+ kind: "story";
79308
+ storyType: "textbox";
79309
+ textboxId: string;
79310
+ });
79311
+ };
79312
+ level: number;
79313
+ layout: {
79314
+ alignment?: "left" | "center" | "right";
79315
+ alignedAt?: number;
79316
+ textIndentAt?: number;
79317
+ followCharacter?: "tab" | "space" | "nothing";
79318
+ tabStopAt?: unknown;
79319
+ };
81800
79320
  }
81801
79321
  export interface DocCommentsCreateBoundParams {
81802
79322
  out?: string;
@@ -82601,6 +80121,7 @@ export interface DocTrackChangesDecideBoundParams {
82601
80121
  textboxId: string;
82602
80122
  });
82603
80123
  moveRole?: "pair" | "source" | "destination";
80124
+ side?: "inserted" | "deleted";
82604
80125
  }) | ({
82605
80126
  kind: "range";
82606
80127
  range: {
@@ -82825,6 +80346,7 @@ export interface DocTrackChangesDecideBoundParams {
82825
80346
  textboxId: string;
82826
80347
  });
82827
80348
  moveRole?: "pair" | "source" | "destination";
80349
+ side?: "inserted" | "deleted";
82828
80350
  }) | ({
82829
80351
  id: string;
82830
80352
  range: {
@@ -86254,55 +83776,6 @@ export interface DocTablesDeleteRowBoundParams {
86254
83776
  rowIndex?: number;
86255
83777
  nodeId?: string;
86256
83778
  }
86257
- export interface DocTablesMoveRowBoundParams {
86258
- out?: string;
86259
- force?: boolean;
86260
- expectedRevision?: number;
86261
- changeMode?: string;
86262
- dryRun?: boolean;
86263
- target?: ({
86264
- kind: "block";
86265
- nodeType: "tableRow";
86266
- nodeId: string;
86267
- }) | ({
86268
- kind: "block";
86269
- nodeType: "table";
86270
- nodeId: string;
86271
- });
86272
- destination: ({
86273
- kind: "first";
86274
- }) | ({
86275
- kind: "last";
86276
- }) | ({
86277
- kind: "before";
86278
- rowIndex: number;
86279
- }) | ({
86280
- kind: "after";
86281
- rowIndex: number;
86282
- }) | ({
86283
- kind: "before";
86284
- target: {
86285
- kind: "block";
86286
- nodeType: "tableRow";
86287
- nodeId: string;
86288
- };
86289
- }) | ({
86290
- kind: "after";
86291
- target: {
86292
- kind: "block";
86293
- nodeType: "tableRow";
86294
- nodeId: string;
86295
- };
86296
- }) | ({
86297
- kind: "before";
86298
- nodeId: string;
86299
- }) | ({
86300
- kind: "after";
86301
- nodeId: string;
86302
- });
86303
- rowIndex?: number;
86304
- nodeId?: string;
86305
- }
86306
83779
  export interface DocTablesSetRowHeightBoundParams {
86307
83780
  out?: string;
86308
83781
  force?: boolean;
@@ -91326,6 +88799,35 @@ export interface DocInsertLineBreakBoundParams {
91326
88799
  end?: number;
91327
88800
  offset?: number;
91328
88801
  }
88802
+ export interface DocExecuteCodeBoundParams {
88803
+ expectedRevision?: number;
88804
+ code?: string;
88805
+ }
88806
+ export interface DocPresetListBoundParams {
88807
+ }
88808
+ export interface DocPresetGetCatalogBoundParams {
88809
+ preset?: string;
88810
+ }
88811
+ export interface DocPresetGetToolsBoundParams {
88812
+ provider: string;
88813
+ preset?: string;
88814
+ cache?: boolean;
88815
+ excludeActions?: string;
88816
+ }
88817
+ export interface DocPresetGetSystemPromptBoundParams {
88818
+ preset?: string;
88819
+ excludeActions?: string;
88820
+ }
88821
+ export interface DocPresetGetMcpPromptBoundParams {
88822
+ preset?: string;
88823
+ }
88824
+ export interface DocPresetDispatchBoundParams {
88825
+ expectedRevision?: number;
88826
+ toolName: string;
88827
+ args?: Record<string, unknown> | unknown[];
88828
+ excludeActions?: string;
88829
+ preset?: string;
88830
+ }
91329
88831
  /** @internal Raw operation tree for SDK internals. Use createBoundDocApi for public document handles. */
91330
88832
  export declare function createDocApi(runtime: RuntimeInvoker): {
91331
88833
  get: (params?: DocGetParams, options?: InvokeOptions) => Promise<DocGetResult>;
@@ -91347,9 +88849,6 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
91347
88849
  list: (params?: DocBlocksListParams, options?: InvokeOptions) => Promise<DocBlocksListResult>;
91348
88850
  delete: (params?: DocBlocksDeleteParams, options?: InvokeOptions) => Promise<DocBlocksDeleteResult>;
91349
88851
  deleteRange: (params?: DocBlocksDeleteRangeParams, options?: InvokeOptions) => Promise<DocBlocksDeleteRangeResult>;
91350
- split: (params: DocBlocksSplitParams, options?: InvokeOptions) => Promise<DocBlocksSplitResult>;
91351
- merge: (params: DocBlocksMergeParams, options?: InvokeOptions) => Promise<DocBlocksMergeResult>;
91352
- move: (params: DocBlocksMoveParams, options?: InvokeOptions) => Promise<DocBlocksMoveResult>;
91353
88852
  };
91354
88853
  format: {
91355
88854
  apply: (params?: DocFormatApplyParams, options?: InvokeOptions) => Promise<DocFormatApplyResult>;
@@ -91414,7 +88913,6 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
91414
88913
  clearBorder: (params?: DocFormatParagraphClearBorderParams, options?: InvokeOptions) => Promise<DocFormatParagraphClearBorderResult>;
91415
88914
  setShading: (params?: DocFormatParagraphSetShadingParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetShadingResult>;
91416
88915
  clearShading: (params?: DocFormatParagraphClearShadingParams, options?: InvokeOptions) => Promise<DocFormatParagraphClearShadingResult>;
91417
- setMarkRunProps: (params?: DocFormatParagraphSetMarkRunPropsParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetMarkRunPropsResult>;
91418
88916
  setDirection: (params?: DocFormatParagraphSetDirectionParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetDirectionResult>;
91419
88917
  clearDirection: (params?: DocFormatParagraphClearDirectionParams, options?: InvokeOptions) => Promise<DocFormatParagraphClearDirectionResult>;
91420
88918
  setNumbering: (params?: DocFormatParagraphSetNumberingParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetNumberingResult>;
@@ -91499,11 +88997,6 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
91499
88997
  setLevelText: (params: DocListsSetLevelTextParams, options?: InvokeOptions) => Promise<DocListsSetLevelTextResult>;
91500
88998
  setLevelStart: (params: DocListsSetLevelStartParams, options?: InvokeOptions) => Promise<DocListsSetLevelStartResult>;
91501
88999
  setLevelLayout: (params: DocListsSetLevelLayoutParams, options?: InvokeOptions) => Promise<DocListsSetLevelLayoutResult>;
91502
- getState: (params: DocListsGetStateParams, options?: InvokeOptions) => Promise<DocListsGetStateResult>;
91503
- apply: (params: DocListsApplyParams, options?: InvokeOptions) => Promise<DocListsApplyResult>;
91504
- continue: (params: DocListsContinueParams, options?: InvokeOptions) => Promise<DocListsContinueResult>;
91505
- restart: (params: DocListsRestartParams, options?: InvokeOptions) => Promise<DocListsRestartResult>;
91506
- remove: (params: DocListsRemoveParams, options?: InvokeOptions) => Promise<DocListsRemoveResult>;
91507
89000
  };
91508
89001
  comments: {
91509
89002
  create: (params?: DocCommentsCreateParams, options?: InvokeOptions) => Promise<DocCommentsCreateResult>;
@@ -91546,7 +89039,6 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
91546
89039
  setLayout: (params?: DocTablesSetLayoutParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
91547
89040
  insertRow: (params?: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
91548
89041
  deleteRow: (params?: DocTablesDeleteRowParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
91549
- moveRow: (params: DocTablesMoveRowParams, options?: InvokeOptions) => Promise<DocTablesMoveRowResult>;
91550
89042
  setRowHeight: (params: DocTablesSetRowHeightParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
91551
89043
  distributeRows: (params?: DocTablesDistributeRowsParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
91552
89044
  setRowOptions: (params?: DocTablesSetRowOptionsParams, options?: InvokeOptions) => Promise<DocTablesSetRowOptionsResult>;
@@ -91850,6 +89342,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
91850
89342
  close: (params?: DocCloseParams, options?: InvokeOptions) => Promise<DocCloseResult>;
91851
89343
  insertTab: (params?: DocInsertTabParams, options?: InvokeOptions) => Promise<DocInsertTabResult>;
91852
89344
  insertLineBreak: (params?: DocInsertLineBreakParams, options?: InvokeOptions) => Promise<DocInsertLineBreakResult>;
89345
+ executeCode: (params?: DocExecuteCodeParams, options?: InvokeOptions) => Promise<DocExecuteCodeResult>;
91853
89346
  status: (params?: DocStatusParams, options?: InvokeOptions) => Promise<DocStatusResult>;
91854
89347
  describe: (params?: DocDescribeParams, options?: InvokeOptions) => Promise<DocDescribeResult>;
91855
89348
  describeCommand: (params: DocDescribeCommandParams, options?: InvokeOptions) => Promise<DocDescribeCommandResult>;
@@ -91859,6 +89352,14 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
91859
89352
  close: (params: DocSessionCloseParams, options?: InvokeOptions) => Promise<DocSessionCloseResult>;
91860
89353
  setDefault: (params: DocSessionSetDefaultParams, options?: InvokeOptions) => Promise<DocSessionSetDefaultResult>;
91861
89354
  };
89355
+ preset: {
89356
+ list: (params?: DocPresetListParams, options?: InvokeOptions) => Promise<DocPresetListResult>;
89357
+ getCatalog: (params?: DocPresetGetCatalogParams, options?: InvokeOptions) => Promise<DocPresetGetCatalogResult>;
89358
+ getTools: (params: DocPresetGetToolsParams, options?: InvokeOptions) => Promise<DocPresetGetToolsResult>;
89359
+ getSystemPrompt: (params?: DocPresetGetSystemPromptParams, options?: InvokeOptions) => Promise<DocPresetGetSystemPromptResult>;
89360
+ getMcpPrompt: (params?: DocPresetGetMcpPromptParams, options?: InvokeOptions) => Promise<DocPresetGetMcpPromptResult>;
89361
+ dispatch: (params: DocPresetDispatchParams, options?: InvokeOptions) => Promise<DocPresetDispatchResult>;
89362
+ };
91862
89363
  };
91863
89364
  export type SuperDocDocApi = ReturnType<typeof createDocApi>;
91864
89365
  /** Bound document operation tree. The runtime injects sessionId; callers never pass doc or sessionId. */
@@ -91882,9 +89383,6 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
91882
89383
  list: (params?: DocBlocksListBoundParams, options?: InvokeOptions) => Promise<DocBlocksListResult>;
91883
89384
  delete: (params?: DocBlocksDeleteBoundParams, options?: InvokeOptions) => Promise<DocBlocksDeleteResult>;
91884
89385
  deleteRange: (params?: DocBlocksDeleteRangeBoundParams, options?: InvokeOptions) => Promise<DocBlocksDeleteRangeResult>;
91885
- split: (params: DocBlocksSplitBoundParams, options?: InvokeOptions) => Promise<DocBlocksSplitResult>;
91886
- merge: (params: DocBlocksMergeBoundParams, options?: InvokeOptions) => Promise<DocBlocksMergeResult>;
91887
- move: (params: DocBlocksMoveBoundParams, options?: InvokeOptions) => Promise<DocBlocksMoveResult>;
91888
89386
  };
91889
89387
  format: {
91890
89388
  apply: (params?: DocFormatApplyBoundParams, options?: InvokeOptions) => Promise<DocFormatApplyResult>;
@@ -91949,7 +89447,6 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
91949
89447
  clearBorder: (params?: DocFormatParagraphClearBorderBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphClearBorderResult>;
91950
89448
  setShading: (params?: DocFormatParagraphSetShadingBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetShadingResult>;
91951
89449
  clearShading: (params?: DocFormatParagraphClearShadingBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphClearShadingResult>;
91952
- setMarkRunProps: (params?: DocFormatParagraphSetMarkRunPropsBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetMarkRunPropsResult>;
91953
89450
  setDirection: (params?: DocFormatParagraphSetDirectionBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetDirectionResult>;
91954
89451
  clearDirection: (params?: DocFormatParagraphClearDirectionBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphClearDirectionResult>;
91955
89452
  setNumbering: (params?: DocFormatParagraphSetNumberingBoundParams, options?: InvokeOptions) => Promise<DocFormatParagraphSetNumberingResult>;
@@ -92034,11 +89531,6 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
92034
89531
  setLevelText: (params: DocListsSetLevelTextBoundParams, options?: InvokeOptions) => Promise<DocListsSetLevelTextResult>;
92035
89532
  setLevelStart: (params: DocListsSetLevelStartBoundParams, options?: InvokeOptions) => Promise<DocListsSetLevelStartResult>;
92036
89533
  setLevelLayout: (params: DocListsSetLevelLayoutBoundParams, options?: InvokeOptions) => Promise<DocListsSetLevelLayoutResult>;
92037
- getState: (params: DocListsGetStateBoundParams, options?: InvokeOptions) => Promise<DocListsGetStateResult>;
92038
- apply: (params: DocListsApplyBoundParams, options?: InvokeOptions) => Promise<DocListsApplyResult>;
92039
- continue: (params: DocListsContinueBoundParams, options?: InvokeOptions) => Promise<DocListsContinueResult>;
92040
- restart: (params: DocListsRestartBoundParams, options?: InvokeOptions) => Promise<DocListsRestartResult>;
92041
- remove: (params: DocListsRemoveBoundParams, options?: InvokeOptions) => Promise<DocListsRemoveResult>;
92042
89534
  };
92043
89535
  comments: {
92044
89536
  create: (params?: DocCommentsCreateBoundParams, options?: InvokeOptions) => Promise<DocCommentsCreateResult>;
@@ -92081,7 +89573,6 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
92081
89573
  setLayout: (params?: DocTablesSetLayoutBoundParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
92082
89574
  insertRow: (params?: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
92083
89575
  deleteRow: (params?: DocTablesDeleteRowBoundParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
92084
- moveRow: (params: DocTablesMoveRowBoundParams, options?: InvokeOptions) => Promise<DocTablesMoveRowResult>;
92085
89576
  setRowHeight: (params: DocTablesSetRowHeightBoundParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
92086
89577
  distributeRows: (params?: DocTablesDistributeRowsBoundParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
92087
89578
  setRowOptions: (params?: DocTablesSetRowOptionsBoundParams, options?: InvokeOptions) => Promise<DocTablesSetRowOptionsResult>;
@@ -92384,6 +89875,15 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
92384
89875
  close: (params?: DocCloseBoundParams, options?: InvokeOptions) => Promise<DocCloseResult>;
92385
89876
  insertTab: (params?: DocInsertTabBoundParams, options?: InvokeOptions) => Promise<DocInsertTabResult>;
92386
89877
  insertLineBreak: (params?: DocInsertLineBreakBoundParams, options?: InvokeOptions) => Promise<DocInsertLineBreakResult>;
89878
+ executeCode: (params?: DocExecuteCodeBoundParams, options?: InvokeOptions) => Promise<DocExecuteCodeResult>;
89879
+ preset: {
89880
+ list: (params?: DocPresetListBoundParams, options?: InvokeOptions) => Promise<DocPresetListResult>;
89881
+ getCatalog: (params?: DocPresetGetCatalogBoundParams, options?: InvokeOptions) => Promise<DocPresetGetCatalogResult>;
89882
+ getTools: (params: DocPresetGetToolsBoundParams, options?: InvokeOptions) => Promise<DocPresetGetToolsResult>;
89883
+ getSystemPrompt: (params?: DocPresetGetSystemPromptBoundParams, options?: InvokeOptions) => Promise<DocPresetGetSystemPromptResult>;
89884
+ getMcpPrompt: (params?: DocPresetGetMcpPromptBoundParams, options?: InvokeOptions) => Promise<DocPresetGetMcpPromptResult>;
89885
+ dispatch: (params: DocPresetDispatchBoundParams, options?: InvokeOptions) => Promise<DocPresetDispatchResult>;
89886
+ };
92387
89887
  };
92388
89888
  export type BoundDocApi = ReturnType<typeof createBoundDocApi>;
92389
89889
  //# sourceMappingURL=client.d.ts.map