@lessly/sdk-app 67.0.1 → 67.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.
@@ -1,4 +1,4 @@
1
- import { wsBindings } from '../chunk-FHCLOD3O.js';
1
+ import { wsBindings } from '../chunk-NEGA65H6.js';
2
2
 
3
3
  // src/gen/playground/queryOptions.gen.ts
4
4
  var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
@@ -117,6 +117,10 @@ var workflowRunStartMutationOptions = (sdk) => ({
117
117
  mutationKey: ["workflow", "run", "start"],
118
118
  mutationFn: (input) => sdk["workflow"]["run"]["start"](input)
119
119
  });
120
+ var workflowRunStatsQueryOptions = (sdk, input) => ({
121
+ queryKey: ["workflow", "run", "stats", input],
122
+ queryFn: () => sdk["workflow"]["run"]["stats"](input)
123
+ });
120
124
  var workflowRunTestMutationOptions = (sdk) => ({
121
125
  mutationKey: ["workflow", "run", "test"],
122
126
  mutationFn: (input) => sdk["workflow"]["run"]["test"](input)
@@ -175,6 +179,7 @@ exports.workflowRunListQueryOptions = workflowRunListQueryOptions;
175
179
  exports.workflowRunReplayAllMutationOptions = workflowRunReplayAllMutationOptions;
176
180
  exports.workflowRunReplayMutationOptions = workflowRunReplayMutationOptions;
177
181
  exports.workflowRunStartMutationOptions = workflowRunStartMutationOptions;
182
+ exports.workflowRunStatsQueryOptions = workflowRunStatsQueryOptions;
178
183
  exports.workflowRunTestMutationOptions = workflowRunTestMutationOptions;
179
184
  exports.workflowVersionGetQueryOptions = workflowVersionGetQueryOptions;
180
185
  exports.workflowVersionListQueryOptions = workflowVersionListQueryOptions;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";;;AA6DO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,OAAO,KAAK,CAAA;AAAA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AAK,CAAA;AAAA,EAC/C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACzD,CAAA;AAEO,IAAM,2BAAA,GAA8B,CAAC,GAAA,EAAsB,KAAA,MAAiC;AAAA,EACjG,QAAA,EAAU,CAAC,UAAA,EAAY,MAAA,EAAQ,OAAO,KAAK,CAAA;AAAA,EAC3C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACrD,CAAA;AAEO,IAAM,4BAAA,GAA+B,CAAC,GAAA,EAAsB,KAAA,MAAkC;AAAA,EACnG,QAAA,EAAU,CAAC,UAAA,EAAY,MAAA,EAAQ,QAAQ,KAAK,CAAA;AAAA,EAC5C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACtD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,WAAA,EAAa,OAAO,KAAK,CAAA;AAAA,EAChD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,WAAW,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC1D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,MAA0B;AAAA,EAC3E,WAAA,EAAa,CAAC,UAAA,EAAY,MAAA,EAAQ,SAAS,CAAA;AAAA,EAC3C,UAAA,EAAY,CAAC,KAAA,KAAoC,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,SAAS,CAAA,CAAE,KAAK;AAC3F,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 WorkflowDependencyListInput,\n WorkflowDependencyListOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowGrantRequestInput,\n WorkflowHealthListInput,\n WorkflowHealthListOutput,\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 WorkflowRunTestInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n WorkflowWaitGetInput,\n WorkflowWaitGetOutput,\n WorkflowWaitListAllInput,\n WorkflowWaitListAllOutput,\n WorkflowWaitListInput,\n WorkflowWaitListOutput,\n WorkflowWaitResolveInput,\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 workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({\n queryKey: ['workflow', 'dependency', 'list', input] as const,\n queryFn: () => sdk['workflow']['dependency']['list'](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 workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'grant', 'request'],\n mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),\n});\n\nexport const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({\n queryKey: ['workflow', 'health', 'list', input] as const,\n queryFn: () => sdk['workflow']['health']['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 workflowRunTestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'test'],\n mutationFn: (input: WorkflowRunTestInput) => sdk['workflow']['run']['test'](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\nexport const workflowWaitGetQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitGetInput) => ({\n queryKey: ['workflow', 'wait', 'get', input] as const,\n queryFn: () => sdk['workflow']['wait']['get'](input),\n});\n\nexport const workflowWaitListQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListInput) => ({\n queryKey: ['workflow', 'wait', 'list', input] as const,\n queryFn: () => sdk['workflow']['wait']['list'](input),\n});\n\nexport const workflowWaitListAllQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListAllInput) => ({\n queryKey: ['workflow', 'wait-list', 'all', input] as const,\n queryFn: () => sdk['workflow']['wait-list']['all'](input),\n});\n\nexport const workflowWaitResolveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'wait', 'resolve'],\n mutationFn: (input: WorkflowWaitResolveInput) => sdk['workflow']['wait']['resolve'](input),\n});\n"]}
