@lessly/sdk-app 104.1.0 → 105.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": "@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": "104.1.0",
4
+ "version": "105.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:0e61b11f28d916702f1c0688ebd386a89dd43492adadb4a44dc194b8994be494"
213
+ "sdkContentHash": "sha256:e5bf85a031fef936989bdc67b44c60a09f53d97ded3cc948e1757aef8cce2bd9"
224
214
  }
@@ -6256,6 +6256,12 @@ export const bindings: BindingsMap = {
6256
6256
  "level": "read",
6257
6257
  "method": "GET",
6258
6258
  "operationKey": "organization_clickup_install",
6259
+ "params": [
6260
+ {
6261
+ "in": "query",
6262
+ "name": "share"
6263
+ }
6264
+ ],
6259
6265
  "path": "/governance/api/v1/connectors/clickup/install",
6260
6266
  "readOnly": false
6261
6267
  },
@@ -6272,6 +6278,12 @@ export const bindings: BindingsMap = {
6272
6278
  "level": "read",
6273
6279
  "method": "GET",
6274
6280
  "operationKey": "organization_cloudflare_install",
6281
+ "params": [
6282
+ {
6283
+ "in": "query",
6284
+ "name": "share"
6285
+ }
6286
+ ],
6275
6287
  "path": "/governance/api/v1/connectors/cloudflare/install",
6276
6288
  "readOnly": false
6277
6289
  }
@@ -6592,6 +6604,12 @@ export const bindings: BindingsMap = {
6592
6604
  "level": "read",
6593
6605
  "method": "GET",
6594
6606
  "operationKey": "organization_gdrive_install",
6607
+ "params": [
6608
+ {
6609
+ "in": "query",
6610
+ "name": "share"
6611
+ }
6612
+ ],
6595
6613
  "path": "/governance/api/v1/connectors/gdrive/install",
6596
6614
  "readOnly": false
6597
6615
  }
@@ -6601,6 +6619,12 @@ export const bindings: BindingsMap = {
6601
6619
  "level": "read",
6602
6620
  "method": "GET",
6603
6621
  "operationKey": "organization_github_install",
6622
+ "params": [
6623
+ {
6624
+ "in": "query",
6625
+ "name": "share"
6626
+ }
6627
+ ],
6604
6628
  "path": "/governance/api/v1/connectors/github/install",
6605
6629
  "readOnly": false
6606
6630
  },
@@ -6815,6 +6839,12 @@ export const bindings: BindingsMap = {
6815
6839
  "level": "read",
6816
6840
  "method": "GET",
6817
6841
  "operationKey": "organization_linkedin_member_install",
6842
+ "params": [
6843
+ {
6844
+ "in": "query",
6845
+ "name": "share"
6846
+ }
6847
+ ],
6818
6848
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6819
6849
  "readOnly": false
6820
6850
  }
@@ -7451,6 +7481,12 @@ export const bindings: BindingsMap = {
7451
7481
  "level": "read",
7452
7482
  "method": "GET",
7453
7483
  "operationKey": "organization_reddit_install",
7484
+ "params": [
7485
+ {
7486
+ "in": "query",
7487
+ "name": "share"
7488
+ }
7489
+ ],
7454
7490
  "path": "/governance/api/v1/connectors/reddit/install",
7455
7491
  "readOnly": false
7456
7492
  }
