@lessly/sdk-app 99.7.0 → 99.9.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": "99.7.0",
4
+ "version": "99.9.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:9914b0a7ca378e8dfd4c33e53b7880dd191728d80024b7f18ca64f5bda159c2a"
213
+ "sdkContentHash": "sha256:a60ff6ac8fcc7476f3ed85cc318dc824f0d72744f68cac4f7992ec8c1d543304"
224
214
  }
@@ -6244,6 +6244,12 @@ export const bindings: BindingsMap = {
6244
6244
  "level": "read",
6245
6245
  "method": "GET",
6246
6246
  "operationKey": "organization_clickup_install",
6247
+ "params": [
6248
+ {
6249
+ "in": "query",
6250
+ "name": "share"
6251
+ }
6252
+ ],
6247
6253
  "path": "/governance/api/v1/connectors/clickup/install",
6248
6254
  "readOnly": false
6249
6255
  },
@@ -6260,6 +6266,12 @@ export const bindings: BindingsMap = {
6260
6266
  "level": "read",
6261
6267
  "method": "GET",
6262
6268
  "operationKey": "organization_cloudflare_install",
6269
+ "params": [
6270
+ {
6271
+ "in": "query",
6272
+ "name": "share"
6273
+ }
6274
+ ],
6263
6275
  "path": "/governance/api/v1/connectors/cloudflare/install",
6264
6276
  "readOnly": false
6265
6277
  }
@@ -6580,6 +6592,12 @@ export const bindings: BindingsMap = {
6580
6592
  "level": "read",
6581
6593
  "method": "GET",
6582
6594
  "operationKey": "organization_gdrive_install",
6595
+ "params": [
6596
+ {
6597
+ "in": "query",
6598
+ "name": "share"
6599
+ }
6600
+ ],
6583
6601
  "path": "/governance/api/v1/connectors/gdrive/install",
6584
6602
  "readOnly": false
6585
6603
  }
@@ -6589,6 +6607,12 @@ export const bindings: BindingsMap = {
6589
6607
  "level": "read",
6590
6608
  "method": "GET",
6591
6609
  "operationKey": "organization_github_install",
6610
+ "params": [
6611
+ {
6612
+ "in": "query",
6613
+ "name": "share"
6614
+ }
6615
+ ],
6592
6616
  "path": "/governance/api/v1/connectors/github/install",
6593
6617
  "readOnly": false
6594
6618
  },
@@ -6803,6 +6827,12 @@ export const bindings: BindingsMap = {
6803
6827
  "level": "read",
6804
6828
  "method": "GET",
6805
6829
  "operationKey": "organization_linkedin_member_install",
6830
+ "params": [
6831
+ {
6832
+ "in": "query",
6833
+ "name": "share"
6834
+ }
6835
+ ],
6806
6836
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6807
6837
  "readOnly": false
6808
6838
  }
@@ -7439,6 +7469,12 @@ export const bindings: BindingsMap = {
7439
7469
  "level": "read",
7440
7470
  "method": "GET",
7441
7471
  "operationKey": "organization_reddit_install",
7472
+ "params": [
7473
+ {
7474
+ "in": "query",
7475
+ "name": "share"
7476
+ }
7477
+ ],
7442
7478
  "path": "/governance/api/v1/connectors/reddit/install",
7443
7479
  "readOnly": false
7444
7480
  }
