@lessly/sdk-app 63.6.0 → 63.7.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 (36) hide show
  1. package/dist/_types/gen/client.gen.d.ts +39 -1
  2. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  3. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  4. package/dist/_types/gen/playground/index.d.ts +3 -0
  5. package/dist/_types/gen/playground/queryOptions.gen.d.ts +62 -0
  6. package/dist/_types/gen/types.gen.d.ts +264 -0
  7. package/dist/_types/gen/workflow/index.d.ts +2 -0
  8. package/dist/_types/gen/workflow/queryOptions.gen.d.ts +6 -0
  9. package/dist/chunk-FVKBKCNN.js +10487 -0
  10. package/dist/chunk-FVKBKCNN.js.map +1 -0
  11. package/dist/index.cjs +238 -2
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.js +62 -10299
  14. package/dist/index.js.map +1 -1
  15. package/dist/playground/index.cjs +96 -0
  16. package/dist/playground/index.cjs.map +1 -0
  17. package/dist/playground/index.d.cts +1 -0
  18. package/dist/playground/index.d.ts +1 -0
  19. package/dist/playground/index.js +70 -0
  20. package/dist/playground/index.js.map +1 -0
  21. package/dist/workflow/index.cjs +11 -0
  22. package/dist/workflow/index.cjs.map +1 -0
  23. package/dist/workflow/index.d.cts +1 -0
  24. package/dist/workflow/index.d.ts +1 -0
  25. package/dist/workflow/index.js +9 -0
  26. package/dist/workflow/index.js.map +1 -0
  27. package/package.json +22 -2
  28. package/src/gen/bindings.gen.ts +187 -1
  29. package/src/gen/client.gen.ts +70 -0
  30. package/src/gen/manifest.gen.ts +60 -2
  31. package/src/gen/playground/connect.gen.ts +9 -0
  32. package/src/gen/playground/index.ts +4 -0
  33. package/src/gen/playground/queryOptions.gen.ts +105 -0
  34. package/src/gen/types.gen.ts +309 -0
  35. package/src/gen/workflow/index.ts +3 -0
  36. package/src/gen/workflow/queryOptions.gen.ts +11 -0
@@ -0,0 +1 @@
1
+ export * from '../_types/gen/playground/index.js';
@@ -0,0 +1 @@
1
+ export * from '../_types/gen/playground/index.js';
@@ -0,0 +1,70 @@
1
+ import { wsBindings } from '../chunk-FVKBKCNN.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
+
65
+ // src/gen/playground/connect.gen.ts
66
+ var playgroundWsEchoConnect = (sdk, input) => sdk.openStream(wsBindings["playground"]["ws"]["echo"], input);
67
+
68
+ export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWsEchoConnect };
69
+ //# sourceMappingURL=index.js.map
70
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,UAAA,EAAY,CAAC,KAAA,KAA4C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,aAAa,CAAA,CAAE,KAAK;AAC5G,CAAA;AAEO,IAAM,2CAAA,GAA8C,CAAC,G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AA,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"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ // src/gen/workflow/queryOptions.gen.ts
4
+ var workflowHealthPingQueryOptions = (sdk, input) => ({
5
+ queryKey: ["workflow", "health", "ping", input],
6
+ queryFn: () => sdk["workflow"]["health"]["ping"](input)
7
+ });
8
+
9
+ exports.workflowHealthPingQueryOptions = workflowHealthPingQueryOptions;
10
+ //# sourceMappingURL=index.cjs.map
11
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";;;AAOO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,UAAA,EAAY,QAAA,EAAU,QAAQ,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,QAAQ,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACxD,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n} from '../types.gen';\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n"]}
@@ -0,0 +1 @@
1
+ export * from '../_types/gen/workflow/index.js';
@@ -0,0 +1 @@
1
+ export * from '../_types/gen/workflow/index.js';
@@ -0,0 +1,9 @@
1
+ // src/gen/workflow/queryOptions.gen.ts
2
+ var workflowHealthPingQueryOptions = (sdk, input) => ({
3
+ queryKey: ["workflow", "health", "ping", input],
4
+ queryFn: () => sdk["workflow"]["health"]["ping"](input)
5
+ });
6
+
7
+ export { workflowHealthPingQueryOptions };
8
+ //# sourceMappingURL=index.js.map
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";AAOO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,UAAA,EAAY,QAAA,EAAU,QAAQ,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,QAAQ,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACxD,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n} from '../types.gen';\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
- "version": "63.6.0",
3
+ "version": "63.7.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "engines": {
@@ -148,6 +148,16 @@
148
148
  "default": "./dist/organization/index.cjs"