1
+ {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";;;AA+DO,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,CA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C3F,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 WorkflowDependencyListInput,\n WorkflowDependencyListOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowGrantRequestInput,\n WorkflowHealthListInput,\n WorkflowHealthListOutput,\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 WorkflowRunStatsInput,\n WorkflowRunStatsOutput,\n WorkflowRunTestInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n WorkflowWaitGetInput,\n WorkflowWaitGetOutput,\n WorkflowWaitListAllInput,\n WorkflowWaitListAllOutput,\n WorkflowWaitListInput,\n WorkflowWaitListOutput,\n WorkflowWaitResolveInput,\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 workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({\n queryKey: ['workflow', 'dependency', 'list', input] as const,\n queryFn: () => sdk['workflow']['dependency']['list'](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 workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'grant', 'request'],\n mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),\n});\n\nexport const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({\n queryKey: ['workflow', 'health', 'list', input] as const,\n queryFn: () => sdk['workflow']['health']['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 workflowRunStatsQueryOptions = (sdk: GeneratedClient, input: WorkflowRunStatsInput) => ({\n queryKey: ['workflow', 'run', 'stats', input] as const,\n queryFn: () => sdk['workflow']['run']['stats'](input),\n});\n\nexport const workflowRunTestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'test'],\n mutationFn: (input: WorkflowRunTestInput) => sdk['workflow']['run']['test'](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\nexport const workflowWaitGetQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitGetInput) => ({\n queryKey: ['workflow', 'wait', 'get', input] as const,\n queryFn: () => sdk['workflow']['wait']['get'](input),\n});\n\nexport const workflowWaitListQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListInput) => ({\n queryKey: ['workflow', 'wait', 'list', input] as const,\n queryFn: () => sdk['workflow']['wait']['list'](input),\n});\n\nexport const workflowWaitListAllQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListAllInput) => ({\n queryKey: ['workflow', 'wait-list', 'all', input] as const,\n queryFn: () => sdk['workflow']['wait-list']['all'](input),\n});\n\nexport const workflowWaitResolveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'wait', 'resolve'],\n mutationFn: (input: WorkflowWaitResolveInput) => sdk['workflow']['wait']['resolve'](input),\n});\n"]}
@@ -115,6 +115,10 @@ var workflowRunStartMutationOptions = (sdk) => ({
115
115
  mutationKey: ["workflow", "run", "start"],
116
116
  mutationFn: (input) => sdk["workflow"]["run"]["start"](input)
117
117
  });
