@lepsto/sdk-app 89.7.0 → 89.7.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lepsto/sdk-app",
3
3
  "description": "The Lepsto SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lepsto Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lepsto platform services with full type safety and autocompletion.",
4
- "version": "89.7.0",
4
+ "version": "89.7.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -159,6 +159,16 @@
159
159
  "default": "./dist/organization/index.cjs"
160
160
  }
161
161
  },
162
+ "./playground": {
163
+ "import": {
164
+ "types": "./dist/playground/index.d.ts",
165
+ "default": "./dist/playground/index.js"
166
+ },
167
+ "require": {
168
+ "types": "./dist/playground/index.d.cts",
169
+ "default": "./dist/playground/index.cjs"
170
+ }
171
+ },
162
172
  "./realtime": {
163
173
  "import": {
164
174
  "types": "./dist/realtime/index.d.ts",
@@ -210,5 +220,5 @@
210
220
  }
211
221
  }
212
222
  },
213
- "sdkContentHash": "sha256:45496732627d589d8385fff5f2c249313c821a2af528f2a8dfe13d49c327c724"
223
+ "sdkContentHash": "sha256:667189810c5f5366535daadeb35c79989b1a48b75f227adae0285d7e266f2029"
214
224
  }
@@ -7404,6 +7404,213 @@ export const bindings: BindingsMap = {
7404
7404
  }
7405
7405
  }
7406
7406
  },
