@superdoc-dev/sdk 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client.cjs +26 -2
- package/dist/generated/client.d.ts +404 -8
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +26 -2
- package/dist/generated/contract.cjs +2830 -523
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +2830 -523
- 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
|
@@ -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;
|
|
@@ -9831,6 +9884,64 @@ export interface DocPermissionRangesUpdatePrincipalParams {
|
|
|
9831
9884
|
id?: string;
|
|
9832
9885
|
};
|
|
9833
9886
|
}
|
|
9887
|
+
export interface DocCustomXmlPartsListParams {
|
|
9888
|
+
doc?: string;
|
|
9889
|
+
sessionId?: string;
|
|
9890
|
+
limit?: number;
|
|
9891
|
+
offset?: number;
|
|
9892
|
+
rootNamespace?: string;
|
|
9893
|
+
schemaRef?: string;
|
|
9894
|
+
}
|
|
9895
|
+
export interface DocCustomXmlPartsGetParams {
|
|
9896
|
+
doc?: string;
|
|
9897
|
+
sessionId?: string;
|
|
9898
|
+
target: ({
|
|
9899
|
+
id: string;
|
|
9900
|
+
}) | ({
|
|
9901
|
+
partName: string;
|
|
9902
|
+
});
|
|
9903
|
+
}
|
|
9904
|
+
export interface DocCustomXmlPartsCreateParams {
|
|
9905
|
+
doc?: string;
|
|
9906
|
+
sessionId?: string;
|
|
9907
|
+
out?: string;
|
|
9908
|
+
force?: boolean;
|
|
9909
|
+
expectedRevision?: number;
|
|
9910
|
+
changeMode?: string;
|
|
9911
|
+
dryRun?: boolean;
|
|
9912
|
+
content: string;
|
|
9913
|
+
schemaRefs?: string[];
|
|
9914
|
+
}
|
|
9915
|
+
export interface DocCustomXmlPartsPatchParams {
|
|
9916
|
+
doc?: string;
|
|
9917
|
+
sessionId?: string;
|
|
9918
|
+
out?: string;
|
|
9919
|
+
force?: boolean;
|
|
9920
|
+
expectedRevision?: number;
|
|
9921
|
+
changeMode?: string;
|
|
9922
|
+
dryRun?: boolean;
|
|
9923
|
+
target: ({
|
|
9924
|
+
id: string;
|
|
9925
|
+
}) | ({
|
|
9926
|
+
partName: string;
|
|
9927
|
+
});
|
|
9928
|
+
content?: string;
|
|
9929
|
+
schemaRefs?: string[];
|
|
9930
|
+
}
|
|
9931
|
+
export interface DocCustomXmlPartsRemoveParams {
|
|
9932
|
+
doc?: string;
|
|
9933
|
+
sessionId?: string;
|
|
9934
|
+
out?: string;
|
|
9935
|
+
force?: boolean;
|
|
9936
|
+
expectedRevision?: number;
|
|
9937
|
+
changeMode?: string;
|
|
9938
|
+
dryRun?: boolean;
|
|
9939
|
+
target: ({
|
|
9940
|
+
id: string;
|
|
9941
|
+
}) | ({
|
|
9942
|
+
partName: string;
|
|
9943
|
+
});
|
|
9944
|
+
}
|
|
9834
9945
|
export interface DocOpenParams {
|
|
9835
9946
|
doc?: string;
|
|
9836
9947
|
sessionId?: string;
|
|
@@ -18958,6 +19069,10 @@ export type DocListsDetachResult = {
|
|
|
18958
19069
|
nodeId: string;
|
|
18959
19070
|
};
|
|
18960
19071
|
};
|
|
19072
|
+
export type DocListsDeleteResult = {
|
|
19073
|
+
success: true;
|
|
19074
|
+
deletedCount: number;
|
|
19075
|
+
};
|
|
18961
19076
|
export type DocListsIndentResult = {
|
|
18962
19077
|
success: true;
|
|
18963
19078
|
item: {
|
|
@@ -21119,6 +21234,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
21119
21234
|
dryRun: boolean;
|
|
21120
21235
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21121
21236
|
};
|
|
21237
|
+
"lists.delete": {
|
|
21238
|
+
available: boolean;
|
|
21239
|
+
tracked: boolean;
|
|
21240
|
+
dryRun: boolean;
|
|
21241
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21242
|
+
};
|
|
21122
21243
|
"lists.indent": {
|
|
21123
21244
|
available: boolean;
|
|
21124
21245
|
tracked: boolean;
|
|
@@ -21533,6 +21654,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
21533
21654
|
dryRun: boolean;
|
|
21534
21655
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21535
21656
|
};
|
|
21657
|
+
"tables.setCellText": {
|
|
21658
|
+
available: boolean;
|
|
21659
|
+
tracked: boolean;
|
|
21660
|
+
dryRun: boolean;
|
|
21661
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21662
|
+
};
|
|
21536
21663
|
"tables.sort": {
|
|
21537
21664
|
available: boolean;
|
|
21538
21665
|
tracked: boolean;
|
|
@@ -21635,6 +21762,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
21635
21762
|
dryRun: boolean;
|
|
21636
21763
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21637
21764
|
};
|
|
21765
|
+
"tables.applyPreset": {
|
|
21766
|
+
available: boolean;
|
|
21767
|
+
tracked: boolean;
|
|
21768
|
+
dryRun: boolean;
|
|
21769
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
21770
|
+
};
|
|
21638
21771
|
"tables.get": {
|
|
21639
21772
|
available: boolean;
|
|
21640
21773
|
tracked: boolean;
|
|
@@ -22793,6 +22926,36 @@ export type DocCapabilitiesGetResult = {
|
|
|
22793
22926
|
dryRun: boolean;
|
|
22794
22927
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
22795
22928
|
};
|
|
22929
|
+
"customXml.parts.list": {
|
|
22930
|
+
available: boolean;
|
|
22931
|
+
tracked: boolean;
|
|
22932
|
+
dryRun: boolean;
|
|
22933
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
22934
|
+
};
|
|
22935
|
+
"customXml.parts.get": {
|
|
22936
|
+
available: boolean;
|
|
22937
|
+
tracked: boolean;
|
|
22938
|
+
dryRun: boolean;
|
|
22939
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
22940
|
+
};
|
|
22941
|
+
"customXml.parts.create": {
|
|
22942
|
+
available: boolean;
|
|
22943
|
+
tracked: boolean;
|
|
22944
|
+
dryRun: boolean;
|
|
22945
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
22946
|
+
};
|
|
22947
|
+
"customXml.parts.patch": {
|
|
22948
|
+
available: boolean;
|
|
22949
|
+
tracked: boolean;
|
|
22950
|
+
dryRun: boolean;
|
|
22951
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
22952
|
+
};
|
|
22953
|
+
"customXml.parts.remove": {
|
|
22954
|
+
available: boolean;
|
|
22955
|
+
tracked: boolean;
|
|
22956
|
+
dryRun: boolean;
|
|
22957
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
22958
|
+
};
|
|
22796
22959
|
};
|
|
22797
22960
|
planEngine: {
|
|
22798
22961
|
supportedStepOps: Array<string>;
|
|
@@ -23815,6 +23978,50 @@ export type DocTablesSetCellPropertiesResult = {
|
|
|
23815
23978
|
});
|
|
23816
23979
|
})>;
|
|
23817
23980
|
};
|
|
23981
|
+
export type DocTablesSetCellTextResult = {
|
|
23982
|
+
success: true;
|
|
23983
|
+
table?: {
|
|
23984
|
+
kind: "block";
|
|
23985
|
+
nodeType: "table";
|
|
23986
|
+
nodeId: string;
|
|
23987
|
+
};
|
|
23988
|
+
trackedChangeRefs?: Array<({
|
|
23989
|
+
kind: "entity";
|
|
23990
|
+
entityType: "comment";
|
|
23991
|
+
entityId: string;
|
|
23992
|
+
}) | ({
|
|
23993
|
+
kind: "entity";
|
|
23994
|
+
entityType: "trackedChange";
|
|
23995
|
+
entityId: string;
|
|
23996
|
+
story?: ({
|
|
23997
|
+
kind: "story";
|
|
23998
|
+
storyType: "body";
|
|
23999
|
+
}) | ({
|
|
24000
|
+
kind: "story";
|
|
24001
|
+
storyType: "headerFooterSlot";
|
|
24002
|
+
section: {
|
|
24003
|
+
kind: "section";
|
|
24004
|
+
sectionId: string;
|
|
24005
|
+
};
|
|
24006
|
+
headerFooterKind: "header" | "footer";
|
|
24007
|
+
variant: "default" | "first" | "even";
|
|
24008
|
+
resolution?: "effective" | "explicit";
|
|
24009
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
24010
|
+
}) | ({
|
|
24011
|
+
kind: "story";
|
|
24012
|
+
storyType: "headerFooterPart";
|
|
24013
|
+
refId: string;
|
|
24014
|
+
}) | ({
|
|
24015
|
+
kind: "story";
|
|
24016
|
+
storyType: "footnote";
|
|
24017
|
+
noteId: string;
|
|
24018
|
+
}) | ({
|
|
24019
|
+
kind: "story";
|
|
24020
|
+
storyType: "endnote";
|
|
24021
|
+
noteId: string;
|
|
24022
|
+
});
|
|
24023
|
+
})>;
|
|
24024
|
+
};
|
|
23818
24025
|
export type DocTablesSortResult = {
|
|
23819
24026
|
success: true;
|
|
23820
24027
|
table?: {
|
|
@@ -24563,6 +24770,50 @@ export type DocTablesSetTableOptionsResult = {
|
|
|
24563
24770
|
});
|
|
24564
24771
|
})>;
|
|
24565
24772
|
};
|
|
24773
|
+
export type DocTablesApplyPresetResult = {
|
|
24774
|
+
success: true;
|
|
24775
|
+
table?: {
|
|
24776
|
+
kind: "block";
|
|
24777
|
+
nodeType: "table";
|
|
24778
|
+
nodeId: string;
|
|
24779
|
+
};
|
|
24780
|
+
trackedChangeRefs?: Array<({
|
|
24781
|
+
kind: "entity";
|
|
24782
|
+
entityType: "comment";
|
|
24783
|
+
entityId: string;
|
|
24784
|
+
}) | ({
|
|
24785
|
+
kind: "entity";
|
|
24786
|
+
entityType: "trackedChange";
|
|
24787
|
+
entityId: string;
|
|
24788
|
+
story?: ({
|
|
24789
|
+
kind: "story";
|
|
24790
|
+
storyType: "body";
|
|
24791
|
+
}) | ({
|
|
24792
|
+
kind: "story";
|
|
24793
|
+
storyType: "headerFooterSlot";
|
|
24794
|
+
section: {
|
|
24795
|
+
kind: "section";
|
|
24796
|
+
sectionId: string;
|
|
24797
|
+
};
|
|
24798
|
+
headerFooterKind: "header" | "footer";
|
|
24799
|
+
variant: "default" | "first" | "even";
|
|
24800
|
+
resolution?: "effective" | "explicit";
|
|
24801
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
24802
|
+
}) | ({
|
|
24803
|
+
kind: "story";
|
|
24804
|
+
storyType: "headerFooterPart";
|
|
24805
|
+
refId: string;
|
|
24806
|
+
}) | ({
|
|
24807
|
+
kind: "story";
|
|
24808
|
+
storyType: "footnote";
|
|
24809
|
+
noteId: string;
|
|
24810
|
+
}) | ({
|
|
24811
|
+
kind: "story";
|
|
24812
|
+
storyType: "endnote";
|
|
24813
|
+
noteId: string;
|
|
24814
|
+
});
|
|
24815
|
+
})>;
|
|
24816
|
+
};
|
|
24566
24817
|
export type DocTablesGetResult = {
|
|
24567
24818
|
nodeId: string;
|
|
24568
24819
|
address: {
|
|
@@ -26394,6 +26645,32 @@ export type DocPermissionRangesGetResult = Record<string, unknown>;
|
|
|
26394
26645
|
export type DocPermissionRangesCreateResult = Record<string, unknown>;
|
|
26395
26646
|
export type DocPermissionRangesRemoveResult = Record<string, unknown>;
|
|
26396
26647
|
export type DocPermissionRangesUpdatePrincipalResult = Record<string, unknown>;
|
|
26648
|
+
export type DocCustomXmlPartsListResult = Record<string, unknown>;
|
|
26649
|
+
export type DocCustomXmlPartsGetResult = Record<string, unknown> | null;
|
|
26650
|
+
export type DocCustomXmlPartsCreateResult = {
|
|
26651
|
+
success: true;
|
|
26652
|
+
id: string;
|
|
26653
|
+
partName: string;
|
|
26654
|
+
propsPartName: string;
|
|
26655
|
+
};
|
|
26656
|
+
export type DocCustomXmlPartsPatchResult = {
|
|
26657
|
+
success: true;
|
|
26658
|
+
target: ({
|
|
26659
|
+
id: string;
|
|
26660
|
+
}) | ({
|
|
26661
|
+
partName: string;
|
|
26662
|
+
});
|
|
26663
|
+
id?: string;
|
|
26664
|
+
};
|
|
26665
|
+
export type DocCustomXmlPartsRemoveResult = {
|
|
26666
|
+
success: true;
|
|
26667
|
+
target: ({
|
|
26668
|
+
id: string;
|
|
26669
|
+
}) | ({
|
|
26670
|
+
partName: string;
|
|
26671
|
+
});
|
|
26672
|
+
id?: string;
|
|
26673
|
+
};
|
|
26397
26674
|
export type DocOpenResult = {
|
|
26398
26675
|
active: boolean;
|
|
26399
26676
|
contextId: string;
|
|
@@ -30256,6 +30533,18 @@ export interface DocListsDetachBoundParams {
|
|
|
30256
30533
|
input?: Record<string, unknown> | unknown[];
|
|
30257
30534
|
nodeId?: string;
|
|
30258
30535
|
}
|
|
30536
|
+
export interface DocListsDeleteBoundParams {
|
|
30537
|
+
out?: string;
|
|
30538
|
+
force?: boolean;
|
|
30539
|
+
expectedRevision?: number;
|
|
30540
|
+
changeMode?: string;
|
|
30541
|
+
dryRun?: boolean;
|
|
30542
|
+
target: {
|
|
30543
|
+
kind: "block";
|
|
30544
|
+
nodeType: "listItem";
|
|
30545
|
+
nodeId: string;
|
|
30546
|
+
};
|
|
30547
|
+
}
|
|
30259
30548
|
export interface DocListsIndentBoundParams {
|
|
30260
30549
|
out?: string;
|
|
30261
30550
|
force?: boolean;
|
|
@@ -32114,7 +32403,7 @@ export interface DocTablesInsertRowBoundParams {
|
|
|
32114
32403
|
nodeType: "table";
|
|
32115
32404
|
nodeId: string;
|
|
32116
32405
|
});
|
|
32117
|
-
position
|
|
32406
|
+
position?: string;
|
|
32118
32407
|
count?: number;
|
|
32119
32408
|
rowIndex?: number;
|
|
32120
32409
|
nodeId?: string;
|
|
@@ -32202,7 +32491,7 @@ export interface DocTablesInsertColumnBoundParams {
|
|
|
32202
32491
|
nodeId: string;
|
|
32203
32492
|
};
|
|
32204
32493
|
nodeId?: string;
|
|
32205
|
-
columnIndex
|
|
32494
|
+
columnIndex?: number;
|
|
32206
32495
|
position: string;
|
|
32207
32496
|
count?: number;
|
|
32208
32497
|
}
|
|
@@ -32352,6 +32641,26 @@ export interface DocTablesSetCellPropertiesBoundParams {
|
|
|
32352
32641
|
wrapText?: boolean;
|
|
32353
32642
|
fitText?: boolean;
|
|
32354
32643
|
}
|
|
32644
|
+
export interface DocTablesSetCellTextBoundParams {
|
|
32645
|
+
out?: string;
|
|
32646
|
+
force?: boolean;
|
|
32647
|
+
expectedRevision?: number;
|
|
32648
|
+
changeMode?: string;
|
|
32649
|
+
dryRun?: boolean;
|
|
32650
|
+
target?: ({
|
|
32651
|
+
kind: "block";
|
|
32652
|
+
nodeType: "tableCell";
|
|
32653
|
+
nodeId: string;
|
|
32654
|
+
}) | ({
|
|
32655
|
+
kind: "block";
|
|
32656
|
+
nodeType: "table";
|
|
32657
|
+
nodeId: string;
|
|
32658
|
+
});
|
|
32659
|
+
text: string;
|
|
32660
|
+
nodeId?: string;
|
|
32661
|
+
rowIndex?: number;
|
|
32662
|
+
columnIndex?: number;
|
|
32663
|
+
}
|
|
32355
32664
|
export interface DocTablesSortBoundParams {
|
|
32356
32665
|
out?: string;
|
|
32357
32666
|
force?: boolean;
|
|
@@ -32484,7 +32793,7 @@ export interface DocTablesSetShadingBoundParams {
|
|
|
32484
32793
|
nodeId: string;
|
|
32485
32794
|
};
|
|
32486
32795
|
nodeId?: string;
|
|
32487
|
-
color: string;
|
|
32796
|
+
color: string | unknown;
|
|
32488
32797
|
}
|
|
32489
32798
|
export interface DocTablesClearShadingBoundParams {
|
|
32490
32799
|
out?: string;
|
|
@@ -32655,6 +32964,21 @@ export interface DocTablesSetTableOptionsBoundParams {
|
|
|
32655
32964
|
};
|
|
32656
32965
|
cellSpacingPt?: number | unknown;
|
|
32657
32966
|
}
|
|
32967
|
+
export interface DocTablesApplyPresetBoundParams {
|
|
32968
|
+
out?: string;
|
|
32969
|
+
force?: boolean;
|
|
32970
|
+
expectedRevision?: number;
|
|
32971
|
+
changeMode?: string;
|
|
32972
|
+
dryRun?: boolean;
|
|
32973
|
+
target?: {
|
|
32974
|
+
kind: "block";
|
|
32975
|
+
nodeType: "table";
|
|
32976
|
+
nodeId: string;
|
|
32977
|
+
};
|
|
32978
|
+
nodeId?: string;
|
|
32979
|
+
preset: string;
|
|
32980
|
+
accentColor?: string;
|
|
32981
|
+
}
|
|
32658
32982
|
export interface DocTablesGetBoundParams {
|
|
32659
32983
|
target?: {
|
|
32660
32984
|
kind: "block";
|
|
@@ -35609,6 +35933,54 @@ export interface DocPermissionRangesUpdatePrincipalBoundParams {
|
|
|
35609
35933
|
id?: string;
|
|
35610
35934
|
};
|
|
35611
35935
|
}
|
|
35936
|
+
export interface DocCustomXmlPartsListBoundParams {
|
|
35937
|
+
limit?: number;
|
|
35938
|
+
offset?: number;
|
|
35939
|
+
rootNamespace?: string;
|
|
35940
|
+
schemaRef?: string;
|
|
35941
|
+
}
|
|
35942
|
+
export interface DocCustomXmlPartsGetBoundParams {
|
|
35943
|
+
target: ({
|
|
35944
|
+
id: string;
|
|
35945
|
+
}) | ({
|
|
35946
|
+
partName: string;
|
|
35947
|
+
});
|
|
35948
|
+
}
|
|
35949
|
+
export interface DocCustomXmlPartsCreateBoundParams {
|
|
35950
|
+
out?: string;
|
|
35951
|
+
force?: boolean;
|
|
35952
|
+
expectedRevision?: number;
|
|
35953
|
+
changeMode?: string;
|
|
35954
|
+
dryRun?: boolean;
|
|
35955
|
+
content: string;
|
|
35956
|
+
schemaRefs?: string[];
|
|
35957
|
+
}
|
|
35958
|
+
export interface DocCustomXmlPartsPatchBoundParams {
|
|
35959
|
+
out?: string;
|
|
35960
|
+
force?: boolean;
|
|
35961
|
+
expectedRevision?: number;
|
|
35962
|
+
changeMode?: string;
|
|
35963
|
+
dryRun?: boolean;
|
|
35964
|
+
target: ({
|
|
35965
|
+
id: string;
|
|
35966
|
+
}) | ({
|
|
35967
|
+
partName: string;
|
|
35968
|
+
});
|
|
35969
|
+
content?: string;
|
|
35970
|
+
schemaRefs?: string[];
|
|
35971
|
+
}
|
|
35972
|
+
export interface DocCustomXmlPartsRemoveBoundParams {
|
|
35973
|
+
out?: string;
|
|
35974
|
+
force?: boolean;
|
|
35975
|
+
expectedRevision?: number;
|
|
35976
|
+
changeMode?: string;
|
|
35977
|
+
dryRun?: boolean;
|
|
35978
|
+
target: ({
|
|
35979
|
+
id: string;
|
|
35980
|
+
}) | ({
|
|
35981
|
+
partName: string;
|
|
35982
|
+
});
|
|
35983
|
+
}
|
|
35612
35984
|
export interface DocSaveBoundParams {
|
|
35613
35985
|
out?: string;
|
|
35614
35986
|
force?: boolean;
|
|
@@ -35770,6 +36142,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
35770
36142
|
create: (params?: DocListsCreateParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
|
|
35771
36143
|
attach: (params?: DocListsAttachParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
|
|
35772
36144
|
detach: (params?: DocListsDetachParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
|
|
36145
|
+
delete: (params: DocListsDeleteParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
|
|
35773
36146
|
indent: (params?: DocListsIndentParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
|
|
35774
36147
|
outdent: (params?: DocListsOutdentParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
|
|
35775
36148
|
join: (params?: DocListsJoinParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
|
|
@@ -35839,7 +36212,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
35839
36212
|
split: (params: DocTablesSplitParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
|
|
35840
36213
|
convertToText: (params?: DocTablesConvertToTextParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
|
|
35841
36214
|
setLayout: (params?: DocTablesSetLayoutParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
|
|
35842
|
-
insertRow: (params
|
|
36215
|
+
insertRow: (params?: DocTablesInsertRowParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
|
|
35843
36216
|
deleteRow: (params?: DocTablesDeleteRowParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
|
|
35844
36217
|
setRowHeight: (params: DocTablesSetRowHeightParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
|
|
35845
36218
|
distributeRows: (params?: DocTablesDistributeRowsParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
|
|
@@ -35854,6 +36227,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
35854
36227
|
unmergeCells: (params?: DocTablesUnmergeCellsParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
|
|
35855
36228
|
splitCell: (params: DocTablesSplitCellParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
|
|
35856
36229
|
setCellProperties: (params?: DocTablesSetCellPropertiesParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
|
|
36230
|
+
setCellText: (params: DocTablesSetCellTextParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
|
|
35857
36231
|
sort: (params: DocTablesSortParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
|
|
35858
36232
|
setAltText: (params?: DocTablesSetAltTextParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
|
|
35859
36233
|
setStyle: (params: DocTablesSetStyleParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
|
|
@@ -35871,6 +36245,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
35871
36245
|
applyStyle: (params?: DocTablesApplyStyleParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
|
|
35872
36246
|
setBorders: (params: DocTablesSetBordersParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
|
|
35873
36247
|
setTableOptions: (params?: DocTablesSetTableOptionsParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
|
|
36248
|
+
applyPreset: (params: DocTablesApplyPresetParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
|
|
35874
36249
|
get: (params?: DocTablesGetParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
|
|
35875
36250
|
getCells: (params?: DocTablesGetCellsParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
|
|
35876
36251
|
getProperties: (params?: DocTablesGetPropertiesParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
|
|
@@ -36120,6 +36495,15 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
36120
36495
|
remove: (params: DocPermissionRangesRemoveParams, options?: InvokeOptions) => Promise<DocPermissionRangesRemoveResult>;
|
|
36121
36496
|
updatePrincipal: (params: DocPermissionRangesUpdatePrincipalParams, options?: InvokeOptions) => Promise<DocPermissionRangesUpdatePrincipalResult>;
|
|
36122
36497
|
};
|
|
36498
|
+
customXml: {
|
|
36499
|
+
parts: {
|
|
36500
|
+
list: (params?: DocCustomXmlPartsListParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsListResult>;
|
|
36501
|
+
get: (params: DocCustomXmlPartsGetParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsGetResult>;
|
|
36502
|
+
create: (params: DocCustomXmlPartsCreateParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsCreateResult>;
|
|
36503
|
+
patch: (params: DocCustomXmlPartsPatchParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsPatchResult>;
|
|
36504
|
+
remove: (params: DocCustomXmlPartsRemoveParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsRemoveResult>;
|
|
36505
|
+
};
|
|
36506
|
+
};
|
|
36123
36507
|
open: (params?: DocOpenParams, options?: InvokeOptions) => Promise<DocOpenResult>;
|
|
36124
36508
|
save: (params?: DocSaveParams, options?: InvokeOptions) => Promise<DocSaveResult>;
|
|
36125
36509
|
close: (params?: DocCloseParams, options?: InvokeOptions) => Promise<DocCloseResult>;
|
|
@@ -36267,6 +36651,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36267
36651
|
create: (params?: DocListsCreateBoundParams, options?: InvokeOptions) => Promise<DocListsCreateResult>;
|
|
36268
36652
|
attach: (params?: DocListsAttachBoundParams, options?: InvokeOptions) => Promise<DocListsAttachResult>;
|
|
36269
36653
|
detach: (params?: DocListsDetachBoundParams, options?: InvokeOptions) => Promise<DocListsDetachResult>;
|
|
36654
|
+
delete: (params: DocListsDeleteBoundParams, options?: InvokeOptions) => Promise<DocListsDeleteResult>;
|
|
36270
36655
|
indent: (params?: DocListsIndentBoundParams, options?: InvokeOptions) => Promise<DocListsIndentResult>;
|
|
36271
36656
|
outdent: (params?: DocListsOutdentBoundParams, options?: InvokeOptions) => Promise<DocListsOutdentResult>;
|
|
36272
36657
|
join: (params?: DocListsJoinBoundParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
|
|
@@ -36336,7 +36721,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36336
36721
|
split: (params: DocTablesSplitBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitResult>;
|
|
36337
36722
|
convertToText: (params?: DocTablesConvertToTextBoundParams, options?: InvokeOptions) => Promise<DocTablesConvertToTextResult>;
|
|
36338
36723
|
setLayout: (params?: DocTablesSetLayoutBoundParams, options?: InvokeOptions) => Promise<DocTablesSetLayoutResult>;
|
|
36339
|
-
insertRow: (params
|
|
36724
|
+
insertRow: (params?: DocTablesInsertRowBoundParams, options?: InvokeOptions) => Promise<DocTablesInsertRowResult>;
|
|
36340
36725
|
deleteRow: (params?: DocTablesDeleteRowBoundParams, options?: InvokeOptions) => Promise<DocTablesDeleteRowResult>;
|
|
36341
36726
|
setRowHeight: (params: DocTablesSetRowHeightBoundParams, options?: InvokeOptions) => Promise<DocTablesSetRowHeightResult>;
|
|
36342
36727
|
distributeRows: (params?: DocTablesDistributeRowsBoundParams, options?: InvokeOptions) => Promise<DocTablesDistributeRowsResult>;
|
|
@@ -36351,6 +36736,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36351
36736
|
unmergeCells: (params?: DocTablesUnmergeCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesUnmergeCellsResult>;
|
|
36352
36737
|
splitCell: (params: DocTablesSplitCellBoundParams, options?: InvokeOptions) => Promise<DocTablesSplitCellResult>;
|
|
36353
36738
|
setCellProperties: (params?: DocTablesSetCellPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellPropertiesResult>;
|
|
36739
|
+
setCellText: (params: DocTablesSetCellTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetCellTextResult>;
|
|
36354
36740
|
sort: (params: DocTablesSortBoundParams, options?: InvokeOptions) => Promise<DocTablesSortResult>;
|
|
36355
36741
|
setAltText: (params?: DocTablesSetAltTextBoundParams, options?: InvokeOptions) => Promise<DocTablesSetAltTextResult>;
|
|
36356
36742
|
setStyle: (params: DocTablesSetStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesSetStyleResult>;
|
|
@@ -36368,6 +36754,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36368
36754
|
applyStyle: (params?: DocTablesApplyStyleBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyStyleResult>;
|
|
36369
36755
|
setBorders: (params: DocTablesSetBordersBoundParams, options?: InvokeOptions) => Promise<DocTablesSetBordersResult>;
|
|
36370
36756
|
setTableOptions: (params?: DocTablesSetTableOptionsBoundParams, options?: InvokeOptions) => Promise<DocTablesSetTableOptionsResult>;
|
|
36757
|
+
applyPreset: (params: DocTablesApplyPresetBoundParams, options?: InvokeOptions) => Promise<DocTablesApplyPresetResult>;
|
|
36371
36758
|
get: (params?: DocTablesGetBoundParams, options?: InvokeOptions) => Promise<DocTablesGetResult>;
|
|
36372
36759
|
getCells: (params?: DocTablesGetCellsBoundParams, options?: InvokeOptions) => Promise<DocTablesGetCellsResult>;
|
|
36373
36760
|
getProperties: (params?: DocTablesGetPropertiesBoundParams, options?: InvokeOptions) => Promise<DocTablesGetPropertiesResult>;
|
|
@@ -36617,6 +37004,15 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36617
37004
|
remove: (params: DocPermissionRangesRemoveBoundParams, options?: InvokeOptions) => Promise<DocPermissionRangesRemoveResult>;
|
|
36618
37005
|
updatePrincipal: (params: DocPermissionRangesUpdatePrincipalBoundParams, options?: InvokeOptions) => Promise<DocPermissionRangesUpdatePrincipalResult>;
|
|
36619
37006
|
};
|
|
37007
|
+
customXml: {
|
|
37008
|
+
parts: {
|
|
37009
|
+
list: (params?: DocCustomXmlPartsListBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsListResult>;
|
|
37010
|
+
get: (params: DocCustomXmlPartsGetBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsGetResult>;
|
|
37011
|
+
create: (params: DocCustomXmlPartsCreateBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsCreateResult>;
|
|
37012
|
+
patch: (params: DocCustomXmlPartsPatchBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsPatchResult>;
|
|
37013
|
+
remove: (params: DocCustomXmlPartsRemoveBoundParams, options?: InvokeOptions) => Promise<DocCustomXmlPartsRemoveResult>;
|
|
37014
|
+
};
|
|
37015
|
+
};
|
|
36620
37016
|
save: (params?: DocSaveBoundParams, options?: InvokeOptions) => Promise<DocSaveResult>;
|
|
36621
37017
|
close: (params?: DocCloseBoundParams, options?: InvokeOptions) => Promise<DocCloseResult>;
|
|
36622
37018
|
insertTab: (params?: DocInsertTabBoundParams, options?: InvokeOptions) => Promise<DocInsertTabResult>;
|