@lessly/sdk-app 64.0.0 → 64.1.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.
@@ -1,4 +1,4 @@
1
- import { wsBindings } from '../chunk-PRFCIXWX.js';
1
+ import { wsBindings } from '../chunk-E5DOALAH.js';
2
2
 
3
3
  // src/gen/playground/queryOptions.gen.ts
4
4
  var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
@@ -73,6 +73,14 @@ var workflowHealthPingQueryOptions = (sdk, input) => ({
73
73
  queryKey: ["workflow", "health", "ping", input],
74
74
  queryFn: () => sdk["workflow"]["health"]["ping"](input)
75
75
  });
76
+ var workflowKillswitchGetQueryOptions = (sdk, input) => ({
77
+ queryKey: ["workflow", "killswitch", "get", input],
78
+ queryFn: () => sdk["workflow"]["killswitch"]["get"](input)
79
+ });
80
+ var workflowKillswitchSetMutationOptions = (sdk) => ({
81
+ mutationKey: ["workflow", "killswitch", "set"],
82
+ mutationFn: (input) => sdk["workflow"]["killswitch"]["set"](input)
83
+ });
76
84
  var workflowRunCancelMutationOptions = (sdk) => ({
77
85
  mutationKey: ["workflow", "run", "cancel"],
78
86
  mutationFn: (input) => sdk["workflow"]["run"]["cancel"](input)
@@ -89,6 +97,10 @@ var workflowRunReplayMutationOptions = (sdk) => ({
89
97
  mutationKey: ["workflow", "run", "replay"],
90
98
  mutationFn: (input) => sdk["workflow"]["run"]["replay"](input)
91
99
  });
100
+ var workflowRunReplayAllMutationOptions = (sdk) => ({
101
+ mutationKey: ["workflow", "run-replay", "all"],
102
+ mutationFn: (input) => sdk["workflow"]["run-replay"]["all"](input)
103
+ });
92
104
  var workflowRunStartMutationOptions = (sdk) => ({
93
105
  mutationKey: ["workflow", "run", "start"],
94
106
  mutationFn: (input) => sdk["workflow"]["run"]["start"](input)
@@ -120,9 +132,12 @@ exports.workflowDefinitionUpdateMutationOptions = workflowDefinitionUpdateMutati
120
132
  exports.workflowDefinitionValidateQueryOptions = workflowDefinitionValidateQueryOptions;
121
133
  exports.workflowGrantListQueryOptions = workflowGrantListQueryOptions;
122
134
  exports.workflowHealthPingQueryOptions = workflowHealthPingQueryOptions;
135
+ exports.workflowKillswitchGetQueryOptions = workflowKillswitchGetQueryOptions;
136
+ exports.workflowKillswitchSetMutationOptions = workflowKillswitchSetMutationOptions;
123
137
  exports.workflowRunCancelMutationOptions = workflowRunCancelMutationOptions;
124
138
  exports.workflowRunGetQueryOptions = workflowRunGetQueryOptions;
125
139
  exports.workflowRunListQueryOptions = workflowRunListQueryOptions;
140
+ exports.workflowRunReplayAllMutationOptions = workflowRunReplayAllMutationOptions;
126
141
  exports.workflowRunReplayMutationOptions = workflowRunReplayMutationOptions;
127
142
  exports.workflowRunStartMutationOptions = workflowRunStartMutationOptions;
128
143
  exports.workflowVersionGetQueryOptions = workflowVersionGetQueryOptions;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";;;AA4CO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,OAAO,KAAK,CAAA;AAAA,EACjD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC3D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,EAAsB,KAAA,MAAwC;AAAA,EAC/G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,QAAQ,KAAK,CAAA;AAAA,EAClD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AAC5D,CAAA;AAEO,IAAM,mCAAA,GAAsC,CAAC,GAAA,MAA0B;AAAA,EAC5E,WAAA,EAAa,CAAC,UAAA,EAAY,QAAA,EAAU,QAAQ,CAAA;AAAA,EAC5C,UAAA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,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,OAAO,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,QAAQ,KAAK,CAAA;AAAA,EAC/C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACzD,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowCapabilityGetInput,\n WorkflowCapabilityGetOutput,\n WorkflowCapabilityListInput,\n WorkflowCapabilityListOutput,\n WorkflowConfigDeleteInput,\n WorkflowConfigListInput,\n WorkflowConfigListOutput,\n WorkflowConfigSetInput,\n WorkflowDefinitionCreateInput,\n WorkflowDefinitionDisableInput,\n WorkflowDefinitionDryrunInput,\n WorkflowDefinitionDryrunOutput,\n WorkflowDefinitionEnableInput,\n WorkflowDefinitionExportInput,\n WorkflowDefinitionExportOutput,\n WorkflowDefinitionGetInput,\n WorkflowDefinitionGetOutput,\n WorkflowDefinitionImportInput,\n WorkflowDefinitionListInput,\n WorkflowDefinitionListOutput,\n WorkflowDefinitionPublishInput,\n WorkflowDefinitionUpdateInput,\n WorkflowDefinitionValidateInput,\n WorkflowDefinitionValidateOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n WorkflowRunCancelInput,\n WorkflowRunGetInput,\n WorkflowRunGetOutput,\n WorkflowRunListInput,\n WorkflowRunListOutput,\n WorkflowRunReplayInput,\n WorkflowRunStartInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n} from '../types.gen';\n\nexport const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({\n queryKey: ['workflow', 'capability', 'get', input] as const,\n queryFn: () => sdk['workflow']['capability']['get'](input),\n});\n\nexport const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({\n queryKey: ['workflow', 'capability', 'list', input] as const,\n queryFn: () => sdk['workflow']['capability']['list'](input),\n});\n\nexport const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'delete'],\n mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),\n});\n\nexport const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({\n queryKey: ['workflow', 'config', 'list', input] as const,\n queryFn: () => sdk['workflow']['config']['list'](input),\n});\n\nexport const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'set'],\n mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),\n});\n\nexport const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'create'],\n mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),\n});\n\nexport const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'disable'],\n mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),\n});\n\nexport const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({\n queryKey: ['workflow', 'definition', 'dryrun', input] as const,\n queryFn: () => sdk['workflow']['definition']['dryrun'](input),\n});\n\nexport const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'enable'],\n mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),\n});\n\nexport const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({\n queryKey: ['workflow', 'definition', 'export', input] as const,\n queryFn: () => sdk['workflow']['definition']['export'](input),\n});\n\nexport const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({\n queryKey: ['workflow', 'definition', 'get', input] as const,\n queryFn: () => sdk['workflow']['definition']['get'](input),\n});\n\nexport const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'import'],\n mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),\n});\n\nexport const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({\n queryKey: ['workflow', 'definition', 'list', input] as const,\n queryFn: () => sdk['workflow']['definition']['list'](input),\n});\n\nexport const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'publish'],\n mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),\n});\n\nexport const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'update'],\n mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),\n});\n\nexport const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({\n queryKey: ['workflow', 'definition', 'validate', input] as const,\n queryFn: () => sdk['workflow']['definition']['validate'](input),\n});\n\nexport const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({\n queryKey: ['workflow', 'grant', 'list', input] as const,\n queryFn: () => sdk['workflow']['grant']['list'](input),\n});\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n\nexport const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'cancel'],\n mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),\n});\n\nexport const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({\n queryKey: ['workflow', 'run', 'get', input] as const,\n queryFn: () => sdk['workflow']['run']['get'](input),\n});\n\nexport const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({\n queryKey: ['workflow', 'run', 'list', input] as const,\n queryFn: () => sdk['workflow']['run']['list'](input),\n});\n\nexport const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'replay'],\n mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),\n});\n\nexport const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'start'],\n mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),\n});\n\nexport const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({\n queryKey: ['workflow', 'version', 'get', input] as const,\n queryFn: () => sdk['workflow']['version']['get'](input),\n});\n\nexport const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({\n queryKey: ['workflow', 'version', 'list', input] as const,\n queryFn: () => sdk['workflow']['version']['list'](input),\n});\n"]}
1
+ {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";;;AAgDO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,OAAO,KAAK,CAAA;AAAA,EACjD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,KAAK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AM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,QAAQ,KAAK,CAAA;AAAA,EAC/C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACzD,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowCapabilityGetInput,\n WorkflowCapabilityGetOutput,\n WorkflowCapabilityListInput,\n WorkflowCapabilityListOutput,\n WorkflowConfigDeleteInput,\n WorkflowConfigListInput,\n WorkflowConfigListOutput,\n WorkflowConfigSetInput,\n WorkflowDefinitionCreateInput,\n WorkflowDefinitionDisableInput,\n WorkflowDefinitionDryrunInput,\n WorkflowDefinitionDryrunOutput,\n WorkflowDefinitionEnableInput,\n WorkflowDefinitionExportInput,\n WorkflowDefinitionExportOutput,\n WorkflowDefinitionGetInput,\n WorkflowDefinitionGetOutput,\n WorkflowDefinitionImportInput,\n WorkflowDefinitionListInput,\n WorkflowDefinitionListOutput,\n WorkflowDefinitionPublishInput,\n WorkflowDefinitionUpdateInput,\n WorkflowDefinitionValidateInput,\n WorkflowDefinitionValidateOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n WorkflowKillswitchGetInput,\n WorkflowKillswitchGetOutput,\n WorkflowKillswitchSetInput,\n WorkflowRunCancelInput,\n WorkflowRunGetInput,\n WorkflowRunGetOutput,\n WorkflowRunListInput,\n WorkflowRunListOutput,\n WorkflowRunReplayAllInput,\n WorkflowRunReplayInput,\n WorkflowRunStartInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n} from '../types.gen';\n\nexport const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({\n queryKey: ['workflow', 'capability', 'get', input] as const,\n queryFn: () => sdk['workflow']['capability']['get'](input),\n});\n\nexport const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({\n queryKey: ['workflow', 'capability', 'list', input] as const,\n queryFn: () => sdk['workflow']['capability']['list'](input),\n});\n\nexport const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'delete'],\n mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),\n});\n\nexport const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({\n queryKey: ['workflow', 'config', 'list', input] as const,\n queryFn: () => sdk['workflow']['config']['list'](input),\n});\n\nexport const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'set'],\n mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),\n});\n\nexport const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'create'],\n mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),\n});\n\nexport const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'disable'],\n mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),\n});\n\nexport const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({\n queryKey: ['workflow', 'definition', 'dryrun', input] as const,\n queryFn: () => sdk['workflow']['definition']['dryrun'](input),\n});\n\nexport const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'enable'],\n mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),\n});\n\nexport const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({\n queryKey: ['workflow', 'definition', 'export', input] as const,\n queryFn: () => sdk['workflow']['definition']['export'](input),\n});\n\nexport const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({\n queryKey: ['workflow', 'definition', 'get', input] as const,\n queryFn: () => sdk['workflow']['definition']['get'](input),\n});\n\nexport const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'import'],\n mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),\n});\n\nexport const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({\n queryKey: ['workflow', 'definition', 'list', input] as const,\n queryFn: () => sdk['workflow']['definition']['list'](input),\n});\n\nexport const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'publish'],\n mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),\n});\n\nexport const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'update'],\n mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),\n});\n\nexport const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({\n queryKey: ['workflow', 'definition', 'validate', input] as const,\n queryFn: () => sdk['workflow']['definition']['validate'](input),\n});\n\nexport const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({\n queryKey: ['workflow', 'grant', 'list', input] as const,\n queryFn: () => sdk['workflow']['grant']['list'](input),\n});\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n\nexport const workflowKillswitchGetQueryOptions = (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => ({\n queryKey: ['workflow', 'killswitch', 'get', input] as const,\n queryFn: () => sdk['workflow']['killswitch']['get'](input),\n});\n\nexport const workflowKillswitchSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'killswitch', 'set'],\n mutationFn: (input: WorkflowKillswitchSetInput) => sdk['workflow']['killswitch']['set'](input),\n});\n\nexport const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'cancel'],\n mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),\n});\n\nexport const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({\n queryKey: ['workflow', 'run', 'get', input] as const,\n queryFn: () => sdk['workflow']['run']['get'](input),\n});\n\nexport const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({\n queryKey: ['workflow', 'run', 'list', input] as const,\n queryFn: () => sdk['workflow']['run']['list'](input),\n});\n\nexport const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'replay'],\n mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),\n});\n\nexport const workflowRunReplayAllMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run-replay', 'all'],\n mutationFn: (input: WorkflowRunReplayAllInput) => sdk['workflow']['run-replay']['all'](input),\n});\n\nexport const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'start'],\n mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),\n});\n\nexport const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({\n queryKey: ['workflow', 'version', 'get', input] as const,\n queryFn: () => sdk['workflow']['version']['get'](input),\n});\n\nexport const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({\n queryKey: ['workflow', 'version', 'list', input] as const,\n queryFn: () => sdk['workflow']['version']['list'](input),\n});\n"]}
@@ -71,6 +71,14 @@ var workflowHealthPingQueryOptions = (sdk, input) => ({
71
71
  queryKey: ["workflow", "health", "ping", input],
72
72
  queryFn: () => sdk["workflow"]["health"]["ping"](input)
73
73
  });
74
+ var workflowKillswitchGetQueryOptions = (sdk, input) => ({
75
+ queryKey: ["workflow", "killswitch", "get", input],
76
+ queryFn: () => sdk["workflow"]["killswitch"]["get"](input)
77
+ });
78
+ var workflowKillswitchSetMutationOptions = (sdk) => ({
79
+ mutationKey: ["workflow", "killswitch", "set"],
80
+ mutationFn: (input) => sdk["workflow"]["killswitch"]["set"](input)
81
+ });
74
82
  var workflowRunCancelMutationOptions = (sdk) => ({
75
83
  mutationKey: ["workflow", "run", "cancel"],
76
84
  mutationFn: (input) => sdk["workflow"]["run"]["cancel"](input)
@@ -87,6 +95,10 @@ var workflowRunReplayMutationOptions = (sdk) => ({
87
95
  mutationKey: ["workflow", "run", "replay"],
88
96
  mutationFn: (input) => sdk["workflow"]["run"]["replay"](input)
89
97
  });
98
+ var workflowRunReplayAllMutationOptions = (sdk) => ({
99
+ mutationKey: ["workflow", "run-replay", "all"],
100
+ mutationFn: (input) => sdk["workflow"]["run-replay"]["all"](input)
101
+ });
90
102
  var workflowRunStartMutationOptions = (sdk) => ({
91
103
  mutationKey: ["workflow", "run", "start"],
92
104
  mutationFn: (input) => sdk["workflow"]["run"]["start"](input)
@@ -100,6 +112,6 @@ var workflowVersionListQueryOptions = (sdk, input) => ({
100
112
  queryFn: () => sdk["workflow"]["version"]["list"](input)
101
113
  });
102
114
 
103
- export { workflowCapabilityGetQueryOptions, workflowCapabilityListQueryOptions, workflowConfigDeleteMutationOptions, workflowConfigListQueryOptions, workflowConfigSetMutationOptions, workflowDefinitionCreateMutationOptions, workflowDefinitionDisableMutationOptions, workflowDefinitionDryrunQueryOptions, workflowDefinitionEnableMutationOptions, workflowDefinitionExportQueryOptions, workflowDefinitionGetQueryOptions, workflowDefinitionImportMutationOptions, workflowDefinitionListQueryOptions, workflowDefinitionPublishMutationOptions, workflowDefinitionUpdateMutationOptions, workflowDefinitionValidateQueryOptions, workflowGrantListQueryOptions, workflowHealthPingQueryOptions, workflowRunCancelMutationOptions, workflowRunGetQueryOptions, workflowRunListQueryOptions, workflowRunReplayMutationOptions, workflowRunStartMutationOptions, workflowVersionGetQueryOptions, workflowVersionListQueryOptions };
115
+ export { workflowCapabilityGetQueryOptions, workflowCapabilityListQueryOptions, workflowConfigDeleteMutationOptions, workflowConfigListQueryOptions, workflowConfigSetMutationOptions, workflowDefinitionCreateMutationOptions, workflowDefinitionDisableMutationOptions, workflowDefinitionDryrunQueryOptions, workflowDefinitionEnableMutationOptions, workflowDefinitionExportQueryOptions, workflowDefinitionGetQueryOptions, workflowDefinitionImportMutationOptions, workflowDefinitionListQueryOptions, workflowDefinitionPublishMutationOptions, workflowDefinitionUpdateMutationOptions, workflowDefinitionValidateQueryOptions, workflowGrantListQueryOptions, workflowHealthPingQueryOptions, workflowKillswitchGetQueryOptions, workflowKillswitchSetMutationOptions, workflowRunCancelMutationOptions, workflowRunGetQueryOptions, workflowRunListQueryOptions, workflowRunReplayAllMutationOptions, workflowRunReplayMutationOptions, workflowRunStartMutationOptions, workflowVersionGetQueryOptions, workflowVersionListQueryOptions };
104
116
  //# sourceMappingURL=index.js.map
105
117
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";AA4CO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,OAAO,KAAK,CAAA;AAAA,EACjD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,KAAK,CAAA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,EACzC,UAAA,EAAY,CAAC,KAAA,KAAkC,GAAA,CAAI,UAAU,EAAE,KAAK,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACvF,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,MAA0B;AAAA,EACxE,WAAA,EAAa,CAAC,UAAA,EAAY,KAAA,EAAO,OAAO,CAAA;AAAA,EACxC,UAAA,EAAY,CAAC,KAAA,KAAiC,GAAA,CAAI,UAAU,EAAE,KAAK,CAAA,CAAE,OAAO,CAAA,CAAE,KAAK;AACrF,CAAA;AAEO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,OAAO,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,QAAQ,KAAK,CAAA;AAAA,EAC/C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACzD,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowCapabilityGetInput,\n WorkflowCapabilityGetOutput,\n WorkflowCapabilityListInput,\n WorkflowCapabilityListOutput,\n WorkflowConfigDeleteInput,\n WorkflowConfigListInput,\n WorkflowConfigListOutput,\n WorkflowConfigSetInput,\n WorkflowDefinitionCreateInput,\n WorkflowDefinitionDisableInput,\n WorkflowDefinitionDryrunInput,\n WorkflowDefinitionDryrunOutput,\n WorkflowDefinitionEnableInput,\n WorkflowDefinitionExportInput,\n WorkflowDefinitionExportOutput,\n WorkflowDefinitionGetInput,\n WorkflowDefinitionGetOutput,\n WorkflowDefinitionImportInput,\n WorkflowDefinitionListInput,\n WorkflowDefinitionListOutput,\n WorkflowDefinitionPublishInput,\n WorkflowDefinitionUpdateInput,\n WorkflowDefinitionValidateInput,\n WorkflowDefinitionValidateOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n WorkflowRunCancelInput,\n WorkflowRunGetInput,\n WorkflowRunGetOutput,\n WorkflowRunListInput,\n WorkflowRunListOutput,\n WorkflowRunReplayInput,\n WorkflowRunStartInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n} from '../types.gen';\n\nexport const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({\n queryKey: ['workflow', 'capability', 'get', input] as const,\n queryFn: () => sdk['workflow']['capability']['get'](input),\n});\n\nexport const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({\n queryKey: ['workflow', 'capability', 'list', input] as const,\n queryFn: () => sdk['workflow']['capability']['list'](input),\n});\n\nexport const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'delete'],\n mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),\n});\n\nexport const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({\n queryKey: ['workflow', 'config', 'list', input] as const,\n queryFn: () => sdk['workflow']['config']['list'](input),\n});\n\nexport const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'set'],\n mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),\n});\n\nexport const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'create'],\n mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),\n});\n\nexport const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'disable'],\n mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),\n});\n\nexport const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({\n queryKey: ['workflow', 'definition', 'dryrun', input] as const,\n queryFn: () => sdk['workflow']['definition']['dryrun'](input),\n});\n\nexport const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'enable'],\n mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),\n});\n\nexport const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({\n queryKey: ['workflow', 'definition', 'export', input] as const,\n queryFn: () => sdk['workflow']['definition']['export'](input),\n});\n\nexport const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({\n queryKey: ['workflow', 'definition', 'get', input] as const,\n queryFn: () => sdk['workflow']['definition']['get'](input),\n});\n\nexport const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'import'],\n mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),\n});\n\nexport const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({\n queryKey: ['workflow', 'definition', 'list', input] as const,\n queryFn: () => sdk['workflow']['definition']['list'](input),\n});\n\nexport const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'publish'],\n mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),\n});\n\nexport const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'update'],\n mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),\n});\n\nexport const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({\n queryKey: ['workflow', 'definition', 'validate', input] as const,\n queryFn: () => sdk['workflow']['definition']['validate'](input),\n});\n\nexport const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({\n queryKey: ['workflow', 'grant', 'list', input] as const,\n queryFn: () => sdk['workflow']['grant']['list'](input),\n});\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n\nexport const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'cancel'],\n mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),\n});\n\nexport const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({\n queryKey: ['workflow', 'run', 'get', input] as const,\n queryFn: () => sdk['workflow']['run']['get'](input),\n});\n\nexport const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({\n queryKey: ['workflow', 'run', 'list', input] as const,\n queryFn: () => sdk['workflow']['run']['list'](input),\n});\n\nexport const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'replay'],\n mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),\n});\n\nexport const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'start'],\n mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),\n});\n\nexport const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({\n queryKey: ['workflow', 'version', 'get', input] as const,\n queryFn: () => sdk['workflow']['version']['get'](input),\n});\n\nexport const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({\n queryKey: ['workflow', 'version', 'list', input] as const,\n queryFn: () => sdk['workflow']['version']['list'](input),\n});\n"]}
1
+ {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";AAgDO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,OAAO,KAAK,CAAA;AAAA,EACjD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC3D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,EAAsB,KAAA,MAAwC;AAAA,EAC/G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,QAAQ,KAAK,CAAA;AAAA,EAClD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AAC5D,CAAA;AAEO,IAAM,mCAAA,GAAsC,CAAC,GAAA,MAA0B;AAAA,EAC5E,WAAA,EAAa,CAAC,UAAA,EAAY,QAAA,EAAU,QAAQ,CAAA;AAAA,EAC5C,UAAA,EAAY,CAAC,KAAA,KAAqC,GAAA,CAAI,UAAU,EAAE,QAAQ,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC7F,CAAA;AAEO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,UAAA,EAAY,QAAA,EAAU,QAAQ,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,QAAQ,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,gCAAA,GAAmC,CAAC,GAAA,MAA0B;AAAA,EACzE,WAAA,EAAa,CAAC,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AAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,MAA0B;AAAA,EACxE,WAAA,EAAa,CAAC,UAAA,EAAY,KAAA,EAAO,OAAO,CAAA;AAAA,EACxC,UAAA,EAAY,CAAC,KAAA,KAAiC,GAAA,CAAI,UAAU,EAAE,KAAK,CAAA,CAAE,OAAO,CAAA,CAAE,KAAK;AACrF,CAAA;AAEO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,OAAO,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,QAAQ,KAAK,CAAA;AAAA,EAC/C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACzD,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowCapabilityGetInput,\n WorkflowCapabilityGetOutput,\n WorkflowCapabilityListInput,\n WorkflowCapabilityListOutput,\n WorkflowConfigDeleteInput,\n WorkflowConfigListInput,\n WorkflowConfigListOutput,\n WorkflowConfigSetInput,\n WorkflowDefinitionCreateInput,\n WorkflowDefinitionDisableInput,\n WorkflowDefinitionDryrunInput,\n WorkflowDefinitionDryrunOutput,\n WorkflowDefinitionEnableInput,\n WorkflowDefinitionExportInput,\n WorkflowDefinitionExportOutput,\n WorkflowDefinitionGetInput,\n WorkflowDefinitionGetOutput,\n WorkflowDefinitionImportInput,\n WorkflowDefinitionListInput,\n WorkflowDefinitionListOutput,\n WorkflowDefinitionPublishInput,\n WorkflowDefinitionUpdateInput,\n WorkflowDefinitionValidateInput,\n WorkflowDefinitionValidateOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n WorkflowKillswitchGetInput,\n WorkflowKillswitchGetOutput,\n WorkflowKillswitchSetInput,\n WorkflowRunCancelInput,\n WorkflowRunGetInput,\n WorkflowRunGetOutput,\n WorkflowRunListInput,\n WorkflowRunListOutput,\n WorkflowRunReplayAllInput,\n WorkflowRunReplayInput,\n WorkflowRunStartInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n} from '../types.gen';\n\nexport const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({\n queryKey: ['workflow', 'capability', 'get', input] as const,\n queryFn: () => sdk['workflow']['capability']['get'](input),\n});\n\nexport const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({\n queryKey: ['workflow', 'capability', 'list', input] as const,\n queryFn: () => sdk['workflow']['capability']['list'](input),\n});\n\nexport const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'delete'],\n mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),\n});\n\nexport const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({\n queryKey: ['workflow', 'config', 'list', input] as const,\n queryFn: () => sdk['workflow']['config']['list'](input),\n});\n\nexport const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'set'],\n mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),\n});\n\nexport const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'create'],\n mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),\n});\n\nexport const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'disable'],\n mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),\n});\n\nexport const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({\n queryKey: ['workflow', 'definition', 'dryrun', input] as const,\n queryFn: () => sdk['workflow']['definition']['dryrun'](input),\n});\n\nexport const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'enable'],\n mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),\n});\n\nexport const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({\n queryKey: ['workflow', 'definition', 'export', input] as const,\n queryFn: () => sdk['workflow']['definition']['export'](input),\n});\n\nexport const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({\n queryKey: ['workflow', 'definition', 'get', input] as const,\n queryFn: () => sdk['workflow']['definition']['get'](input),\n});\n\nexport const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'import'],\n mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),\n});\n\nexport const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({\n queryKey: ['workflow', 'definition', 'list', input] as const,\n queryFn: () => sdk['workflow']['definition']['list'](input),\n});\n\nexport const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'publish'],\n mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),\n});\n\nexport const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'update'],\n mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),\n});\n\nexport const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({\n queryKey: ['workflow', 'definition', 'validate', input] as const,\n queryFn: () => sdk['workflow']['definition']['validate'](input),\n});\n\nexport const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({\n queryKey: ['workflow', 'grant', 'list', input] as const,\n queryFn: () => sdk['workflow']['grant']['list'](input),\n});\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n\nexport const workflowKillswitchGetQueryOptions = (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => ({\n queryKey: ['workflow', 'killswitch', 'get', input] as const,\n queryFn: () => sdk['workflow']['killswitch']['get'](input),\n});\n\nexport const workflowKillswitchSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'killswitch', 'set'],\n mutationFn: (input: WorkflowKillswitchSetInput) => sdk['workflow']['killswitch']['set'](input),\n});\n\nexport const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'cancel'],\n mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),\n});\n\nexport const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({\n queryKey: ['workflow', 'run', 'get', input] as const,\n queryFn: () => sdk['workflow']['run']['get'](input),\n});\n\nexport const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({\n queryKey: ['workflow', 'run', 'list', input] as const,\n queryFn: () => sdk['workflow']['run']['list'](input),\n});\n\nexport const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'replay'],\n mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),\n});\n\nexport const workflowRunReplayAllMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run-replay', 'all'],\n mutationFn: (input: WorkflowRunReplayAllInput) => sdk['workflow']['run-replay']['all'](input),\n});\n\nexport const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'start'],\n mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),\n});\n\nexport const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({\n queryKey: ['workflow', 'version', 'get', input] as const,\n queryFn: () => sdk['workflow']['version']['get'](input),\n});\n\nexport const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({\n queryKey: ['workflow', 'version', 'list', input] as const,\n queryFn: () => sdk['workflow']['version']['list'](input),\n});\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
- "version": "64.0.0",
3
+ "version": "64.1.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "engines": {
@@ -219,5 +219,5 @@
219
219
  }
220
220
  }
221
221
  },
222
- "sdkContentHash": "sha256:1f22a857d25801eb51341df7d12bbe18d4b486b5a4a607376580b21f14709157"
222
+ "sdkContentHash": "sha256:8a11eddee6071804072cd111dd98c0cc7759cc9a899b82efec2eb0150434ef3a"
223
223
  }
