@lessly/sdk-app 105.12.0 → 105.13.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.
@@ -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-KDAKYDBP.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;AAEO,IAAM,2CAAA,GAA8C,CAAC,GAAA,MAA0B;AAAA,EACpF,WAAA,EAAa,CAAC,YAAA,EAAc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// 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": "105.12.0",
4
+ "version": "105.13.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:593dc23530865b708c4ecd1dd601a72a66e9f7d9d1abb3ef3dc2cda618ae3dab"
223
+ "sdkContentHash": "sha256:67d355421dafba604be686882058a0cbdd0f78b1c2743f0c352ba3707ef8bdca"
214
224
  }
@@ -2100,6 +2100,10 @@ export const bindings: BindingsMap = {
2100
2100
  {
2101
2101
  "in": "path",
2102
2102
  "name": "id"
2103
+ },
2104
+ {
2105
+ "in": "body",
2106
+ "name": "checkedNotLive"
2103
2107
  }
2104
2108
  ],
2105
2109
  "path": "/content/publications/:id/cancel",
@@ -6266,12 +6270,6 @@ export const bindings: BindingsMap = {
6266
6270
  "level": "read",
6267
6271
  "method": "GET",
6268
6272
  "operationKey": "organization_clickup_install",
6269
- "params": [
6270
- {
6271
- "in": "query",
6272
- "name": "share"
6273
- }
6274
- ],
6275
6273
  "path": "/governance/api/v1/connectors/clickup/install",
6276
6274
  "readOnly": false
6277
6275
  },
@@ -6288,12 +6286,6 @@ export const bindings: BindingsMap = {
6288
6286
  "level": "read",
6289
6287
  "method": "GET",
6290
6288
  "operationKey": "organization_cloudflare_install",
6291
- "params": [
6292
- {
6293
- "in": "query",
6294
- "name": "share"
6295
- }
6296
- ],
6297
6289
  "path": "/governance/api/v1/connectors/cloudflare/install",
6298
6290
  "readOnly": false
6299
6291
  }
@@ -6614,12 +6606,6 @@ export const bindings: BindingsMap = {
6614
6606
  "level": "read",
6615
6607
  "method": "GET",
6616
6608
  "operationKey": "organization_gdrive_install",
6617
- "params": [
6618
- {
6619
- "in": "query",
6620
- "name": "share"
6621
- }
6622
- ],
6623
6609
  "path": "/governance/api/v1/connectors/gdrive/install",
6624
6610
  "readOnly": false
6625
6611
  }
@@ -6629,12 +6615,6 @@ export const bindings: BindingsMap = {
6629
6615
  "level": "read",
6630
6616
  "method": "GET",
6631
6617
  "operationKey": "organization_github_install",
6632
- "params": [
6633
- {
6634
- "in": "query",
6635
- "name": "share"
6636
- }
6637
- ],
6638
6618
  "path": "/governance/api/v1/connectors/github/install",
6639
6619
  "readOnly": false
6640
6620
  },
@@ -6849,12 +6829,6 @@ export const bindings: BindingsMap = {
6849
6829
  "level": "read",
6850
6830
  "method": "GET",
6851
6831
  "operationKey": "organization_linkedin_member_install",
6852
- "params": [
6853
- {
6854
- "in": "query",
6855
- "name": "share"
6856
- }
6857
- ],
6858
6832
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6859
6833
  "readOnly": false
6860
6834
  }
@@ -7491,12 +7465,6 @@ export const bindings: BindingsMap = {
7491
7465
  "level": "read",
7492
7466
  "method": "GET",
7493
7467
  "operationKey": "organization_reddit_install",
7494
- "params": [
7495
- {
7496
- "in": "query",
7497
- "name": "share"
7498
- }
7499
- ],
7500
7468
  "path": "/governance/api/v1/connectors/reddit/install",
7501
7469
  "readOnly": false
7502
7470
  }
@@ -7690,12 +7658,6 @@ export const bindings: BindingsMap = {
7690
7658
  "level": "read",
7691
7659
  "method": "GET",
7692
7660
  "operationKey": "organization_x_install",
7693
- "params": [
7694
- {
7695
- "in": "query",
7696
- "name": "share"
7697
- }
7698
- ],
7699
7661
  "path": "/governance/api/v1/connectors/x/install",
7700
7662
  "readOnly": false
7701
7663
  }
