@lessly/sdk-app 96.0.2 → 96.1.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 (43) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/dist/_types/gen/client.gen.d.ts +48 -6
  3. package/dist/_types/gen/deployment/index.d.ts +1 -1
  4. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +9 -1
  5. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  6. package/dist/_types/gen/organization/index.d.ts +1 -1
  7. package/dist/_types/gen/organization/queryOptions.gen.d.ts +8 -12
  8. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  9. package/dist/_types/gen/playground/index.d.ts +3 -0
  10. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  11. package/dist/_types/gen/types.gen.d.ts +391 -19
  12. package/dist/chunk-G33O7GKV.js +11742 -0
  13. package/dist/chunk-G33O7GKV.js.map +1 -0
  14. package/dist/deployment/index.cjs +10 -0
  15. package/dist/deployment/index.cjs.map +1 -1
  16. package/dist/deployment/index.js +9 -1
  17. package/dist/deployment/index.js.map +1 -1
  18. package/dist/index.cjs +291 -26
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.js +26 -11489
  21. package/dist/index.js.map +1 -1
  22. package/dist/organization/index.cjs +10 -15
  23. package/dist/organization/index.cjs.map +1 -1
  24. package/dist/organization/index.js +9 -13
  25. package/dist/organization/index.js.map +1 -1
  26. package/dist/playground/index.cjs +106 -0
  27. package/dist/playground/index.cjs.map +1 -0
  28. package/dist/playground/index.d.cts +1 -0
  29. package/dist/playground/index.d.ts +1 -0
  30. package/dist/playground/index.js +78 -0
  31. package/dist/playground/index.js.map +1 -0
  32. package/package.json +12 -2
  33. package/src/gen/bindings.gen.ts +276 -24
  34. package/src/gen/client.gen.ts +89 -11
  35. package/src/gen/deployment/index.ts +1 -1
  36. package/src/gen/deployment/queryOptions.gen.ts +12 -0
  37. package/src/gen/manifest.gen.ts +25 -4
  38. package/src/gen/organization/index.ts +1 -1
  39. package/src/gen/organization/queryOptions.gen.ts +11 -17
  40. package/src/gen/playground/connect.gen.ts +9 -0
  41. package/src/gen/playground/index.ts +4 -0
  42. package/src/gen/playground/queryOptions.gen.ts +119 -0
  43. package/src/gen/types.gen.ts +441 -23
@@ -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-G33O7GKV.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":";;;AAmCO,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;A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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 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": "@lessly/sdk-app",
3
3
  "description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
4
- "version": "96.0.2",
4
+ "version": "96.1.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -159,6 +159,16 @@
159
159
  "default": "./dist/organization/index.cjs"
160
160
  }
161
161
  },
162
+ "./playground": {
163
+ "import": {
164
+ "types": "./dist/playground/index.d.ts",
165
+ "default": "./dist/playground/index.js"
166
+ },
167
+ "require": {
168
+ "types": "./dist/playground/index.d.cts",
169
+ "default": "./dist/playground/index.cjs"
170
+ }
171
+ },
162
172
  "./realtime": {
163
173
  "import": {
164
174
  "types": "./dist/realtime/index.d.ts",
@@ -210,5 +220,5 @@
210
220
  }
211
221
  }
212
222
  },
213
- "sdkContentHash": "sha256:6c4bc46c5c80e17db4e10092e57281b6ec5700a402c378244a8a52b55703cdee"
223
+ "sdkContentHash": "sha256:9e9d798a6d90301723cfd9fe3a65e2cdbfc07a4b8e2ecbf4abbf71c12ffcd41b"
214
224
  }
@@ -3798,6 +3798,44 @@ export const bindings: BindingsMap = {
3798
3798
  "readOnly": false
3799
3799
  }
3800
3800
  },
