@lepsto/sdk-app 87.3.0 → 88.0.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/CHANGELOG.md +128 -0
  2. package/README.md +8 -0
  3. package/dist/_types/gen/client.gen.d.ts +41 -1
  4. package/dist/_types/gen/deployment/index.d.ts +1 -1
  5. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +5 -1
  6. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  7. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  8. package/dist/_types/gen/playground/index.d.ts +3 -0
  9. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  10. package/dist/_types/gen/types.gen.d.ts +369 -14
  11. package/dist/chunk-IWBH5QNX.js +11406 -0
  12. package/dist/chunk-IWBH5QNX.js.map +1 -0
  13. package/dist/deployment/index.cjs +5 -0
  14. package/dist/deployment/index.cjs.map +1 -1
  15. package/dist/deployment/index.js +5 -1
  16. package/dist/deployment/index.js.map +1 -1
  17. package/dist/index.cjs +241 -4
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.js +25 -11180
  20. package/dist/index.js.map +1 -1
  21. package/dist/playground/index.cjs +106 -0
  22. package/dist/playground/index.cjs.map +1 -0
  23. package/dist/playground/index.d.cts +1 -0
  24. package/dist/playground/index.d.ts +1 -0
  25. package/dist/playground/index.js +78 -0
  26. package/dist/playground/index.js.map +1 -0
  27. package/package.json +13 -2
  28. package/src/gen/bindings.gen.ts +227 -3
  29. package/src/gen/client.gen.ts +76 -0
  30. package/src/gen/deployment/index.ts +1 -1
  31. package/src/gen/deployment/queryOptions.gen.ts +7 -0
  32. package/src/gen/manifest.gen.ts +24 -3
  33. package/src/gen/playground/connect.gen.ts +9 -0
  34. package/src/gen/playground/index.ts +4 -0
  35. package/src/gen/playground/queryOptions.gen.ts +119 -0
  36. package/src/gen/types.gen.ts +418 -14
@@ -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,78 @@
1
+ import { wsBindings } from '../chunk-IWBH5QNX.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 playgroundEchoPingQueryOptions = (sdk, input) => ({
29
+ queryKey: ["playground", "echo", "ping", input],
30
+ queryFn: () => sdk["playground"]["echo"]["ping"](input)
31
+ });
32
+ var playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
33
+ queryKey: ["playground", "gdrive", "get-last-change", input],
34
+ queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
35
+ });
36
+ var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
37
+ queryKey: ["playground", "gdrive", "read-file", input],
38
+ queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
39
+ });
40
+ var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
41
+ queryKey: ["playground", "googleads", "read-customer", input],
42
+ queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
43
+ });
44
+ var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
45
+ queryKey: ["playground", "lifecycle", "get-state", input],
46
+ queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
47
+ });
48
+ var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
49
+ queryKey: ["playground", "lifecycle", "list-events", input],
50
+ queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
51
+ });
52
+ var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
53
+ queryKey: ["playground", "webhook", "get-last", input],
54
+ queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
55
+ });
56
+ var playgroundWorkflowEchoMutationOptions = (sdk) => ({
57
+ mutationKey: ["playground", "workflow", "echo"],
58
+ mutationFn: (input) => sdk["playground"]["workflow"]["echo"](input)
59
+ });
60
+ var playgroundWorkflowEchoListQueryOptions = (sdk, input) => ({
61
+ queryKey: ["playground", "workflow", "echo-list", input],
62
+ queryFn: () => sdk["playground"]["workflow"]["echo-list"](input)
63
+ });
64
+ var playgroundWorkflowPingMutationOptions = (sdk) => ({
65
+ mutationKey: ["playground", "workflow", "ping"],
66
+ mutationFn: (input) => sdk["playground"]["workflow"]["ping"](input)
67
+ });
68
+ var playgroundWorkflowSubjectsListQueryOptions = (sdk, input) => ({
69
+ queryKey: ["playground", "workflow", "subjects-list", input],
70
+ queryFn: () => sdk["playground"]["workflow"]["subjects-list"](input)
71
+ });
72
+
73
+ // src/gen/playground/connect.gen.ts
74
+ var playgroundWsEchoConnect = (sdk, input) => sdk.openStream(wsBindings["playground"]["ws"]["echo"], input);
75
+
76
+ export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundEchoPingQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWorkflowSubjectsListQueryOptions, playgroundWsEchoConnect };
77
+ //# sourceMappingURL=index.js.map
78
+ //# 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":"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","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 PlaygroundEchoPingInput,\n PlaygroundEchoPingOutput,\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 playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({\n queryKey: ['playground', 'echo', 'ping', input] as const,\n queryFn: () => sdk['playground']['echo']['ping'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n\nexport const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'echo'],\n mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),\n});\n\nexport const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({\n queryKey: ['playground', 'workflow', 'echo-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['echo-list'](input),\n});\n\nexport const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'ping'],\n mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),\n});\n\nexport const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({\n queryKey: ['playground', 'workflow', 'subjects-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['subjects-list'](input),\n});\n","// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport { wsBindings } from '../bindings.gen';\nimport type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';\nimport type {\n PlaygroundWsEchoInput,\n} from '../types.gen';\n\nexport const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>\n sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);\n"]}
package/package.json CHANGED
@@ -1,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": "87.3.0",
4
+ "version": "88.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -16,6 +16,7 @@
16
16
  "node": ">=20"
