@lessly/sdk-app 67.1.0 → 67.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { wsBindings } from '../chunk-NEGA65H6.js';
1
+ import { wsBindings } from '../chunk-37QTFCCK.js';
2
2
 
3
3
  // src/gen/playground/queryOptions.gen.ts
4
4
  var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
@@ -61,10 +61,14 @@ var playgroundWorkflowPingMutationOptions = (sdk) => ({
61
61
  mutationKey: ["playground", "workflow", "ping"],
62
62
  mutationFn: (input) => sdk["playground"]["workflow"]["ping"](input)
63
63
  });
64
+ var playgroundWorkflowSubjectsListQueryOptions = (sdk, input) => ({
65
+ queryKey: ["playground", "workflow", "subjects-list", input],
66
+ queryFn: () => sdk["playground"]["workflow"]["subjects-list"](input)
67
+ });
64
68
 
65
69
  // src/gen/playground/connect.gen.ts
66
70
  var playgroundWsEchoConnect = (sdk, input) => sdk.openStream(wsBindings["playground"]["ws"]["echo"], input);
67
71
 
68
- export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWsEchoConnect };
72
+ export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWorkflowSubjectsListQueryOptions, playgroundWsEchoConnect };
69
73
  //# sourceMappingURL=index.js.map
70
74
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts","../../src/gen/playground/connect.gen.ts"],"names":[],"mappings":";;;AA+BO,IAAM,uCAAA,GAA0C,CAAC,GAAA,EAAsB,KAAA,MAA6C;AAAA,EACzH,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,YAAY,KAAK,CAAA;AAAA,EACvD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AACjE,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,EAAsB,KAAA,MAA+C;AAAA,EAC7H,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,gBAAgB,KAAK,CAAA;AAAA,EACzD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AACnE,CAAA;AAEO,IAAM,2CAAA,GAA8C,CAAC,GAAA,MAA0B;AAAA,EACpF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,cAAc,CAAA;AAAA,EACrD,UAAA,EAAY,CAAC,KAAA,KAA6C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AAC9G,CAAA;AAEO,IAAM,0CAAA,GAA6C,CAAC,GAAA,MAA0B;AAAA,EACnF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,aAAa,CAAA;AAAA,EACpD,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AAY,EAAE,UAAU,CAAA,CAAE,WAAW,CAAA,CAAE,KAAK;AACjE,CAAA;AAEO,IAAM,qCAAA,GAAwC,CAAC,GAAA,MAA0B;AAAA,EAC9E,WAAA,EAAa,CAAC,YAAA,EAAc,UAAA,EAAY,MAAM,CAAA;AAAA,EAC9C,UAAA,EAAY,CAAC,KAAA,KAAuC,GAAA,CAAI,YAAY,EAAE,UAAU,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACjG,CAAA;;;ACjGO,IAAM,uBAAA,GAA0B,CAAC,GAAA,EAAyB,KAAA,KAC/D,GAAA,CAAI,UAAA,CAAW,UAAA,CAAW,YAAY,CAAA,CAAG,IAAI,CAAA,CAAG,MAAM,GAAI,KAAgC","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n PlaygroundWorkflowEchoInput,\n PlaygroundWorkflowEchoListInput,\n PlaygroundWorkflowEchoListOutput,\n PlaygroundWorkflowPingInput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n\nexport const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'echo'],\n mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),\n});\n\nexport const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({\n queryKey: ['playground', 'workflow', 'echo-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['echo-list'](input),\n});\n\nexport const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'ping'],\n mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),\n});\n","// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport { wsBindings } from '../bindings.gen';\nimport type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';\nimport type {\n PlaygroundWsEchoInput,\n} from '../types.gen';\n\nexport const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>\n sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);\n"]}
1
+ {"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts","../../src/gen/playground/connect.gen.ts"],"names":[],"mappings":";;;AAiCO,IAAM,uCAAA,GAA0C,CAAC,GAAA,EAAsB,KAAA,MAA6C;AAAA,EACzH,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,YAAY,KAAK,CAAA;AAAA,EACvD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AACjE,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,EAAsB,KAAA,MAA+C;AAAA,EAC7H,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,gBAAgB,KAAK,CAAA;AAAA,EACzD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AACnE,CAAA;AAEO,IAAM,2CAAA,GAA8C,CAAC,GAAA,MAA0B;AAAA,EACpF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,cAAc,CAAA;AAAA,EACrD,UAAA,EAAY,CAAC,KAAA,KAA6C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AAC9G,CAAA;AAEO,IAAM,0CAAA,GAA6C,CAAC,GAAA,MAA0B;AAAA,EACnF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,aAAa,CAAA;AAAA,EACpD,UAAA,EAAY,CAAC,KAAA,KAA4C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,aAAa,CAAA,CAAE,KAAK;AAC5G,CAAA;AAEO,IAAM,2CAAA,GAA8C,CAAC,GAAA,EAAsB,KAAA,MAAiD;AAAA,EACjI,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,oBAAoB,KAAK,CAAA;AAAA,EAC7D,OAAA,E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MAAM,CAAA,CAAE,KAAK;AACjG,CAAA;AAEO,IAAM,0CAAA,GAA6C,CAAC,GAAA,EAAsB,KAAA,MAAgD;AAAA,EAC/H,QAAA,EAAU,CAAC,YAAA,EAAc,UAAA,EAAY,iBAAiB,KAAK,CAAA;AAAA,EAC3D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,UAAU,CAAA,CAAE,eAAe,CAAA,CAAE,KAAK;AACrE,CAAA;;;ACxGO,IAAM,uBAAA,GAA0B,CAAC,GAAA,EAAyB,KAAA,KAC/D,GAAA,CAAI,UAAA,CAAW,UAAA,CAAW,YAAY,CAAA,CAAG,IAAI,CAAA,CAAG,MAAM,GAAI,KAAgC","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n PlaygroundWorkflowEchoInput,\n PlaygroundWorkflowEchoListInput,\n PlaygroundWorkflowEchoListOutput,\n PlaygroundWorkflowPingInput,\n PlaygroundWorkflowSubjectsListInput,\n PlaygroundWorkflowSubjectsListOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n\nexport const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'echo'],\n mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),\n});\n\nexport const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({\n queryKey: ['playground', 'workflow', 'echo-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['echo-list'](input),\n});\n\nexport const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'ping'],\n mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),\n});\n\nexport const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({\n queryKey: ['playground', 'workflow', 'subjects-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['subjects-list'](input),\n});\n","// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport { wsBindings } from '../bindings.gen';\nimport type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';\nimport type {\n PlaygroundWsEchoInput,\n} from '../types.gen';\n\nexport const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>\n sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
- "version": "67.1.0",
3
+ "version": "67.3.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:f5da74f69ae9b27181216b66141c1f5a8f1ff4df74c12a344c6f01a3ef38ce12"
222
+ "sdkContentHash": "sha256:d39419ad88230ec8fa574fef2aaa0fc5b4b3d4d5827a28b9e80431bb2322b0de"
223
223
  }
@@ -7353,6 +7353,31 @@ export const bindings: BindingsMap = {
7353
7353
  ],
7354
7354
  "path": "/playground/workflow/ping",
7355
7355
  "readOnly": false
7356
+ },
7357
+ "subjects-list": {
7358
+ "level": "read",
7359
+ "method": "GET",
7360
+ "operationKey": "playground_workflow_subjects-list",
7361
+ "params": [
7362
+ {
7363
+ "in": "query",
7364
+ "name": "last_activity_before"
7365
+ },
7366
+ {
7367
+ "in": "query",
7368
+ "name": "last_activity_after"
7369
+ },
7370
+ {
7371
+ "in": "query",
7372
+ "name": "limit"
7373
+ },
7374
+ {
7375
+ "in": "query",
7376
+ "name": "cursor"
7377
+ }
7378
+ ],
7379
+ "path": "/playground/workflow/subjects",
7380
+ "readOnly": true
7356
7381
  }
