@lepsto/sdk-app 88.0.0 → 89.0.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": "88.0.0",
4
+ "version": "89.0.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:306eada33cdbf0f57af32bf7f38f72ef5cf7267deb5d9fceae23fac37d72a2ba"
213
+ "sdkContentHash": "sha256:0a9b823b7f6bf0bc045a086521b3f6a1969ad1d803c012a91570014ed16074f0"
224
214
  }
@@ -7279,213 +7279,6 @@ export const bindings: BindingsMap = {
7279
7279
  }
7280
7280
  }
7281
7281
  },
7282
- "playground": {
7283
- "analytics": {
7284
- "overview": {
7285
- "level": "read",
7286
- "method": "POST",
7287
- "operationKey": "playground_analytics_overview",
7288
- "params": [
7289
- {
7290
- "in": "body",
7291
- "name": "limit"
7292
- }
7293
- ],
7294
- "path": "/playground/analytics/overview",
7295
- "readOnly": true
7296
- }
7297
- },
7298
- "billing": {
7299
- "entitlements": {
7300
- "level": "read",
7301
- "method": "POST",
7302
- "operationKey": "playground_billing_entitlements",
7303
- "path": "/playground/billing/entitlements",
7304
- "readOnly": true
7305
- },
7306
- "record-usage": {
7307
- "level": "write",
7308
- "method": "POST",
7309
- "operationKey": "playground_billing_record-usage",
7310
- "params": [
7311
- {
7312
- "in": "body",
7313
- "name": "value"
7314
- }
7315
- ],
7316
- "path": "/playground/billing/usage",
7317
- "readOnly": false
7318
- }
7319
- },
7320
- "clickup": {
7321
- "create-task": {
7322
- "level": "write",
7323
- "method": "POST",
7324
- "operationKey": "playground_clickup_create-task",
7325
- "params": [
7326
- {
7327
- "in": "body",
7328
- "name": "listId"
7329
- },
7330
- {
7331
- "in": "body",
7332
- "name": "name"
7333
- }
7334
- ],
7335
- "path": "/playground/clickup/tasks",
7336
- "readOnly": false
7337
- },
7338
- "get-last-webhook": {
7339
- "level": "read",
7340
- "method": "GET",
7341
- "operationKey": "playground_clickup_get-last-webhook",
7342
- "path": "/playground/clickup/webhooks/last",
7343
- "readOnly": true
7344
- },
7345
- "get-overview": {
7346
- "level": "read",
7347
- "method": "GET",
7348
- "operationKey": "playground_clickup_get-overview",
7349
- "path": "/playground/clickup/overview",
7350
- "readOnly": true
7351
- }
7352
- },
7353
- "echo": {
7354
- "ping": {
7355
- "level": "read",
7356
- "method": "POST",
7357
- "operationKey": "playground_echo_ping",
7358
- "params": [
7359
- {
7360
- "in": "body",
7361
- "name": "message"
7362
- }
7363
- ],
7364
- "path": "/playground/echo/ping",
7365
- "readOnly": true
7366
- }
7367
- },
7368
- "gdrive": {
7369
- "get-last-change": {
7370
- "level": "read",
7371
- "method": "GET",
7372
- "operationKey": "playground_gdrive_get-last-change",
7373
- "path": "/playground/gdrive/changes/last",
7374
- "readOnly": true
7375
- },
7376
- "read-file": {
7377
- "level": "read",
7378
- "method": "POST",
7379
- "operationKey": "playground_gdrive_read-file",
7380
- "params": [
7381
- {
7382
- "in": "body",
7383
- "name": "fileId"
7384
- }
7385
- ],
7386
- "path": "/playground/gdrive/file",
7387
- "readOnly": true
7388
- }
7389
- },
7390
- "googleads": {
7391
- "read-customer": {
7392
- "level": "read",
7393
- "method": "POST",
7394
- "operationKey": "playground_googleads_read-customer",
7395
- "path": "/playground/googleads/customer",
7396
- "readOnly": true
7397
- }
7398
- },
7399
- "lifecycle": {
7400
- "get-state": {
7401
- "level": "read",
7402
- "method": "GET",
7403
- "operationKey": "playground_lifecycle_get-state",
7404
- "path": "/playground/lifecycle/state",
7405
- "readOnly": true
7406
- },
7407
- "list-events": {
7408
- "level": "read",
7409
- "method": "GET",
7410
- "operationKey": "playground_lifecycle_list-events",
7411
- "path": "/playground/lifecycle/events",
7412
- "readOnly": true
7413
- }
7414
- },
7415
- "webhook": {
7416
- "get-last": {
7417
- "level": "read",
7418
- "method": "GET",
7419
- "operationKey": "playground_webhook_get-last",
7420
- "path": "/playground/webhooks/last",
7421
- "readOnly": true
7422
- }
7423
- },
7424
- "workflow": {
7425
- "echo": {
7426
- "level": "write",
7427
- "method": "POST",
7428
- "operationKey": "playground_workflow_echo",
7429
- "params": [
7430
- {
7431
- "in": "body",
7432
- "name": "note"
7433
- },
7434
- {
7435
- "in": "body",
7436
- "name": "tags"
7437
- }
7438
- ],
7439
- "path": "/playground/workflow/echo",
7440
- "readOnly": false
7441
- },
7442
- "echo-list": {
7443
- "level": "read",
7444
- "method": "GET",
7445
- "operationKey": "playground_workflow_echo-list",
7446
- "path": "/playground/workflow/echoes",
7447
- "readOnly": true
7448
- },
7449
- "ping": {
7450
- "level": "write",
7451
- "method": "POST",
7452
- "operationKey": "playground_workflow_ping",
7453
- "params": [
7454
- {
7455
- "in": "body",
7456
- "name": "kind"
7457
- }
7458
- ],
7459
- "path": "/playground/workflow/ping",
7460
- "readOnly": false
7461
- },
7462
- "subjects-list": {
7463
- "level": "read",
7464
- "method": "GET",
7465
- "operationKey": "playground_workflow_subjects-list",
7466
- "params": [
7467
- {
7468
- "in": "query",
7469
- "name": "last_activity_before"
7470
- },
7471
- {
7472
- "in": "query",
7473
- "name": "last_activity_after"
7474
- },
7475
- {
7476
- "in": "query",
7477
- "name": "limit"
7478
- },
7479
- {
7480
- "in": "query",
7481
- "name": "cursor"
7482
- }
7483
- ],
7484
- "path": "/playground/workflow/subjects",
7485
- "readOnly": true
7486
- }
7487
- }
7488
- },
7489
7282
  "realtime": {
7490
7283
  "archive": {
7491
7284
  "export": {
@@ -11056,7 +10849,7 @@ export const bindings: BindingsMap = {
11056
10849
  "readOnly": true
11057
10850
  },
11058
10851
  "set": {
11059
- "level": "admin",
10852
+ "level": "write",
11060
10853
  "method": "POST",
11061
10854
  "operationKey": "workflow_killswitch_set",
11062
10855
  "params": [
@@ -11366,7 +11159,7 @@ export const bindings: BindingsMap = {
11366
11159
  },
11367
11160
  "wait-list": {
11368
11161
  "all": {
11369
- "level": "admin",
11162
+ "level": "read",
11370
11163
  "method": "GET",
11371
11164
  "operationKey": "workflow_wait_list_all",
11372
11165
  "params": [
@@ -11394,12 +11187,4 @@ export const bindings: BindingsMap = {
11394
11187
  }
11395
11188
  };
11396
11189
 
11397
- export const wsBindings: WsBindingsMap = {
11398
- "playground": {
11399
- "ws": {
11400
- "echo": {
11401
- "path": "/playground/ws/echo"
11402
- }
11403
- }
11404
- }
11405
- };
11190
+ export const wsBindings: WsBindingsMap = {};
@@ -783,40 +783,6 @@ import type {
783
783
  OrganizationXInstallOutput,
784
784
  OrganizationYoutubeInstallInput,
785
785
  OrganizationYoutubeInstallOutput,
786
- PlaygroundAnalyticsOverviewInput,
787
- PlaygroundAnalyticsOverviewOutput,
788
- PlaygroundBillingEntitlementsInput,
789
- PlaygroundBillingEntitlementsOutput,
790
- PlaygroundBillingRecordUsageInput,
791
- PlaygroundBillingRecordUsageOutput,
792
- PlaygroundClickupCreateTaskInput,
793
- PlaygroundClickupCreateTaskOutput,
794
- PlaygroundClickupGetLastWebhookInput,
795
- PlaygroundClickupGetLastWebhookOutput,
796
- PlaygroundClickupGetOverviewInput,
797
- PlaygroundClickupGetOverviewOutput,
798
- PlaygroundEchoPingInput,
799
- PlaygroundEchoPingOutput,
800
- PlaygroundGdriveGetLastChangeInput,
801
- PlaygroundGdriveGetLastChangeOutput,
802
- PlaygroundGdriveReadFileInput,
803
- PlaygroundGdriveReadFileOutput,
804
- PlaygroundGoogleadsReadCustomerInput,
805
- PlaygroundGoogleadsReadCustomerOutput,
806
- PlaygroundLifecycleGetStateInput,
807
- PlaygroundLifecycleGetStateOutput,
808
- PlaygroundLifecycleListEventsInput,
809
- PlaygroundLifecycleListEventsOutput,
810
- PlaygroundWebhookGetLastInput,
811
- PlaygroundWebhookGetLastOutput,
812
- PlaygroundWorkflowEchoInput,
813
- PlaygroundWorkflowEchoListInput,
814
- PlaygroundWorkflowEchoListOutput,
815
- PlaygroundWorkflowEchoOutput,
816
- PlaygroundWorkflowPingInput,
817
- PlaygroundWorkflowPingOutput,
818
- PlaygroundWorkflowSubjectsListInput,
819
- PlaygroundWorkflowSubjectsListOutput,
820
786
  RealtimeArchiveExportInput,
821
787
  RealtimeArchiveExportOutput,
822
788
  RealtimeArchiveExportStatusInput,
@@ -1925,43 +1891,6 @@ export interface GeneratedClient {
1925
1891
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1926
1892
  };
1927
1893
  };
1928
- playground: {
1929
- analytics: {
1930
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1931
- };
1932
- billing: {
1933
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1934
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1935
- };
1936
- clickup: {
1937
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1938
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1939
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1940
- };
1941
- echo: {
1942
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1943
- };
1944
- gdrive: {
1945
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1946
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1947
- };
1948
- googleads: {
1949
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1950
- };
1951
- lifecycle: {
1952
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1953
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1954
- };
1955
- webhook: {
1956
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
1957
- };
1958
- workflow: {
1959
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
1960
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
1961
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
1962
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
1963
- };
1964
- };
1965
1894
  realtime: {
1966
1895
  archive: {
1967
1896
  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',
@@ -395,23 +395,6 @@ export const operations: Record<string, ToolLevel> = {
395
395
  'organization_support_threads_list': 'read',
396
396
  'organization_x_install': 'read',
397
397
  'organization_youtube_install': 'read',
398
- 'playground_analytics_overview': 'read',
399
- 'playground_billing_entitlements': 'read',
400
- 'playground_billing_record-usage': 'write',
401
- 'playground_clickup_create-task': 'write',
402
- 'playground_clickup_get-last-webhook': 'read',
403
- 'playground_clickup_get-overview': 'read',
404
- 'playground_echo_ping': 'read',
405
- 'playground_gdrive_get-last-change': 'read',
406
- 'playground_gdrive_read-file': 'read',
407
- 'playground_googleads_read-customer': 'read',
408
- 'playground_lifecycle_get-state': 'read',
409
- 'playground_lifecycle_list-events': 'read',
410
- 'playground_webhook_get-last': 'read',
411
- 'playground_workflow_echo': 'write',
412
- 'playground_workflow_echo-list': 'read',
413
- 'playground_workflow_ping': 'write',
414
- 'playground_workflow_subjects-list': 'read',
415
398
  'realtime_archive_export': 'admin',
416
399
  'realtime_archive_export_status': 'read',
417
400
  'realtime_archive_get': 'read',
@@ -597,7 +580,7 @@ export const operations: Record<string, ToolLevel> = {
597
580
  'workflow_health_list': 'read',
598
581
  'workflow_health_ping': 'read',
599
582
  'workflow_killswitch_get': 'read',
600
- 'workflow_killswitch_set': 'admin',
583
+ 'workflow_killswitch_set': 'write',
601
584
  'workflow_run_cancel': 'write',
602
585
  'workflow_run_get': 'read',
603
586
  'workflow_run_list': 'read',
@@ -612,7 +595,7 @@ export const operations: Record<string, ToolLevel> = {
612
595
  'workflow_version_list': 'read',
613
596
  'workflow_wait_get': 'read',
614
597
  'workflow_wait_list': 'read',
615
- 'workflow_wait_list_all': 'admin',
598
+ 'workflow_wait_list_all': 'read',
616
599
  'workflow_wait_resolve': 'write',
617
600
  };
618
601
 
@@ -685,9 +668,6 @@ export const compositions: Record<string, ToolComposition> = {
685
668
  'mail_template_publish': {"label":"Publish template","options":{"id":"mail_template_list"}},
686
669
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
687
670
  'mail_usage_get': {"label":"Get usage"},
688
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
689
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
690
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
691
671
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
692
672
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
693
673
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},