@lessly/sdk-app 66.2.0 → 66.3.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.
@@ -50,6 +50,13 @@ import type {
50
50
  WorkflowVersionGetOutput,
51
51
  WorkflowVersionListInput,
52
52
  WorkflowVersionListOutput,
53
+ WorkflowWaitGetInput,
54
+ WorkflowWaitGetOutput,
55
+ WorkflowWaitListAllInput,
56
+ WorkflowWaitListAllOutput,
57
+ WorkflowWaitListInput,
58
+ WorkflowWaitListOutput,
59
+ WorkflowWaitResolveInput,
53
60
  } from '../types.gen';
54
61
 
55
62
  export const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({
@@ -211,3 +218,23 @@ export const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: Wor
211
218
  queryKey: ['workflow', 'version', 'list', input] as const,
212
219
  queryFn: () => sdk['workflow']['version']['list'](input),
213
220
  });
221
+
222
+ export const workflowWaitGetQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitGetInput) => ({
223
+ queryKey: ['workflow', 'wait', 'get', input] as const,
224
+ queryFn: () => sdk['workflow']['wait']['get'](input),
225
+ });
226
+
227
+ export const workflowWaitListQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListInput) => ({
228
+ queryKey: ['workflow', 'wait', 'list', input] as const,
229
+ queryFn: () => sdk['workflow']['wait']['list'](input),
230
+ });
231
+
232
+ export const workflowWaitListAllQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListAllInput) => ({
233
+ queryKey: ['workflow', 'wait-list', 'all', input] as const,
234
+ queryFn: () => sdk['workflow']['wait-list']['all'](input),
235
+ });
236
+
237
+ export const workflowWaitResolveMutationOptions = (sdk: GeneratedClient) => ({
238
+ mutationKey: ['workflow', 'wait', 'resolve'],
239
+ mutationFn: (input: WorkflowWaitResolveInput) => sdk['workflow']['wait']['resolve'](input),
240
+ });