7357
7382
  }
7358
7383
  },
@@ -805,6 +805,8 @@ import type {
805
805
  PlaygroundWorkflowEchoOutput,
806
806
  PlaygroundWorkflowPingInput,
807
807
  PlaygroundWorkflowPingOutput,
808
+ PlaygroundWorkflowSubjectsListInput,
809
+ PlaygroundWorkflowSubjectsListOutput,
808
810
  RealtimeArchiveExportInput,
809
811
  RealtimeArchiveExportOutput,
810
812
  RealtimeArchiveExportStatusInput,
@@ -1924,6 +1926,7 @@ export interface GeneratedClient {
1924
1926
  echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
1925
1927
  'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
1926
1928
  ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
1929
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
1927
1930
  };
1928
1931
  };
1929
1932
  realtime: {
@@ -406,6 +406,7 @@ export const operations: Record<string, ToolLevel> = {
406
406
  'playground_workflow_echo': 'write',
407
407
  'playground_workflow_echo-list': 'read',
408
408
  'playground_workflow_ping': 'write',
409
+ 'playground_workflow_subjects-list': 'read',
409
410
  'realtime_archive_export': 'admin',
410
411
  'realtime_archive_export_status': 'read',
411
412
  'realtime_archive_get': 'read',
@@ -646,4 +647,5 @@ export const compositions: Record<string, ToolComposition> = {
646
647
  'mail_usage_get': {"label":"Get usage"},
647
648
  'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
648
649
  'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
650
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
649
651
  };
@@ -1,4 +1,4 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
3
  export * from './connect.gen';
4
- export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWsEchoInput } from '../types.gen';
4
+ export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen';
@@ -27,6 +27,8 @@ import type {
27
27
  PlaygroundWorkflowEchoListInput,
28
28
  PlaygroundWorkflowEchoListOutput,
29
29
  PlaygroundWorkflowPingInput,
30
+ PlaygroundWorkflowSubjectsListInput,
31
+ PlaygroundWorkflowSubjectsListOutput,
30
32
  } from '../types.gen';
31
33
 
32
34
  export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
@@ -103,3 +105,8 @@ export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => (
103
105
  mutationKey: ['playground', 'workflow', 'ping'],
104
106
  mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
105
107
  });
