@lepsto/sdk-app 89.4.0 → 89.5.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lepsto/sdk-app",
3
3
  "description": "The Lepsto SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lepsto Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lepsto platform services with full type safety and autocompletion.",
4
- "version": "89.4.0",
4
+ "version": "89.5.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -159,16 +159,6 @@
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
- },
172
162
  "./realtime": {
173
163
  "import": {
174
164
  "types": "./dist/realtime/index.d.ts",
@@ -220,5 +210,5 @@
220
210
  }
221
211
  }
222
212
  },
223
- "sdkContentHash": "sha256:c08240c1cca14ff99b863e87cab123c4491fc3707cd154adbbe2c5729896f663"
213
+ "sdkContentHash": "sha256:8190e0bc517b730ac6ea3f4626969e6f6f1c1edc1d345192abed2c09f2898d93"
224
214
  }
@@ -7375,213 +7375,6 @@ export const bindings: BindingsMap = {
7375
7375
  }
7376
7376
  }
7377
7377
  },
7378
- "playground": {
7379
- "analytics": {
7380
- "overview": {
7381
- "level": "read",
7382
- "method": "POST",
7383
- "operationKey": "playground_analytics_overview",
7384
- "params": [
7385
- {
7386
- "in": "body",
7387
- "name": "limit"
7388
- }
7389
- ],
7390
- "path": "/playground/analytics/overview",
7391
- "readOnly": true
7392
- }
7393
- },
7394
- "billing": {
7395
- "entitlements": {
7396
- "level": "read",
7397
- "method": "POST",
7398
- "operationKey": "playground_billing_entitlements",
7399
- "path": "/playground/billing/entitlements",
7400
- "readOnly": true
7401
- },
7402
- "record-usage": {
7403
- "level": "write",
7404
- "method": "POST",
7405
- "operationKey": "playground_billing_record-usage",
7406
- "params": [
7407
- {
7408
- "in": "body",
7409
- "name": "value"
7410
- }
7411
- ],
7412
- "path": "/playground/billing/usage",
7413
- "readOnly": false
7414
- }
7415
- },
7416
- "clickup": {
7417
- "create-task": {
7418
- "level": "write",
7419
- "method": "POST",
7420
- "operationKey": "playground_clickup_create-task",
7421
- "params": [
7422
- {
7423
- "in": "body",
7424
- "name": "listId"
7425
- },
7426
- {
7427
- "in": "body",
7428
- "name": "name"
7429
- }
7430
- ],
7431
- "path": "/playground/clickup/tasks",
7432
- "readOnly": false
7433
- },
7434
- "get-last-webhook": {
7435
- "level": "read",
7436
- "method": "GET",
7437
- "operationKey": "playground_clickup_get-last-webhook",
7438
- "path": "/playground/clickup/webhooks/last",
7439
- "readOnly": true
7440
- },
7441
- "get-overview": {
7442
- "level": "read",
7443
- "method": "GET",
7444
- "operationKey": "playground_clickup_get-overview",
7445
- "path": "/playground/clickup/overview",
7446
- "readOnly": true
7447
- }
7448
- },
7449
- "echo": {
7450
- "ping": {
7451
- "level": "read",
7452
- "method": "POST",
7453
- "operationKey": "playground_echo_ping",
7454
- "params": [
7455
- {
7456
- "in": "body",
7457
- "name": "message"
7458
- }
7459
- ],
7460
- "path": "/playground/echo/ping",
7461
- "readOnly": true
7462
- }
7463
- },
7464
- "gdrive": {
7465
- "get-last-change": {
7466
- "level": "read",
7467
- "method": "GET",
7468
- "operationKey": "playground_gdrive_get-last-change",
7469
- "path": "/playground/gdrive/changes/last",
7470
- "readOnly": true
7471
- },
7472
- "read-file": {
7473
- "level": "read",
7474
- "method": "POST",
7475
- "operationKey": "playground_gdrive_read-file",
7476
- "params": [
7477
- {
7478
- "in": "body",
7479
- "name": "fileId"
7480
- }
7481
- ],
7482
- "path": "/playground/gdrive/file",
7483
- "readOnly": true
7484
- }
7485
- },
7486
- "googleads": {
7487
- "read-customer": {
7488
- "level": "read",
7489
- "method": "POST",
7490
- "operationKey": "playground_googleads_read-customer",
7491
- "path": "/playground/googleads/customer",
7492
- "readOnly": true
7493
- }
7494
- },
7495
- "lifecycle": {
7496
- "get-state": {
7497
- "level": "read",
7498
- "method": "GET",
7499
- "operationKey": "playground_lifecycle_get-state",
7500
- "path": "/playground/lifecycle/state",
7501
- "readOnly": true
7502
- },
7503
- "list-events": {
7504
- "level": "read",
7505
- "method": "GET",
7506
- "operationKey": "playground_lifecycle_list-events",
7507
- "path": "/playground/lifecycle/events",
7508
- "readOnly": true
7509
- }
7510
- },
7511
- "webhook": {
7512
- "get-last": {
7513
- "level": "read",
7514
- "method": "GET",
7515
- "operationKey": "playground_webhook_get-last",
7516
- "path": "/playground/webhooks/last",
7517
- "readOnly": true
7518
- }
7519
- },
7520
- "workflow": {
7521
- "echo": {
7522
- "level": "write",
7523
- "method": "POST",
7524
- "operationKey": "playground_workflow_echo",
7525
- "params": [
7526
- {
7527
- "in": "body",
7528
- "name": "note"
7529
- },
7530
- {
7531
- "in": "body",
7532
- "name": "tags"
7533
- }
7534
- ],
7535
- "path": "/playground/workflow/echo",
7536
- "readOnly": false
7537
- },
7538
- "echo-list": {
7539
- "level": "read",
7540
- "method": "GET",
7541
- "operationKey": "playground_workflow_echo-list",
7542
- "path": "/playground/workflow/echoes",
7543
- "readOnly": true
7544
- },
7545
- "ping": {
7546
- "level": "write",
7547
- "method": "POST",
7548
- "operationKey": "playground_workflow_ping",
7549
- "params": [
7550
- {
7551
- "in": "body",
7552
- "name": "kind"
7553
- }
7554
- ],
7555
- "path": "/playground/workflow/ping",
7556
- "readOnly": false
7557
- },
7558
- "subjects-list": {
7559
- "level": "read",
7560
- "method": "GET",
7561
- "operationKey": "playground_workflow_subjects-list",
7562
- "params": [
7563
- {
7564
- "in": "query",
7565
- "name": "last_activity_before"
7566
- },
7567
- {
7568
- "in": "query",
7569
- "name": "last_activity_after"
7570
- },
7571
- {
7572
- "in": "query",
7573
- "name": "limit"
7574
- },
7575
- {
7576
- "in": "query",
7577
- "name": "cursor"
7578
- }
7579
- ],
7580
- "path": "/playground/workflow/subjects",
7581
- "readOnly": true
7582
- }
7583
- }
7584
- },
7585
7378
  "realtime": {
7586
7379
  "archive": {
7587
7380
  "export": {
@@ -11490,12 +11283,4 @@ export const bindings: BindingsMap = {
11490
11283
  }
11491
11284
  };
11492
11285
 
11493
- export const wsBindings: WsBindingsMap = {
11494
- "playground": {
11495
- "ws": {
11496
- "echo": {
11497
- "path": "/playground/ws/echo"
11498
- }
11499
- }
11500
- }
11501
- };
11286
+ export const wsBindings: WsBindingsMap = {};
@@ -795,40 +795,6 @@ import type {
795
795
  OrganizationXInstallOutput,
796
796
  OrganizationYoutubeInstallInput,
797
797
  OrganizationYoutubeInstallOutput,
798
- PlaygroundAnalyticsOverviewInput,
799
- PlaygroundAnalyticsOverviewOutput,
800
- PlaygroundBillingEntitlementsInput,
801
- PlaygroundBillingEntitlementsOutput,
802
- PlaygroundBillingRecordUsageInput,
803
- PlaygroundBillingRecordUsageOutput,
804
- PlaygroundClickupCreateTaskInput,
805
- PlaygroundClickupCreateTaskOutput,
806
- PlaygroundClickupGetLastWebhookInput,
807
- PlaygroundClickupGetLastWebhookOutput,
808
- PlaygroundClickupGetOverviewInput,
809
- PlaygroundClickupGetOverviewOutput,
810
- PlaygroundEchoPingInput,
811
- PlaygroundEchoPingOutput,
812
- PlaygroundGdriveGetLastChangeInput,
813
- PlaygroundGdriveGetLastChangeOutput,
814
- PlaygroundGdriveReadFileInput,
815
- PlaygroundGdriveReadFileOutput,
816
- PlaygroundGoogleadsReadCustomerInput,
817
- PlaygroundGoogleadsReadCustomerOutput,
818
- PlaygroundLifecycleGetStateInput,
819
- PlaygroundLifecycleGetStateOutput,
820
- PlaygroundLifecycleListEventsInput,
821
- PlaygroundLifecycleListEventsOutput,
822
- PlaygroundWebhookGetLastInput,
823
- PlaygroundWebhookGetLastOutput,
824
- PlaygroundWorkflowEchoInput,
825
- PlaygroundWorkflowEchoListInput,
826
- PlaygroundWorkflowEchoListOutput,
827
- PlaygroundWorkflowEchoOutput,
828
- PlaygroundWorkflowPingInput,
829
- PlaygroundWorkflowPingOutput,
830
- PlaygroundWorkflowSubjectsListInput,
831
- PlaygroundWorkflowSubjectsListOutput,
832
798
  RealtimeArchiveExportInput,
833
799
  RealtimeArchiveExportOutput,
834
800
  RealtimeArchiveExportStatusInput,
@@ -1947,43 +1913,6 @@ export interface GeneratedClient {
1947
1913
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1948
1914
  };
1949
1915
  };
1950
- playground: {
1951
- analytics: {
1952
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1953
- };
1954
- billing: {
1955
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1956
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1957
- };
1958
- clickup: {
1959
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1960
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1961
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1962
- };
1963
- echo: {
1964
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1965
- };
1966
- gdrive: {
1967
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1968
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1969
- };
1970
- googleads: {
1971
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1972
- };
1973
- lifecycle: {
1974
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1975
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1976
- };
1977
- webhook: {
1978
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
1979
- };
1980
- workflow: {
1981
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
1982
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
1983
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
1984
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
1985
- };
1986
- };
1987
1916
  realtime: {
1988
1917
  archive: {
1989
1918
  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', 'playground', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
4
+ export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
5
5
 
6
6
  export const operations: Record<string, ToolLevel> = {
7
7
  'analytics_catalog_get': 'read',
@@ -401,23 +401,6 @@ export const operations: Record<string, ToolLevel> = {
401
401
  'organization_support_threads_list': 'read',
402
402
  'organization_x_install': 'read',
403
403
  'organization_youtube_install': 'read',
404
- 'playground_analytics_overview': 'read',
405
- 'playground_billing_entitlements': 'read',
406
- 'playground_billing_record-usage': 'write',
407
- 'playground_clickup_create-task': 'write',
408
- 'playground_clickup_get-last-webhook': 'read',
409
- 'playground_clickup_get-overview': 'read',
410
- 'playground_echo_ping': 'read',
411
- 'playground_gdrive_get-last-change': 'read',
412
- 'playground_gdrive_read-file': 'read',
413
- 'playground_googleads_read-customer': 'read',
414
- 'playground_lifecycle_get-state': 'read',
415
- 'playground_lifecycle_list-events': 'read',
416
- 'playground_webhook_get-last': 'read',
417
- 'playground_workflow_echo': 'write',
418
- 'playground_workflow_echo-list': 'read',
419
- 'playground_workflow_ping': 'write',
420
- 'playground_workflow_subjects-list': 'read',
421
404
  'realtime_archive_export': 'admin',
422
405
  'realtime_archive_export_status': 'read',
423
406
  'realtime_archive_get': 'read',
@@ -697,9 +680,6 @@ export const compositions: Record<string, ToolComposition> = {
697
680
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
698
681
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
699
682
  'mail_usage_get': {"label":"Get usage"},
700
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
701
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
702
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
703
683
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
704
684
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
705
685
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},