7407
+ "playground": {
7408
+ "analytics": {
7409
+ "overview": {
7410
+ "level": "read",
7411
+ "method": "POST",
7412
+ "operationKey": "playground_analytics_overview",
7413
+ "params": [
7414
+ {
7415
+ "in": "body",
7416
+ "name": "limit"
7417
+ }
7418
+ ],
7419
+ "path": "/playground/analytics/overview",
7420
+ "readOnly": true
7421
+ }
7422
+ },
7423
+ "billing": {
7424
+ "entitlements": {
7425
+ "level": "read",
7426
+ "method": "POST",
7427
+ "operationKey": "playground_billing_entitlements",
7428
+ "path": "/playground/billing/entitlements",
7429
+ "readOnly": true
7430
+ },
7431
+ "record-usage": {
7432
+ "level": "write",
7433
+ "method": "POST",
7434
+ "operationKey": "playground_billing_record-usage",
7435
+ "params": [
7436
+ {
7437
+ "in": "body",
7438
+ "name": "value"
7439
+ }
7440
+ ],
7441
+ "path": "/playground/billing/usage",
7442
+ "readOnly": false
7443
+ }
7444
+ },
7445
+ "clickup": {
7446
+ "create-task": {
7447
+ "level": "write",
7448
+ "method": "POST",
7449
+ "operationKey": "playground_clickup_create-task",
7450
+ "params": [
7451
+ {
7452
+ "in": "body",
7453
+ "name": "listId"
7454
+ },
7455
+ {
7456
+ "in": "body",
7457
+ "name": "name"
7458
+ }
7459
+ ],
7460
+ "path": "/playground/clickup/tasks",
7461
+ "readOnly": false
7462
+ },
7463
+ "get-last-webhook": {
7464
+ "level": "read",
7465
+ "method": "GET",
7466
+ "operationKey": "playground_clickup_get-last-webhook",
7467
+ "path": "/playground/clickup/webhooks/last",
7468
+ "readOnly": true
7469
+ },
7470
+ "get-overview": {
7471
+ "level": "read",
7472
+ "method": "GET",
7473
+ "operationKey": "playground_clickup_get-overview",
7474
+ "path": "/playground/clickup/overview",
7475
+ "readOnly": true
7476
+ }
7477
+ },
7478
+ "echo": {
7479
+ "ping": {
7480
+ "level": "read",
7481
+ "method": "POST",
7482
+ "operationKey": "playground_echo_ping",
7483
+ "params": [
7484
+ {
7485
+ "in": "body",
7486
+ "name": "message"
7487
+ }
7488
+ ],
7489
+ "path": "/playground/echo/ping",
7490
+ "readOnly": true
7491
+ }
7492
+ },
7493
+ "gdrive": {
7494
+ "get-last-change": {
7495
+ "level": "read",
7496
+ "method": "GET",
7497
+ "operationKey": "playground_gdrive_get-last-change",
7498
+ "path": "/playground/gdrive/changes/last",
7499
+ "readOnly": true
7500
+ },
7501
+ "read-file": {
7502
+ "level": "read",
7503
+ "method": "POST",
7504
+ "operationKey": "playground_gdrive_read-file",
7505
+ "params": [
7506
+ {
7507
+ "in": "body",
7508
+ "name": "fileId"
7509
+ }
7510
+ ],
7511
+ "path": "/playground/gdrive/file",
7512
+ "readOnly": true
7513
+ }
7514
+ },
7515
+ "googleads": {
7516
+ "read-customer": {
7517
+ "level": "read",
7518
+ "method": "POST",
7519
+ "operationKey": "playground_googleads_read-customer",
7520
+ "path": "/playground/googleads/customer",
7521
+ "readOnly": true
7522
+ }
7523
+ },
7524
+ "lifecycle": {
7525
+ "get-state": {
7526
+ "level": "read",
7527
+ "method": "GET",
7528
+ "operationKey": "playground_lifecycle_get-state",
7529
+ "path": "/playground/lifecycle/state",
7530
+ "readOnly": true
7531
+ },
7532
+ "list-events": {
7533
+ "level": "read",
7534
+ "method": "GET",
7535
+ "operationKey": "playground_lifecycle_list-events",
7536
+ "path": "/playground/lifecycle/events",
7537
+ "readOnly": true
7538
+ }
7539
+ },
7540
+ "webhook": {
7541
+ "get-last": {
7542
+ "level": "read",
7543
+ "method": "GET",
7544
+ "operationKey": "playground_webhook_get-last",
7545
+ "path": "/playground/webhooks/last",
7546
+ "readOnly": true
7547
+ }
7548
+ },
7549
+ "workflow": {
7550
+ "echo": {
7551
+ "level": "write",
7552
+ "method": "POST",
7553
+ "operationKey": "playground_workflow_echo",
7554
+ "params": [
7555
+ {
7556
+ "in": "body",
7557
+ "name": "note"
7558
+ },
7559
+ {
7560
+ "in": "body",
7561
+ "name": "tags"
7562
+ }
7563
+ ],
7564
+ "path": "/playground/workflow/echo",
7565
+ "readOnly": false
7566
+ },
7567
+ "echo-list": {
7568
+ "level": "read",
7569
+ "method": "GET",
7570
+ "operationKey": "playground_workflow_echo-list",
7571
+ "path": "/playground/workflow/echoes",
7572
+ "readOnly": true
7573
+ },
7574
+ "ping": {
7575
+ "level": "write",
7576
+ "method": "POST",
7577
+ "operationKey": "playground_workflow_ping",
7578
+ "params": [
7579
+ {
7580
+ "in": "body",
7581
+ "name": "kind"
7582
+ }
7583
+ ],
7584
+ "path": "/playground/workflow/ping",
7585
+ "readOnly": false
7586
+ },
7587
+ "subjects-list": {
7588
+ "level": "read",
7589
+ "method": "GET",
7590
+ "operationKey": "playground_workflow_subjects-list",
7591
+ "params": [
7592
+ {
7593
+ "in": "query",
7594
+ "name": "last_activity_before"
7595
+ },
7596
+ {
7597
+ "in": "query",
7598
+ "name": "last_activity_after"
7599
+ },
7600
+ {
7601
+ "in": "query",
7602
+ "name": "limit"
7603
+ },
7604
+ {
7605
+ "in": "query",
7606
+ "name": "cursor"
7607
+ }
7608
+ ],
7609
+ "path": "/playground/workflow/subjects",
7610
+ "readOnly": true
7611
+ }
7612
+ }
7613
+ },
7407
7614
  "realtime": {
7408
7615
  "archive": {
7409
7616
  "export": {
@@ -11312,4 +11519,12 @@ export const bindings: BindingsMap = {
11312
11519
  }
11313
11520
  };
11314
11521
 
11315
- export const wsBindings: WsBindingsMap = {};
11522
+ export const wsBindings: WsBindingsMap = {
11523
+ "playground": {
11524
+ "ws": {
11525
+ "echo": {
11526
+ "path": "/playground/ws/echo"
11527
+ }
11528
+ }
11529
+ }
11530
+ };
@@ -797,6 +797,40 @@ import type {
797
797
  OrganizationXInstallOutput,
798
798
  OrganizationYoutubeInstallInput,
799
799
  OrganizationYoutubeInstallOutput,
800
+ PlaygroundAnalyticsOverviewInput,
801
+ PlaygroundAnalyticsOverviewOutput,
802
+ PlaygroundBillingEntitlementsInput,
803
+ PlaygroundBillingEntitlementsOutput,
804
+ PlaygroundBillingRecordUsageInput,
805
+ PlaygroundBillingRecordUsageOutput,
806
+ PlaygroundClickupCreateTaskInput,
807
+ PlaygroundClickupCreateTaskOutput,
808
+ PlaygroundClickupGetLastWebhookInput,
809
+ PlaygroundClickupGetLastWebhookOutput,
810
+ PlaygroundClickupGetOverviewInput,
811
+ PlaygroundClickupGetOverviewOutput,
812
+ PlaygroundEchoPingInput,
813
+ PlaygroundEchoPingOutput,
814
+ PlaygroundGdriveGetLastChangeInput,
815
+ PlaygroundGdriveGetLastChangeOutput,
816
+ PlaygroundGdriveReadFileInput,
817
+ PlaygroundGdriveReadFileOutput,
818
+ PlaygroundGoogleadsReadCustomerInput,
819
+ PlaygroundGoogleadsReadCustomerOutput,
820
+ PlaygroundLifecycleGetStateInput,
821
+ PlaygroundLifecycleGetStateOutput,
822
+ PlaygroundLifecycleListEventsInput,
823
+ PlaygroundLifecycleListEventsOutput,
824
+ PlaygroundWebhookGetLastInput,
825
+ PlaygroundWebhookGetLastOutput,
826
+ PlaygroundWorkflowEchoInput,
827
+ PlaygroundWorkflowEchoListInput,
828
+ PlaygroundWorkflowEchoListOutput,
829
+ PlaygroundWorkflowEchoOutput,
830
+ PlaygroundWorkflowPingInput,
831
+ PlaygroundWorkflowPingOutput,
832
+ PlaygroundWorkflowSubjectsListInput,
833
+ PlaygroundWorkflowSubjectsListOutput,
800
834
  RealtimeArchiveExportInput,
801
835
  RealtimeArchiveExportOutput,
802
836
  RealtimeArchiveExportStatusInput,
@@ -1916,6 +1950,43 @@ export interface GeneratedClient {
1916
1950
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1917
1951
  };
1918
1952
  };
1953
+ playground: {
1954
+ analytics: {
1955
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1956
+ };
1957
+ billing: {
1958
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1959
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1960
+ };
1961
+ clickup: {
1962
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1963
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1964
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1965
+ };
1966
+ echo: {
1967
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1968
+ };
1969
+ gdrive: {
1970
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1971
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1972
+ };
1973
+ googleads: {
1974
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1975
+ };
1976
+ lifecycle: {
1977
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1978
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1979
+ };
1980
+ webhook: {
1981
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
1982
+ };
1983
+ workflow: {
1984
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
1985
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
1986
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
1987
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
1988
+ };
1989
+ };
1919
1990
  realtime: {
1920
1991
  archive: {
1921
1992
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
@@ -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',
@@ -402,6 +402,23 @@ export const operations: Record<string, ToolLevel> = {
402
402
  'organization_support_threads_list': 'read',
403
403
  'organization_x_install': 'read',
404
404
  'organization_youtube_install': 'read',
405
+ 'playground_analytics_overview': 'read',
406
+ 'playground_billing_entitlements': 'read',
407
+ 'playground_billing_record-usage': 'write',
408
+ 'playground_clickup_create-task': 'write',
409
+ 'playground_clickup_get-last-webhook': 'read',
410
+ 'playground_clickup_get-overview': 'read',
411
+ 'playground_echo_ping': 'read',
412
+ 'playground_gdrive_get-last-change': 'read',
413
+ 'playground_gdrive_read-file': 'read',
414
+ 'playground_googleads_read-customer': 'read',
415
+ 'playground_lifecycle_get-state': 'read',
416
+ 'playground_lifecycle_list-events': 'read',
417
+ 'playground_webhook_get-last': 'read',
418
+ 'playground_workflow_echo': 'write',
419
+ 'playground_workflow_echo-list': 'read',
420
+ 'playground_workflow_ping': 'write',
421
+ 'playground_workflow_subjects-list': 'read',
405
422
  'realtime_archive_export': 'admin',
406
423
  'realtime_archive_export_status': 'read',
407
424
  'realtime_archive_get': 'read',
@@ -681,6 +698,9 @@ export const compositions: Record<string, ToolComposition> = {
681
698
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
682
699
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
683
700
  'mail_usage_get': {"label":"Get usage"},
701
+ 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
702
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
703
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
684
704
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
685
705
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
686
706
  '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
+ });