118
+ var workflowRunStatsQueryOptions = (sdk, input) => ({
119
+ queryKey: ["workflow", "run", "stats", input],
120
+ queryFn: () => sdk["workflow"]["run"]["stats"](input)
121
+ });
118
122
  var workflowRunTestMutationOptions = (sdk) => ({
119
123
  mutationKey: ["workflow", "run", "test"],
120
124
  mutationFn: (input) => sdk["workflow"]["run"]["test"](input)
@@ -144,6 +148,6 @@ var workflowWaitResolveMutationOptions = (sdk) => ({
144
148
  mutationFn: (input) => sdk["workflow"]["wait"]["resolve"](input)
145
149
  });
146
150
 
147
- export { workflowCapabilityGetQueryOptions, workflowCapabilityListQueryOptions, workflowConfigDeleteMutationOptions, workflowConfigListQueryOptions, workflowConfigSetMutationOptions, workflowDefinitionCreateMutationOptions, workflowDefinitionDisableMutationOptions, workflowDefinitionDryrunQueryOptions, workflowDefinitionEnableMutationOptions, workflowDefinitionExportQueryOptions, workflowDefinitionGetQueryOptions, workflowDefinitionImportMutationOptions, workflowDefinitionListQueryOptions, workflowDefinitionPublishMutationOptions, workflowDefinitionUpdateMutationOptions, workflowDefinitionValidateQueryOptions, workflowDependencyListQueryOptions, workflowGrantListQueryOptions, workflowGrantRequestMutationOptions, workflowHealthListQueryOptions, workflowHealthPingQueryOptions, workflowKillswitchGetQueryOptions, workflowKillswitchSetMutationOptions, workflowRunCancelMutationOptions, workflowRunGetQueryOptions, workflowRunListQueryOptions, workflowRunReplayAllMutationOptions, workflowRunReplayMutationOptions, workflowRunStartMutationOptions, workflowRunTestMutationOptions, workflowVersionGetQueryOptions, workflowVersionListQueryOptions, workflowWaitGetQueryOptions, workflowWaitListAllQueryOptions, workflowWaitListQueryOptions, workflowWaitResolveMutationOptions };
151
+ export { workflowCapabilityGetQueryOptions, workflowCapabilityListQueryOptions, workflowConfigDeleteMutationOptions, workflowConfigListQueryOptions, workflowConfigSetMutationOptions, workflowDefinitionCreateMutationOptions, workflowDefinitionDisableMutationOptions, workflowDefinitionDryrunQueryOptions, workflowDefinitionEnableMutationOptions, workflowDefinitionExportQueryOptions, workflowDefinitionGetQueryOptions, workflowDefinitionImportMutationOptions, workflowDefinitionListQueryOptions, workflowDefinitionPublishMutationOptions, workflowDefinitionUpdateMutationOptions, workflowDefinitionValidateQueryOptions, workflowDependencyListQueryOptions, workflowGrantListQueryOptions, workflowGrantRequestMutationOptions, workflowHealthListQueryOptions, workflowHealthPingQueryOptions, workflowKillswitchGetQueryOptions, workflowKillswitchSetMutationOptions, workflowRunCancelMutationOptions, workflowRunGetQueryOptions, workflowRunListQueryOptions, workflowRunReplayAllMutationOptions, workflowRunReplayMutationOptions, workflowRunStartMutationOptions, workflowRunStatsQueryOptions, workflowRunTestMutationOptions, workflowVersionGetQueryOptions, workflowVersionListQueryOptions, workflowWaitGetQueryOptions, workflowWaitListAllQueryOptions, workflowWaitListQueryOptions, workflowWaitResolveMutationOptions };
148
152
  //# sourceMappingURL=index.js.map
149
153
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";AA6DO,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,CAA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MAAM,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACrD,CAAA;AAEO,IAAM,4BAAA,GAA+B,CAAC,GAAA,EAAsB,KAAA,MAAkC;AAAA,EACnG,QAAA,EAAU,CAAC,UAAA,EAAY,MAAA,EAAQ,QAAQ,KAAK,CAAA;AAAA,EAC5C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACtD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,WAAA,EAAa,OAAO,KAAK,CAAA;AAAA,EAChD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,WAAW,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC1D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,MAA0B;AAAA,EAC3E,WAAA,EAAa,CAAC,UAAA,EAAY,MAAA,EAAQ,SAAS,CAAA;AAAA,EAC3C,UAAA,EAAY,CAAC,KAAA,KAAoC,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,SAAS,CAAA,CAAE,KAAK;AAC3F,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 WorkflowDependencyListInput,\n WorkflowDependencyListOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowGrantRequestInput,\n WorkflowHealthListInput,\n WorkflowHealthListOutput,\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 WorkflowRunTestInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n WorkflowWaitGetInput,\n WorkflowWaitGetOutput,\n WorkflowWaitListAllInput,\n WorkflowWaitListAllOutput,\n WorkflowWaitListInput,\n WorkflowWaitListOutput,\n WorkflowWaitResolveInput,\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 workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({\n queryKey: ['workflow', 'dependency', 'list', input] as const,\n queryFn: () => sdk['workflow']['dependency']['list'](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 workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'grant', 'request'],\n mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),\n});\n\nexport const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({\n queryKey: ['workflow', 'health', 'list', input] as const,\n queryFn: () => sdk['workflow']['health']['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 workflowRunTestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'test'],\n mutationFn: (input: WorkflowRunTestInput) => sdk['workflow']['run']['test'](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\nexport const workflowWaitGetQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitGetInput) => ({\n queryKey: ['workflow', 'wait', 'get', input] as const,\n queryFn: () => sdk['workflow']['wait']['get'](input),\n});\n\nexport const workflowWaitListQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListInput) => ({\n queryKey: ['workflow', 'wait', 'list', input] as const,\n queryFn: () => sdk['workflow']['wait']['list'](input),\n});\n\nexport const workflowWaitListAllQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListAllInput) => ({\n queryKey: ['workflow', 'wait-list', 'all', input] as const,\n queryFn: () => sdk['workflow']['wait-list']['all'](input),\n});\n\nexport const workflowWaitResolveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'wait', 'resolve'],\n mutationFn: (input: WorkflowWaitResolveInput) => sdk['workflow']['wait']['resolve'](input),\n});\n"]}
1
+ {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";AA+DO,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,mCAA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O,IAAM,2BAAA,GAA8B,CAAC,GAAA,EAAsB,KAAA,MAAiC;AAAA,EACjG,QAAA,EAAU,CAAC,UAAA,EAAY,MAAA,EAAQ,OAAO,KAAK,CAAA;AAAA,EAC3C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACrD,CAAA;AAEO,IAAM,4BAAA,GAA+B,CAAC,GAAA,EAAsB,KAAA,MAAkC;AAAA,EACnG,QAAA,EAAU,CAAC,UAAA,EAAY,MAAA,EAAQ,QAAQ,KAAK,CAAA;AAAA,EAC5C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACtD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,WAAA,EAAa,OAAO,KAAK,CAAA;AAAA,EAChD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,WAAW,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC1D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,MAA0B;AAAA,EAC3E,WAAA,EAAa,CAAC,UAAA,EAAY,MAAA,EAAQ,SAAS,CAAA;AAAA,EAC3C,UAAA,EAAY,CAAC,KAAA,KAAoC,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,SAAS,CAAA,CAAE,KAAK;AAC3F,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 WorkflowDependencyListInput,\n WorkflowDependencyListOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowGrantRequestInput,\n WorkflowHealthListInput,\n WorkflowHealthListOutput,\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 WorkflowRunStatsInput,\n WorkflowRunStatsOutput,\n WorkflowRunTestInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n WorkflowWaitGetInput,\n WorkflowWaitGetOutput,\n WorkflowWaitListAllInput,\n WorkflowWaitListAllOutput,\n WorkflowWaitListInput,\n WorkflowWaitListOutput,\n WorkflowWaitResolveInput,\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 workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({\n queryKey: ['workflow', 'dependency', 'list', input] as const,\n queryFn: () => sdk['workflow']['dependency']['list'](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 workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'grant', 'request'],\n mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),\n});\n\nexport const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({\n queryKey: ['workflow', 'health', 'list', input] as const,\n queryFn: () => sdk['workflow']['health']['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 workflowRunStatsQueryOptions = (sdk: GeneratedClient, input: WorkflowRunStatsInput) => ({\n queryKey: ['workflow', 'run', 'stats', input] as const,\n queryFn: () => sdk['workflow']['run']['stats'](input),\n});\n\nexport const workflowRunTestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'test'],\n mutationFn: (input: WorkflowRunTestInput) => sdk['workflow']['run']['test'](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\nexport const workflowWaitGetQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitGetInput) => ({\n queryKey: ['workflow', 'wait', 'get', input] as const,\n queryFn: () => sdk['workflow']['wait']['get'](input),\n});\n\nexport const workflowWaitListQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListInput) => ({\n queryKey: ['workflow', 'wait', 'list', input] as const,\n queryFn: () => sdk['workflow']['wait']['list'](input),\n});\n\nexport const workflowWaitListAllQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListAllInput) => ({\n queryKey: ['workflow', 'wait-list', 'all', input] as const,\n queryFn: () => sdk['workflow']['wait-list']['all'](input),\n});\n\nexport const workflowWaitResolveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'wait', 'resolve'],\n mutationFn: (input: WorkflowWaitResolveInput) => sdk['workflow']['wait']['resolve'](input),\n});\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
- "version": "67.0.1",
3
+ "version": "67.2.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:bf31f36cd64ddd23afe2e0782497a5164534d58ed48ac5aecccbc76ad9b3ac8f"
222
+ "sdkContentHash": "sha256:2bfbab701a7f4aad922ad8a050c02fe81cc9b093b7491c39b9fac92087e64e36"
223
223
  }