149
149
  }
150
150
  },
151
+ "./playground": {
152
+ "import": {
153
+ "types": "./dist/playground/index.d.ts",
154
+ "default": "./dist/playground/index.js"
155
+ },
156
+ "require": {
157
+ "types": "./dist/playground/index.d.cts",
158
+ "default": "./dist/playground/index.cjs"
159
+ }
160
+ },
151
161
  "./realtime": {
152
162
  "import": {
153
163
  "types": "./dist/realtime/index.d.ts",
@@ -197,7 +207,17 @@
197
207
  "types": "./dist/waitlist/index.d.cts",
198
208
  "default": "./dist/waitlist/index.cjs"
199
209
  }
210
+ },
211
+ "./workflow": {
212
+ "import": {
213
+ "types": "./dist/workflow/index.d.ts",
214
+ "default": "./dist/workflow/index.js"
215
+ },
216
+ "require": {
217
+ "types": "./dist/workflow/index.d.cts",
218
+ "default": "./dist/workflow/index.cjs"
219
+ }
200
220
  }
201
221
  },
202
- "sdkContentHash": "sha256:ba924e3baf841cfdd83445dacd7a4581ad68f28e0ebc5d51fac4774d842b3d3f"
222
+ "sdkContentHash": "sha256:ab767876b2c825d51232e58ac6221495de74df29e0e29d40f5eb0cc2e1f2158c"
203
223
  }
@@ -7116,6 +7116,173 @@ export const bindings: BindingsMap = {
7116
7116
  }
7117
7117
  }
7118
7118
  },
