@lessly/sdk-app 111.0.0 → 112.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": "111.0.0",
4
+ "version": "112.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:156f6e0c5f6e1b5464b0c69d8fc2ffb7e48859e205ec406fc8786472f00d8189"
213
+ "sdkContentHash": "sha256:0290c735000fbb8dc7b3b4c039b9b9b040409730441d7aab5c3cec5f742d0188"
224
214
  }
@@ -6438,6 +6438,12 @@ export const bindings: BindingsMap = {
6438
6438
  "level": "read",
6439
6439
  "method": "GET",
6440
6440
  "operationKey": "organization_clickup_install",
6441
+ "params": [
6442
+ {
6443
+ "in": "query",
6444
+ "name": "share"
6445
+ }
6446
+ ],
6441
6447
  "path": "/governance/api/v1/connectors/clickup/install",
6442
6448
  "readOnly": false
6443
6449
  },
@@ -6454,6 +6460,12 @@ export const bindings: BindingsMap = {
6454
6460
  "level": "read",
6455
6461
  "method": "GET",
6456
6462
  "operationKey": "organization_cloudflare_install",
6463
+ "params": [
6464
+ {
6465
+ "in": "query",
6466
+ "name": "share"
6467
+ }
6468
+ ],
6457
6469
  "path": "/governance/api/v1/connectors/cloudflare/install",
6458
6470
  "readOnly": false
6459
6471
  }
@@ -6774,6 +6786,12 @@ export const bindings: BindingsMap = {
6774
6786
  "level": "read",
6775
6787
  "method": "GET",
6776
6788
  "operationKey": "organization_gdrive_install",
6789
+ "params": [
6790
+ {
6791
+ "in": "query",
6792
+ "name": "share"
6793
+ }
6794
+ ],
6777
6795
  "path": "/governance/api/v1/connectors/gdrive/install",
6778
6796
  "readOnly": false
6779
6797
  }
@@ -6783,6 +6801,12 @@ export const bindings: BindingsMap = {
6783
6801
  "level": "read",
6784
6802
  "method": "GET",
6785
6803
  "operationKey": "organization_github_install",
6804
+ "params": [
6805
+ {
6806
+ "in": "query",
6807
+ "name": "share"
6808
+ }
6809
+ ],
6786
6810
  "path": "/governance/api/v1/connectors/github/install",
6787
6811
  "readOnly": false
6788
6812
  },
@@ -6997,6 +7021,12 @@ export const bindings: BindingsMap = {
6997
7021
  "level": "read",
6998
7022
  "method": "GET",
6999
7023
  "operationKey": "organization_linkedin_member_install",
7024
+ "params": [
7025
+ {
7026
+ "in": "query",
7027
+ "name": "share"
7028
+ }
7029
+ ],
7000
7030
  "path": "/governance/api/v1/connectors/linkedin-member/install",
7001
7031
  "readOnly": false
7002
7032
  }
@@ -7633,6 +7663,12 @@ export const bindings: BindingsMap = {
7633
7663
  "level": "read",
7634
7664
  "method": "GET",
7635
7665
  "operationKey": "organization_reddit_install",
7666
+ "params": [
7667
+ {
7668
+ "in": "query",
7669
+ "name": "share"
7670
+ }
7671
+ ],
7636
7672
  "path": "/governance/api/v1/connectors/reddit/install",
7637
7673
  "readOnly": false
7638
7674
  }
