@superdoc-dev/sdk 1.8.0-next.94 → 1.8.0-next.95
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 +18 -0
- package/dist/generated/client.d.ts +180 -0
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +18 -0
- package/dist/generated/contract.cjs +1250 -1
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1250 -1
- 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/tools-policy.json +1 -1
|
@@ -508,6 +508,15 @@ function createDocApi(runtime) {
|
|
|
508
508
|
remove: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.permissionRanges.remove"], params, options),
|
|
509
509
|
updatePrincipal: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.permissionRanges.updatePrincipal"], params, options),
|
|
510
510
|
},
|
|
511
|
+
customXml: {
|
|
512
|
+
parts: {
|
|
513
|
+
list: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.list"], params, options),
|
|
514
|
+
get: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.get"], params, options),
|
|
515
|
+
create: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.create"], params, options),
|
|
516
|
+
patch: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.patch"], params, options),
|
|
517
|
+
remove: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.remove"], params, options),
|
|
518
|
+
},
|
|
519
|
+
},
|
|
511
520
|
open: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.open"], params, options),
|
|
512
521
|
save: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.save"], params, options),
|
|
513
522
|
close: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.close"], params, options),
|
|
@@ -1012,6 +1021,15 @@ function createBoundDocApi(runtime) {
|
|
|
1012
1021
|
remove: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.permissionRanges.remove"], params, options),
|
|
1013
1022
|
updatePrincipal: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.permissionRanges.updatePrincipal"], params, options),
|
|
1014
1023
|
},
|
|
1024
|
+
customXml: {
|
|
1025
|
+
parts: {
|
|
1026
|
+
list: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.list"], params, options),
|
|
1027
|
+
get: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.get"], params, options),
|
|
1028
|
+
create: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.create"], params, options),
|
|
1029
|
+
patch: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.patch"], params, options),
|
|
1030
|
+
remove: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.customXml.parts.remove"], params, options),
|
|
1031
|
+
},
|
|
1032
|
+
},
|
|
1015
1033
|
save: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.save"], params, options),
|
|
1016
1034
|
close: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.close"], params, options),
|
|
1017
1035
|
insertTab: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.insertTab"], params, options),
|
|
@@ -9884,6 +9884,64 @@ export interface DocPermissionRangesUpdatePrincipalParams {
|
|
|
9884
9884
|
id?: string;
|
|
9885
9885
|
};
|
|
9886
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
|
+
}
|
|
9887
9945
|
export interface DocOpenParams {
|
|
9888
9946
|
doc?: string;
|
|
9889
9947
|
sessionId?: string;
|
|
@@ -22868,6 +22926,36 @@ export type DocCapabilitiesGetResult = {
|
|
|
22868
22926
|
dryRun: boolean;
|
|
22869
22927
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
22870
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
|
+
};
|
|
22871
22959
|
};
|
|
22872
22960
|
planEngine: {
|
|
22873
22961
|
supportedStepOps: Array<string>;
|
|
@@ -26557,6 +26645,32 @@ export type DocPermissionRangesGetResult = Record<string, unknown>;
|
|
|
26557
26645
|
export type DocPermissionRangesCreateResult = Record<string, unknown>;
|
|
26558
26646
|
export type DocPermissionRangesRemoveResult = Record<string, unknown>;
|
|
26559
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
|
+
};
|
|
26560
26674
|
export type DocOpenResult = {
|
|
26561
26675
|
active: boolean;
|
|
26562
26676
|
contextId: string;
|
|
@@ -35819,6 +35933,54 @@ export interface DocPermissionRangesUpdatePrincipalBoundParams {
|
|
|
35819
35933
|
id?: string;
|
|
35820
35934
|
};
|
|
35821
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
|
+
}
|
|
35822
35984
|
export interface DocSaveBoundParams {
|
|
35823
35985
|
out?: string;
|
|
35824
35986
|
force?: boolean;
|
|
@@ -36333,6 +36495,15 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
36333
36495
|
remove: (params: DocPermissionRangesRemoveParams, options?: InvokeOptions) => Promise<DocPermissionRangesRemoveResult>;
|
|
36334
36496
|
updatePrincipal: (params: DocPermissionRangesUpdatePrincipalParams, options?: InvokeOptions) => Promise<DocPermissionRangesUpdatePrincipalResult>;
|
|
36335
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
|
+
};
|
|
36336
36507
|
open: (params?: DocOpenParams, options?: InvokeOptions) => Promise<DocOpenResult>;
|
|
36337
36508
|
save: (params?: DocSaveParams, options?: InvokeOptions) => Promise<DocSaveResult>;
|
|
36338
36509
|
close: (params?: DocCloseParams, options?: InvokeOptions) => Promise<DocCloseResult>;
|
|
@@ -36833,6 +37004,15 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
36833
37004
|
remove: (params: DocPermissionRangesRemoveBoundParams, options?: InvokeOptions) => Promise<DocPermissionRangesRemoveResult>;
|
|
36834
37005
|
updatePrincipal: (params: DocPermissionRangesUpdatePrincipalBoundParams, options?: InvokeOptions) => Promise<DocPermissionRangesUpdatePrincipalResult>;
|
|
36835
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
|
+
};
|
|
36836
37016
|
save: (params?: DocSaveBoundParams, options?: InvokeOptions) => Promise<DocSaveResult>;
|
|
36837
37017
|
close: (params?: DocCloseBoundParams, options?: InvokeOptions) => Promise<DocCloseResult>;
|
|
36838
37018
|
insertTab: (params?: DocInsertTabBoundParams, options?: InvokeOptions) => Promise<DocInsertTabResult>;
|