@superdoc/sdk 2.21.0-next.1 → 2.21.0-next.10

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.
@@ -1546,7 +1546,55 @@ export interface DocInsertParams {
1546
1546
  requestSha256: string;
1547
1547
  analysisSha256: string;
1548
1548
  };
1549
+ value?: string;
1550
+ type?: "ooxml" | "text" | "markdown" | "html";
1551
+ namespaces?: Record<string, unknown>;
1552
+ sourcePartUri?: string;
1553
+ dependencies?: Array<{
1554
+ sourcePartUri: string;
1555
+ relationshipId: string;
1556
+ relationshipType: string;
1557
+ target: string;
1558
+ targetMode: "Internal" | "External";
1559
+ contentType: string | unknown;
1560
+ dataBase64?: string;
1561
+ }>;
1549
1562
  target?: ({
1563
+ kind: "block";
1564
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
1565
+ nodeId: string;
1566
+ story?: ({
1567
+ kind: "story";
1568
+ storyType: "body";
1569
+ }) | ({
1570
+ kind: "story";
1571
+ storyType: "headerFooterSlot";
1572
+ section: {
1573
+ kind: "section";
1574
+ sectionId: string;
1575
+ };
1576
+ headerFooterKind: "header" | "footer";
1577
+ variant: "default" | "first" | "even";
1578
+ resolution?: "effective" | "explicit";
1579
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1580
+ }) | ({
1581
+ kind: "story";
1582
+ storyType: "headerFooterPart";
1583
+ refId: string;
1584
+ }) | ({
1585
+ kind: "story";
1586
+ storyType: "footnote";
1587
+ noteId: string;
1588
+ }) | ({
1589
+ kind: "story";
1590
+ storyType: "endnote";
1591
+ noteId: string;
1592
+ }) | ({
1593
+ kind: "story";
1594
+ storyType: "textbox";
1595
+ textboxId: string;
1596
+ });
1597
+ }) | ({
1550
1598
  kind: "selection";
1551
1599
  start: ({
1552
1600
  kind: "text";
@@ -1730,7 +1778,375 @@ export interface DocInsertParams {
1730
1778
  textboxId: string;
1731
1779
  });
1732
1780
  coordinateSpace?: "visible" | "tracked";
1781
+ });
1782
+ in?: ({
1783
+ kind: "story";
1784
+ storyType: "body";
1733
1785
  }) | ({
1786
+ kind: "story";
1787
+ storyType: "headerFooterSlot";
1788
+ section: {
1789
+ kind: "section";
1790
+ sectionId: string;
1791
+ };
1792
+ headerFooterKind: "header" | "footer";
1793
+ variant: "default" | "first" | "even";
1794
+ resolution?: "effective" | "explicit";
1795
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1796
+ }) | ({
1797
+ kind: "story";
1798
+ storyType: "headerFooterPart";
1799
+ refId: string;
1800
+ }) | ({
1801
+ kind: "story";
1802
+ storyType: "footnote";
1803
+ noteId: string;
1804
+ }) | ({
1805
+ kind: "story";
1806
+ storyType: "endnote";
1807
+ noteId: string;
1808
+ }) | ({
1809
+ kind: "story";
1810
+ storyType: "textbox";
1811
+ textboxId: string;
1812
+ });
1813
+ placement?: "before" | "after" | "insideStart" | "insideEnd";
1814
+ capture?: {
1815
+ formatVersion: 1;
1816
+ snapshotId?: string;
1817
+ at: ({
1818
+ kind: "selection";
1819
+ start: ({
1820
+ kind: "text";
1821
+ blockId: string;
1822
+ offset: number;
1823
+ story?: ({
1824
+ kind: "story";
1825
+ storyType: "body";
1826
+ }) | ({
1827
+ kind: "story";
1828
+ storyType: "headerFooterSlot";
1829
+ section: {
1830
+ kind: "section";
1831
+ sectionId: string;
1832
+ };
1833
+ headerFooterKind: "header" | "footer";
1834
+ variant: "default" | "first" | "even";
1835
+ resolution?: "effective" | "explicit";
1836
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1837
+ }) | ({
1838
+ kind: "story";
1839
+ storyType: "headerFooterPart";
1840
+ refId: string;
1841
+ }) | ({
1842
+ kind: "story";
1843
+ storyType: "footnote";
1844
+ noteId: string;
1845
+ }) | ({
1846
+ kind: "story";
1847
+ storyType: "endnote";
1848
+ noteId: string;
1849
+ }) | ({
1850
+ kind: "story";
1851
+ storyType: "textbox";
1852
+ textboxId: string;
1853
+ });
1854
+ }) | ({
1855
+ kind: "nodeEdge";
1856
+ node: {
1857
+ kind: "block";
1858
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
1859
+ nodeId: string;
1860
+ story?: ({
1861
+ kind: "story";
1862
+ storyType: "body";
1863
+ }) | ({
1864
+ kind: "story";
1865
+ storyType: "headerFooterSlot";
1866
+ section: {
1867
+ kind: "section";
1868
+ sectionId: string;
1869
+ };
1870
+ headerFooterKind: "header" | "footer";
1871
+ variant: "default" | "first" | "even";
1872
+ resolution?: "effective" | "explicit";
1873
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1874
+ }) | ({
1875
+ kind: "story";
1876
+ storyType: "headerFooterPart";
1877
+ refId: string;
1878
+ }) | ({
1879
+ kind: "story";
1880
+ storyType: "footnote";
1881
+ noteId: string;
1882
+ }) | ({
1883
+ kind: "story";
1884
+ storyType: "endnote";
1885
+ noteId: string;
1886
+ }) | ({
1887
+ kind: "story";
1888
+ storyType: "textbox";
1889
+ textboxId: string;
1890
+ });
1891
+ };
1892
+ edge: "before" | "after";
1893
+ });
1894
+ end: ({
1895
+ kind: "text";
1896
+ blockId: string;
1897
+ offset: number;
1898
+ story?: ({
1899
+ kind: "story";
1900
+ storyType: "body";
1901
+ }) | ({
1902
+ kind: "story";
1903
+ storyType: "headerFooterSlot";
1904
+ section: {
1905
+ kind: "section";
1906
+ sectionId: string;
1907
+ };
1908
+ headerFooterKind: "header" | "footer";
1909
+ variant: "default" | "first" | "even";
1910
+ resolution?: "effective" | "explicit";
1911
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1912
+ }) | ({
1913
+ kind: "story";
1914
+ storyType: "headerFooterPart";
1915
+ refId: string;
1916
+ }) | ({
1917
+ kind: "story";
1918
+ storyType: "footnote";
1919
+ noteId: string;
1920
+ }) | ({
1921
+ kind: "story";
1922
+ storyType: "endnote";
1923
+ noteId: string;
1924
+ }) | ({
1925
+ kind: "story";
1926
+ storyType: "textbox";
1927
+ textboxId: string;
1928
+ });
1929
+ }) | ({
1930
+ kind: "nodeEdge";
1931
+ node: {
1932
+ kind: "block";
1933
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
1934
+ nodeId: string;
1935
+ story?: ({
1936
+ kind: "story";
1937
+ storyType: "body";
1938
+ }) | ({
1939
+ kind: "story";
1940
+ storyType: "headerFooterSlot";
1941
+ section: {
1942
+ kind: "section";
1943
+ sectionId: string;
1944
+ };
1945
+ headerFooterKind: "header" | "footer";
1946
+ variant: "default" | "first" | "even";
1947
+ resolution?: "effective" | "explicit";
1948
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1949
+ }) | ({
1950
+ kind: "story";
1951
+ storyType: "headerFooterPart";
1952
+ refId: string;
1953
+ }) | ({
1954
+ kind: "story";
1955
+ storyType: "footnote";
1956
+ noteId: string;
1957
+ }) | ({
1958
+ kind: "story";
1959
+ storyType: "endnote";
1960
+ noteId: string;
1961
+ }) | ({
1962
+ kind: "story";
1963
+ storyType: "textbox";
1964
+ textboxId: string;
1965
+ });
1966
+ };
1967
+ edge: "before" | "after";
1968
+ });
1969
+ story?: ({
1970
+ kind: "story";
1971
+ storyType: "body";
1972
+ }) | ({
1973
+ kind: "story";
1974
+ storyType: "headerFooterSlot";
1975
+ section: {
1976
+ kind: "section";
1977
+ sectionId: string;
1978
+ };
1979
+ headerFooterKind: "header" | "footer";
1980
+ variant: "default" | "first" | "even";
1981
+ resolution?: "effective" | "explicit";
1982
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1983
+ }) | ({
1984
+ kind: "story";
1985
+ storyType: "headerFooterPart";
1986
+ refId: string;
1987
+ }) | ({
1988
+ kind: "story";
1989
+ storyType: "footnote";
1990
+ noteId: string;
1991
+ }) | ({
1992
+ kind: "story";
1993
+ storyType: "endnote";
1994
+ noteId: string;
1995
+ }) | ({
1996
+ kind: "story";
1997
+ storyType: "textbox";
1998
+ textboxId: string;
1999
+ });
2000
+ coordinateSpace?: "visible" | "tracked";
2001
+ }) | ({
2002
+ kind: "tableCells";
2003
+ selectionMode?: "cells";
2004
+ isRectangular?: true;
2005
+ tableId: string;
2006
+ start: {
2007
+ rowIndex: number;
2008
+ columnIndex: number;
2009
+ };
2010
+ end: {
2011
+ rowIndex: number;
2012
+ columnIndex: number;
2013
+ };
2014
+ story?: ({
2015
+ kind: "story";
2016
+ storyType: "body";
2017
+ }) | ({
2018
+ kind: "story";
2019
+ storyType: "headerFooterSlot";
2020
+ section: {
2021
+ kind: "section";
2022
+ sectionId: string;
2023
+ };
2024
+ headerFooterKind: "header" | "footer";
2025
+ variant: "default" | "first" | "even";
2026
+ resolution?: "effective" | "explicit";
2027
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2028
+ }) | ({
2029
+ kind: "story";
2030
+ storyType: "headerFooterPart";
2031
+ refId: string;
2032
+ }) | ({
2033
+ kind: "story";
2034
+ storyType: "footnote";
2035
+ noteId: string;
2036
+ }) | ({
2037
+ kind: "story";
2038
+ storyType: "endnote";
2039
+ noteId: string;
2040
+ }) | ({
2041
+ kind: "story";
2042
+ storyType: "textbox";
2043
+ textboxId: string;
2044
+ });
2045
+ });
2046
+ evaluatedRevision: string;
2047
+ fragment: {
2048
+ placement: "inline" | "blocks" | "table";
2049
+ xml: string;
2050
+ namespaces: Record<string, unknown>;
2051
+ table?: {
2052
+ tableId: string;
2053
+ gridColumnCount: number;
2054
+ cells: Array<{
2055
+ rowIndex: number;
2056
+ columnIndex: number;
2057
+ gridSpan: number;
2058
+ vMerge: "none" | "restart" | "continue";
2059
+ }>;
2060
+ };
2061
+ };
2062
+ source: {
2063
+ story: (({
2064
+ kind: "story";
2065
+ storyType: "body";
2066
+ }) | ({
2067
+ kind: "story";
2068
+ storyType: "headerFooterSlot";
2069
+ section: {
2070
+ kind: "section";
2071
+ sectionId: string;
2072
+ };
2073
+ headerFooterKind: "header" | "footer";
2074
+ variant: "default" | "first" | "even";
2075
+ resolution?: "effective" | "explicit";
2076
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2077
+ }) | ({
2078
+ kind: "story";
2079
+ storyType: "headerFooterPart";
2080
+ refId: string;
2081
+ }) | ({
2082
+ kind: "story";
2083
+ storyType: "footnote";
2084
+ noteId: string;
2085
+ }) | ({
2086
+ kind: "story";
2087
+ storyType: "endnote";
2088
+ noteId: string;
2089
+ }) | ({
2090
+ kind: "story";
2091
+ storyType: "textbox";
2092
+ textboxId: string;
2093
+ })) | unknown;
2094
+ partUri: string;
2095
+ paragraphStyleId: string | unknown;
2096
+ packageRevision?: string;
2097
+ };
2098
+ context: {
2099
+ xml: Array<string>;
2100
+ tableMerges?: Array<{
2101
+ selectedRowIndex: number;
2102
+ columnIndex: number;
2103
+ restartRowIndex: number;
2104
+ restartCellPropertiesXml: string;
2105
+ }>;
2106
+ };
2107
+ dependencies: Array<{
2108
+ sourcePartUri: string;
2109
+ relationshipId: string;
2110
+ relationshipType: string;
2111
+ target: string;
2112
+ targetMode: "Internal" | "External";
2113
+ contentType: string | unknown;
2114
+ dataBase64?: string;
2115
+ }>;
2116
+ diagnostics: Array<{
2117
+ code: string;
2118
+ message: string;
2119
+ }>;
2120
+ };
2121
+ ref?: string;
2122
+ content?: Record<string, unknown> | Array<Record<string, unknown>>;
2123
+ nestingPolicy?: {
2124
+ tables?: "forbid" | "allow";
2125
+ };
2126
+ blockId?: string;
2127
+ start?: number;
2128
+ end?: number;
2129
+ valueFile?: string;
2130
+ offset?: number;
2131
+ }
2132
+ export interface DocReplaceParams {
2133
+ doc?: string;
2134
+ sessionId?: string;
2135
+ out?: string;
2136
+ force?: boolean;
2137
+ expectedRevision?: string;
2138
+ changeMode?: string;
2139
+ dryRun?: boolean;
2140
+ supportCheck?: {
2141
+ version: "sd-html-markdown-check/1";
2142
+ operation: "insert" | "replace";
2143
+ evaluatedRevision: string;
2144
+ requestSha256: string;
2145
+ analysisSha256: string;
2146
+ };
2147
+ replaceMode?: "contents";
2148
+ expectedSnapshotId?: string;
2149
+ target?: ({
1734
2150
  kind: "block";
1735
2151
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
1736
2152
  nodeId: string;
@@ -1765,7 +2181,209 @@ export interface DocInsertParams {
1765
2181
  storyType: "textbox";
1766
2182
  textboxId: string;
1767
2183
  });
2184
+ }) | ({
2185
+ kind: "selection";
2186
+ start: ({
2187
+ kind: "text";
2188
+ blockId: string;
2189
+ offset: number;
2190
+ story?: ({
2191
+ kind: "story";
2192
+ storyType: "body";
2193
+ }) | ({
2194
+ kind: "story";
2195
+ storyType: "headerFooterSlot";
2196
+ section: {
2197
+ kind: "section";
2198
+ sectionId: string;
2199
+ };
2200
+ headerFooterKind: "header" | "footer";
2201
+ variant: "default" | "first" | "even";
2202
+ resolution?: "effective" | "explicit";
2203
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2204
+ }) | ({
2205
+ kind: "story";
2206
+ storyType: "headerFooterPart";
2207
+ refId: string;
2208
+ }) | ({
2209
+ kind: "story";
2210
+ storyType: "footnote";
2211
+ noteId: string;
2212
+ }) | ({
2213
+ kind: "story";
2214
+ storyType: "endnote";
2215
+ noteId: string;
2216
+ }) | ({
2217
+ kind: "story";
2218
+ storyType: "textbox";
2219
+ textboxId: string;
2220
+ });
2221
+ }) | ({
2222
+ kind: "nodeEdge";
2223
+ node: {
2224
+ kind: "block";
2225
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
2226
+ nodeId: string;
2227
+ story?: ({
2228
+ kind: "story";
2229
+ storyType: "body";
2230
+ }) | ({
2231
+ kind: "story";
2232
+ storyType: "headerFooterSlot";
2233
+ section: {
2234
+ kind: "section";
2235
+ sectionId: string;
2236
+ };
2237
+ headerFooterKind: "header" | "footer";
2238
+ variant: "default" | "first" | "even";
2239
+ resolution?: "effective" | "explicit";
2240
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2241
+ }) | ({
2242
+ kind: "story";
2243
+ storyType: "headerFooterPart";
2244
+ refId: string;
2245
+ }) | ({
2246
+ kind: "story";
2247
+ storyType: "footnote";
2248
+ noteId: string;
2249
+ }) | ({
2250
+ kind: "story";
2251
+ storyType: "endnote";
2252
+ noteId: string;
2253
+ }) | ({
2254
+ kind: "story";
2255
+ storyType: "textbox";
2256
+ textboxId: string;
2257
+ });
2258
+ };
2259
+ edge: "before" | "after";
2260
+ });
2261
+ end: ({
2262
+ kind: "text";
2263
+ blockId: string;
2264
+ offset: number;
2265
+ story?: ({
2266
+ kind: "story";
2267
+ storyType: "body";
2268
+ }) | ({
2269
+ kind: "story";
2270
+ storyType: "headerFooterSlot";
2271
+ section: {
2272
+ kind: "section";
2273
+ sectionId: string;
2274
+ };
2275
+ headerFooterKind: "header" | "footer";
2276
+ variant: "default" | "first" | "even";
2277
+ resolution?: "effective" | "explicit";
2278
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2279
+ }) | ({
2280
+ kind: "story";
2281
+ storyType: "headerFooterPart";
2282
+ refId: string;
2283
+ }) | ({
2284
+ kind: "story";
2285
+ storyType: "footnote";
2286
+ noteId: string;
2287
+ }) | ({
2288
+ kind: "story";
2289
+ storyType: "endnote";
2290
+ noteId: string;
2291
+ }) | ({
2292
+ kind: "story";
2293
+ storyType: "textbox";
2294
+ textboxId: string;
2295
+ });
2296
+ }) | ({
2297
+ kind: "nodeEdge";
2298
+ node: {
2299
+ kind: "block";
2300
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
2301
+ nodeId: string;
2302
+ story?: ({
2303
+ kind: "story";
2304
+ storyType: "body";
2305
+ }) | ({
2306
+ kind: "story";
2307
+ storyType: "headerFooterSlot";
2308
+ section: {
2309
+ kind: "section";
2310
+ sectionId: string;
2311
+ };
2312
+ headerFooterKind: "header" | "footer";
2313
+ variant: "default" | "first" | "even";
2314
+ resolution?: "effective" | "explicit";
2315
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2316
+ }) | ({
2317
+ kind: "story";
2318
+ storyType: "headerFooterPart";
2319
+ refId: string;
2320
+ }) | ({
2321
+ kind: "story";
2322
+ storyType: "footnote";
2323
+ noteId: string;
2324
+ }) | ({
2325
+ kind: "story";
2326
+ storyType: "endnote";
2327
+ noteId: string;
2328
+ }) | ({
2329
+ kind: "story";
2330
+ storyType: "textbox";
2331
+ textboxId: string;
2332
+ });
2333
+ };
2334
+ edge: "before" | "after";
2335
+ });
2336
+ story?: ({
2337
+ kind: "story";
2338
+ storyType: "body";
2339
+ }) | ({
2340
+ kind: "story";
2341
+ storyType: "headerFooterSlot";
2342
+ section: {
2343
+ kind: "section";
2344
+ sectionId: string;
2345
+ };
2346
+ headerFooterKind: "header" | "footer";
2347
+ variant: "default" | "first" | "even";
2348
+ resolution?: "effective" | "explicit";
2349
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2350
+ }) | ({
2351
+ kind: "story";
2352
+ storyType: "headerFooterPart";
2353
+ refId: string;
2354
+ }) | ({
2355
+ kind: "story";
2356
+ storyType: "footnote";
2357
+ noteId: string;
2358
+ }) | ({
2359
+ kind: "story";
2360
+ storyType: "endnote";
2361
+ noteId: string;
2362
+ }) | ({
2363
+ kind: "story";
2364
+ storyType: "textbox";
2365
+ textboxId: string;
2366
+ });
2367
+ coordinateSpace?: "visible" | "tracked";
2368
+ }) | ({
2369
+ kind: "story";
2370
+ storyType: "body";
1768
2371
  });