7119
+ "playground": {
7120
+ "analytics": {
7121
+ "overview": {
7122
+ "level": "read",
7123
+ "method": "POST",
7124
+ "operationKey": "playground_analytics_overview",
7125
+ "params": [
7126
+ {
7127
+ "in": "body",
7128
+ "name": "limit"
7129
+ }
7130
+ ],
7131
+ "path": "/playground/analytics/overview",
7132
+ "readOnly": true
7133
+ }
7134
+ },
7135
+ "billing": {
7136
+ "entitlements": {
7137
+ "level": "read",
7138
+ "method": "POST",
7139
+ "operationKey": "playground_billing_entitlements",
7140
+ "path": "/playground/billing/entitlements",
7141
+ "readOnly": true
7142
+ },
7143
+ "record-usage": {
7144
+ "level": "write",
7145
+ "method": "POST",
7146
+ "operationKey": "playground_billing_record-usage",
7147
+ "params": [
7148
+ {
7149
+ "in": "body",
7150
+ "name": "value"
7151
+ }
7152
+ ],
7153
+ "path": "/playground/billing/usage",
7154
+ "readOnly": false
7155
+ }
7156
+ },
7157
+ "clickup": {
7158
+ "create-task": {
7159
+ "level": "write",
7160
+ "method": "POST",
7161
+ "operationKey": "playground_clickup_create-task",
7162
+ "params": [
7163
+ {
7164
+ "in": "body",
7165
+ "name": "listId"
7166
+ },
7167
+ {
7168
+ "in": "body",
7169
+ "name": "name"
7170
+ }
7171
+ ],
7172
+ "path": "/playground/clickup/tasks",
7173
+ "readOnly": false
7174
+ },
7175
+ "get-last-webhook": {
7176
+ "level": "read",
7177
+ "method": "GET",
7178
+ "operationKey": "playground_clickup_get-last-webhook",
7179
+ "path": "/playground/clickup/webhooks/last",
7180
+ "readOnly": true
7181
+ },
7182
+ "get-overview": {
7183
+ "level": "read",
7184
+ "method": "GET",
7185
+ "operationKey": "playground_clickup_get-overview",
7186
+ "path": "/playground/clickup/overview",
7187
+ "readOnly": true
7188
+ }
7189
+ },
7190
+ "gdrive": {
7191
+ "get-last-change": {
7192
+ "level": "read",
7193
+ "method": "GET",
7194
+ "operationKey": "playground_gdrive_get-last-change",
7195
+ "path": "/playground/gdrive/changes/last",
7196
+ "readOnly": true
7197
+ },
7198
+ "read-file": {
7199
+ "level": "read",
7200
+ "method": "POST",
7201
+ "operationKey": "playground_gdrive_read-file",
7202
+ "params": [
7203
+ {
7204
+ "in": "body",
7205
+ "name": "fileId"
7206
+ }
7207
+ ],
7208
+ "path": "/playground/gdrive/file",
7209
+ "readOnly": true
7210
+ }
7211
+ },
7212
+ "googleads": {
7213
+ "read-customer": {
7214
+ "level": "read",
7215
+ "method": "POST",
7216
+ "operationKey": "playground_googleads_read-customer",
7217
+ "path": "/playground/googleads/customer",
7218
+ "readOnly": true
7219
+ }
7220
+ },
7221
+ "lifecycle": {
7222
+ "get-state": {
7223
+ "level": "read",
7224
+ "method": "GET",
7225
+ "operationKey": "playground_lifecycle_get-state",
7226
+ "path": "/playground/lifecycle/state",
7227
+ "readOnly": true
7228
+ },
7229
+ "list-events": {
7230
+ "level": "read",
7231
+ "method": "GET",
7232
+ "operationKey": "playground_lifecycle_list-events",
7233
+ "path": "/playground/lifecycle/events",
7234
+ "readOnly": true
7235
+ }
7236
+ },
7237
+ "webhook": {
7238
+ "get-last": {
7239
+ "level": "read",
7240
+ "method": "GET",
7241
+ "operationKey": "playground_webhook_get-last",
7242
+ "path": "/playground/webhooks/last",
7243
+ "readOnly": true
7244
+ }
7245
+ },
7246
+ "workflow": {
7247
+ "echo": {
7248
+ "level": "write",
7249
+ "method": "POST",
7250
+ "operationKey": "playground_workflow_echo",
7251
+ "params": [
7252
+ {
7253
+ "in": "body",
7254
+ "name": "note"
7255
+ },
7256
+ {
7257
+ "in": "body",
7258
+ "name": "tags"
7259
+ }
7260
+ ],
7261
+ "path": "/playground/workflow/echo",
7262
+ "readOnly": false
7263
+ },
7264
+ "echo-list": {
7265
+ "level": "read",
7266
+ "method": "GET",
7267
+ "operationKey": "playground_workflow_echo-list",
7268
+ "path": "/playground/workflow/echoes",
7269
+ "readOnly": true
7270
+ },
7271
+ "ping": {
7272
+ "level": "write",
7273
+ "method": "POST",
7274
+ "operationKey": "playground_workflow_ping",
7275
+ "params": [
7276
+ {
7277
+ "in": "body",
7278
+ "name": "kind"
7279
+ }
7280
+ ],
7281
+ "path": "/playground/workflow/ping",
7282
+ "readOnly": false
7283
+ }
7284
+ }
7285
+ },
7119
7286
  "realtime": {
7120
7287
  "archive": {
7121
7288
  "export": {
@@ -10294,7 +10461,26 @@ export const bindings: BindingsMap = {
10294
10461
  "readOnly": true
10295
10462
  }
10296
10463
  }
10464
+ },
10465
+ "workflow": {
10466
+ "health": {
10467
+ "ping": {
10468
+ "level": "read",
10469
+ "method": "GET",
10470
+ "operationKey": "workflow_health_ping",
10471
+ "path": "/workflow/health/ping",
10472
+ "readOnly": true
10473
+ }
10474
+ }
10297
10475
  }
10298
10476
  };
10299
10477
 
