@lessly/sdk-app 105.11.0 → 105.12.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.11.0",
4
+ "version": "105.12.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:131b9ae57828ade301358ba7a46b4318cc693da0bc7a6eae92b2cf0a68755577"
213
+ "sdkContentHash": "sha256:593dc23530865b708c4ecd1dd601a72a66e9f7d9d1abb3ef3dc2cda618ae3dab"
224
214
  }
@@ -6266,6 +6266,12 @@ export const bindings: BindingsMap = {
6266
6266
  "level": "read",
6267
6267
  "method": "GET",
6268
6268
  "operationKey": "organization_clickup_install",
6269
+ "params": [
6270
+ {
6271
+ "in": "query",
6272
+ "name": "share"
6273
+ }
6274
+ ],
6269
6275
  "path": "/governance/api/v1/connectors/clickup/install",
6270
6276
  "readOnly": false
6271
6277
  },
@@ -6282,6 +6288,12 @@ export const bindings: BindingsMap = {
6282
6288
  "level": "read",
6283
6289
  "method": "GET",
6284
6290
  "operationKey": "organization_cloudflare_install",
6291
+ "params": [
6292
+ {
6293
+ "in": "query",
6294
+ "name": "share"
6295
+ }
6296
+ ],
6285
6297
  "path": "/governance/api/v1/connectors/cloudflare/install",
6286
6298
  "readOnly": false
6287
6299
  }
@@ -6602,6 +6614,12 @@ export const bindings: BindingsMap = {
6602
6614
  "level": "read",
6603
6615
  "method": "GET",
6604
6616
  "operationKey": "organization_gdrive_install",
6617
+ "params": [
6618
+ {
6619
+ "in": "query",
6620
+ "name": "share"
6621
+ }
6622
+ ],
6605
6623
  "path": "/governance/api/v1/connectors/gdrive/install",
6606
6624
  "readOnly": false
6607
6625
  }
@@ -6611,6 +6629,12 @@ export const bindings: BindingsMap = {
6611
6629
  "level": "read",
6612
6630
  "method": "GET",
6613
6631
  "operationKey": "organization_github_install",
6632
+ "params": [
6633
+ {
6634
+ "in": "query",
6635
+ "name": "share"
6636
+ }
6637
+ ],
6614
6638
  "path": "/governance/api/v1/connectors/github/install",
6615
6639
  "readOnly": false
6616
6640
  },
@@ -6825,6 +6849,12 @@ export const bindings: BindingsMap = {
6825
6849
  "level": "read",
6826
6850
  "method": "GET",
6827
6851
  "operationKey": "organization_linkedin_member_install",
6852
+ "params": [
6853
+ {
6854
+ "in": "query",
6855
+ "name": "share"
6856
+ }
6857
+ ],
6828
6858
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6829
6859
  "readOnly": false
6830
6860
  }
@@ -7461,6 +7491,12 @@ export const bindings: BindingsMap = {
7461
7491
  "level": "read",
7462
7492
  "method": "GET",
7463
7493
  "operationKey": "organization_reddit_install",
7494
+ "params": [
7495
+ {
7496
+ "in": "query",
7497
+ "name": "share"
7498
+ }
7499
+ ],
7464
7500
  "path": "/governance/api/v1/connectors/reddit/install",
7465
7501
  "readOnly": false
7466
7502
  }
