@superdoc-dev/sdk 1.8.0-next.66 → 1.8.0-next.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client.cjs +8 -2
- package/dist/generated/client.d.ts +224 -8
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +8 -2
- package/dist/generated/contract.cjs +1426 -368
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1426 -368
- package/dist/generated/intent-dispatch.generated.cjs +24 -0
- package/dist/generated/intent-dispatch.generated.d.ts.map +1 -1
- package/dist/generated/intent-dispatch.generated.js +24 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/tools.cjs +91 -4
- package/dist/tools.d.ts +73 -2
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +90 -4
- package/package.json +6 -6
- package/tools/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
- package/tools/catalog.json +3353 -2121
- package/tools/intent_dispatch_generated.py +41 -0
- package/tools/prompt-templates/system-prompt-core.md +54 -0
- package/tools/system-prompt-mcp.md +54 -0
- package/tools/system-prompt.md +54 -0
- package/tools/tools-policy.json +6 -2
- package/tools/tools.anthropic.json +3050 -2121
- package/tools/tools.generic.json +3084 -2122
- package/tools/tools.openai.json +3053 -2121
- package/tools/tools.vercel.json +3053 -2121
|
@@ -155,6 +155,7 @@ function createDocApi(runtime) {
|
|
|
155
155
|
create: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.create"], params, options), "result"),
|
|
156
156
|
attach: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.attach"], params, options), "result"),
|
|
157
157
|
detach: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.detach"], params, options), "result"),
|
|
158
|
+
delete: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.delete"], params, options),
|
|
158
159
|
indent: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.indent"], params, options), "result"),
|
|
159
160
|
outdent: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.outdent"], params, options), "result"),
|
|
160
161
|
join: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.join"], params, options), "result"),
|
|
@@ -224,7 +225,7 @@ function createDocApi(runtime) {
|
|
|
224
225
|
split: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.split"], params, options), "result"),
|
|
225
226
|
convertToText: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.convertToText"], params, options), "result"),
|
|
226
227
|
setLayout: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setLayout"], params, options), "result"),
|
|
227
|
-
insertRow: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.insertRow"], params, options), "result"),
|
|
228
|
+
insertRow: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.insertRow"], params, options), "result"),
|
|
228
229
|
deleteRow: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.deleteRow"], params, options), "result"),
|
|
229
230
|
setRowHeight: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setRowHeight"], params, options), "result"),
|
|
230
231
|
distributeRows: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.distributeRows"], params, options), "result"),
|
|
@@ -239,6 +240,7 @@ function createDocApi(runtime) {
|
|
|
239
240
|
unmergeCells: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.unmergeCells"], params, options), "result"),
|
|
240
241
|
splitCell: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.splitCell"], params, options), "result"),
|
|
241
242
|
setCellProperties: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setCellProperties"], params, options), "result"),
|
|
243
|
+
setCellText: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.setCellText"], params, options),
|
|
242
244
|
sort: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.sort"], params, options), "result"),
|
|
243
245
|
setAltText: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setAltText"], params, options), "result"),
|
|
244
246
|
setStyle: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setStyle"], params, options), "result"),
|
|
@@ -256,6 +258,7 @@ function createDocApi(runtime) {
|
|
|
256
258
|
applyStyle: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.applyStyle"], params, options),
|
|
257
259
|
setBorders: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.setBorders"], params, options),
|
|
258
260
|
setTableOptions: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.setTableOptions"], params, options),
|
|
261
|
+
applyPreset: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.applyPreset"], params, options),
|
|
259
262
|
get: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.get"], params, options), "result"),
|
|
260
263
|
getCells: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.getCells"], params, options), "result"),
|
|
261
264
|
getProperties: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.getProperties"], params, options), "result"),
|
|
@@ -656,6 +659,7 @@ function createBoundDocApi(runtime) {
|
|
|
656
659
|
create: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.create"], params, options), "result"),
|
|
657
660
|
attach: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.attach"], params, options), "result"),
|
|
658
661
|
detach: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.detach"], params, options), "result"),
|
|
662
|
+
delete: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.delete"], params, options),
|
|
659
663
|
indent: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.indent"], params, options), "result"),
|
|
660
664
|
outdent: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.outdent"], params, options), "result"),
|
|
661
665
|
join: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.join"], params, options), "result"),
|
|
@@ -725,7 +729,7 @@ function createBoundDocApi(runtime) {
|
|
|
725
729
|
split: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.split"], params, options), "result"),
|
|
726
730
|
convertToText: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.convertToText"], params, options), "result"),
|
|
727
731
|
setLayout: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setLayout"], params, options), "result"),
|
|
728
|
-
insertRow: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.insertRow"], params, options), "result"),
|
|
732
|
+
insertRow: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.insertRow"], params, options), "result"),
|
|
729
733
|
deleteRow: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.deleteRow"], params, options), "result"),
|
|
730
734
|
setRowHeight: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setRowHeight"], params, options), "result"),
|
|
731
735
|
distributeRows: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.distributeRows"], params, options), "result"),
|
|
@@ -740,6 +744,7 @@ function createBoundDocApi(runtime) {
|
|
|
740
744
|
unmergeCells: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.unmergeCells"], params, options), "result"),
|
|
741
745
|
splitCell: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.splitCell"], params, options), "result"),
|
|
742
746
|
setCellProperties: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setCellProperties"], params, options), "result"),
|
|
747
|
+
setCellText: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.setCellText"], params, options),
|
|
743
748
|
sort: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.sort"], params, options), "result"),
|
|
744
749
|
setAltText: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setAltText"], params, options), "result"),
|
|
745
750
|
setStyle: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.setStyle"], params, options), "result"),
|
|
@@ -757,6 +762,7 @@ function createBoundDocApi(runtime) {
|
|
|
757
762
|
applyStyle: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.applyStyle"], params, options),
|
|
758
763
|
setBorders: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.setBorders"], params, options),
|
|
759
764
|
setTableOptions: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.setTableOptions"], params, options),
|
|
765
|
+
applyPreset: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.tables.applyPreset"], params, options),
|
|
760
766
|
get: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.get"], params, options), "result"),
|
|
761
767
|
getCells: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.getCells"], params, options), "result"),
|
|
762
768
|
getProperties: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.getProperties"], params, options), "result"),
|
|
@@ -3921,6 +3921,20 @@ export interface DocListsDetachParams {
|
|
|
3921
3921
|
input?: Record<string, unknown> | unknown[];
|
|
3922
3922
|
nodeId?: string;
|
|
3923
3923
|
}
|
|
3924
|
+
export interface DocListsDeleteParams {
|
|
3925
|
+
doc?: string;
|
|
3926
|
+
sessionId?: string;
|
|
3927
|
+
out?: string;
|
|
3928
|
+
force?: boolean;
|
|
3929
|
+
expectedRevision?: number;
|
|
3930
|
+
changeMode?: string;
|
|
3931
|
+
dryRun?: boolean;
|
|
3932
|
+
target: {
|
|
3933
|
+
kind: "block";
|
|
3934
|
+
nodeType: "listItem";
|
|
3935
|
+
nodeId: string;
|
|
3936
|
+
};
|
|
3937
|
+
}
|
|
3924
3938
|
export interface DocListsIndentParams {
|
|
3925
3939
|
doc?: string;
|
|
3926
3940
|
sessionId?: string;
|
|
@@ -5888,7 +5902,7 @@ export interface DocTablesInsertRowParams {
|
|
|
5888
5902
|
nodeType: "table";
|
|
5889
5903
|
nodeId: string;
|
|
5890
5904
|
});
|
|
5891
|
-
position
|
|
5905
|
+
position?: string;
|
|
5892
5906
|
count?: number;
|
|
5893
5907
|
rowIndex?: number;
|
|
5894
5908
|
nodeId?: string;
|
|
@@ -5986,7 +6000,7 @@ export interface DocTablesInsertColumnParams {
|
|
|
5986
6000
|
nodeId: string;
|
|
5987
6001
|
};
|
|
5988
6002
|
nodeId?: string;
|
|
5989
|
-
columnIndex
|
|
6003
|
+
columnIndex?: number;
|
|
5990
6004
|
position: string;
|
|
5991
6005
|
count?: number;
|
|
5992
6006
|
}
|
|
@@ -6154,6 +6168,28 @@ export interface DocTablesSetCellPropertiesParams {
|
|
|
6154
6168
|
wrapText?: boolean;
|
|
6155
6169
|
fitText?: boolean;
|
|
6156
6170
|
}
|
|
6171
|
+
export interface DocTablesSetCellTextParams {
|
|
6172
|
+
doc?: string;
|
|
6173
|
+
sessionId?: string;
|
|
6174
|
+
out?: string;
|
|
6175
|
+
force?: boolean;
|
|
6176
|
+
expectedRevision?: number;
|
|
6177
|
+
changeMode?: string;
|
|
6178
|
+
dryRun?: boolean;
|
|
6179
|
+
target?: ({
|
|
6180
|
+
kind: "block";
|
|
6181
|
+
nodeType: "tableCell";
|
|
6182
|
+
nodeId: string;
|
|
6183
|
+
}) | ({
|
|
6184
|
+
kind: "block";
|
|
6185
|
+
nodeType: "table";
|
|
6186
|
+
nodeId: string;
|
|
6187
|
+
});
|
|
6188
|
+
text: string;
|
|
6189
|
+
nodeId?: string;
|
|
6190
|
+
rowIndex?: number;
|
|
6191
|
+
columnIndex?: number;
|
|
6192
|
+
}
|
|
6157
6193
|
export interface DocTablesSortParams {
|
|
6158
6194
|
doc?: string;
|
|
6159
6195
|
sessionId?: string;
|
|
@@ -6304,7 +6340,7 @@ export interface DocTablesSetShadingParams {
|
|
|
6304
6340
|
nodeId: string;
|
|
6305
6341
|
};
|
|
6306
6342
|
nodeId?: string;
|
|
6307
|
-
color: string;
|
|
6343
|
+
color: string | unknown;
|
|
6308
6344
|
}
|
|
6309
6345
|
export interface DocTablesClearShadingParams {
|
|
6310
6346
|
doc?: string;
|
|
@@ -6491,6 +6527,23 @@ export interface DocTablesSetTableOptionsParams {
|
|
|
6491
6527
|
};
|
|
6492
6528
|
cellSpacingPt?: number | unknown;
|
|
6493
6529
|
}
|
|
6530
|
+
export interface DocTablesApplyPresetParams {
|
|
6531
|
+
doc?: string;
|
|
6532
|
+
sessionId?: string;
|
|
6533
|
+
out?: string;
|
|
6534
|
+
force?: boolean;
|
|
6535
|
+
expectedRevision?: number;
|
|
6536
|
+
changeMode?: string;
|
|
6537
|
+
dryRun?: boolean;
|
|
6538
|
+
target?: {
|
|
6539
|
+
kind: "block";
|
|
6540
|
+
nodeType: "table";
|
|
6541
|
+
nodeId: string;
|
|
6542
|
+
};
|
|
6543
|
+
nodeId?: string;
|
|
6544
|
+
preset: string;
|
|
6545
|
+
accentColor?: string;
|
|
6546
|
+
}
|
|
6494
6547
|
export interface DocTablesGetParams {
|
|
6495
6548
|
doc?: string;
|
|
6496
6549
|
sessionId?: string;
|
|
@@ -18958,6 +19011,10 @@ export type DocListsDetachResult = {
|
|
|
18958
19011
|
nodeId: string;
|
|
18959
19012
|
};
|
|
18960
19013
|
};
|
|
19014
|
+
export type DocListsDeleteResult = {
|
|
19015
|
+
success: true;
|
|
19016
|
+
deletedCount: number;
|
|
19017
|
+
};
|
|
18961
19018
|
export type DocListsIndentResult = {
|
|
18962
19019
|
success: true;
|
|
18963
19020
|
item: {
|
|
@@ -21119,6 +21176,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
21119
21176
|
dryRun: boolean;
|
|
21120
21177
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21121
21178
|
};
|
|
21179
|
+
"lists.delete": {
|
|
21180
|
+
available: boolean;
|
|
21181
|
+
tracked: boolean;
|
|
21182
|
+
dryRun: boolean;
|
|
21183
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21184
|
+
};
|
|
21122
21185
|
"lists.indent": {
|
|
21123
21186
|
available: boolean;
|
|
21124
21187
|
tracked: boolean;
|
|
@@ -21533,6 +21596,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
21533
21596
|
dryRun: boolean;
|
|
21534
21597
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21535
21598
|
};
|
|
21599
|
+
"tables.setCellText": {
|
|
21600
|
+
available: boolean;
|
|
21601
|
+
tracked: boolean;
|
|
21602
|
+
dryRun: boolean;
|
|
21603
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21604
|
+
};
|
|
21536
21605
|
"tables.sort": {
|
|
21537
21606
|
available: boolean;
|
|
21538
21607
|
tracked: boolean;
|
|
@@ -21635,6 +21704,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
21635
21704
|
dryRun: boolean;
|
|
21636
21705
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21637
21706
|
};
|
|
21707
|
+
"tables.applyPreset": {
|
|
21708
|
+
available: boolean;
|
|
21709
|
+
tracked: boolean;
|
|
21710
|
+
dryRun: boolean;
|
|
21711
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21712
|
+
};
|
|
21638
21713
|
"tables.get": {
|
|
21639
21714
|
available: boolean;
|
|
21640
21715
|
tracked: boolean;
|
|
@@ -23815,6 +23890,50 @@ export type DocTablesSetCellPropertiesResult = {
|
|
|
23815
23890
|
});
|
|
23816
23891
|
})>;
|
|
23817
23892
|
};
|
|
23893
|
+
export type DocTablesSetCellTextResult = {
|
|
23894
|
+
success: true;
|
|
23895
|
+
table?: {
|
|
23896
|
+
kind: "block";
|
|
23897
|
+
nodeType: "table";
|
|
23898
|
+
nodeId: string;
|
|
23899
|
+
};
|
|
23900
|
+
trackedChangeRefs?: Array<({
|
|
23901
|
+
kind: "entity";
|
|
23902
|
+
entityType: "comment";
|
|
23903
|
+
entityId: string;
|
|
23904
|
+
}) | ({
|
|
23905
|
+
kind: "entity";
|
|
23906
|
+
entityType: "trackedChange";
|
|
23907
|
+
entityId: string;
|
|
23908
|
+
story?: ({
|
|
23909
|
+
kind: "story";
|
|
23910
|
+
storyType: "body";
|
|
23911
|
+
}) | ({
|
|
23912
|
+
kind: "story";
|
|
23913
|
+
storyType: "headerFooterSlot";
|
|
23914
|
+
section: {
|
|
23915
|
+
kind: "section";
|
|
23916
|
+
sectionId: string;
|
|
23917
|
+
};
|
|
23918
|
+
headerFooterKind: "header" | "footer";
|
|
23919
|
+
variant: "default" | "first" | "even";
|
|
23920
|
+
resolution?: "effective" | "explicit";
|
|
23921
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
23922
|
+
}) | ({
|
|
23923
|
+
kind: "story";
|
|
23924
|
+
storyType: "headerFooterPart";
|
|
23925
|
+
refId: string;
|
|
23926
|
+
}) | ({
|
|
23927
|
+
kind: "story";
|
|
23928
|
+
storyType: "footnote";
|
|
23929
|
+
noteId: string;
|
|
23930
|
+
}) | ({
|
|
23931
|
+
kind: "story";
|
|
23932
|
+
storyType: "endnote";
|
|
23933
|
+
noteId: string;
|
|
23934
|
+
});
|
|
23935
|
+
})>;
|
|
23936
|
+
};
|
|
23818
23937
|
export type DocTablesSortResult = {
|
|
23819
23938
|
success: true;
|
|
23820
23939
|
table?: {
|
|
@@ -24563,6 +24682,50 @@ export type DocTablesSetTableOptionsResult = {
|
|
|
24563
24682
|
});
|
|
24564
24683
|
})>;
|
|
24565
24684
|
};
|
|
24685
|
+
export type DocTablesApplyPresetResult = {
|
|
24686
|
+
success: true;
|
|
24687
|
+
table?: {
|
|
24688
|
+
kind: "block";
|
|
24689
|
+
nodeType: "table";
|
|
24690
|
+
nodeId: string;
|
|
24691
|
+
};
|
|
24692
|
+
trackedChangeRefs?: Array<({
|
|
24693
|
+
kind: "entity";
|
|
24694
|
+
entityType: "comment";
|
|
24695
|
+
entityId: string;
|
|
24696
|
+
}) | ({
|
|
24697
|
+
kind: "entity";
|
|
24698
|
+
entityType: "trackedChange";
|
|
24699
|
+
entityId: string;
|
|
24700
|
+
story?: ({
|
|
24701
|
+
kind: "story";
|
|
24702
|
+
storyType: "body";
|
|
24703
|
+
}) | ({
|
|
24704
|
+
kind: "story";
|
|
24705
|
+
storyType: "headerFooterSlot";
|
|
24706
|
+
section: {
|
|
24707
|
+
kind: "section";
|
|
24708
|
+
sectionId: string;
|
|
24709
|
+
};
|
|
24710
|
+
headerFooterKind: "header" | "footer";
|
|
24711
|
+
variant: "default" | "first" | "even";
|
|
24712
|
+
resolution?: "effective" | "explicit";
|
|
24713
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
24714
|
+
}) | ({
|
|
24715
|
+
kind: "story";
|
|
24716
|
+
storyType: "headerFooterPart";
|
|
24717
|
+
refId: string;
|
|
24718
|
+
}) | ({
|
|
24719
|
+
kind: "story";
|
|
24720
|
+
storyType: "footnote";
|
|
24721
|
+
noteId: string;
|
|
24722
|
+
}) | ({
|
|
24723
|
+
kind: "story";
|
|
24724
|
+
storyType: "endnote";
|
|
24725
|
+
noteId: string;
|
|
24726
|
+
});
|
|
24727
|
+
})>;
|
|
24728
|
+
};
|
|
24566
24729
|
export type DocTablesGetResult = {
|
|
24567
24730
|
nodeId: string;
|
|
24568
24731
|
address: {
|
|
@@ -30256,6 +30419,18 @@ export interface DocListsDetachBoundParams {
|
|
|
30256
30419
|
input?: Record<string, unknown> | unknown[];
|
|
30257
30420
|
nodeId?: string;
|
|
30258
30421
|
}
|
|
30422
|
+
export interface DocListsDeleteBoundParams {
|
|
30423
|
+
out?: string;
|
|
30424
|
+
force?: boolean;
|
|
30425
|
+
expectedRevision?: number;
|
|
30426
|
+
changeMode?: string;
|
|
30427
|
+
dryRun?: boolean;
|
|
30428
|
+
target: {
|
|
30429
|
+
kind: "block";
|
|
30430
|
+
nodeType: "listItem";
|
|
30431
|
+
nodeId: string;
|
|
30432
|
+
};
|
|
30433
|
+
}
|
|
30259
30434
|
export interface DocListsIndentBoundParams {
|
|
30260
30435
|
out?: string;
|
|
30261
30436
|
force?: boolean;
|
|
@@ -32114,7 +32289,7 @@ export interface DocTablesInsertRowBoundParams {
|
|
|
32114
32289
|
nodeType: "table";
|
|
32115
32290
|
nodeId: string;
|
|
32116
32291
|
});
|
|
32117
|
-
position
|
|
32292
|
+
position?: string;
|
|
32118
32293
|
count?: number;
|
|
32119
32294
|
rowIndex?: number;
|
|
32120
32295
|
nodeId?: string;
|
|
@@ -32202,7 +32377,7 @@ export interface DocTablesInsertColumnBoundParams {
|
|
|
32202
32377
|
nodeId: string;
|
|
32203
32378
|
};
|
|
32204
32379
|
nodeId?: string;
|
|
32205
|
-
columnIndex
|
|
32380
|
+
columnIndex?: number;
|
|
32206
32381
|
position: string;
|
|
32207
32382
|
count?: number;
|
|
32208
32383
|
}
|
|
@@ -32352,6 +32527,26 @@ export interface DocTablesSetCellPropertiesBoundParams {
|
|
|
32352
32527
|
wrapText?: boolean;
|
|
32353
32528
|
fitText?: boolean;
|
|
32354
32529
|
}
|
|
32530
|
+
export interface DocTablesSetCellTextBoundParams {
|
|
32531
|
+
out?: string;
|
|
32532
|
+
force?: boolean;
|
|
32533
|
+
expectedRevision?: number;
|
|
32534
|
+
changeMode?: string;
|
|
32535
|
+
dryRun?: boolean;
|
|
32536
|
+
target?: ({
|
|
32537
|
+
kind: "block";
|
|
32538
|
+
nodeType: "tableCell";
|
|
32539
|
+
nodeId: string;
|
|
32540
|
+
}) | ({
|
|
32541
|
+
kind: "block";
|
|
32542
|
+
nodeType: "table";
|
|
32543
|
+
nodeId: string;
|
|
32544
|
+
});
|
|
32545
|
+
text: string;
|
|
32546
|
+
nodeId?: string;
|
|
32547
|
+
rowIndex?: number;
|
|
32548
|
+
columnIndex?: number;
|
|
32549
|
+
}
|
|
32355
32550
|
export interface DocTablesSortBoundParams {
|
|
32356
32551
|
out?: string;
|
|
32357
32552
|
force?: boolean;
|
|
@@ -32484,7 +32679,7 @@ export interface DocTablesSetShadingBoundParams {
|
|
|
32484
32679
|
nodeId: string;
|
|
32485
32680
|
};
|
|
32486
32681
|
nodeId?: string;
|
|
32487
|
-
color: string;
|
|
32682
|
+
color: string | unknown;
|
|
32488
32683
|
}
|
|
32489
32684
|
export interface DocTablesClearShadingBoundParams {
|
|
32490
32685
|
out?: string;
|
|
@@ -32655,6 +32850,21 @@ export interface DocTablesSetTableOptionsBoundParams {
|
|
|
32655
32850
|
};
|
|
32656
32851
|
cellSpacingPt?: number | unknown;
|
|
32657
32852
|
}
|
|
32853
|
+
export interface DocTablesApplyPresetBoundParams {
|
|
32854
|
+
out?: string;
|
|
32855
|
+
force?: boolean;
|
|
32856
|
+
expectedRevision?: number;
|
|
32857
|
+
changeMode?: string;
|
|
32858
|
+
dryRun?: boolean;
|
|
32859
|
+
target?: {
|
|
32860
|
+
kind: "block";
|
|
32861
|
+
nodeType: "table";
|
|
32862
|
+
nodeId: string;
|
|
32863
|
+
};
|
|
32864
|
+
nodeId?: string;
|
|
32865
|
+
preset: string;
|
|
32866
|
+
accentColor?: string;
|
|
32867
|
+
}
|
|
32658
32868
|
export interface DocTablesGetBoundParams {
|
|
32659
32869
|
target?: {
|
|
32660
32870
|
kind: "block";
|
|
@@ -35770,6 +35980,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
35770
35980
|
create: (params?: DocListsCreateParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
|
|
35771
35981
|
attach: (params?: DocListsAttachParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
|
|
35772
35982
|
detach: (params?: DocListsDetachParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
|
|
35983
|
+
delete: (params: DocListsDeleteParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
|
|
35773
35984
|
indent: (params?: DocListsIndentParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
|
|
35774
35985
|
outdent: (params?: DocListsOutdentParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
|
|
35775
35986
|
join: (params?: DocListsJoinParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
|
|
@@ -35839,7 +36050,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
35839
36050
|
split: (params: DocTablesSplitParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
|
|
35840
36051
|
convertToText: (params?: DocTablesConvertToTextParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
|
|
35841
36052
|
setLayout: (params?: DocTablesSetLayoutParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
|
|
35842
|
-
insertRow: (params
|
|
36053
|
+
insertRow: (params?: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
|
|
35843
36054
|
deleteRow: (params?: DocTablesDeleteRowParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
|
|
35844
36055
|
setRowHeight: (params: DocTablesSetRowHeightParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
|
|
35845
36056
|
distributeRows: (params?: DocTablesDistributeRowsParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
|
|
@@ -35854,6 +36065,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
35854
36065
|
unmergeCells: (params?: DocTablesUnmergeCellsParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
|
|
35855
36066
|
splitCell: (params: DocTablesSplitCellParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
|
|
35856
36067
|
setCellProperties: (params?: DocTablesSetCellPropertiesParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
|
|
36068
|
+
setCellText: (params: DocTablesSetCellTextParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
|
|
35857
36069
|
sort: (params: DocTablesSortParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
|
|
35858
36070
|
setAltText: (params?: DocTablesSetAltTextParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
|
|
35859
36071
|
setStyle: (params: DocTablesSetStyleParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
|
|
@@ -35871,6 +36083,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
35871
36083
|
applyStyle: (params?: DocTablesApplyStyleParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
|
|
35872
36084
|
setBorders: (params: DocTablesSetBordersParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
|
|
35873
36085
|
setTableOptions: (params?: DocTablesSetTableOptionsParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
|
|
36086
|
+
applyPreset: (params: DocTablesApplyPresetParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
|
|
35874
36087
|
get: (params?: DocTablesGetParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
|
|
35875
36088
|
getCells: (params?: DocTablesGetCellsParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
|
|
35876
36089
|
getProperties: (params?: DocTablesGetPropertiesParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
|
|
@@ -36267,6 +36480,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36267
36480
|
create: (params?: DocListsCreateBoundParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
|
|
36268
36481
|
attach: (params?: DocListsAttachBoundParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
|
|
36269
36482
|
detach: (params?: DocListsDetachBoundParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
|
|
36483
|
+
delete: (params: DocListsDeleteBoundParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
|
|
36270
36484
|
indent: (params?: DocListsIndentBoundParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
|
|
36271
36485
|
outdent: (params?: DocListsOutdentBoundParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
|
|
36272
36486
|
join: (params?: DocListsJoinBoundParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
|
|
@@ -36336,7 +36550,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36336
36550
|
split: (params: DocTablesSplitBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
|
|
36337
36551
|
convertToText: (params?: DocTablesConvertToTextBoundParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
|
|
36338
36552
|
setLayout: (params?: DocTablesSetLayoutBoundParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
|
|
36339
|
-
insertRow: (params
|
|
36553
|
+
insertRow: (params?: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
|
|
36340
36554
|
deleteRow: (params?: DocTablesDeleteRowBoundParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
|
|
36341
36555
|
setRowHeight: (params: DocTablesSetRowHeightBoundParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
|
|
36342
36556
|
distributeRows: (params?: DocTablesDistributeRowsBoundParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
|
|
@@ -36351,6 +36565,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36351
36565
|
unmergeCells: (params?: DocTablesUnmergeCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
|
|
36352
36566
|
splitCell: (params: DocTablesSplitCellBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
|
|
36353
36567
|
setCellProperties: (params?: DocTablesSetCellPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
|
|
36568
|
+
setCellText: (params: DocTablesSetCellTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
|
|
36354
36569
|
sort: (params: DocTablesSortBoundParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
|
|
36355
36570
|
setAltText: (params?: DocTablesSetAltTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
|
|
36356
36571
|
setStyle: (params: DocTablesSetStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
|
|
@@ -36368,6 +36583,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36368
36583
|
applyStyle: (params?: DocTablesApplyStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
|
|
36369
36584
|
setBorders: (params: DocTablesSetBordersBoundParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
|
|
36370
36585
|
setTableOptions: (params?: DocTablesSetTableOptionsBoundParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
|
|
36586
|
+
applyPreset: (params: DocTablesApplyPresetBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
|
|
36371
36587
|
get: (params?: DocTablesGetBoundParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
|
|
36372
36588
|
getCells: (params?: DocTablesGetCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
|
|
36373
36589
|
getProperties: (params?: DocTablesGetPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
|