@lepsto/sdk-app 84.0.0 → 85.0.1

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 (42) hide show
  1. package/README.md +38 -6
  2. package/dist/_types/gen/client.gen.d.ts +38 -18
  3. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  4. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  5. package/dist/_types/gen/playground/index.d.ts +3 -0
  6. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  7. package/dist/_types/gen/types.gen.d.ts +1948 -212
  8. package/dist/chunk-HRKHYP5B.js +11397 -0
  9. package/dist/chunk-HRKHYP5B.js.map +1 -0
  10. package/dist/index.cjs +236 -176
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.js +31 -11354
  13. package/dist/index.js.map +1 -1
  14. package/dist/playground/index.cjs +106 -0
  15. package/dist/playground/index.cjs.map +1 -0
  16. package/dist/playground/index.d.cts +1 -0
  17. package/dist/playground/index.d.ts +1 -0
  18. package/dist/playground/index.js +78 -0
  19. package/dist/playground/index.js.map +1 -0
  20. package/docs/README.md +6 -6
  21. package/docs/recipes/access.md +12 -12
  22. package/docs/recipes/local-dev.md +2 -2
  23. package/docs/recipes/sdk-usage.md +11 -11
  24. package/docs/rules.md +10 -10
  25. package/package.json +22 -12
  26. package/src/gen/bindings.gen.ts +216 -150
  27. package/src/gen/client.gen.ts +71 -31
  28. package/src/gen/manifest.gen.ts +30 -28
  29. package/src/gen/playground/connect.gen.ts +9 -0
  30. package/src/gen/playground/index.ts +4 -0
  31. package/src/gen/playground/queryOptions.gen.ts +119 -0
  32. package/src/gen/types.gen.ts +1977 -211
  33. package/dist/_types/gen/waitlist/index.d.ts +0 -2
  34. package/dist/_types/gen/waitlist/queryOptions.gen.d.ts +0 -30
  35. package/dist/waitlist/index.cjs +0 -41
  36. package/dist/waitlist/index.cjs.map +0 -1
  37. package/dist/waitlist/index.d.cts +0 -1
  38. package/dist/waitlist/index.d.ts +0 -1
  39. package/dist/waitlist/index.js +0 -33
  40. package/dist/waitlist/index.js.map +0 -1
  41. package/src/gen/waitlist/index.ts +0 -3
  42. package/src/gen/waitlist/queryOptions.gen.ts +0 -50
@@ -7270,6 +7270,213 @@ export const bindings: BindingsMap = {
7270
7270
  }
7271
7271
  }
7272
7272
  },