108
+
109
+ export const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({
110
+ queryKey: ['playground', 'workflow', 'subjects-list', input] as const,
111
+ queryFn: () => sdk['playground']['workflow']['subjects-list'](input),
112
+ });
@@ -86101,6 +86101,53 @@ id: string
86101
86101
  event: string
86102
86102
  }
86103
86103
 
86104
+ export interface PlaygroundWorkflowSubjectsListInput {
86105
+ /**
86106
+ * How many subjects to return, 1–100. Defaults to 25.
86107
+ */
86108
+ limit?: number
86109
+ /**
86110
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
86111
+ */
86112
+ cursor?: string
86113
+ /**
86114
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
86115
+ */
86116
+ last_activity_after?: string
86117
+ /**
86118
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
86119
+ */
86120
+ last_activity_before?: string
86121
+ }
86122
+
86123
+ export interface PlaygroundWorkflowSubjectsListOutput {
86124
+ /**
86125
+ * This page of subjects, most recently active first
86126
+ */
86127
+ items: {
86128
+ /**
86129
+ * Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
86130
+ */
86131
+ subject_key: string
86132
+ /**
86133
+ * Human-readable name of the subject
86134
+ */
86135
+ display_name: string
86136
+ /**
86137
+ * ISO-8601 instant (UTC) of the subject last activity
86138
+ */
86139
+ last_activity_at: string
86140
+ }[]
86141
+ /**
86142
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
86143
+ */
86144
+ has_more: boolean
86145
+ /**
86146
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
86147
+ */
86148
+ next_cursor: (string | null)
86149
+ }
86150
+
86104
86151
  export interface PlaygroundWsEchoInput {
86105
86152
 
86106
86153
  }
@@ -111264,6 +111311,29 @@ name: string
111264
111311
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111265
111312
  */
111266
111313
  status: ("draft" | "enabled" | "disabled" | "broken")
111314
+ /**
111315
+ * 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.
111316
+ */
111317
+ summary: {
111318
+ /**
111319
+ * What starts the workflow; null when the definition declares no trigger.
111320
+ */
111321
+ trigger: ({
111322
+ /**
111323
+ * Set for `schedule` and `batch`; null otherwise.
111324
+ */
111325
+ cron: (string | null)
111326
+ kind: ("event" | "schedule" | "batch" | "manual")
111327
+ /**
111328
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111329
+ */
111330
+ name: (string | null)
111331
+ } | null)
111332
+ /**
111333
+ * Steps in the graph; a loop counts as one.
111334
+ */
111335
+ node_count: number
111336
+ }
111267
111337
  /**
111268
111338
  * What is stopping an otherwise published workflow; null when nothing is.
111269
111339
  */
@@ -111313,6 +111383,29 @@ name: string
111313
111383
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111314
111384
  */
111315
111385
  status: ("draft" | "enabled" | "disabled" | "broken")
111386
+ /**
111387
+ * 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.
111388
+ */
111389
+ summary: {
111390
+ /**
111391
+ * What starts the workflow; null when the definition declares no trigger.
111392
+ */
111393
+ trigger: ({
111394
+ /**
111395
+ * Set for `schedule` and `batch`; null otherwise.
111396
+ */
111397
+ cron: (string | null)
111398
+ kind: ("event" | "schedule" | "batch" | "manual")
111399
+ /**
111400
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111401
+ */
111402
+ name: (string | null)
111403
+ } | null)
111404
+ /**
111405
+ * Steps in the graph; a loop counts as one.
111406
+ */
111407
+ node_count: number
111408
+ }
111316
111409
  /**
111317
111410
  * What is stopping an otherwise published workflow; null when nothing is.
111318
111411
  */
@@ -111386,6 +111479,29 @@ name: string
111386
111479
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111387
111480
  */
111388
111481
  status: ("draft" | "enabled" | "disabled" | "broken")
111482
+ /**
111483
+ * 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.
111484
+ */
111485
+ summary: {
111486
+ /**
111487
+ * What starts the workflow; null when the definition declares no trigger.
111488
+ */
111489
+ trigger: ({
111490
+ /**
111491
+ * Set for `schedule` and `batch`; null otherwise.
111492
+ */
111493
+ cron: (string | null)
111494
+ kind: ("event" | "schedule" | "batch" | "manual")
111495
+ /**
111496
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111497
+ */
111498
+ name: (string | null)
111499
+ } | null)
111500
+ /**
111501
+ * Steps in the graph; a loop counts as one.
111502
+ */
111503
+ node_count: number
111504
+ }
111389
111505
  /**
111390
111506
  * What is stopping an otherwise published workflow; null when nothing is.
111391
111507
  */
@@ -111527,6 +111643,29 @@ name: string
111527
111643
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111528
111644
  */
111529
111645
  status: ("draft" | "enabled" | "disabled" | "broken")
111646
+ /**
111647
+ * 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.
111648
+ */
111649
+ summary: {
111650
+ /**
111651
+ * What starts the workflow; null when the definition declares no trigger.
111652
+ */
111653
+ trigger: ({
111654
+ /**
111655
+ * Set for `schedule` and `batch`; null otherwise.
111656
+ */
111657
+ cron: (string | null)
111658
+ kind: ("event" | "schedule" | "batch" | "manual")
111659
+ /**
111660
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111661
+ */
111662
+ name: (string | null)
111663
+ } | null)
111664
+ /**
111665
+ * Steps in the graph; a loop counts as one.
111666
+ */
111667
+ node_count: number
111668
+ }
111530
111669
  /**
111531
111670
  * What is stopping an otherwise published workflow; null when nothing is.
111532
111671
  */