17
17
  },
18
18
  "files": [
19
+ "CHANGELOG.md",
19
20
  "dist",
20
21
  "docs/*.md",
21
22
  "docs/recipes",
@@ -158,6 +159,16 @@
158
159
  "default": "./dist/organization/index.cjs"
159
160
  }
160
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
+ },
161
172
  "./realtime": {
162
173
  "import": {
163
174
  "types": "./dist/realtime/index.d.ts",
@@ -209,5 +220,5 @@
209
220
  }
210
221
  }
211
222
  },
212
- "sdkContentHash": "sha256:82172035e21d629542b8bdbc007677e1bd89c5d12199b57f5f71251610ab610c"
223
+ "sdkContentHash": "sha256:306eada33cdbf0f57af32bf7f38f72ef5cf7267deb5d9fceae23fac37d72a2ba"
213
224
  }
@@ -3721,6 +3721,15 @@ export const bindings: BindingsMap = {
3721
3721
  "readOnly": true
3722
3722
  }
3723
3723
  },
3724
+ "ssh-bastion": {
3725
+ "get": {
3726
+ "level": "read",
3727
+ "method": "GET",
3728
+ "operationKey": "deployment_ssh_bastion_get",
3729
+ "path": "/deployment/ssh-bastion",
3730
+ "readOnly": true
3731
+ }
3732
+ },
3724
3733
  "ssh-key": {
3725
3734
  "delete": {
3726
3735
  "level": "admin",
@@ -7270,6 +7279,213 @@ export const bindings: BindingsMap = {
7270
7279
  }
7271
7280
  }
7272
7281
  },