2372
+ text?: string;
2373
+ snapshotId?: string;
2374
+ value?: string;
2375
+ type?: "ooxml" | "html" | "markdown";
2376
+ namespaces?: Record<string, unknown>;
2377
+ sourcePartUri?: string;
2378
+ dependencies?: Array<{
2379
+ sourcePartUri: string;
2380
+ relationshipId: string;
2381
+ relationshipType: string;
2382
+ target: string;
2383
+ targetMode: "Internal" | "External";
2384
+ contentType: string | unknown;
2385
+ dataBase64?: string;
2386
+ }>;
1769
2387
  in?: ({
1770
2388
  kind: "story";
1771
2389
  storyType: "body";
@@ -1797,41 +2415,164 @@ export interface DocInsertParams {
1797
2415
  storyType: "textbox";
1798
2416
  textboxId: string;
1799
2417
  });
1800
- value?: string;
1801
- type?: "text" | "markdown" | "html";
1802
- ref?: string;
1803
- placement?: "before" | "after" | "insideStart" | "insideEnd";
1804
- content?: Record<string, unknown> | Array<Record<string, unknown>>;
1805
2418
  nestingPolicy?: {
1806
2419
  tables?: "forbid" | "allow";
1807
2420
  };
1808
- blockId?: string;
1809
- start?: number;
1810
- end?: number;
1811
- valueFile?: string;
1812
- offset?: number;
1813
- }
1814
- export interface DocReplaceParams {
1815
- doc?: string;
1816
- sessionId?: string;
1817
- out?: string;
1818
- force?: boolean;
1819
- expectedRevision?: string;
1820
- changeMode?: string;
1821
- dryRun?: boolean;
1822
- supportCheck?: {
1823
- version: "sd-html-markdown-check/1";
1824
- operation: "insert" | "replace";
1825
- evaluatedRevision: string;
1826
- requestSha256: string;
1827
- analysisSha256: string;
1828
- };
1829
- target?: ({
1830
- kind: "selection";
1831
- start: ({
1832
- kind: "text";
1833
- blockId: string;
1834
- offset: number;
2421
+ capture?: {
2422
+ formatVersion: 1;
2423
+ snapshotId?: string;
2424
+ at: ({
2425
+ kind: "selection";
2426
+ start: ({
2427
+ kind: "text";
2428
+ blockId: string;
2429
+ offset: number;
2430
+ story?: ({
2431
+ kind: "story";
2432
+ storyType: "body";
2433
+ }) | ({
2434
+ kind: "story";
2435
+ storyType: "headerFooterSlot";
2436
+ section: {
2437
+ kind: "section";
2438
+ sectionId: string;
2439
+ };
2440
+ headerFooterKind: "header" | "footer";
2441
+ variant: "default" | "first" | "even";
2442
+ resolution?: "effective" | "explicit";
2443
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2444
+ }) | ({
2445
+ kind: "story";
2446
+ storyType: "headerFooterPart";
2447
+ refId: string;
2448
+ }) | ({
2449
+ kind: "story";
2450
+ storyType: "footnote";
2451
+ noteId: string;
2452
+ }) | ({
2453
+ kind: "story";
2454
+ storyType: "endnote";
2455
+ noteId: string;
2456
+ }) | ({
2457
+ kind: "story";
2458
+ storyType: "textbox";
2459
+ textboxId: string;
2460
+ });
2461
+ }) | ({
2462
+ kind: "nodeEdge";
2463
+ node: {
2464
+ kind: "block";
2465
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
2466
+ nodeId: string;
2467
+ story?: ({
2468
+ kind: "story";
2469
+ storyType: "body";
2470
+ }) | ({
2471
+ kind: "story";
2472
+ storyType: "headerFooterSlot";
2473
+ section: {
2474
+ kind: "section";
2475
+ sectionId: string;
2476
+ };
2477
+ headerFooterKind: "header" | "footer";
2478
+ variant: "default" | "first" | "even";
2479
+ resolution?: "effective" | "explicit";
2480
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2481
+ }) | ({
2482
+ kind: "story";
2483
+ storyType: "headerFooterPart";
2484
+ refId: string;
2485
+ }) | ({
2486
+ kind: "story";
2487
+ storyType: "footnote";
2488
+ noteId: string;
2489
+ }) | ({
2490
+ kind: "story";
2491
+ storyType: "endnote";
2492
+ noteId: string;
2493
+ }) | ({
2494
+ kind: "story";
2495
+ storyType: "textbox";
2496
+ textboxId: string;
2497
+ });
2498
+ };
2499
+ edge: "before" | "after";
2500
+ });
2501
+ end: ({
2502
+ kind: "text";
2503
+ blockId: string;
2504
+ offset: number;
2505
+ story?: ({
2506
+ kind: "story";
2507
+ storyType: "body";
2508
+ }) | ({
2509
+ kind: "story";
2510
+ storyType: "headerFooterSlot";
2511
+ section: {
2512
+ kind: "section";
2513
+ sectionId: string;
2514
+ };
2515
+ headerFooterKind: "header" | "footer";
2516
+ variant: "default" | "first" | "even";
2517
+ resolution?: "effective" | "explicit";
2518
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2519
+ }) | ({
2520
+ kind: "story";
2521
+ storyType: "headerFooterPart";
2522
+ refId: string;
2523
+ }) | ({
2524
+ kind: "story";
2525
+ storyType: "footnote";
2526
+ noteId: string;
2527
+ }) | ({
2528
+ kind: "story";
2529
+ storyType: "endnote";
2530
+ noteId: string;
2531
+ }) | ({
2532
+ kind: "story";
2533
+ storyType: "textbox";
2534
+ textboxId: string;
2535
+ });
2536
+ }) | ({
2537
+ kind: "nodeEdge";
2538
+ node: {
2539
+ kind: "block";
2540
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
2541
+ nodeId: string;
2542
+ story?: ({
2543
+ kind: "story";
2544
+ storyType: "body";
2545
+ }) | ({
2546
+ kind: "story";
2547
+ storyType: "headerFooterSlot";
2548
+ section: {
2549
+ kind: "section";
2550
+ sectionId: string;
2551
+ };
2552
+ headerFooterKind: "header" | "footer";
2553
+ variant: "default" | "first" | "even";
2554
+ resolution?: "effective" | "explicit";
2555
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2556
+ }) | ({
2557
+ kind: "story";
2558
+ storyType: "headerFooterPart";
2559
+ refId: string;
2560
+ }) | ({
2561
+ kind: "story";
2562
+ storyType: "footnote";
2563
+ noteId: string;
2564
+ }) | ({
2565
+ kind: "story";
2566
+ storyType: "endnote";
2567
+ noteId: string;
2568
+ }) | ({
2569
+ kind: "story";
2570
+ storyType: "textbox";
2571
+ textboxId: string;
2572
+ });
2573
+ };
2574
+ edge: "before" | "after";
2575
+ });
1835
2576
  story?: ({
1836
2577
  kind: "story";
1837
2578
  storyType: "body";
@@ -1863,50 +2604,20 @@ export interface DocReplaceParams {
1863
2604
  storyType: "textbox";
1864
2605
  textboxId: string;
1865
2606
  });
2607
+ coordinateSpace?: "visible" | "tracked";
1866
2608
  }) | ({
1867
- kind: "nodeEdge";
1868
- node: {
1869
- kind: "block";
1870
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
1871
- nodeId: string;
1872
- story?: ({
1873
- kind: "story";
1874
- storyType: "body";
1875
- }) | ({
1876
- kind: "story";
1877
- storyType: "headerFooterSlot";
1878
- section: {
1879
- kind: "section";
1880
- sectionId: string;
1881
- };
1882
- headerFooterKind: "header" | "footer";
1883
- variant: "default" | "first" | "even";
1884
- resolution?: "effective" | "explicit";
1885
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1886
- }) | ({
1887
- kind: "story";
1888
- storyType: "headerFooterPart";
1889
- refId: string;
1890
- }) | ({
1891
- kind: "story";
1892
- storyType: "footnote";
1893
- noteId: string;
1894
- }) | ({
1895
- kind: "story";
1896
- storyType: "endnote";
1897
- noteId: string;
1898
- }) | ({
1899
- kind: "story";
1900
- storyType: "textbox";
1901
- textboxId: string;
1902
- });
2609
+ kind: "tableCells";
2610
+ selectionMode?: "cells";
2611
+ isRectangular?: true;
2612
+ tableId: string;
2613
+ start: {
2614
+ rowIndex: number;
2615
+ columnIndex: number;
2616
+ };
2617
+ end: {
2618
+ rowIndex: number;
2619
+ columnIndex: number;
1903
2620
  };
1904
- edge: "before" | "after";
1905
- });
1906
- end: ({
1907
- kind: "text";
1908
- blockId: string;
1909
- offset: number;
1910
2621
  story?: ({
1911
2622
  kind: "story";
1912
2623
  storyType: "body";
@@ -1938,157 +2649,85 @@ export interface DocReplaceParams {
1938
2649
  storyType: "textbox";
1939
2650
  textboxId: string;
1940
2651
  });
1941
- }) | ({
1942
- kind: "nodeEdge";
1943
- node: {
1944
- kind: "block";
1945
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
1946
- nodeId: string;
1947
- story?: ({
1948
- kind: "story";
1949
- storyType: "body";
1950
- }) | ({
1951
- kind: "story";
1952
- storyType: "headerFooterSlot";
1953
- section: {
1954
- kind: "section";
1955
- sectionId: string;
1956
- };
1957
- headerFooterKind: "header" | "footer";
1958
- variant: "default" | "first" | "even";
1959
- resolution?: "effective" | "explicit";
1960
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1961
- }) | ({
1962
- kind: "story";
1963
- storyType: "headerFooterPart";
1964
- refId: string;
1965
- }) | ({
1966
- kind: "story";
1967
- storyType: "footnote";
1968
- noteId: string;
1969
- }) | ({
1970
- kind: "story";
1971
- storyType: "endnote";
1972
- noteId: string;
1973
- }) | ({
1974
- kind: "story";
1975
- storyType: "textbox";
1976
- textboxId: string;
1977
- });
1978
- };
1979
- edge: "before" | "after";
1980
- });
1981
- story?: ({
1982
- kind: "story";
1983
- storyType: "body";
1984
- }) | ({
1985
- kind: "story";
1986
- storyType: "headerFooterSlot";
1987
- section: {
1988
- kind: "section";
1989
- sectionId: string;
1990
- };
1991
- headerFooterKind: "header" | "footer";
1992
- variant: "default" | "first" | "even";
1993
- resolution?: "effective" | "explicit";
1994
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
1995
- }) | ({
1996
- kind: "story";
1997
- storyType: "headerFooterPart";
1998
- refId: string;
1999
- }) | ({
2000
- kind: "story";
2001
- storyType: "footnote";
2002
- noteId: string;
2003
- }) | ({
2004
- kind: "story";
2005
- storyType: "endnote";
2006
- noteId: string;
2007
- }) | ({
2008
- kind: "story";
2009
- storyType: "textbox";
2010
- textboxId: string;
2011
2652
  });
2012
- coordinateSpace?: "visible" | "tracked";
2013
- }) | ({
2014
- kind: "story";
2015
- storyType: "body";
2016
- }) | ({
2017
- kind: "block";
2018
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
2019
- nodeId: string;
2020
- story?: ({
2021
- kind: "story";
2022
- storyType: "body";
2023
- }) | ({
2024
- kind: "story";
2025
- storyType: "headerFooterSlot";
2026
- section: {
2027
- kind: "section";
2028
- sectionId: string;
2653
+ evaluatedRevision: string;
2654
+ fragment: {
2655
+ placement: "inline" | "blocks" | "table";
2656
+ xml: string;
2657
+ namespaces: Record<string, unknown>;
2658
+ table?: {
2659
+ tableId: string;
2660
+ gridColumnCount: number;
2661
+ cells: Array<{
2662
+ rowIndex: number;
2663
+ columnIndex: number;
2664
+ gridSpan: number;
2665
+ vMerge: "none" | "restart" | "continue";
2666
+ }>;
2029
2667
  };
2030
- headerFooterKind: "header" | "footer";
2031
- variant: "default" | "first" | "even";
2032
- resolution?: "effective" | "explicit";
2033
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2034
- }) | ({
2035
- kind: "story";
2036
- storyType: "headerFooterPart";
2037
- refId: string;
2038
- }) | ({
2039
- kind: "story";
2040
- storyType: "footnote";
2041
- noteId: string;
2042
- }) | ({
2043
- kind: "story";
2044
- storyType: "endnote";
2045
- noteId: string;
2046
- }) | ({
2047
- kind: "story";
2048
- storyType: "textbox";
2049
- textboxId: string;
2050
- });
2051
- });
2052
- in?: ({
2053
- kind: "story";
2054
- storyType: "body";
2055
- }) | ({
2056
- kind: "story";
2057
- storyType: "headerFooterSlot";
2058
- section: {
2059
- kind: "section";
2060
- sectionId: string;
2061
2668
  };
2062
- headerFooterKind: "header" | "footer";
2063
- variant: "default" | "first" | "even";
2064
- resolution?: "effective" | "explicit";
2065
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2066
- }) | ({
2067
- kind: "story";
2068
- storyType: "headerFooterPart";
2069
- refId: string;
2070
- }) | ({
2071
- kind: "story";
2072
- storyType: "footnote";
2073
- noteId: string;
2074
- }) | ({
2075
- kind: "story";
2076
- storyType: "endnote";
2077
- noteId: string;
2078
- }) | ({
2079
- kind: "story";
2080
- storyType: "textbox";
2081
- textboxId: string;
2082
- });
2083
- text?: string;
2669
+ source: {
2670
+ story: (({
2671
+ kind: "story";
2672
+ storyType: "body";
2673
+ }) | ({
2674
+ kind: "story";
2675
+ storyType: "headerFooterSlot";
2676
+ section: {
2677
+ kind: "section";
2678
+ sectionId: string;
2679
+ };
2680
+ headerFooterKind: "header" | "footer";
2681
+ variant: "default" | "first" | "even";
2682
+ resolution?: "effective" | "explicit";
2683
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
2684
+ }) | ({
2685
+ kind: "story";
2686
+ storyType: "headerFooterPart";
2687
+ refId: string;
2688
+ }) | ({
2689
+ kind: "story";
2690
+ storyType: "footnote";
2691
+ noteId: string;
2692
+ }) | ({
2693
+ kind: "story";
2694
+ storyType: "endnote";
2695
+ noteId: string;
2696
+ }) | ({
2697
+ kind: "story";
2698
+ storyType: "textbox";
2699
+ textboxId: string;
2700
+ })) | unknown;
2701
+ partUri: string;
2702
+ paragraphStyleId: string | unknown;
2703
+ packageRevision?: string;
2704
+ };
2705
+ context: {
2706
+ xml: Array<string>;
2707
+ tableMerges?: Array<{
2708
+ selectedRowIndex: number;
2709
+ columnIndex: number;
2710
+ restartRowIndex: number;
2711
+ restartCellPropertiesXml: string;
2712
+ }>;
2713
+ };
2714
+ dependencies: Array<{
2715
+ sourcePartUri: string;
2716
+ relationshipId: string;
2717
+ relationshipType: string;
2718
+ target: string;
2719
+ targetMode: "Internal" | "External";
2720
+ contentType: string | unknown;
2721
+ dataBase64?: string;
2722
+ }>;
2723
+ diagnostics: Array<{
2724
+ code: string;
2725
+ message: string;
2726
+ }>;
2727
+ };
2084
2728
  expectedText?: string;
2085
2729
  ref?: string;
2086
2730
  content?: Record<string, unknown> | Array<Record<string, unknown>>;
2087
- nestingPolicy?: {
2088
- tables?: "forbid" | "allow";
2089
- };
2090
- value?: string;
2091
- type?: "html" | "markdown";
2092
2731
  blockId?: string;
2093
2732
  start?: number;
2094
2733
  end?: number;
@@ -19168,9 +19807,15 @@ export interface DocSelectionCurrentParams {
19168
19807
  sessionId?: string;
19169
19808
  includeText?: boolean;
19170
19809
  }
19810
+ export interface DocSelectionReleaseSnapshotParams {
19811
+ doc?: string;
19812
+ sessionId?: string;
19813
+ snapshotId: string;
19814
+ }
19171
19815
  export interface DocSelectionExtractOoxmlParams {
19172
19816
  doc?: string;
19173
19817
  sessionId?: string;
19818
+ retain?: boolean;
19174
19819
  at?: ({
19175
19820
  kind: "selection";
19176
19821
  start: ({
@@ -19357,6 +20002,8 @@ export interface DocSelectionExtractOoxmlParams {
19357
20002
  coordinateSpace?: "visible" | "tracked";
19358
20003
  }) | ({
19359
20004
  kind: "tableCells";
20005
+ selectionMode?: "cells";
20006
+ isRectangular?: true;
19360
20007
  tableId: string;
19361
20008
  start: {
19362
20009
  rowIndex: number;
@@ -23634,14 +24281,18 @@ export interface DocCapabilitiesCheckParams {
23634
24281
  });
23635
24282
  includeSourceMap?: boolean;
23636
24283
  });
23637
- options?: {
24284
+ options?: ({
23638
24285
  changeMode?: "direct" | "tracked";
23639
- };
24286
+ }) | ({
24287
+ changeMode?: "direct" | "tracked";
24288
+ replaceMode?: "contents";
24289
+ expectedSnapshotId?: string;
24290
+ });
23640
24291
  }
23641
24292
  export interface DocCapabilitiesResolveParams {
23642
24293
  doc?: string;
23643
24294
  sessionId?: string;
23644
- operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "styles.apply" | "styles.getCatalog" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.extractOoxml" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
24295
+ operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "styles.apply" | "styles.getCatalog" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
23645
24296
  input?: unknown;
23646
24297
  options?: unknown;
23647
24298
  }
@@ -34512,6 +35163,7 @@ export type DocExtractResult = {
34512
35163
  };
34513
35164
  export type DocClearContentResult = {
34514
35165
  success: true;
35166
+ appliedChangeMode?: "direct" | "tracked";
34515
35167
  id?: string;
34516
35168
  inserted?: Array<({
34517
35169
  kind: "entity";
@@ -35836,6 +36488,7 @@ export type DocInsertResult = {
35836
36488
  coordinateSpace?: "visible" | "tracked";
35837
36489
  };
35838
36490
  };
36491
+ appliedChangeMode?: "direct" | "tracked";
35839
36492
  id?: string;
35840
36493
  inserted?: Array<({
35841
36494
  kind: "entity";
@@ -37188,6 +37841,7 @@ export type DocReplaceResult = {
37188
37841
  coordinateSpace?: "visible" | "tracked";
37189
37842
  };
37190
37843
  };
37844
+ appliedChangeMode?: "direct" | "tracked";
37191
37845
  id?: string;
37192
37846
  inserted?: Array<({
37193
37847
  kind: "entity";
@@ -38271,6 +38925,7 @@ export type DocReplaceResult = {
38271
38925
  };
38272
38926
  export type DocDeleteResult = {
38273
38927
  success: true;
38928
+ appliedChangeMode?: "direct" | "tracked";
38274
38929
  resolution: {
38275
38930
  requestedTarget?: {
38276
38931
  kind: "text";
@@ -39164,6 +39819,7 @@ export type DocDeleteResult = {
39164
39819
  };
39165
39820
  export type DocFormatRangeResult = {
39166
39821
  success: true;
39822
+ appliedChangeMode?: "direct" | "tracked";
39167
39823
  resolution: {
39168
39824
  requestedTarget?: {
39169
39825
  kind: "text";
@@ -40104,6 +40760,7 @@ export type DocBlocksListResult = {
40104
40760
  };
40105
40761
  export type DocBlocksDeleteResult = {
40106
40762
  success: true;
40763
+ appliedChangeMode?: "direct" | "tracked";
40107
40764
  deleted: {
40108
40765
  kind: "block";
40109
40766
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "sdt";
@@ -40335,6 +40992,7 @@ export type DocBlocksDeleteResult = {
40335
40992
  };
40336
40993
  export type DocBlocksDeleteRangeResult = {
40337
40994
  success: true;
40995
+ appliedChangeMode?: "direct" | "tracked";
40338
40996
  deletedCount: number;
40339
40997
  deletedBlocks: Array<unknown>;
40340
40998
  revision: {
@@ -40567,6 +41225,7 @@ export type DocBlocksDeleteRangeResult = {
40567
41225
  };
40568
41226
  export type DocBlocksSplitResult = {
40569
41227
  success: true;
41228
+ appliedChangeMode?: "direct" | "tracked";
40570
41229
  inserted: {
40571
41230
  kind: "block";
40572
41231
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
@@ -40911,6 +41570,7 @@ export type DocBlocksSplitResult = {
40911
41570
  };
40912
41571
  export type DocBlocksMergeResult = {
40913
41572
  success: true;
41573
+ appliedChangeMode?: "direct" | "tracked";
40914
41574
  removed: {
40915
41575
  kind: "block";
40916
41576
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
@@ -41255,6 +41915,7 @@ export type DocBlocksMergeResult = {
41255
41915
  };
41256
41916
  export type DocBlocksMoveResult = {
41257
41917
  success: true;
41918
+ appliedChangeMode?: "direct" | "tracked";
41258
41919
  moved: {
41259
41920
  kind: "block";
41260
41921
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
@@ -41562,6 +42223,7 @@ export type DocBlocksMoveResult = {
41562
42223
  };
41563
42224
  export type DocFormatApplyResult = {
41564
42225
  success: true;
42226
+ appliedChangeMode?: "direct" | "tracked";
41565
42227
  resolution: {
41566
42228
  requestedTarget?: {
41567
42229
  kind: "text";
@@ -42455,6 +43117,7 @@ export type DocFormatApplyResult = {
42455
43117
  };
42456
43118
  export type DocFormatBoldResult = {
42457
43119
  success: true;
43120
+ appliedChangeMode?: "direct" | "tracked";
42458
43121
  resolution: {
42459
43122
  requestedTarget?: {
42460
43123
  kind: "text";
@@ -43348,6 +44011,7 @@ export type DocFormatBoldResult = {
43348
44011
  };
43349
44012
  export type DocFormatItalicResult = {
43350
44013
  success: true;
44014
+ appliedChangeMode?: "direct" | "tracked";
43351
44015
  resolution: {
43352
44016
  requestedTarget?: {
43353
44017
  kind: "text";
@@ -44241,6 +44905,7 @@ export type DocFormatItalicResult = {
44241
44905
  };
44242
44906
  export type DocFormatStrikeResult = {
44243
44907
  success: true;
44908
+ appliedChangeMode?: "direct" | "tracked";
44244
44909
  resolution: {
44245
44910
  requestedTarget?: {
44246
44911
  kind: "text";
@@ -45134,6 +45799,7 @@ export type DocFormatStrikeResult = {
45134
45799
  };
45135
45800
  export type DocFormatUnderlineResult = {
45136
45801
  success: true;
45802
+ appliedChangeMode?: "direct" | "tracked";
45137
45803
  resolution: {
45138
45804
  requestedTarget?: {
45139
45805
  kind: "text";
@@ -46027,6 +46693,7 @@ export type DocFormatUnderlineResult = {
46027
46693
  };
46028
46694
  export type DocFormatHighlightResult = {
46029
46695
  success: true;
46696
+ appliedChangeMode?: "direct" | "tracked";
46030
46697
  resolution: {
46031
46698
  requestedTarget?: {
46032
46699
  kind: "text";
@@ -46920,6 +47587,7 @@ export type DocFormatHighlightResult = {
46920
47587
  };
46921
47588
  export type DocFormatColorResult = {
46922
47589
  success: true;
47590
+ appliedChangeMode?: "direct" | "tracked";
46923
47591
  resolution: {
46924
47592
  requestedTarget?: {
46925
47593
  kind: "text";
@@ -47813,6 +48481,7 @@ export type DocFormatColorResult = {
47813
48481
  };
47814
48482
  export type DocFormatFontSizeResult = {
47815
48483
  success: true;
48484
+ appliedChangeMode?: "direct" | "tracked";
47816
48485
  resolution: {
47817
48486
  requestedTarget?: {
47818
48487
  kind: "text";
@@ -48706,6 +49375,7 @@ export type DocFormatFontSizeResult = {
48706
49375
  };
48707
49376
  export type DocFormatFontFamilyResult = {
48708
49377
  success: true;
49378
+ appliedChangeMode?: "direct" | "tracked";
48709
49379
  resolution: {
48710
49380
  requestedTarget?: {
48711
49381
  kind: "text";
@@ -49599,6 +50269,7 @@ export type DocFormatFontFamilyResult = {
49599
50269
  };
49600
50270
  export type DocFormatLetterSpacingResult = {
49601
50271
  success: true;
50272
+ appliedChangeMode?: "direct" | "tracked";
49602
50273
  resolution: {
49603
50274
  requestedTarget?: {
49604
50275
  kind: "text";
@@ -50492,6 +51163,7 @@ export type DocFormatLetterSpacingResult = {
50492
51163
  };
50493
51164
  export type DocFormatVertAlignResult = {
50494
51165
  success: true;
51166
+ appliedChangeMode?: "direct" | "tracked";
50495
51167
  resolution: {
50496
51168
  requestedTarget?: {
50497
51169
  kind: "text";
@@ -51385,6 +52057,7 @@ export type DocFormatVertAlignResult = {
51385
52057
  };
51386
52058
  export type DocFormatPositionResult = {
51387
52059
  success: true;
52060
+ appliedChangeMode?: "direct" | "tracked";
51388
52061
  resolution: {
51389
52062
  requestedTarget?: {
51390
52063
  kind: "text";
@@ -52278,6 +52951,7 @@ export type DocFormatPositionResult = {
52278
52951
  };
52279
52952
  export type DocFormatDstrikeResult = {
52280
52953
  success: true;
52954
+ appliedChangeMode?: "direct" | "tracked";
52281
52955
  resolution: {
52282
52956
  requestedTarget?: {
52283
52957
  kind: "text";
@@ -53171,6 +53845,7 @@ export type DocFormatDstrikeResult = {
53171
53845
  };
53172
53846
  export type DocFormatSmallCapsResult = {
53173
53847
  success: true;
53848
+ appliedChangeMode?: "direct" | "tracked";
53174
53849
  resolution: {
53175
53850
  requestedTarget?: {
53176
53851
  kind: "text";
@@ -54064,6 +54739,7 @@ export type DocFormatSmallCapsResult = {
54064
54739
  };
54065
54740
  export type DocFormatCapsResult = {
54066
54741
  success: true;
54742
+ appliedChangeMode?: "direct" | "tracked";
54067
54743
  resolution: {
54068
54744
  requestedTarget?: {
54069
54745
  kind: "text";
@@ -54957,6 +55633,7 @@ export type DocFormatCapsResult = {
54957
55633
  };
54958
55634
  export type DocFormatShadingResult = {
54959
55635
  success: true;
55636
+ appliedChangeMode?: "direct" | "tracked";
54960
55637
  resolution: {
54961
55638
  requestedTarget?: {
54962
55639
  kind: "text";
@@ -55850,6 +56527,7 @@ export type DocFormatShadingResult = {
55850
56527
  };
55851
56528
  export type DocFormatBorderResult = {
55852
56529
  success: true;
56530
+ appliedChangeMode?: "direct" | "tracked";
55853
56531
  resolution: {
55854
56532
  requestedTarget?: {
55855
56533
  kind: "text";
@@ -56743,6 +57421,7 @@ export type DocFormatBorderResult = {
56743
57421
  };
56744
57422
  export type DocFormatOutlineResult = {
56745
57423
  success: true;
57424
+ appliedChangeMode?: "direct" | "tracked";
56746
57425
  resolution: {
56747
57426
  requestedTarget?: {
56748
57427
  kind: "text";
@@ -57636,6 +58315,7 @@ export type DocFormatOutlineResult = {
57636
58315
  };
57637
58316
  export type DocFormatShadowResult = {
57638
58317
  success: true;
58318
+ appliedChangeMode?: "direct" | "tracked";
57639
58319
  resolution: {
57640
58320
  requestedTarget?: {
57641
58321
  kind: "text";
@@ -58529,6 +59209,7 @@ export type DocFormatShadowResult = {
58529
59209
  };
58530
59210
  export type DocFormatEmbossResult = {
58531
59211
  success: true;
59212
+ appliedChangeMode?: "direct" | "tracked";
58532
59213
  resolution: {
58533
59214
  requestedTarget?: {
58534
59215
  kind: "text";
@@ -59422,6 +60103,7 @@ export type DocFormatEmbossResult = {
59422
60103
  };
59423
60104
  export type DocFormatImprintResult = {
59424
60105
  success: true;
60106
+ appliedChangeMode?: "direct" | "tracked";
59425
60107
  resolution: {
59426
60108
  requestedTarget?: {
59427
60109
  kind: "text";
@@ -60315,6 +60997,7 @@ export type DocFormatImprintResult = {
60315
60997
  };
60316
60998
  export type DocFormatCharScaleResult = {
60317
60999
  success: true;
61000
+ appliedChangeMode?: "direct" | "tracked";
60318
61001
  resolution: {
60319
61002
  requestedTarget?: {
60320
61003
  kind: "text";
@@ -61208,6 +61891,7 @@ export type DocFormatCharScaleResult = {
61208
61891
  };
61209
61892
  export type DocFormatKerningResult = {
61210
61893
  success: true;
61894
+ appliedChangeMode?: "direct" | "tracked";
61211
61895
  resolution: {
61212
61896
  requestedTarget?: {
61213
61897
  kind: "text";
@@ -62101,6 +62785,7 @@ export type DocFormatKerningResult = {
62101
62785
  };
62102
62786
  export type DocFormatVanishResult = {
62103
62787
  success: true;
62788
+ appliedChangeMode?: "direct" | "tracked";
62104
62789
  resolution: {
62105
62790
  requestedTarget?: {
62106
62791
  kind: "text";
@@ -62994,6 +63679,7 @@ export type DocFormatVanishResult = {
62994
63679
  };
62995
63680
  export type DocFormatWebHiddenResult = {
62996
63681
  success: true;
63682
+ appliedChangeMode?: "direct" | "tracked";
62997
63683
  resolution: {
62998
63684
  requestedTarget?: {
62999
63685
  kind: "text";
@@ -63887,6 +64573,7 @@ export type DocFormatWebHiddenResult = {
63887
64573
  };
63888
64574
  export type DocFormatSpecVanishResult = {
63889
64575
  success: true;
64576
+ appliedChangeMode?: "direct" | "tracked";
63890
64577
  resolution: {
63891
64578
  requestedTarget?: {
63892
64579
  kind: "text";
@@ -64780,6 +65467,7 @@ export type DocFormatSpecVanishResult = {
64780
65467
  };
64781
65468
  export type DocFormatRtlResult = {
64782
65469
  success: true;
65470
+ appliedChangeMode?: "direct" | "tracked";
64783
65471
  resolution: {
64784
65472
  requestedTarget?: {
64785
65473
  kind: "text";
@@ -65673,6 +66361,7 @@ export type DocFormatRtlResult = {
65673
66361
  };
65674
66362
  export type DocFormatCsResult = {
65675
66363
  success: true;
66364
+ appliedChangeMode?: "direct" | "tracked";
65676
66365
  resolution: {
65677
66366
  requestedTarget?: {
65678
66367
  kind: "text";
@@ -66566,6 +67255,7 @@ export type DocFormatCsResult = {
66566
67255
  };
66567
67256
  export type DocFormatBCsResult = {
66568
67257
  success: true;
67258
+ appliedChangeMode?: "direct" | "tracked";
66569
67259
  resolution: {
66570
67260
  requestedTarget?: {
66571
67261
  kind: "text";
@@ -67459,6 +68149,7 @@ export type DocFormatBCsResult = {
67459
68149
  };
67460
68150
  export type DocFormatICsResult = {
67461
68151
  success: true;
68152
+ appliedChangeMode?: "direct" | "tracked";
67462
68153
  resolution: {
67463
68154
  requestedTarget?: {
67464
68155
  kind: "text";
@@ -68352,6 +69043,7 @@ export type DocFormatICsResult = {
68352
69043
  };
68353
69044
  export type DocFormatEastAsianLayoutResult = {
68354
69045
  success: true;
69046
+ appliedChangeMode?: "direct" | "tracked";
68355
69047
  resolution: {
68356
69048
  requestedTarget?: {
68357
69049
  kind: "text";
@@ -69245,6 +69937,7 @@ export type DocFormatEastAsianLayoutResult = {
69245
69937
  };
69246
69938
  export type DocFormatEmResult = {
69247
69939
  success: true;
69940
+ appliedChangeMode?: "direct" | "tracked";
69248
69941
  resolution: {
69249
69942
  requestedTarget?: {
69250
69943
  kind: "text";
@@ -70138,6 +70831,7 @@ export type DocFormatEmResult = {
70138
70831
  };
70139
70832
  export type DocFormatFitTextResult = {
70140
70833
  success: true;
70834
+ appliedChangeMode?: "direct" | "tracked";
70141
70835
  resolution: {
70142
70836
  requestedTarget?: {
70143
70837
  kind: "text";
@@ -71031,6 +71725,7 @@ export type DocFormatFitTextResult = {
71031
71725
  };
71032
71726
  export type DocFormatSnapToGridResult = {
71033
71727
  success: true;
71728
+ appliedChangeMode?: "direct" | "tracked";
71034
71729
  resolution: {
71035
71730
  requestedTarget?: {
71036
71731
  kind: "text";
@@ -71924,6 +72619,7 @@ export type DocFormatSnapToGridResult = {
71924
72619
  };
71925
72620
  export type DocFormatLangResult = {
71926
72621
  success: true;
72622
+ appliedChangeMode?: "direct" | "tracked";
71927
72623
  resolution: {
71928
72624
  requestedTarget?: {
71929
72625
  kind: "text";
@@ -72817,6 +73513,7 @@ export type DocFormatLangResult = {
72817
73513
  };
72818
73514
  export type DocFormatOMathResult = {
72819
73515
  success: true;
73516
+ appliedChangeMode?: "direct" | "tracked";
72820
73517
  resolution: {
72821
73518
  requestedTarget?: {
72822
73519
  kind: "text";
@@ -73710,6 +74407,7 @@ export type DocFormatOMathResult = {
73710
74407
  };
73711
74408
  export type DocFormatRStyleResult = {
73712
74409
  success: true;
74410
+ appliedChangeMode?: "direct" | "tracked";
73713
74411
  resolution: {
73714
74412
  requestedTarget?: {
73715
74413
  kind: "text";
@@ -74603,6 +75301,7 @@ export type DocFormatRStyleResult = {
74603
75301
  };
74604
75302
  export type DocFormatRFontsResult = {
74605
75303
  success: true;
75304
+ appliedChangeMode?: "direct" | "tracked";
74606
75305
  resolution: {
74607
75306
  requestedTarget?: {
74608
75307
  kind: "text";
@@ -75496,6 +76195,7 @@ export type DocFormatRFontsResult = {
75496
76195
  };
75497
76196
  export type DocFormatFontSizeCsResult = {
75498
76197
  success: true;
76198
+ appliedChangeMode?: "direct" | "tracked";
75499
76199
  resolution: {
75500
76200
  requestedTarget?: {
75501
76201
  kind: "text";
@@ -76389,6 +77089,7 @@ export type DocFormatFontSizeCsResult = {
76389
77089
  };
76390
77090
  export type DocFormatLigaturesResult = {
76391
77091
  success: true;
77092
+ appliedChangeMode?: "direct" | "tracked";
76392
77093
  resolution: {
76393
77094
  requestedTarget?: {
76394
77095
  kind: "text";
@@ -77282,6 +77983,7 @@ export type DocFormatLigaturesResult = {
77282
77983
  };
77283
77984
  export type DocFormatNumFormResult = {
77284
77985
  success: true;
77986
+ appliedChangeMode?: "direct" | "tracked";
77285
77987
  resolution: {
77286
77988
  requestedTarget?: {
77287
77989
  kind: "text";
@@ -78175,6 +78877,7 @@ export type DocFormatNumFormResult = {
78175
78877
  };
78176
78878
  export type DocFormatNumSpacingResult = {
78177
78879
  success: true;
78880
+ appliedChangeMode?: "direct" | "tracked";
78178
78881
  resolution: {
78179
78882
  requestedTarget?: {
78180
78883
  kind: "text";
@@ -79068,6 +79771,7 @@ export type DocFormatNumSpacingResult = {
79068
79771
  };
79069
79772
  export type DocFormatStylisticSetsResult = {
79070
79773
  success: true;
79774
+ appliedChangeMode?: "direct" | "tracked";
79071
79775
  resolution: {
79072
79776
  requestedTarget?: {
79073
79777
  kind: "text";
@@ -79961,6 +80665,7 @@ export type DocFormatStylisticSetsResult = {
79961
80665
  };
79962
80666
  export type DocFormatContextualAlternatesResult = {
79963
80667
  success: true;
80668
+ appliedChangeMode?: "direct" | "tracked";
79964
80669
  resolution: {
79965
80670
  requestedTarget?: {
79966
80671
  kind: "text";
@@ -80854,6 +81559,7 @@ export type DocFormatContextualAlternatesResult = {
80854
81559
  };
80855
81560
  export type DocStylesApplyResult = {
80856
81561
  success: true;
81562
+ appliedChangeMode?: "direct" | "tracked";
80857
81563
  changed: boolean;
80858
81564
  resolution: {
80859
81565
  scope: "docDefaults";
@@ -81088,6 +81794,7 @@ export type DocStylesGetCatalogResult = {
81088
81794
  };
81089
81795
  export type DocTemplatesApplyResult = {
81090
81796
  success: true;
81797
+ appliedChangeMode?: "direct" | "tracked";
81091
81798
  changed: boolean;
81092
81799
  dryRun: boolean;
81093
81800
  bodyPolicy: "preserve";
@@ -81146,6 +81853,7 @@ export type DocTemplatesApplyResult = {
81146
81853
  };
81147
81854
  export type DocCreateParagraphResult = {
81148
81855
  success: true;
81856
+ appliedChangeMode?: "direct" | "tracked";
81149
81857
  paragraph: {
81150
81858
  kind: "block";
81151
81859
  nodeType: "paragraph";
@@ -81267,6 +81975,7 @@ export type DocCreateParagraphResult = {
81267
81975
  };
81268
81976
  export type DocCreateHeadingResult = {
81269
81977
  success: true;
81978
+ appliedChangeMode?: "direct" | "tracked";
81270
81979
  heading: {
81271
81980
  kind: "block";
81272
81981
  nodeType: "heading";
@@ -81388,6 +82097,7 @@ export type DocCreateHeadingResult = {
81388
82097
  };
81389
82098
  export type DocCreateSectionBreakResult = {
81390
82099
  success: true;
82100
+ appliedChangeMode?: "direct" | "tracked";
81391
82101
  section: {
81392
82102
  kind: "section";
81393
82103
  sectionId: string;
@@ -81646,6 +82356,7 @@ export type DocSectionsSetBreakTypeResult = {
81646
82356
  kind: "section";
81647
82357
  sectionId: string;
81648
82358
  };
82359
+ appliedChangeMode?: "direct" | "tracked";
81649
82360
  };
81650
82361
  export type DocSectionsSetPageMarginsResult = {
81651
82362
  success: true;
@@ -81653,6 +82364,7 @@ export type DocSectionsSetPageMarginsResult = {
81653
82364
  kind: "section";
81654
82365
  sectionId: string;
81655
82366
  };
82367
+ appliedChangeMode?: "direct" | "tracked";
81656
82368
  };
81657
82369
  export type DocSectionsSetHeaderFooterMarginsResult = {
81658
82370
  success: true;
@@ -81660,6 +82372,7 @@ export type DocSectionsSetHeaderFooterMarginsResult = {
81660
82372
  kind: "section";
81661
82373
  sectionId: string;
81662
82374
  };
82375
+ appliedChangeMode?: "direct" | "tracked";
81663
82376
  };
81664
82377
  export type DocSectionsSetPageSetupResult = {
81665
82378
  success: true;
@@ -81667,6 +82380,7 @@ export type DocSectionsSetPageSetupResult = {
81667
82380
  kind: "section";
81668
82381
  sectionId: string;
81669
82382
  };
82383
+ appliedChangeMode?: "direct" | "tracked";
81670
82384
  };
81671
82385
  export type DocSectionsSetColumnsResult = {
81672
82386
  success: true;
@@ -81674,6 +82388,7 @@ export type DocSectionsSetColumnsResult = {
81674
82388
  kind: "section";
81675
82389
  sectionId: string;
81676
82390
  };
82391
+ appliedChangeMode?: "direct" | "tracked";
81677
82392
  };
81678
82393
  export type DocSectionsSetLineNumberingResult = {
81679
82394
  success: true;
@@ -81681,6 +82396,7 @@ export type DocSectionsSetLineNumberingResult = {
81681
82396
  kind: "section";
81682
82397
  sectionId: string;
81683
82398
  };
82399
+ appliedChangeMode?: "direct" | "tracked";
81684
82400
  };
81685
82401
  export type DocSectionsSetPageNumberingResult = {
81686
82402
  success: true;
@@ -81688,6 +82404,7 @@ export type DocSectionsSetPageNumberingResult = {
81688
82404
  kind: "section";
81689
82405
  sectionId: string;
81690
82406
  };
82407
+ appliedChangeMode?: "direct" | "tracked";
81691
82408
  };
81692
82409
  export type DocSectionsSetTitlePageResult = {
81693
82410
  success: true;
@@ -81695,6 +82412,7 @@ export type DocSectionsSetTitlePageResult = {
81695
82412
  kind: "section";
81696
82413
  sectionId: string;
81697
82414
  };
82415
+ appliedChangeMode?: "direct" | "tracked";
81698
82416
  };
81699
82417
  export type DocSectionsSetOddEvenHeadersFootersResult = {
81700
82418
  success: true;
@@ -81705,6 +82423,7 @@ export type DocSectionsSetVerticalAlignResult = {
81705
82423
  kind: "section";
81706
82424
  sectionId: string;
81707
82425
  };
82426
+ appliedChangeMode?: "direct" | "tracked";
81708
82427
  };
81709
82428
  export type DocSectionsSetSectionDirectionResult = {
81710
82429
  success: true;
@@ -81712,6 +82431,7 @@ export type DocSectionsSetSectionDirectionResult = {
81712
82431
  kind: "section";
81713
82432
  sectionId: string;
81714
82433
  };
82434
+ appliedChangeMode?: "direct" | "tracked";
81715
82435
  };
81716
82436
  export type DocSectionsSetHeaderFooterRefResult = {
81717
82437
  success: true;
@@ -81719,6 +82439,7 @@ export type DocSectionsSetHeaderFooterRefResult = {
81719
82439
  kind: "section";
81720
82440
  sectionId: string;
81721
82441
  };
82442
+ appliedChangeMode?: "direct" | "tracked";
81722
82443
  };
81723
82444
  export type DocSectionsClearHeaderFooterRefResult = {
81724
82445
  success: true;
@@ -81726,6 +82447,7 @@ export type DocSectionsClearHeaderFooterRefResult = {
81726
82447
  kind: "section";
81727
82448
  sectionId: string;
81728
82449
  };
82450
+ appliedChangeMode?: "direct" | "tracked";
81729
82451
  };
81730
82452
  export type DocSectionsSetLinkToPreviousResult = {
81731
82453
  success: true;
@@ -81733,6 +82455,7 @@ export type DocSectionsSetLinkToPreviousResult = {
81733
82455
  kind: "section";
81734
82456
  sectionId: string;
81735
82457
  };
82458
+ appliedChangeMode?: "direct" | "tracked";
81736
82459
  };
81737
82460
  export type DocSectionsSetPageBordersResult = {
81738
82461
  success: true;
@@ -81740,6 +82463,7 @@ export type DocSectionsSetPageBordersResult = {
81740
82463
  kind: "section";
81741
82464
  sectionId: string;
81742
82465
  };
82466
+ appliedChangeMode?: "direct" | "tracked";
81743
82467
  };
81744
82468
  export type DocSectionsClearPageBordersResult = {
81745
82469
  success: true;
@@ -81747,6 +82471,7 @@ export type DocSectionsClearPageBordersResult = {
81747
82471
  kind: "section";
81748
82472
  sectionId: string;
81749
82473
  };
82474
+ appliedChangeMode?: "direct" | "tracked";
81750
82475
  };
81751
82476
  export type DocStylesParagraphSetStyleResult = {
81752
82477
  success: true;
@@ -81964,6 +82689,7 @@ export type DocStylesParagraphSetStyleResult = {
81964
82689
  });
81965
82690
  });
81966
82691
  };
82692
+ appliedChangeMode?: "direct" | "tracked";
81967
82693
  trackedChangeRefs?: Array<{
81968
82694
  kind: "entity";
81969
82695
  entityType: "trackedChange";
@@ -82217,6 +82943,7 @@ export type DocStylesParagraphSetStyleRefResult = {
82217
82943
  });
82218
82944
  });
82219
82945
  };
82946
+ appliedChangeMode?: "direct" | "tracked";
82220
82947
  trackedChangeRefs?: Array<{
82221
82948
  kind: "entity";
82222
82949
  entityType: "trackedChange";
@@ -82470,6 +83197,7 @@ export type DocStylesParagraphClearStyleResult = {
82470
83197
  });
82471
83198
  });
82472
83199
  };
83200
+ appliedChangeMode?: "direct" | "tracked";
82473
83201
  trackedChangeRefs?: Array<{
82474
83202
  kind: "entity";
82475
83203
  entityType: "trackedChange";
@@ -82723,6 +83451,7 @@ export type DocFormatParagraphResetDirectFormattingResult = {
82723
83451
  });
82724
83452
  });
82725
83453
  };
83454
+ appliedChangeMode?: "direct" | "tracked";
82726
83455
  trackedChangeRefs?: Array<{
82727
83456
  kind: "entity";
82728
83457
  entityType: "trackedChange";
@@ -82976,6 +83705,7 @@ export type DocFormatParagraphSetAlignmentResult = {
82976
83705
  });
82977
83706
  });
82978
83707
  };
83708
+ appliedChangeMode?: "direct" | "tracked";
82979
83709
  trackedChangeRefs?: Array<{
82980
83710
  kind: "entity";
82981
83711
  entityType: "trackedChange";
@@ -83229,6 +83959,7 @@ export type DocFormatParagraphClearAlignmentResult = {
83229
83959
  });
83230
83960
  });
83231
83961
  };
83962
+ appliedChangeMode?: "direct" | "tracked";
83232
83963
  trackedChangeRefs?: Array<{
83233
83964
  kind: "entity";
83234
83965
  entityType: "trackedChange";
@@ -83482,6 +84213,7 @@ export type DocFormatParagraphSetIndentationResult = {
83482
84213
  });
83483
84214
  });
83484
84215
  };
84216
+ appliedChangeMode?: "direct" | "tracked";
83485
84217
  trackedChangeRefs?: Array<{
83486
84218
  kind: "entity";
83487
84219
  entityType: "trackedChange";
@@ -83735,6 +84467,7 @@ export type DocFormatParagraphClearIndentationResult = {
83735
84467
  });
83736
84468
  });
83737
84469
  };
84470
+ appliedChangeMode?: "direct" | "tracked";
83738
84471
  trackedChangeRefs?: Array<{
83739
84472
  kind: "entity";
83740
84473
  entityType: "trackedChange";
@@ -83988,6 +84721,7 @@ export type DocFormatParagraphSetSpacingResult = {
83988
84721
  });
83989
84722
  });
83990
84723
  };
84724
+ appliedChangeMode?: "direct" | "tracked";
83991
84725
  trackedChangeRefs?: Array<{
83992
84726
  kind: "entity";
83993
84727
  entityType: "trackedChange";
@@ -84241,6 +84975,7 @@ export type DocFormatParagraphClearSpacingResult = {
84241
84975
  });
84242
84976
  });
84243
84977
  };
84978
+ appliedChangeMode?: "direct" | "tracked";
84244
84979
  trackedChangeRefs?: Array<{
84245
84980
  kind: "entity";
84246
84981
  entityType: "trackedChange";
@@ -84494,6 +85229,7 @@ export type DocFormatParagraphSetKeepOptionsResult = {
84494
85229
  });
84495
85230
  });
84496
85231
  };
85232
+ appliedChangeMode?: "direct" | "tracked";
84497
85233
  trackedChangeRefs?: Array<{
84498
85234
  kind: "entity";
84499
85235
  entityType: "trackedChange";
@@ -84747,6 +85483,7 @@ export type DocFormatParagraphSetOutlineLevelResult = {
84747
85483
  });
84748
85484
  });
84749
85485
  };
85486
+ appliedChangeMode?: "direct" | "tracked";
84750
85487
  trackedChangeRefs?: Array<{
84751
85488
  kind: "entity";
84752
85489
  entityType: "trackedChange";
@@ -85000,6 +85737,7 @@ export type DocFormatParagraphSetFlowOptionsResult = {
85000
85737
  });
85001
85738
  });
85002
85739
  };
85740
+ appliedChangeMode?: "direct" | "tracked";
85003
85741
  trackedChangeRefs?: Array<{
85004
85742
  kind: "entity";
85005
85743
  entityType: "trackedChange";
@@ -85253,6 +85991,7 @@ export type DocFormatParagraphSetTabStopResult = {
85253
85991
  });
85254
85992
  });
85255
85993
  };
85994
+ appliedChangeMode?: "direct" | "tracked";
85256
85995
  trackedChangeRefs?: Array<{
85257
85996
  kind: "entity";
85258
85997
  entityType: "trackedChange";
@@ -85506,6 +86245,7 @@ export type DocFormatParagraphClearTabStopResult = {
85506
86245
  });
85507
86246
  });
85508
86247
  };
86248
+ appliedChangeMode?: "direct" | "tracked";
85509
86249
  trackedChangeRefs?: Array<{
85510
86250
  kind: "entity";
85511
86251
  entityType: "trackedChange";
@@ -85759,6 +86499,7 @@ export type DocFormatParagraphClearAllTabStopsResult = {
85759
86499
  });
85760
86500
  });
85761
86501
  };
86502
+ appliedChangeMode?: "direct" | "tracked";
85762
86503
  trackedChangeRefs?: Array<{
85763
86504
  kind: "entity";
85764
86505
  entityType: "trackedChange";
@@ -86012,6 +86753,7 @@ export type DocFormatParagraphSetBorderResult = {
86012
86753
  });
86013
86754
  });
86014
86755
  };
86756
+ appliedChangeMode?: "direct" | "tracked";
86015
86757
  trackedChangeRefs?: Array<{
86016
86758
  kind: "entity";
86017
86759
  entityType: "trackedChange";
@@ -86265,6 +87007,7 @@ export type DocFormatParagraphClearBorderResult = {
86265
87007
  });
86266
87008
  });
86267
87009
  };
87010
+ appliedChangeMode?: "direct" | "tracked";
86268
87011
  trackedChangeRefs?: Array<{
86269
87012
  kind: "entity";
86270
87013
  entityType: "trackedChange";
@@ -86518,6 +87261,7 @@ export type DocFormatParagraphSetShadingResult = {
86518
87261
  });
86519
87262
  });
86520
87263
  };
87264
+ appliedChangeMode?: "direct" | "tracked";
86521
87265
  trackedChangeRefs?: Array<{
86522
87266
  kind: "entity";
86523
87267
  entityType: "trackedChange";
@@ -86771,6 +87515,7 @@ export type DocFormatParagraphClearShadingResult = {
86771
87515
  });
86772
87516
  });
86773
87517
  };
87518
+ appliedChangeMode?: "direct" | "tracked";
86774
87519
  trackedChangeRefs?: Array<{
86775
87520
  kind: "entity";
86776
87521
  entityType: "trackedChange";
@@ -87024,6 +87769,7 @@ export type DocFormatParagraphSetMarkRunPropsResult = {
87024
87769
  });
87025
87770
  });
87026
87771
  };
87772
+ appliedChangeMode?: "direct" | "tracked";
87027
87773
  trackedChangeRefs?: Array<{
87028
87774
  kind: "entity";
87029
87775
  entityType: "trackedChange";
@@ -87277,6 +88023,7 @@ export type DocFormatParagraphSetDirectionResult = {
87277
88023
  });
87278
88024
  });
87279
88025
  };
88026
+ appliedChangeMode?: "direct" | "tracked";
87280
88027
  trackedChangeRefs?: Array<{
87281
88028
  kind: "entity";
87282
88029
  entityType: "trackedChange";
@@ -87530,6 +88277,7 @@ export type DocFormatParagraphClearDirectionResult = {
87530
88277
  });
87531
88278
  });
87532
88279
  };
88280
+ appliedChangeMode?: "direct" | "tracked";
87533
88281
  trackedChangeRefs?: Array<{
87534
88282
  kind: "entity";
87535
88283
  entityType: "trackedChange";
@@ -87783,6 +88531,7 @@ export type DocFormatParagraphSetNumberingResult = {
87783
88531
  });
87784
88532
  });
87785
88533
  };
88534
+ appliedChangeMode?: "direct" | "tracked";
87786
88535
  trackedChangeRefs?: Array<{
87787
88536
  kind: "entity";
87788
88537
  entityType: "trackedChange";
@@ -87927,6 +88676,7 @@ export type DocListsGetResult = {
87927
88676
  };
87928
88677
  export type DocListsInsertResult = {
87929
88678
  success: true;
88679
+ appliedChangeMode?: "direct" | "tracked";
87930
88680
  item: {
87931
88681
  kind: "block";
87932
88682
  nodeType: "listItem";
@@ -88041,6 +88791,7 @@ export type DocListsInsertResult = {
88041
88791
  };
88042
88792
  export type DocListsCreateResult = {
88043
88793
  success: true;
88794
+ appliedChangeMode?: "direct" | "tracked";
88044
88795
  listId: string;
88045
88796
  item: {
88046
88797
  kind: "block";
@@ -88081,6 +88832,7 @@ export type DocListsCreateResult = {
88081
88832
  };
88082
88833
  export type DocListsAttachResult = {
88083
88834
  success: true;
88835
+ appliedChangeMode?: "direct" | "tracked";
88084
88836
  item: {
88085
88837
  kind: "block";
88086
88838
  nodeType: "listItem";
@@ -88462,6 +89214,7 @@ export type DocListsAttachResult = {
88462
89214
  };
88463
89215
  export type DocListsDetachResult = {
88464
89216
  success: true;
89217
+ appliedChangeMode?: "direct" | "tracked";
88465
89218
  paragraph: {
88466
89219
  kind: "block";
88467
89220
  nodeType: "paragraph";
@@ -88501,10 +89254,12 @@ export type DocListsDetachResult = {
88501
89254
  };
88502
89255
  export type DocListsDeleteResult = {
88503
89256
  success: true;
89257
+ appliedChangeMode?: "direct" | "tracked";
88504
89258
  deletedCount: number;
88505
89259
  };
88506
89260
  export type DocListsIndentResult = {
88507
89261
  success: true;
89262
+ appliedChangeMode?: "direct" | "tracked";
88508
89263
  item: {
88509
89264
  kind: "block";
88510
89265
  nodeType: "listItem";
@@ -88886,6 +89641,7 @@ export type DocListsIndentResult = {
88886
89641
  };
88887
89642
  export type DocListsOutdentResult = {
88888
89643
  success: true;
89644
+ appliedChangeMode?: "direct" | "tracked";
88889
89645
  item: {
88890
89646
  kind: "block";
88891
89647
  nodeType: "listItem";
@@ -89267,6 +90023,7 @@ export type DocListsOutdentResult = {
89267
90023
  };
89268
90024
  export type DocListsJoinResult = {
89269
90025
  success: true;
90026
+ appliedChangeMode?: "direct" | "tracked";
89270
90027
  listId: string;
89271
90028
  };
89272
90029
  export type DocListsCanJoinResult = {
@@ -89276,23 +90033,27 @@ export type DocListsCanJoinResult = {
89276
90033
  };
89277
90034
  export type DocListsSeparateResult = {
89278
90035
  success: true;
90036
+ appliedChangeMode?: "direct" | "tracked";
89279
90037
  listId: string;
89280
90038
  numId: number;
89281
90039
  };
89282
90040
  export type DocListsMergeResult = {
89283
90041
  success: true;
90042
+ appliedChangeMode?: "direct" | "tracked";
89284
90043
  listId: string;
89285
90044
  absorbedCount: number;
89286
90045
  removedEmptyBlocks: number;
89287
90046
  };
89288
90047
  export type DocListsSplitResult = {
89289
90048
  success: true;
90049
+ appliedChangeMode?: "direct" | "tracked";
89290
90050
  listId: string;
89291
90051
  numId: number;
89292
90052
  restartedAt: number | null;
89293
90053
  };
89294
90054
  export type DocListsSetLevelResult = {
89295
90055
  success: true;
90056
+ appliedChangeMode?: "direct" | "tracked";
89296
90057
  item: {
89297
90058
  kind: "block";
89298
90059
  nodeType: "listItem";
@@ -89674,6 +90435,7 @@ export type DocListsSetLevelResult = {
89674
90435
  };
89675
90436
  export type DocListsSetValueResult = {
89676
90437
  success: true;
90438
+ appliedChangeMode?: "direct" | "tracked";
89677
90439
  item: {
89678
90440
  kind: "block";
89679
90441
  nodeType: "listItem";
@@ -90055,6 +90817,7 @@ export type DocListsSetValueResult = {
90055
90817
  };
90056
90818
  export type DocListsContinuePreviousResult = {
90057
90819
  success: true;
90820
+ appliedChangeMode?: "direct" | "tracked";
90058
90821
  item: {
90059
90822
  kind: "block";
90060
90823
  nodeType: "listItem";
@@ -90441,6 +91204,7 @@ export type DocListsCanContinuePreviousResult = {
90441
91204
  };
90442
91205
  export type DocListsSetLevelRestartResult = {
90443
91206
  success: true;
91207
+ appliedChangeMode?: "direct" | "tracked";
90444
91208
  item: {
90445
91209
  kind: "block";
90446
91210
  nodeType: "listItem";
@@ -90822,6 +91586,7 @@ export type DocListsSetLevelRestartResult = {
90822
91586
  };
90823
91587
  export type DocListsConvertToTextResult = {
90824
91588
  success: true;
91589
+ appliedChangeMode?: "direct" | "tracked";
90825
91590
  paragraph: {
90826
91591
  kind: "block";
90827
91592
  nodeType: "paragraph";
@@ -90861,6 +91626,7 @@ export type DocListsConvertToTextResult = {
90861
91626
  };
90862
91627
  export type DocListsApplyTemplateResult = {
90863
91628
  success: true;
91629
+ appliedChangeMode?: "direct" | "tracked";
90864
91630
  item: {
90865
91631
  kind: "block";
90866
91632
  nodeType: "listItem";
@@ -91242,6 +92008,7 @@ export type DocListsApplyTemplateResult = {
91242
92008
  };
91243
92009
  export type DocListsApplyPresetResult = {
91244
92010
  success: true;
92011
+ appliedChangeMode?: "direct" | "tracked";
91245
92012
  item: {
91246
92013
  kind: "block";
91247
92014
  nodeType: "listItem";
@@ -91623,6 +92390,7 @@ export type DocListsApplyPresetResult = {
91623
92390
  };
91624
92391
  export type DocListsSetTypeResult = {
91625
92392
  success: true;
92393
+ appliedChangeMode?: "direct" | "tracked";
91626
92394
  item: {
91627
92395
  kind: "block";
91628
92396
  nodeType: "listItem";
@@ -92004,6 +92772,7 @@ export type DocListsSetTypeResult = {
92004
92772
  };
92005
92773
  export type DocListsCaptureTemplateResult = {
92006
92774
  success: true;
92775
+ appliedChangeMode?: "direct" | "tracked";
92007
92776
  template: {
92008
92777
  version: 1;
92009
92778
  levels: Array<{
@@ -92025,6 +92794,7 @@ export type DocListsCaptureTemplateResult = {
92025
92794
  };
92026
92795
  export type DocListsSetLevelNumberingResult = {
92027
92796
  success: true;
92797
+ appliedChangeMode?: "direct" | "tracked";
92028
92798
  item: {
92029
92799
  kind: "block";
92030
92800
  nodeType: "listItem";
@@ -92406,6 +93176,7 @@ export type DocListsSetLevelNumberingResult = {
92406
93176
  };
92407
93177
  export type DocListsSetLevelBulletResult = {
92408
93178
  success: true;
93179
+ appliedChangeMode?: "direct" | "tracked";
92409
93180
  item: {
92410
93181
  kind: "block";
92411
93182
  nodeType: "listItem";
@@ -92787,6 +93558,7 @@ export type DocListsSetLevelBulletResult = {
92787
93558
  };
92788
93559
  export type DocListsSetLevelPictureBulletResult = {
92789
93560
  success: true;
93561
+ appliedChangeMode?: "direct" | "tracked";
92790
93562
  item: {
92791
93563
  kind: "block";
92792
93564
  nodeType: "listItem";
@@ -93168,6 +93940,7 @@ export type DocListsSetLevelPictureBulletResult = {
93168
93940
  };
93169
93941
  export type DocListsSetLevelAlignmentResult = {
93170
93942
  success: true;
93943
+ appliedChangeMode?: "direct" | "tracked";
93171
93944
  item: {
93172
93945
  kind: "block";
93173
93946
  nodeType: "listItem";
@@ -93549,6 +94322,7 @@ export type DocListsSetLevelAlignmentResult = {
93549
94322
  };
93550
94323
  export type DocListsSetLevelIndentsResult = {
93551
94324
  success: true;
94325
+ appliedChangeMode?: "direct" | "tracked";
93552
94326
  item: {
93553
94327
  kind: "block";
93554
94328
  nodeType: "listItem";
@@ -93930,6 +94704,7 @@ export type DocListsSetLevelIndentsResult = {
93930
94704
  };
93931
94705
  export type DocListsSetLevelTrailingCharacterResult = {
93932
94706
  success: true;
94707
+ appliedChangeMode?: "direct" | "tracked";
93933
94708
  item: {
93934
94709
  kind: "block";
93935
94710
  nodeType: "listItem";
@@ -94311,6 +95086,7 @@ export type DocListsSetLevelTrailingCharacterResult = {
94311
95086
  };
94312
95087
  export type DocListsSetLevelMarkerFontResult = {
94313
95088
  success: true;
95089
+ appliedChangeMode?: "direct" | "tracked";
94314
95090
  item: {
94315
95091
  kind: "block";
94316
95092
  nodeType: "listItem";
@@ -94692,6 +95468,7 @@ export type DocListsSetLevelMarkerFontResult = {
94692
95468
  };
94693
95469
  export type DocListsClearLevelOverridesResult = {
94694
95470
  success: true;
95471
+ appliedChangeMode?: "direct" | "tracked";
94695
95472
  item: {
94696
95473
  kind: "block";
94697
95474
  nodeType: "listItem";
@@ -95073,6 +95850,7 @@ export type DocListsClearLevelOverridesResult = {
95073
95850
  };
95074
95851
  export type DocListsGetStyleResult = {
95075
95852
  success: true;
95853
+ appliedChangeMode?: "direct" | "tracked";
95076
95854
  style: {
95077
95855
  version: 1;
95078
95856
  levels: Array<{
@@ -95095,6 +95873,7 @@ export type DocListsGetStyleResult = {
95095
95873
  };
95096
95874
  export type DocListsApplyStyleResult = {
95097
95875
  success: true;
95876
+ appliedChangeMode?: "direct" | "tracked";
95098
95877
  item: {
95099
95878
  kind: "block";
95100
95879
  nodeType: "listItem";
@@ -95476,6 +96255,7 @@ export type DocListsApplyStyleResult = {
95476
96255
  };
95477
96256
  export type DocListsRestartAtResult = {
95478
96257
  success: true;
96258
+ appliedChangeMode?: "direct" | "tracked";
95479
96259
  item: {
95480
96260
  kind: "block";
95481
96261
  nodeType: "listItem";
@@ -95857,6 +96637,7 @@ export type DocListsRestartAtResult = {
95857
96637
  };
95858
96638
  export type DocListsSetLevelNumberStyleResult = {
95859
96639
  success: true;
96640
+ appliedChangeMode?: "direct" | "tracked";
95860
96641
  item: {
95861
96642
  kind: "block";
95862
96643
  nodeType: "listItem";
@@ -96238,6 +97019,7 @@ export type DocListsSetLevelNumberStyleResult = {
96238
97019
  };
96239
97020
  export type DocListsSetLevelTextResult = {
96240
97021
  success: true;
97022
+ appliedChangeMode?: "direct" | "tracked";
96241
97023
  item: {
96242
97024
  kind: "block";
96243
97025
  nodeType: "listItem";
@@ -96619,6 +97401,7 @@ export type DocListsSetLevelTextResult = {
96619
97401
  };
96620
97402
  export type DocListsSetLevelStartResult = {
96621
97403
  success: true;
97404
+ appliedChangeMode?: "direct" | "tracked";
96622
97405
  item: {
96623
97406
  kind: "block";
96624
97407
  nodeType: "listItem";
@@ -97000,6 +97783,7 @@ export type DocListsSetLevelStartResult = {
97000
97783
  };
97001
97784
  export type DocListsSetLevelLayoutResult = {
97002
97785
  success: true;
97786
+ appliedChangeMode?: "direct" | "tracked";
97003
97787
  item: {
97004
97788
  kind: "block";
97005
97789
  nodeType: "listItem";
@@ -97398,6 +98182,7 @@ export type DocListsGetStateResult = ({
97398
98182
  });
97399
98183
  export type DocListsApplyResult = {
97400
98184
  success: true;
98185
+ appliedChangeMode?: "direct" | "tracked";
97401
98186
  item: {
97402
98187
  kind: "block";
97403
98188
  nodeType: "listItem";
@@ -97779,6 +98564,7 @@ export type DocListsApplyResult = {
97779
98564
  };
97780
98565
  export type DocListsContinueResult = {
97781
98566
  success: true;
98567
+ appliedChangeMode?: "direct" | "tracked";
97782
98568
  item: {
97783
98569
  kind: "block";
97784
98570
  nodeType: "listItem";
@@ -98160,6 +98946,7 @@ export type DocListsContinueResult = {
98160
98946
  };
98161
98947
  export type DocListsRestartResult = {
98162
98948
  success: true;
98949
+ appliedChangeMode?: "direct" | "tracked";
98163
98950
  item: {
98164
98951
  kind: "block";
98165
98952
  nodeType: "listItem";
@@ -98541,6 +99328,7 @@ export type DocListsRestartResult = {
98541
99328
  };
98542
99329
  export type DocListsRemoveResult = {
98543
99330
  success: true;
99331
+ appliedChangeMode?: "direct" | "tracked";
98544
99332
  item: {
98545
99333
  kind: "block";
98546
99334
  nodeType: "listItem";
@@ -99046,6 +99834,7 @@ export type DocCommentsCreateResult = {
99046
99834
  };
99047
99835
  export type DocCommentsPatchResult = {
99048
99836
  success: true;
99837
+ appliedChangeMode?: "direct" | "tracked";
99049
99838
  id?: string;
99050
99839
  inserted?: Array<({
99051
99840
  kind: "entity";
@@ -100101,6 +100890,7 @@ export type DocCommentsPatchResult = {
100101
100890
  };
100102
100891
  export type DocCommentsDeleteResult = {
100103
100892
  success: true;
100893
+ appliedChangeMode?: "direct" | "tracked";
100104
100894
  id?: string;
100105
100895
  inserted?: Array<({
100106
100896
  kind: "entity";
@@ -101934,6 +102724,7 @@ export type DocTrackChangesGetResult = {
101934
102724
  };
101935
102725
  export type DocTrackChangesDecideResult = {
101936
102726
  success: true;
102727
+ appliedChangeMode?: "direct" | "tracked";
101937
102728
  id?: string;
101938
102729
  inserted?: Array<({
101939
102730
  kind: "entity";
@@ -103846,6 +104637,8 @@ export type DocSelectionCurrentResult = {
103846
104637
  tableSelection?: ({
103847
104638
  kind: "tableCells";
103848
104639
  type: "table" | "cell" | "cells";
104640
+ selectionMode: "text" | "cells";
104641
+ isRectangular: boolean;
103849
104642
  tableId: string;
103850
104643
  story?: ({
103851
104644
  kind: "story";
@@ -103890,6 +104683,8 @@ export type DocSelectionCurrentResult = {
103890
104683
  nodeId: string;
103891
104684
  rowIndex: number;
103892
104685
  columnIndex: number;
104686
+ rowspan: number;
104687
+ colspan: number;
103893
104688
  }>;
103894
104689
  }) | null;
103895
104690
  activeMarks: Array<string>;
@@ -103897,8 +104692,12 @@ export type DocSelectionCurrentResult = {
103897
104692
  activeChangeIds: Array<string>;
103898
104693
  text?: string;
103899
104694
  };
104695
+ export type DocSelectionReleaseSnapshotResult = {
104696
+ released: boolean;
104697
+ };
103900
104698
  export type DocSelectionExtractOoxmlResult = {
103901
104699
  formatVersion: 1;
104700
+ snapshotId?: string;
103902
104701
  at: ({
103903
104702
  kind: "selection";
103904
104703
  start: ({
@@ -104085,6 +104884,8 @@ export type DocSelectionExtractOoxmlResult = {
104085
104884
  coordinateSpace?: "visible" | "tracked";
104086
104885
  }) | ({
104087
104886
  kind: "tableCells";
104887
+ selectionMode?: "cells";
104888
+ isRectangular?: true;
104088
104889
  tableId: string;
104089
104890
  start: {
104090
104891
  rowIndex: number;
@@ -104176,6 +104977,7 @@ export type DocSelectionExtractOoxmlResult = {
104176
104977
  })) | null;
104177
104978
  partUri: string;
104178
104979
  paragraphStyleId: string | null;
104980
+ packageRevision?: string;
104179
104981
  };
104180
104982
  context: {
104181
104983
  xml: Array<string>;
@@ -104208,11 +105010,14 @@ export type DocMutationsPreviewResult = {
104208
105010
  };
104209
105011
  export type DocMutationsApplyResult = {
104210
105012
  success: true;
105013
+ appliedChangeMode?: "direct" | "tracked";
104211
105014
  revision: {
104212
105015
  before: string;
104213
105016
  after: string;
104214
105017
  };
104215
- steps: Array<Record<string, unknown>>;
105018
+ steps: Array<{
105019
+ appliedChangeMode?: "direct" | "tracked";
105020
+ }>;
104216
105021
  trackedChanges?: Array<{
104217
105022
  kind: "entity";
104218
105023
  entityType: "trackedChange";
@@ -105703,6 +106508,12 @@ export type DocCapabilitiesGetResult = {
105703
106508
  dryRun: boolean;
105704
106509
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE" | "TARGET_CONTEXT_REQUIRED" | "TARGET_UNSUPPORTED">;
105705
106510
  };
106511
+ "selection.releaseSnapshot": {
106512
+ available: boolean;
106513
+ tracked: boolean;
106514
+ dryRun: boolean;
106515
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE" | "TARGET_CONTEXT_REQUIRED" | "TARGET_UNSUPPORTED">;
106516
+ };
105706
106517
  "selection.extractOoxml": {
105707
106518
  available: boolean;
105708
106519
  tracked: boolean;
@@ -109462,7 +110273,7 @@ export type DocCapabilitiesCheckResult = ({
109462
110273
  };
109463
110274
  });
109464
110275
  export type DocCapabilitiesResolveResult = {
109465
- operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "styles.apply" | "styles.getCatalog" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.extractOoxml" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
110276
+ operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "styles.apply" | "styles.getCatalog" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
109466
110277
  available: ({
109467
110278
  kind: "supported";
109468
110279
  }) | ({
@@ -109499,6 +110310,7 @@ export type DocCapabilitiesResolveResult = {
109499
110310
  };
109500
110311
  export type DocCreateTableResult = {
109501
110312
  success: true;
110313
+ appliedChangeMode?: "direct" | "tracked";
109502
110314
  table: {
109503
110315
  kind: "block";
109504
110316
  nodeType: "table";
@@ -109547,6 +110359,7 @@ export type DocCreateTableResult = {
109547
110359
  };
109548
110360
  export type DocTablesConvertFromTextResult = {
109549
110361
  success: true;
110362
+ appliedChangeMode?: "direct" | "tracked";
109550
110363
  table?: {
109551
110364
  kind: "block";
109552
110365
  nodeType: "table";
@@ -109595,6 +110408,7 @@ export type DocTablesConvertFromTextResult = {
109595
110408
  };
109596
110409
  export type DocTablesDeleteResult = {
109597
110410
  success: true;
110411
+ appliedChangeMode?: "direct" | "tracked";
109598
110412
  table?: {
109599
110413
  kind: "block";
109600
110414
  nodeType: "table";
@@ -109643,6 +110457,7 @@ export type DocTablesDeleteResult = {
109643
110457
  };
109644
110458
  export type DocTablesClearContentsResult = {
109645
110459
  success: true;
110460
+ appliedChangeMode?: "direct" | "tracked";
109646
110461
  table?: {
109647
110462
  kind: "block";
109648
110463
  nodeType: "table";
@@ -109691,6 +110506,7 @@ export type DocTablesClearContentsResult = {
109691
110506
  };
109692
110507
  export type DocTablesMoveResult = {
109693
110508
  success: true;
110509
+ appliedChangeMode?: "direct" | "tracked";
109694
110510
  table?: {
109695
110511
  kind: "block";
109696
110512
  nodeType: "table";
@@ -109739,6 +110555,7 @@ export type DocTablesMoveResult = {
109739
110555
  };
109740
110556
  export type DocTablesSplitResult = {
109741
110557
  success: true;
110558
+ appliedChangeMode?: "direct" | "tracked";
109742
110559
  table?: {
109743
110560
  kind: "block";
109744
110561
  nodeType: "table";
@@ -109787,6 +110604,7 @@ export type DocTablesSplitResult = {
109787
110604
  };
109788
110605
  export type DocTablesConvertToTextResult = {
109789
110606
  success: true;
110607
+ appliedChangeMode?: "direct" | "tracked";
109790
110608
  table?: {
109791
110609
  kind: "block";
109792
110610
  nodeType: "table";
@@ -109835,6 +110653,7 @@ export type DocTablesConvertToTextResult = {
109835
110653
  };
109836
110654
  export type DocTablesSetLayoutResult = {
109837
110655
  success: true;
110656
+ appliedChangeMode?: "direct" | "tracked";
109838
110657
  table?: {
109839
110658
  kind: "block";
109840
110659
  nodeType: "table";
@@ -109883,6 +110702,7 @@ export type DocTablesSetLayoutResult = {
109883
110702
  };
109884
110703
  export type DocTablesInsertRowResult = {
109885
110704
  success: true;
110705
+ appliedChangeMode?: "direct" | "tracked";
109886
110706
  table?: {
109887
110707
  kind: "block";
109888
110708
  nodeType: "table";
@@ -109931,6 +110751,7 @@ export type DocTablesInsertRowResult = {
109931
110751
  };
109932
110752
  export type DocTablesDeleteRowResult = {
109933
110753
  success: true;
110754
+ appliedChangeMode?: "direct" | "tracked";
109934
110755
  table?: {
109935
110756
  kind: "block";
109936
110757
  nodeType: "table";
@@ -109979,6 +110800,7 @@ export type DocTablesDeleteRowResult = {
109979
110800
  };
109980
110801
  export type DocTablesMoveRowResult = {
109981
110802
  success: true;
110803
+ appliedChangeMode?: "direct" | "tracked";
109982
110804
  table?: {
109983
110805
  kind: "block";
109984
110806
  nodeType: "table";
@@ -110027,6 +110849,7 @@ export type DocTablesMoveRowResult = {
110027
110849
  };
110028
110850
  export type DocTablesSetRowHeightResult = {
110029
110851
  success: true;
110852
+ appliedChangeMode?: "direct" | "tracked";
110030
110853
  table?: {
110031
110854
  kind: "block";
110032
110855
  nodeType: "table";
@@ -110075,6 +110898,7 @@ export type DocTablesSetRowHeightResult = {
110075
110898
  };
110076
110899
  export type DocTablesDistributeRowsResult = {
110077
110900
  success: true;
110901
+ appliedChangeMode?: "direct" | "tracked";
110078
110902
  table?: {
110079
110903
  kind: "block";
110080
110904
  nodeType: "table";
@@ -110123,6 +110947,7 @@ export type DocTablesDistributeRowsResult = {
110123
110947
  };
110124
110948
  export type DocTablesSetRowOptionsResult = {
110125
110949
  success: true;
110950
+ appliedChangeMode?: "direct" | "tracked";
110126
110951
  table?: {
110127
110952
  kind: "block";
110128
110953
  nodeType: "table";
@@ -110171,6 +110996,7 @@ export type DocTablesSetRowOptionsResult = {
110171
110996
  };
110172
110997
  export type DocTablesInsertColumnResult = {
110173
110998
  success: true;
110999
+ appliedChangeMode?: "direct" | "tracked";
110174
111000
  table?: {
110175
111001
  kind: "block";
110176
111002
  nodeType: "table";
@@ -110219,6 +111045,7 @@ export type DocTablesInsertColumnResult = {
110219
111045
  };
110220
111046
  export type DocTablesDeleteColumnResult = {
110221
111047
  success: true;
111048
+ appliedChangeMode?: "direct" | "tracked";
110222
111049
  table?: {
110223
111050
  kind: "block";
110224
111051
  nodeType: "table";
@@ -110267,6 +111094,7 @@ export type DocTablesDeleteColumnResult = {
110267
111094
  };
110268
111095
  export type DocTablesMoveColumnResult = {
110269
111096
  success: true;
111097
+ appliedChangeMode?: "direct" | "tracked";
110270
111098
  table?: {
110271
111099
  kind: "block";
110272
111100
  nodeType: "table";
@@ -110315,6 +111143,7 @@ export type DocTablesMoveColumnResult = {
110315
111143
  };
110316
111144
  export type DocTablesSetColumnWidthResult = {
110317
111145
  success: true;
111146
+ appliedChangeMode?: "direct" | "tracked";
110318
111147
  table?: {
110319
111148
  kind: "block";
110320
111149
  nodeType: "table";
@@ -110363,6 +111192,7 @@ export type DocTablesSetColumnWidthResult = {
110363
111192
  };
110364
111193
  export type DocTablesDistributeColumnsResult = {
110365
111194
  success: true;
111195
+ appliedChangeMode?: "direct" | "tracked";
110366
111196
  table?: {
110367
111197
  kind: "block";
110368
111198
  nodeType: "table";
@@ -110411,6 +111241,7 @@ export type DocTablesDistributeColumnsResult = {
110411
111241
  };
110412
111242
  export type DocTablesInsertCellResult = {
110413
111243
  success: true;
111244
+ appliedChangeMode?: "direct" | "tracked";
110414
111245
  table?: {
110415
111246
  kind: "block";
110416
111247
  nodeType: "table";
@@ -110459,6 +111290,7 @@ export type DocTablesInsertCellResult = {
110459
111290
  };
110460
111291
  export type DocTablesDeleteCellResult = {
110461
111292
  success: true;
111293
+ appliedChangeMode?: "direct" | "tracked";
110462
111294
  table?: {
110463
111295
  kind: "block";
110464
111296
  nodeType: "table";
@@ -110507,6 +111339,7 @@ export type DocTablesDeleteCellResult = {
110507
111339
  };
110508
111340
  export type DocTablesMergeCellsResult = {
110509
111341
  success: true;
111342
+ appliedChangeMode?: "direct" | "tracked";
110510
111343
  table?: {
110511
111344
  kind: "block";
110512
111345
  nodeType: "table";
@@ -110555,6 +111388,7 @@ export type DocTablesMergeCellsResult = {
110555
111388
  };
110556
111389
  export type DocTablesUnmergeCellsResult = {
110557
111390
  success: true;
111391
+ appliedChangeMode?: "direct" | "tracked";
110558
111392
  table?: {
110559
111393
  kind: "block";
110560
111394
  nodeType: "table";
@@ -110603,6 +111437,7 @@ export type DocTablesUnmergeCellsResult = {
110603
111437
  };
110604
111438
  export type DocTablesSplitCellResult = {
110605
111439
  success: true;
111440
+ appliedChangeMode?: "direct" | "tracked";
110606
111441
  table?: {
110607
111442
  kind: "block";
110608
111443
  nodeType: "table";
@@ -110651,6 +111486,7 @@ export type DocTablesSplitCellResult = {
110651
111486
  };
110652
111487
  export type DocTablesSetCellPropertiesResult = {
110653
111488
  success: true;
111489
+ appliedChangeMode?: "direct" | "tracked";
110654
111490
  table?: {
110655
111491
  kind: "block";
110656
111492
  nodeType: "table";
@@ -110699,6 +111535,7 @@ export type DocTablesSetCellPropertiesResult = {
110699
111535
  };
110700
111536
  export type DocTablesSetCellTextResult = {
110701
111537
  success: true;
111538
+ appliedChangeMode?: "direct" | "tracked";
110702
111539
  table?: {
110703
111540
  kind: "block";
110704
111541
  nodeType: "table";
@@ -110747,6 +111584,7 @@ export type DocTablesSetCellTextResult = {
110747
111584
  };
110748
111585
  export type DocTablesSortResult = {
110749
111586
  success: true;
111587
+ appliedChangeMode?: "direct" | "tracked";
110750
111588
  table?: {
110751
111589
  kind: "block";
110752
111590
  nodeType: "table";
@@ -110795,6 +111633,7 @@ export type DocTablesSortResult = {
110795
111633
  };
110796
111634
  export type DocTablesSetAltTextResult = {
110797
111635
  success: true;
111636
+ appliedChangeMode?: "direct" | "tracked";
110798
111637
  table?: {
110799
111638
  kind: "block";
110800
111639
  nodeType: "table";
@@ -110843,6 +111682,7 @@ export type DocTablesSetAltTextResult = {
110843
111682
  };
110844
111683
  export type DocTablesSetStyleResult = {
110845
111684
  success: true;
111685
+ appliedChangeMode?: "direct" | "tracked";
110846
111686
  table?: {
110847
111687
  kind: "block";
110848
111688
  nodeType: "table";
@@ -110891,6 +111731,7 @@ export type DocTablesSetStyleResult = {
110891
111731
  };
110892
111732
  export type DocTablesClearStyleResult = {
110893
111733
  success: true;
111734
+ appliedChangeMode?: "direct" | "tracked";
110894
111735
  table?: {
110895
111736
  kind: "block";
110896
111737
  nodeType: "table";
@@ -110939,6 +111780,7 @@ export type DocTablesClearStyleResult = {
110939
111780
  };
110940
111781
  export type DocTablesSetStyleOptionResult = {
110941
111782
  success: true;
111783
+ appliedChangeMode?: "direct" | "tracked";
110942
111784
  table?: {
110943
111785
  kind: "block";
110944
111786
  nodeType: "table";
@@ -110987,6 +111829,7 @@ export type DocTablesSetStyleOptionResult = {
110987
111829
  };
110988
111830
  export type DocTablesSetBorderResult = {
110989
111831
  success: true;
111832
+ appliedChangeMode?: "direct" | "tracked";
110990
111833
  table?: {
110991
111834
  kind: "block";
110992
111835
  nodeType: "table";
@@ -111035,6 +111878,7 @@ export type DocTablesSetBorderResult = {
111035
111878
  };
111036
111879
  export type DocTablesClearBorderResult = {
111037
111880
  success: true;
111881
+ appliedChangeMode?: "direct" | "tracked";
111038
111882
  table?: {
111039
111883
  kind: "block";
111040
111884
  nodeType: "table";
@@ -111083,6 +111927,7 @@ export type DocTablesClearBorderResult = {
111083
111927
  };
111084
111928
  export type DocTablesApplyBorderPresetResult = {
111085
111929
  success: true;
111930
+ appliedChangeMode?: "direct" | "tracked";
111086
111931
  table?: {
111087
111932
  kind: "block";
111088
111933
  nodeType: "table";
@@ -111131,6 +111976,7 @@ export type DocTablesApplyBorderPresetResult = {
111131
111976
  };
111132
111977
  export type DocTablesSetShadingResult = {
111133
111978
  success: true;
111979
+ appliedChangeMode?: "direct" | "tracked";
111134
111980
  table?: {
111135
111981
  kind: "block";
111136
111982
  nodeType: "table";
@@ -111179,6 +112025,7 @@ export type DocTablesSetShadingResult = {
111179
112025
  };
111180
112026
  export type DocTablesClearShadingResult = {
111181
112027
  success: true;
112028
+ appliedChangeMode?: "direct" | "tracked";
111182
112029
  table?: {
111183
112030
  kind: "block";
111184
112031
  nodeType: "table";
@@ -111227,6 +112074,7 @@ export type DocTablesClearShadingResult = {
111227
112074
  };
111228
112075
  export type DocTablesSetTablePaddingResult = {
111229
112076
  success: true;
112077
+ appliedChangeMode?: "direct" | "tracked";
111230
112078
  table?: {
111231
112079
  kind: "block";
111232
112080
  nodeType: "table";
@@ -111275,6 +112123,7 @@ export type DocTablesSetTablePaddingResult = {
111275
112123
  };
111276
112124
  export type DocTablesSetCellPaddingResult = {
111277
112125
  success: true;
112126
+ appliedChangeMode?: "direct" | "tracked";
111278
112127
  table?: {
111279
112128
  kind: "block";
111280
112129
  nodeType: "table";
@@ -111323,6 +112172,7 @@ export type DocTablesSetCellPaddingResult = {
111323
112172
  };
111324
112173
  export type DocTablesSetCellSpacingResult = {
111325
112174
  success: true;
112175
+ appliedChangeMode?: "direct" | "tracked";
111326
112176
  table?: {
111327
112177
  kind: "block";
111328
112178
  nodeType: "table";
@@ -111371,6 +112221,7 @@ export type DocTablesSetCellSpacingResult = {
111371
112221
  };
111372
112222
  export type DocTablesClearCellSpacingResult = {
111373
112223
  success: true;
112224
+ appliedChangeMode?: "direct" | "tracked";
111374
112225
  table?: {
111375
112226
  kind: "block";
111376
112227
  nodeType: "table";
@@ -111419,6 +112270,7 @@ export type DocTablesClearCellSpacingResult = {
111419
112270
  };
111420
112271
  export type DocTablesApplyStyleResult = {
111421
112272
  success: true;
112273
+ appliedChangeMode?: "direct" | "tracked";
111422
112274
  table?: {
111423
112275
  kind: "block";
111424
112276
  nodeType: "table";
@@ -111467,6 +112319,7 @@ export type DocTablesApplyStyleResult = {
111467
112319
  };
111468
112320
  export type DocTablesSetBordersResult = {
111469
112321
  success: true;
112322
+ appliedChangeMode?: "direct" | "tracked";
111470
112323
  table?: {
111471
112324
  kind: "block";
111472
112325
  nodeType: "table";
@@ -111515,6 +112368,7 @@ export type DocTablesSetBordersResult = {
111515
112368
  };
111516
112369
  export type DocTablesSetTableOptionsResult = {
111517
112370
  success: true;
112371
+ appliedChangeMode?: "direct" | "tracked";
111518
112372
  table?: {
111519
112373
  kind: "block";
111520
112374
  nodeType: "table";
@@ -111563,6 +112417,7 @@ export type DocTablesSetTableOptionsResult = {
111563
112417
  };
111564
112418
  export type DocTablesApplyPresetResult = {
111565
112419
  success: true;
112420
+ appliedChangeMode?: "direct" | "tracked";
111566
112421
  table?: {
111567
112422
  kind: "block";
111568
112423
  nodeType: "table";
@@ -111725,6 +112580,7 @@ export type DocTablesClearDefaultStyleResult = {
111725
112580
  };
111726
112581
  export type DocCreateTableOfContentsResult = {
111727
112582
  success: true;
112583
+ appliedChangeMode?: "direct" | "tracked";
111728
112584
  toc: {
111729
112585
  kind: "block";
111730
112586
  nodeType: "tableOfContents";
@@ -111771,6 +112627,7 @@ export type DocTocGetResult = {
111771
112627
  };
111772
112628
  export type DocTocConfigureResult = {
111773
112629
  success: true;
112630
+ appliedChangeMode?: "direct" | "tracked";
111774
112631
  toc: {
111775
112632
  kind: "block";
111776
112633
  nodeType: "tableOfContents";
@@ -111779,6 +112636,7 @@ export type DocTocConfigureResult = {
111779
112636
  };
111780
112637
  export type DocTocUpdateResult = {
111781
112638
  success: true;
112639
+ appliedChangeMode?: "direct" | "tracked";
111782
112640
  toc: {
111783
112641
  kind: "block";
111784
112642
  nodeType: "tableOfContents";
@@ -111787,6 +112645,7 @@ export type DocTocUpdateResult = {
111787
112645
  };
111788
112646
  export type DocTocRemoveResult = {
111789
112647
  success: true;
112648
+ appliedChangeMode?: "direct" | "tracked";
111790
112649
  toc: {
111791
112650
  kind: "block";
111792
112651
  nodeType: "tableOfContents";
@@ -111795,6 +112654,7 @@ export type DocTocRemoveResult = {
111795
112654
  };
111796
112655
  export type DocTocMarkEntryResult = {
111797
112656
  success: true;
112657
+ appliedChangeMode?: "direct" | "tracked";
111798
112658
  entry: {
111799
112659
  kind: "inline";
111800
112660
  nodeType: "tableOfContentsEntry";
@@ -111803,6 +112663,7 @@ export type DocTocMarkEntryResult = {
111803
112663
  };
111804
112664
  export type DocTocUnmarkEntryResult = {
111805
112665
  success: true;
112666
+ appliedChangeMode?: "direct" | "tracked";
111806
112667
  entry: {
111807
112668
  kind: "inline";
111808
112669
  nodeType: "tableOfContentsEntry";
@@ -111849,6 +112710,7 @@ export type DocTocGetEntryResult = {
111849
112710
  };
111850
112711
  export type DocTocEditEntryResult = {
111851
112712
  success: true;
112713
+ appliedChangeMode?: "direct" | "tracked";
111852
112714
  entry: {
111853
112715
  kind: "inline";
111854
112716
  nodeType: "tableOfContentsEntry";
@@ -112978,6 +113840,7 @@ export type DocHistoryRedoResult = {
112978
113840
  };
112979
113841
  export type DocCreateImageResult = {
112980
113842
  success: true;
113843
+ appliedChangeMode?: "direct" | "tracked";
112981
113844
  image: Record<string, unknown>;
112982
113845
  trackedChangeRefs?: Array<{
112983
113846
  kind: "entity";
@@ -113023,102 +113886,127 @@ export type DocImagesListResult = {
113023
113886
  export type DocImagesGetResult = Record<string, unknown>;
113024
113887
  export type DocImagesDeleteResult = {
113025
113888
  success: true;
113889
+ appliedChangeMode?: "direct" | "tracked";
113026
113890
  image: Record<string, unknown>;
113027
113891
  };
113028
113892
  export type DocImagesMoveResult = {
113029
113893
  success: true;
113894
+ appliedChangeMode?: "direct" | "tracked";
113030
113895
  image: Record<string, unknown>;
113031
113896
  };
113032
113897
  export type DocImagesConvertToInlineResult = {
113033
113898
  success: true;
113899
+ appliedChangeMode?: "direct" | "tracked";
113034
113900
  image: Record<string, unknown>;
113035
113901
  };
113036
113902
  export type DocImagesConvertToFloatingResult = {
113037
113903
  success: true;
113904
+ appliedChangeMode?: "direct" | "tracked";
113038
113905
  image: Record<string, unknown>;
113039
113906
  };
113040
113907
  export type DocImagesSetSizeResult = {
113041
113908
  success: true;
113909
+ appliedChangeMode?: "direct" | "tracked";
113042
113910
  image: Record<string, unknown>;
113043
113911
  };
113044
113912
  export type DocImagesSetWrapTypeResult = {
113045
113913
  success: true;
113914
+ appliedChangeMode?: "direct" | "tracked";
113046
113915
  image: Record<string, unknown>;
113047
113916
  };
113048
113917
  export type DocImagesSetWrapSideResult = {
113049
113918
  success: true;
113919
+ appliedChangeMode?: "direct" | "tracked";
113050
113920
  image: Record<string, unknown>;
113051
113921
  };
113052
113922
  export type DocImagesSetWrapDistancesResult = {
113053
113923
  success: true;
113924
+ appliedChangeMode?: "direct" | "tracked";
113054
113925
  image: Record<string, unknown>;
113055
113926
  };
113056
113927
  export type DocImagesSetPositionResult = {
113057
113928
  success: true;
113929
+ appliedChangeMode?: "direct" | "tracked";
113058
113930
  image: Record<string, unknown>;
113059
113931
  };
113060
113932
  export type DocImagesSetAnchorOptionsResult = {
113061
113933
  success: true;
113934
+ appliedChangeMode?: "direct" | "tracked";
113062
113935
  image: Record<string, unknown>;
113063
113936
  };
113064
113937
  export type DocImagesSetZOrderResult = {
113065
113938
  success: true;
113939
+ appliedChangeMode?: "direct" | "tracked";
113066
113940
  image: Record<string, unknown>;
113067
113941
  };
113068
113942
  export type DocImagesScaleResult = {
113069
113943
  success: true;
113944
+ appliedChangeMode?: "direct" | "tracked";
113070
113945
  image: Record<string, unknown>;
113071
113946
  };
113072
113947
  export type DocImagesSetLockAspectRatioResult = {
113073
113948
  success: true;
113949
+ appliedChangeMode?: "direct" | "tracked";
113074
113950
  image: Record<string, unknown>;
113075
113951
  };
113076
113952
  export type DocImagesRotateResult = {
113077
113953
  success: true;
113954
+ appliedChangeMode?: "direct" | "tracked";
113078
113955
  image: Record<string, unknown>;
113079
113956
  };
113080
113957
  export type DocImagesFlipResult = {
113081
113958
  success: true;
113959
+ appliedChangeMode?: "direct" | "tracked";
113082
113960
  image: Record<string, unknown>;
113083
113961
  };
113084
113962
  export type DocImagesCropResult = {
113085
113963
  success: true;
113964
+ appliedChangeMode?: "direct" | "tracked";
113086
113965
  image: Record<string, unknown>;
113087
113966
  };
113088
113967
  export type DocImagesResetCropResult = {
113089
113968
  success: true;
113969
+ appliedChangeMode?: "direct" | "tracked";
113090
113970
  image: Record<string, unknown>;
113091
113971
  };
113092
113972
  export type DocImagesReplaceSourceResult = {
113093
113973
  success: true;
113974
+ appliedChangeMode?: "direct" | "tracked";
113094
113975
  image: Record<string, unknown>;
113095
113976
  };
113096
113977
  export type DocImagesSetAltTextResult = {
113097
113978
  success: true;
113979
+ appliedChangeMode?: "direct" | "tracked";
113098
113980
  image: Record<string, unknown>;
113099
113981
  };
113100
113982
  export type DocImagesSetDecorativeResult = {
113101
113983
  success: true;
113984
+ appliedChangeMode?: "direct" | "tracked";
113102
113985
  image: Record<string, unknown>;
113103
113986
  };
113104
113987
  export type DocImagesSetNameResult = {
113105
113988
  success: true;
113989
+ appliedChangeMode?: "direct" | "tracked";
113106
113990
  image: Record<string, unknown>;
113107
113991
  };
113108
113992
  export type DocImagesSetHyperlinkResult = {
113109
113993
  success: true;
113994
+ appliedChangeMode?: "direct" | "tracked";
113110
113995
  image: Record<string, unknown>;
113111
113996
  };
113112
113997
  export type DocImagesInsertCaptionResult = {
113113
113998
  success: true;
113999
+ appliedChangeMode?: "direct" | "tracked";
113114
114000
  image: Record<string, unknown>;
113115
114001
  };
113116
114002
  export type DocImagesUpdateCaptionResult = {
113117
114003
  success: true;
114004
+ appliedChangeMode?: "direct" | "tracked";
113118
114005
  image: Record<string, unknown>;
113119
114006
  };
113120
114007
  export type DocImagesRemoveCaptionResult = {
113121
114008
  success: true;
114009
+ appliedChangeMode?: "direct" | "tracked";
113122
114010
  image: Record<string, unknown>;
113123
114011
  };
113124
114012
  export type DocHyperlinksListResult = {
@@ -113196,6 +114084,7 @@ export type DocHyperlinksWrapResult = {
113196
114084
  };
113197
114085
  };
113198
114086
  };
114087
+ appliedChangeMode?: "direct" | "tracked";
113199
114088
  };
113200
114089
  export type DocHyperlinksInsertResult = {
113201
114090
  success: true;
@@ -113213,6 +114102,7 @@ export type DocHyperlinksInsertResult = {
113213
114102
  };
113214
114103
  };
113215
114104
  };
114105
+ appliedChangeMode?: "direct" | "tracked";
113216
114106
  };
113217
114107
  export type DocHyperlinksPatchResult = {
113218
114108
  success: true;
@@ -113230,6 +114120,7 @@ export type DocHyperlinksPatchResult = {
113230
114120
  };
113231
114121
  };
113232
114122
  };
114123
+ appliedChangeMode?: "direct" | "tracked";
113233
114124
  };
113234
114125
  export type DocHyperlinksRemoveResult = {
113235
114126
  success: true;
@@ -113247,6 +114138,7 @@ export type DocHyperlinksRemoveResult = {
113247
114138
  };
113248
114139
  };
113249
114140
  };
114141
+ appliedChangeMode?: "direct" | "tracked";
113250
114142
  };
113251
114143
  export type DocHeaderFootersListResult = {
113252
114144
  evaluatedRevision: string;
@@ -113309,6 +114201,7 @@ export type DocHeaderFootersRefsSetResult = {
113309
114201
  kind: "section";
113310
114202
  sectionId: string;
113311
114203
  };
114204
+ appliedChangeMode?: "direct" | "tracked";
113312
114205
  };
113313
114206
  export type DocHeaderFootersRefsClearResult = {
113314
114207
  success: true;
@@ -113316,6 +114209,7 @@ export type DocHeaderFootersRefsClearResult = {
113316
114209
  kind: "section";
113317
114210
  sectionId: string;
113318
114211
  };
114212
+ appliedChangeMode?: "direct" | "tracked";
113319
114213
  };
113320
114214
  export type DocHeaderFootersRefsSetLinkedToPreviousResult = {
113321
114215
  success: true;
@@ -113323,6 +114217,7 @@ export type DocHeaderFootersRefsSetLinkedToPreviousResult = {
113323
114217
  kind: "section";
113324
114218
  sectionId: string;
113325
114219
  };
114220
+ appliedChangeMode?: "direct" | "tracked";
113326
114221
  };
113327
114222
  export type DocHeaderFootersPartsListResult = {
113328
114223
  evaluatedRevision: string;
@@ -113802,6 +114697,7 @@ export type DocWatermarksRemoveResult = {
113802
114697
  };
113803
114698
  export type DocCreateContentControlResult = {
113804
114699
  success: true;
114700
+ appliedChangeMode?: "direct" | "tracked";
113805
114701
  contentControl: {
113806
114702
  kind: "block" | "inline";
113807
114703
  nodeType: "sdt";
@@ -115618,6 +116514,7 @@ export type DocContentControlsGetParentResult = ({
115618
116514
  }) | null;
115619
116515
  export type DocContentControlsWrapResult = {
115620
116516
  success: true;
116517
+ appliedChangeMode?: "direct" | "tracked";
115621
116518
  contentControl: {
115622
116519
  kind: "block" | "inline";
115623
116520
  nodeType: "sdt";
@@ -115760,6 +116657,7 @@ export type DocContentControlsWrapResult = {
115760
116657
  };
115761
116658
  export type DocContentControlsUnwrapResult = {
115762
116659
  success: true;
116660
+ appliedChangeMode?: "direct" | "tracked";
115763
116661
  contentControl: {
115764
116662
  kind: "block" | "inline";
115765
116663
  nodeType: "sdt";
@@ -115902,6 +116800,7 @@ export type DocContentControlsUnwrapResult = {
115902
116800
  };
115903
116801
  export type DocContentControlsDeleteResult = {
115904
116802
  success: true;
116803
+ appliedChangeMode?: "direct" | "tracked";
115905
116804
  contentControl: {
115906
116805
  kind: "block" | "inline";
115907
116806
  nodeType: "sdt";
@@ -116044,6 +116943,7 @@ export type DocContentControlsDeleteResult = {
116044
116943
  };
116045
116944
  export type DocContentControlsCopyResult = {
116046
116945
  success: true;
116946
+ appliedChangeMode?: "direct" | "tracked";
116047
116947
  contentControl: {
116048
116948
  kind: "block" | "inline";
116049
116949
  nodeType: "sdt";
@@ -116186,6 +117086,7 @@ export type DocContentControlsCopyResult = {
116186
117086
  };
116187
117087
  export type DocContentControlsMoveResult = {
116188
117088
  success: true;
117089
+ appliedChangeMode?: "direct" | "tracked";
116189
117090
  contentControl: {
116190
117091
  kind: "block" | "inline";
116191
117092
  nodeType: "sdt";
@@ -116328,6 +117229,7 @@ export type DocContentControlsMoveResult = {
116328
117229
  };
116329
117230
  export type DocContentControlsPatchResult = {
116330
117231
  success: true;
117232
+ appliedChangeMode?: "direct" | "tracked";
116331
117233
  contentControl: {
116332
117234
  kind: "block" | "inline";
116333
117235
  nodeType: "sdt";
@@ -116470,6 +117372,7 @@ export type DocContentControlsPatchResult = {
116470
117372
  };
116471
117373
  export type DocContentControlsSetLockModeResult = {
116472
117374
  success: true;
117375
+ appliedChangeMode?: "direct" | "tracked";
116473
117376
  contentControl: {
116474
117377
  kind: "block" | "inline";
116475
117378
  nodeType: "sdt";
@@ -116612,6 +117515,7 @@ export type DocContentControlsSetLockModeResult = {
116612
117515
  };
116613
117516
  export type DocContentControlsSetTypeResult = {
116614
117517
  success: true;
117518
+ appliedChangeMode?: "direct" | "tracked";
116615
117519
  contentControl: {
116616
117520
  kind: "block" | "inline";
116617
117521
  nodeType: "sdt";
@@ -116758,6 +117662,7 @@ export type DocContentControlsGetContentResult = {
116758
117662
  };
116759
117663
  export type DocContentControlsReplaceContentResult = {
116760
117664
  success: true;
117665
+ appliedChangeMode?: "direct" | "tracked";
116761
117666
  contentControl: {
116762
117667
  kind: "block" | "inline";
116763
117668
  nodeType: "sdt";
@@ -116900,6 +117805,7 @@ export type DocContentControlsReplaceContentResult = {
116900
117805
  };
116901
117806
  export type DocContentControlsClearContentResult = {
116902
117807
  success: true;
117808
+ appliedChangeMode?: "direct" | "tracked";
116903
117809
  contentControl: {
116904
117810
  kind: "block" | "inline";
116905
117811
  nodeType: "sdt";
@@ -117042,6 +117948,7 @@ export type DocContentControlsClearContentResult = {
117042
117948
  };
117043
117949
  export type DocContentControlsAppendContentResult = {
117044
117950
  success: true;
117951
+ appliedChangeMode?: "direct" | "tracked";
117045
117952
  contentControl: {
117046
117953
  kind: "block" | "inline";
117047
117954
  nodeType: "sdt";
@@ -117184,6 +118091,7 @@ export type DocContentControlsAppendContentResult = {
117184
118091
  };
117185
118092
  export type DocContentControlsPrependContentResult = {
117186
118093
  success: true;
118094
+ appliedChangeMode?: "direct" | "tracked";
117187
118095
  contentControl: {
117188
118096
  kind: "block" | "inline";
117189
118097
  nodeType: "sdt";
@@ -117326,6 +118234,7 @@ export type DocContentControlsPrependContentResult = {
117326
118234
  };
117327
118235
  export type DocContentControlsInsertBeforeResult = {
117328
118236
  success: true;
118237
+ appliedChangeMode?: "direct" | "tracked";
117329
118238
  contentControl: {
117330
118239
  kind: "block" | "inline";
117331
118240
  nodeType: "sdt";
@@ -117468,6 +118377,7 @@ export type DocContentControlsInsertBeforeResult = {
117468
118377
  };
117469
118378
  export type DocContentControlsInsertAfterResult = {
117470
118379
  success: true;
118380
+ appliedChangeMode?: "direct" | "tracked";
117471
118381
  contentControl: {
117472
118382
  kind: "block" | "inline";
117473
118383
  nodeType: "sdt";
@@ -117615,6 +118525,7 @@ export type DocContentControlsGetBindingResult = ({
117615
118525
  }) | null;
117616
118526
  export type DocContentControlsSetBindingResult = {
117617
118527
  success: true;
118528
+ appliedChangeMode?: "direct" | "tracked";
117618
118529
  contentControl: {
117619
118530
  kind: "block" | "inline";
117620
118531
  nodeType: "sdt";
@@ -117757,6 +118668,7 @@ export type DocContentControlsSetBindingResult = {
117757
118668
  };
117758
118669
  export type DocContentControlsClearBindingResult = {
117759
118670
  success: true;
118671
+ appliedChangeMode?: "direct" | "tracked";
117760
118672
  contentControl: {
117761
118673
  kind: "block" | "inline";
117762
118674
  nodeType: "sdt";
@@ -117902,6 +118814,7 @@ export type DocContentControlsGetRawPropertiesResult = {
117902
118814
  };
117903
118815
  export type DocContentControlsPatchRawPropertiesResult = {
117904
118816
  success: true;
118817
+ appliedChangeMode?: "direct" | "tracked";
117905
118818
  contentControl: {
117906
118819
  kind: "block" | "inline";
117907
118820
  nodeType: "sdt";
@@ -118048,6 +118961,7 @@ export type DocContentControlsValidateWordCompatibilityResult = {
118048
118961
  };
118049
118962
  export type DocContentControlsNormalizeWordCompatibilityResult = {
118050
118963
  success: true;
118964
+ appliedChangeMode?: "direct" | "tracked";
118051
118965
  contentControl: {
118052
118966
  kind: "block" | "inline";
118053
118967
  nodeType: "sdt";
@@ -118190,6 +119104,7 @@ export type DocContentControlsNormalizeWordCompatibilityResult = {
118190
119104
  };
118191
119105
  export type DocContentControlsNormalizeTagPayloadResult = {
118192
119106
  success: true;
119107
+ appliedChangeMode?: "direct" | "tracked";
118193
119108
  contentControl: {
118194
119109
  kind: "block" | "inline";
118195
119110
  nodeType: "sdt";
@@ -118332,6 +119247,7 @@ export type DocContentControlsNormalizeTagPayloadResult = {
118332
119247
  };
118333
119248
  export type DocContentControlsTextSetMultilineResult = {
118334
119249
  success: true;
119250
+ appliedChangeMode?: "direct" | "tracked";
118335
119251
  contentControl: {
118336
119252
  kind: "block" | "inline";
118337
119253
  nodeType: "sdt";
@@ -118474,6 +119390,7 @@ export type DocContentControlsTextSetMultilineResult = {
118474
119390
  };
118475
119391
  export type DocContentControlsTextSetValueResult = {
118476
119392
  success: true;
119393
+ appliedChangeMode?: "direct" | "tracked";
118477
119394
  contentControl: {
118478
119395
  kind: "block" | "inline";
118479
119396
  nodeType: "sdt";
@@ -118616,6 +119533,7 @@ export type DocContentControlsTextSetValueResult = {
118616
119533
  };
118617
119534
  export type DocContentControlsTextClearValueResult = {
118618
119535
  success: true;
119536
+ appliedChangeMode?: "direct" | "tracked";
118619
119537
  contentControl: {
118620
119538
  kind: "block" | "inline";
118621
119539
  nodeType: "sdt";
@@ -118758,6 +119676,7 @@ export type DocContentControlsTextClearValueResult = {
118758
119676
  };
118759
119677
  export type DocContentControlsDateSetValueResult = {
118760
119678
  success: true;
119679
+ appliedChangeMode?: "direct" | "tracked";
118761
119680
  contentControl: {
118762
119681
  kind: "block" | "inline";
118763
119682
  nodeType: "sdt";
@@ -118900,6 +119819,7 @@ export type DocContentControlsDateSetValueResult = {
118900
119819
  };
118901
119820
  export type DocContentControlsDateClearValueResult = {
118902
119821
  success: true;
119822
+ appliedChangeMode?: "direct" | "tracked";
118903
119823
  contentControl: {
118904
119824
  kind: "block" | "inline";
118905
119825
  nodeType: "sdt";
@@ -119042,6 +119962,7 @@ export type DocContentControlsDateClearValueResult = {
119042
119962
  };
119043
119963
  export type DocContentControlsDateSetDisplayFormatResult = {
119044
119964
  success: true;
119965
+ appliedChangeMode?: "direct" | "tracked";
119045
119966
  contentControl: {
119046
119967
  kind: "block" | "inline";
119047
119968
  nodeType: "sdt";
@@ -119184,6 +120105,7 @@ export type DocContentControlsDateSetDisplayFormatResult = {
119184
120105
  };
119185
120106
  export type DocContentControlsDateSetDisplayLocaleResult = {
119186
120107
  success: true;
120108
+ appliedChangeMode?: "direct" | "tracked";
119187
120109
  contentControl: {
119188
120110
  kind: "block" | "inline";
119189
120111
  nodeType: "sdt";
@@ -119326,6 +120248,7 @@ export type DocContentControlsDateSetDisplayLocaleResult = {
119326
120248
  };
119327
120249
  export type DocContentControlsDateSetStorageFormatResult = {
119328
120250
  success: true;
120251
+ appliedChangeMode?: "direct" | "tracked";
119329
120252
  contentControl: {
119330
120253
  kind: "block" | "inline";
119331
120254
  nodeType: "sdt";
@@ -119468,6 +120391,7 @@ export type DocContentControlsDateSetStorageFormatResult = {
119468
120391
  };
119469
120392
  export type DocContentControlsDateSetCalendarResult = {
119470
120393
  success: true;
120394
+ appliedChangeMode?: "direct" | "tracked";
119471
120395
  contentControl: {
119472
120396
  kind: "block" | "inline";
119473
120397
  nodeType: "sdt";
@@ -119613,6 +120537,7 @@ export type DocContentControlsCheckboxGetStateResult = {
119613
120537
  };
119614
120538
  export type DocContentControlsCheckboxSetStateResult = {
119615
120539
  success: true;
120540
+ appliedChangeMode?: "direct" | "tracked";
119616
120541
  contentControl: {
119617
120542
  kind: "block" | "inline";
119618
120543
  nodeType: "sdt";
@@ -119755,6 +120680,7 @@ export type DocContentControlsCheckboxSetStateResult = {
119755
120680
  };
119756
120681
  export type DocContentControlsCheckboxToggleResult = {
119757
120682
  success: true;
120683
+ appliedChangeMode?: "direct" | "tracked";
119758
120684
  contentControl: {
119759
120685
  kind: "block" | "inline";
119760
120686
  nodeType: "sdt";
@@ -119897,6 +120823,7 @@ export type DocContentControlsCheckboxToggleResult = {
119897
120823
  };
119898
120824
  export type DocContentControlsCheckboxSetSymbolPairResult = {
119899
120825
  success: true;
120826
+ appliedChangeMode?: "direct" | "tracked";
119900
120827
  contentControl: {
119901
120828
  kind: "block" | "inline";
119902
120829
  nodeType: "sdt";
@@ -120043,6 +120970,7 @@ export type DocContentControlsChoiceListGetItemsResult = {
120043
120970
  };
120044
120971
  export type DocContentControlsChoiceListSetItemsResult = {
120045
120972
  success: true;
120973
+ appliedChangeMode?: "direct" | "tracked";
120046
120974
  contentControl: {
120047
120975
  kind: "block" | "inline";
120048
120976
  nodeType: "sdt";
@@ -120185,6 +121113,7 @@ export type DocContentControlsChoiceListSetItemsResult = {
120185
121113
  };
120186
121114
  export type DocContentControlsChoiceListSetSelectedResult = {
120187
121115
  success: true;
121116
+ appliedChangeMode?: "direct" | "tracked";
120188
121117
  contentControl: {
120189
121118
  kind: "block" | "inline";
120190
121119
  nodeType: "sdt";
@@ -120567,6 +121496,7 @@ export type DocContentControlsRepeatingSectionListItemsResult = {
120567
121496
  };
120568
121497
  export type DocContentControlsRepeatingSectionInsertItemBeforeResult = {
120569
121498
  success: true;
121499
+ appliedChangeMode?: "direct" | "tracked";
120570
121500
  contentControl: {
120571
121501
  kind: "block" | "inline";
120572
121502
  nodeType: "sdt";
@@ -120709,6 +121639,7 @@ export type DocContentControlsRepeatingSectionInsertItemBeforeResult = {
120709
121639
  };
120710
121640
  export type DocContentControlsRepeatingSectionInsertItemAfterResult = {
120711
121641
  success: true;
121642
+ appliedChangeMode?: "direct" | "tracked";
120712
121643
  contentControl: {
120713
121644
  kind: "block" | "inline";
120714
121645
  nodeType: "sdt";
@@ -120851,6 +121782,7 @@ export type DocContentControlsRepeatingSectionInsertItemAfterResult = {
120851
121782
  };
120852
121783
  export type DocContentControlsRepeatingSectionCloneItemResult = {
120853
121784
  success: true;
121785
+ appliedChangeMode?: "direct" | "tracked";
120854
121786
  contentControl: {
120855
121787
  kind: "block" | "inline";
120856
121788
  nodeType: "sdt";
@@ -120993,6 +121925,7 @@ export type DocContentControlsRepeatingSectionCloneItemResult = {
120993
121925
  };
120994
121926
  export type DocContentControlsRepeatingSectionDeleteItemResult = {
120995
121927
  success: true;
121928
+ appliedChangeMode?: "direct" | "tracked";
120996
121929
  contentControl: {
120997
121930
  kind: "block" | "inline";
120998
121931
  nodeType: "sdt";
@@ -121135,6 +122068,7 @@ export type DocContentControlsRepeatingSectionDeleteItemResult = {
121135
122068
  };
121136
122069
  export type DocContentControlsRepeatingSectionSetAllowInsertDeleteResult = {
121137
122070
  success: true;
122071
+ appliedChangeMode?: "direct" | "tracked";
121138
122072
  contentControl: {
121139
122073
  kind: "block" | "inline";
121140
122074
  nodeType: "sdt";
@@ -121277,6 +122211,7 @@ export type DocContentControlsRepeatingSectionSetAllowInsertDeleteResult = {
121277
122211
  };
121278
122212
  export type DocContentControlsGroupWrapResult = {
121279
122213
  success: true;
122214
+ appliedChangeMode?: "direct" | "tracked";
121280
122215
  contentControl: {
121281
122216
  kind: "block" | "inline";
121282
122217
  nodeType: "sdt";
@@ -121419,6 +122354,7 @@ export type DocContentControlsGroupWrapResult = {
121419
122354
  };
121420
122355
  export type DocContentControlsGroupUngroupResult = {
121421
122356
  success: true;
122357
+ appliedChangeMode?: "direct" | "tracked";
121422
122358
  contentControl: {
121423
122359
  kind: "block" | "inline";
121424
122360
  nodeType: "sdt";
@@ -121563,6 +122499,7 @@ export type DocBookmarksListResult = Record<string, unknown>;
121563
122499
  export type DocBookmarksGetResult = Record<string, unknown>;
121564
122500
  export type DocBookmarksInsertResult = {
121565
122501
  success: true;
122502
+ appliedChangeMode?: "direct" | "tracked";
121566
122503
  bookmark: {
121567
122504
  kind: "entity";
121568
122505
  entityType: "bookmark";
@@ -121602,6 +122539,7 @@ export type DocBookmarksInsertResult = {
121602
122539
  };
121603
122540
  export type DocBookmarksRenameResult = {
121604
122541
  success: true;
122542
+ appliedChangeMode?: "direct" | "tracked";
121605
122543
  bookmark: {
121606
122544
  kind: "entity";
121607
122545
  entityType: "bookmark";
@@ -121641,6 +122579,7 @@ export type DocBookmarksRenameResult = {
121641
122579
  };
121642
122580
  export type DocBookmarksRemoveResult = {
121643
122581
  success: true;
122582
+ appliedChangeMode?: "direct" | "tracked";
121644
122583
  bookmark: {
121645
122584
  kind: "entity";
121646
122585
  entityType: "bookmark";
@@ -121682,6 +122621,7 @@ export type DocFootnotesListResult = Record<string, unknown>;
121682
122621
  export type DocFootnotesGetResult = Record<string, unknown>;
121683
122622
  export type DocFootnotesInsertResult = {
121684
122623
  success: true;
122624
+ appliedChangeMode?: "direct" | "tracked";
121685
122625
  footnote: {
121686
122626
  kind: "entity";
121687
122627
  entityType: "footnote";
@@ -121690,6 +122630,7 @@ export type DocFootnotesInsertResult = {
121690
122630
  };
121691
122631
  export type DocFootnotesUpdateResult = {
121692
122632
  success: true;
122633
+ appliedChangeMode?: "direct" | "tracked";
121693
122634
  footnote: {
121694
122635
  kind: "entity";
121695
122636
  entityType: "footnote";
@@ -121698,6 +122639,7 @@ export type DocFootnotesUpdateResult = {
121698
122639
  };
121699
122640
  export type DocFootnotesRemoveResult = {
121700
122641
  success: true;
122642
+ appliedChangeMode?: "direct" | "tracked";
121701
122643
  footnote: {
121702
122644
  kind: "entity";
121703
122645
  entityType: "footnote";
@@ -121706,6 +122648,7 @@ export type DocFootnotesRemoveResult = {
121706
122648
  };
121707
122649
  export type DocFootnotesConfigureResult = {
121708
122650
  success: true;
122651
+ appliedChangeMode?: "direct" | "tracked";
121709
122652
  };
121710
122653
  export type DocClipboardParseResult = {
121711
122654
  success?: boolean;
@@ -121715,6 +122658,7 @@ export type DocClipboardParseResult = {
121715
122658
  };
121716
122659
  export type DocClipboardInsertResult = {
121717
122660
  success: true;
122661
+ appliedChangeMode?: "direct" | "tracked";
121718
122662
  id?: string;
121719
122663
  inserted?: Array<({
121720
122664
  kind: "entity";
@@ -122777,6 +123721,7 @@ export type DocCrossRefsListResult = Record<string, unknown>;
122777
123721
  export type DocCrossRefsGetResult = Record<string, unknown>;
122778
123722
  export type DocCrossRefsInsertResult = {
122779
123723
  success: true;
123724
+ appliedChangeMode?: "direct" | "tracked";
122780
123725
  crossRef: {
122781
123726
  kind: "inline";
122782
123727
  nodeType: "crossRef";
@@ -122794,6 +123739,7 @@ export type DocCrossRefsInsertResult = {
122794
123739
  };
122795
123740
  export type DocCrossRefsRebuildResult = {
122796
123741
  success: true;
123742
+ appliedChangeMode?: "direct" | "tracked";
122797
123743
  crossRef: {
122798
123744
  kind: "inline";
122799
123745
  nodeType: "crossRef";
@@ -122811,6 +123757,7 @@ export type DocCrossRefsRebuildResult = {
122811
123757
  };
122812
123758
  export type DocCrossRefsRemoveResult = {
122813
123759
  success: true;
123760
+ appliedChangeMode?: "direct" | "tracked";
122814
123761
  crossRef: {
122815
123762
  kind: "inline";
122816
123763
  nodeType: "crossRef";
@@ -122830,6 +123777,7 @@ export type DocIndexListResult = Record<string, unknown>;
122830
123777
  export type DocIndexGetResult = Record<string, unknown>;
122831
123778
  export type DocIndexInsertResult = {
122832
123779
  success: true;
123780
+ appliedChangeMode?: "direct" | "tracked";
122833
123781
  index: {
122834
123782
  kind: "block";
122835
123783
  nodeType: "index";
@@ -122838,6 +123786,7 @@ export type DocIndexInsertResult = {
122838
123786
  };
122839
123787
  export type DocIndexConfigureResult = {
122840
123788
  success: true;
123789
+ appliedChangeMode?: "direct" | "tracked";
122841
123790
  index: {
122842
123791
  kind: "block";
122843
123792
  nodeType: "index";
@@ -122846,6 +123795,7 @@ export type DocIndexConfigureResult = {
122846
123795
  };
122847
123796
  export type DocIndexRebuildResult = {
122848
123797
  success: true;
123798
+ appliedChangeMode?: "direct" | "tracked";
122849
123799
  index: {
122850
123800
  kind: "block";
122851
123801
  nodeType: "index";
@@ -122854,6 +123804,7 @@ export type DocIndexRebuildResult = {
122854
123804
  };
122855
123805
  export type DocIndexRemoveResult = {
122856
123806
  success: true;
123807
+ appliedChangeMode?: "direct" | "tracked";
122857
123808
  index: {
122858
123809
  kind: "block";
122859
123810
  nodeType: "index";
@@ -122864,6 +123815,7 @@ export type DocIndexEntriesListResult = Record<string, unknown>;
122864
123815
  export type DocIndexEntriesGetResult = Record<string, unknown>;
122865
123816
  export type DocIndexEntriesInsertResult = {
122866
123817
  success: true;
123818
+ appliedChangeMode?: "direct" | "tracked";
122867
123819
  entry: {
122868
123820
  kind: "inline";
122869
123821
  nodeType: "indexEntry";
@@ -122881,6 +123833,7 @@ export type DocIndexEntriesInsertResult = {
122881
123833
  };
122882
123834
  export type DocIndexEntriesUpdateResult = {
122883
123835
  success: true;
123836
+ appliedChangeMode?: "direct" | "tracked";
122884
123837
  entry: {
122885
123838
  kind: "inline";
122886
123839
  nodeType: "indexEntry";
@@ -122898,6 +123851,7 @@ export type DocIndexEntriesUpdateResult = {
122898
123851
  };
122899
123852
  export type DocIndexEntriesRemoveResult = {
122900
123853
  success: true;
123854
+ appliedChangeMode?: "direct" | "tracked";
122901
123855
  entry: {
122902
123856
  kind: "inline";
122903
123857
  nodeType: "indexEntry";
@@ -122917,6 +123871,7 @@ export type DocCaptionsListResult = Record<string, unknown>;
122917
123871
  export type DocCaptionsGetResult = Record<string, unknown>;
122918
123872
  export type DocCaptionsInsertResult = {
122919
123873
  success: true;
123874
+ appliedChangeMode?: "direct" | "tracked";
122920
123875
  caption: {
122921
123876
  kind: "block";
122922
123877
  nodeType: "paragraph";
@@ -122925,6 +123880,7 @@ export type DocCaptionsInsertResult = {
122925
123880
  };
122926
123881
  export type DocCaptionsUpdateResult = {
122927
123882
  success: true;
123883
+ appliedChangeMode?: "direct" | "tracked";
122928
123884
  caption: {
122929
123885
  kind: "block";
122930
123886
  nodeType: "paragraph";
@@ -122933,6 +123889,7 @@ export type DocCaptionsUpdateResult = {
122933
123889
  };
122934
123890
  export type DocCaptionsRemoveResult = {
122935
123891
  success: true;
123892
+ appliedChangeMode?: "direct" | "tracked";
122936
123893
  caption: {
122937
123894
  kind: "block";
122938
123895
  nodeType: "paragraph";
@@ -122946,6 +123903,7 @@ export type DocFieldsListResult = Record<string, unknown>;
122946
123903
  export type DocFieldsGetResult = Record<string, unknown>;
122947
123904
  export type DocFieldsInsertResult = {
122948
123905
  success: true;
123906
+ appliedChangeMode?: "direct" | "tracked";
122949
123907
  field: {
122950
123908
  kind: "field";
122951
123909
  blockId: string;
@@ -122957,6 +123915,7 @@ export type DocFieldsInsertResult = {
122957
123915
  };
122958
123916
  export type DocFieldsRebuildResult = {
122959
123917
  success: true;
123918
+ appliedChangeMode?: "direct" | "tracked";
122960
123919
  field: {
122961
123920
  kind: "field";
122962
123921
  blockId: string;
@@ -122968,6 +123927,7 @@ export type DocFieldsRebuildResult = {
122968
123927
  };
122969
123928
  export type DocFieldsRemoveResult = {
122970
123929
  success: true;
123930
+ appliedChangeMode?: "direct" | "tracked";
122971
123931
  field: {
122972
123932
  kind: "field";
122973
123933
  blockId: string;
@@ -122981,6 +123941,7 @@ export type DocCitationsListResult = Record<string, unknown>;
122981
123941
  export type DocCitationsGetResult = Record<string, unknown>;
122982
123942
  export type DocCitationsInsertResult = {
122983
123943
  success: true;
123944
+ appliedChangeMode?: "direct" | "tracked";
122984
123945
  citation: {
122985
123946
  kind: "inline";
122986
123947
  nodeType: "citation";
@@ -123032,6 +123993,7 @@ export type DocCitationsInsertResult = {
123032
123993
  };
123033
123994
  export type DocCitationsUpdateResult = {
123034
123995
  success: true;
123996
+ appliedChangeMode?: "direct" | "tracked";
123035
123997
  citation: {
123036
123998
  kind: "inline";
123037
123999
  nodeType: "citation";
@@ -123083,6 +124045,7 @@ export type DocCitationsUpdateResult = {
123083
124045
  };
123084
124046
  export type DocCitationsRemoveResult = {
123085
124047
  success: true;
124048
+ appliedChangeMode?: "direct" | "tracked";
123086
124049
  citation: {
123087
124050
  kind: "inline";
123088
124051
  nodeType: "citation";
@@ -123161,6 +124124,7 @@ export type DocCitationsSourcesRemoveResult = {
123161
124124
  export type DocCitationsBibliographyGetResult = Record<string, unknown>;
123162
124125
  export type DocCitationsBibliographyInsertResult = {
123163
124126
  success: true;
124127
+ appliedChangeMode?: "direct" | "tracked";
123164
124128
  bibliography: {
123165
124129
  kind: "block";
123166
124130
  nodeType: "bibliography";
@@ -123169,6 +124133,7 @@ export type DocCitationsBibliographyInsertResult = {
123169
124133
  };
123170
124134
  export type DocCitationsBibliographyRebuildResult = {
123171
124135
  success: true;
124136
+ appliedChangeMode?: "direct" | "tracked";
123172
124137
  bibliography: {
123173
124138
  kind: "block";
123174
124139
  nodeType: "bibliography";
@@ -123177,6 +124142,7 @@ export type DocCitationsBibliographyRebuildResult = {
123177
124142
  };
123178
124143
  export type DocCitationsBibliographyConfigureResult = {
123179
124144
  success: true;
124145
+ appliedChangeMode?: "direct" | "tracked";
123180
124146
  bibliography: {
123181
124147
  kind: "block";
123182
124148
  nodeType: "bibliography";
@@ -123185,6 +124151,7 @@ export type DocCitationsBibliographyConfigureResult = {
123185
124151
  };
123186
124152
  export type DocCitationsBibliographyRemoveResult = {
123187
124153
  success: true;
124154
+ appliedChangeMode?: "direct" | "tracked";
123188
124155
  bibliography: {
123189
124156
  kind: "block";
123190
124157
  nodeType: "bibliography";
@@ -123195,6 +124162,7 @@ export type DocAuthoritiesListResult = Record<string, unknown>;
123195
124162
  export type DocAuthoritiesGetResult = Record<string, unknown>;
123196
124163
  export type DocAuthoritiesInsertResult = {
123197
124164
  success: true;
124165
+ appliedChangeMode?: "direct" | "tracked";
123198
124166
  authorities: {
123199
124167
  kind: "block";
123200
124168
  nodeType: "tableOfAuthorities";
@@ -123203,6 +124171,7 @@ export type DocAuthoritiesInsertResult = {
123203
124171
  };
123204
124172
  export type DocAuthoritiesConfigureResult = {
123205
124173
  success: true;
124174
+ appliedChangeMode?: "direct" | "tracked";
123206
124175
  authorities: {
123207
124176
  kind: "block";
123208
124177
  nodeType: "tableOfAuthorities";
@@ -123211,6 +124180,7 @@ export type DocAuthoritiesConfigureResult = {
123211
124180
  };
123212
124181
  export type DocAuthoritiesRebuildResult = {
123213
124182
  success: true;
124183
+ appliedChangeMode?: "direct" | "tracked";
123214
124184
  authorities: {
123215
124185
  kind: "block";
123216
124186
  nodeType: "tableOfAuthorities";
@@ -123219,6 +124189,7 @@ export type DocAuthoritiesRebuildResult = {
123219
124189
  };
123220
124190
  export type DocAuthoritiesRemoveResult = {
123221
124191
  success: true;
124192
+ appliedChangeMode?: "direct" | "tracked";
123222
124193
  authorities: {
123223
124194
  kind: "block";
123224
124195
  nodeType: "tableOfAuthorities";
@@ -123229,6 +124200,7 @@ export type DocAuthoritiesEntriesListResult = Record<string, unknown>;
123229
124200
  export type DocAuthoritiesEntriesGetResult = Record<string, unknown>;
123230
124201
  export type DocAuthoritiesEntriesInsertResult = {
123231
124202
  success: true;
124203
+ appliedChangeMode?: "direct" | "tracked";
123232
124204
  entry: {
123233
124205
  kind: "inline";
123234
124206
  nodeType: "authorityEntry";
@@ -123246,6 +124218,7 @@ export type DocAuthoritiesEntriesInsertResult = {
123246
124218
  };
123247
124219
  export type DocAuthoritiesEntriesUpdateResult = {
123248
124220
  success: true;
124221
+ appliedChangeMode?: "direct" | "tracked";
123249
124222
  entry: {
123250
124223
  kind: "inline";
123251
124224
  nodeType: "authorityEntry";
@@ -123263,6 +124236,7 @@ export type DocAuthoritiesEntriesUpdateResult = {
123263
124236
  };
123264
124237
  export type DocAuthoritiesEntriesRemoveResult = {
123265
124238
  success: true;
124239
+ appliedChangeMode?: "direct" | "tracked";
123266
124240
  entry: {
123267
124241
  kind: "inline";
123268
124242
  nodeType: "authorityEntry";
@@ -125057,7 +126031,55 @@ export interface DocInsertBoundParams {
125057
126031
  requestSha256: string;
125058
126032
  analysisSha256: string;
125059
126033
  };
126034
+ value?: string;
126035
+ type?: "ooxml" | "text" | "markdown" | "html";
126036
+ namespaces?: Record<string, unknown>;
126037
+ sourcePartUri?: string;
126038
+ dependencies?: Array<{
126039
+ sourcePartUri: string;
126040
+ relationshipId: string;
126041
+ relationshipType: string;
126042
+ target: string;
126043
+ targetMode: "Internal" | "External";
126044
+ contentType: string | unknown;
126045
+ dataBase64?: string;
126046
+ }>;
125060
126047
  target?: ({
126048
+ kind: "block";
126049
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
126050
+ nodeId: string;
126051
+ story?: ({
126052
+ kind: "story";
126053
+ storyType: "body";
126054
+ }) | ({
126055
+ kind: "story";
126056
+ storyType: "headerFooterSlot";
126057
+ section: {
126058
+ kind: "section";
126059
+ sectionId: string;
126060
+ };
126061
+ headerFooterKind: "header" | "footer";
126062
+ variant: "default" | "first" | "even";
126063
+ resolution?: "effective" | "explicit";
126064
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126065
+ }) | ({
126066
+ kind: "story";
126067
+ storyType: "headerFooterPart";
126068
+ refId: string;
126069
+ }) | ({
126070
+ kind: "story";
126071
+ storyType: "footnote";
126072
+ noteId: string;
126073
+ }) | ({
126074
+ kind: "story";
126075
+ storyType: "endnote";
126076
+ noteId: string;
126077
+ }) | ({
126078
+ kind: "story";
126079
+ storyType: "textbox";
126080
+ textboxId: string;
126081
+ });
126082
+ }) | ({
125061
126083
  kind: "selection";
125062
126084
  start: ({
125063
126085
  kind: "text";
@@ -125241,41 +126263,6 @@ export interface DocInsertBoundParams {
125241
126263
  textboxId: string;
125242
126264
  });
125243
126265
  coordinateSpace?: "visible" | "tracked";
125244
- }) | ({
125245
- kind: "block";
125246
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
125247
- nodeId: string;
125248
- story?: ({
125249
- kind: "story";
125250
- storyType: "body";
125251
- }) | ({
125252
- kind: "story";
125253
- storyType: "headerFooterSlot";
125254
- section: {
125255
- kind: "section";
125256
- sectionId: string;
125257
- };
125258
- headerFooterKind: "header" | "footer";
125259
- variant: "default" | "first" | "even";
125260
- resolution?: "effective" | "explicit";
125261
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
125262
- }) | ({
125263
- kind: "story";
125264
- storyType: "headerFooterPart";
125265
- refId: string;
125266
- }) | ({
125267
- kind: "story";
125268
- storyType: "footnote";
125269
- noteId: string;
125270
- }) | ({
125271
- kind: "story";
125272
- storyType: "endnote";
125273
- noteId: string;
125274
- }) | ({
125275
- kind: "story";
125276
- storyType: "textbox";
125277
- textboxId: string;
125278
- });
125279
126266
  });
125280
126267
  in?: ({
125281
126268
  kind: "story";
@@ -125308,10 +126295,315 @@ export interface DocInsertBoundParams {
125308
126295
  storyType: "textbox";
125309
126296
  textboxId: string;
125310
126297
  });
125311
- value?: string;
125312
- type?: "text" | "markdown" | "html";
125313
- ref?: string;
125314
126298
  placement?: "before" | "after" | "insideStart" | "insideEnd";
126299
+ capture?: {
126300
+ formatVersion: 1;
126301
+ snapshotId?: string;
126302
+ at: ({
126303
+ kind: "selection";
126304
+ start: ({
126305
+ kind: "text";
126306
+ blockId: string;
126307
+ offset: number;
126308
+ story?: ({
126309
+ kind: "story";
126310
+ storyType: "body";
126311
+ }) | ({
126312
+ kind: "story";
126313
+ storyType: "headerFooterSlot";
126314
+ section: {
126315
+ kind: "section";
126316
+ sectionId: string;
126317
+ };
126318
+ headerFooterKind: "header" | "footer";
126319
+ variant: "default" | "first" | "even";
126320
+ resolution?: "effective" | "explicit";
126321
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126322
+ }) | ({
126323
+ kind: "story";
126324
+ storyType: "headerFooterPart";
126325
+ refId: string;
126326
+ }) | ({
126327
+ kind: "story";
126328
+ storyType: "footnote";
126329
+ noteId: string;
126330
+ }) | ({
126331
+ kind: "story";
126332
+ storyType: "endnote";
126333
+ noteId: string;
126334
+ }) | ({
126335
+ kind: "story";
126336
+ storyType: "textbox";
126337
+ textboxId: string;
126338
+ });
126339
+ }) | ({
126340
+ kind: "nodeEdge";
126341
+ node: {
126342
+ kind: "block";
126343
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
126344
+ nodeId: string;
126345
+ story?: ({
126346
+ kind: "story";
126347
+ storyType: "body";
126348
+ }) | ({
126349
+ kind: "story";
126350
+ storyType: "headerFooterSlot";
126351
+ section: {
126352
+ kind: "section";
126353
+ sectionId: string;
126354
+ };
126355
+ headerFooterKind: "header" | "footer";
126356
+ variant: "default" | "first" | "even";
126357
+ resolution?: "effective" | "explicit";
126358
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126359
+ }) | ({
126360
+ kind: "story";
126361
+ storyType: "headerFooterPart";
126362
+ refId: string;
126363
+ }) | ({
126364
+ kind: "story";
126365
+ storyType: "footnote";
126366
+ noteId: string;
126367
+ }) | ({
126368
+ kind: "story";
126369
+ storyType: "endnote";
126370
+ noteId: string;
126371
+ }) | ({
126372
+ kind: "story";
126373
+ storyType: "textbox";
126374
+ textboxId: string;
126375
+ });
126376
+ };
126377
+ edge: "before" | "after";
126378
+ });
126379
+ end: ({
126380
+ kind: "text";
126381
+ blockId: string;
126382
+ offset: number;
126383
+ story?: ({
126384
+ kind: "story";
126385
+ storyType: "body";
126386
+ }) | ({
126387
+ kind: "story";
126388
+ storyType: "headerFooterSlot";
126389
+ section: {
126390
+ kind: "section";
126391
+ sectionId: string;
126392
+ };
126393
+ headerFooterKind: "header" | "footer";
126394
+ variant: "default" | "first" | "even";
126395
+ resolution?: "effective" | "explicit";
126396
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126397
+ }) | ({
126398
+ kind: "story";
126399
+ storyType: "headerFooterPart";
126400
+ refId: string;
126401
+ }) | ({
126402
+ kind: "story";
126403
+ storyType: "footnote";
126404
+ noteId: string;
126405
+ }) | ({
126406
+ kind: "story";
126407
+ storyType: "endnote";
126408
+ noteId: string;
126409
+ }) | ({
126410
+ kind: "story";
126411
+ storyType: "textbox";
126412
+ textboxId: string;
126413
+ });
126414
+ }) | ({
126415
+ kind: "nodeEdge";
126416
+ node: {
126417
+ kind: "block";
126418
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
126419
+ nodeId: string;
126420
+ story?: ({
126421
+ kind: "story";
126422
+ storyType: "body";
126423
+ }) | ({
126424
+ kind: "story";
126425
+ storyType: "headerFooterSlot";
126426
+ section: {
126427
+ kind: "section";
126428
+ sectionId: string;
126429
+ };
126430
+ headerFooterKind: "header" | "footer";
126431
+ variant: "default" | "first" | "even";
126432
+ resolution?: "effective" | "explicit";
126433
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126434
+ }) | ({
126435
+ kind: "story";
126436
+ storyType: "headerFooterPart";
126437
+ refId: string;
126438
+ }) | ({
126439
+ kind: "story";
126440
+ storyType: "footnote";
126441
+ noteId: string;
126442
+ }) | ({
126443
+ kind: "story";
126444
+ storyType: "endnote";
126445
+ noteId: string;
126446
+ }) | ({
126447
+ kind: "story";
126448
+ storyType: "textbox";
126449
+ textboxId: string;
126450
+ });
126451
+ };
126452
+ edge: "before" | "after";
126453
+ });
126454
+ story?: ({
126455
+ kind: "story";
126456
+ storyType: "body";
126457
+ }) | ({
126458
+ kind: "story";
126459
+ storyType: "headerFooterSlot";
126460
+ section: {
126461
+ kind: "section";
126462
+ sectionId: string;
126463
+ };
126464
+ headerFooterKind: "header" | "footer";
126465
+ variant: "default" | "first" | "even";
126466
+ resolution?: "effective" | "explicit";
126467
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126468
+ }) | ({
126469
+ kind: "story";
126470
+ storyType: "headerFooterPart";
126471
+ refId: string;
126472
+ }) | ({
126473
+ kind: "story";
126474
+ storyType: "footnote";
126475
+ noteId: string;
126476
+ }) | ({
126477
+ kind: "story";
126478
+ storyType: "endnote";
126479
+ noteId: string;
126480
+ }) | ({
126481
+ kind: "story";
126482
+ storyType: "textbox";
126483
+ textboxId: string;
126484
+ });
126485
+ coordinateSpace?: "visible" | "tracked";
126486
+ }) | ({
126487
+ kind: "tableCells";
126488
+ selectionMode?: "cells";
126489
+ isRectangular?: true;
126490
+ tableId: string;
126491
+ start: {
126492
+ rowIndex: number;
126493
+ columnIndex: number;
126494
+ };
126495
+ end: {
126496
+ rowIndex: number;
126497
+ columnIndex: number;
126498
+ };
126499
+ story?: ({
126500
+ kind: "story";
126501
+ storyType: "body";
126502
+ }) | ({
126503
+ kind: "story";
126504
+ storyType: "headerFooterSlot";
126505
+ section: {
126506
+ kind: "section";
126507
+ sectionId: string;
126508
+ };
126509
+ headerFooterKind: "header" | "footer";
126510
+ variant: "default" | "first" | "even";
126511
+ resolution?: "effective" | "explicit";
126512
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126513
+ }) | ({
126514
+ kind: "story";
126515
+ storyType: "headerFooterPart";
126516
+ refId: string;
126517
+ }) | ({
126518
+ kind: "story";
126519
+ storyType: "footnote";
126520
+ noteId: string;
126521
+ }) | ({
126522
+ kind: "story";
126523
+ storyType: "endnote";
126524
+ noteId: string;
126525
+ }) | ({
126526
+ kind: "story";
126527
+ storyType: "textbox";
126528
+ textboxId: string;
126529
+ });
126530
+ });
126531
+ evaluatedRevision: string;
126532
+ fragment: {
126533
+ placement: "inline" | "blocks" | "table";
126534
+ xml: string;
126535
+ namespaces: Record<string, unknown>;
126536
+ table?: {
126537
+ tableId: string;
126538
+ gridColumnCount: number;
126539
+ cells: Array<{
126540
+ rowIndex: number;
126541
+ columnIndex: number;
126542
+ gridSpan: number;
126543
+ vMerge: "none" | "restart" | "continue";
126544
+ }>;
126545
+ };
126546
+ };
126547
+ source: {
126548
+ story: (({
126549
+ kind: "story";
126550
+ storyType: "body";
126551
+ }) | ({
126552
+ kind: "story";
126553
+ storyType: "headerFooterSlot";
126554
+ section: {
126555
+ kind: "section";
126556
+ sectionId: string;
126557
+ };
126558
+ headerFooterKind: "header" | "footer";
126559
+ variant: "default" | "first" | "even";
126560
+ resolution?: "effective" | "explicit";
126561
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126562
+ }) | ({
126563
+ kind: "story";
126564
+ storyType: "headerFooterPart";
126565
+ refId: string;
126566
+ }) | ({
126567
+ kind: "story";
126568
+ storyType: "footnote";
126569
+ noteId: string;
126570
+ }) | ({
126571
+ kind: "story";
126572
+ storyType: "endnote";
126573
+ noteId: string;
126574
+ }) | ({
126575
+ kind: "story";
126576
+ storyType: "textbox";
126577
+ textboxId: string;
126578
+ })) | unknown;
126579
+ partUri: string;
126580
+ paragraphStyleId: string | unknown;
126581
+ packageRevision?: string;
126582
+ };
126583
+ context: {
126584
+ xml: Array<string>;
126585
+ tableMerges?: Array<{
126586
+ selectedRowIndex: number;
126587
+ columnIndex: number;
126588
+ restartRowIndex: number;
126589
+ restartCellPropertiesXml: string;
126590
+ }>;
126591
+ };
126592
+ dependencies: Array<{
126593
+ sourcePartUri: string;
126594
+ relationshipId: string;
126595
+ relationshipType: string;
126596
+ target: string;
126597
+ targetMode: "Internal" | "External";
126598
+ contentType: string | unknown;
126599
+ dataBase64?: string;
126600
+ }>;
126601
+ diagnostics: Array<{
126602
+ code: string;
126603
+ message: string;
126604
+ }>;
126605
+ };
126606
+ ref?: string;
125315
126607
  content?: Record<string, unknown> | Array<Record<string, unknown>>;
125316
126608
  nestingPolicy?: {
125317
126609
  tables?: "forbid" | "allow";
@@ -125335,7 +126627,44 @@ export interface DocReplaceBoundParams {
125335
126627
  requestSha256: string;
125336
126628
  analysisSha256: string;
125337
126629
  };
126630
+ replaceMode?: "contents";
126631
+ expectedSnapshotId?: string;
125338
126632
  target?: ({
126633
+ kind: "block";
126634
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
126635
+ nodeId: string;
126636
+ story?: ({
126637
+ kind: "story";
126638
+ storyType: "body";
126639
+ }) | ({
126640
+ kind: "story";
126641
+ storyType: "headerFooterSlot";
126642
+ section: {
126643
+ kind: "section";
126644
+ sectionId: string;
126645
+ };
126646
+ headerFooterKind: "header" | "footer";
126647
+ variant: "default" | "first" | "even";
126648
+ resolution?: "effective" | "explicit";
126649
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126650
+ }) | ({
126651
+ kind: "story";
126652
+ storyType: "headerFooterPart";
126653
+ refId: string;
126654
+ }) | ({
126655
+ kind: "story";
126656
+ storyType: "footnote";
126657
+ noteId: string;
126658
+ }) | ({
126659
+ kind: "story";
126660
+ storyType: "endnote";
126661
+ noteId: string;
126662
+ }) | ({
126663
+ kind: "story";
126664
+ storyType: "textbox";
126665
+ textboxId: string;
126666
+ });
126667
+ }) | ({
125339
126668
  kind: "selection";
125340
126669
  start: ({
125341
126670
  kind: "text";
@@ -125484,120 +126813,404 @@ export interface DocReplaceBoundParams {
125484
126813
  storyType: "textbox";
125485
126814
  textboxId: string;
125486
126815
  });
125487
- };
125488
- edge: "before" | "after";
125489
- });
125490
- story?: ({
125491
- kind: "story";
125492
- storyType: "body";
126816
+ };
126817
+ edge: "before" | "after";
126818
+ });
126819
+ story?: ({
126820
+ kind: "story";
126821
+ storyType: "body";
126822
+ }) | ({
126823
+ kind: "story";
126824
+ storyType: "headerFooterSlot";
126825
+ section: {
126826
+ kind: "section";
126827
+ sectionId: string;
126828
+ };
126829
+ headerFooterKind: "header" | "footer";
126830
+ variant: "default" | "first" | "even";
126831
+ resolution?: "effective" | "explicit";
126832
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126833
+ }) | ({
126834
+ kind: "story";
126835
+ storyType: "headerFooterPart";
126836
+ refId: string;
126837
+ }) | ({
126838
+ kind: "story";
126839
+ storyType: "footnote";
126840
+ noteId: string;
126841
+ }) | ({
126842
+ kind: "story";
126843
+ storyType: "endnote";
126844
+ noteId: string;
126845
+ }) | ({
126846
+ kind: "story";
126847
+ storyType: "textbox";
126848
+ textboxId: string;
126849
+ });
126850
+ coordinateSpace?: "visible" | "tracked";
126851
+ }) | ({
126852
+ kind: "story";
126853
+ storyType: "body";
126854
+ });
126855
+ text?: string;
126856
+ snapshotId?: string;
126857
+ value?: string;
126858
+ type?: "ooxml" | "html" | "markdown";
126859
+ namespaces?: Record<string, unknown>;
126860
+ sourcePartUri?: string;
126861
+ dependencies?: Array<{
126862
+ sourcePartUri: string;
126863
+ relationshipId: string;
126864
+ relationshipType: string;
126865
+ target: string;
126866
+ targetMode: "Internal" | "External";
126867
+ contentType: string | unknown;
126868
+ dataBase64?: string;
126869
+ }>;
126870
+ in?: ({
126871
+ kind: "story";
126872
+ storyType: "body";
126873
+ }) | ({
126874
+ kind: "story";
126875
+ storyType: "headerFooterSlot";
126876
+ section: {
126877
+ kind: "section";
126878
+ sectionId: string;
126879
+ };
126880
+ headerFooterKind: "header" | "footer";
126881
+ variant: "default" | "first" | "even";
126882
+ resolution?: "effective" | "explicit";
126883
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126884
+ }) | ({
126885
+ kind: "story";
126886
+ storyType: "headerFooterPart";
126887
+ refId: string;
126888
+ }) | ({
126889
+ kind: "story";
126890
+ storyType: "footnote";
126891
+ noteId: string;
126892
+ }) | ({
126893
+ kind: "story";
126894
+ storyType: "endnote";
126895
+ noteId: string;
126896
+ }) | ({
126897
+ kind: "story";
126898
+ storyType: "textbox";
126899
+ textboxId: string;
126900
+ });
126901
+ nestingPolicy?: {
126902
+ tables?: "forbid" | "allow";
126903
+ };
126904
+ capture?: {
126905
+ formatVersion: 1;
126906
+ snapshotId?: string;
126907
+ at: ({
126908
+ kind: "selection";
126909
+ start: ({
126910
+ kind: "text";
126911
+ blockId: string;
126912
+ offset: number;
126913
+ story?: ({
126914
+ kind: "story";
126915
+ storyType: "body";
126916
+ }) | ({
126917
+ kind: "story";
126918
+ storyType: "headerFooterSlot";
126919
+ section: {
126920
+ kind: "section";
126921
+ sectionId: string;
126922
+ };
126923
+ headerFooterKind: "header" | "footer";
126924
+ variant: "default" | "first" | "even";
126925
+ resolution?: "effective" | "explicit";
126926
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126927
+ }) | ({
126928
+ kind: "story";
126929
+ storyType: "headerFooterPart";
126930
+ refId: string;
126931
+ }) | ({
126932
+ kind: "story";
126933
+ storyType: "footnote";
126934
+ noteId: string;
126935
+ }) | ({
126936
+ kind: "story";
126937
+ storyType: "endnote";
126938
+ noteId: string;
126939
+ }) | ({
126940
+ kind: "story";
126941
+ storyType: "textbox";
126942
+ textboxId: string;
126943
+ });
126944
+ }) | ({
126945
+ kind: "nodeEdge";
126946
+ node: {
126947
+ kind: "block";
126948
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
126949
+ nodeId: string;
126950
+ story?: ({
126951
+ kind: "story";
126952
+ storyType: "body";
126953
+ }) | ({
126954
+ kind: "story";
126955
+ storyType: "headerFooterSlot";
126956
+ section: {
126957
+ kind: "section";
126958
+ sectionId: string;
126959
+ };
126960
+ headerFooterKind: "header" | "footer";
126961
+ variant: "default" | "first" | "even";
126962
+ resolution?: "effective" | "explicit";
126963
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
126964
+ }) | ({
126965
+ kind: "story";
126966
+ storyType: "headerFooterPart";
126967
+ refId: string;
126968
+ }) | ({
126969
+ kind: "story";
126970
+ storyType: "footnote";
126971
+ noteId: string;
126972
+ }) | ({
126973
+ kind: "story";
126974
+ storyType: "endnote";
126975
+ noteId: string;
126976
+ }) | ({
126977
+ kind: "story";
126978
+ storyType: "textbox";
126979
+ textboxId: string;
126980
+ });
126981
+ };
126982
+ edge: "before" | "after";
126983
+ });
126984
+ end: ({
126985
+ kind: "text";
126986
+ blockId: string;
126987
+ offset: number;
126988
+ story?: ({
126989
+ kind: "story";
126990
+ storyType: "body";
126991
+ }) | ({
126992
+ kind: "story";
126993
+ storyType: "headerFooterSlot";
126994
+ section: {
126995
+ kind: "section";
126996
+ sectionId: string;
126997
+ };
126998
+ headerFooterKind: "header" | "footer";
126999
+ variant: "default" | "first" | "even";
127000
+ resolution?: "effective" | "explicit";
127001
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
127002
+ }) | ({
127003
+ kind: "story";
127004
+ storyType: "headerFooterPart";
127005
+ refId: string;
127006
+ }) | ({
127007
+ kind: "story";
127008
+ storyType: "footnote";
127009
+ noteId: string;
127010
+ }) | ({
127011
+ kind: "story";
127012
+ storyType: "endnote";
127013
+ noteId: string;
127014
+ }) | ({
127015
+ kind: "story";
127016
+ storyType: "textbox";
127017
+ textboxId: string;
127018
+ });
127019
+ }) | ({
127020
+ kind: "nodeEdge";
127021
+ node: {
127022
+ kind: "block";
127023
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
127024
+ nodeId: string;
127025
+ story?: ({
127026
+ kind: "story";
127027
+ storyType: "body";
127028
+ }) | ({
127029
+ kind: "story";
127030
+ storyType: "headerFooterSlot";
127031
+ section: {
127032
+ kind: "section";
127033
+ sectionId: string;
127034
+ };
127035
+ headerFooterKind: "header" | "footer";
127036
+ variant: "default" | "first" | "even";
127037
+ resolution?: "effective" | "explicit";
127038
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
127039
+ }) | ({
127040
+ kind: "story";
127041
+ storyType: "headerFooterPart";
127042
+ refId: string;
127043
+ }) | ({
127044
+ kind: "story";
127045
+ storyType: "footnote";
127046
+ noteId: string;
127047
+ }) | ({
127048
+ kind: "story";
127049
+ storyType: "endnote";
127050
+ noteId: string;
127051
+ }) | ({
127052
+ kind: "story";
127053
+ storyType: "textbox";
127054
+ textboxId: string;
127055
+ });
127056
+ };
127057
+ edge: "before" | "after";
127058
+ });
127059
+ story?: ({
127060
+ kind: "story";
127061
+ storyType: "body";
127062
+ }) | ({
127063
+ kind: "story";
127064
+ storyType: "headerFooterSlot";
127065
+ section: {
127066
+ kind: "section";
127067
+ sectionId: string;
127068
+ };
127069
+ headerFooterKind: "header" | "footer";
127070
+ variant: "default" | "first" | "even";
127071
+ resolution?: "effective" | "explicit";
127072
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
127073
+ }) | ({
127074
+ kind: "story";
127075
+ storyType: "headerFooterPart";
127076
+ refId: string;
127077
+ }) | ({
127078
+ kind: "story";
127079
+ storyType: "footnote";
127080
+ noteId: string;
127081
+ }) | ({
127082
+ kind: "story";
127083
+ storyType: "endnote";
127084
+ noteId: string;
127085
+ }) | ({
127086
+ kind: "story";
127087
+ storyType: "textbox";
127088
+ textboxId: string;
127089
+ });
127090
+ coordinateSpace?: "visible" | "tracked";
125493
127091
  }) | ({
125494
- kind: "story";
125495
- storyType: "headerFooterSlot";
125496
- section: {
125497
- kind: "section";
125498
- sectionId: string;
127092
+ kind: "tableCells";
127093
+ selectionMode?: "cells";
127094
+ isRectangular?: true;
127095
+ tableId: string;
127096
+ start: {
127097
+ rowIndex: number;
127098
+ columnIndex: number;
125499
127099
  };
125500
- headerFooterKind: "header" | "footer";
125501
- variant: "default" | "first" | "even";
125502
- resolution?: "effective" | "explicit";
125503
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
125504
- }) | ({
125505
- kind: "story";
125506
- storyType: "headerFooterPart";
125507
- refId: string;
125508
- }) | ({
125509
- kind: "story";
125510
- storyType: "footnote";
125511
- noteId: string;
125512
- }) | ({
125513
- kind: "story";
125514
- storyType: "endnote";
125515
- noteId: string;
125516
- }) | ({
125517
- kind: "story";
125518
- storyType: "textbox";
125519
- textboxId: string;
125520
- });
125521
- coordinateSpace?: "visible" | "tracked";
125522
- }) | ({
125523
- kind: "story";
125524
- storyType: "body";
125525
- }) | ({
125526
- kind: "block";
125527
- nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
125528
- nodeId: string;
125529
- story?: ({
125530
- kind: "story";
125531
- storyType: "body";
125532
- }) | ({
125533
- kind: "story";
125534
- storyType: "headerFooterSlot";
125535
- section: {
125536
- kind: "section";
125537
- sectionId: string;
127100
+ end: {
127101
+ rowIndex: number;
127102
+ columnIndex: number;
125538
127103
  };
125539
- headerFooterKind: "header" | "footer";
125540
- variant: "default" | "first" | "even";
125541
- resolution?: "effective" | "explicit";
125542
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
125543
- }) | ({
125544
- kind: "story";
125545
- storyType: "headerFooterPart";
125546
- refId: string;
125547
- }) | ({
125548
- kind: "story";
125549
- storyType: "footnote";
125550
- noteId: string;
125551
- }) | ({
125552
- kind: "story";
125553
- storyType: "endnote";
125554
- noteId: string;
125555
- }) | ({
125556
- kind: "story";
125557
- storyType: "textbox";
125558
- textboxId: string;
127104
+ story?: ({
127105
+ kind: "story";
127106
+ storyType: "body";
127107
+ }) | ({
127108
+ kind: "story";
127109
+ storyType: "headerFooterSlot";
127110
+ section: {
127111
+ kind: "section";
127112
+ sectionId: string;
127113
+ };
127114
+ headerFooterKind: "header" | "footer";
127115
+ variant: "default" | "first" | "even";
127116
+ resolution?: "effective" | "explicit";
127117
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
127118
+ }) | ({
127119
+ kind: "story";
127120
+ storyType: "headerFooterPart";
127121
+ refId: string;
127122
+ }) | ({
127123
+ kind: "story";
127124
+ storyType: "footnote";
127125
+ noteId: string;
127126
+ }) | ({
127127
+ kind: "story";
127128
+ storyType: "endnote";
127129
+ noteId: string;
127130
+ }) | ({
127131
+ kind: "story";
127132
+ storyType: "textbox";
127133
+ textboxId: string;
127134
+ });
125559
127135
  });
125560
- });
125561
- in?: ({
125562
- kind: "story";
125563
- storyType: "body";
125564
- }) | ({
125565
- kind: "story";
125566
- storyType: "headerFooterSlot";
125567
- section: {
125568
- kind: "section";
125569
- sectionId: string;
127136
+ evaluatedRevision: string;
127137
+ fragment: {
127138
+ placement: "inline" | "blocks" | "table";
127139
+ xml: string;
127140
+ namespaces: Record<string, unknown>;
127141
+ table?: {
127142
+ tableId: string;
127143
+ gridColumnCount: number;
127144
+ cells: Array<{
127145
+ rowIndex: number;
127146
+ columnIndex: number;
127147
+ gridSpan: number;
127148
+ vMerge: "none" | "restart" | "continue";
127149
+ }>;
127150
+ };
125570
127151
  };
125571
- headerFooterKind: "header" | "footer";
125572
- variant: "default" | "first" | "even";
125573
- resolution?: "effective" | "explicit";
125574
- onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
125575
- }) | ({
125576
- kind: "story";
125577
- storyType: "headerFooterPart";
125578
- refId: string;
125579
- }) | ({
125580
- kind: "story";
125581
- storyType: "footnote";
125582
- noteId: string;
125583
- }) | ({
125584
- kind: "story";
125585
- storyType: "endnote";
125586
- noteId: string;
125587
- }) | ({
125588
- kind: "story";
125589
- storyType: "textbox";
125590
- textboxId: string;
125591
- });
125592
- text?: string;
127152
+ source: {
127153
+ story: (({
127154
+ kind: "story";
127155
+ storyType: "body";
127156
+ }) | ({
127157
+ kind: "story";
127158
+ storyType: "headerFooterSlot";
127159
+ section: {
127160
+ kind: "section";
127161
+ sectionId: string;
127162
+ };
127163
+ headerFooterKind: "header" | "footer";
127164
+ variant: "default" | "first" | "even";
127165
+ resolution?: "effective" | "explicit";
127166
+ onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
127167
+ }) | ({
127168
+ kind: "story";
127169
+ storyType: "headerFooterPart";
127170
+ refId: string;
127171
+ }) | ({
127172
+ kind: "story";
127173
+ storyType: "footnote";
127174
+ noteId: string;
127175
+ }) | ({
127176
+ kind: "story";
127177
+ storyType: "endnote";
127178
+ noteId: string;
127179
+ }) | ({
127180
+ kind: "story";
127181
+ storyType: "textbox";
127182
+ textboxId: string;
127183
+ })) | unknown;
127184
+ partUri: string;
127185
+ paragraphStyleId: string | unknown;
127186
+ packageRevision?: string;
127187
+ };
127188
+ context: {
127189
+ xml: Array<string>;
127190
+ tableMerges?: Array<{
127191
+ selectedRowIndex: number;
127192
+ columnIndex: number;
127193
+ restartRowIndex: number;
127194
+ restartCellPropertiesXml: string;
127195
+ }>;
127196
+ };
127197
+ dependencies: Array<{
127198
+ sourcePartUri: string;
127199
+ relationshipId: string;
127200
+ relationshipType: string;
127201
+ target: string;
127202
+ targetMode: "Internal" | "External";
127203
+ contentType: string | unknown;
127204
+ dataBase64?: string;
127205
+ }>;
127206
+ diagnostics: Array<{
127207
+ code: string;
127208
+ message: string;
127209
+ }>;
127210
+ };
125593
127211
  expectedText?: string;
125594
127212
  ref?: string;
125595
127213
  content?: Record<string, unknown> | Array<Record<string, unknown>>;
125596
- nestingPolicy?: {
125597
- tables?: "forbid" | "allow";
125598
- };
125599
- value?: string;
125600
- type?: "html" | "markdown";
125601
127214
  blockId?: string;
125602
127215
  start?: number;
125603
127216
  end?: number;
@@ -142365,7 +143978,11 @@ export interface DocRangesResolveBoundParams {
142365
143978
  export interface DocSelectionCurrentBoundParams {
142366
143979
  includeText?: boolean;
142367
143980
  }
143981
+ export interface DocSelectionReleaseSnapshotBoundParams {
143982
+ snapshotId: string;
143983
+ }
142368
143984
  export interface DocSelectionExtractOoxmlBoundParams {
143985
+ retain?: boolean;
142369
143986
  at?: ({
142370
143987
  kind: "selection";
142371
143988
  start: ({
@@ -142552,6 +144169,8 @@ export interface DocSelectionExtractOoxmlBoundParams {
142552
144169
  coordinateSpace?: "visible" | "tracked";
142553
144170
  }) | ({
142554
144171
  kind: "tableCells";
144172
+ selectionMode?: "cells";
144173
+ isRectangular?: true;
142555
144174
  tableId: string;
142556
144175
  start: {
142557
144176
  rowIndex: number;
@@ -146820,12 +148439,16 @@ export interface DocCapabilitiesCheckBoundParams {
146820
148439
  });
146821
148440
  includeSourceMap?: boolean;
146822
148441
  });
146823
- options?: {
148442
+ options?: ({
146824
148443
  changeMode?: "direct" | "tracked";
146825
- };
148444
+ }) | ({
148445
+ changeMode?: "direct" | "tracked";
148446
+ replaceMode?: "contents";
148447
+ expectedSnapshotId?: string;
148448
+ });
146826
148449
  }
146827
148450
  export interface DocCapabilitiesResolveBoundParams {
146828
- operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "styles.apply" | "styles.getCatalog" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.extractOoxml" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
148451
+ operationId: "get" | "find" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "projectMarkdown" | "projectHtml" | "markdownToFragment" | "htmlToFragment" | "info" | "extract" | "clearContent" | "insert" | "replace" | "delete" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.delete" | "blocks.deleteRange" | "blocks.split" | "blocks.merge" | "blocks.move" | "format.apply" | "format.bold" | "format.italic" | "format.strike" | "format.underline" | "format.highlight" | "format.color" | "format.fontSize" | "format.fontFamily" | "format.letterSpacing" | "format.vertAlign" | "format.position" | "format.dstrike" | "format.smallCaps" | "format.caps" | "format.shading" | "format.border" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.charScale" | "format.kerning" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.rtl" | "format.cs" | "format.bCs" | "format.iCs" | "format.eastAsianLayout" | "format.em" | "format.fitText" | "format.snapToGrid" | "format.lang" | "format.oMath" | "format.rStyle" | "format.rFonts" | "format.fontSizeCs" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "styles.apply" | "styles.getCatalog" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setMarkRunProps" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "comments.create" | "comments.patch" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "trackChanges.decide" | "query.match" | "ranges.resolve" | "selection.current" | "selection.releaseSnapshot" | "selection.extractOoxml" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.check" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.moveRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.moveColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve";
146829
148452
  input?: unknown;
146830
148453
  options?: unknown;
146831
148454
  }
@@ -154849,6 +156472,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
154849
156472
  };
154850
156473
  selection: {
154851
156474
  current: (params?: DocSelectionCurrentParams, options?: InvokeOptions) => Promise<DocSelectionCurrentResult>;
156475
+ releaseSnapshot: (params: DocSelectionReleaseSnapshotParams, options?: InvokeOptions) => Promise<DocSelectionReleaseSnapshotResult>;
154852
156476
  extractOoxml: (params?: DocSelectionExtractOoxmlParams, options?: InvokeOptions) => Promise<DocSelectionExtractOoxmlResult>;
154853
156477
  };
154854
156478
  mutations: {
@@ -155425,6 +157049,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
155425
157049
  };
155426
157050
  selection: {
155427
157051
  current: (params?: DocSelectionCurrentBoundParams, options?: InvokeOptions) => Promise<DocSelectionCurrentResult>;
157052
+ releaseSnapshot: (params: DocSelectionReleaseSnapshotBoundParams, options?: InvokeOptions) => Promise<DocSelectionReleaseSnapshotResult>;
155428
157053
  extractOoxml: (params?: DocSelectionExtractOoxmlBoundParams, options?: InvokeOptions) => Promise<DocSelectionExtractOoxmlResult>;
155429
157054
  };
155430
157055
  mutations: {