@lessly/sdk-app 120.2.0 → 120.3.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": "120.2.0",
4
+ "version": "120.3.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:74238fcca5deacef0dee3f14f9c6138fa594f15291cf060e4436372865c81a45"
213
+ "sdkContentHash": "sha256:127fe75c304fcb211abe5dd0f76ad60a9a79dfb2e072db3beca537933d7caa8a"
224
214
  }
@@ -6480,6 +6480,12 @@ export const bindings: BindingsMap = {
6480
6480
  "level": "read",
6481
6481
  "method": "GET",
6482
6482
  "operationKey": "organization_clickup_install",
6483
+ "params": [
6484
+ {
6485
+ "in": "query",
6486
+ "name": "share"
6487
+ }
6488
+ ],
6483
6489
  "path": "/governance/api/v1/connectors/clickup/install",
6484
6490
  "readOnly": false
6485
6491
  },
@@ -6496,6 +6502,12 @@ export const bindings: BindingsMap = {
6496
6502
  "level": "read",
6497
6503
  "method": "GET",
6498
6504
  "operationKey": "organization_cloudflare_install",
6505
+ "params": [
6506
+ {
6507
+ "in": "query",
6508
+ "name": "share"
6509
+ }
6510
+ ],
6499
6511
  "path": "/governance/api/v1/connectors/cloudflare/install",
6500
6512
  "readOnly": false
6501
6513
  }
@@ -6816,6 +6828,12 @@ export const bindings: BindingsMap = {
6816
6828
  "level": "read",
6817
6829
  "method": "GET",
6818
6830
  "operationKey": "organization_gdrive_install",
6831
+ "params": [
6832
+ {
6833
+ "in": "query",
6834
+ "name": "share"
6835
+ }
6836
+ ],
6819
6837
  "path": "/governance/api/v1/connectors/gdrive/install",
6820
6838
  "readOnly": false
6821
6839
  }
@@ -6825,6 +6843,12 @@ export const bindings: BindingsMap = {
6825
6843
  "level": "read",
6826
6844
  "method": "GET",
6827
6845
  "operationKey": "organization_github_install",
6846
+ "params": [
6847
+ {
6848
+ "in": "query",
6849
+ "name": "share"
6850
+ }
6851
+ ],
6828
6852
  "path": "/governance/api/v1/connectors/github/install",
6829
6853
  "readOnly": false
6830
6854
  },
@@ -7039,6 +7063,12 @@ export const bindings: BindingsMap = {
7039
7063
  "level": "read",
7040
7064
  "method": "GET",
7041
7065
  "operationKey": "organization_linkedin_member_install",
7066
+ "params": [
7067
+ {
7068
+ "in": "query",
7069
+ "name": "share"
7070
+ }
7071
+ ],
7042
7072
  "path": "/governance/api/v1/connectors/linkedin-member/install",
7043
7073
  "readOnly": false
7044
7074
  }
@@ -7675,6 +7705,12 @@ export const bindings: BindingsMap = {
7675
7705
  "level": "read",
7676
7706
  "method": "GET",
7677
7707
  "operationKey": "organization_reddit_install",
7708
+ "params": [
7709
+ {
7710
+ "in": "query",
7711
+ "name": "share"
7712
+ }
7713
+ ],
7678
7714
  "path": "/governance/api/v1/connectors/reddit/install",
7679
7715
  "readOnly": false
7680
7716
  }
