@lessly/sdk-app 119.0.0 → 120.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": "119.0.0",
4
+ "version": "120.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:11e7cf849ec58d96c9085a104115d502cf264b24e225edb39930dfa40e1db6c7"
213
+ "sdkContentHash": "sha256:37f2da7d2995980ffafa1ee6842b29a1d357c6f2d29826195c1970b38d988665"
224
214
  }
@@ -6454,6 +6454,12 @@ export const bindings: BindingsMap = {
6454
6454
  "level": "read",
6455
6455
  "method": "GET",
6456
6456
  "operationKey": "organization_clickup_install",
6457
+ "params": [
6458
+ {
6459
+ "in": "query",
6460
+ "name": "share"
6461
+ }
6462
+ ],
6457
6463
  "path": "/governance/api/v1/connectors/clickup/install",
6458
6464
  "readOnly": false
6459
6465
  },
@@ -6470,6 +6476,12 @@ export const bindings: BindingsMap = {
6470
6476
  "level": "read",
6471
6477
  "method": "GET",
6472
6478
  "operationKey": "organization_cloudflare_install",
6479
+ "params": [
6480
+ {
6481
+ "in": "query",
6482
+ "name": "share"
6483
+ }
6484
+ ],
6473
6485
  "path": "/governance/api/v1/connectors/cloudflare/install",
6474
6486
  "readOnly": false
6475
6487
  }
@@ -6790,6 +6802,12 @@ export const bindings: BindingsMap = {
6790
6802
  "level": "read",
6791
6803
  "method": "GET",
6792
6804
  "operationKey": "organization_gdrive_install",
6805
+ "params": [
6806
+ {
6807
+ "in": "query",
6808
+ "name": "share"
6809
+ }
6810
+ ],
6793
6811
  "path": "/governance/api/v1/connectors/gdrive/install",
6794
6812
  "readOnly": false
6795
6813
  }
@@ -6799,6 +6817,12 @@ export const bindings: BindingsMap = {
6799
6817
  "level": "read",
6800
6818
  "method": "GET",
6801
6819
  "operationKey": "organization_github_install",
6820
+ "params": [
6821
+ {
6822
+ "in": "query",
6823
+ "name": "share"
6824
+ }
6825
+ ],
6802
6826
  "path": "/governance/api/v1/connectors/github/install",
6803
6827
  "readOnly": false
6804
6828
  },
@@ -7013,6 +7037,12 @@ export const bindings: BindingsMap = {
7013
7037
  "level": "read",
7014
7038
  "method": "GET",
7015
7039
  "operationKey": "organization_linkedin_member_install",
7040
+ "params": [
7041
+ {
7042
+ "in": "query",
7043
+ "name": "share"
7044
+ }
7045
+ ],
7016
7046
  "path": "/governance/api/v1/connectors/linkedin-member/install",
7017
7047
  "readOnly": false
7018
7048
  }
@@ -7649,6 +7679,12 @@ export const bindings: BindingsMap = {
7649
7679
  "level": "read",
7650
7680
  "method": "GET",
7651
7681
  "operationKey": "organization_reddit_install",
7682
+ "params": [
7683
+ {
7684
+ "in": "query",
7685
+ "name": "share"
7686
+ }
7687
+ ],
7652
7688
  "path": "/governance/api/v1/connectors/reddit/install",
7653
7689
  "readOnly": false
7654
7690
  }
