@lessly/sdk-app 73.1.0 → 73.3.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-VDBGXDY3.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
- "version": "73.1.0",
3
+ "version": "73.3.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "engines": {
@@ -148,6 +148,16 @@
148
148
  "default": "./dist/organization/index.cjs"
149
149
  }
150
150
  },
151
+ "./playground": {
152
+ "import": {
153
+ "types": "./dist/playground/index.d.ts",
154
+ "default": "./dist/playground/index.js"
155
+ },
156
+ "require": {
157
+ "types": "./dist/playground/index.d.cts",
158
+ "default": "./dist/playground/index.cjs"
159
+ }
160
+ },
151
161
  "./realtime": {
152
162
  "import": {
153
163
  "types": "./dist/realtime/index.d.ts",
@@ -209,5 +219,5 @@
209
219
  }
210
220
  }
211
221
  },
212
- "sdkContentHash": "sha256:e9b036ffebfbc1b87f0f4bd1810a2c4a48d5dba3e7eced2dfee098d25d23355a"
222
+ "sdkContentHash": "sha256:f66d2494a6695d89cfa223914dfa30e7356c05869df0c512c9ef53d68fe42099"
213
223
  }
@@ -7262,6 +7262,213 @@ export const bindings: BindingsMap = {
7262
7262
  }
7263
7263
  }
7264
7264
  },