7282
+ "playground": {
7283
+ "analytics": {
7284
+ "overview": {
7285
+ "level": "read",
7286
+ "method": "POST",
7287
+ "operationKey": "playground_analytics_overview",
7288
+ "params": [
7289
+ {
7290
+ "in": "body",
7291
+ "name": "limit"
7292
+ }
7293
+ ],
7294
+ "path": "/playground/analytics/overview",
7295
+ "readOnly": true
7296
+ }
7297
+ },
7298
+ "billing": {
7299
+ "entitlements": {
7300
+ "level": "read",
7301
+ "method": "POST",
7302
+ "operationKey": "playground_billing_entitlements",
7303
+ "path": "/playground/billing/entitlements",
7304
+ "readOnly": true
7305
+ },
7306
+ "record-usage": {
7307
+ "level": "write",
7308
+ "method": "POST",
7309
+ "operationKey": "playground_billing_record-usage",
7310
+ "params": [
7311
+ {
7312
+ "in": "body",
7313
+ "name": "value"
7314
+ }
7315
+ ],
7316
+ "path": "/playground/billing/usage",
7317
+ "readOnly": false
7318
+ }
7319
+ },
7320
+ "clickup": {
7321
+ "create-task": {
7322
+ "level": "write",
7323
+ "method": "POST",
7324
+ "operationKey": "playground_clickup_create-task",
7325
+ "params": [
7326
+ {
7327
+ "in": "body",
7328
+ "name": "listId"
7329
+ },
7330
+ {
7331
+ "in": "body",
7332
+ "name": "name"
7333
+ }
7334
+ ],
7335
+ "path": "/playground/clickup/tasks",
7336
+ "readOnly": false
7337
+ },
7338
+ "get-last-webhook": {
7339
+ "level": "read",
7340
+ "method": "GET",
7341
+ "operationKey": "playground_clickup_get-last-webhook",
7342
+ "path": "/playground/clickup/webhooks/last",
7343
+ "readOnly": true
7344
+ },
7345
+ "get-overview": {
7346
+ "level": "read",
7347
+ "method": "GET",
7348
+ "operationKey": "playground_clickup_get-overview",
7349
+ "path": "/playground/clickup/overview",
7350
+ "readOnly": true
7351
+ }
7352
+ },
7353
+ "echo": {
7354
+ "ping": {
7355
+ "level": "read",
7356
+ "method": "POST",
7357
+ "operationKey": "playground_echo_ping",
7358
+ "params": [
7359
+ {
7360
+ "in": "body",
7361
+ "name": "message"
7362
+ }
7363
+ ],
7364
+ "path": "/playground/echo/ping",
7365
+ "readOnly": true
7366
+ }
7367
+ },
7368
+ "gdrive": {
7369
+ "get-last-change": {
7370
+ "level": "read",
7371
+ "method": "GET",
7372
+ "operationKey": "playground_gdrive_get-last-change",
7373
+ "path": "/playground/gdrive/changes/last",
7374
+ "readOnly": true
7375
+ },
7376
+ "read-file": {
7377
+ "level": "read",
7378
+ "method": "POST",
7379
+ "operationKey": "playground_gdrive_read-file",
7380
+ "params": [
7381
+ {
7382
+ "in": "body",
7383
+ "name": "fileId"
7384
+ }
7385
+ ],
7386
+ "path": "/playground/gdrive/file",
7387
+ "readOnly": true
7388
+ }
7389
+ },
7390
+ "googleads": {
7391
+ "read-customer": {
7392
+ "level": "read",
7393
+ "method": "POST",
7394
+ "operationKey": "playground_googleads_read-customer",
7395
+ "path": "/playground/googleads/customer",
7396
+ "readOnly": true
7397
+ }
7398
+ },
7399
+ "lifecycle": {
7400
+ "get-state": {
7401
+ "level": "read",
7402
+ "method": "GET",
7403
+ "operationKey": "playground_lifecycle_get-state",
7404
+ "path": "/playground/lifecycle/state",
7405
+ "readOnly": true
7406
+ },
7407
+ "list-events": {
7408
+ "level": "read",
7409
+ "method": "GET",
7410
+ "operationKey": "playground_lifecycle_list-events",
7411
+ "path": "/playground/lifecycle/events",
7412
+ "readOnly": true
7413
+ }
7414
+ },
7415
+ "webhook": {
7416
+ "get-last": {
7417
+ "level": "read",
7418
+ "method": "GET",
7419
+ "operationKey": "playground_webhook_get-last",
7420
+ "path": "/playground/webhooks/last",
7421
+ "readOnly": true
7422
+ }
7423
+ },
7424
+ "workflow": {
7425
+ "echo": {
7426
+ "level": "write",
7427
+ "method": "POST",
7428
+ "operationKey": "playground_workflow_echo",
7429
+ "params": [
7430
+ {
7431
+ "in": "body",
7432
+ "name": "note"
7433
+ },
7434
+ {
7435
+ "in": "body",
7436
+ "name": "tags"
7437
+ }
7438
+ ],
7439
+ "path": "/playground/workflow/echo",
7440
+ "readOnly": false
7441
+ },
7442
+ "echo-list": {
7443
+ "level": "read",
7444
+ "method": "GET",
7445
+ "operationKey": "playground_workflow_echo-list",
7446
+ "path": "/playground/workflow/echoes",
7447
+ "readOnly": true
7448
+ },
7449
+ "ping": {
7450
+ "level": "write",
7451
+ "method": "POST",
7452
+ "operationKey": "playground_workflow_ping",
7453
+ "params": [
7454
+ {
7455
+ "in": "body",
7456
+ "name": "kind"
7457
+ }
7458
+ ],
7459
+ "path": "/playground/workflow/ping",
7460
+ "readOnly": false
7461
+ },
7462
+ "subjects-list": {
7463
+ "level": "read",
7464
+ "method": "GET",
7465
+ "operationKey": "playground_workflow_subjects-list",
7466
+ "params": [
7467
+ {
7468
+ "in": "query",
7469
+ "name": "last_activity_before"
7470
+ },
7471
+ {
7472
+ "in": "query",
7473
+ "name": "last_activity_after"
7474
+ },
7475
+ {
7476
+ "in": "query",
7477
+ "name": "limit"
7478
+ },
7479
+ {
7480
+ "in": "query",
7481
+ "name": "cursor"
7482
+ }
7483
+ ],
7484
+ "path": "/playground/workflow/subjects",
7485
+ "readOnly": true
7486
+ }
7487
+ }
7488
+ },
7273
7489
  "realtime": {
7274
7490
  "archive": {
7275
7491
  "export": {
@@ -10840,7 +11056,7 @@ export const bindings: BindingsMap = {
10840
11056
  "readOnly": true
10841
11057
  },
10842
11058
  "set": {
10843
- "level": "write",
11059
+ "level": "admin",
10844
11060
  "method": "POST",
10845
11061
  "operationKey": "workflow_killswitch_set",
10846
11062
  "params": [
@@ -11150,7 +11366,7 @@ export const bindings: BindingsMap = {
11150
11366
  },
11151
11367
  "wait-list": {
11152
11368
  "all": {
11153
- "level": "read",
11369
+ "level": "admin",
11154
11370
  "method": "GET",
11155
11371
  "operationKey": "workflow_wait_list_all",
11156
11372
  "params": [
@@ -11178,4 +11394,12 @@ export const bindings: BindingsMap = {
11178
11394
  }
11179
11395
  };
11180
11396
 
11181
- export const wsBindings: WsBindingsMap = {};
11397
+ export const wsBindings: WsBindingsMap = {
11398
+ "playground": {
11399
+ "ws": {
11400
+ "echo": {
11401
+ "path": "/playground/ws/echo"
11402
+ }
11403
+ }
11404
+ }
11405
+ };
@@ -383,6 +383,8 @@ import type {
383
383
  DeploymentServiceUpdateOutput,
384
384
  DeploymentServiceWakeInput,
385
385
  DeploymentServiceWakeOutput,
386
+ DeploymentSshBastionGetInput,
387
+ DeploymentSshBastionGetOutput,
386
388
  DeploymentSshCommandInput,
387
389
  DeploymentSshCommandOutput,
388
390
  DeploymentSshKeyDeleteInput,
@@ -781,6 +783,40 @@ import type {
781
783
  OrganizationXInstallOutput,
782
784
  OrganizationYoutubeInstallInput,
783
785
  OrganizationYoutubeInstallOutput,
786
+ PlaygroundAnalyticsOverviewInput,
787
+ PlaygroundAnalyticsOverviewOutput,
788
+ PlaygroundBillingEntitlementsInput,
789
+ PlaygroundBillingEntitlementsOutput,
790
+ PlaygroundBillingRecordUsageInput,
791
+ PlaygroundBillingRecordUsageOutput,
792
+ PlaygroundClickupCreateTaskInput,
793
+ PlaygroundClickupCreateTaskOutput,
794
+ PlaygroundClickupGetLastWebhookInput,
795
+ PlaygroundClickupGetLastWebhookOutput,
796
+ PlaygroundClickupGetOverviewInput,
797
+ PlaygroundClickupGetOverviewOutput,
798
+ PlaygroundEchoPingInput,
799
+ PlaygroundEchoPingOutput,
800
+ PlaygroundGdriveGetLastChangeInput,
801
+ PlaygroundGdriveGetLastChangeOutput,
802
+ PlaygroundGdriveReadFileInput,
803
+ PlaygroundGdriveReadFileOutput,
804
+ PlaygroundGoogleadsReadCustomerInput,
805
+ PlaygroundGoogleadsReadCustomerOutput,
806
+ PlaygroundLifecycleGetStateInput,
807
+ PlaygroundLifecycleGetStateOutput,
808
+ PlaygroundLifecycleListEventsInput,
809
+ PlaygroundLifecycleListEventsOutput,
810
+ PlaygroundWebhookGetLastInput,
811
+ PlaygroundWebhookGetLastOutput,
812
+ PlaygroundWorkflowEchoInput,
813
+ PlaygroundWorkflowEchoListInput,
814
+ PlaygroundWorkflowEchoListOutput,
815
+ PlaygroundWorkflowEchoOutput,
816
+ PlaygroundWorkflowPingInput,
817
+ PlaygroundWorkflowPingOutput,
818
+ PlaygroundWorkflowSubjectsListInput,
819
+ PlaygroundWorkflowSubjectsListOutput,
784
820
  RealtimeArchiveExportInput,
785
821
  RealtimeArchiveExportOutput,
786
822
  RealtimeArchiveExportStatusInput,
@@ -1549,6 +1585,9 @@ export interface GeneratedClient {
1549
1585
  ssh: {
1550
1586
  command: ((input: DeploymentSshCommandInput) => Promise<DeploymentSshCommandOutput>) & Operation;
1551
1587
  };
1588
+ 'ssh-bastion': {
1589
+ get: ((input: DeploymentSshBastionGetInput) => Promise<DeploymentSshBastionGetOutput>) & Operation;
1590
+ };
1552
1591
  'ssh-key': {
1553
1592
  delete: ((input: DeploymentSshKeyDeleteInput) => Promise<DeploymentSshKeyDeleteOutput>) & Operation;
1554
1593
  list: ((input: DeploymentSshKeyListInput) => Promise<DeploymentSshKeyListOutput>) & Operation;
@@ -1886,6 +1925,43 @@ export interface GeneratedClient {
1886
1925
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1887
1926
  };
1888
1927
  };
1928
+ playground: {
1929
+ analytics: {
1930
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1931
+ };
1932
+ billing: {
1933
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1934
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1935
+ };
1936
+ clickup: {
1937
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1938
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1939
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1940
+ };
1941
+ echo: {
1942
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1943
+ };
1944
+ gdrive: {
1945
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1946
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1947
+ };
1948
+ googleads: {
1949
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1950
+ };
1951
+ lifecycle: {
1952
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1953
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1954
+ };
1955
+ webhook: {
1956
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
1957
+ };
1958
+ workflow: {
1959
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
1960
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
1961
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
1962
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
1963
+ };
1964
+ };
1889
1965
  realtime: {
1890
1966
  archive: {
1891
1967
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentJobRunInput, DeploymentJobRunLogsInput, DeploymentJobRunLogsOutput, DeploymentJobRunOutput, DeploymentJobRunsListInput, DeploymentJobRunsListOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentServiceWakeInput, DeploymentServiceWakeOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentSuspensionGetInput, DeploymentSuspensionGetOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
3
+ export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentJobRunInput, DeploymentJobRunLogsInput, DeploymentJobRunLogsOutput, DeploymentJobRunOutput, DeploymentJobRunsListInput, DeploymentJobRunsListOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentServiceWakeInput, DeploymentServiceWakeOutput, DeploymentSshBastionGetInput, DeploymentSshBastionGetOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentSuspensionGetInput, DeploymentSuspensionGetOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
@@ -125,6 +125,8 @@ import type {
125
125
  DeploymentServiceScaleInput,
126
126
  DeploymentServiceUpdateInput,
127
127
  DeploymentServiceWakeInput,
128
+ DeploymentSshBastionGetInput,
129
+ DeploymentSshBastionGetOutput,
128
130
  DeploymentSshCommandInput,
129
131
  DeploymentSshCommandOutput,
130
132
  DeploymentSshKeyDeleteInput,
@@ -591,6 +593,11 @@ export const deploymentServiceWakeMutationOptions = (sdk: GeneratedClient) => ({
591
593
  mutationFn: (input: DeploymentServiceWakeInput) => sdk['deployment']['service']['wake'](input),
592
594
  });
593
595
 
596
+ export const deploymentSshBastionGetQueryOptions = (sdk: GeneratedClient, input: DeploymentSshBastionGetInput) => ({
597
+ queryKey: ['deployment', 'ssh-bastion', 'get', input] as const,
598
+ queryFn: () => sdk['deployment']['ssh-bastion']['get'](input),
599
+ });
600
+
594
601
  export const deploymentSshCommandQueryOptions = (sdk: GeneratedClient, input: DeploymentSshCommandInput) => ({
595
602
  queryKey: ['deployment', 'ssh', 'command', input] as const,
596
603
  queryFn: () => sdk['deployment']['ssh']['command'](input),
@@ -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',
@@ -195,6 +195,7 @@ export const operations: Record<string, ToolLevel> = {
195
195
  'deployment_service_scale': 'write',
196
196
  'deployment_service_update': 'write',
197
197
  'deployment_service_wake': 'write',
198
+ 'deployment_ssh_bastion_get': 'read',
198
199
  'deployment_ssh_command': 'read',
199
200
  'deployment_ssh_key_delete': 'admin',
200
201
  'deployment_ssh_key_list': 'read',
@@ -394,6 +395,23 @@ export const operations: Record<string, ToolLevel> = {
394
395
  'organization_support_threads_list': 'read',
395
396
  'organization_x_install': 'read',
396
397
  'organization_youtube_install': 'read',
398
+ 'playground_analytics_overview': 'read',
399
+ 'playground_billing_entitlements': 'read',
400
+ 'playground_billing_record-usage': 'write',
401
+ 'playground_clickup_create-task': 'write',
402
+ 'playground_clickup_get-last-webhook': 'read',
403
+ 'playground_clickup_get-overview': 'read',
404
+ 'playground_echo_ping': 'read',
405
+ 'playground_gdrive_get-last-change': 'read',
406
+ 'playground_gdrive_read-file': 'read',
407
+ 'playground_googleads_read-customer': 'read',
408
+ 'playground_lifecycle_get-state': 'read',
409
+ 'playground_lifecycle_list-events': 'read',
410
+ 'playground_webhook_get-last': 'read',
411
+ 'playground_workflow_echo': 'write',
412
+ 'playground_workflow_echo-list': 'read',
413
+ 'playground_workflow_ping': 'write',
414
+ 'playground_workflow_subjects-list': 'read',
397
415
  'realtime_archive_export': 'admin',
398
416
  'realtime_archive_export_status': 'read',
399
417
  'realtime_archive_get': 'read',
@@ -579,7 +597,7 @@ export const operations: Record<string, ToolLevel> = {
579
597
  'workflow_health_list': 'read',
580
598
  'workflow_health_ping': 'read',
581
599
  'workflow_killswitch_get': 'read',
582
- 'workflow_killswitch_set': 'write',
600
+ 'workflow_killswitch_set': 'admin',
583
601
  'workflow_run_cancel': 'write',
584
602
  'workflow_run_get': 'read',
585
603
  'workflow_run_list': 'read',
@@ -594,7 +612,7 @@ export const operations: Record<string, ToolLevel> = {
594
612
  'workflow_version_list': 'read',
595
613
  'workflow_wait_get': 'read',
596
614
  'workflow_wait_list': 'read',
597
- 'workflow_wait_list_all': 'read',
615
+ 'workflow_wait_list_all': 'admin',
598
616
  'workflow_wait_resolve': 'write',
599
617
  };
600
618
 
@@ -667,6 +685,9 @@ export const compositions: Record<string, ToolComposition> = {
667
685
  'mail_template_publish': {"label":"Publish template","options":{"id":"mail_template_list"}},
668
686
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
669
687
  'mail_usage_get': {"label":"Get usage"},
688
+ 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
689
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
690
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
670
691
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
671
692
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
672
693
  '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>);