@@ -7868,224 +7904,29 @@ export const bindings: BindingsMap = {
7868
7904
  "level": "read",
7869
7905
  "method": "GET",
7870
7906
  "operationKey": "organization_x_install",
7871
- "path": "/governance/api/v1/connectors/x/install",
7872
- "readOnly": false
7873
- }
7874
- },
7875
- "youtube": {
7876
- "install": {
7877
- "level": "read",
7878
- "method": "GET",
7879
- "operationKey": "organization_youtube_install",
7880
- "path": "/governance/api/v1/connectors/youtube/install",
7881
- "readOnly": false
7882
- }
7883
- }
7884
- },
7885
- "playground": {
7886
- "analytics": {
7887
- "overview": {
7888
- "level": "read",
7889
- "method": "POST",
7890
- "operationKey": "playground_analytics_overview",
7891
7907
  "params": [
7892
7908
  {
7893
- "in": "body",
7894
- "name": "limit"
7895
- }
7896
- ],
7897
- "path": "/playground/analytics/overview",
7898
- "readOnly": true
7899
- }
7900
- },
7901
- "billing": {
7902
- "entitlements": {
7903
- "level": "read",
7904
- "method": "POST",
7905
- "operationKey": "playground_billing_entitlements",
7906
- "path": "/playground/billing/entitlements",
7907
- "readOnly": true
7908
- },
7909
- "record-usage": {
7910
- "level": "write",
7911
- "method": "POST",
7912
- "operationKey": "playground_billing_record-usage",
7913
- "params": [
7914
- {
7915
- "in": "body",
7916
- "name": "value"
7917
- }
7918
- ],
7919
- "path": "/playground/billing/usage",
7920
- "readOnly": false
7921
- }
7922
- },
7923
- "clickup": {
7924
- "create-task": {
7925
- "level": "write",
7926
- "method": "POST",
7927
- "operationKey": "playground_clickup_create-task",
7928
- "params": [
7929
- {
7930
- "in": "body",
7931
- "name": "listId"
7932
- },
7933
- {
7934
- "in": "body",
7935
- "name": "name"
7909
+ "in": "query",
7910
+ "name": "share"
7936
7911
  }
7937
7912
  ],
7938
- "path": "/playground/clickup/tasks",
7913
+ "path": "/governance/api/v1/connectors/x/install",
7939
7914
  "readOnly": false
7940
- },
7941
- "get-last-webhook": {
7942
- "level": "read",
7943
- "method": "GET",
7944
- "operationKey": "playground_clickup_get-last-webhook",
7945
- "path": "/playground/clickup/webhooks/last",
7946
- "readOnly": true
7947
- },
7948
- "get-overview": {
7949
- "level": "read",
7950
- "method": "GET",
7951
- "operationKey": "playground_clickup_get-overview",
7952
- "path": "/playground/clickup/overview",
7953
- "readOnly": true
7954
- }
7955
- },
7956
- "echo": {
7957
- "ping": {
7958
- "level": "read",
7959
- "method": "POST",
7960
- "operationKey": "playground_echo_ping",
7961
- "params": [
7962
- {
7963
- "in": "body",
7964
- "name": "message"
7965
- }
7966
- ],
7967
- "path": "/playground/echo/ping",
7968
- "readOnly": true
7969
- }
7970
- },
7971
- "gdrive": {
7972
- "get-last-change": {
7973
- "level": "read",
7974
- "method": "GET",
7975
- "operationKey": "playground_gdrive_get-last-change",
7976
- "path": "/playground/gdrive/changes/last",
7977
- "readOnly": true
7978
- },
7979
- "read-file": {
7980
- "level": "read",
7981
- "method": "POST",
7982
- "operationKey": "playground_gdrive_read-file",
7983
- "params": [
7984
- {
7985
- "in": "body",
7986
- "name": "fileId"
7987
- }
7988
- ],
7989
- "path": "/playground/gdrive/file",
7990
- "readOnly": true
7991
7915
  }
7992
7916
  },
7993
- "googleads": {
7994
- "read-customer": {
7995
- "level": "read",
7996
- "method": "POST",
7997
- "operationKey": "playground_googleads_read-customer",
7998
- "path": "/playground/googleads/customer",
7999
- "readOnly": true
8000
- }
8001
- },
8002
- "lifecycle": {
8003
- "get-state": {
8004
- "level": "read",
8005
- "method": "GET",
8006
- "operationKey": "playground_lifecycle_get-state",
8007
- "path": "/playground/lifecycle/state",
8008
- "readOnly": true
8009
- },
8010
- "list-events": {
8011
- "level": "read",
8012
- "method": "GET",
8013
- "operationKey": "playground_lifecycle_list-events",
8014
- "path": "/playground/lifecycle/events",
8015
- "readOnly": true
8016
- }
8017
- },
8018
- "webhook": {
8019
- "get-last": {
8020
- "level": "read",
8021
- "method": "GET",
8022
- "operationKey": "playground_webhook_get-last",
8023
- "path": "/playground/webhooks/last",
8024
- "readOnly": true
8025
- }
8026
- },
8027
- "workflow": {
8028
- "echo": {
8029
- "level": "write",
8030
- "method": "POST",
8031
- "operationKey": "playground_workflow_echo",
8032
- "params": [
8033
- {
8034
- "in": "body",
8035
- "name": "note"
8036
- },
8037
- {
8038
- "in": "body",
8039
- "name": "tags"
8040
- }
8041
- ],
8042
- "path": "/playground/workflow/echo",
8043
- "readOnly": false
8044
- },
8045
- "echo-list": {
8046
- "level": "read",
8047
- "method": "GET",
8048
- "operationKey": "playground_workflow_echo-list",
8049
- "path": "/playground/workflow/echoes",
8050
- "readOnly": true
8051
- },
8052
- "ping": {
8053
- "level": "write",
8054
- "method": "POST",
8055
- "operationKey": "playground_workflow_ping",
8056
- "params": [
8057
- {
8058
- "in": "body",
8059
- "name": "kind"
8060
- }
8061
- ],
8062
- "path": "/playground/workflow/ping",
8063
- "readOnly": false
8064
- },
8065
- "subjects-list": {
7917
+ "youtube": {
7918
+ "install": {
8066
7919
  "level": "read",
8067
7920
  "method": "GET",
8068
- "operationKey": "playground_workflow_subjects-list",
7921
+ "operationKey": "organization_youtube_install",
8069
7922
  "params": [
8070
7923
  {
8071
7924
  "in": "query",
8072
- "name": "last_activity_before"
8073
- },
8074
- {
8075
- "in": "query",
8076
- "name": "last_activity_after"
8077
- },
8078
- {
8079
- "in": "query",
8080
- "name": "limit"
8081
- },
8082
- {
8083
- "in": "query",
8084
- "name": "cursor"
7925
+ "name": "share"
8085
7926
  }
8086
7927
  ],
8087
- "path": "/playground/workflow/subjects",
8088
- "readOnly": true
7928
+ "path": "/governance/api/v1/connectors/youtube/install",
7929
+ "readOnly": false
8089
7930
  }
8090
7931
  }
8091
7932
  },
@@ -12413,12 +12254,4 @@ export const bindings: BindingsMap = {
12413
12254
  }
12414
12255
  };
12415
12256
 
12416
- export const wsBindings: WsBindingsMap = {
12417
- "playground": {
12418
- "ws": {
12419
- "echo": {
12420
- "path": "/playground/ws/echo"
12421
- }
12422
- }
12423
- }
12424
- };
12257
+ export const wsBindings: WsBindingsMap = {};
@@ -833,40 +833,6 @@ import type {
833
833
  OrganizationXInstallOutput,
834
834
  OrganizationYoutubeInstallInput,
835
835
  OrganizationYoutubeInstallOutput,
836
- PlaygroundAnalyticsOverviewInput,
837
- PlaygroundAnalyticsOverviewOutput,
838
- PlaygroundBillingEntitlementsInput,
839
- PlaygroundBillingEntitlementsOutput,
840
- PlaygroundBillingRecordUsageInput,
841
- PlaygroundBillingRecordUsageOutput,
842
- PlaygroundClickupCreateTaskInput,
843
- PlaygroundClickupCreateTaskOutput,
844
- PlaygroundClickupGetLastWebhookInput,
845
- PlaygroundClickupGetLastWebhookOutput,
846
- PlaygroundClickupGetOverviewInput,
847
- PlaygroundClickupGetOverviewOutput,
848
- PlaygroundEchoPingInput,
849
- PlaygroundEchoPingOutput,
850
- PlaygroundGdriveGetLastChangeInput,
851
- PlaygroundGdriveGetLastChangeOutput,
852
- PlaygroundGdriveReadFileInput,
853
- PlaygroundGdriveReadFileOutput,
854
- PlaygroundGoogleadsReadCustomerInput,
855
- PlaygroundGoogleadsReadCustomerOutput,
856
- PlaygroundLifecycleGetStateInput,
857
- PlaygroundLifecycleGetStateOutput,
858
- PlaygroundLifecycleListEventsInput,
859
- PlaygroundLifecycleListEventsOutput,
860
- PlaygroundWebhookGetLastInput,
861
- PlaygroundWebhookGetLastOutput,
862
- PlaygroundWorkflowEchoInput,
863
- PlaygroundWorkflowEchoListInput,
864
- PlaygroundWorkflowEchoListOutput,
865
- PlaygroundWorkflowEchoOutput,
866
- PlaygroundWorkflowPingInput,
867
- PlaygroundWorkflowPingOutput,
868
- PlaygroundWorkflowSubjectsListInput,
869
- PlaygroundWorkflowSubjectsListOutput,
870
836
  RealtimeArchiveExportInput,
871
837
  RealtimeArchiveExportOutput,
872
838
  RealtimeArchiveExportStatusInput,
@@ -2046,43 +2012,6 @@ export interface GeneratedClient {
2046
2012
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2047
2013
  };
2048
2014
  };
2049
- playground: {
2050
- analytics: {
2051
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2052
- };
2053
- billing: {
2054
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2055
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2056
- };
2057
- clickup: {
2058
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2059
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2060
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2061
- };
2062
- echo: {
2063
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2064
- };
2065
- gdrive: {
2066
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2067
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2068
- };
2069
- googleads: {
2070
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2071
- };
2072
- lifecycle: {
2073
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2074
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2075
- };
2076
- webhook: {
2077
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2078
- };
2079
- workflow: {
2080
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2081
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2082
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2083
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2084
- };
2085
- };
2086
2015
  realtime: {
2087
2016
  archive: {
2088
2017
  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',
@@ -420,23 +420,6 @@ export const operations: Record<string, ToolLevel> = {
420
420
  'organization_support_threads_list': 'read',
421
421
  'organization_x_install': 'read',
422
422
  'organization_youtube_install': 'read',
423
- 'playground_analytics_overview': 'read',
424
- 'playground_billing_entitlements': 'read',
425
- 'playground_billing_record-usage': 'write',
426
- 'playground_clickup_create-task': 'write',
427
- 'playground_clickup_get-last-webhook': 'read',
428
- 'playground_clickup_get-overview': 'read',
429
- 'playground_echo_ping': 'read',
430
- 'playground_gdrive_get-last-change': 'read',
431
- 'playground_gdrive_read-file': 'read',
432
- 'playground_googleads_read-customer': 'read',
433
- 'playground_lifecycle_get-state': 'read',
434
- 'playground_lifecycle_list-events': 'read',
435
- 'playground_webhook_get-last': 'read',
436
- 'playground_workflow_echo': 'write',
437
- 'playground_workflow_echo-list': 'read',
438
- 'playground_workflow_ping': 'write',
439
- 'playground_workflow_subjects-list': 'read',
440
423
  'realtime_archive_export': 'admin',
441
424
  'realtime_archive_export_status': 'read',
442
425
  'realtime_archive_get': 'read',
@@ -731,9 +714,6 @@ export const compositions: Record<string, ToolComposition> = {
731
714
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
732
715
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
733
716
  'mail_usage_get': {"label":"Get usage"},
734
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
735
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
736
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
737
717
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
738
718
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
739
719
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},