@lessly/sdk-app 97.0.0 → 97.1.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": "@lessly/sdk-app",
3
3
  "description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
4
- "version": "97.0.0",
4
+ "version": "97.1.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:515c0f5ff097f4024fe967415ce037aa273f2b686b2b855b92b170bdcd2437bc"
213
+ "sdkContentHash": "sha256:ab1131aed68c5f0ff2a7a9af6dcb6cd7b60be17be3471c4d6b30c9cbfd6bf4c4"
224
214
  }
@@ -7443,213 +7443,6 @@ export const bindings: BindingsMap = {
7443
7443
  }
7444
7444
  }
7445
7445
  },
7446
- "playground": {
7447
- "analytics": {
7448
- "overview": {
7449
- "level": "read",
7450
- "method": "POST",
7451
- "operationKey": "playground_analytics_overview",
7452
- "params": [
7453
- {
7454
- "in": "body",
7455
- "name": "limit"
7456
- }
7457
- ],
7458
- "path": "/playground/analytics/overview",
7459
- "readOnly": true
7460
- }
7461
- },
7462
- "billing": {
7463
- "entitlements": {
7464
- "level": "read",
7465
- "method": "POST",
7466
- "operationKey": "playground_billing_entitlements",
7467
- "path": "/playground/billing/entitlements",
7468
- "readOnly": true
7469
- },
7470
- "record-usage": {
7471
- "level": "write",
7472
- "method": "POST",
7473
- "operationKey": "playground_billing_record-usage",
7474
- "params": [
7475
- {
7476
- "in": "body",
7477
- "name": "value"
7478
- }
7479
- ],
7480
- "path": "/playground/billing/usage",
7481
- "readOnly": false
7482
- }
7483
- },
7484
- "clickup": {
7485
- "create-task": {
7486
- "level": "write",
7487
- "method": "POST",
7488
- "operationKey": "playground_clickup_create-task",
7489
- "params": [
7490
- {
7491
- "in": "body",
7492
- "name": "listId"
7493
- },
7494
- {
7495
- "in": "body",
7496
- "name": "name"
7497
- }
7498
- ],
7499
- "path": "/playground/clickup/tasks",
7500
- "readOnly": false
7501
- },
7502
- "get-last-webhook": {
7503
- "level": "read",
7504
- "method": "GET",
7505
- "operationKey": "playground_clickup_get-last-webhook",
7506
- "path": "/playground/clickup/webhooks/last",
7507
- "readOnly": true
7508
- },
7509
- "get-overview": {
7510
- "level": "read",
7511
- "method": "GET",
7512
- "operationKey": "playground_clickup_get-overview",
7513
- "path": "/playground/clickup/overview",
7514
- "readOnly": true
7515
- }
7516
- },
7517
- "echo": {
7518
- "ping": {
7519
- "level": "read",
7520
- "method": "POST",
7521
- "operationKey": "playground_echo_ping",
7522
- "params": [
7523
- {
7524
- "in": "body",
7525
- "name": "message"
7526
- }
7527
- ],
7528
- "path": "/playground/echo/ping",
7529
- "readOnly": true
7530
- }
7531
- },
7532
- "gdrive": {
7533
- "get-last-change": {
7534
- "level": "read",
7535
- "method": "GET",
7536
- "operationKey": "playground_gdrive_get-last-change",
7537
- "path": "/playground/gdrive/changes/last",
7538
- "readOnly": true
7539
- },
7540
- "read-file": {
7541
- "level": "read",
7542
- "method": "POST",
7543
- "operationKey": "playground_gdrive_read-file",
7544
- "params": [
7545
- {
7546
- "in": "body",
7547
- "name": "fileId"
7548
- }
7549
- ],
7550
- "path": "/playground/gdrive/file",
7551
- "readOnly": true
7552
- }
7553
- },
7554
- "googleads": {
7555
- "read-customer": {
7556
- "level": "read",
7557
- "method": "POST",
7558
- "operationKey": "playground_googleads_read-customer",
7559
- "path": "/playground/googleads/customer",
7560
- "readOnly": true
7561
- }
7562
- },
7563
- "lifecycle": {
7564
- "get-state": {
7565
- "level": "read",
7566
- "method": "GET",
7567
- "operationKey": "playground_lifecycle_get-state",
7568
- "path": "/playground/lifecycle/state",
7569
- "readOnly": true
7570
- },
7571
- "list-events": {
7572
- "level": "read",
7573
- "method": "GET",
7574
- "operationKey": "playground_lifecycle_list-events",
7575
- "path": "/playground/lifecycle/events",
7576
- "readOnly": true
7577
- }
7578
- },
7579
- "webhook": {
7580
- "get-last": {
7581
- "level": "read",
7582
- "method": "GET",
7583
- "operationKey": "playground_webhook_get-last",
7584
- "path": "/playground/webhooks/last",
7585
- "readOnly": true
7586
- }
7587
- },
7588
- "workflow": {
7589
- "echo": {
7590
- "level": "write",
7591
- "method": "POST",
7592
- "operationKey": "playground_workflow_echo",
7593
- "params": [
7594
- {
7595
- "in": "body",
7596
- "name": "note"
7597
- },
7598
- {
7599
- "in": "body",
7600
- "name": "tags"
7601
- }
7602
- ],
7603
- "path": "/playground/workflow/echo",
7604
- "readOnly": false
7605
- },
7606
- "echo-list": {
7607
- "level": "read",
7608
- "method": "GET",
7609
- "operationKey": "playground_workflow_echo-list",
7610
- "path": "/playground/workflow/echoes",
7611
- "readOnly": true
7612
- },
7613
- "ping": {
7614
- "level": "write",
7615
- "method": "POST",
7616
- "operationKey": "playground_workflow_ping",
7617
- "params": [
7618
- {
7619
- "in": "body",
7620
- "name": "kind"
7621
- }
7622
- ],
7623
- "path": "/playground/workflow/ping",
7624
- "readOnly": false
7625
- },
7626
- "subjects-list": {
7627
- "level": "read",
7628
- "method": "GET",
7629
- "operationKey": "playground_workflow_subjects-list",
7630
- "params": [
7631
- {
7632
- "in": "query",
7633
- "name": "last_activity_before"
7634
- },
7635
- {
7636
- "in": "query",
7637
- "name": "last_activity_after"
7638
- },
7639
- {
7640
- "in": "query",
7641
- "name": "limit"
7642
- },
7643
- {
7644
- "in": "query",
7645
- "name": "cursor"
7646
- }
7647
- ],
7648
- "path": "/playground/workflow/subjects",
7649
- "readOnly": true
7650
- }
7651
- }
7652
- },
7653
7446
  "realtime": {
7654
7447
  "archive": {
7655
7448
  "export": {
@@ -11731,12 +11524,4 @@ export const bindings: BindingsMap = {
11731
11524
  }
11732
11525
  };
11733
11526
 
11734
- export const wsBindings: WsBindingsMap = {
11735
- "playground": {
11736
- "ws": {
11737
- "echo": {
11738
- "path": "/playground/ws/echo"
11739
- }
11740
- }
11741
- }
11742
- };
11527
+ export const wsBindings: WsBindingsMap = {};
@@ -803,40 +803,6 @@ import type {
803
803
  OrganizationXInstallOutput,
804
804
  OrganizationYoutubeInstallInput,
805
805
  OrganizationYoutubeInstallOutput,
806
- PlaygroundAnalyticsOverviewInput,
807
- PlaygroundAnalyticsOverviewOutput,
808
- PlaygroundBillingEntitlementsInput,
809
- PlaygroundBillingEntitlementsOutput,
810
- PlaygroundBillingRecordUsageInput,
811
- PlaygroundBillingRecordUsageOutput,
812
- PlaygroundClickupCreateTaskInput,
813
- PlaygroundClickupCreateTaskOutput,
814
- PlaygroundClickupGetLastWebhookInput,
815
- PlaygroundClickupGetLastWebhookOutput,
816
- PlaygroundClickupGetOverviewInput,
817
- PlaygroundClickupGetOverviewOutput,
818
- PlaygroundEchoPingInput,
819
- PlaygroundEchoPingOutput,
820
- PlaygroundGdriveGetLastChangeInput,
821
- PlaygroundGdriveGetLastChangeOutput,
822
- PlaygroundGdriveReadFileInput,
823
- PlaygroundGdriveReadFileOutput,
824
- PlaygroundGoogleadsReadCustomerInput,
825
- PlaygroundGoogleadsReadCustomerOutput,
826
- PlaygroundLifecycleGetStateInput,
827
- PlaygroundLifecycleGetStateOutput,
828
- PlaygroundLifecycleListEventsInput,
829
- PlaygroundLifecycleListEventsOutput,
830
- PlaygroundWebhookGetLastInput,
831
- PlaygroundWebhookGetLastOutput,
832
- PlaygroundWorkflowEchoInput,
833
- PlaygroundWorkflowEchoListInput,
834
- PlaygroundWorkflowEchoListOutput,
835
- PlaygroundWorkflowEchoOutput,
836
- PlaygroundWorkflowPingInput,
837
- PlaygroundWorkflowPingOutput,
838
- PlaygroundWorkflowSubjectsListInput,
839
- PlaygroundWorkflowSubjectsListOutput,
840
806
  RealtimeArchiveExportInput,
841
807
  RealtimeArchiveExportOutput,
842
808
  RealtimeArchiveExportStatusInput,
@@ -1973,43 +1939,6 @@ export interface GeneratedClient {
1973
1939
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1974
1940
  };
1975
1941
  };
1976
- playground: {
1977
- analytics: {
1978
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1979
- };
1980
- billing: {
1981
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1982
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1983
- };
1984
- clickup: {
1985
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1986
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1987
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1988
- };
1989
- echo: {
1990
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1991
- };
1992
- gdrive: {
1993
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1994
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1995
- };
1996
- googleads: {
1997
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1998
- };
1999
- lifecycle: {
2000
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2001
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2002
- };
2003
- webhook: {
2004
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2005
- };
2006
- workflow: {
2007
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2008
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2009
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2010
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2011
- };
2012
- };
2013
1942
  realtime: {
2014
1943
  archive: {
2015
1944
  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',
@@ -405,23 +405,6 @@ export const operations: Record<string, ToolLevel> = {
405
405
  'organization_support_threads_list': 'read',
406
406
  'organization_x_install': 'read',
407
407
  'organization_youtube_install': 'read',
408
- 'playground_analytics_overview': 'read',
409
- 'playground_billing_entitlements': 'read',
410
- 'playground_billing_record-usage': 'write',
411
- 'playground_clickup_create-task': 'write',
412
- 'playground_clickup_get-last-webhook': 'read',
413
- 'playground_clickup_get-overview': 'read',
414
- 'playground_echo_ping': 'read',
415
- 'playground_gdrive_get-last-change': 'read',
416
- 'playground_gdrive_read-file': 'read',
417
- 'playground_googleads_read-customer': 'read',
418
- 'playground_lifecycle_get-state': 'read',
419
- 'playground_lifecycle_list-events': 'read',
420
- 'playground_webhook_get-last': 'read',
421
- 'playground_workflow_echo': 'write',
422
- 'playground_workflow_echo-list': 'read',
423
- 'playground_workflow_ping': 'write',
424
- 'playground_workflow_subjects-list': 'read',
425
408
  'realtime_archive_export': 'admin',
426
409
  'realtime_archive_export_status': 'read',
427
410
  'realtime_archive_get': 'read',
@@ -706,9 +689,6 @@ export const compositions: Record<string, ToolComposition> = {
706
689
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
707
690
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
708
691
  'mail_usage_get': {"label":"Get usage"},
709
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
710
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
711
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
712
692
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
713
693
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
714
694
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},