@lessly/sdk-app 121.2.0 → 121.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": "121.2.0",
4
+ "version": "121.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:e681b7efd24a6843528edc6b7086000f32cc03dd2d2bd76787965689c856c04e"
213
+ "sdkContentHash": "sha256:34d838d9330348db21a3a785385652fa9cf34e63d3f54332705b7415df07c0e9"
224
214
  }
@@ -1175,10 +1175,6 @@ export const bindings: BindingsMap = {
1175
1175
  "in": "body",
1176
1176
  "name": "content"
1177
1177
  },
1178
- {
1179
- "in": "body",
1180
- "name": "idempotency_key"
1181
- },
1182
1178
  {
1183
1179
  "in": "body",
1184
1180
  "name": "metadata"
@@ -1203,10 +1199,6 @@ export const bindings: BindingsMap = {
1203
1199
  {
1204
1200
  "in": "path",
1205
1201
  "name": "memory_id"
1206
- },
1207
- {
1208
- "in": "body",
1209
- "name": "idempotency_key"
1210
1202
  }
1211
1203
  ],
1212
1204
  "path": "/brain/memory/:memory_id",
@@ -1296,10 +1288,6 @@ export const bindings: BindingsMap = {
1296
1288
  {
1297
1289
  "in": "body",
1298
1290
  "name": "content"
1299
- },
1300
- {
1301
- "in": "body",
1302
- "name": "idempotency_key"
1303
1291
  }
1304
1292
  ],
1305
1293
  "path": "/brain/memory/:memory_id",
@@ -6492,6 +6480,12 @@ export const bindings: BindingsMap = {
6492
6480
  "level": "read",
6493
6481
  "method": "GET",
6494
6482
  "operationKey": "organization_clickup_install",
6483
+ "params": [
6484
+ {
6485
+ "in": "query",
6486
+ "name": "share"
6487
+ }
6488
+ ],
6495
6489
  "path": "/governance/api/v1/connectors/clickup/install",
6496
6490
  "readOnly": false
6497
6491
  },
@@ -6508,6 +6502,12 @@ export const bindings: BindingsMap = {
6508
6502
  "level": "read",
6509
6503
  "method": "GET",
6510
6504
  "operationKey": "organization_cloudflare_install",
6505
+ "params": [
6506
+ {
6507
+ "in": "query",
6508
+ "name": "share"
6509
+ }
6510
+ ],
6511
6511
  "path": "/governance/api/v1/connectors/cloudflare/install",
6512
6512
  "readOnly": false
6513
6513
  }
@@ -6828,6 +6828,12 @@ export const bindings: BindingsMap = {
6828
6828
  "level": "read",
6829
6829
  "method": "GET",
6830
6830
  "operationKey": "organization_gdrive_install",
6831
+ "params": [
6832
+ {
6833
+ "in": "query",
6834
+ "name": "share"
6835
+ }
6836
+ ],
6831
6837
  "path": "/governance/api/v1/connectors/gdrive/install",
6832
6838
  "readOnly": false
6833
6839
  }
@@ -6837,6 +6843,12 @@ export const bindings: BindingsMap = {
6837
6843
  "level": "read",
6838
6844
  "method": "GET",
6839
6845
  "operationKey": "organization_github_install",
6846
+ "params": [
6847
+ {
6848
+ "in": "query",
6849
+ "name": "share"
6850
+ }
6851
+ ],
6840
6852
  "path": "/governance/api/v1/connectors/github/install",
6841
6853
  "readOnly": false
6842
6854
  },
@@ -7051,6 +7063,12 @@ export const bindings: BindingsMap = {
7051
7063
  "level": "read",
7052
7064
  "method": "GET",
7053
7065
  "operationKey": "organization_linkedin_member_install",
7066
+ "params": [
7067
+ {
7068
+ "in": "query",
7069
+ "name": "share"
7070
+ }
7071
+ ],
7054
7072
  "path": "/governance/api/v1/connectors/linkedin-member/install",
7055
7073
  "readOnly": false
7056
7074
  }
@@ -7687,6 +7705,12 @@ export const bindings: BindingsMap = {
7687
7705
  "level": "read",
7688
7706
  "method": "GET",
7689
7707
  "operationKey": "organization_reddit_install",
7708
+ "params": [
7709
+ {
7710
+ "in": "query",
7711
+ "name": "share"
7712
+ }
7713
+ ],
7690
7714
  "path": "/governance/api/v1/connectors/reddit/install",
7691
7715
  "readOnly": false
7692
7716
  }
@@ -7880,224 +7904,29 @@ export const bindings: BindingsMap = {
7880
7904
  "level": "read",
7881
7905
  "method": "GET",
7882
7906
  "operationKey": "organization_x_install",
7883
- "path": "/governance/api/v1/connectors/x/install",
7884
- "readOnly": false
7885
- }
7886
- },
7887
- "youtube": {
7888
- "install": {
7889
- "level": "read",
7890
- "method": "GET",
7891
- "operationKey": "organization_youtube_install",
7892
- "path": "/governance/api/v1/connectors/youtube/install",
7893
- "readOnly": false
7894
- }
7895
- }
7896
- },
7897
- "playground": {
7898
- "analytics": {
7899
- "overview": {
7900
- "level": "read",
7901
- "method": "POST",
7902
- "operationKey": "playground_analytics_overview",
7903
7907
  "params": [
7904
7908
  {
7905
- "in": "body",
7906
- "name": "limit"
7907
- }
7908
- ],
7909
- "path": "/playground/analytics/overview",
7910
- "readOnly": true
7911
- }
7912
- },
7913
- "billing": {
7914
- "entitlements": {
7915
- "level": "read",
7916
- "method": "POST",
7917
- "operationKey": "playground_billing_entitlements",
7918
- "path": "/playground/billing/entitlements",
7919
- "readOnly": true
7920
- },
7921
- "record-usage": {
7922
- "level": "write",
7923
- "method": "POST",
7924
- "operationKey": "playground_billing_record-usage",
7925
- "params": [
7926
- {
7927
- "in": "body",
7928
- "name": "value"
7929
- }
7930
- ],
7931
- "path": "/playground/billing/usage",
7932
- "readOnly": false
7933
- }
7934
- },
7935
- "clickup": {
7936
- "create-task": {
7937
- "level": "write",
7938
- "method": "POST",
7939
- "operationKey": "playground_clickup_create-task",
7940
- "params": [
7941
- {
7942
- "in": "body",
7943
- "name": "listId"
7944
- },
7945
- {
7946
- "in": "body",
7947
- "name": "name"
7909
+ "in": "query",
7910
+ "name": "share"
7948
7911
  }
7949
7912
  ],
7950
- "path": "/playground/clickup/tasks",
7913
+ "path": "/governance/api/v1/connectors/x/install",
7951
7914
  "readOnly": false
7952
- },
7953
- "get-last-webhook": {
7954
- "level": "read",
7955
- "method": "GET",
7956
- "operationKey": "playground_clickup_get-last-webhook",
7957
- "path": "/playground/clickup/webhooks/last",
7958
- "readOnly": true
7959
- },
7960
- "get-overview": {
7961
- "level": "read",
7962
- "method": "GET",
7963
- "operationKey": "playground_clickup_get-overview",
7964
- "path": "/playground/clickup/overview",
7965
- "readOnly": true
7966
- }
7967
- },
7968
- "echo": {
7969
- "ping": {
7970
- "level": "read",
7971
- "method": "POST",
7972
- "operationKey": "playground_echo_ping",
7973
- "params": [
7974
- {
7975
- "in": "body",
7976
- "name": "message"
7977
- }
7978
- ],
7979
- "path": "/playground/echo/ping",
7980
- "readOnly": true
7981
- }
7982
- },
7983
- "gdrive": {
7984
- "get-last-change": {
7985
- "level": "read",
7986
- "method": "GET",
7987
- "operationKey": "playground_gdrive_get-last-change",
7988
- "path": "/playground/gdrive/changes/last",
7989
- "readOnly": true
7990
- },
7991
- "read-file": {
7992
- "level": "read",
7993
- "method": "POST",
7994
- "operationKey": "playground_gdrive_read-file",
7995
- "params": [
7996
- {
7997
- "in": "body",
7998
- "name": "fileId"
7999
- }
8000
- ],
8001
- "path": "/playground/gdrive/file",
8002
- "readOnly": true
8003
7915
  }
8004
7916
  },
8005
- "googleads": {
8006
- "read-customer": {
8007
- "level": "read",
8008
- "method": "POST",
8009
- "operationKey": "playground_googleads_read-customer",
8010
- "path": "/playground/googleads/customer",
8011
- "readOnly": true
8012
- }
8013
- },
8014
- "lifecycle": {
8015
- "get-state": {
8016
- "level": "read",
8017
- "method": "GET",
8018
- "operationKey": "playground_lifecycle_get-state",
8019
- "path": "/playground/lifecycle/state",
8020
- "readOnly": true
8021
- },
8022
- "list-events": {
8023
- "level": "read",
8024
- "method": "GET",
8025
- "operationKey": "playground_lifecycle_list-events",
8026
- "path": "/playground/lifecycle/events",
8027
- "readOnly": true
8028
- }
8029
- },
8030
- "webhook": {
8031
- "get-last": {
8032
- "level": "read",
8033
- "method": "GET",
8034
- "operationKey": "playground_webhook_get-last",
8035
- "path": "/playground/webhooks/last",
8036
- "readOnly": true
8037
- }
8038
- },
8039
- "workflow": {
8040
- "echo": {
8041
- "level": "write",
8042
- "method": "POST",
8043
- "operationKey": "playground_workflow_echo",
8044
- "params": [
8045
- {
8046
- "in": "body",
8047
- "name": "note"
8048
- },
8049
- {
8050
- "in": "body",
8051
- "name": "tags"
8052
- }
8053
- ],
8054
- "path": "/playground/workflow/echo",
8055
- "readOnly": false
8056
- },
8057
- "echo-list": {
8058
- "level": "read",
8059
- "method": "GET",
8060
- "operationKey": "playground_workflow_echo-list",
8061
- "path": "/playground/workflow/echoes",
8062
- "readOnly": true
8063
- },
8064
- "ping": {
8065
- "level": "write",
8066
- "method": "POST",
8067
- "operationKey": "playground_workflow_ping",
8068
- "params": [
8069
- {
8070
- "in": "body",
8071
- "name": "kind"
8072
- }
8073
- ],
8074
- "path": "/playground/workflow/ping",
8075
- "readOnly": false
8076
- },
8077
- "subjects-list": {
7917
+ "youtube": {
7918
+ "install": {
8078
7919
  "level": "read",
8079
7920
  "method": "GET",
8080
- "operationKey": "playground_workflow_subjects-list",
7921
+ "operationKey": "organization_youtube_install",
8081
7922
  "params": [
8082
7923
  {
8083
7924
  "in": "query",
8084
- "name": "last_activity_before"
8085
- },
8086
- {
8087
- "in": "query",
8088
- "name": "last_activity_after"
8089
- },
8090
- {
8091
- "in": "query",
8092
- "name": "limit"
8093
- },
8094
- {
8095
- "in": "query",
8096
- "name": "cursor"
7925
+ "name": "share"
8097
7926
  }
8098
7927
  ],
8099
- "path": "/playground/workflow/subjects",
8100
- "readOnly": true
7928
+ "path": "/governance/api/v1/connectors/youtube/install",
7929
+ "readOnly": false
8101
7930
  }
8102
7931
  }
8103
7932
  },
@@ -12425,12 +12254,4 @@ export const bindings: BindingsMap = {
12425
12254
  }
12426
12255
  };
12427
12256
 
12428
- export const wsBindings: WsBindingsMap = {
12429
- "playground": {
12430
- "ws": {
12431
- "echo": {
12432
- "path": "/playground/ws/echo"
12433
- }
12434
- }
12435
- }
12436
- };
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',
@@ -672,7 +655,7 @@ export const compositions: Record<string, ToolComposition> = {
672
655
  'brain_memory_delete': {"label":"Delete memory","options":{"memory_id":"brain_memory_list"}},
673
656
  'brain_memory_get': {"pii":["output.content"],"label":"Get memory","options":{"memory_id":"brain_memory_list"}},
674
657
  'brain_memory_list': {"pii":["output.memories[].content","output.memories[].custom"],"label":"List memories"},
675
- 'brain_memory_search': {"pii":["input.query","output.profile[].content","output.profile[].source.content","output.normal[].content","output.normal[].source.content","output.proactive[].content","output.proactive[].source.content"],"label":"Search memories"},
658
+ 'brain_memory_search': {"pii":["input.query","output.profile[].content","output.normal[].content","output.proactive[].content"],"label":"Search memories"},
676
659
  'brain_memory_stats': {"label":"Memory stats"},
677
660
  'brain_memory_update': {"pii":["input.content"],"label":"Update memory","options":{"memory_id":"brain_memory_list"}},
678
661
  'brain_usage_report': {"label":"Get usage report"},
@@ -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"},