@@ -7705,15 +7667,216 @@ export const bindings: BindingsMap = {
7705
7667
  "level": "read",
7706
7668
  "method": "GET",
7707
7669
  "operationKey": "organization_youtube_install",
7670
+ "path": "/governance/api/v1/connectors/youtube/install",
7671
+ "readOnly": false
7672
+ }
7673
+ }
7674
+ },
7675
+ "playground": {
7676
+ "analytics": {
7677
+ "overview": {
7678
+ "level": "read",
7679
+ "method": "POST",
7680
+ "operationKey": "playground_analytics_overview",
7708
7681
  "params": [
7709
7682
  {
7710
- "in": "query",
7711
- "name": "share"
7683
+ "in": "body",
7684
+ "name": "limit"
7712
7685
  }
7713
7686
  ],
7714
- "path": "/governance/api/v1/connectors/youtube/install",
7687
+ "path": "/playground/analytics/overview",
7688
+ "readOnly": true
7689
+ }
7690
+ },
7691
+ "billing": {
7692
+ "entitlements": {
7693
+ "level": "read",
7694
+ "method": "POST",
7695
+ "operationKey": "playground_billing_entitlements",
7696
+ "path": "/playground/billing/entitlements",
7697
+ "readOnly": true
7698
+ },
7699
+ "record-usage": {
7700
+ "level": "write",
7701
+ "method": "POST",
7702
+ "operationKey": "playground_billing_record-usage",
7703
+ "params": [
7704
+ {
7705
+ "in": "body",
7706
+ "name": "value"
7707
+ }
7708
+ ],
7709
+ "path": "/playground/billing/usage",
7715
7710
  "readOnly": false
7716
7711
  }
7712
+ },
7713
+ "clickup": {
7714
+ "create-task": {
7715
+ "level": "write",
7716
+ "method": "POST",
7717
+ "operationKey": "playground_clickup_create-task",
7718
+ "params": [
7719
+ {
7720
+ "in": "body",
7721
+ "name": "listId"
7722
+ },
7723
+ {
7724
+ "in": "body",
7725
+ "name": "name"
7726
+ }
7727
+ ],
7728
+ "path": "/playground/clickup/tasks",
7729
+ "readOnly": false
7730
+ },
7731
+ "get-last-webhook": {
7732
+ "level": "read",
7733
+ "method": "GET",
7734
+ "operationKey": "playground_clickup_get-last-webhook",
7735
+ "path": "/playground/clickup/webhooks/last",
7736
+ "readOnly": true
7737
+ },
7738
+ "get-overview": {
7739
+ "level": "read",
7740
+ "method": "GET",
7741
+ "operationKey": "playground_clickup_get-overview",
7742
+ "path": "/playground/clickup/overview",
7743
+ "readOnly": true
7744
+ }
7745
+ },
7746
+ "echo": {
7747
+ "ping": {
7748
+ "level": "read",
7749
+ "method": "POST",
7750
+ "operationKey": "playground_echo_ping",
7751
+ "params": [
7752
+ {
7753
+ "in": "body",
7754
+ "name": "message"
7755
+ }
7756
+ ],
7757
+ "path": "/playground/echo/ping",
7758
+ "readOnly": true
7759
+ }
7760
+ },
7761
+ "gdrive": {
7762
+ "get-last-change": {
7763
+ "level": "read",
7764
+ "method": "GET",
7765
+ "operationKey": "playground_gdrive_get-last-change",
7766
+ "path": "/playground/gdrive/changes/last",
7767
+ "readOnly": true
7768
+ },
7769
+ "read-file": {
7770
+ "level": "read",
7771
+ "method": "POST",
7772
+ "operationKey": "playground_gdrive_read-file",
7773
+ "params": [
7774
+ {
7775
+ "in": "body",
7776
+ "name": "fileId"
7777
+ }
7778
+ ],
7779
+ "path": "/playground/gdrive/file",
7780
+ "readOnly": true
7781
+ }
7782
+ },
7783
+ "googleads": {
7784
+ "read-customer": {
7785
+ "level": "read",
7786
+ "method": "POST",
7787
+ "operationKey": "playground_googleads_read-customer",
7788
+ "path": "/playground/googleads/customer",
7789
+ "readOnly": true
7790
+ }
7791
+ },
7792
+ "lifecycle": {
7793
+ "get-state": {
7794
+ "level": "read",
7795
+ "method": "GET",
7796
+ "operationKey": "playground_lifecycle_get-state",
7797
+ "path": "/playground/lifecycle/state",
7798
+ "readOnly": true
7799
+ },
7800
+ "list-events": {
7801
+ "level": "read",
7802
+ "method": "GET",
7803
+ "operationKey": "playground_lifecycle_list-events",
7804
+ "path": "/playground/lifecycle/events",
7805
+ "readOnly": true
7806
+ }
7807
+ },
7808
+ "webhook": {
7809
+ "get-last": {
7810
+ "level": "read",
7811
+ "method": "GET",
7812
+ "operationKey": "playground_webhook_get-last",
7813
+ "path": "/playground/webhooks/last",
7814
+ "readOnly": true
7815
+ }
7816
+ },
7817
+ "workflow": {
7818
+ "echo": {
7819
+ "level": "write",
7820
+ "method": "POST",
7821
+ "operationKey": "playground_workflow_echo",
7822
+ "params": [
7823
+ {
7824
+ "in": "body",
7825
+ "name": "note"
7826
+ },
7827
+ {
7828
+ "in": "body",
7829
+ "name": "tags"
7830
+ }
7831
+ ],
7832
+ "path": "/playground/workflow/echo",
7833
+ "readOnly": false
7834
+ },
7835
+ "echo-list": {
7836
+ "level": "read",
7837
+ "method": "GET",
7838
+ "operationKey": "playground_workflow_echo-list",
7839
+ "path": "/playground/workflow/echoes",
7840
+ "readOnly": true
7841
+ },
7842
+ "ping": {
7843
+ "level": "write",
7844
+ "method": "POST",
7845
+ "operationKey": "playground_workflow_ping",
7846
+ "params": [
7847
+ {
7848
+ "in": "body",
7849
+ "name": "kind"
7850
+ }
7851
+ ],
7852
+ "path": "/playground/workflow/ping",
7853
+ "readOnly": false
7854
+ },
7855
+ "subjects-list": {
7856
+ "level": "read",
7857
+ "method": "GET",
7858
+ "operationKey": "playground_workflow_subjects-list",
7859
+ "params": [
7860
+ {
7861
+ "in": "query",
7862
+ "name": "last_activity_before"
7863
+ },
7864
+ {
7865
+ "in": "query",
7866
+ "name": "last_activity_after"
7867
+ },
7868
+ {
7869
+ "in": "query",
7870
+ "name": "limit"
7871
+ },
7872
+ {
7873
+ "in": "query",
7874
+ "name": "cursor"
7875
+ }
7876
+ ],
7877
+ "path": "/playground/workflow/subjects",
7878
+ "readOnly": true
7879
+ }
7717
7880
  }
7718
7881
  },