7273
+ "playground": {
7274
+ "analytics": {
7275
+ "overview": {
7276
+ "level": "read",
7277
+ "method": "POST",
7278
+ "operationKey": "playground_analytics_overview",
7279
+ "params": [
7280
+ {
7281
+ "in": "body",
7282
+ "name": "limit"
7283
+ }
7284
+ ],
7285
+ "path": "/playground/analytics/overview",
7286
+ "readOnly": true
7287
+ }
7288
+ },
7289
+ "billing": {
7290
+ "entitlements": {
7291
+ "level": "read",
7292
+ "method": "POST",
7293
+ "operationKey": "playground_billing_entitlements",
7294
+ "path": "/playground/billing/entitlements",
7295
+ "readOnly": true
7296
+ },
7297
+ "record-usage": {
7298
+ "level": "write",
7299
+ "method": "POST",
7300
+ "operationKey": "playground_billing_record-usage",
7301
+ "params": [
7302
+ {
7303
+ "in": "body",
7304
+ "name": "value"
7305
+ }
7306
+ ],
7307
+ "path": "/playground/billing/usage",
7308
+ "readOnly": false
7309
+ }
7310
+ },
7311
+ "clickup": {
7312
+ "create-task": {
7313
+ "level": "write",
7314
+ "method": "POST",
7315
+ "operationKey": "playground_clickup_create-task",
7316
+ "params": [
7317
+ {
7318
+ "in": "body",
7319
+ "name": "listId"
7320
+ },
7321
+ {
7322
+ "in": "body",
7323
+ "name": "name"
7324
+ }
7325
+ ],
7326
+ "path": "/playground/clickup/tasks",
7327
+ "readOnly": false
7328
+ },
7329
+ "get-last-webhook": {
7330
+ "level": "read",
7331
+ "method": "GET",
7332
+ "operationKey": "playground_clickup_get-last-webhook",
7333
+ "path": "/playground/clickup/webhooks/last",
7334
+ "readOnly": true
7335
+ },
7336
+ "get-overview": {
7337
+ "level": "read",
7338
+ "method": "GET",
7339
+ "operationKey": "playground_clickup_get-overview",
7340
+ "path": "/playground/clickup/overview",
7341
+ "readOnly": true
7342
+ }
7343
+ },
7344
+ "echo": {
7345
+ "ping": {
7346
+ "level": "read",
7347
+ "method": "POST",
7348
+ "operationKey": "playground_echo_ping",
7349
+ "params": [
7350
+ {
7351
+ "in": "body",
7352
+ "name": "message"
7353
+ }
7354
+ ],
7355
+ "path": "/playground/echo/ping",
7356
+ "readOnly": true
7357
+ }
7358
+ },
7359
+ "gdrive": {
7360
+ "get-last-change": {
7361
+ "level": "read",
7362
+ "method": "GET",
7363
+ "operationKey": "playground_gdrive_get-last-change",
7364
+ "path": "/playground/gdrive/changes/last",
7365
+ "readOnly": true
7366
+ },
7367
+ "read-file": {
7368
+ "level": "read",
7369
+ "method": "POST",
7370
+ "operationKey": "playground_gdrive_read-file",
7371
+ "params": [
7372
+ {
7373
+ "in": "body",
7374
+ "name": "fileId"
7375
+ }
7376
+ ],
7377
+ "path": "/playground/gdrive/file",
7378
+ "readOnly": true
7379
+ }
7380
+ },
7381
+ "googleads": {
7382
+ "read-customer": {
7383
+ "level": "read",
7384
+ "method": "POST",
7385
+ "operationKey": "playground_googleads_read-customer",
7386
+ "path": "/playground/googleads/customer",
7387
+ "readOnly": true
7388
+ }
7389
+ },
7390
+ "lifecycle": {
7391
+ "get-state": {
7392
+ "level": "read",
7393
+ "method": "GET",
7394
+ "operationKey": "playground_lifecycle_get-state",
7395
+ "path": "/playground/lifecycle/state",
7396
+ "readOnly": true
7397
+ },
7398
+ "list-events": {
7399
+ "level": "read",
7400
+ "method": "GET",
7401
+ "operationKey": "playground_lifecycle_list-events",
7402
+ "path": "/playground/lifecycle/events",
7403
+ "readOnly": true
7404
+ }
7405
+ },
7406
+ "webhook": {
7407
+ "get-last": {
7408
+ "level": "read",
7409
+ "method": "GET",
7410
+ "operationKey": "playground_webhook_get-last",
7411
+ "path": "/playground/webhooks/last",
7412
+ "readOnly": true
7413
+ }
7414
+ },
7415
+ "workflow": {
7416
+ "echo": {
7417
+ "level": "write",
7418
+ "method": "POST",
7419
+ "operationKey": "playground_workflow_echo",
7420
+ "params": [
7421
+ {
7422
+ "in": "body",
7423
+ "name": "note"
7424
+ },
7425
+ {
7426
+ "in": "body",
7427
+ "name": "tags"
7428
+ }
7429
+ ],
7430
+ "path": "/playground/workflow/echo",
7431
+ "readOnly": false
7432
+ },
7433
+ "echo-list": {
7434
+ "level": "read",
7435
+ "method": "GET",
7436
+ "operationKey": "playground_workflow_echo-list",
7437
+ "path": "/playground/workflow/echoes",
7438
+ "readOnly": true
7439
+ },
7440
+ "ping": {
7441
+ "level": "write",
7442
+ "method": "POST",
7443
+ "operationKey": "playground_workflow_ping",
7444
+ "params": [
7445
+ {
7446
+ "in": "body",
7447
+ "name": "kind"
7448
+ }
7449
+ ],
7450
+ "path": "/playground/workflow/ping",
7451
+ "readOnly": false
7452
+ },
7453
+ "subjects-list": {
7454
+ "level": "read",
7455
+ "method": "GET",
7456
+ "operationKey": "playground_workflow_subjects-list",
7457
+ "params": [
7458
+ {
7459
+ "in": "query",
7460
+ "name": "last_activity_before"
7461
+ },
7462
+ {
7463
+ "in": "query",
7464
+ "name": "last_activity_after"
7465
+ },
7466
+ {
7467
+ "in": "query",
7468
+ "name": "limit"
7469
+ },
7470
+ {
7471
+ "in": "query",
7472
+ "name": "cursor"
7473
+ }
7474
+ ],
7475
+ "path": "/playground/workflow/subjects",
7476
+ "readOnly": true
7477
+ }
7478
+ }
7479
+ },
7273
7480
  "realtime": {
7274
7481
  "archive": {
7275
7482
  "export": {
@@ -10433,155 +10640,6 @@ export const bindings: BindingsMap = {
10433
10640
  }
10434
10641
  }
10435
10642
  },
10436
- "waitlist": {
10437
- "config": {
10438
- "get": {
10439
- "level": "read",
10440
- "method": "GET",
10441
- "operationKey": "waitlist_config_get",
10442
- "path": "/waitlist/config",
10443
- "readOnly": true
10444
- },
10445
- "upsert": {
10446
- "level": "write",
10447
- "method": "PUT",
10448
- "operationKey": "waitlist_config_upsert",
10449
- "params": [
10450
- {
10451
- "in": "body",
10452
- "name": "policyVersion"
10453
- },
10454
- {
10455
- "in": "body",
10456
- "name": "consentText"
10457
- },
10458
- {
10459
- "in": "body",
10460
- "name": "policyUrl"
10461
- },
10462
- {
10463
- "in": "body",
10464
- "name": "policyLabel"
10465
- },
10466
- {
10467
- "in": "body",
10468
- "name": "senderDomain"
10469
- },
10470
- {
10471
- "in": "body",
10472
- "name": "senderName"
10473
- },
10474
- {
10475
- "in": "body",
10476
- "name": "inviteTemplate"
10477
- },
10478
- {
10479
- "in": "body",
10480
- "name": "inviteSubject"
10481
- },
10482
- {
10483
- "in": "body",
10484
- "name": "siteBaseUrl"
10485
- }
10486
- ],
10487
- "path": "/waitlist/config",
10488
- "readOnly": false
10489
- }
10490
- },
10491
- "embed": {
10492
- "get": {
10493
- "level": "read",
10494
- "method": "GET",
10495
- "operationKey": "waitlist_embed_get",
10496
- "path": "/waitlist/embed",
10497
- "readOnly": true
10498
- }
10499
- },
10500
- "invites": {
10501
- "send": {
10502
- "level": "write",
10503
- "method": "POST",
10504
- "operationKey": "waitlist_invites_send",
10505
- "params": [
10506
- {
10507
- "in": "body",
10508
- "name": "emails"
10509
- },
10510
- {
10511
- "in": "body",
10512
- "name": "filter"
10513
- },
10514
- {
10515
- "in": "body",
10516
- "name": "force"
10517
- }
10518
- ],
10519
- "path": "/waitlist/invites/send",
10520
- "readOnly": false
10521
- }
10522
- },
10523
- "signups": {
10524
- "erase": {
10525
- "level": "write",
10526
- "method": "POST",
10527
- "operationKey": "waitlist_signups_erase",
10528
- "params": [
10529
- {
10530
- "in": "body",
10531
- "name": "email"
10532
- }
10533
- ],
10534
- "path": "/waitlist/erasure",
10535
- "readOnly": false
10536
- },
10537
- "funnel": {
10538
- "level": "read",
10539
- "method": "GET",
10540
- "operationKey": "waitlist_signups_funnel",
10541
- "params": [
10542
- {
10543
- "in": "query",
10544
- "name": "period"
10545
- }
10546
- ],
10547
- "path": "/waitlist/signups/stats",
10548
- "readOnly": true
10549
- },
10550
- "list": {
10551
- "level": "read",
10552
- "method": "GET",
10553
- "operationKey": "waitlist_signups_list",
10554
- "params": [
10555
- {
10556
- "in": "query",
10557
- "name": "status"
10558
- },
10559
- {
10560
- "in": "query",
10561
- "name": "fields"
10562
- },
10563
- {
10564
- "in": "query",
10565
- "name": "cursor"
10566
- },
10567
- {
10568
- "in": "query",
10569
- "name": "limit"
10570
- },
10571
- {
10572
- "in": "query",
10573
- "name": "order"
10574
- },
10575
- {
10576
- "in": "query",
10577
- "name": "q"
10578
- }
10579
- ],
10580
- "path": "/waitlist/signups",
10581
- "readOnly": true
10582
- }
10583
- }
10584
- },
10585
10643
  "workflow": {
10586
10644
  "cap": {
10587
10645
  "list": {
@@ -11327,4 +11385,12 @@ export const bindings: BindingsMap = {
11327
11385
  }
11328
11386
  };
11329
11387
 
11330
- export const wsBindings: WsBindingsMap = {};
11388
+ export const wsBindings: WsBindingsMap = {
11389
+ "playground": {
11390
+ "ws": {
11391
+ "echo": {
11392
+ "path": "/playground/ws/echo"
11393
+ }
11394
+ }
11395
+ }
11396
+ };
@@ -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,
@@ -1103,20 +1137,6 @@ import type {
1103
1137
  UsersWebhooksRotateSecretOutput,
1104
1138
  UsersWebhooksUpdateInput,
1105
1139
  UsersWebhooksUpdateOutput,
1106
- WaitlistConfigGetInput,
1107
- WaitlistConfigGetOutput,
1108
- WaitlistConfigUpsertInput,
1109
- WaitlistConfigUpsertOutput,
1110
- WaitlistEmbedGetInput,
1111
- WaitlistEmbedGetOutput,
1112
- WaitlistInvitesSendInput,
1113
- WaitlistInvitesSendOutput,
1114
- WaitlistSignupsEraseInput,
1115
- WaitlistSignupsEraseOutput,
1116
- WaitlistSignupsFunnelInput,
1117
- WaitlistSignupsFunnelOutput,
1118
- WaitlistSignupsListInput,
1119
- WaitlistSignupsListOutput,
1120
1140
  WorkflowCapListInput,
1121
1141
  WorkflowCapListOutput,
1122
1142
  WorkflowCapabilityGetInput,
@@ -1900,6 +1920,43 @@ export interface GeneratedClient {
1900
1920
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1901
1921
  };
1902
1922
  };
1923
+ playground: {
1924
+ analytics: {
1925
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1926
+ };
1927
+ billing: {
1928
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1929
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1930
+ };
1931
+ clickup: {
1932
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1933
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1934
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1935
+ };
1936
+ echo: {
1937
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1938
+ };
1939
+ gdrive: {
1940
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1941
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1942
+ };
1943
+ googleads: {
1944
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1945
+ };
1946
+ lifecycle: {
1947
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1948
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1949
+ };
1950
+ webhook: {
1951
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
1952
+ };
1953
+ workflow: {
1954
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
1955
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
1956
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
1957
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
1958
+ };
1959
+ };
1903
1960
  realtime: {
1904
1961
  archive: {
1905
1962
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
@@ -2197,23 +2254,6 @@ export interface GeneratedClient {
2197
2254
  secret: ((input: UsersWebhooksRotateSecretInput) => Promise<UsersWebhooksRotateSecretOutput>) & Operation;
2198
2255
  };
2199
2256
  };
2200
- waitlist: {
2201
- config: {
2202
- get: ((input: WaitlistConfigGetInput) => Promise<WaitlistConfigGetOutput>) & Operation;
2203
- upsert: ((input: WaitlistConfigUpsertInput) => Promise<WaitlistConfigUpsertOutput>) & Operation;
2204
- };
2205
- embed: {
2206
- get: ((input: WaitlistEmbedGetInput) => Promise<WaitlistEmbedGetOutput>) & Operation;
2207
- };
2208
- invites: {
2209
- send: ((input: WaitlistInvitesSendInput) => Promise<WaitlistInvitesSendOutput>) & Operation;
2210
- };
2211
- signups: {
2212
- erase: ((input: WaitlistSignupsEraseInput) => Promise<WaitlistSignupsEraseOutput>) & Operation;
2213
- funnel: ((input: WaitlistSignupsFunnelInput) => Promise<WaitlistSignupsFunnelOutput>) & Operation;
2214
- list: ((input: WaitlistSignupsListInput) => Promise<WaitlistSignupsListOutput>) & Operation;
2215
- };
2216
- };
2217
2257
  workflow: {
2218
2258
  cap: {
2219
2259
  list: ((input: WorkflowCapListInput) => Promise<WorkflowCapListOutput>) & 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', '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',
@@ -555,13 +572,6 @@ export const operations: Record<string, ToolLevel> = {
555
572
  'users_webhooks_list': 'read',
556
573
  'users_webhooks_rotate_secret': 'admin',
557
574
  'users_webhooks_update': 'write',
558
- 'waitlist_config_get': 'read',
559
- 'waitlist_config_upsert': 'write',
560
- 'waitlist_embed_get': 'read',
561
- 'waitlist_invites_send': 'write',
562
- 'waitlist_signups_erase': 'write',
563
- 'waitlist_signups_funnel': 'read',
564
- 'waitlist_signups_list': 'read',
565
575
  'workflow_cap_list': 'read',
566
576
  'workflow_capability_get': 'read',
567
577
  'workflow_capability_list': 'read',
@@ -674,6 +684,9 @@ export const compositions: Record<string, ToolComposition> = {
674
684
  'mail_template_publish': {"label":"Publish template","options":{"id":"mail_template_list"}},
675
685
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
676
686
  'mail_usage_get': {"label":"Get usage"},
687
+ 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
688
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
689
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
677
690
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
678
691
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
679
692
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
@@ -714,41 +727,30 @@ export const compositions: Record<string, ToolComposition> = {
714
727
  'support_thread_list': {"pii":["input.authorExternalId","output.threads[].title","output.threads[].authorExternalId","output.threads[].authorDisplay"],"label":"List support threads","options":{"labelIds":"support_label_list","statusId":"support_status_list","assignedAgentId":"support_agent_list"}},
715
728
  'support_thread_status_set': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Move support thread to status","options":{"id":"support_thread_list","statusId":"support_status_list"}},
716
729
  'support_thread_update': {"pii":["input.title","output.title","output.authorExternalId","output.authorDisplay"],"label":"Update support thread","options":{"id":"support_thread_list","labelIds":"support_label_list"}},
717
- 'tracking_domains_create': {"label":"Claim tracking host","options":{"domainId":"tracking_domains_list"}},
718
- 'tracking_domains_delete': {"label":"Release domain binding","options":{"bindingId":"tracking_domains_list"}},
719
730
  'tracking_domains_get': {"label":"Get domain binding","options":{"bindingId":"tracking_domains_list"}},
720
731
  'tracking_domains_list': {"label":"List tracking domains"},
721
- 'tracking_domains_verify': {"label":"Verify domain binding","options":{"bindingId":"tracking_domains_list"},"completion_event":"tracking/domain.verification-completed"},
722
- 'tracking_event-names_archive': {"label":"Archive event name","options":{"name":"tracking_event-names_list"}},
723
732
  'tracking_event-names_list': {"label":"List event names"},
724
- 'tracking_event-names_set-conversion': {"label":"Mark event as workflow trigger","options":{"name":"tracking_event-names_list"}},
725
- 'tracking_event-names_unarchive': {"label":"Unarchive event name","options":{"name":"tracking_event-names_list"}},
726
- 'tracking_googleads_connection_status': {"label":"Google Ads connection status"},
733
+ 'tracking_googleads_connection_status': {"label":"Check Google Ads connection"},
727
734
  'tracking_googleads_conversion_actions': {"label":"List Google conversion actions"},
728
735
  'tracking_googleads_feedback_config_get': {"label":"Get conversion-feedback config"},
729
- 'tracking_googleads_feedback_config_set': {"label":"Set conversion-feedback config","options":{"rules[].event":"tracking_event-names_list","rules[].conversionAction":"tracking_googleads_conversion_actions"}},
730
736
  'tracking_googleads_feedback_run': {"label":"Run conversion-feedback upload","completion_event":"tracking/googleads.feedback-completed"},
731
- 'tracking_googleads_feedback_status': {"label":"Conversion-feedback status"},
732
- 'tracking_googleads_roas_report': {"label":"Google Ads ROAS report","options":{"domain":"tracking_install-domains_list"}},
737
+ 'tracking_googleads_feedback_status': {"label":"Check conversion-feedback status"},
738
+ 'tracking_googleads_roas_report': {"label":"Report Google Ads ROAS","options":{"domain":"tracking_install-domains_list"}},
733
739
  'tracking_googleads_sync_now': {"label":"Sync Google Ads data","completion_event":"tracking/googleads.sync-completed"},
734
- 'tracking_googleads_tracking_health': {"pii":["output.sampleUntaggedUrls"],"label":"Google Ads tracking health"},
735
- 'tracking_googleads_us_vs_platform': {"label":"Our data vs Google Ads","options":{"domain":"tracking_install-domains_list"}},
740
+ 'tracking_googleads_tracking_health': {"pii":["output.sampleUntaggedUrls"],"label":"Check Google Ads tracking health"},
741
+ 'tracking_googleads_us_vs_platform': {"label":"Compare our data with Google Ads","options":{"domain":"tracking_install-domains_list"}},
736
742
  'tracking_identity_health': {"label":"Identity match-rate health"},
737
- 'tracking_install-domains_create': {"label":"Register install domain"},
738
- 'tracking_install-domains_delete': {"label":"Unregister install domain","options":{"domain":"tracking_install-domains_list"}},
739
743
  'tracking_install-domains_list': {"label":"List install-verification domains"},
740
- 'tracking_link-domains_create': {"label":"Add domain to linking group"},
741
- 'tracking_link-domains_delete': {"label":"Remove domain from linking group","options":{"domain":"tracking_link-domains_list"}},
742
744
  'tracking_link-domains_list': {"label":"List cross-domain linking group"},
743
745
  'tracking_live-events_list': {"pii":["output.events[].anonymousId","output.events[].url","output.events[].title","output.events[].source.referrer"],"label":"List live events","options":{"domain":"tracking_install-domains_list"}},
744
746
  'tracking_profiles_delete': {"pii":["input.profileId","output.profileId"],"label":"Erase person (GDPR)","completion_event":"tracking/profile.erasure-completed"},
745
747
  'tracking_profiles_export': {"pii":["input.profileId","output.profile.profileId","output.signals.emails","output.signals.phones","output.signals.clickIds[].value","output.journey[].url","output.journey[].title","output.journey[].referrer","output.journey[].source.clickId"],"label":"Export person"},
746
748
  'tracking_profiles_get': {"pii":["input.profileId","output.profile.profileId","output.signals.emails","output.signals.phones","output.signals.clickIds[].value","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Get person"},
747
749
  'tracking_profiles_list': {"pii":["input.email","output.profiles[].profileId","output.profiles[].emails"],"label":"List people"},
748
- 'tracking_reports_attributed_journey': {"pii":["input.profileId","output.profileId","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Attributed journey"},
749
- 'tracking_reports_event_volume': {"label":"Event volume report","options":{"domain":"tracking_install-domains_list"}},
750
- 'tracking_reports_revenue_by_source': {"label":"Revenue by source","options":{"domain":"tracking_install-domains_list"}},
751
- 'tracking_reports_source_people': {"pii":["output.people[].profileId"],"label":"People behind a source","options":{"domain":"tracking_install-domains_list"}},
750
+ 'tracking_reports_attributed_journey': {"pii":["input.profileId","output.profileId","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Explain attributed journey"},
751
+ 'tracking_reports_event_volume': {"label":"Report event volume","options":{"domain":"tracking_install-domains_list"}},
752
+ 'tracking_reports_revenue_by_source': {"label":"Report revenue by source","options":{"domain":"tracking_install-domains_list"}},
753
+ 'tracking_reports_source_people': {"pii":["output.people[].profileId"],"label":"List people behind a source","options":{"domain":"tracking_install-domains_list"}},
752
754
  'tracking_snippets_get': {"label":"Get tracking snippet"},
753
755
  'users_apikeys_create': {"label":"Create API key","secrets":["output.key"]},
754
756
  'users_apikeys_get': {"label":"Get API key","options":{"id":"users_apikeys_list"}},
@@ -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';