@lessly/sdk-app 64.0.0 → 64.2.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/_types/gen/client.gen.d.ts +12 -1
- package/dist/_types/gen/types.gen.d.ts +250 -13
- package/dist/_types/gen/workflow/index.d.ts +1 -1
- package/dist/_types/gen/workflow/queryOptions.gen.d.ts +21 -1
- package/dist/{chunk-PRFCIXWX.js → chunk-6MZMAF4Y.js} +83 -2
- package/dist/{chunk-PRFCIXWX.js.map → chunk-6MZMAF4Y.js.map} +1 -1
- package/dist/index.cjs +86 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/dist/workflow/index.cjs +25 -0
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +21 -1
- package/dist/workflow/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +81 -0
- package/src/gen/client.gen.ts +21 -0
- package/src/gen/manifest.gen.ts +5 -0
- package/src/gen/types.gen.ts +261 -13
- package/src/gen/workflow/index.ts +1 -1
- package/src/gen/workflow/queryOptions.gen.ts +33 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GeneratedClient } from '../client.gen.js';
|
|
2
|
-
import type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowDefinitionCreateInput, WorkflowDefinitionDisableInput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionUpdateInput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowRunCancelInput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayInput, WorkflowRunStartInput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen.js';
|
|
2
|
+
import type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowDefinitionCreateInput, WorkflowDefinitionDisableInput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionUpdateInput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowDependencyListInput, WorkflowDependencyListOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowHealthListInput, WorkflowHealthListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowRunCancelInput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayInput, WorkflowRunStartInput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen.js';
|
|
3
3
|
export declare const workflowCapabilityGetQueryOptions: (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => {
|
|
4
4
|
queryKey: readonly ["workflow", "capability", "get", WorkflowCapabilityGetInput];
|
|
5
5
|
queryFn: () => Promise<WorkflowCapabilityGetOutput>;
|
|
@@ -64,14 +64,30 @@ export declare const workflowDefinitionValidateQueryOptions: (sdk: GeneratedClie
|
|
|
64
64
|
queryKey: readonly ["workflow", "definition", "validate", WorkflowDefinitionValidateInput];
|
|
65
65
|
queryFn: () => Promise<WorkflowDefinitionValidateOutput>;
|
|
66
66
|
};
|
|
67
|
+
export declare const workflowDependencyListQueryOptions: (sdk: GeneratedClient, input: WorkflowDependencyListInput) => {
|
|
68
|
+
queryKey: readonly ["workflow", "dependency", "list", WorkflowDependencyListInput];
|
|
69
|
+
queryFn: () => Promise<WorkflowDependencyListOutput>;
|
|
70
|
+
};
|
|
67
71
|
export declare const workflowGrantListQueryOptions: (sdk: GeneratedClient, input: WorkflowGrantListInput) => {
|
|
68
72
|
queryKey: readonly ["workflow", "grant", "list", WorkflowGrantListInput];
|
|
69
73
|
queryFn: () => Promise<WorkflowGrantListOutput>;
|
|
70
74
|
};
|
|
75
|
+
export declare const workflowHealthListQueryOptions: (sdk: GeneratedClient, input: WorkflowHealthListInput) => {
|
|
76
|
+
queryKey: readonly ["workflow", "health", "list", WorkflowHealthListInput];
|
|
77
|
+
queryFn: () => Promise<WorkflowHealthListOutput>;
|
|
78
|
+
};
|
|
71
79
|
export declare const workflowHealthPingQueryOptions: (sdk: GeneratedClient, input: WorkflowHealthPingInput) => {
|
|
72
80
|
queryKey: readonly ["workflow", "health", "ping", WorkflowHealthPingInput];
|
|
73
81
|
queryFn: () => Promise<WorkflowHealthPingOutput>;
|
|
74
82
|
};
|
|
83
|
+
export declare const workflowKillswitchGetQueryOptions: (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => {
|
|
84
|
+
queryKey: readonly ["workflow", "killswitch", "get", WorkflowKillswitchGetInput];
|
|
85
|
+
queryFn: () => Promise<WorkflowKillswitchGetOutput>;
|
|
86
|
+
};
|
|
87
|
+
export declare const workflowKillswitchSetMutationOptions: (sdk: GeneratedClient) => {
|
|
88
|
+
mutationKey: string[];
|
|
89
|
+
mutationFn: (input: WorkflowKillswitchSetInput) => Promise<import(".").WorkflowKillswitchSetOutput>;
|
|
90
|
+
};
|
|
75
91
|
export declare const workflowRunCancelMutationOptions: (sdk: GeneratedClient) => {
|
|
76
92
|
mutationKey: string[];
|
|
77
93
|
mutationFn: (input: WorkflowRunCancelInput) => Promise<import(".").WorkflowRunCancelOutput>;
|
|
@@ -88,6 +104,10 @@ export declare const workflowRunReplayMutationOptions: (sdk: GeneratedClient) =>
|
|
|
88
104
|
mutationKey: string[];
|
|
89
105
|
mutationFn: (input: WorkflowRunReplayInput) => Promise<import(".").WorkflowRunReplayOutput>;
|
|
90
106
|
};
|
|
107
|
+
export declare const workflowRunReplayAllMutationOptions: (sdk: GeneratedClient) => {
|
|
108
|
+
mutationKey: string[];
|
|
109
|
+
mutationFn: (input: WorkflowRunReplayAllInput) => Promise<import(".").WorkflowRunReplayAllOutput>;
|
|
110
|
+
};
|
|
91
111
|
export declare const workflowRunStartMutationOptions: (sdk: GeneratedClient) => {
|
|
92
112
|
mutationKey: string[];
|
|
93
113
|
mutationFn: (input: WorkflowRunStartInput) => Promise<import(".").WorkflowRunStartOutput>;
|
|
@@ -10759,6 +10759,21 @@ var bindings = {
|
|
|
10759
10759
|
"readOnly": true
|
|
10760
10760
|
}
|
|
10761
10761
|
},
|
|
10762
|
+
"dependency": {
|
|
10763
|
+
"list": {
|
|
10764
|
+
"level": "read",
|
|
10765
|
+
"method": "GET",
|
|
10766
|
+
"operationKey": "workflow_dependency_list",
|
|
10767
|
+
"params": [
|
|
10768
|
+
{
|
|
10769
|
+
"in": "query",
|
|
10770
|
+
"name": "toolkit"
|
|
10771
|
+
}
|
|
10772
|
+
],
|
|
10773
|
+
"path": "/workflow/health/dependencies",
|
|
10774
|
+
"readOnly": true
|
|
10775
|
+
}
|
|
10776
|
+
},
|
|
10762
10777
|
"grant": {
|
|
10763
10778
|
"list": {
|
|
10764
10779
|
"level": "read",
|
|
@@ -10775,6 +10790,27 @@ var bindings = {
|
|
|
10775
10790
|
}
|
|
10776
10791
|
},
|
|
10777
10792
|
"health": {
|
|
10793
|
+
"list": {
|
|
10794
|
+
"level": "read",
|
|
10795
|
+
"method": "GET",
|
|
10796
|
+
"operationKey": "workflow_health_list",
|
|
10797
|
+
"params": [
|
|
10798
|
+
{
|
|
10799
|
+
"in": "query",
|
|
10800
|
+
"name": "workflow_id"
|
|
10801
|
+
},
|
|
10802
|
+
{
|
|
10803
|
+
"in": "query",
|
|
10804
|
+
"name": "cursor"
|
|
10805
|
+
},
|
|
10806
|
+
{
|
|
10807
|
+
"in": "query",
|
|
10808
|
+
"name": "limit"
|
|
10809
|
+
}
|
|
10810
|
+
],
|
|
10811
|
+
"path": "/workflow/health/list",
|
|
10812
|
+
"readOnly": true
|
|
10813
|
+
},
|
|
10778
10814
|
"ping": {
|
|
10779
10815
|
"level": "read",
|
|
10780
10816
|
"method": "GET",
|
|
@@ -10783,6 +10819,28 @@ var bindings = {
|
|
|
10783
10819
|
"readOnly": true
|
|
10784
10820
|
}
|
|
10785
10821
|
},
|
|
10822
|
+
"killswitch": {
|
|
10823
|
+
"get": {
|
|
10824
|
+
"level": "read",
|
|
10825
|
+
"method": "GET",
|
|
10826
|
+
"operationKey": "workflow_killswitch_get",
|
|
10827
|
+
"path": "/workflow/killswitch",
|
|
10828
|
+
"readOnly": true
|
|
10829
|
+
},
|
|
10830
|
+
"set": {
|
|
10831
|
+
"level": "write",
|
|
10832
|
+
"method": "POST",
|
|
10833
|
+
"operationKey": "workflow_killswitch_set",
|
|
10834
|
+
"params": [
|
|
10835
|
+
{
|
|
10836
|
+
"in": "body",
|
|
10837
|
+
"name": "on"
|
|
10838
|
+
}
|
|
10839
|
+
],
|
|
10840
|
+
"path": "/workflow/killswitch",
|
|
10841
|
+
"readOnly": false
|
|
10842
|
+
}
|
|
10843
|
+
},
|
|
10786
10844
|
"run": {
|
|
10787
10845
|
"cancel": {
|
|
10788
10846
|
"level": "write",
|
|
@@ -10874,6 +10932,29 @@ var bindings = {
|
|
|
10874
10932
|
"readOnly": false
|
|
10875
10933
|
}
|
|
10876
10934
|
},
|
|
10935
|
+
"run-replay": {
|
|
10936
|
+
"all": {
|
|
10937
|
+
"level": "write",
|
|
10938
|
+
"method": "POST",
|
|
10939
|
+
"operationKey": "workflow_run_replay_all",
|
|
10940
|
+
"params": [
|
|
10941
|
+
{
|
|
10942
|
+
"in": "body",
|
|
10943
|
+
"name": "workflow_id"
|
|
10944
|
+
},
|
|
10945
|
+
{
|
|
10946
|
+
"in": "body",
|
|
10947
|
+
"name": "status"
|
|
10948
|
+
},
|
|
10949
|
+
{
|
|
10950
|
+
"in": "body",
|
|
10951
|
+
"name": "limit"
|
|
10952
|
+
}
|
|
10953
|
+
],
|
|
10954
|
+
"path": "/workflow/runs/replay-all",
|
|
10955
|
+
"readOnly": false
|
|
10956
|
+
}
|
|
10957
|
+
},
|
|
10877
10958
|
"version": {
|
|
10878
10959
|
"get": {
|
|
10879
10960
|
"level": "read",
|
|
@@ -10927,5 +11008,5 @@ var wsBindings = {
|
|
|
10927
11008
|
};
|
|
10928
11009
|
|
|
10929
11010
|
export { bindings, wsBindings };
|
|
10930
|
-
//# sourceMappingURL=chunk-
|
|
10931
|
-
//# sourceMappingURL=chunk-
|
|
11011
|
+
//# sourceMappingURL=chunk-6MZMAF4Y.js.map
|
|
11012
|
+
//# sourceMappingURL=chunk-6MZMAF4Y.js.map
|