@@ -7826,224 +7862,29 @@ export const bindings: BindingsMap = {
7826
7862
  "level": "read",
7827
7863
  "method": "GET",
7828
7864
  "operationKey": "organization_x_install",
7829
- "path": "/governance/api/v1/connectors/x/install",
7830
- "readOnly": false
7831
- }
7832
- },
7833
- "youtube": {
7834
- "install": {
7835
- "level": "read",
7836
- "method": "GET",
7837
- "operationKey": "organization_youtube_install",
7838
- "path": "/governance/api/v1/connectors/youtube/install",
7839
- "readOnly": false
7840
- }
7841
- }
7842
- },
7843
- "playground": {
7844
- "analytics": {
7845
- "overview": {
7846
- "level": "read",
7847
- "method": "POST",
7848
- "operationKey": "playground_analytics_overview",
7849
7865
  "params": [
7850
7866
  {
7851
- "in": "body",
7852
- "name": "limit"
7853
- }
7854
- ],
7855
- "path": "/playground/analytics/overview",
7856
- "readOnly": true
7857
- }
7858
- },
7859
- "billing": {
7860
- "entitlements": {
7861
- "level": "read",
7862
- "method": "POST",
7863
- "operationKey": "playground_billing_entitlements",
7864
- "path": "/playground/billing/entitlements",
7865
- "readOnly": true
7866
- },
7867
- "record-usage": {
7868
- "level": "write",
7869
- "method": "POST",
7870
- "operationKey": "playground_billing_record-usage",
7871
- "params": [
7872
- {
7873
- "in": "body",
7874
- "name": "value"
7875
- }
7876
- ],
7877
- "path": "/playground/billing/usage",
7878
- "readOnly": false
7879
- }
7880
- },
7881
- "clickup": {
7882
- "create-task": {
7883
- "level": "write",
7884
- "method": "POST",
7885
- "operationKey": "playground_clickup_create-task",
7886
- "params": [
7887
- {
7888
- "in": "body",
7889
- "name": "listId"
7890
- },
7891
- {
7892
- "in": "body",
7893
- "name": "name"
7867
+ "in": "query",
7868
+ "name": "share"
7894
7869
  }
7895
7870
  ],
7896
- "path": "/playground/clickup/tasks",
7871
+ "path": "/governance/api/v1/connectors/x/install",
7897
7872
  "readOnly": false
7898
- },
7899
- "get-last-webhook": {
7900
- "level": "read",
7901
- "method": "GET",
7902
- "operationKey": "playground_clickup_get-last-webhook",
7903
- "path": "/playground/clickup/webhooks/last",
7904
- "readOnly": true
7905
- },
7906
- "get-overview": {
7907
- "level": "read",
7908
- "method": "GET",
7909
- "operationKey": "playground_clickup_get-overview",
7910
- "path": "/playground/clickup/overview",
7911
- "readOnly": true
7912
- }
7913
- },
7914
- "echo": {
7915
- "ping": {
7916
- "level": "read",
7917
- "method": "POST",
7918
- "operationKey": "playground_echo_ping",
7919
- "params": [
7920
- {
7921
- "in": "body",
7922
- "name": "message"
7923
- }
7924
- ],
7925
- "path": "/playground/echo/ping",
7926
- "readOnly": true
7927
- }
7928
- },
7929
- "gdrive": {
7930
- "get-last-change": {
7931
- "level": "read",
7932
- "method": "GET",
7933
- "operationKey": "playground_gdrive_get-last-change",
7934
- "path": "/playground/gdrive/changes/last",
7935
- "readOnly": true
7936
- },
7937
- "read-file": {
7938
- "level": "read",
7939
- "method": "POST",
7940
- "operationKey": "playground_gdrive_read-file",
7941
- "params": [
7942
- {
7943
- "in": "body",
7944
- "name": "fileId"
7945
- }
7946
- ],
7947
- "path": "/playground/gdrive/file",
7948
- "readOnly": true
7949
7873
  }
7950
7874
  },
7951
- "googleads": {
7952
- "read-customer": {
7953
- "level": "read",
7954
- "method": "POST",
7955
- "operationKey": "playground_googleads_read-customer",
7956
- "path": "/playground/googleads/customer",
7957
- "readOnly": true
7958
- }
7959
- },
7960
- "lifecycle": {
7961
- "get-state": {
7962
- "level": "read",
7963
- "method": "GET",
7964
- "operationKey": "playground_lifecycle_get-state",
7965
- "path": "/playground/lifecycle/state",
7966
- "readOnly": true
7967
- },
7968
- "list-events": {
7969
- "level": "read",
7970
- "method": "GET",
7971
- "operationKey": "playground_lifecycle_list-events",
7972
- "path": "/playground/lifecycle/events",
7973
- "readOnly": true
7974
- }
7975
- },
7976
- "webhook": {
7977
- "get-last": {
7978
- "level": "read",
7979
- "method": "GET",
7980
- "operationKey": "playground_webhook_get-last",
7981
- "path": "/playground/webhooks/last",
7982
- "readOnly": true
7983
- }
7984
- },
7985
- "workflow": {
7986
- "echo": {
7987
- "level": "write",
7988
- "method": "POST",
7989
- "operationKey": "playground_workflow_echo",
7990
- "params": [
7991
- {
7992
- "in": "body",
7993
- "name": "note"
7994
- },
7995
- {
7996
- "in": "body",
7997
- "name": "tags"
7998
- }
7999
- ],
8000
- "path": "/playground/workflow/echo",
8001
- "readOnly": false
8002
- },
8003
- "echo-list": {
8004
- "level": "read",
8005
- "method": "GET",
8006
- "operationKey": "playground_workflow_echo-list",
8007
- "path": "/playground/workflow/echoes",
8008
- "readOnly": true
8009
- },
8010
- "ping": {
8011
- "level": "write",
8012
- "method": "POST",
8013
- "operationKey": "playground_workflow_ping",
8014
- "params": [
8015
- {
8016
- "in": "body",
8017
- "name": "kind"
8018
- }
8019
- ],
8020
- "path": "/playground/workflow/ping",
8021
- "readOnly": false
8022
- },
8023
- "subjects-list": {
7875
+ "youtube": {
7876
+ "install": {
8024
7877
  "level": "read",
8025
7878
  "method": "GET",
8026
- "operationKey": "playground_workflow_subjects-list",
7879
+ "operationKey": "organization_youtube_install",
8027
7880
  "params": [
8028
7881
  {
8029
7882
  "in": "query",
8030
- "name": "last_activity_before"
8031
- },
8032
- {
8033
- "in": "query",
8034
- "name": "last_activity_after"
8035
- },
8036
- {
8037
- "in": "query",
8038
- "name": "limit"
8039
- },
8040
- {
8041
- "in": "query",
8042
- "name": "cursor"
7883
+ "name": "share"
8043
7884
  }
8044
7885
  ],
8045
- "path": "/playground/workflow/subjects",
8046
- "readOnly": true
7886
+ "path": "/governance/api/v1/connectors/youtube/install",
7887
+ "readOnly": false
8047
7888
  }
8048
7889
  }
8049
7890
  },
@@ -12345,12 +12186,4 @@ export const bindings: BindingsMap = {
12345
12186
  }
12346
12187
  };
12347
12188
 
12348
- export const wsBindings: WsBindingsMap = {
12349
- "playground": {
12350
- "ws": {
12351
- "echo": {
12352
- "path": "/playground/ws/echo"
12353
- }
12354
- }
12355
- }
12356
- };
12189
+ 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,
@@ -2034,43 +2000,6 @@ export interface GeneratedClient {
2034
2000
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2035
2001
  };
2036
2002
  };
2037
- playground: {
2038
- analytics: {
2039
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2040
- };
2041
- billing: {
2042
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2043
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2044
- };
2045
- clickup: {
2046
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2047
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2048
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2049
- };
2050
- echo: {
2051
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2052
- };
2053
- gdrive: {
2054
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2055
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2056
- };
2057
- googleads: {
2058
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2059
- };
2060
- lifecycle: {
2061
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2062
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2063
- };
2064
- webhook: {
2065
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2066
- };
2067
- workflow: {
2068
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2069
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2070
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2071
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2072
- };
2073
- };
2074
2003
  realtime: {
2075
2004
  archive: {
2076
2005
  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',
@@ -727,9 +710,6 @@ export const compositions: Record<string, ToolComposition> = {
727
710
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
728
711
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
729
712
  'mail_usage_get': {"label":"Get usage"},
730
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
731
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
732
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
733
713
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
734
714
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
735
715
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},