@@ -11023,6 +11023,27 @@ export const bindings: BindingsMap = {
11023
11023
  "path": "/workflow/runs/start",
11024
11024
  "readOnly": false
11025
11025
  },
11026
+ "stats": {
11027
+ "level": "read",
11028
+ "method": "GET",
11029
+ "operationKey": "workflow_run_stats",
11030
+ "params": [
11031
+ {
11032
+ "in": "query",
11033
+ "name": "workflow_id"
11034
+ },
11035
+ {
11036
+ "in": "query",
11037
+ "name": "window"
11038
+ },
11039
+ {
11040
+ "in": "query",
11041
+ "name": "include_test"
11042
+ }
11043
+ ],
11044
+ "path": "/workflow/runs/stats",
11045
+ "readOnly": true
11046
+ },
11026
11047
  "test": {
11027
11048
  "level": "write",
11028
11049
  "method": "POST",
@@ -1181,6 +1181,8 @@ import type {
1181
1181
  WorkflowRunReplayOutput,
1182
1182
  WorkflowRunStartInput,
1183
1183
  WorkflowRunStartOutput,
1184
+ WorkflowRunStatsInput,
1185
+ WorkflowRunStatsOutput,
1184
1186
  WorkflowRunTestInput,
1185
1187
  WorkflowRunTestOutput,
1186
1188
  WorkflowVersionGetInput,
@@ -2269,6 +2271,7 @@ export interface GeneratedClient {
2269
2271
  list: ((input: WorkflowRunListInput) => Promise<WorkflowRunListOutput>) & Operation;
2270
2272
  replay: ((input: WorkflowRunReplayInput) => Promise<WorkflowRunReplayOutput>) & Operation;
2271
2273
  start: ((input: WorkflowRunStartInput) => Promise<WorkflowRunStartOutput>) & Operation;
2274
+ stats: ((input: WorkflowRunStatsInput) => Promise<WorkflowRunStatsOutput>) & Operation;
2272
2275
  test: ((input: WorkflowRunTestInput) => Promise<WorkflowRunTestOutput>) & Operation;
2273
2276
  };
2274
2277
  'run-replay': {
@@ -594,6 +594,7 @@ export const operations: Record<string, ToolLevel> = {
594
594
  'workflow_run_replay': 'write',
595
595
  'workflow_run_replay_all': 'write',
596
596
  'workflow_run_start': 'write',
597
+ 'workflow_run_stats': 'read',
597
598
  'workflow_run_test': 'write',
598
599
  'workflow_version_get': 'read',
599
600
  'workflow_version_list': 'read',
@@ -111264,6 +111264,29 @@ name: string
111264
111264
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111265
111265
  */
111266
111266
  status: ("draft" | "enabled" | "disabled" | "broken")
111267
+ /**
111268
+ * What starts this workflow and how big it is, without fetching the definition. Taken from the live version when one is live, from the draft otherwise.
111269
+ */
111270
+ summary: {
111271
+ /**
111272
+ * What starts the workflow; null when the definition declares no trigger.
111273
+ */
111274
+ trigger: ({
111275
+ /**
111276
+ * Set for `schedule` and `batch`; null otherwise.
111277
+ */
111278
+ cron: (string | null)
111279
+ kind: ("event" | "schedule" | "batch" | "manual")
111280
+ /**
111281
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111282
+ */
111283
+ name: (string | null)
111284
+ } | null)
111285
+ /**
111286
+ * Steps in the graph; a loop counts as one.
111287
+ */
111288
+ node_count: number
111289
+ }
111267
111290
  /**
111268
111291
  * What is stopping an otherwise published workflow; null when nothing is.
111269
111292
  */
@@ -111313,6 +111336,29 @@ name: string
111313
111336
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111314
111337
  */
111315
111338
  status: ("draft" | "enabled" | "disabled" | "broken")
111339
+ /**
111340
+ * What starts this workflow and how big it is, without fetching the definition. Taken from the live version when one is live, from the draft otherwise.
111341
+ */
111342
+ summary: {
111343
+ /**
111344
+ * What starts the workflow; null when the definition declares no trigger.
111345
+ */
111346
+ trigger: ({
111347
+ /**
111348
+ * Set for `schedule` and `batch`; null otherwise.
111349
+ */
111350
+ cron: (string | null)
111351
+ kind: ("event" | "schedule" | "batch" | "manual")
111352
+ /**
111353
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111354
+ */
111355
+ name: (string | null)
111356
+ } | null)
111357
+ /**
111358
+ * Steps in the graph; a loop counts as one.
111359
+ */
111360
+ node_count: number
111361
+ }
111316
111362
  /**
111317
111363
  * What is stopping an otherwise published workflow; null when nothing is.
111318
111364
  */
@@ -111386,6 +111432,29 @@ name: string
111386
111432
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111387
111433
  */
111388
111434
  status: ("draft" | "enabled" | "disabled" | "broken")
111435
+ /**
111436
+ * What starts this workflow and how big it is, without fetching the definition. Taken from the live version when one is live, from the draft otherwise.
111437
+ */
111438
+ summary: {
111439
+ /**
111440
+ * What starts the workflow; null when the definition declares no trigger.
111441
+ */
111442
+ trigger: ({
111443
+ /**
111444
+ * Set for `schedule` and `batch`; null otherwise.
111445
+ */
111446
+ cron: (string | null)
111447
+ kind: ("event" | "schedule" | "batch" | "manual")
111448
+ /**
111449
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111450
+ */
111451
+ name: (string | null)
111452
+ } | null)
111453
+ /**
111454
+ * Steps in the graph; a loop counts as one.
111455
+ */
111456
+ node_count: number
111457
+ }
111389
111458
  /**
111390
111459
  * What is stopping an otherwise published workflow; null when nothing is.
111391
111460
  */
@@ -111527,6 +111596,29 @@ name: string
111527
111596
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111528
111597
  */
111529
111598
  status: ("draft" | "enabled" | "disabled" | "broken")
111599
+ /**
111600
+ * What starts this workflow and how big it is, without fetching the definition. Taken from the live version when one is live, from the draft otherwise.
111601
+ */
111602
+ summary: {
111603
+ /**
111604
+ * What starts the workflow; null when the definition declares no trigger.
111605
+ */
111606
+ trigger: ({
111607
+ /**
111608
+ * Set for `schedule` and `batch`; null otherwise.
111609
+ */
111610
+ cron: (string | null)
111611
+ kind: ("event" | "schedule" | "batch" | "manual")
111612
+ /**
111613
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111614
+ */
111615
+ name: (string | null)
111616
+ } | null)
111617
+ /**
111618
+ * Steps in the graph; a loop counts as one.
111619
+ */
111620
+ node_count: number
111621
+ }
111530
111622
  /**
111531
111623
  * What is stopping an otherwise published workflow; null when nothing is.
111532
111624
  */
@@ -111674,6 +111766,29 @@ name: string
111674
111766
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111675
111767
  */
111676
111768
  status: ("draft" | "enabled" | "disabled" | "broken")
111769
+ /**
111770
+ * What starts this workflow and how big it is, without fetching the definition. Taken from the live version when one is live, from the draft otherwise.
111771
+ */
111772
+ summary: {
111773
+ /**
111774
+ * What starts the workflow; null when the definition declares no trigger.
111775
+ */
111776
+ trigger: ({
111777
+ /**
111778
+ * Set for `schedule` and `batch`; null otherwise.
111779
+ */
111780
+ cron: (string | null)
111781
+ kind: ("event" | "schedule" | "batch" | "manual")
111782
+ /**
111783
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111784
+ */
111785
+ name: (string | null)
111786
+ } | null)
111787
+ /**
111788
+ * Steps in the graph; a loop counts as one.
111789
+ */
111790
+ node_count: number
111791
+ }
111677
111792
  /**
111678
111793
  * What is stopping an otherwise published workflow; null when nothing is.
111679
111794
  */
@@ -111732,6 +111847,29 @@ name: string
111732
111847
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111733
111848
  */
111734
111849
  status: ("draft" | "enabled" | "disabled" | "broken")
111850
+ /**
111851
+ * What starts this workflow and how big it is, without fetching the definition. Taken from the live version when one is live, from the draft otherwise.
111852
+ */
111853
+ summary: {
111854
+ /**
111855
+ * What starts the workflow; null when the definition declares no trigger.
111856
+ */
111857
+ trigger: ({
111858
+ /**
111859
+ * Set for `schedule` and `batch`; null otherwise.
111860
+ */
111861
+ cron: (string | null)
111862
+ kind: ("event" | "schedule" | "batch" | "manual")
111863
+ /**
111864
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111865
+ */
111866
+ name: (string | null)
111867
+ } | null)
111868
+ /**
111869
+ * Steps in the graph; a loop counts as one.
111870
+ */
111871
+ node_count: number
111872
+ }
111735
111873
  /**
111736
111874
  * What is stopping an otherwise published workflow; null when nothing is.
111737
111875
  */
@@ -111930,6 +112068,29 @@ name: string
111930
112068
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111931
112069
  */
111932
112070
  status: ("draft" | "enabled" | "disabled" | "broken")
112071
+ /**
112072
+ * What starts this workflow and how big it is, without fetching the definition. Taken from the live version when one is live, from the draft otherwise.
112073
+ */
112074
+ summary: {
112075
+ /**
112076
+ * What starts the workflow; null when the definition declares no trigger.
112077
+ */
112078
+ trigger: ({
112079
+ /**
112080
+ * Set for `schedule` and `batch`; null otherwise.
112081
+ */
112082
+ cron: (string | null)
112083
+ kind: ("event" | "schedule" | "batch" | "manual")
112084
+ /**
112085
+ * The event name for `event`, the source tool for `batch`; null otherwise.
112086
+ */
112087
+ name: (string | null)
112088
+ } | null)
112089
+ /**
112090
+ * Steps in the graph; a loop counts as one.
112091
+ */
112092
+ node_count: number
112093
+ }
111933
112094
  /**
111934
112095
  * What is stopping an otherwise published workflow; null when nothing is.
111935
112096
  */
@@ -112380,6 +112541,76 @@ event_id: string
112380
112541
  deduplicated: boolean
112381
112542
  }
112382
112543
 
112544
+ export interface WorkflowRunStatsInput {
112545
+ /**
112546
+ * ISO-8601 duration back from now, `P90D` at most. Defaults to `P7D`.
112547
+ */
112548
+ window?: string
112549
+ /**
112550
+ * Omitted for one row per workflow; given for that workflow’s nodes and edges too.
112551
+ */
112552
+ workflow_id?: string
112553
+ /**
112554
+ * Count `workflow_run_test` runs as well. Defaults to false.
112555
+ */
112556
+ include_test?: boolean
112557
+ }
112558
+
112559
+ export interface WorkflowRunStatsOutput {
112560
+ runs?: number
112561
+ edges?: {
112562
+ /**
112563
+ * The synthetic `done` after the last node of a run that succeeded. No edge leaves a node for itself.
112564
+ */
112565
+ to: string
112566
+ /**
112567
+ * `trigger` for the first node of a run.
112568
+ */
112569
+ from: string
112570
+ /**
112571
+ * Windowed runs whose trace contains this transition.
112572
+ */
112573
+ count: number
112574
+ /**
112575
+ * The label the source node took, when it branched.
112576
+ */
112577
+ branch: (string | null)
112578
+ }[]
112579
+ /**
112580
+ * One row per workflow; present only when `workflow_id` was omitted.
112581
+ */
112582
+ items?: {
112583
+ runs: number
112584
+ failed: number
112585
+ /**
112586
+ * Runs `waiting` or `held` RIGHT NOW — a current count, not a windowed one.
112587
+ */
112588
+ waiting: number
112589
+ last_run_at: (string | null)
112590
+ workflow_id: string
112591
+ }[]
112592
+ nodes?: {
112593
+ /**
112594
+ * Windowed failed runs attributed to this node: its failing step, or — for a run that died on a node writing no step row — the last node the run reached.
112595
+ */
112596
+ failed: number
112597
+ node_id: string
112598
+ /**
112599
+ * Windowed runs that reached this node at least once.
112600
+ */
112601
+ reached: number
112602
+ /**
112603
+ * Runs parked on this node right now.
112604
+ */
112605
+ waiting: number
112606
+ }[]
112607
+ failed?: number
112608
+ window: string
112609
+ waiting?: number
112610
+ last_run_at?: (string | null)
112611
+ workflow_id?: string
112612
+ }
112613
+
112383
112614
  export interface WorkflowRunTestInput {
112384
112615
  workflow_id: string
112385
112616
  /**
@@ -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, WorkflowDependencyListInput, WorkflowDependencyListOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowGrantRequestInput, WorkflowGrantRequestOutput, WorkflowHealthListInput, WorkflowHealthListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowKillswitchSetOutput, WorkflowRunCancelInput, WorkflowRunCancelOutput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayAllOutput, WorkflowRunReplayInput, WorkflowRunReplayOutput, WorkflowRunStartInput, WorkflowRunStartOutput, WorkflowRunTestInput, WorkflowRunTestOutput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput, WorkflowWaitGetInput, WorkflowWaitGetOutput, WorkflowWaitListAllInput, WorkflowWaitListAllOutput, WorkflowWaitListInput, WorkflowWaitListOutput, WorkflowWaitResolveInput, WorkflowWaitResolveOutput } 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, WorkflowDependencyListInput, WorkflowDependencyListOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowGrantRequestInput, WorkflowGrantRequestOutput, WorkflowHealthListInput, WorkflowHealthListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowKillswitchSetOutput, WorkflowRunCancelInput, WorkflowRunCancelOutput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayAllOutput, WorkflowRunReplayInput, WorkflowRunReplayOutput, WorkflowRunStartInput, WorkflowRunStartOutput, WorkflowRunStatsInput, WorkflowRunStatsOutput, WorkflowRunTestInput, WorkflowRunTestOutput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput, WorkflowWaitGetInput, WorkflowWaitGetOutput, WorkflowWaitListAllInput, WorkflowWaitListAllOutput, WorkflowWaitListInput, WorkflowWaitListOutput, WorkflowWaitResolveInput, WorkflowWaitResolveOutput } from '../types.gen';
@@ -45,6 +45,8 @@ import type {
45
45
  WorkflowRunReplayAllInput,
46
46
  WorkflowRunReplayInput,
47
47
  WorkflowRunStartInput,
48
+ WorkflowRunStatsInput,
49
+ WorkflowRunStatsOutput,
48
50
  WorkflowRunTestInput,
49
51
  WorkflowVersionGetInput,
50
52
  WorkflowVersionGetOutput,
@@ -204,6 +206,11 @@ export const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({
204
206
  mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),
205
207
  });
206
208
 
209
+ export const workflowRunStatsQueryOptions = (sdk: GeneratedClient, input: WorkflowRunStatsInput) => ({
210
+ queryKey: ['workflow', 'run', 'stats', input] as const,
211
+ queryFn: () => sdk['workflow']['run']['stats'](input),
212
+ });
213
+
207
214
  export const workflowRunTestMutationOptions = (sdk: GeneratedClient) => ({
208
215
  mutationKey: ['workflow', 'run', 'test'],
209
216
  mutationFn: (input: WorkflowRunTestInput) => sdk['workflow']['run']['test'](input),