@@ -7842,224 +7878,29 @@ export const bindings: BindingsMap = {
7842
7878
  "level": "read",
7843
7879
  "method": "GET",
7844
7880
  "operationKey": "organization_x_install",
7845
- "path": "/governance/api/v1/connectors/x/install",
7846
- "readOnly": false
7847
- }
7848
- },
7849
- "youtube": {
7850
- "install": {
7851
- "level": "read",
7852
- "method": "GET",
7853
- "operationKey": "organization_youtube_install",
7854
- "path": "/governance/api/v1/connectors/youtube/install",
7855
- "readOnly": false
7856
- }
7857
- }
7858
- },
7859
- "playground": {
7860
- "analytics": {
7861
- "overview": {
7862
- "level": "read",
7863
- "method": "POST",
7864
- "operationKey": "playground_analytics_overview",
7865
7881
  "params": [
7866
7882
  {
7867
- "in": "body",
7868
- "name": "limit"
7869
- }
7870
- ],
7871
- "path": "/playground/analytics/overview",
7872
- "readOnly": true
7873
- }
7874
- },
7875
- "billing": {
7876
- "entitlements": {
7877
- "level": "read",
7878
- "method": "POST",
7879
- "operationKey": "playground_billing_entitlements",
7880
- "path": "/playground/billing/entitlements",
7881
- "readOnly": true
7882
- },
7883
- "record-usage": {
7884
- "level": "write",
7885
- "method": "POST",
7886
- "operationKey": "playground_billing_record-usage",
7887
- "params": [
7888
- {
7889
- "in": "body",
7890
- "name": "value"
7891
- }
7892
- ],
7893
- "path": "/playground/billing/usage",
7894
- "readOnly": false
7895
- }
7896
- },
7897
- "clickup": {
7898
- "create-task": {
7899
- "level": "write",
7900
- "method": "POST",
7901
- "operationKey": "playground_clickup_create-task",
7902
- "params": [
7903
- {
7904
- "in": "body",
7905
- "name": "listId"
7906
- },
7907
- {
7908
- "in": "body",
7909
- "name": "name"
7883
+ "in": "query",
7884
+ "name": "share"
7910
7885
  }
7911
7886
  ],
7912
- "path": "/playground/clickup/tasks",
7887
+ "path": "/governance/api/v1/connectors/x/install",
7913
7888
  "readOnly": false
7914
- },
7915
- "get-last-webhook": {
7916
- "level": "read",
7917
- "method": "GET",
7918
- "operationKey": "playground_clickup_get-last-webhook",
7919
- "path": "/playground/clickup/webhooks/last",
7920
- "readOnly": true
7921
- },
7922
- "get-overview": {
7923
- "level": "read",
7924
- "method": "GET",
7925
- "operationKey": "playground_clickup_get-overview",
7926
- "path": "/playground/clickup/overview",
7927
- "readOnly": true
7928
- }
7929
- },
7930
- "echo": {
7931
- "ping": {
7932
- "level": "read",
7933
- "method": "POST",
7934
- "operationKey": "playground_echo_ping",
7935
- "params": [
7936
- {
7937
- "in": "body",
7938
- "name": "message"
7939
- }
7940
- ],
7941
- "path": "/playground/echo/ping",
7942
- "readOnly": true
7943
- }
7944
- },
7945
- "gdrive": {
7946
- "get-last-change": {
7947
- "level": "read",
7948
- "method": "GET",
7949
- "operationKey": "playground_gdrive_get-last-change",
7950
- "path": "/playground/gdrive/changes/last",
7951
- "readOnly": true
7952
- },
7953
- "read-file": {
7954
- "level": "read",
7955
- "method": "POST",
7956
- "operationKey": "playground_gdrive_read-file",
7957
- "params": [
7958
- {
7959
- "in": "body",
7960
- "name": "fileId"
7961
- }
7962
- ],
7963
- "path": "/playground/gdrive/file",
7964
- "readOnly": true
7965
7889
  }
7966
7890
  },
7967
- "googleads": {
7968
- "read-customer": {
7969
- "level": "read",
7970
- "method": "POST",
7971
- "operationKey": "playground_googleads_read-customer",
7972
- "path": "/playground/googleads/customer",
7973
- "readOnly": true
7974
- }
7975
- },
7976
- "lifecycle": {
7977
- "get-state": {
7978
- "level": "read",
7979
- "method": "GET",
7980
- "operationKey": "playground_lifecycle_get-state",
7981
- "path": "/playground/lifecycle/state",
7982
- "readOnly": true
7983
- },
7984
- "list-events": {
7985
- "level": "read",
7986
- "method": "GET",
7987
- "operationKey": "playground_lifecycle_list-events",
7988
- "path": "/playground/lifecycle/events",
7989
- "readOnly": true
7990
- }
7991
- },
7992
- "webhook": {
7993
- "get-last": {
7994
- "level": "read",
7995
- "method": "GET",
7996
- "operationKey": "playground_webhook_get-last",
7997
- "path": "/playground/webhooks/last",
7998
- "readOnly": true
7999
- }
8000
- },
8001
- "workflow": {
8002
- "echo": {
8003
- "level": "write",
8004
- "method": "POST",
8005
- "operationKey": "playground_workflow_echo",
8006
- "params": [
8007
- {
8008
- "in": "body",
8009
- "name": "note"
8010
- },
8011
- {
8012
- "in": "body",
8013
- "name": "tags"
8014
- }
8015
- ],
8016
- "path": "/playground/workflow/echo",
8017
- "readOnly": false
8018
- },
8019
- "echo-list": {
8020
- "level": "read",
8021
- "method": "GET",
8022
- "operationKey": "playground_workflow_echo-list",
8023
- "path": "/playground/workflow/echoes",
8024
- "readOnly": true
8025
- },
8026
- "ping": {
8027
- "level": "write",
8028
- "method": "POST",
8029
- "operationKey": "playground_workflow_ping",
8030
- "params": [
8031
- {
8032
- "in": "body",
8033
- "name": "kind"
8034
- }
8035
- ],
8036
- "path": "/playground/workflow/ping",
8037
- "readOnly": false
8038
- },
8039
- "subjects-list": {
7891
+ "youtube": {
7892
+ "install": {
8040
7893
  "level": "read",
8041
7894
  "method": "GET",
8042
- "operationKey": "playground_workflow_subjects-list",
7895
+ "operationKey": "organization_youtube_install",
8043
7896
  "params": [
8044
7897
  {
8045
7898
  "in": "query",
8046
- "name": "last_activity_before"
8047
- },
8048
- {
8049
- "in": "query",
8050
- "name": "last_activity_after"
8051
- },
8052
- {
8053
- "in": "query",
8054
- "name": "limit"
8055
- },
8056
- {
8057
- "in": "query",
8058
- "name": "cursor"
7899
+ "name": "share"
8059
7900
  }
8060
7901
  ],
8061
- "path": "/playground/workflow/subjects",
8062
- "readOnly": true
7902
+ "path": "/governance/api/v1/connectors/youtube/install",
7903
+ "readOnly": false
8063
7904
  }
8064
7905
  }
8065
7906
  },
@@ -12387,12 +12228,4 @@ export const bindings: BindingsMap = {
12387
12228
  }
12388
12229
  };
12389
12230
 
12390
- export const wsBindings: WsBindingsMap = {
12391
- "playground": {
12392
- "ws": {
12393
- "echo": {
12394
- "path": "/playground/ws/echo"
12395
- }
12396
- }
12397
- }
12398
- };
12231
+ export const wsBindings: WsBindingsMap = {};
@@ -829,40 +829,6 @@ import type {
829
829
  OrganizationXInstallOutput,
830
830
  OrganizationYoutubeInstallInput,
831
831
  OrganizationYoutubeInstallOutput,
832
- PlaygroundAnalyticsOverviewInput,
833
- PlaygroundAnalyticsOverviewOutput,
834
- PlaygroundBillingEntitlementsInput,
835
- PlaygroundBillingEntitlementsOutput,
836
- PlaygroundBillingRecordUsageInput,
837
- PlaygroundBillingRecordUsageOutput,
838
- PlaygroundClickupCreateTaskInput,
839
- PlaygroundClickupCreateTaskOutput,
840
- PlaygroundClickupGetLastWebhookInput,
841
- PlaygroundClickupGetLastWebhookOutput,
842
- PlaygroundClickupGetOverviewInput,
843
- PlaygroundClickupGetOverviewOutput,
844
- PlaygroundEchoPingInput,
845
- PlaygroundEchoPingOutput,
846
- PlaygroundGdriveGetLastChangeInput,
847
- PlaygroundGdriveGetLastChangeOutput,
848
- PlaygroundGdriveReadFileInput,
849
- PlaygroundGdriveReadFileOutput,
850
- PlaygroundGoogleadsReadCustomerInput,
851
- PlaygroundGoogleadsReadCustomerOutput,
852
- PlaygroundLifecycleGetStateInput,
853
- PlaygroundLifecycleGetStateOutput,
854
- PlaygroundLifecycleListEventsInput,
855
- PlaygroundLifecycleListEventsOutput,
856
- PlaygroundWebhookGetLastInput,
857
- PlaygroundWebhookGetLastOutput,
858
- PlaygroundWorkflowEchoInput,
859
- PlaygroundWorkflowEchoListInput,
860
- PlaygroundWorkflowEchoListOutput,
861
- PlaygroundWorkflowEchoOutput,
862
- PlaygroundWorkflowPingInput,
863
- PlaygroundWorkflowPingOutput,
864
- PlaygroundWorkflowSubjectsListInput,
865
- PlaygroundWorkflowSubjectsListOutput,
866
832
  RealtimeArchiveExportInput,
867
833
  RealtimeArchiveExportOutput,
868
834
  RealtimeArchiveExportStatusInput,
@@ -2038,43 +2004,6 @@ export interface GeneratedClient {
2038
2004
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2039
2005
  };
2040
2006
  };
2041
- playground: {
2042
- analytics: {
2043
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2044
- };
2045
- billing: {
2046
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2047
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2048
- };
2049
- clickup: {
2050
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2051
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2052
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2053
- };
2054
- echo: {
2055
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2056
- };
2057
- gdrive: {
2058
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2059
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2060
- };
2061
- googleads: {
2062
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2063
- };
2064
- lifecycle: {
2065
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2066
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2067
- };
2068
- webhook: {
2069
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2070
- };
2071
- workflow: {
2072
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2073
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2074
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2075
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2076
- };
2077
- };
2078
2007
  realtime: {
2079
2008
  archive: {
2080
2009
  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',
@@ -418,23 +418,6 @@ export const operations: Record<string, ToolLevel> = {
418
418
  'organization_support_threads_list': 'read',
419
419
  'organization_x_install': 'read',
420
420
  'organization_youtube_install': 'read',
421
- 'playground_analytics_overview': 'read',
422
- 'playground_billing_entitlements': 'read',
423
- 'playground_billing_record-usage': 'write',
424
- 'playground_clickup_create-task': 'write',
425
- 'playground_clickup_get-last-webhook': 'read',
426
- 'playground_clickup_get-overview': 'read',
427
- 'playground_echo_ping': 'read',
428
- 'playground_gdrive_get-last-change': 'read',
429
- 'playground_gdrive_read-file': 'read',
430
- 'playground_googleads_read-customer': 'read',
431
- 'playground_lifecycle_get-state': 'read',
432
- 'playground_lifecycle_list-events': 'read',
433
- 'playground_webhook_get-last': 'read',
434
- 'playground_workflow_echo': 'write',
435
- 'playground_workflow_echo-list': 'read',
436
- 'playground_workflow_ping': 'write',
437
- 'playground_workflow_subjects-list': 'read',
438
421
  'realtime_archive_export': 'admin',
439
422
  'realtime_archive_export_status': 'read',
440
423
  'realtime_archive_get': 'read',
@@ -729,9 +712,6 @@ export const compositions: Record<string, ToolComposition> = {
729
712
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
730
713
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
731
714
  'mail_usage_get': {"label":"Get usage"},
732
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
733
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
734
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
735
715
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
736
716
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
737
717
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},