@lessly/sdk-app 105.5.0 → 105.6.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": "105.5.0",
4
+ "version": "105.6.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:0386f2575a584692d9948ba2420b9fd28e879d8524ca9f484a6ebed21a35c9cf"
213
+ "sdkContentHash": "sha256:4855f32b64c6a04ce6febfb9f34689e8ae24a940da64ab2b216122545795c252"
224
214
  }
@@ -6262,6 +6262,12 @@ export const bindings: BindingsMap = {
6262
6262
  "level": "read",
6263
6263
  "method": "GET",
6264
6264
  "operationKey": "organization_clickup_install",
6265
+ "params": [
6266
+ {
6267
+ "in": "query",
6268
+ "name": "share"
6269
+ }
6270
+ ],
6265
6271
  "path": "/governance/api/v1/connectors/clickup/install",
6266
6272
  "readOnly": false
6267
6273
  },
@@ -6278,6 +6284,12 @@ export const bindings: BindingsMap = {
6278
6284
  "level": "read",
6279
6285
  "method": "GET",
6280
6286
  "operationKey": "organization_cloudflare_install",
6287
+ "params": [
6288
+ {
6289
+ "in": "query",
6290
+ "name": "share"
6291
+ }
6292
+ ],
6281
6293
  "path": "/governance/api/v1/connectors/cloudflare/install",
6282
6294
  "readOnly": false
6283
6295
  }
@@ -6598,6 +6610,12 @@ export const bindings: BindingsMap = {
6598
6610
  "level": "read",
6599
6611
  "method": "GET",
6600
6612
  "operationKey": "organization_gdrive_install",
6613
+ "params": [
6614
+ {
6615
+ "in": "query",
6616
+ "name": "share"
6617
+ }
6618
+ ],
6601
6619
  "path": "/governance/api/v1/connectors/gdrive/install",
6602
6620
  "readOnly": false
6603
6621
  }
@@ -6607,6 +6625,12 @@ export const bindings: BindingsMap = {
6607
6625
  "level": "read",
6608
6626
  "method": "GET",
6609
6627
  "operationKey": "organization_github_install",
6628
+ "params": [
6629
+ {
6630
+ "in": "query",
6631
+ "name": "share"
6632
+ }
6633
+ ],
6610
6634
  "path": "/governance/api/v1/connectors/github/install",
6611
6635
  "readOnly": false
6612
6636
  },
@@ -6821,6 +6845,12 @@ export const bindings: BindingsMap = {
6821
6845
  "level": "read",
6822
6846
  "method": "GET",
6823
6847
  "operationKey": "organization_linkedin_member_install",
6848
+ "params": [
6849
+ {
6850
+ "in": "query",
6851
+ "name": "share"
6852
+ }
6853
+ ],
6824
6854
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6825
6855
  "readOnly": false
6826
6856
  }
@@ -7457,6 +7487,12 @@ export const bindings: BindingsMap = {
7457
7487
  "level": "read",
7458
7488
  "method": "GET",
7459
7489
  "operationKey": "organization_reddit_install",
7490
+ "params": [
7491
+ {
7492
+ "in": "query",
7493
+ "name": "share"
7494
+ }
7495
+ ],
7460
7496
  "path": "/governance/api/v1/connectors/reddit/install",
7461
7497
  "readOnly": false
7462
7498
  }