@@ -7654,224 +7690,29 @@ export const bindings: BindingsMap = {
7654
7690
  "level": "read",
7655
7691
  "method": "GET",
7656
7692
  "operationKey": "organization_x_install",
7657
- "path": "/governance/api/v1/connectors/x/install",
7658
- "readOnly": false
7659
- }
7660
- },
7661
- "youtube": {
7662
- "install": {
7663
- "level": "read",
7664
- "method": "GET",
7665
- "operationKey": "organization_youtube_install",
7666
- "path": "/governance/api/v1/connectors/youtube/install",
7667
- "readOnly": false
7668
- }
7669
- }
7670
- },
7671
- "playground": {
7672
- "analytics": {
7673
- "overview": {
7674
- "level": "read",
7675
- "method": "POST",
7676
- "operationKey": "playground_analytics_overview",
7677
7693
  "params": [
7678
7694
  {
7679
- "in": "body",
7680
- "name": "limit"
7681
- }
7682
- ],
7683
- "path": "/playground/analytics/overview",
7684
- "readOnly": true
7685
- }
7686
- },
7687
- "billing": {
7688
- "entitlements": {
7689
- "level": "read",
7690
- "method": "POST",
7691
- "operationKey": "playground_billing_entitlements",
7692
- "path": "/playground/billing/entitlements",
7693
- "readOnly": true
7694
- },
7695
- "record-usage": {
7696
- "level": "write",
7697
- "method": "POST",
7698
- "operationKey": "playground_billing_record-usage",
7699
- "params": [
7700
- {
7701
- "in": "body",
7702
- "name": "value"
7703
- }
7704
- ],
7705
- "path": "/playground/billing/usage",
7706
- "readOnly": false
7707
- }
7708
- },
7709
- "clickup": {
7710
- "create-task": {
7711
- "level": "write",
7712
- "method": "POST",
7713
- "operationKey": "playground_clickup_create-task",
7714
- "params": [
7715
- {
7716
- "in": "body",
7717
- "name": "listId"
7718
- },
7719
- {
7720
- "in": "body",
7721
- "name": "name"
7695
+ "in": "query",
7696
+ "name": "share"
7722
7697
  }
7723
7698
  ],
7724
- "path": "/playground/clickup/tasks",
7699
+ "path": "/governance/api/v1/connectors/x/install",
7725
7700
  "readOnly": false
7726
- },
7727
- "get-last-webhook": {
7728
- "level": "read",
7729
- "method": "GET",
7730
- "operationKey": "playground_clickup_get-last-webhook",
7731
- "path": "/playground/clickup/webhooks/last",
7732
- "readOnly": true
7733
- },
7734
- "get-overview": {
7735
- "level": "read",
7736
- "method": "GET",
7737
- "operationKey": "playground_clickup_get-overview",
7738
- "path": "/playground/clickup/overview",
7739
- "readOnly": true
7740
- }
7741
- },
7742
- "echo": {
7743
- "ping": {
7744
- "level": "read",
7745
- "method": "POST",
7746
- "operationKey": "playground_echo_ping",
7747
- "params": [
7748
- {
7749
- "in": "body",
7750
- "name": "message"
7751
- }
7752
- ],
7753
- "path": "/playground/echo/ping",
7754
- "readOnly": true
7755
- }
7756
- },
7757
- "gdrive": {
7758
- "get-last-change": {
7759
- "level": "read",
7760
- "method": "GET",
7761
- "operationKey": "playground_gdrive_get-last-change",
7762
- "path": "/playground/gdrive/changes/last",
7763
- "readOnly": true
7764
- },
7765
- "read-file": {
7766
- "level": "read",
7767
- "method": "POST",
7768
- "operationKey": "playground_gdrive_read-file",
7769
- "params": [
7770
- {
7771
- "in": "body",
7772
- "name": "fileId"
7773
- }
7774
- ],
7775
- "path": "/playground/gdrive/file",
7776
- "readOnly": true
7777
7701
  }
7778
7702
  },
7779
- "googleads": {
7780
- "read-customer": {
7781
- "level": "read",
7782
- "method": "POST",
7783
- "operationKey": "playground_googleads_read-customer",
7784
- "path": "/playground/googleads/customer",
7785
- "readOnly": true
7786
- }
7787
- },
7788
- "lifecycle": {
7789
- "get-state": {
7790
- "level": "read",
7791
- "method": "GET",
7792
- "operationKey": "playground_lifecycle_get-state",
7793
- "path": "/playground/lifecycle/state",
7794
- "readOnly": true
7795
- },
7796
- "list-events": {
7797
- "level": "read",
7798
- "method": "GET",
7799
- "operationKey": "playground_lifecycle_list-events",
7800
- "path": "/playground/lifecycle/events",
7801
- "readOnly": true
7802
- }
7803
- },
7804
- "webhook": {
7805
- "get-last": {
7806
- "level": "read",
7807
- "method": "GET",
7808
- "operationKey": "playground_webhook_get-last",
7809
- "path": "/playground/webhooks/last",
7810
- "readOnly": true
7811
- }
7812
- },
7813
- "workflow": {
7814
- "echo": {
7815
- "level": "write",
7816
- "method": "POST",
7817
- "operationKey": "playground_workflow_echo",
7818
- "params": [
7819
- {
7820
- "in": "body",
7821
- "name": "note"
7822
- },
7823
- {
7824
- "in": "body",
7825
- "name": "tags"
7826
- }
7827
- ],
7828
- "path": "/playground/workflow/echo",
7829
- "readOnly": false
7830
- },
7831
- "echo-list": {
7832
- "level": "read",
7833
- "method": "GET",
7834
- "operationKey": "playground_workflow_echo-list",
7835
- "path": "/playground/workflow/echoes",
7836
- "readOnly": true
7837
- },
7838
- "ping": {
7839
- "level": "write",
7840
- "method": "POST",
7841
- "operationKey": "playground_workflow_ping",
7842
- "params": [
7843
- {
7844
- "in": "body",
7845
- "name": "kind"
7846
- }
7847
- ],
7848
- "path": "/playground/workflow/ping",
7849
- "readOnly": false
7850
- },
7851
- "subjects-list": {
7703
+ "youtube": {
7704
+ "install": {
7852
7705
  "level": "read",
7853
7706
  "method": "GET",
7854
- "operationKey": "playground_workflow_subjects-list",
7707
+ "operationKey": "organization_youtube_install",
7855
7708
  "params": [
7856
7709
  {
7857
7710
  "in": "query",
7858
- "name": "last_activity_before"
7859
- },
7860
- {
7861
- "in": "query",
7862
- "name": "last_activity_after"
7863
- },
7864
- {
7865
- "in": "query",
7866
- "name": "limit"
7867
- },
7868
- {
7869
- "in": "query",
7870
- "name": "cursor"
7711
+ "name": "share"
7871
7712
  }
7872
7713
  ],
7873
- "path": "/playground/workflow/subjects",
7874
- "readOnly": true
7714
+ "path": "/governance/api/v1/connectors/youtube/install",
7715
+ "readOnly": false
7875
7716
  }
7876
7717
  }
7877
7718
  },
@@ -12173,12 +12014,4 @@ export const bindings: BindingsMap = {
12173
12014
  }
12174
12015
  };
12175
12016
 
12176
- export const wsBindings: WsBindingsMap = {
12177
- "playground": {
12178
- "ws": {
12179
- "echo": {
12180
- "path": "/playground/ws/echo"
12181
- }
12182
- }
12183
- }
12184
- };
12017
+ 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"},