@@ -7644,224 +7680,29 @@ export const bindings: BindingsMap = {
7644
7680
  "level": "read",
7645
7681
  "method": "GET",
7646
7682
  "operationKey": "organization_x_install",
7647
- "path": "/governance/api/v1/connectors/x/install",
7648
- "readOnly": false
7649
- }
7650
- },
7651
- "youtube": {
7652
- "install": {
7653
- "level": "read",
7654
- "method": "GET",
7655
- "operationKey": "organization_youtube_install",
7656
- "path": "/governance/api/v1/connectors/youtube/install",
7657
- "readOnly": false
7658
- }
7659
- }
7660
- },
7661
- "playground": {
7662
- "analytics": {
7663
- "overview": {
7664
- "level": "read",
7665
- "method": "POST",
7666
- "operationKey": "playground_analytics_overview",
7667
7683
  "params": [
7668
7684
  {
7669
- "in": "body",
7670
- "name": "limit"
7671
- }
7672
- ],
7673
- "path": "/playground/analytics/overview",
7674
- "readOnly": true
7675
- }
7676
- },
7677
- "billing": {
7678
- "entitlements": {
7679
- "level": "read",
7680
- "method": "POST",
7681
- "operationKey": "playground_billing_entitlements",
7682
- "path": "/playground/billing/entitlements",
7683
- "readOnly": true
7684
- },
7685
- "record-usage": {
7686
- "level": "write",
7687
- "method": "POST",
7688
- "operationKey": "playground_billing_record-usage",
7689
- "params": [
7690
- {
7691
- "in": "body",
7692
- "name": "value"
7693
- }
7694
- ],
7695
- "path": "/playground/billing/usage",
7696
- "readOnly": false
7697
- }
7698
- },
7699
- "clickup": {
7700
- "create-task": {
7701
- "level": "write",
7702
- "method": "POST",
7703
- "operationKey": "playground_clickup_create-task",
7704
- "params": [
7705
- {
7706
- "in": "body",
7707
- "name": "listId"
7708
- },
7709
- {
7710
- "in": "body",
7711
- "name": "name"
7685
+ "in": "query",
7686
+ "name": "share"
7712
7687
  }
7713
7688
  ],
7714
- "path": "/playground/clickup/tasks",
7689
+ "path": "/governance/api/v1/connectors/x/install",
7715
7690
  "readOnly": false
7716
- },
7717
- "get-last-webhook": {
7718
- "level": "read",
7719
- "method": "GET",
7720
- "operationKey": "playground_clickup_get-last-webhook",
7721
- "path": "/playground/clickup/webhooks/last",
7722
- "readOnly": true
7723
- },
7724
- "get-overview": {
7725
- "level": "read",
7726
- "method": "GET",
7727
- "operationKey": "playground_clickup_get-overview",
7728
- "path": "/playground/clickup/overview",
7729
- "readOnly": true
7730
- }
7731
- },
7732
- "echo": {
7733
- "ping": {
7734
- "level": "read",
7735
- "method": "POST",
7736
- "operationKey": "playground_echo_ping",
7737
- "params": [
7738
- {
7739
- "in": "body",
7740
- "name": "message"
7741
- }
7742
- ],
7743
- "path": "/playground/echo/ping",
7744
- "readOnly": true
7745
- }
7746
- },
7747
- "gdrive": {
7748
- "get-last-change": {
7749
- "level": "read",
7750
- "method": "GET",
7751
- "operationKey": "playground_gdrive_get-last-change",
7752
- "path": "/playground/gdrive/changes/last",
7753
- "readOnly": true
7754
- },
7755
- "read-file": {
7756
- "level": "read",
7757
- "method": "POST",
7758
- "operationKey": "playground_gdrive_read-file",
7759
- "params": [
7760
- {
7761
- "in": "body",
7762
- "name": "fileId"
7763
- }
7764
- ],
7765
- "path": "/playground/gdrive/file",
7766
- "readOnly": true
7767
7691
  }
7768
7692
  },
7769
- "googleads": {
7770
- "read-customer": {
7771
- "level": "read",
7772
- "method": "POST",
7773
- "operationKey": "playground_googleads_read-customer",
7774
- "path": "/playground/googleads/customer",
7775
- "readOnly": true
7776
- }
7777
- },
7778
- "lifecycle": {
7779
- "get-state": {
7780
- "level": "read",
7781
- "method": "GET",
7782
- "operationKey": "playground_lifecycle_get-state",
7783
- "path": "/playground/lifecycle/state",
7784
- "readOnly": true
7785
- },
7786
- "list-events": {
7787
- "level": "read",
7788
- "method": "GET",
7789
- "operationKey": "playground_lifecycle_list-events",
7790
- "path": "/playground/lifecycle/events",
7791
- "readOnly": true
7792
- }
7793
- },
7794
- "webhook": {
7795
- "get-last": {
7796
- "level": "read",
7797
- "method": "GET",
7798
- "operationKey": "playground_webhook_get-last",
7799
- "path": "/playground/webhooks/last",
7800
- "readOnly": true
7801
- }
7802
- },
7803
- "workflow": {
7804
- "echo": {
7805
- "level": "write",
7806
- "method": "POST",
7807
- "operationKey": "playground_workflow_echo",
7808
- "params": [
7809
- {
7810
- "in": "body",
7811
- "name": "note"
7812
- },
7813
- {
7814
- "in": "body",
7815
- "name": "tags"
7816
- }
7817
- ],
7818
- "path": "/playground/workflow/echo",
7819
- "readOnly": false
7820
- },
7821
- "echo-list": {
7822
- "level": "read",
7823
- "method": "GET",
7824
- "operationKey": "playground_workflow_echo-list",
7825
- "path": "/playground/workflow/echoes",
7826
- "readOnly": true
7827
- },
7828
- "ping": {
7829
- "level": "write",
7830
- "method": "POST",
7831
- "operationKey": "playground_workflow_ping",
7832
- "params": [
7833
- {
7834
- "in": "body",
7835
- "name": "kind"
7836
- }
7837
- ],
7838
- "path": "/playground/workflow/ping",
7839
- "readOnly": false
7840
- },
7841
- "subjects-list": {
7693
+ "youtube": {
7694
+ "install": {
7842
7695
  "level": "read",
7843
7696
  "method": "GET",
7844
- "operationKey": "playground_workflow_subjects-list",
7697
+ "operationKey": "organization_youtube_install",
7845
7698
  "params": [
7846
7699
  {
7847
7700
  "in": "query",
7848
- "name": "last_activity_before"
7849
- },
7850
- {
7851
- "in": "query",
7852
- "name": "last_activity_after"
7853
- },
7854
- {
7855
- "in": "query",
7856
- "name": "limit"
7857
- },
7858
- {
7859
- "in": "query",
7860
- "name": "cursor"
7701
+ "name": "share"
7861
7702
  }
7862
7703
  ],
7863
- "path": "/playground/workflow/subjects",
7864
- "readOnly": true
7704
+ "path": "/governance/api/v1/connectors/youtube/install",
7705
+ "readOnly": false
7865
7706
  }
7866
7707
  }
7867
7708
  },
@@ -12071,12 +11912,4 @@ export const bindings: BindingsMap = {
12071
11912
  }
12072
11913
  };
12073
11914
 
12074
- export const wsBindings: WsBindingsMap = {
12075
- "playground": {
12076
- "ws": {
12077
- "echo": {
12078
- "path": "/playground/ws/echo"
12079
- }
12080
- }
12081
- }
12082
- };
11915
+ 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,
@@ -2014,43 +1980,6 @@ export interface GeneratedClient {
2014
1980
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2015
1981
  };
2016
1982
  };
2017
- playground: {
2018
- analytics: {
2019
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2020
- };
2021
- billing: {
2022
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2023
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2024
- };
2025
- clickup: {
2026
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2027
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2028
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2029
- };
2030
- echo: {
2031
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2032
- };
2033
- gdrive: {
2034
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2035
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2036
- };
2037
- googleads: {
2038
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2039
- };
2040
- lifecycle: {
2041
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2042
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2043
- };
2044
- webhook: {
2045
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2046
- };
2047
- workflow: {
2048
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2049
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2050
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2051
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2052
- };
2053
- };
2054
1983
  realtime: {
2055
1984
  archive: {
2056
1985
  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',
@@ -721,9 +704,6 @@ export const compositions: Record<string, ToolComposition> = {
721
704
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
722
705
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
723
706
  'mail_usage_get': {"label":"Get usage"},
724
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
725
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
726
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
727
707
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
728
708
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
729
709
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},