@lessly/sdk-app 70.0.0 → 70.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/_types/gen/client.gen.d.ts +3 -40
  2. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  3. package/dist/_types/gen/organization/index.d.ts +1 -1
  4. package/dist/_types/gen/organization/queryOptions.gen.d.ts +1 -13
  5. package/dist/_types/gen/types.gen.d.ts +51 -380
  6. package/dist/_types/gen/users/index.d.ts +1 -1
  7. package/dist/_types/gen/users/queryOptions.gen.d.ts +9 -1
  8. package/dist/index.cjs +49 -348
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.js +11053 -75
  11. package/dist/index.js.map +1 -1
  12. package/dist/organization/index.cjs +0 -15
  13. package/dist/organization/index.cjs.map +1 -1
  14. package/dist/organization/index.js +1 -13
  15. package/dist/organization/index.js.map +1 -1
  16. package/dist/users/index.cjs +10 -0
  17. package/dist/users/index.cjs.map +1 -1
  18. package/dist/users/index.js +9 -1
  19. package/dist/users/index.js.map +1 -1
  20. package/package.json +2 -12
  21. package/src/gen/bindings.gen.ts +37 -284
  22. package/src/gen/client.gen.ts +6 -77
  23. package/src/gen/manifest.gen.ts +14 -74
  24. package/src/gen/organization/index.ts +1 -1
  25. package/src/gen/organization/queryOptions.gen.ts +0 -19
  26. package/src/gen/types.gen.ts +55 -430
  27. package/src/gen/users/index.ts +1 -1
  28. package/src/gen/users/queryOptions.gen.ts +12 -0
  29. package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
  30. package/dist/_types/gen/playground/index.d.ts +0 -3
  31. package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -66
  32. package/dist/chunk-GFP6RQ7Z.js +0 -11291
  33. package/dist/chunk-GFP6RQ7Z.js.map +0 -1
  34. package/dist/playground/index.cjs +0 -101
  35. package/dist/playground/index.cjs.map +0 -1
  36. package/dist/playground/index.d.cts +0 -1
  37. package/dist/playground/index.d.ts +0 -1
  38. package/dist/playground/index.js +0 -74
  39. package/dist/playground/index.js.map +0 -1
  40. package/src/gen/playground/connect.gen.ts +0 -9
  41. package/src/gen/playground/index.ts +0 -4
  42. package/src/gen/playground/queryOptions.gen.ts +0 -112