@@ -7632,224 +7668,29 @@ export const bindings: BindingsMap = {
7632
7668
  "level": "read",
7633
7669
  "method": "GET",
7634
7670
  "operationKey": "organization_x_install",
7635
- "path": "/governance/api/v1/connectors/x/install",
7636
- "readOnly": false
7637
- }
7638
- },
7639
- "youtube": {
7640
- "install": {
7641
- "level": "read",
7642
- "method": "GET",
7643
- "operationKey": "organization_youtube_install",
7644
- "path": "/governance/api/v1/connectors/youtube/install",
7645
- "readOnly": false
7646
- }
7647
- }
7648
- },
7649
- "playground": {
7650
- "analytics": {
7651
- "overview": {
7652
- "level": "read",
7653
- "method": "POST",
7654
- "operationKey": "playground_analytics_overview",
7655
7671
  "params": [
7656
7672
  {
7657
- "in": "body",
7658
- "name": "limit"
7659
- }
7660
- ],
7661
- "path": "/playground/analytics/overview",
7662
- "readOnly": true
7663
- }
7664
- },
7665
- "billing": {
7666
- "entitlements": {
7667
- "level": "read",
7668
- "method": "POST",
7669
- "operationKey": "playground_billing_entitlements",
7670
- "path": "/playground/billing/entitlements",
7671
- "readOnly": true
7672
- },
7673
- "record-usage": {
7674
- "level": "write",
7675
- "method": "POST",
7676
- "operationKey": "playground_billing_record-usage",
7677
- "params": [
7678
- {
7679
- "in": "body",
7680
- "name": "value"
7681
- }
7682
- ],
7683
- "path": "/playground/billing/usage",
7684
- "readOnly": false
7685
- }
7686
- },
7687
- "clickup": {
7688
- "create-task": {
7689
- "level": "write",
7690
- "method": "POST",
7691
- "operationKey": "playground_clickup_create-task",
7692
- "params": [
7693
- {
7694
- "in": "body",
7695
- "name": "listId"
7696
- },
7697
- {
7698
- "in": "body",
7699
- "name": "name"
7673
+ "in": "query",
7674
+ "name": "share"
7700
7675
  }
7701
7676
  ],
7702
- "path": "/playground/clickup/tasks",
7677
+ "path": "/governance/api/v1/connectors/x/install",
7703
7678
  "readOnly": false
7704
- },
7705
- "get-last-webhook": {
7706
- "level": "read",
7707
- "method": "GET",
7708
- "operationKey": "playground_clickup_get-last-webhook",
7709
- "path": "/playground/clickup/webhooks/last",
7710
- "readOnly": true
7711
- },
7712
- "get-overview": {
7713
- "level": "read",
7714
- "method": "GET",
7715
- "operationKey": "playground_clickup_get-overview",
7716
- "path": "/playground/clickup/overview",
7717
- "readOnly": true
7718
- }
7719
- },
7720
- "echo": {
7721
- "ping": {
7722
- "level": "read",
7723
- "method": "POST",
7724
- "operationKey": "playground_echo_ping",
7725
- "params": [
7726
- {
7727
- "in": "body",
7728
- "name": "message"
7729
- }
7730
- ],
7731
- "path": "/playground/echo/ping",
7732
- "readOnly": true
7733
- }
7734
- },
7735
- "gdrive": {
7736
- "get-last-change": {
7737
- "level": "read",
7738
- "method": "GET",
7739
- "operationKey": "playground_gdrive_get-last-change",
7740
- "path": "/playground/gdrive/changes/last",
7741
- "readOnly": true
7742
- },
7743
- "read-file": {
7744
- "level": "read",
7745
- "method": "POST",
7746
- "operationKey": "playground_gdrive_read-file",
7747
- "params": [
7748
- {
7749
- "in": "body",
7750
- "name": "fileId"
7751
- }
7752
- ],
7753
- "path": "/playground/gdrive/file",
7754
- "readOnly": true
7755
7679
  }
7756
7680
  },
7757
- "googleads": {
7758
- "read-customer": {
7759
- "level": "read",
7760
- "method": "POST",
7761
- "operationKey": "playground_googleads_read-customer",
7762
- "path": "/playground/googleads/customer",
7763
- "readOnly": true
7764
- }
7765
- },
7766
- "lifecycle": {
7767
- "get-state": {
7768
- "level": "read",
7769
- "method": "GET",
7770
- "operationKey": "playground_lifecycle_get-state",
7771
- "path": "/playground/lifecycle/state",
7772
- "readOnly": true
7773
- },
7774
- "list-events": {
7775
- "level": "read",
7776
- "method": "GET",
7777
- "operationKey": "playground_lifecycle_list-events",
7778
- "path": "/playground/lifecycle/events",
7779
- "readOnly": true
7780
- }
7781
- },
7782
- "webhook": {
7783
- "get-last": {
7784
- "level": "read",
7785
- "method": "GET",
7786
- "operationKey": "playground_webhook_get-last",
7787
- "path": "/playground/webhooks/last",
7788
- "readOnly": true
7789
- }
7790
- },
7791
- "workflow": {
7792
- "echo": {
7793
- "level": "write",
7794
- "method": "POST",
7795
- "operationKey": "playground_workflow_echo",
7796
- "params": [
7797
- {
7798
- "in": "body",
7799
- "name": "note"
7800
- },
7801
- {
7802
- "in": "body",
7803
- "name": "tags"
7804
- }
7805
- ],
7806
- "path": "/playground/workflow/echo",
7807
- "readOnly": false
7808
- },
7809
- "echo-list": {
7810
- "level": "read",
7811
- "method": "GET",
7812
- "operationKey": "playground_workflow_echo-list",
7813
- "path": "/playground/workflow/echoes",
7814
- "readOnly": true
7815
- },
7816
- "ping": {
7817
- "level": "write",
7818
- "method": "POST",
7819
- "operationKey": "playground_workflow_ping",
7820
- "params": [
7821
- {
7822
- "in": "body",
7823
- "name": "kind"
7824
- }
7825
- ],
7826
- "path": "/playground/workflow/ping",
7827
- "readOnly": false
7828
- },
7829
- "subjects-list": {
7681
+ "youtube": {
7682
+ "install": {
7830
7683
  "level": "read",
7831
7684
  "method": "GET",
7832
- "operationKey": "playground_workflow_subjects-list",
7685
+ "operationKey": "organization_youtube_install",
7833
7686
  "params": [
7834
7687
  {
7835
7688
  "in": "query",
7836
- "name": "last_activity_before"
7837
- },
7838
- {
7839
- "in": "query",
7840
- "name": "last_activity_after"
7841
- },
7842
- {
7843
- "in": "query",
7844
- "name": "limit"
7845
- },
7846
- {
7847
- "in": "query",
7848
- "name": "cursor"
7689
+ "name": "share"
7849
7690
  }
7850
7691
  ],
7851
- "path": "/playground/workflow/subjects",
7852
- "readOnly": true
7692
+ "path": "/governance/api/v1/connectors/youtube/install",
7693
+ "readOnly": false
7853
7694
  }
7854
7695
  }
7855
7696
  },
@@ -11934,12 +11775,4 @@ export const bindings: BindingsMap = {
11934
11775
  }
11935
11776
  };
11936
11777
 
11937
- export const wsBindings: WsBindingsMap = {
11938
- "playground": {
11939
- "ws": {
11940
- "echo": {
11941
- "path": "/playground/ws/echo"
11942
- }
11943
- }
11944
- }
11945
- };
11778
+ export const wsBindings: WsBindingsMap = {};
@@ -821,40 +821,6 @@ import type {
821
821
  OrganizationXInstallOutput,
822
822
  OrganizationYoutubeInstallInput,
823
823
  OrganizationYoutubeInstallOutput,
824
- PlaygroundAnalyticsOverviewInput,
825
- PlaygroundAnalyticsOverviewOutput,
826
- PlaygroundBillingEntitlementsInput,
827
- PlaygroundBillingEntitlementsOutput,
828
- PlaygroundBillingRecordUsageInput,
829
- PlaygroundBillingRecordUsageOutput,
830
- PlaygroundClickupCreateTaskInput,
831
- PlaygroundClickupCreateTaskOutput,
832
- PlaygroundClickupGetLastWebhookInput,
833
- PlaygroundClickupGetLastWebhookOutput,
834
- PlaygroundClickupGetOverviewInput,
835
- PlaygroundClickupGetOverviewOutput,
836
- PlaygroundEchoPingInput,
837
- PlaygroundEchoPingOutput,
838
- PlaygroundGdriveGetLastChangeInput,
839
- PlaygroundGdriveGetLastChangeOutput,
840
- PlaygroundGdriveReadFileInput,
841
- PlaygroundGdriveReadFileOutput,
842
- PlaygroundGoogleadsReadCustomerInput,
843
- PlaygroundGoogleadsReadCustomerOutput,
844
- PlaygroundLifecycleGetStateInput,
845
- PlaygroundLifecycleGetStateOutput,
846
- PlaygroundLifecycleListEventsInput,
847
- PlaygroundLifecycleListEventsOutput,
848
- PlaygroundWebhookGetLastInput,
849
- PlaygroundWebhookGetLastOutput,
850
- PlaygroundWorkflowEchoInput,
851
- PlaygroundWorkflowEchoListInput,
852
- PlaygroundWorkflowEchoListOutput,
853
- PlaygroundWorkflowEchoOutput,
854
- PlaygroundWorkflowPingInput,
855
- PlaygroundWorkflowPingOutput,
856
- PlaygroundWorkflowSubjectsListInput,
857
- PlaygroundWorkflowSubjectsListOutput,
858
824
  RealtimeArchiveExportInput,
859
825
  RealtimeArchiveExportOutput,
860
826
  RealtimeArchiveExportStatusInput,
@@ -2004,43 +1970,6 @@ export interface GeneratedClient {
2004
1970
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2005
1971
  };
2006
1972
  };
2007
- playground: {
2008
- analytics: {
2009
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2010
- };
2011
- billing: {
2012
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2013
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2014
- };
2015
- clickup: {
2016
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2017
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2018
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2019
- };
2020
- echo: {
2021
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2022
- };
2023
- gdrive: {
2024
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2025
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2026
- };
2027
- googleads: {
2028
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2029
- };
2030
- lifecycle: {
2031
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2032
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2033
- };
2034
- webhook: {
2035
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2036
- };
2037
- workflow: {
2038
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2039
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2040
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2041
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2042
- };
2043
- };
2044
1973
  realtime: {
2045
1974
  archive: {
2046
1975
  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',
@@ -414,23 +414,6 @@ export const operations: Record<string, ToolLevel> = {
414
414
  'organization_support_threads_list': 'read',
415
415
  'organization_x_install': 'read',
416
416
  'organization_youtube_install': 'read',
417
- 'playground_analytics_overview': 'read',
418
- 'playground_billing_entitlements': 'read',
419
- 'playground_billing_record-usage': 'write',
420
- 'playground_clickup_create-task': 'write',
421
- 'playground_clickup_get-last-webhook': 'read',
422
- 'playground_clickup_get-overview': 'read',
423
- 'playground_echo_ping': 'read',
424
- 'playground_gdrive_get-last-change': 'read',
425
- 'playground_gdrive_read-file': 'read',
426
- 'playground_googleads_read-customer': 'read',
427
- 'playground_lifecycle_get-state': 'read',
428
- 'playground_lifecycle_list-events': 'read',
429
- 'playground_webhook_get-last': 'read',
430
- 'playground_workflow_echo': 'write',
431
- 'playground_workflow_echo-list': 'read',
432
- 'playground_workflow_ping': 'write',
433
- 'playground_workflow_subjects-list': 'read',
434
417
  'realtime_archive_export': 'admin',
435
418
  'realtime_archive_export_status': 'read',
436
419
  'realtime_archive_get': 'read',
@@ -716,9 +699,6 @@ export const compositions: Record<string, ToolComposition> = {
716
699
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
717
700
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
718
701
  'mail_usage_get': {"label":"Get usage"},
719
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
720
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
721
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
722
702
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
723
703
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
724
704
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},