@@ -7650,224 +7686,29 @@ export const bindings: BindingsMap = {
7650
7686
  "level": "read",
7651
7687
  "method": "GET",
7652
7688
  "operationKey": "organization_x_install",
7653
- "path": "/governance/api/v1/connectors/x/install",
7654
- "readOnly": false
7655
- }
7656
- },
7657
- "youtube": {
7658
- "install": {
7659
- "level": "read",
7660
- "method": "GET",
7661
- "operationKey": "organization_youtube_install",
7662
- "path": "/governance/api/v1/connectors/youtube/install",
7663
- "readOnly": false
7664
- }
7665
- }
7666
- },
7667
- "playground": {
7668
- "analytics": {
7669
- "overview": {
7670
- "level": "read",
7671
- "method": "POST",
7672
- "operationKey": "playground_analytics_overview",
7673
7689
  "params": [
7674
7690
  {
7675
- "in": "body",
7676
- "name": "limit"
7677
- }
7678
- ],
7679
- "path": "/playground/analytics/overview",
7680
- "readOnly": true
7681
- }
7682
- },
7683
- "billing": {
7684
- "entitlements": {
7685
- "level": "read",
7686
- "method": "POST",
7687
- "operationKey": "playground_billing_entitlements",
7688
- "path": "/playground/billing/entitlements",
7689
- "readOnly": true
7690
- },
7691
- "record-usage": {
7692
- "level": "write",
7693
- "method": "POST",
7694
- "operationKey": "playground_billing_record-usage",
7695
- "params": [
7696
- {
7697
- "in": "body",
7698
- "name": "value"
7699
- }
7700
- ],
7701
- "path": "/playground/billing/usage",
7702
- "readOnly": false
7703
- }
7704
- },
7705
- "clickup": {
7706
- "create-task": {
7707
- "level": "write",
7708
- "method": "POST",
7709
- "operationKey": "playground_clickup_create-task",
7710
- "params": [
7711
- {
7712
- "in": "body",
7713
- "name": "listId"
7714
- },
7715
- {
7716
- "in": "body",
7717
- "name": "name"
7691
+ "in": "query",
7692
+ "name": "share"
7718
7693
  }
7719
7694
  ],
7720
- "path": "/playground/clickup/tasks",
7695
+ "path": "/governance/api/v1/connectors/x/install",
7721
7696
  "readOnly": false
7722
- },
7723
- "get-last-webhook": {
7724
- "level": "read",
7725
- "method": "GET",
7726
- "operationKey": "playground_clickup_get-last-webhook",
7727
- "path": "/playground/clickup/webhooks/last",
7728
- "readOnly": true
7729
- },
7730
- "get-overview": {
7731
- "level": "read",
7732
- "method": "GET",
7733
- "operationKey": "playground_clickup_get-overview",
7734
- "path": "/playground/clickup/overview",
7735
- "readOnly": true
7736
- }
7737
- },
7738
- "echo": {
7739
- "ping": {
7740
- "level": "read",
7741
- "method": "POST",
7742
- "operationKey": "playground_echo_ping",
7743
- "params": [
7744
- {
7745
- "in": "body",
7746
- "name": "message"
7747
- }
7748
- ],
7749
- "path": "/playground/echo/ping",
7750
- "readOnly": true
7751
- }
7752
- },
7753
- "gdrive": {
7754
- "get-last-change": {
7755
- "level": "read",
7756
- "method": "GET",
7757
- "operationKey": "playground_gdrive_get-last-change",
7758
- "path": "/playground/gdrive/changes/last",
7759
- "readOnly": true
7760
- },
7761
- "read-file": {
7762
- "level": "read",
7763
- "method": "POST",
7764
- "operationKey": "playground_gdrive_read-file",
7765
- "params": [
7766
- {
7767
- "in": "body",
7768
- "name": "fileId"
7769
- }
7770
- ],
7771
- "path": "/playground/gdrive/file",
7772
- "readOnly": true
7773
7697
  }
7774
7698
  },
7775
- "googleads": {
7776
- "read-customer": {
7777
- "level": "read",
7778
- "method": "POST",
7779
- "operationKey": "playground_googleads_read-customer",
7780
- "path": "/playground/googleads/customer",
7781
- "readOnly": true
7782
- }
7783
- },
7784
- "lifecycle": {
7785
- "get-state": {
7786
- "level": "read",
7787
- "method": "GET",
7788
- "operationKey": "playground_lifecycle_get-state",
7789
- "path": "/playground/lifecycle/state",
7790
- "readOnly": true
7791
- },
7792
- "list-events": {
7793
- "level": "read",
7794
- "method": "GET",
7795
- "operationKey": "playground_lifecycle_list-events",
7796
- "path": "/playground/lifecycle/events",
7797
- "readOnly": true
7798
- }
7799
- },
7800
- "webhook": {
7801
- "get-last": {
7802
- "level": "read",
7803
- "method": "GET",
7804
- "operationKey": "playground_webhook_get-last",
7805
- "path": "/playground/webhooks/last",
7806
- "readOnly": true
7807
- }
7808
- },
7809
- "workflow": {
7810
- "echo": {
7811
- "level": "write",
7812
- "method": "POST",
7813
- "operationKey": "playground_workflow_echo",
7814
- "params": [
7815
- {
7816
- "in": "body",
7817
- "name": "note"
7818
- },
7819
- {
7820
- "in": "body",
7821
- "name": "tags"
7822
- }
7823
- ],
7824
- "path": "/playground/workflow/echo",
7825
- "readOnly": false
7826
- },
7827
- "echo-list": {
7828
- "level": "read",
7829
- "method": "GET",
7830
- "operationKey": "playground_workflow_echo-list",
7831
- "path": "/playground/workflow/echoes",
7832
- "readOnly": true
7833
- },
7834
- "ping": {
7835
- "level": "write",
7836
- "method": "POST",
7837
- "operationKey": "playground_workflow_ping",
7838
- "params": [
7839
- {
7840
- "in": "body",
7841
- "name": "kind"
7842
- }
7843
- ],
7844
- "path": "/playground/workflow/ping",
7845
- "readOnly": false
7846
- },
7847
- "subjects-list": {
7699
+ "youtube": {
7700
+ "install": {
7848
7701
  "level": "read",
7849
7702
  "method": "GET",
7850
- "operationKey": "playground_workflow_subjects-list",
7703
+ "operationKey": "organization_youtube_install",
7851
7704
  "params": [
7852
7705
  {
7853
7706
  "in": "query",
7854
- "name": "last_activity_before"
7855
- },
7856
- {
7857
- "in": "query",
7858
- "name": "last_activity_after"
7859
- },
7860
- {
7861
- "in": "query",
7862
- "name": "limit"
7863
- },
7864
- {
7865
- "in": "query",
7866
- "name": "cursor"
7707
+ "name": "share"
7867
7708
  }
7868
7709
  ],
7869
- "path": "/playground/workflow/subjects",
7870
- "readOnly": true
7710
+ "path": "/governance/api/v1/connectors/youtube/install",
7711
+ "readOnly": false
7871
7712
  }
7872
7713
  }
7873
7714
  },
@@ -12169,12 +12010,4 @@ export const bindings: BindingsMap = {
12169
12010
  }
12170
12011
  };
12171
12012
 
12172
- export const wsBindings: WsBindingsMap = {
12173
- "playground": {
12174
- "ws": {
12175
- "echo": {
12176
- "path": "/playground/ws/echo"
12177
- }
12178
- }
12179
- }
12180
- };
12013
+ 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,
@@ -2018,43 +1984,6 @@ export interface GeneratedClient {
2018
1984
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2019
1985
  };
2020
1986
  };
2021
- playground: {
2022
- analytics: {
2023
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2024
- };
2025
- billing: {
2026
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2027
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2028
- };
2029
- clickup: {
2030
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2031
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2032
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2033
- };
2034
- echo: {
2035
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2036
- };
2037
- gdrive: {
2038
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2039
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2040
- };
2041
- googleads: {
2042
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2043
- };
2044
- lifecycle: {
2045
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2046
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2047
- };
2048
- webhook: {
2049
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2050
- };
2051
- workflow: {
2052
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2053
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2054
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2055
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2056
- };
2057
- };
2058
1987
  realtime: {
2059
1988
  archive: {
2060
1989
  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',
@@ -723,9 +706,6 @@ export const compositions: Record<string, ToolComposition> = {
723
706
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
724
707
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
725
708
  'mail_usage_get': {"label":"Get usage"},
726
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
727
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
728
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
729
709
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
730
710
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
731
711
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},