@@ -1 +0,0 @@
1
- export * from '../_types/gen/playground/index.js';
@@ -1 +0,0 @@
1
- export * from '../_types/gen/playground/index.js';
@@ -1,74 +0,0 @@
1
- import { wsBindings } from '../chunk-GFP6RQ7Z.js';
2
-
3
- // src/gen/playground/queryOptions.gen.ts
4
- var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
5
- queryKey: ["playground", "analytics", "overview", input],
6
- queryFn: () => sdk["playground"]["analytics"]["overview"](input)
7
- });
8
- var playgroundBillingEntitlementsQueryOptions = (sdk, input) => ({
9
- queryKey: ["playground", "billing", "entitlements", input],
10
- queryFn: () => sdk["playground"]["billing"]["entitlements"](input)
11
- });
12
- var playgroundBillingRecordUsageMutationOptions = (sdk) => ({
13
- mutationKey: ["playground", "billing", "record-usage"],
14
- mutationFn: (input) => sdk["playground"]["billing"]["record-usage"](input)
15
- });
16
- var playgroundClickupCreateTaskMutationOptions = (sdk) => ({
17
- mutationKey: ["playground", "clickup", "create-task"],
18
- mutationFn: (input) => sdk["playground"]["clickup"]["create-task"](input)
19
- });
20
- var playgroundClickupGetLastWebhookQueryOptions = (sdk, input) => ({
21
- queryKey: ["playground", "clickup", "get-last-webhook", input],
22
- queryFn: () => sdk["playground"]["clickup"]["get-last-webhook"](input)
23
- });
24
- var playgroundClickupGetOverviewQueryOptions = (sdk, input) => ({
25
- queryKey: ["playground", "clickup", "get-overview", input],
26
- queryFn: () => sdk["playground"]["clickup"]["get-overview"](input)
27
- });
28
- var playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
29
- queryKey: ["playground", "gdrive", "get-last-change", input],
30
- queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
31
- });
32
- var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
33
- queryKey: ["playground", "gdrive", "read-file", input],
34
- queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
35
- });
36
- var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
37
- queryKey: ["playground", "googleads", "read-customer", input],
38
- queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
39
- });
40
- var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
41
- queryKey: ["playground", "lifecycle", "get-state", input],
42
- queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
43
- });
44
- var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
45
- queryKey: ["playground", "lifecycle", "list-events", input],
46
- queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
47
- });
48
- var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
49
- queryKey: ["playground", "webhook", "get-last", input],
50
- queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
51
- });
52
- var playgroundWorkflowEchoMutationOptions = (sdk) => ({
53
- mutationKey: ["playground", "workflow", "echo"],
54
- mutationFn: (input) => sdk["playground"]["workflow"]["echo"](input)
55
- });
56
- var playgroundWorkflowEchoListQueryOptions = (sdk, input) => ({
57
- queryKey: ["playground", "workflow", "echo-list", input],
58
- queryFn: () => sdk["playground"]["workflow"]["echo-list"](input)
59
- });
60
- var playgroundWorkflowPingMutationOptions = (sdk) => ({
61
- mutationKey: ["playground", "workflow", "ping"],
62
- mutationFn: (input) => sdk["playground"]["workflow"]["ping"](input)
63
- });
64
- var playgroundWorkflowSubjectsListQueryOptions = (sdk, input) => ({
65
- queryKey: ["playground", "workflow", "subjects-list", input],
66
- queryFn: () => sdk["playground"]["workflow"]["subjects-list"](input)
67
- });
68
-
69
- // src/gen/playground/connect.gen.ts
70
- var playgroundWsEchoConnect = (sdk, input) => sdk.openStream(wsBindings["playground"]["ws"]["echo"], input);
71
-
72
- export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWorkflowSubjectsListQueryOptions, playgroundWsEchoConnect };
73
- //# sourceMappingURL=index.js.map
74
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
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,GA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AAA,EAAU,CAAC,YAAA,EAAc,UAAA,EAAY,aAAa,KAAK,CAAA;AAAA,EACvD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,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;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"]}
@@ -1,9 +0,0 @@
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>);
@@ -1,4 +0,0 @@
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, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen';
@@ -1,112 +0,0 @@
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
- PlaygroundGdriveGetLastChangeInput,
15
- PlaygroundGdriveGetLastChangeOutput,
16
- PlaygroundGdriveReadFileInput,
17
- PlaygroundGdriveReadFileOutput,
18
- PlaygroundGoogleadsReadCustomerInput,
19
- PlaygroundGoogleadsReadCustomerOutput,
20
- PlaygroundLifecycleGetStateInput,
21
- PlaygroundLifecycleGetStateOutput,
22
- PlaygroundLifecycleListEventsInput,
23
- PlaygroundLifecycleListEventsOutput,
24
- PlaygroundWebhookGetLastInput,
25
- PlaygroundWebhookGetLastOutput,
26
- PlaygroundWorkflowEchoInput,
27
- PlaygroundWorkflowEchoListInput,
28
- PlaygroundWorkflowEchoListOutput,
29
- PlaygroundWorkflowPingInput,
30
- PlaygroundWorkflowSubjectsListInput,
31
- PlaygroundWorkflowSubjectsListOutput,
32
- } from '../types.gen';
33
-
34
- export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
35
- queryKey: ['playground', 'analytics', 'overview', input] as const,
36
- queryFn: () => sdk['playground']['analytics']['overview'](input),
37
- });
38
-
39
- export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
40
- queryKey: ['playground', 'billing', 'entitlements', input] as const,
41
- queryFn: () => sdk['playground']['billing']['entitlements'](input),
42
- });
43
-
44
- export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
45
- mutationKey: ['playground', 'billing', 'record-usage'],
46
- mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
47
- });
48
-
49
- export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
50
- mutationKey: ['playground', 'clickup', 'create-task'],
51
- mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
52
- });
53
-
54
- export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
55
- queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
56
- queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
57
- });
58
-
59
- export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
60
- queryKey: ['playground', 'clickup', 'get-overview', input] as const,
61
- queryFn: () => sdk['playground']['clickup']['get-overview'](input),
62
- });
63
-
64
- export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
65
- queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
66
- queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
67
- });
68
-
69
- export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
70
- queryKey: ['playground', 'gdrive', 'read-file', input] as const,
71
- queryFn: () => sdk['playground']['gdrive']['read-file'](input),
72
- });
73
-
74
- export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
75
- queryKey: ['playground', 'googleads', 'read-customer', input] as const,
76
- queryFn: () => sdk['playground']['googleads']['read-customer'](input),
77
- });
78
-
79
- export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
80
- queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
81
- queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
82
- });
83
-
84
- export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
85
- queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
86
- queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
87
- });
88
-
89
- export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
90
- queryKey: ['playground', 'webhook', 'get-last', input] as const,
91
- queryFn: () => sdk['playground']['webhook']['get-last'](input),
92
- });
93
-
94
- export const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({
95
- mutationKey: ['playground', 'workflow', 'echo'],
96
- mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),
97
- });
98
-
99
- export const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({
100
- queryKey: ['playground', 'workflow', 'echo-list', input] as const,
101
- queryFn: () => sdk['playground']['workflow']['echo-list'](input),
102
- });
103
-
104
- export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({
105
- mutationKey: ['playground', 'workflow', 'ping'],
106
- mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
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
- });