7719
7882
  "realtime": {
@@ -12014,4 +12177,12 @@ export const bindings: BindingsMap = {
12014
12177
  }
12015
12178
  };
12016
12179
 
12017
- export const wsBindings: WsBindingsMap = {};
12180
+ export const wsBindings: WsBindingsMap = {
12181
+ "playground": {
12182
+ "ws": {
12183
+ "echo": {
12184
+ "path": "/playground/ws/echo"
12185
+ }
12186
+ }
12187
+ }
12188
+ };
@@ -821,6 +821,40 @@ import type {
821
821
  OrganizationXInstallOutput,
822
822
  OrganizationYoutubeInstallInput,
823
823
  OrganizationYoutubeInstallOutput,
824
+ PlaygroundAnalyticsOverviewInput,
825
+ PlaygroundAnalyticsOverviewOutput,
826
+ PlaygroundBillingEntitlementsInput,
827
+ PlaygroundBillingEntitlementsOutput,
828
+ PlaygroundBillingRecordUsageInput,
829
+ PlaygroundBillingRecordUsageOutput,
830
+ PlaygroundClickupCreateTaskInput,
831
+ PlaygroundClickupCreateTaskOutput,
832
+ PlaygroundClickupGetLastWebhookInput,
833
+ PlaygroundClickupGetLastWebhookOutput,
834
+ PlaygroundClickupGetOverviewInput,
835
+ PlaygroundClickupGetOverviewOutput,
836
+ PlaygroundEchoPingInput,
837
+ PlaygroundEchoPingOutput,
838
+ PlaygroundGdriveGetLastChangeInput,
839
+ PlaygroundGdriveGetLastChangeOutput,
840
+ PlaygroundGdriveReadFileInput,
841
+ PlaygroundGdriveReadFileOutput,
842
+ PlaygroundGoogleadsReadCustomerInput,
843
+ PlaygroundGoogleadsReadCustomerOutput,
844
+ PlaygroundLifecycleGetStateInput,
845
+ PlaygroundLifecycleGetStateOutput,
846
+ PlaygroundLifecycleListEventsInput,
847
+ PlaygroundLifecycleListEventsOutput,
848
+ PlaygroundWebhookGetLastInput,
849
+ PlaygroundWebhookGetLastOutput,
850
+ PlaygroundWorkflowEchoInput,
851
+ PlaygroundWorkflowEchoListInput,
852
+ PlaygroundWorkflowEchoListOutput,
853
+ PlaygroundWorkflowEchoOutput,
854
+ PlaygroundWorkflowPingInput,
855
+ PlaygroundWorkflowPingOutput,
856
+ PlaygroundWorkflowSubjectsListInput,
857
+ PlaygroundWorkflowSubjectsListOutput,
824
858
  RealtimeArchiveExportInput,
825
859
  RealtimeArchiveExportOutput,
826
860
  RealtimeArchiveExportStatusInput,
@@ -1984,6 +2018,43 @@ export interface GeneratedClient {
1984
2018
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1985
2019
  };
1986
2020
  };
