@lepsto/sdk-app 89.2.0 → 89.4.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.
- package/CHANGELOG.md +28 -15
- package/dist/_types/gen/client.gen.d.ts +48 -1
- package/dist/_types/gen/mail/index.d.ts +1 -1
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +25 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/types.gen.d.ts +782 -19
- package/dist/chunk-ZH37YJ7E.js +11502 -0
- package/dist/chunk-ZH37YJ7E.js.map +1 -0
- package/dist/index.cjs +339 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +36 -11189
- package/dist/index.js.map +1 -1
- package/dist/mail/index.cjs +30 -0
- package/dist/mail/index.cjs.map +1 -1
- package/dist/mail/index.js +25 -1
- package/dist/mail/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +314 -3
- package/src/gen/client.gen.ts +93 -0
- package/src/gen/mail/index.ts +1 -1
- package/src/gen/mail/queryOptions.gen.ts +38 -0
- package/src/gen/manifest.gen.ts +35 -3
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +1102 -282
|
@@ -54,13 +54,21 @@ import type {
|
|
|
54
54
|
MailSuppressionListInput,
|
|
55
55
|
MailSuppressionListOutput,
|
|
56
56
|
MailSuppressionRemoveInput,
|
|
57
|
+
MailTemplateArchiveInput,
|
|
57
58
|
MailTemplateCreateInput,
|
|
58
59
|
MailTemplateDeleteInput,
|
|
60
|
+
MailTemplateDraftDiscardInput,
|
|
59
61
|
MailTemplateGetInput,
|
|
60
62
|
MailTemplateGetOutput,
|
|
61
63
|
MailTemplateListInput,
|
|
62
64
|
MailTemplateListOutput,
|
|
63
65
|
MailTemplatePublishInput,
|
|
66
|
+
MailTemplateRestoreInput,
|
|
67
|
+
MailTemplateRevisionGetInput,
|
|
68
|
+
MailTemplateRevisionGetOutput,
|
|
69
|
+
MailTemplateRevisionListInput,
|
|
70
|
+
MailTemplateRevisionListOutput,
|
|
71
|
+
MailTemplateUnarchiveInput,
|
|
64
72
|
MailTemplateUpdateInput,
|
|
65
73
|
MailUsageGetInput,
|
|
66
74
|
MailUsageGetOutput,
|
|
@@ -265,6 +273,11 @@ export const mailSuppressionRemoveMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
265
273
|
mutationFn: (input: MailSuppressionRemoveInput) => sdk['mail']['suppression']['remove'](input),
|
|
266
274
|
});
|
|
267
275
|
|
|
276
|
+
export const mailTemplateArchiveMutationOptions = (sdk: GeneratedClient) => ({
|
|
277
|
+
mutationKey: ['mail', 'template', 'archive'],
|
|
278
|
+
mutationFn: (input: MailTemplateArchiveInput) => sdk['mail']['template']['archive'](input),
|
|
279
|
+
});
|
|
280
|
+
|
|
268
281
|
export const mailTemplateCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
269
282
|
mutationKey: ['mail', 'template', 'create'],
|
|
270
283
|
mutationFn: (input: MailTemplateCreateInput) => sdk['mail']['template']['create'](input),
|
|
@@ -275,6 +288,11 @@ export const mailTemplateDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
275
288
|
mutationFn: (input: MailTemplateDeleteInput) => sdk['mail']['template']['delete'](input),
|
|
276
289
|
});
|
|
277
290
|
|
|
291
|
+
export const mailTemplateDraftDiscardMutationOptions = (sdk: GeneratedClient) => ({
|
|
292
|
+
mutationKey: ['mail', 'template-draft', 'discard'],
|
|
293
|
+
mutationFn: (input: MailTemplateDraftDiscardInput) => sdk['mail']['template-draft']['discard'](input),
|
|
294
|
+
});
|
|
295
|
+
|
|
278
296
|
export const mailTemplateGetQueryOptions = (sdk: GeneratedClient, input: MailTemplateGetInput) => ({
|
|
279
297
|
queryKey: ['mail', 'template', 'get', input] as const,
|
|
280
298
|
queryFn: () => sdk['mail']['template']['get'](input),
|
|
@@ -290,6 +308,26 @@ export const mailTemplatePublishMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
290
308
|
mutationFn: (input: MailTemplatePublishInput) => sdk['mail']['template']['publish'](input),
|
|
291
309
|
});
|
|
292
310
|
|
|
311
|
+
export const mailTemplateRestoreMutationOptions = (sdk: GeneratedClient) => ({
|
|
312
|
+
mutationKey: ['mail', 'template', 'restore'],
|
|
313
|
+
mutationFn: (input: MailTemplateRestoreInput) => sdk['mail']['template']['restore'](input),
|
|
314
|
+
});
|
|
315
|
+
|
|
316
|
+
export const mailTemplateRevisionGetQueryOptions = (sdk: GeneratedClient, input: MailTemplateRevisionGetInput) => ({
|
|
317
|
+
queryKey: ['mail', 'template-revision', 'get', input] as const,
|
|
318
|
+
queryFn: () => sdk['mail']['template-revision']['get'](input),
|
|
319
|
+
});
|
|
320
|
+
|
|
321
|
+
export const mailTemplateRevisionListQueryOptions = (sdk: GeneratedClient, input: MailTemplateRevisionListInput) => ({
|
|
322
|
+
queryKey: ['mail', 'template-revision', 'list', input] as const,
|
|
323
|
+
queryFn: () => sdk['mail']['template-revision']['list'](input),
|
|
324
|
+
});
|
|
325
|
+
|
|
326
|
+
export const mailTemplateUnarchiveMutationOptions = (sdk: GeneratedClient) => ({
|
|
327
|
+
mutationKey: ['mail', 'template', 'unarchive'],
|
|
328
|
+
mutationFn: (input: MailTemplateUnarchiveInput) => sdk['mail']['template']['unarchive'](input),
|
|
329
|
+
});
|
|
330
|
+
|
|
293
331
|
export const mailTemplateUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
294
332
|
mutationKey: ['mail', 'template', 'update'],
|
|
295
333
|
mutationFn: (input: MailTemplateUpdateInput) => sdk['mail']['template']['update'](input),
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { ToolLevel, ToolComposition } from '../runtime/types';
|
|
3
3
|
|
|
4
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
|
|
4
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
|
|
5
5
|
|
|
6
6
|
export const operations: Record<string, ToolLevel> = {
|
|
7
7
|
'analytics_catalog_get': 'read',
|
|
@@ -257,11 +257,17 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
257
257
|
'mail_suppression_add': 'write',
|
|
258
258
|
'mail_suppression_list': 'read',
|
|
259
259
|
'mail_suppression_remove': 'admin',
|
|
260
|
+
'mail_template_archive': 'write',
|
|
260
261
|
'mail_template_create': 'write',
|
|
261
262
|
'mail_template_delete': 'admin',
|
|
263
|
+
'mail_template_draft_discard': 'write',
|
|
262
264
|
'mail_template_get': 'read',
|
|
263
265
|
'mail_template_list': 'read',
|
|
264
266
|
'mail_template_publish': 'write',
|
|
267
|
+
'mail_template_restore': 'write',
|
|
268
|
+
'mail_template_revision_get': 'read',
|
|
269
|
+
'mail_template_revision_list': 'read',
|
|
270
|
+
'mail_template_unarchive': 'write',
|
|
265
271
|
'mail_template_update': 'write',
|
|
266
272
|
'mail_usage_get': 'read',
|
|
267
273
|
'mail_webhook_create': 'admin',
|
|
@@ -395,6 +401,23 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
395
401
|
'organization_support_threads_list': 'read',
|
|
396
402
|
'organization_x_install': 'read',
|
|
397
403
|
'organization_youtube_install': 'read',
|
|
404
|
+
'playground_analytics_overview': 'read',
|
|
405
|
+
'playground_billing_entitlements': 'read',
|
|
406
|
+
'playground_billing_record-usage': 'write',
|
|
407
|
+
'playground_clickup_create-task': 'write',
|
|
408
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
409
|
+
'playground_clickup_get-overview': 'read',
|
|
410
|
+
'playground_echo_ping': 'read',
|
|
411
|
+
'playground_gdrive_get-last-change': 'read',
|
|
412
|
+
'playground_gdrive_read-file': 'read',
|
|
413
|
+
'playground_googleads_read-customer': 'read',
|
|
414
|
+
'playground_lifecycle_get-state': 'read',
|
|
415
|
+
'playground_lifecycle_list-events': 'read',
|
|
416
|
+
'playground_webhook_get-last': 'read',
|
|
417
|
+
'playground_workflow_echo': 'write',
|
|
418
|
+
'playground_workflow_echo-list': 'read',
|
|
419
|
+
'playground_workflow_ping': 'write',
|
|
420
|
+
'playground_workflow_subjects-list': 'read',
|
|
398
421
|
'realtime_archive_export': 'admin',
|
|
399
422
|
'realtime_archive_export_status': 'read',
|
|
400
423
|
'realtime_archive_get': 'read',
|
|
@@ -580,7 +603,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
580
603
|
'workflow_health_list': 'read',
|
|
581
604
|
'workflow_health_ping': 'read',
|
|
582
605
|
'workflow_killswitch_get': 'read',
|
|
583
|
-
'workflow_killswitch_set': '
|
|
606
|
+
'workflow_killswitch_set': 'admin',
|
|
584
607
|
'workflow_run_cancel': 'write',
|
|
585
608
|
'workflow_run_get': 'read',
|
|
586
609
|
'workflow_run_list': 'read',
|
|
@@ -595,7 +618,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
595
618
|
'workflow_version_list': 'read',
|
|
596
619
|
'workflow_wait_get': 'read',
|
|
597
620
|
'workflow_wait_list': 'read',
|
|
598
|
-
'workflow_wait_list_all': '
|
|
621
|
+
'workflow_wait_list_all': 'admin',
|
|
599
622
|
'workflow_wait_resolve': 'write',
|
|
600
623
|
};
|
|
601
624
|
|
|
@@ -661,13 +684,22 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
661
684
|
'mail_suppression_add': {"pii":["input.address","output.address"],"label":"Suppress address"},
|
|
662
685
|
'mail_suppression_list': {"pii":["input.q","output.items[].address"],"label":"List suppressions"},
|
|
663
686
|
'mail_suppression_remove': {"pii":["input.address","output.address"],"label":"Unsuppress address"},
|
|
687
|
+
'mail_template_archive': {"label":"Archive template","options":{"id":"mail_template_list"}},
|
|
664
688
|
'mail_template_create': {"label":"Create template"},
|
|
665
689
|
'mail_template_delete': {"label":"Delete template","options":{"id":"mail_template_list"}},
|
|
690
|
+
'mail_template_draft_discard': {"label":"Discard template draft","options":{"id":"mail_template_list"}},
|
|
666
691
|
'mail_template_get': {"label":"Get template","options":{"id":"mail_template_list"}},
|
|
667
692
|
'mail_template_list': {"label":"List templates"},
|
|
668
693
|
'mail_template_publish': {"label":"Publish template","options":{"id":"mail_template_list"}},
|
|
694
|
+
'mail_template_restore': {"label":"Restore template revision","options":{"id":"mail_template_list"}},
|
|
695
|
+
'mail_template_revision_get': {"label":"Get template revision","options":{"id":"mail_template_list"}},
|
|
696
|
+
'mail_template_revision_list': {"label":"List template revisions","options":{"id":"mail_template_list"}},
|
|
697
|
+
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
669
698
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
670
699
|
'mail_usage_get': {"label":"Get usage"},
|
|
700
|
+
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
701
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
702
|
+
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
671
703
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
672
704
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
673
705
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import { wsBindings } from '../bindings.gen';
|
|
3
|
+
import type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';
|
|
4
|
+
import type {
|
|
5
|
+
PlaygroundWsEchoInput,
|
|
6
|
+
} from '../types.gen';
|
|
7
|
+
|
|
8
|
+
export const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>
|
|
9
|
+
sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export * from './connect.gen';
|
|
4
|
+
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundEchoPingInput, PlaygroundEchoPingOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen';
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
PlaygroundAnalyticsOverviewInput,
|
|
5
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
6
|
+
PlaygroundBillingEntitlementsInput,
|
|
7
|
+
PlaygroundBillingEntitlementsOutput,
|
|
8
|
+
PlaygroundBillingRecordUsageInput,
|
|
9
|
+
PlaygroundClickupCreateTaskInput,
|
|
10
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
11
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
12
|
+
PlaygroundClickupGetOverviewInput,
|
|
13
|
+
PlaygroundClickupGetOverviewOutput,
|
|
14
|
+
PlaygroundEchoPingInput,
|
|
15
|
+
PlaygroundEchoPingOutput,
|
|
16
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
17
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
18
|
+
PlaygroundGdriveReadFileInput,
|
|
19
|
+
PlaygroundGdriveReadFileOutput,
|
|
20
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
21
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
22
|
+
PlaygroundLifecycleGetStateInput,
|
|
23
|
+
PlaygroundLifecycleGetStateOutput,
|
|
24
|
+
PlaygroundLifecycleListEventsInput,
|
|
25
|
+
PlaygroundLifecycleListEventsOutput,
|
|
26
|
+
PlaygroundWebhookGetLastInput,
|
|
27
|
+
PlaygroundWebhookGetLastOutput,
|
|
28
|
+
PlaygroundWorkflowEchoInput,
|
|
29
|
+
PlaygroundWorkflowEchoListInput,
|
|
30
|
+
PlaygroundWorkflowEchoListOutput,
|
|
31
|
+
PlaygroundWorkflowPingInput,
|
|
32
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
33
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
34
|
+
} from '../types.gen';
|
|
35
|
+
|
|
36
|
+
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
37
|
+
queryKey: ['playground', 'analytics', 'overview', input] as const,
|
|
38
|
+
queryFn: () => sdk['playground']['analytics']['overview'](input),
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
|
|
42
|
+
queryKey: ['playground', 'billing', 'entitlements', input] as const,
|
|
43
|
+
queryFn: () => sdk['playground']['billing']['entitlements'](input),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
|
|
47
|
+
mutationKey: ['playground', 'billing', 'record-usage'],
|
|
48
|
+
mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
|
|
52
|
+
mutationKey: ['playground', 'clickup', 'create-task'],
|
|
53
|
+
mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
|
|
57
|
+
queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
|
|
58
|
+
queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
|
|
62
|
+
queryKey: ['playground', 'clickup', 'get-overview', input] as const,
|
|
63
|
+
queryFn: () => sdk['playground']['clickup']['get-overview'](input),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export const playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({
|
|
67
|
+
queryKey: ['playground', 'echo', 'ping', input] as const,
|
|
68
|
+
queryFn: () => sdk['playground']['echo']['ping'](input),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
|
|
72
|
+
queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
|
|
73
|
+
queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
|
|
77
|
+
queryKey: ['playground', 'gdrive', 'read-file', input] as const,
|
|
78
|
+
queryFn: () => sdk['playground']['gdrive']['read-file'](input),
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
|
|
82
|
+
queryKey: ['playground', 'googleads', 'read-customer', input] as const,
|
|
83
|
+
queryFn: () => sdk['playground']['googleads']['read-customer'](input),
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
|
|
87
|
+
queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
|
|
88
|
+
queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
|
|
92
|
+
queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
|
|
93
|
+
queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
|
|
97
|
+
queryKey: ['playground', 'webhook', 'get-last', input] as const,
|
|
98
|
+
queryFn: () => sdk['playground']['webhook']['get-last'](input),
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
export const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({
|
|
102
|
+
mutationKey: ['playground', 'workflow', 'echo'],
|
|
103
|
+
mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
export const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({
|
|
107
|
+
queryKey: ['playground', 'workflow', 'echo-list', input] as const,
|
|
108
|
+
queryFn: () => sdk['playground']['workflow']['echo-list'](input),
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({
|
|
112
|
+
mutationKey: ['playground', 'workflow', 'ping'],
|
|
113
|
+
mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
export const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({
|
|
117
|
+
queryKey: ['playground', 'workflow', 'subjects-list', input] as const,
|
|
118
|
+
queryFn: () => sdk['playground']['workflow']['subjects-list'](input),
|
|
119
|
+
});
|