3801
+ "static": {
3802
+ "deploy": {
3803
+ "level": "write",
3804
+ "method": "POST",
3805
+ "operationKey": "deployment_static_deploy",
3806
+ "params": [
3807
+ {
3808
+ "in": "body",
3809
+ "name": "deployId"
3810
+ },
3811
+ {
3812
+ "in": "path",
3813
+ "name": "serviceId"
3814
+ }
3815
+ ],
3816
+ "path": "/deployment/services/:serviceId/static/deploy",
3817
+ "readOnly": false
3818
+ }
3819
+ },
3820
+ "static-upload": {
3821
+ "create": {
3822
+ "level": "write",
3823
+ "method": "POST",
3824
+ "operationKey": "deployment_static_upload_create",
3825
+ "params": [
3826
+ {
3827
+ "in": "body",
3828
+ "name": "format"
3829
+ },
3830
+ {
3831
+ "in": "path",
3832
+ "name": "serviceId"
3833
+ }
3834
+ ],
3835
+ "path": "/deployment/services/:serviceId/static/uploads",
3836
+ "readOnly": false
3837
+ }
3838
+ },
3801
3839
  "suspension": {
3802
3840
  "get": {
3803
3841
  "level": "read",
@@ -5937,48 +5975,47 @@ export const bindings: BindingsMap = {
5937
5975
  "readOnly": true
5938
5976
  }
5939
5977
  },
5940
- "billing-budget": {
5978
+ "billing-budgets": {
5979
+ "get": {
5980
+ "level": "read",
5981
+ "method": "GET",
5982
+ "operationKey": "organization_billing_budgets_get",
5983
+ "path": "/governance/api/v1/billing/budgets",
5984
+ "readOnly": true
5985
+ }
5986
+ },
5987
+ "billing-caps": {
5941
5988
  "clear": {
5942
5989
  "level": "write",
5943
5990
  "method": "DELETE",
5944
- "operationKey": "organization_billing_budget_clear",
5945
- "path": "/governance/api/v1/billing/budgets",
5946
- "readOnly": false
5947
- },
5948
- "resume": {
5949
- "level": "write",
5950
- "method": "POST",
5951
- "operationKey": "organization_billing_budget_resume",
5952
- "path": "/governance/api/v1/billing/budgets/resume",
5991
+ "operationKey": "organization_billing_caps_clear",
5992
+ "params": [
5993
+ {
5994
+ "in": "body",
5995
+ "name": "productId"
5996
+ }
5997
+ ],
5998
+ "path": "/governance/api/v1/billing/budgets/cap",
5953
5999
  "readOnly": false
5954
6000
  },
5955
6001
  "set": {
5956
6002
  "level": "write",
5957
6003
  "method": "PUT",
5958
- "operationKey": "organization_billing_budget_set",
6004
+ "operationKey": "organization_billing_caps_set",
5959
6005
  "params": [
5960
6006
  {
5961
6007
  "in": "body",
5962
- "name": "amount_minor"
6008
+ "name": "productId"
5963
6009
  },
5964
6010
  {
5965
6011
  "in": "body",
5966
- "name": "action"
6012
+ "name": "cap_minor"
5967
6013
  }
5968
6014
  ],
5969
- "path": "/governance/api/v1/billing/budgets",
6015
+ "path": "/governance/api/v1/billing/budgets/cap",
5970
6016
  "readOnly": false
5971
6017
  }
5972
6018
  },
5973
- "billing-budgets": {
5974
- "get": {
5975
- "level": "read",
5976
- "method": "GET",
5977
- "operationKey": "organization_billing_budgets_get",
5978
- "path": "/governance/api/v1/billing/budgets",
5979
- "readOnly": true
5980
- }
5981
- },
5982
6019
  "bindings": {
5983
6020
  "list": {
5984
6021
  "level": "read",
@@ -7405,6 +7442,213 @@ export const bindings: BindingsMap = {
7405
7442
  }
7406
7443
  }
7407
7444
  },
7445
+ "playground": {
7446
+ "analytics": {
7447
+ "overview": {
7448
+ "level": "read",
7449
+ "method": "POST",
7450
+ "operationKey": "playground_analytics_overview",
7451
+ "params": [
7452
+ {
7453
+ "in": "body",
7454
+ "name": "limit"
7455
+ }
7456
+ ],
7457
+ "path": "/playground/analytics/overview",
7458
+ "readOnly": true
7459
+ }
7460
+ },
7461
+ "billing": {
7462
+ "entitlements": {
7463
+ "level": "read",
7464
+ "method": "POST",
7465
+ "operationKey": "playground_billing_entitlements",
7466
+ "path": "/playground/billing/entitlements",
7467
+ "readOnly": true
7468
+ },
7469
+ "record-usage": {
7470
+ "level": "write",
7471
+ "method": "POST",
7472
+ "operationKey": "playground_billing_record-usage",
7473
+ "params": [
7474
+ {
7475
+ "in": "body",
7476
+ "name": "value"
7477
+ }
7478
+ ],
7479
+ "path": "/playground/billing/usage",
7480
+ "readOnly": false
7481
+ }
7482
+ },
7483
+ "clickup": {
7484
+ "create-task": {
7485
+ "level": "write",
7486
+ "method": "POST",
7487
+ "operationKey": "playground_clickup_create-task",
7488
+ "params": [
7489
+ {
7490
+ "in": "body",
7491
+ "name": "listId"
7492
+ },
7493
+ {
7494
+ "in": "body",
7495
+ "name": "name"
7496
+ }
7497
+ ],
7498
+ "path": "/playground/clickup/tasks",
7499
+ "readOnly": false
7500
+ },
7501
+ "get-last-webhook": {
7502
+ "level": "read",
7503
+ "method": "GET",
7504
+ "operationKey": "playground_clickup_get-last-webhook",
7505
+ "path": "/playground/clickup/webhooks/last",
7506
+ "readOnly": true
7507
+ },
7508
+ "get-overview": {
7509
+ "level": "read",
7510
+ "method": "GET",
7511
+ "operationKey": "playground_clickup_get-overview",
7512
+ "path": "/playground/clickup/overview",
7513
+ "readOnly": true
7514
+ }
7515
+ },
7516
+ "echo": {
7517
+ "ping": {
7518
+ "level": "read",
7519
+ "method": "POST",
7520
+ "operationKey": "playground_echo_ping",
7521
+ "params": [
7522
+ {
7523
+ "in": "body",
7524
+ "name": "message"
7525
+ }
7526
+ ],
7527
+ "path": "/playground/echo/ping",
7528
+ "readOnly": true
7529
+ }
7530
+ },
7531
+ "gdrive": {
7532
+ "get-last-change": {
7533
+ "level": "read",
7534
+ "method": "GET",
7535
+ "operationKey": "playground_gdrive_get-last-change",
7536
+ "path": "/playground/gdrive/changes/last",
7537
+ "readOnly": true
7538
+ },
7539
+ "read-file": {
7540
+ "level": "read",
7541
+ "method": "POST",
7542
+ "operationKey": "playground_gdrive_read-file",
7543
+ "params": [
7544
+ {
7545
+ "in": "body",
7546
+ "name": "fileId"
7547
+ }
7548
+ ],
7549
+ "path": "/playground/gdrive/file",
7550
+ "readOnly": true
7551
+ }
7552
+ },
7553
+ "googleads": {
7554
+ "read-customer": {
7555
+ "level": "read",
7556
+ "method": "POST",
7557
+ "operationKey": "playground_googleads_read-customer",
7558
+ "path": "/playground/googleads/customer",
7559
+ "readOnly": true
7560
+ }
7561
+ },
7562
+ "lifecycle": {
7563
+ "get-state": {
7564
+ "level": "read",
7565
+ "method": "GET",
7566
+ "operationKey": "playground_lifecycle_get-state",
7567
+ "path": "/playground/lifecycle/state",
7568
+ "readOnly": true
7569
+ },
7570
+ "list-events": {
7571
+ "level": "read",
7572
+ "method": "GET",
7573
+ "operationKey": "playground_lifecycle_list-events",
7574
+ "path": "/playground/lifecycle/events",
7575
+ "readOnly": true
7576
+ }
7577
+ },
7578
+ "webhook": {
7579
+ "get-last": {
7580
+ "level": "read",
7581
+ "method": "GET",
7582
+ "operationKey": "playground_webhook_get-last",
7583
+ "path": "/playground/webhooks/last",
7584
+ "readOnly": true
7585
+ }
7586
+ },
7587
+ "workflow": {
7588
+ "echo": {
7589
+ "level": "write",
7590
+ "method": "POST",
7591
+ "operationKey": "playground_workflow_echo",
7592
+ "params": [
7593
+ {
7594
+ "in": "body",
7595
+ "name": "note"
7596
+ },
7597
+ {
7598
+ "in": "body",
7599
+ "name": "tags"
7600
+ }
7601
+ ],
7602
+ "path": "/playground/workflow/echo",
7603
+ "readOnly": false
7604
+ },
7605
+ "echo-list": {
7606
+ "level": "read",
7607
+ "method": "GET",
7608
+ "operationKey": "playground_workflow_echo-list",
7609
+ "path": "/playground/workflow/echoes",
7610
+ "readOnly": true
7611
+ },
7612
+ "ping": {
7613
+ "level": "write",
7614
+ "method": "POST",
7615
+ "operationKey": "playground_workflow_ping",
7616
+ "params": [
7617
+ {
7618
+ "in": "body",
7619
+ "name": "kind"
7620
+ }
7621
+ ],
7622
+ "path": "/playground/workflow/ping",
7623
+ "readOnly": false
7624
+ },
7625
+ "subjects-list": {
7626
+ "level": "read",
7627
+ "method": "GET",
7628
+ "operationKey": "playground_workflow_subjects-list",
7629
+ "params": [
7630
+ {
7631
+ "in": "query",
7632
+ "name": "last_activity_before"
7633
+ },
7634
+ {
7635
+ "in": "query",
7636
+ "name": "last_activity_after"
7637
+ },
7638
+ {
7639
+ "in": "query",
7640
+ "name": "limit"
7641
+ },
7642
+ {
7643
+ "in": "query",
7644
+ "name": "cursor"
7645
+ }
7646
+ ],
7647
+ "path": "/playground/workflow/subjects",
7648
+ "readOnly": true
7649
+ }
7650
+ }
7651
+ },
7408
7652
  "realtime": {
7409
7653
  "archive": {
7410
7654
  "export": {
@@ -11486,4 +11730,12 @@ export const bindings: BindingsMap = {
11486
11730
  }
11487
11731
  };
11488
11732
 
11489
- export const wsBindings: WsBindingsMap = {};
11733
+ export const wsBindings: WsBindingsMap = {
11734
+ "playground": {
11735
+ "ws": {
11736
+ "echo": {
11737
+ "path": "/playground/ws/echo"
11738
+ }
11739
+ }
11740
+ }
11741
+ };
@@ -395,6 +395,10 @@ import type {
395
395
  DeploymentSshKeyListOutput,
396
396
  DeploymentSshKeyRegisterInput,
397
397
  DeploymentSshKeyRegisterOutput,
398
+ DeploymentStaticDeployInput,
399
+ DeploymentStaticDeployOutput,
400
+ DeploymentStaticUploadCreateInput,
401
+ DeploymentStaticUploadCreateOutput,
398
402
  DeploymentSuspensionGetInput,
399
403
  DeploymentSuspensionGetOutput,
400
404
  DeploymentVariableListEnvInput,
@@ -619,14 +623,12 @@ import type {
619
623
  ObserveWebhooksUpdateOutput,
620
624
  OrganizationAuthMeInput,
621
625
  OrganizationAuthMeOutput,
622
- OrganizationBillingBudgetClearInput,
623
- OrganizationBillingBudgetClearOutput,
624
- OrganizationBillingBudgetResumeInput,
625
- OrganizationBillingBudgetResumeOutput,
626
- OrganizationBillingBudgetSetInput,
627
- OrganizationBillingBudgetSetOutput,
628
626
  OrganizationBillingBudgetsGetInput,
629
627
  OrganizationBillingBudgetsGetOutput,
628
+ OrganizationBillingCapsClearInput,
629
+ OrganizationBillingCapsClearOutput,
630
+ OrganizationBillingCapsSetInput,
631
+ OrganizationBillingCapsSetOutput,
630
632
  OrganizationBindingsListInput,
631
633
  OrganizationBindingsListOutput,
632
634
  OrganizationClickupInstallInput,
@@ -799,6 +801,40 @@ import type {
799
801
  OrganizationXInstallOutput,
800
802
  OrganizationYoutubeInstallInput,
801
803
  OrganizationYoutubeInstallOutput,
804
+ PlaygroundAnalyticsOverviewInput,
805
+ PlaygroundAnalyticsOverviewOutput,
806
+ PlaygroundBillingEntitlementsInput,
807
+ PlaygroundBillingEntitlementsOutput,
808
+ PlaygroundBillingRecordUsageInput,
809
+ PlaygroundBillingRecordUsageOutput,
810
+ PlaygroundClickupCreateTaskInput,
811
+ PlaygroundClickupCreateTaskOutput,
812
+ PlaygroundClickupGetLastWebhookInput,
813
+ PlaygroundClickupGetLastWebhookOutput,
814
+ PlaygroundClickupGetOverviewInput,
815
+ PlaygroundClickupGetOverviewOutput,
816
+ PlaygroundEchoPingInput,
817
+ PlaygroundEchoPingOutput,
818
+ PlaygroundGdriveGetLastChangeInput,
819
+ PlaygroundGdriveGetLastChangeOutput,
820
+ PlaygroundGdriveReadFileInput,
821
+ PlaygroundGdriveReadFileOutput,
822
+ PlaygroundGoogleadsReadCustomerInput,
823
+ PlaygroundGoogleadsReadCustomerOutput,
824
+ PlaygroundLifecycleGetStateInput,
825
+ PlaygroundLifecycleGetStateOutput,
826
+ PlaygroundLifecycleListEventsInput,
827
+ PlaygroundLifecycleListEventsOutput,
828
+ PlaygroundWebhookGetLastInput,
829
+ PlaygroundWebhookGetLastOutput,
830
+ PlaygroundWorkflowEchoInput,
831
+ PlaygroundWorkflowEchoListInput,
832
+ PlaygroundWorkflowEchoListOutput,
833
+ PlaygroundWorkflowEchoOutput,
834
+ PlaygroundWorkflowPingInput,
835
+ PlaygroundWorkflowPingOutput,
836
+ PlaygroundWorkflowSubjectsListInput,
837
+ PlaygroundWorkflowSubjectsListOutput,
802
838
  RealtimeArchiveExportInput,
803
839
  RealtimeArchiveExportOutput,
804
840
  RealtimeArchiveExportStatusInput,
@@ -1586,6 +1622,12 @@ export interface GeneratedClient {
1586
1622
  list: ((input: DeploymentSshKeyListInput) => Promise<DeploymentSshKeyListOutput>) & Operation;
1587
1623
  register: ((input: DeploymentSshKeyRegisterInput) => Promise<DeploymentSshKeyRegisterOutput>) & Operation;
1588
1624
  };
1625
+ static: {
1626
+ deploy: ((input: DeploymentStaticDeployInput) => Promise<DeploymentStaticDeployOutput>) & Operation;
1627
+ };
1628
+ 'static-upload': {
1629
+ create: ((input: DeploymentStaticUploadCreateInput) => Promise<DeploymentStaticUploadCreateOutput>) & Operation;
1630
+ };
1589
1631
  suspension: {
1590
1632
  get: ((input: DeploymentSuspensionGetInput) => Promise<DeploymentSuspensionGetOutput>) & Operation;
1591
1633
  };
@@ -1783,14 +1825,13 @@ export interface GeneratedClient {
1783
1825
  auth: {
1784
1826
  me: ((input: OrganizationAuthMeInput) => Promise<OrganizationAuthMeOutput>) & Operation;
1785
1827
  };
1786
- 'billing-budget': {
1787
- clear: ((input: OrganizationBillingBudgetClearInput) => Promise<OrganizationBillingBudgetClearOutput>) & Operation;
1788
- resume: ((input: OrganizationBillingBudgetResumeInput) => Promise<OrganizationBillingBudgetResumeOutput>) & Operation;
1789
- set: ((input: OrganizationBillingBudgetSetInput) => Promise<OrganizationBillingBudgetSetOutput>) & Operation;
1790
- };
1791
1828
  'billing-budgets': {
1792
1829
  get: ((input: OrganizationBillingBudgetsGetInput) => Promise<OrganizationBillingBudgetsGetOutput>) & Operation;
1793
1830
  };
1831
+ 'billing-caps': {
1832
+ clear: ((input: OrganizationBillingCapsClearInput) => Promise<OrganizationBillingCapsClearOutput>) & Operation;
1833
+ set: ((input: OrganizationBillingCapsSetInput) => Promise<OrganizationBillingCapsSetOutput>) & Operation;
1834
+ };
1794
1835
  bindings: {
1795
1836
  list: ((input: OrganizationBindingsListInput) => Promise<OrganizationBindingsListOutput>) & Operation;
1796
1837
  };
@@ -1929,6 +1970,43 @@ export interface GeneratedClient {
1929
1970
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1930
1971
  };
1931
1972
  };
1973
+ playground: {
1974
+ analytics: {
1975
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1976
+ };
1977
+ billing: {
1978
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1979
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1980
+ };
1981
+ clickup: {
1982
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1983
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1984
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1985
+ };
1986
+ echo: {
1987
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1988
+ };
1989
+ gdrive: {
1990
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1991
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1992
+ };
1993
+ googleads: {
1994
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1995
+ };
1996
+ lifecycle: {
1997
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1998
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1999
+ };
2000
+ webhook: {
2001
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2002
+ };
2003
+ workflow: {
2004
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2005
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2006
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2007
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2008
+ };
2009
+ };
1932
2010
  realtime: {
1933
2011
  archive: {
1934
2012
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;