@@ -10785,6 +10785,28 @@ export const bindings: BindingsMap = {
10785
10785
  "readOnly": true
10786
10786
  }
10787
10787
  },
10788
+ "killswitch": {
10789
+ "get": {
10790
+ "level": "read",
10791
+ "method": "GET",
10792
+ "operationKey": "workflow_killswitch_get",
10793
+ "path": "/workflow/killswitch",
10794
+ "readOnly": true
10795
+ },
10796
+ "set": {
10797
+ "level": "write",
10798
+ "method": "POST",
10799
+ "operationKey": "workflow_killswitch_set",
10800
+ "params": [
10801
+ {
10802
+ "in": "body",
10803
+ "name": "on"
10804
+ }
10805
+ ],
10806
+ "path": "/workflow/killswitch",
10807
+ "readOnly": false
10808
+ }
10809
+ },
10788
10810
  "run": {
10789
10811
  "cancel": {
10790
10812
  "level": "write",
@@ -10876,6 +10898,29 @@ export const bindings: BindingsMap = {
10876
10898
  "readOnly": false
10877
10899
  }
10878
10900
  },
10901
+ "run-replay": {
10902
+ "all": {
10903
+ "level": "write",
10904
+ "method": "POST",
10905
+ "operationKey": "workflow_run_replay_all",
10906
+ "params": [
10907
+ {
10908
+ "in": "body",
10909
+ "name": "workflow_id"
10910
+ },
10911
+ {
10912
+ "in": "body",
10913
+ "name": "status"
10914
+ },
10915
+ {
10916
+ "in": "body",
10917
+ "name": "limit"
10918
+ }
10919
+ ],
10920
+ "path": "/workflow/runs/replay-all",
10921
+ "readOnly": false
10922
+ }
10923
+ },
10879
10924
  "version": {
10880
10925
  "get": {
10881
10926
  "level": "read",
@@ -1153,12 +1153,18 @@ import type {
1153
1153
  WorkflowGrantListOutput,
1154
1154
  WorkflowHealthPingInput,
1155
1155
  WorkflowHealthPingOutput,
1156
+ WorkflowKillswitchGetInput,
1157
+ WorkflowKillswitchGetOutput,
1158
+ WorkflowKillswitchSetInput,
1159
+ WorkflowKillswitchSetOutput,
1156
1160
  WorkflowRunCancelInput,
1157
1161
  WorkflowRunCancelOutput,
1158
1162
  WorkflowRunGetInput,
1159
1163
  WorkflowRunGetOutput,
1160
1164
  WorkflowRunListInput,
1161
1165
  WorkflowRunListOutput,
1166
+ WorkflowRunReplayAllInput,
1167
+ WorkflowRunReplayAllOutput,
1162
1168
  WorkflowRunReplayInput,
1163
1169
  WorkflowRunReplayOutput,
1164
1170
  WorkflowRunStartInput,
@@ -2221,6 +2227,10 @@ export interface GeneratedClient {
2221
2227
  health: {
2222
2228
  ping: ((input: WorkflowHealthPingInput) => Promise<WorkflowHealthPingOutput>) & Operation;
2223
2229
  };
2230
+ killswitch: {
2231
+ get: ((input: WorkflowKillswitchGetInput) => Promise<WorkflowKillswitchGetOutput>) & Operation;
2232
+ set: ((input: WorkflowKillswitchSetInput) => Promise<WorkflowKillswitchSetOutput>) & Operation;
2233
+ };
2224
2234
  run: {
2225
2235
  cancel: ((input: WorkflowRunCancelInput) => Promise<WorkflowRunCancelOutput>) & Operation;
2226
2236
  get: ((input: WorkflowRunGetInput) => Promise<WorkflowRunGetOutput>) & Operation;
@@ -2228,6 +2238,9 @@ export interface GeneratedClient {
2228
2238
  replay: ((input: WorkflowRunReplayInput) => Promise<WorkflowRunReplayOutput>) & Operation;
2229
2239
  start: ((input: WorkflowRunStartInput) => Promise<WorkflowRunStartOutput>) & Operation;
2230
2240
  };
2241
+ 'run-replay': {
2242
+ all: ((input: WorkflowRunReplayAllInput) => Promise<WorkflowRunReplayAllOutput>) & Operation;
2243
+ };
2231
2244
  version: {
2232
2245
  get: ((input: WorkflowVersionGetInput) => Promise<WorkflowVersionGetOutput>) & Operation;
2233
2246
  list: ((input: WorkflowVersionListInput) => Promise<WorkflowVersionListOutput>) & Operation;
@@ -580,10 +580,13 @@ export const operations: Record<string, ToolLevel> = {
580
580
  'workflow_definition_validate': 'read',
581
581
  'workflow_grant_list': 'read',
582
582
  'workflow_health_ping': 'read',
583
+ 'workflow_killswitch_get': 'read',
584
+ 'workflow_killswitch_set': 'write',
583
585
  'workflow_run_cancel': 'write',
584
586
  'workflow_run_get': 'read',
585
587
  'workflow_run_list': 'read',
586
588
  'workflow_run_replay': 'write',
589
+ 'workflow_run_replay_all': 'write',
587
590
  'workflow_run_start': 'write',
588
591
  'workflow_version_get': 'read',
589
592
  'workflow_version_list': 'read',
@@ -111791,13 +111791,54 @@ toolkit: string
111791
111791
  productId: string
111792
111792
  }
111793
111793
 
111794
+ export interface WorkflowKillswitchGetInput {
111795
+
111796
+ }
111797
+
111798
+ export interface WorkflowKillswitchGetOutput {
111799
+ at: (string | null)
111800
+ /**
111801
+ * The identity that last flipped the switch.
111802
+ */
111803
+ by: (string | null)
111804
+ on: boolean
111805
+ /**
111806
+ * True when the platform holds it on for every Product (WORKFLOW_KILLSWITCH=1).
111807
+ */
111808
+ forced: boolean
111809
+ }
111810
+
111811
+ export interface WorkflowKillswitchSetInput {
111812
+ /**
111813
+ * True stops this Product's workflows; false lets them run again.
111814
+ */
111815
+ on: boolean
111816
+ }
111817
+
111818
+ export interface WorkflowKillswitchSetOutput {
111819
+ at: (string | null)
111820
+ /**
111821
+ * The identity that last flipped the switch.
111822
+ */
111823
+ by: (string | null)
111824
+ on: boolean
111825
+ /**
111826
+ * True when the platform holds it on for every Product (WORKFLOW_KILLSWITCH=1).
111827
+ */
111828
+ forced: boolean
111829
+ /**
111830
+ * Runs this call moved to `held`: everything that was running, waiting or queued.
111831
+ */
111832
+ stopped_runs: number
111833
+ }
111834
+
111794
111835
  export interface WorkflowRunCancelInput {
111795
111836
  run_id: string
111796
111837
  }
111797
111838
 
111798
111839
  export interface WorkflowRunCancelOutput {
111799
111840
  id: string
111800
- status: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled")
111841
+ status: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled" | "paused_ceiling")
111801
111842
  version: number
111802
111843
  ended_at: (string | null)
111803
111844
  created_at: string
@@ -111820,7 +111861,7 @@ run_id: string
111820
111861
  export interface WorkflowRunGetOutput {
111821
111862
  run: {
111822
111863
  id: string
111823
- status: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled")
111864
+ status: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled" | "paused_ceiling")
111824
111865
  version: number
111825
111866
  ended_at: (string | null)
111826
111867
  created_at: string
@@ -111873,14 +111914,14 @@ limit?: number
111873
111914
  * Opaque cursor from a previous page.
111874
111915
  */
111875
111916
  cursor?: string
111876
- status?: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled")
111917
+ status?: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled" | "paused_ceiling")
111877
111918
  workflow_id?: string
111878
111919
  }
111879
111920
 
111880
111921
  export interface WorkflowRunListOutput {
111881
111922
  items: {
111882
111923
  id: string
111883
- status: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled")
111924
+ status: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled" | "paused_ceiling")
111884
111925
  version: number
111885
111926
  ended_at: (string | null)
111886
111927
  created_at: string
@@ -111908,7 +111949,7 @@ reexecute?: boolean
111908
111949
 
111909
111950
  export interface WorkflowRunReplayOutput {
111910
111951
  id: string
111911
- status: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled")
111952
+ status: ("created" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "held" | "cancelled" | "paused_ceiling")
111912
111953
  version: number
111913
111954
  ended_at: (string | null)
111914
111955
  created_at: string
@@ -111924,6 +111965,26 @@ trigger_event_id: string
111924
111965
  replay_generation: number
111925
111966
  }
111926
111967
 
111968
+ export interface WorkflowRunReplayAllInput {
111969
+ /**
111970
+ * How many runs to restart, oldest first; 1-200, defaults to 200.
111971
+ */
111972
+ limit?: number
111973
+ /**
111974
+ * Which stopped runs to restart. `held` is what a kill-switch or a missing grant left behind.
111975
+ */
111976
+ status: ("held" | "failed")
111977
+ workflow_id: string
111978
+ }
111979
+
111980
+ export interface WorkflowRunReplayAllOutput {
111981
+ refused: {
111982
+ reason: string
111983
+ run_id: string
111984
+ }[]
111985
+ replayed: string[]
111986
+ }
111987
+
111927
111988
  export interface WorkflowRunStartInput {
111928
111989
  input?: {
111929
111990
  [k: string]: unknown
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigDeleteOutput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowConfigSetOutput, WorkflowDefinitionCreateInput, WorkflowDefinitionCreateOutput, WorkflowDefinitionDisableInput, WorkflowDefinitionDisableOutput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionEnableOutput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionImportOutput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionPublishOutput, WorkflowDefinitionUpdateInput, WorkflowDefinitionUpdateOutput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowRunCancelInput, WorkflowRunCancelOutput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayInput, WorkflowRunReplayOutput, WorkflowRunStartInput, WorkflowRunStartOutput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen';
3
+ export type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigDeleteOutput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowConfigSetOutput, WorkflowDefinitionCreateInput, WorkflowDefinitionCreateOutput, WorkflowDefinitionDisableInput, WorkflowDefinitionDisableOutput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionEnableOutput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionImportOutput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionPublishOutput, WorkflowDefinitionUpdateInput, WorkflowDefinitionUpdateOutput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowKillswitchSetOutput, WorkflowRunCancelInput, WorkflowRunCancelOutput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayAllOutput, WorkflowRunReplayInput, WorkflowRunReplayOutput, WorkflowRunStartInput, WorkflowRunStartOutput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen';
@@ -29,11 +29,15 @@ import type {
29
29
  WorkflowGrantListOutput,
30
30
  WorkflowHealthPingInput,
31
31
  WorkflowHealthPingOutput,
32
+ WorkflowKillswitchGetInput,
33
+ WorkflowKillswitchGetOutput,
34
+ WorkflowKillswitchSetInput,
32
35
  WorkflowRunCancelInput,
33
36
  WorkflowRunGetInput,
34
37
  WorkflowRunGetOutput,
35
38
  WorkflowRunListInput,
36
39
  WorkflowRunListOutput,
40
+ WorkflowRunReplayAllInput,
37
41
  WorkflowRunReplayInput,
38
42
  WorkflowRunStartInput,
39
43
  WorkflowVersionGetInput,
@@ -132,6 +136,16 @@ export const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: Work
132
136
  queryFn: () => sdk['workflow']['health']['ping'](input),
133
137
  });
134
138
 
139
+ export const workflowKillswitchGetQueryOptions = (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => ({
140
+ queryKey: ['workflow', 'killswitch', 'get', input] as const,
141
+ queryFn: () => sdk['workflow']['killswitch']['get'](input),
142
+ });
143
+
144
+ export const workflowKillswitchSetMutationOptions = (sdk: GeneratedClient) => ({
145
+ mutationKey: ['workflow', 'killswitch', 'set'],
146
+ mutationFn: (input: WorkflowKillswitchSetInput) => sdk['workflow']['killswitch']['set'](input),
147
+ });
148
+
135
149
  export const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({
136
150
  mutationKey: ['workflow', 'run', 'cancel'],
137
151
  mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),
@@ -152,6 +166,11 @@ export const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({
152
166
  mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),
153
167
  });
154
168
 
169
+ export const workflowRunReplayAllMutationOptions = (sdk: GeneratedClient) => ({
170
+ mutationKey: ['workflow', 'run-replay', 'all'],
171
+ mutationFn: (input: WorkflowRunReplayAllInput) => sdk['workflow']['run-replay']['all'](input),
172
+ });
173
+
155
174
  export const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({
156
175
  mutationKey: ['workflow', 'run', 'start'],
157
176
  mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),