10300
- export const wsBindings: WsBindingsMap = {};
10478
+ export const wsBindings: WsBindingsMap = {
10479
+ "playground": {
10480
+ "ws": {
10481
+ "echo": {
10482
+ "path": "/playground/ws/echo"
10483
+ }
10484
+ }
10485
+ }
10486
+ };
@@ -769,6 +769,36 @@ import type {
769
769
  OrganizationXInstallOutput,
770
770
  OrganizationYoutubeInstallInput,
771
771
  OrganizationYoutubeInstallOutput,
772
+ PlaygroundAnalyticsOverviewInput,
773
+ PlaygroundAnalyticsOverviewOutput,
774
+ PlaygroundBillingEntitlementsInput,
775
+ PlaygroundBillingEntitlementsOutput,
776
+ PlaygroundBillingRecordUsageInput,
777
+ PlaygroundBillingRecordUsageOutput,
778
+ PlaygroundClickupCreateTaskInput,
779
+ PlaygroundClickupCreateTaskOutput,
780
+ PlaygroundClickupGetLastWebhookInput,
781
+ PlaygroundClickupGetLastWebhookOutput,
782
+ PlaygroundClickupGetOverviewInput,
783
+ PlaygroundClickupGetOverviewOutput,
784
+ PlaygroundGdriveGetLastChangeInput,
785
+ PlaygroundGdriveGetLastChangeOutput,
786
+ PlaygroundGdriveReadFileInput,
787
+ PlaygroundGdriveReadFileOutput,
788
+ PlaygroundGoogleadsReadCustomerInput,
789
+ PlaygroundGoogleadsReadCustomerOutput,
790
+ PlaygroundLifecycleGetStateInput,
791
+ PlaygroundLifecycleGetStateOutput,
792
+ PlaygroundLifecycleListEventsInput,
793
+ PlaygroundLifecycleListEventsOutput,
794
+ PlaygroundWebhookGetLastInput,
795
+ PlaygroundWebhookGetLastOutput,
796
+ PlaygroundWorkflowEchoInput,
797
+ PlaygroundWorkflowEchoListInput,
798
+ PlaygroundWorkflowEchoListOutput,
799
+ PlaygroundWorkflowEchoOutput,
800
+ PlaygroundWorkflowPingInput,
801
+ PlaygroundWorkflowPingOutput,
772
802
  RealtimeArchiveExportInput,
773
803
  RealtimeArchiveExportOutput,
774
804
  RealtimeArchiveExportStatusInput,
@@ -1087,6 +1117,8 @@ import type {
1087
1117
  WaitlistSignupsFunnelOutput,
1088
1118
  WaitlistSignupsListInput,
1089
1119
  WaitlistSignupsListOutput,
1120
+ WorkflowHealthPingInput,
1121
+ WorkflowHealthPingOutput,
1090
1122
  } from './types.gen';
1091
1123
 
1092
1124
  export interface GeneratedClient {
@@ -1778,6 +1810,39 @@ export interface GeneratedClient {
1778
1810
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1779
1811
  };
1780
1812
  };
1813
+ playground: {
1814
+ analytics: {
1815
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1816
+ };
1817
+ billing: {
1818
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1819
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1820
+ };
1821
+ clickup: {
1822
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1823
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1824
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1825
+ };
1826
+ gdrive: {
1827
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1828
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1829
+ };
1830
+ googleads: {
1831
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1832
+ };
1833
+ lifecycle: {
1834
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1835
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1836
+ };
1837
+ webhook: {
1838
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
1839
+ };
1840
+ workflow: {
1841
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
1842
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
1843
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
1844
+ };
1845
+ };
1781
1846
  realtime: {
1782
1847
  archive: {
1783
1848
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
@@ -2079,4 +2144,9 @@ export interface GeneratedClient {
2079
2144
  list: ((input: WaitlistSignupsListInput) => Promise<WaitlistSignupsListOutput>) & Operation;
2080
2145
  };
2081
2146
  };
2147
+ workflow: {
2148
+ health: {
2149
+ ping: ((input: WorkflowHealthPingInput) => Promise<WorkflowHealthPingOutput>) & Operation;
2150
+ };
2151
+ };
2082
2152
  }
@@ -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', 'waitlist'] as const;
4
+ export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist', 'workflow'] as const;
5
5
 
6
6
  export const operations: Record<string, ToolLevel> = {
7
7
  'analytics_catalog_get': 'read',
@@ -388,6 +388,21 @@ export const operations: Record<string, ToolLevel> = {
388
388
  'organization_support_threads_list': 'read',
389
389
  'organization_x_install': 'read',
390
390
  'organization_youtube_install': 'read',
391
+ 'playground_analytics_overview': 'read',
392
+ 'playground_billing_entitlements': 'read',
393
+ 'playground_billing_record-usage': 'write',
394
+ 'playground_clickup_create-task': 'write',
395
+ 'playground_clickup_get-last-webhook': 'read',
396
+ 'playground_clickup_get-overview': 'read',
397
+ 'playground_gdrive_get-last-change': 'read',
398
+ 'playground_gdrive_read-file': 'read',
399
+ 'playground_googleads_read-customer': 'read',
400
+ 'playground_lifecycle_get-state': 'read',
401
+ 'playground_lifecycle_list-events': 'read',
402
+ 'playground_webhook_get-last': 'read',
403
+ 'playground_workflow_echo': 'write',
404
+ 'playground_workflow_echo-list': 'read',
405
+ 'playground_workflow_ping': 'write',
391
406
  'realtime_archive_export': 'admin',
392
407
  'realtime_archive_export_status': 'read',
393
408
  'realtime_archive_get': 'read',
@@ -547,6 +562,49 @@ export const operations: Record<string, ToolLevel> = {
547
562
  'waitlist_signups_erase': 'write',
548
563
  'waitlist_signups_funnel': 'read',
549
564
  'waitlist_signups_list': 'read',
565
+ 'workflow_health_ping': 'read',
550
566
  };
551
567
 
552
- export const compositions: Record<string, ToolComposition> = {};
568
+ export const compositions: Record<string, ToolComposition> = {
569
+ 'mail_audience_create': {"label":"Create audience"},
570
+ 'mail_audience_delete': {"label":"Delete audience"},
571
+ 'mail_audience_get': {"label":"Get audience"},
572
+ 'mail_audience_list': {"label":"List audiences"},
573
+ 'mail_audience_update': {"label":"Rename audience"},
574
+ 'mail_broadcast_cancel': {"pii":["output.from","output.replyTo"],"label":"Cancel broadcast"},
575
+ 'mail_broadcast_create': {"pii":["input.from","input.replyTo","output.from","output.replyTo"],"label":"Create broadcast","options":{"audienceId":"mail_audience_list","template.id":"mail_template_list"}},
576
+ 'mail_broadcast_delete': {"label":"Delete broadcast"},
577
+ 'mail_broadcast_get': {"pii":["output.from","output.replyTo"],"label":"Get broadcast"},
578
+ 'mail_broadcast_list': {"pii":["output.items[].from","output.items[].replyTo"],"label":"List broadcasts"},
579
+ 'mail_broadcast_queue': {"pii":["output.from","output.replyTo"],"label":"Queue broadcast"},
580
+ 'mail_broadcast_stats': {"label":"Broadcast stats"},
581
+ 'mail_broadcast_update': {"pii":["input.from","input.replyTo","output.from","output.replyTo"],"label":"Update broadcast","options":{"audienceId":"mail_audience_list","template.id":"mail_template_list"}},
582
+ 'mail_contact_create': {"pii":["input.email","input.properties","output.email","output.properties"],"label":"Create contact","options":{"audience_id":"mail_audience_list"}},
583
+ 'mail_contact_delete': {"label":"Delete contact","options":{"audience_id":"mail_audience_list"}},
584
+ 'mail_contact_get': {"pii":["output.email","output.properties"],"label":"Get contact","options":{"audience_id":"mail_audience_list"}},
585
+ 'mail_contact_list': {"pii":["output.data[].email","output.data[].properties"],"label":"List contacts","options":{"audience_id":"mail_audience_list"}},
586
+ 'mail_contact_update': {"pii":["input.properties","output.email","output.properties"],"label":"Update contact","options":{"audience_id":"mail_audience_list"}},
587
+ 'mail_domain_allowed_list': {"label":"List allowed apex domains"},
588
+ 'mail_domain_get': {"label":"Get domain"},
589
+ 'mail_domain_list': {"label":"List domains"},
590
+ 'mail_domain_verify': {"label":"Verify domain","completion_event":"mail/domain.verified"},
591
+ 'mail_email_cancel': {"label":"Cancel email"},
592
+ 'mail_email_get': {"pii":["output.from","output.to","output.cc","output.bcc"],"label":"Get email"},
593
+ 'mail_email_send': {"pii":["input.from","input.to","input.cc","input.bcc","input.reply_to"],"label":"Send email","options":{"template.id":"mail_template_list"},"completion_event":"mail/email.delivered"},
594
+ 'mail_email_send_batch': {"pii":["input.emails[].from","input.emails[].to","input.emails[].cc","input.emails[].bcc","input.emails[].reply_to"],"label":"Send email batch"},
595
+ 'mail_email_update': {"label":"Reschedule email"},
596
+ 'mail_reputation_get': {"label":"Get reputation status"},
597
+ 'mail_stats_get': {"label":"Get sending stats"},
598
+ 'mail_suppression_add': {"pii":["input.address","output.address"],"label":"Suppress address"},
599
+ 'mail_suppression_list': {"pii":["input.q","output.items[].address"],"label":"List suppressions"},
600
+ 'mail_suppression_remove': {"pii":["input.address","output.address"],"label":"Unsuppress address"},
601
+ 'mail_template_create': {"label":"Create template"},
602
+ 'mail_template_delete': {"label":"Delete template"},
603
+ 'mail_template_get': {"label":"Get template"},
604
+ 'mail_template_list': {"label":"List templates"},
605
+ 'mail_template_publish': {"label":"Publish template"},
606
+ 'mail_template_update': {"label":"Update template"},
607
+ 'mail_usage_get': {"label":"Get usage"},
608
+ 'playground_workflow_echo': {"pii":["input.note"],"label":"Store workflow echo"},
609
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
610
+ };
@@ -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, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWsEchoInput } from '../types.gen';