2021
+ playground: {
2022
+ analytics: {
2023
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2024
+ };
2025
+ billing: {
2026
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2027
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2028
+ };
2029
+ clickup: {
2030
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2031
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2032
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2033
+ };
2034
+ echo: {
2035
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2036
+ };
2037
+ gdrive: {
2038
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2039
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2040
+ };
2041
+ googleads: {
2042
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2043
+ };
2044
+ lifecycle: {
2045
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2046
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2047
+ };
2048
+ webhook: {
2049
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2050
+ };
2051
+ workflow: {
2052
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2053
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2054
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2055
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2056
+ };
2057
+ };
1987
2058
  realtime: {
1988
2059
  archive: {
1989
2060
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
@@ -1,7 +1,7 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  import type { ToolLevel, ToolComposition } from '../runtime/types';
3
3
 
4
- export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
4
+ export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
5
5
 
6
6
  export const operations: Record<string, ToolLevel> = {
7
7
  'analytics_catalog_get': 'read',
@@ -414,6 +414,23 @@ export const operations: Record<string, ToolLevel> = {
414
414
  'organization_support_threads_list': 'read',
415
415
  'organization_x_install': 'read',
416
416
  'organization_youtube_install': 'read',
417
+ 'playground_analytics_overview': 'read',
418
+ 'playground_billing_entitlements': 'read',
419
+ 'playground_billing_record-usage': 'write',
420
+ 'playground_clickup_create-task': 'write',
421
+ 'playground_clickup_get-last-webhook': 'read',
422
+ 'playground_clickup_get-overview': 'read',
423
+ 'playground_echo_ping': 'read',
424
+ 'playground_gdrive_get-last-change': 'read',
425
+ 'playground_gdrive_read-file': 'read',
426
+ 'playground_googleads_read-customer': 'read',
427
+ 'playground_lifecycle_get-state': 'read',
428
+ 'playground_lifecycle_list-events': 'read',
429
+ 'playground_webhook_get-last': 'read',
430
+ 'playground_workflow_echo': 'write',
431
+ 'playground_workflow_echo-list': 'read',
432
+ 'playground_workflow_ping': 'write',
433
+ 'playground_workflow_subjects-list': 'read',
417
434
  'realtime_archive_export': 'admin',
418
435
  'realtime_archive_export_status': 'read',
419
436
  'realtime_archive_get': 'read',
@@ -706,6 +723,9 @@ export const compositions: Record<string, ToolComposition> = {
706
723
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
707
724
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
708
725
  'mail_usage_get': {"label":"Get usage"},
726
+ 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
727
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
728
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
709
729
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
710
730
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
711
731
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
@@ -0,0 +1,9 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ import { wsBindings } from '../bindings.gen';
3
+ import type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';
4
+ import type {
5
+ PlaygroundWsEchoInput,
6
+ } from '../types.gen';
7
+
8
+ export const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>
9
+ sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);
@@ -0,0 +1,4 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ export * from './queryOptions.gen';
3
+ export * from './connect.gen';
4
+ export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundEchoPingInput, PlaygroundEchoPingOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen';