@lepsto/sdk-app 87.1.0 → 87.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.
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": "87.1.0",
4
+ "version": "87.3.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -158,16 +158,6 @@
158
158
  "default": "./dist/organization/index.cjs"
159
159
  }
160
160
  },
161
- "./playground": {
162
- "import": {
163
- "types": "./dist/playground/index.d.ts",
164
- "default": "./dist/playground/index.js"
165
- },
166
- "require": {
167
- "types": "./dist/playground/index.d.cts",
168
- "default": "./dist/playground/index.cjs"
169
- }
170
- },
171
161
  "./realtime": {
172
162
  "import": {
173
163
  "types": "./dist/realtime/index.d.ts",
@@ -219,5 +209,5 @@
219
209
  }
220
210
  }
221
211
  },
222
- "sdkContentHash": "sha256:c4d3e9f5f9cf4ad5a58819e1c502a1b5e5e4e8bab57be5f09527d02382ffea35"
212
+ "sdkContentHash": "sha256:82172035e21d629542b8bdbc007677e1bd89c5d12199b57f5f71251610ab610c"
223
213
  }
@@ -7270,213 +7270,6 @@ 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
- },
7480
7273
  "realtime": {
7481
7274
  "archive": {
7482
7275
  "export": {
@@ -11047,7 +10840,7 @@ export const bindings: BindingsMap = {
11047
10840
  "readOnly": true
11048
10841
  },
11049
10842
  "set": {
11050
- "level": "admin",
10843
+ "level": "write",
11051
10844
  "method": "POST",
11052
10845
  "operationKey": "workflow_killswitch_set",
11053
10846
  "params": [
@@ -11357,7 +11150,7 @@ export const bindings: BindingsMap = {
11357
11150
  },
11358
11151
  "wait-list": {
11359
11152
  "all": {
11360
- "level": "admin",
11153
+ "level": "read",
11361
11154
  "method": "GET",
11362
11155
  "operationKey": "workflow_wait_list_all",
11363
11156
  "params": [
@@ -11385,12 +11178,4 @@ export const bindings: BindingsMap = {
11385
11178
  }
11386
11179
  };
11387
11180
 
11388
- export const wsBindings: WsBindingsMap = {
11389
- "playground": {
11390
- "ws": {
11391
- "echo": {
11392
- "path": "/playground/ws/echo"
11393
- }
11394
- }
11395
- }
11396
- };
11181
+ export const wsBindings: WsBindingsMap = {};
@@ -781,40 +781,6 @@ 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,
818
784
  RealtimeArchiveExportInput,
819
785
  RealtimeArchiveExportOutput,
820
786
  RealtimeArchiveExportStatusInput,
@@ -1920,43 +1886,6 @@ export interface GeneratedClient {
1920
1886
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1921
1887
  };
1922
1888
  };
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
- };
1960
1889
  realtime: {
1961
1890
  archive: {
1962
1891
  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',
@@ -394,23 +394,6 @@ 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',
414
397
  'realtime_archive_export': 'admin',
415
398
  'realtime_archive_export_status': 'read',
416
399
  'realtime_archive_get': 'read',
@@ -596,7 +579,7 @@ export const operations: Record<string, ToolLevel> = {
596
579
  'workflow_health_list': 'read',
597
580
  'workflow_health_ping': 'read',
598
581
  'workflow_killswitch_get': 'read',
599
- 'workflow_killswitch_set': 'admin',
582
+ 'workflow_killswitch_set': 'write',
600
583
  'workflow_run_cancel': 'write',
601
584
  'workflow_run_get': 'read',
602
585
  'workflow_run_list': 'read',
@@ -611,7 +594,7 @@ export const operations: Record<string, ToolLevel> = {
611
594
  'workflow_version_list': 'read',
612
595
  'workflow_wait_get': 'read',
613
596
  'workflow_wait_list': 'read',
614
- 'workflow_wait_list_all': 'admin',
597
+ 'workflow_wait_list_all': 'read',
615
598
  'workflow_wait_resolve': 'write',
616
599
  };
617
600
 
@@ -684,9 +667,6 @@ export const compositions: Record<string, ToolComposition> = {
684
667
  'mail_template_publish': {"label":"Publish template","options":{"id":"mail_template_list"}},
685
668
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
686
669
  '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"},
690
670
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
691
671
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
692
672
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},