7265
+ "playground": {
7266
+ "analytics": {
7267
+ "overview": {
7268
+ "level": "read",
7269
+ "method": "POST",
7270
+ "operationKey": "playground_analytics_overview",
7271
+ "params": [
7272
+ {
7273
+ "in": "body",
7274
+ "name": "limit"
7275
+ }
7276
+ ],
7277
+ "path": "/playground/analytics/overview",
7278
+ "readOnly": true
7279
+ }
7280
+ },
7281
+ "billing": {
7282
+ "entitlements": {
7283
+ "level": "read",
7284
+ "method": "POST",
7285
+ "operationKey": "playground_billing_entitlements",
7286
+ "path": "/playground/billing/entitlements",
7287
+ "readOnly": true
7288
+ },
7289
+ "record-usage": {
7290
+ "level": "write",
7291
+ "method": "POST",
7292
+ "operationKey": "playground_billing_record-usage",
7293
+ "params": [
7294
+ {
7295
+ "in": "body",
7296
+ "name": "value"
7297
+ }
7298
+ ],
7299
+ "path": "/playground/billing/usage",
7300
+ "readOnly": false
7301
+ }
7302
+ },
7303
+ "clickup": {
7304
+ "create-task": {
7305
+ "level": "write",
7306
+ "method": "POST",
7307
+ "operationKey": "playground_clickup_create-task",
7308
+ "params": [
7309
+ {
7310
+ "in": "body",
7311
+ "name": "listId"
7312
+ },
7313
+ {
7314
+ "in": "body",
7315
+ "name": "name"
7316
+ }
7317
+ ],
7318
+ "path": "/playground/clickup/tasks",
7319
+ "readOnly": false
7320
+ },
7321
+ "get-last-webhook": {
7322
+ "level": "read",
7323
+ "method": "GET",
7324
+ "operationKey": "playground_clickup_get-last-webhook",
7325
+ "path": "/playground/clickup/webhooks/last",
7326
+ "readOnly": true
7327
+ },
7328
+ "get-overview": {
7329
+ "level": "read",
7330
+ "method": "GET",
7331
+ "operationKey": "playground_clickup_get-overview",
7332
+ "path": "/playground/clickup/overview",
7333
+ "readOnly": true
7334
+ }
7335
+ },
7336
+ "echo": {
7337
+ "ping": {
7338
+ "level": "read",
7339
+ "method": "POST",
7340
+ "operationKey": "playground_echo_ping",
7341
+ "params": [
7342
+ {
7343
+ "in": "body",
7344
+ "name": "message"
7345
+ }
7346
+ ],
7347
+ "path": "/playground/echo/ping",
7348
+ "readOnly": true
7349
+ }
7350
+ },
7351
+ "gdrive": {
7352
+ "get-last-change": {
7353
+ "level": "read",
7354
+ "method": "GET",
7355
+ "operationKey": "playground_gdrive_get-last-change",
7356
+ "path": "/playground/gdrive/changes/last",
7357
+ "readOnly": true
7358
+ },
7359
+ "read-file": {
7360
+ "level": "read",
7361
+ "method": "POST",
7362
+ "operationKey": "playground_gdrive_read-file",
7363
+ "params": [
7364
+ {
7365
+ "in": "body",
7366
+ "name": "fileId"
7367
+ }
7368
+ ],
7369
+ "path": "/playground/gdrive/file",
7370
+ "readOnly": true
7371
+ }
7372
+ },
7373
+ "googleads": {
7374
+ "read-customer": {
7375
+ "level": "read",
7376
+ "method": "POST",
7377
+ "operationKey": "playground_googleads_read-customer",
7378
+ "path": "/playground/googleads/customer",
7379
+ "readOnly": true
7380
+ }
7381
+ },
7382
+ "lifecycle": {
7383
+ "get-state": {
7384
+ "level": "read",
7385
+ "method": "GET",
7386
+ "operationKey": "playground_lifecycle_get-state",
7387
+ "path": "/playground/lifecycle/state",
7388
+ "readOnly": true
7389
+ },
7390
+ "list-events": {
7391
+ "level": "read",
7392
+ "method": "GET",
7393
+ "operationKey": "playground_lifecycle_list-events",
7394
+ "path": "/playground/lifecycle/events",
7395
+ "readOnly": true
7396
+ }
7397
+ },
7398
+ "webhook": {
7399
+ "get-last": {
7400
+ "level": "read",
7401
+ "method": "GET",
7402
+ "operationKey": "playground_webhook_get-last",
7403
+ "path": "/playground/webhooks/last",
7404
+ "readOnly": true
7405
+ }
7406
+ },
7407
+ "workflow": {
7408
+ "echo": {
7409
+ "level": "write",
7410
+ "method": "POST",
7411
+ "operationKey": "playground_workflow_echo",
7412
+ "params": [
7413
+ {
7414
+ "in": "body",
7415
+ "name": "note"
7416
+ },
7417
+ {
7418
+ "in": "body",
7419
+ "name": "tags"
7420
+ }
7421
+ ],
7422
+ "path": "/playground/workflow/echo",
7423
+ "readOnly": false
7424
+ },
7425
+ "echo-list": {
7426
+ "level": "read",
7427
+ "method": "GET",
7428
+ "operationKey": "playground_workflow_echo-list",
7429
+ "path": "/playground/workflow/echoes",
7430
+ "readOnly": true
7431
+ },
7432
+ "ping": {
7433
+ "level": "write",
7434
+ "method": "POST",
7435
+ "operationKey": "playground_workflow_ping",
7436
+ "params": [
7437
+ {
7438
+ "in": "body",
7439
+ "name": "kind"
7440
+ }
7441
+ ],
7442
+ "path": "/playground/workflow/ping",
7443
+ "readOnly": false
7444
+ },
7445
+ "subjects-list": {
7446
+ "level": "read",
7447
+ "method": "GET",
7448
+ "operationKey": "playground_workflow_subjects-list",
7449
+ "params": [
7450
+ {
7451
+ "in": "query",
7452
+ "name": "last_activity_before"
7453
+ },
7454
+ {
7455
+ "in": "query",
7456
+ "name": "last_activity_after"
7457
+ },
7458
+ {
7459
+ "in": "query",
7460
+ "name": "limit"
7461
+ },
7462
+ {
7463
+ "in": "query",
7464
+ "name": "cursor"
7465
+ }
7466
+ ],
7467
+ "path": "/playground/workflow/subjects",
7468
+ "readOnly": true
7469
+ }
7470
+ }
7471
+ },
7265
7472
  "realtime": {
7266
7473
  "archive": {
7267
7474
  "export": {
@@ -11177,4 +11384,12 @@ export const bindings: BindingsMap = {
11177
11384
  }
11178
11385
  };
11179
11386
 
11180
- export const wsBindings: WsBindingsMap = {};
11387
+ export const wsBindings: WsBindingsMap = {
11388
+ "playground": {
11389
+ "ws": {
11390
+ "echo": {
11391
+ "path": "/playground/ws/echo"
11392
+ }
11393
+ }
11394
+ }
11395
+ };
@@ -781,6 +781,40 @@ import type {
781
781
  OrganizationXInstallOutput,
782
782
  OrganizationYoutubeInstallInput,
783
783
  OrganizationYoutubeInstallOutput,
784
+ PlaygroundAnalyticsOverviewInput,
785
+ PlaygroundAnalyticsOverviewOutput,
786
+ PlaygroundBillingEntitlementsInput,
787
+ PlaygroundBillingEntitlementsOutput,
788
+ PlaygroundBillingRecordUsageInput,
789
+ PlaygroundBillingRecordUsageOutput,
790
+ PlaygroundClickupCreateTaskInput,
791
+ PlaygroundClickupCreateTaskOutput,
792
+ PlaygroundClickupGetLastWebhookInput,
793
+ PlaygroundClickupGetLastWebhookOutput,
794
+ PlaygroundClickupGetOverviewInput,
795
+ PlaygroundClickupGetOverviewOutput,
796
+ PlaygroundEchoPingInput,
797
+ PlaygroundEchoPingOutput,
798
+ PlaygroundGdriveGetLastChangeInput,
799
+ PlaygroundGdriveGetLastChangeOutput,
800
+ PlaygroundGdriveReadFileInput,
801
+ PlaygroundGdriveReadFileOutput,
802
+ PlaygroundGoogleadsReadCustomerInput,
803
+ PlaygroundGoogleadsReadCustomerOutput,
804
+ PlaygroundLifecycleGetStateInput,
805
+ PlaygroundLifecycleGetStateOutput,
806
+ PlaygroundLifecycleListEventsInput,
807
+ PlaygroundLifecycleListEventsOutput,
808
+ PlaygroundWebhookGetLastInput,
809
+ PlaygroundWebhookGetLastOutput,
810
+ PlaygroundWorkflowEchoInput,
811
+ PlaygroundWorkflowEchoListInput,
812
+ PlaygroundWorkflowEchoListOutput,
813
+ PlaygroundWorkflowEchoOutput,
814
+ PlaygroundWorkflowPingInput,
815
+ PlaygroundWorkflowPingOutput,
816
+ PlaygroundWorkflowSubjectsListInput,
817
+ PlaygroundWorkflowSubjectsListOutput,
784
818
  RealtimeArchiveExportInput,
785
819
  RealtimeArchiveExportOutput,
786
820
  RealtimeArchiveExportStatusInput,
@@ -1880,6 +1914,43 @@ export interface GeneratedClient {
1880
1914
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1881
1915
  };
1882
1916
  };
1917
+ playground: {
1918
+ analytics: {
1919
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1920
+ };
1921
+ billing: {
1922
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1923
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1924
+ };
1925
+ clickup: {
1926
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1927
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1928
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1929
+ };
1930
+ echo: {
1931
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1932
+ };
1933
+ gdrive: {
1934
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1935
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1936
+ };
1937
+ googleads: {
1938
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1939
+ };
1940
+ lifecycle: {
1941
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1942
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1943
+ };
1944
+ webhook: {
1945
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
1946
+ };
1947
+ workflow: {
1948
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
1949
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
1950
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
1951
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
1952
+ };
1953
+ };
1883
1954
  realtime: {
1884
1955
  archive: {
1885
1956
  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', 'waitlist', 'workflow'] as const;
4
+ export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist', 'workflow'] as const;
5
5
 
6
6
  export const operations: Record<string, ToolLevel> = {
7
7
  'analytics_catalog_get': 'read',
@@ -394,6 +394,23 @@ export const operations: Record<string, ToolLevel> = {
394
394
  'organization_support_threads_list': 'read',
395
395
  'organization_x_install': 'read',
396
396
  'organization_youtube_install': 'read',
397
+ 'playground_analytics_overview': 'read',
398
+ 'playground_billing_entitlements': 'read',
399
+ 'playground_billing_record-usage': 'write',
400
+ 'playground_clickup_create-task': 'write',
401
+ 'playground_clickup_get-last-webhook': 'read',
402
+ 'playground_clickup_get-overview': 'read',
403
+ 'playground_echo_ping': 'read',
404
+ 'playground_gdrive_get-last-change': 'read',
405
+ 'playground_gdrive_read-file': 'read',
406
+ 'playground_googleads_read-customer': 'read',
407
+ 'playground_lifecycle_get-state': 'read',
408
+ 'playground_lifecycle_list-events': 'read',
409
+ 'playground_webhook_get-last': 'read',
410
+ 'playground_workflow_echo': 'write',
411
+ 'playground_workflow_echo-list': 'read',
412
+ 'playground_workflow_ping': 'write',
413
+ 'playground_workflow_subjects-list': 'read',
397
414
  'realtime_archive_export': 'admin',
398
415
  'realtime_archive_export_status': 'read',
399
416
  'realtime_archive_get': 'read',
@@ -616,6 +633,13 @@ export const compositions: Record<string, ToolComposition> = {
616
633
  'brain_memory_stats': {"label":"Memory stats"},
617
634
  'brain_memory_update': {"pii":["input.content"],"label":"Update memory"},
618
635
  'brain_usage_report': {"label":"Get usage report"},
636
+ 'content_metrics_post_series': {"label":"Read post metrics","options":{"id":"content_publications_list"}},
637
+ 'content_posts_create': {"pii":["output.author"],"label":"Create draft post"},
638
+ 'content_posts_submit': {"pii":["output.author"],"label":"Submit post for approval","options":{"id":"content_posts_list"}},
639
+ 'content_publications_cancel': {"label":"Cancel publication","options":{"id":"content_publications_list"}},
640
+ 'content_publications_publish': {"label":"Publish now","options":{"postId":"content_posts_list","channelId":"content_channels_list"},"completion_event":"content/publication.settled"},
641
+ 'content_publications_schedule': {"label":"Schedule publication","options":{"postId":"content_posts_list","channelId":"content_channels_list"},"completion_event":"content/publication.settled"},
642
+ 'content_publications_validate': {"label":"Validate post against channels","options":{"postId":"content_posts_list"}},
619
643
  'mail_audience_create': {"label":"Create audience"},
620
644
  'mail_audience_delete': {"label":"Delete audience"},
621
645
  'mail_audience_get': {"label":"Get audience"},
@@ -655,6 +679,9 @@ export const compositions: Record<string, ToolComposition> = {
655
679
  'mail_template_publish': {"label":"Publish template"},
656
680
  'mail_template_update': {"label":"Update template"},
657
681
  'mail_usage_get': {"label":"Get usage"},
682
+ 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
683
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
684
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
658
685
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent profile"},
659
686
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
660
687
  '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';
@@ -0,0 +1,119 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ import type { GeneratedClient } from '../client.gen';
3
+ import type {
4
+ PlaygroundAnalyticsOverviewInput,
5
+ PlaygroundAnalyticsOverviewOutput,
6
+ PlaygroundBillingEntitlementsInput,
7
+ PlaygroundBillingEntitlementsOutput,
8
+ PlaygroundBillingRecordUsageInput,
9
+ PlaygroundClickupCreateTaskInput,
10
+ PlaygroundClickupGetLastWebhookInput,
11
+ PlaygroundClickupGetLastWebhookOutput,
12
+ PlaygroundClickupGetOverviewInput,
13
+ PlaygroundClickupGetOverviewOutput,
14
+ PlaygroundEchoPingInput,
15
+ PlaygroundEchoPingOutput,
16
+ PlaygroundGdriveGetLastChangeInput,
17
+ PlaygroundGdriveGetLastChangeOutput,
18
+ PlaygroundGdriveReadFileInput,
19
+ PlaygroundGdriveReadFileOutput,
20
+ PlaygroundGoogleadsReadCustomerInput,
21
+ PlaygroundGoogleadsReadCustomerOutput,
22
+ PlaygroundLifecycleGetStateInput,
23
+ PlaygroundLifecycleGetStateOutput,
24
+ PlaygroundLifecycleListEventsInput,
25
+ PlaygroundLifecycleListEventsOutput,
26
+ PlaygroundWebhookGetLastInput,
27
+ PlaygroundWebhookGetLastOutput,
28
+ PlaygroundWorkflowEchoInput,
29
+ PlaygroundWorkflowEchoListInput,
30
+ PlaygroundWorkflowEchoListOutput,
31
+ PlaygroundWorkflowPingInput,
32
+ PlaygroundWorkflowSubjectsListInput,
33
+ PlaygroundWorkflowSubjectsListOutput,
34
+ } from '../types.gen';
35
+
36
+ export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
37
+ queryKey: ['playground', 'analytics', 'overview', input] as const,
38
+ queryFn: () => sdk['playground']['analytics']['overview'](input),
39
+ });
40
+
41
+ export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
42
+ queryKey: ['playground', 'billing', 'entitlements', input] as const,
43
+ queryFn: () => sdk['playground']['billing']['entitlements'](input),
44
+ });
45
+
46
+ export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
47
+ mutationKey: ['playground', 'billing', 'record-usage'],
48
+ mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
49
+ });
50
+
51
+ export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
52
+ mutationKey: ['playground', 'clickup', 'create-task'],
53
+ mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
54
+ });
55
+
56
+ export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
57
+ queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
58
+ queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
59
+ });
60
+
61
+ export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
62
+ queryKey: ['playground', 'clickup', 'get-overview', input] as const,
63
+ queryFn: () => sdk['playground']['clickup']['get-overview'](input),
64
+ });
65
+
66
+ export const playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({
67
+ queryKey: ['playground', 'echo', 'ping', input] as const,
68
+ queryFn: () => sdk['playground']['echo']['ping'](input),
69
+ });
70
+
71
+ export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
72
+ queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
73
+ queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
74
+ });
75
+
76
+ export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
77
+ queryKey: ['playground', 'gdrive', 'read-file', input] as const,
78
+ queryFn: () => sdk['playground']['gdrive']['read-file'](input),
79
+ });
80
+
81
+ export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
82
+ queryKey: ['playground', 'googleads', 'read-customer', input] as const,
83
+ queryFn: () => sdk['playground']['googleads']['read-customer'](input),
84
+ });
85
+
86
+ export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
87
+ queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
88
+ queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
89
+ });
90
+
91
+ export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
92
+ queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
93
+ queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
94
+ });
95
+
96
+ export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
97
+ queryKey: ['playground', 'webhook', 'get-last', input] as const,
98
+ queryFn: () => sdk['playground']['webhook']['get-last'](input),
99
+ });
100
+
101
+ export const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({
102
+ mutationKey: ['playground', 'workflow', 'echo'],
103
+ mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),
104
+ });
105
+
106
+ export const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({
107
+ queryKey: ['playground', 'workflow', 'echo-list', input] as const,
108
+ queryFn: () => sdk['playground']['workflow']['echo-list'](input),
109
+ });
110
+
111
+ export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({
112
+ mutationKey: ['playground', 'workflow', 'ping'],
113
+ mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
114
+ });
115
+
116
+ export const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({
117
+ queryKey: ['playground', 'workflow', 'subjects-list', input] as const,
118
+ queryFn: () => sdk['playground']['workflow']['subjects-list'](input),
119
+ });