@@ -111674,6 +111813,29 @@ name: string
111674
111813
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111675
111814
  */
111676
111815
  status: ("draft" | "enabled" | "disabled" | "broken")
111816
+ /**
111817
+ * 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.
111818
+ */
111819
+ summary: {
111820
+ /**
111821
+ * What starts the workflow; null when the definition declares no trigger.
111822
+ */
111823
+ trigger: ({
111824
+ /**
111825
+ * Set for `schedule` and `batch`; null otherwise.
111826
+ */
111827
+ cron: (string | null)
111828
+ kind: ("event" | "schedule" | "batch" | "manual")
111829
+ /**
111830
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111831
+ */
111832
+ name: (string | null)
111833
+ } | null)
111834
+ /**
111835
+ * Steps in the graph; a loop counts as one.
111836
+ */
111837
+ node_count: number
111838
+ }
111677
111839
  /**
111678
111840
  * What is stopping an otherwise published workflow; null when nothing is.
111679
111841
  */
@@ -111732,6 +111894,29 @@ name: string
111732
111894
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111733
111895
  */
111734
111896
  status: ("draft" | "enabled" | "disabled" | "broken")
111897
+ /**
111898
+ * 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.
111899
+ */
111900
+ summary: {
111901
+ /**
111902
+ * What starts the workflow; null when the definition declares no trigger.
111903
+ */
111904
+ trigger: ({
111905
+ /**
111906
+ * Set for `schedule` and `batch`; null otherwise.
111907
+ */
111908
+ cron: (string | null)
111909
+ kind: ("event" | "schedule" | "batch" | "manual")
111910
+ /**
111911
+ * The event name for `event`, the source tool for `batch`; null otherwise.
111912
+ */
111913
+ name: (string | null)
111914
+ } | null)
111915
+ /**
111916
+ * Steps in the graph; a loop counts as one.
111917
+ */
111918
+ node_count: number
111919
+ }
111735
111920
  /**
111736
111921
  * What is stopping an otherwise published workflow; null when nothing is.
111737
111922
  */
@@ -111930,6 +112115,29 @@ name: string
111930
112115
  * `broken` is the dependency check's, not an operator's: a capability is gone.
111931
112116
  */
111932
112117
  status: ("draft" | "enabled" | "disabled" | "broken")
112118
+ /**
112119
+ * 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.
112120
+ */
112121
+ summary: {
112122
+ /**
112123
+ * What starts the workflow; null when the definition declares no trigger.
112124
+ */
112125
+ trigger: ({
112126
+ /**
112127
+ * Set for `schedule` and `batch`; null otherwise.
112128
+ */
112129
+ cron: (string | null)
112130
+ kind: ("event" | "schedule" | "batch" | "manual")
112131
+ /**
112132
+ * The event name for `event`, the source tool for `batch`; null otherwise.
112133
+ */
112134
+ name: (string | null)
112135
+ } | null)
112136
+ /**
112137
+ * Steps in the graph; a loop counts as one.
112138
+ */
112139
+ node_count: number
112140
+ }
111933
112141
  /**
111934
112142
  * What is stopping an otherwise published workflow; null when nothing is.
111935
112143
  */
@@ -112399,7 +112607,7 @@ export interface WorkflowRunStatsOutput {
112399
112607
  runs?: number
112400
112608
  edges?: {
112401
112609
  /**
112402
- * `done` after the last node of a run that succeeded.
112610
+ * The synthetic `done` after the last node of a run that succeeded. No edge leaves a node for itself.
112403
112611
  */
112404
112612
  to: string
112405
112613
  /**
@@ -112430,7 +112638,7 @@ workflow_id: string
112430
112638
  }[]
112431
112639
  nodes?: {
112432
112640
  /**
112433
- * Windowed runs whose failing step is this node.
112641
+ * 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.
112434
112642
  */
112435
112643
  failed: number
112436
112644
  node_id: string