@lessly/sdk-app 67.0.0 → 67.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-G3EFA6KW.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.0",
3
+ "version": "67.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:40bcdcb92537d56976e0aa8e150f21df9c622019f4235f7c52f1a5eae2fe4abf"
222
+ "sdkContentHash": "sha256:f5da74f69ae9b27181216b66141c1f5a8f1ff4df74c12a344c6f01a3ef38ce12"
223
223
  }
@@ -9612,7 +9612,7 @@ export const bindings: BindingsMap = {
9612
9612
  "readOnly": true
9613
9613
  },
9614
9614
  "upsert": {
9615
- "level": "write",
9615
+ "level": "admin",
9616
9616
  "method": "PUT",
9617
9617
  "operationKey": "users_config_upsert",
9618
9618
  "params": [
@@ -9720,7 +9720,7 @@ export const bindings: BindingsMap = {
9720
9720
  "readOnly": true
9721
9721
  },
9722
9722
  "reset": {
9723
- "level": "write",
9723
+ "level": "admin",
9724
9724
  "method": "POST",
9725
9725
  "operationKey": "users_factors_reset",
9726
9726
  "params": [
@@ -9767,7 +9767,7 @@ export const bindings: BindingsMap = {
9767
9767
  "readOnly": false
9768
9768
  },
9769
9769
  "rotate": {
9770
- "level": "write",
9770
+ "level": "admin",
9771
9771
  "method": "POST",
9772
9772
  "operationKey": "users_keys_rotate",
9773
9773
  "path": "/users/keys/rotate",
@@ -9843,7 +9843,7 @@ export const bindings: BindingsMap = {
9843
9843
  "readOnly": true
9844
9844
  },
9845
9845
  "impersonate": {
9846
- "level": "write",
9846
+ "level": "admin",
9847
9847
  "method": "POST",
9848
9848
  "operationKey": "users_sessions_impersonate",
9849
9849
  "params": [
@@ -9907,7 +9907,7 @@ export const bindings: BindingsMap = {
9907
9907
  },
9908
9908
  "users": {
9909
9909
  "ban": {
9910
- "level": "write",
9910
+ "level": "admin",
9911
9911
  "method": "POST",
9912
9912
  "operationKey": "users_users_ban",
9913
9913
  "params": [
@@ -9982,7 +9982,7 @@ export const bindings: BindingsMap = {
9982
9982
  "readOnly": false
9983
9983
  },
9984
9984
  "erase": {
9985
- "level": "write",
9985
+ "level": "admin",
9986
9986
  "method": "POST",
9987
9987
  "operationKey": "users_users_erase",
9988
9988
  "params": [
@@ -9995,7 +9995,7 @@ export const bindings: BindingsMap = {
9995
9995
  "readOnly": false
9996
9996
  },
9997
9997
  "export": {
9998
- "level": "read",
9998
+ "level": "admin",
9999
9999
  "method": "GET",
10000
10000
  "operationKey": "users_users_export",
10001
10001
  "params": [
@@ -10037,7 +10037,7 @@ export const bindings: BindingsMap = {
10037
10037
  "readOnly": true
10038
10038
  },
10039
10039
  "import": {
10040
- "level": "write",
10040
+ "level": "admin",
10041
10041
  "method": "POST",
10042
10042
  "operationKey": "users_users_import",
10043
10043
  "params": [
@@ -10112,7 +10112,7 @@ export const bindings: BindingsMap = {
10112
10112
  "readOnly": true
10113
10113
  },
10114
10114
  "unban": {
10115
- "level": "write",
10115
+ "level": "admin",
10116
10116
  "method": "POST",
10117
10117
  "operationKey": "users_users_unban",
10118
10118
  "params": [
@@ -10195,7 +10195,7 @@ export const bindings: BindingsMap = {
10195
10195
  },
10196
10196
  "waitlist": {
10197
10197
  "erase": {
10198
- "level": "write",
10198
+ "level": "admin",
10199
10199
  "method": "POST",
10200
10200
  "operationKey": "users_waitlist_erase",
10201
10201
  "params": [
@@ -10208,7 +10208,7 @@ export const bindings: BindingsMap = {
10208
10208
  "readOnly": false
10209
10209
  },
10210
10210
  "funnel": {
10211
- "level": "write",
10211
+ "level": "read",
10212
10212
  "method": "POST",
10213
10213
  "operationKey": "users_waitlist_funnel",
10214
10214
  "path": "/users/waitlist/funnel",
@@ -10372,7 +10372,7 @@ export const bindings: BindingsMap = {
10372
10372
  },
10373
10373
  "webhooks-rotate": {
10374
10374
  "secret": {
10375
- "level": "write",
10375
+ "level": "admin",
10376
10376
  "method": "POST",
10377
10377
  "operationKey": "users_webhooks_rotate_secret",
10378
10378
  "params": [
@@ -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': {
@@ -519,35 +519,35 @@ export const operations: Record<string, ToolLevel> = {
519
519
  'users_apikeys_revoke': 'admin',
520
520
  'users_audit_list': 'read',
521
521
  'users_config_get': 'read',
522
- 'users_config_upsert': 'write',
522
+ 'users_config_upsert': 'admin',
523
523
  'users_factors_list': 'read',
524
- 'users_factors_reset': 'write',
524
+ 'users_factors_reset': 'admin',
525
525
  'users_keys_list': 'read',
526
526
  'users_keys_revoke': 'admin',
527
- 'users_keys_rotate': 'write',
527
+ 'users_keys_rotate': 'admin',
528
528
  'users_ops_retention_get': 'read',
529
529
  'users_ops_slo_get': 'read',
530
530
  'users_passkeys_list': 'read',
531
531
  'users_passkeys_revoke': 'admin',
532
532
  'users_sessions_get': 'read',
533
- 'users_sessions_impersonate': 'write',
533
+ 'users_sessions_impersonate': 'admin',
534
534
  'users_sessions_list': 'read',
535
535
  'users_sessions_revoke': 'admin',
536
536
  'users_stats_get': 'read',
537
- 'users_users_ban': 'write',
537
+ 'users_users_ban': 'admin',
538
538
  'users_users_create': 'write',
539
539
  'users_users_delete': 'admin',
540
- 'users_users_erase': 'write',
541
- 'users_users_export': 'read',
540
+ 'users_users_erase': 'admin',
541
+ 'users_users_export': 'admin',
542
542
  'users_users_get': 'read',
543
- 'users_users_import': 'write',
543
+ 'users_users_import': 'admin',
544
544
  'users_users_invite': 'write',
545
545
  'users_users_list': 'read',
546
546
  'users_users_set_primary_identifier': 'write',
547
- 'users_users_unban': 'write',
547
+ 'users_users_unban': 'admin',
548
548
  'users_users_update': 'write',
549
- 'users_waitlist_erase': 'write',
550
- 'users_waitlist_funnel': 'write',
549
+ 'users_waitlist_erase': 'admin',
550
+ 'users_waitlist_funnel': 'read',
551
551
  'users_waitlist_import': 'write',
552
552
  'users_waitlist_invite': 'write',
553
553
  'users_waitlist_list': 'read',
@@ -556,7 +556,7 @@ export const operations: Record<string, ToolLevel> = {
556
556
  'users_webhooks_deliveries_list': 'read',
557
557
  'users_webhooks_get': 'read',
558
558
  'users_webhooks_list': 'read',
559
- 'users_webhooks_rotate_secret': 'write',
559
+ 'users_webhooks_rotate_secret': 'admin',
560
560
  'users_webhooks_update': 'write',
561
561
  'waitlist_config_get': 'read',
562
562
  'waitlist_config_upsert': 'write',
@@ -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',
@@ -66113,7 +66113,7 @@ request_id: string
66113
66113
 
66114
66114
  export interface BrainKnowledgeGraphInput {
66115
66115
  /**
66116
- * Max nodes (default 5000). When the cap applies the HIGHEST-DEGREE nodes are kept, so a small limit (e.g. 100) returns the hub concepts — that is usually what you want
66116
+ * Max nodes (default 5000). When the cap applies, the highest-degree nodes are kept, so a small limit (e.g. 100) returns the hub concepts.
66117
66117
  */
66118
66118
  limit?: number
66119
66119
  /**
@@ -109840,7 +109840,7 @@ name?: string
109840
109840
  */
109841
109841
  imageUrl?: string
109842
109842
  /**
109843
- * Optional credential to store for this user. Hashes only this toolkit never accepts a plaintext password. Nothing verifies it until Phase 2.
109843
+ * Credential to store for this user. Supply hashes only; omit password to create no password identity.
109844
109844
  */
109845
109845
  password?: {
109846
109846
  /**
@@ -109848,7 +109848,7 @@ password?: {
109848
109848
  */
109849
109849
  phcHash?: string
109850
109850
  /**
109851
- * An imported hash from another system, to be lazily rehashed on the first successful sign-in (Phase 2).
109851
+ * An imported hash from another system, to be lazily rehashed on the first successful sign-in.
109852
109852
  */
109853
109853
  foreignHash?: string
109854
109854
  /**
@@ -112380,6 +112380,76 @@ event_id: string
112380
112380
  deduplicated: boolean
112381
112381
  }
112382
112382
 
112383
+ export interface WorkflowRunStatsInput {
112384
+ /**
112385
+ * ISO-8601 duration back from now, `P90D` at most. Defaults to `P7D`.
112386
+ */
112387
+ window?: string
112388
+ /**
112389
+ * Omitted for one row per workflow; given for that workflow’s nodes and edges too.
112390
+ */
112391
+ workflow_id?: string
112392
+ /**
112393
+ * Count `workflow_run_test` runs as well. Defaults to false.
112394
+ */
112395
+ include_test?: boolean
112396
+ }
112397
+
112398
+ export interface WorkflowRunStatsOutput {
112399
+ runs?: number
112400
+ edges?: {
112401
+ /**
112402
+ * `done` after the last node of a run that succeeded.
112403
+ */
112404
+ to: string
112405
+ /**
112406
+ * `trigger` for the first node of a run.
112407
+ */
112408
+ from: string
112409
+ /**
112410
+ * Windowed runs whose trace contains this transition.
112411
+ */
112412
+ count: number
112413
+ /**
112414
+ * The label the source node took, when it branched.
112415
+ */
112416
+ branch: (string | null)
112417
+ }[]
112418
+ /**
112419
+ * One row per workflow; present only when `workflow_id` was omitted.
112420
+ */
112421
+ items?: {
112422
+ runs: number
112423
+ failed: number
112424
+ /**
112425
+ * Runs `waiting` or `held` RIGHT NOW — a current count, not a windowed one.
112426
+ */
112427
+ waiting: number
112428
+ last_run_at: (string | null)
112429
+ workflow_id: string
112430
+ }[]
112431
+ nodes?: {
112432
+ /**
112433
+ * Windowed runs whose failing step is this node.
112434
+ */
112435
+ failed: number
112436
+ node_id: string
112437
+ /**
112438
+ * Windowed runs that reached this node at least once.
112439
+ */
112440
+ reached: number
112441
+ /**
112442
+ * Runs parked on this node right now.
112443
+ */
112444
+ waiting: number
112445
+ }[]
112446
+ failed?: number
112447
+ window: string
112448
+ waiting?: number
112449
+ last_run_at?: (string | null)
112450
+ workflow_id?: string
112451
+ }
112452
+
112383
112453
  export interface WorkflowRunTestInput {
112384
112454
  workflow_id: string
112385
112455
  /**
@@ -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),