@lessly/sdk-app 108.1.0 → 108.2.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": "108.1.0",
4
+ "version": "108.2.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:15af12c840e5326ceb7c9fb47c45bf4c2601a73c98659f7f134b554b9e32bf37"
213
+ "sdkContentHash": "sha256:0d420a5fea54076a7ab05cd4b2aa49b6daa448986ef16b2a164d9d4309f0095c"
224
214
  }
@@ -6422,6 +6422,12 @@ export const bindings: BindingsMap = {
6422
6422
  "level": "read",
6423
6423
  "method": "GET",
6424
6424
  "operationKey": "organization_clickup_install",
6425
+ "params": [
6426
+ {
6427
+ "in": "query",
6428
+ "name": "share"
6429
+ }
6430
+ ],
6425
6431
  "path": "/governance/api/v1/connectors/clickup/install",
6426
6432
  "readOnly": false
6427
6433
  },
@@ -6438,6 +6444,12 @@ export const bindings: BindingsMap = {
6438
6444
  "level": "read",
6439
6445
  "method": "GET",
6440
6446
  "operationKey": "organization_cloudflare_install",
6447
+ "params": [
6448
+ {
6449
+ "in": "query",
6450
+ "name": "share"
6451
+ }
6452
+ ],
6441
6453
  "path": "/governance/api/v1/connectors/cloudflare/install",
6442
6454
  "readOnly": false
6443
6455
  }
@@ -6758,6 +6770,12 @@ export const bindings: BindingsMap = {
6758
6770
  "level": "read",
6759
6771
  "method": "GET",
6760
6772
  "operationKey": "organization_gdrive_install",
6773
+ "params": [
6774
+ {
6775
+ "in": "query",
6776
+ "name": "share"
6777
+ }
6778
+ ],
6761
6779
  "path": "/governance/api/v1/connectors/gdrive/install",
6762
6780
  "readOnly": false
6763
6781
  }
@@ -6767,6 +6785,12 @@ export const bindings: BindingsMap = {
6767
6785
  "level": "read",
6768
6786
  "method": "GET",
6769
6787
  "operationKey": "organization_github_install",
6788
+ "params": [
6789
+ {
6790
+ "in": "query",
6791
+ "name": "share"
6792
+ }
6793
+ ],
6770
6794
  "path": "/governance/api/v1/connectors/github/install",
6771
6795
  "readOnly": false
6772
6796
  },
@@ -6981,6 +7005,12 @@ export const bindings: BindingsMap = {
6981
7005
  "level": "read",
6982
7006
  "method": "GET",
6983
7007
  "operationKey": "organization_linkedin_member_install",
7008
+ "params": [
7009
+ {
7010
+ "in": "query",
7011
+ "name": "share"
7012
+ }
7013
+ ],
6984
7014
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6985
7015
  "readOnly": false
6986
7016
  }
@@ -7617,6 +7647,12 @@ export const bindings: BindingsMap = {
7617
7647
  "level": "read",
7618
7648
  "method": "GET",
7619
7649
  "operationKey": "organization_reddit_install",
7650
+ "params": [
7651
+ {
7652
+ "in": "query",
7653
+ "name": "share"
7654
+ }
7655
+ ],
7620
7656
  "path": "/governance/api/v1/connectors/reddit/install",
7621
7657
  "readOnly": false
7622
7658
  }
@@ -7810,224 +7846,29 @@ export const bindings: BindingsMap = {
7810
7846
  "level": "read",
7811
7847
  "method": "GET",
7812
7848
  "operationKey": "organization_x_install",
7813
- "path": "/governance/api/v1/connectors/x/install",
7814
- "readOnly": false
7815
- }
7816
- },
7817
- "youtube": {
7818
- "install": {
7819
- "level": "read",
7820
- "method": "GET",
7821
- "operationKey": "organization_youtube_install",
7822
- "path": "/governance/api/v1/connectors/youtube/install",
7823
- "readOnly": false
7824
- }
7825
- }
7826
- },
7827
- "playground": {
7828
- "analytics": {
7829
- "overview": {
7830
- "level": "read",
7831
- "method": "POST",
7832
- "operationKey": "playground_analytics_overview",
7833
7849
  "params": [
7834
7850
  {
7835
- "in": "body",
7836
- "name": "limit"
7837
- }
7838
- ],
7839
- "path": "/playground/analytics/overview",
7840
- "readOnly": true
7841
- }
7842
- },
7843
- "billing": {
7844
- "entitlements": {
7845
- "level": "read",
7846
- "method": "POST",
7847
- "operationKey": "playground_billing_entitlements",
7848
- "path": "/playground/billing/entitlements",
7849
- "readOnly": true
7850
- },
7851
- "record-usage": {
7852
- "level": "write",
7853
- "method": "POST",
7854
- "operationKey": "playground_billing_record-usage",
7855
- "params": [
7856
- {
7857
- "in": "body",
7858
- "name": "value"
7859
- }
7860
- ],
7861
- "path": "/playground/billing/usage",
7862
- "readOnly": false
7863
- }
7864
- },
7865
- "clickup": {
7866
- "create-task": {
7867
- "level": "write",
7868
- "method": "POST",
7869
- "operationKey": "playground_clickup_create-task",
7870
- "params": [
7871
- {
7872
- "in": "body",
7873
- "name": "listId"
7874
- },
7875
- {
7876
- "in": "body",
7877
- "name": "name"
7851
+ "in": "query",
7852
+ "name": "share"
7878
7853
  }
7879
7854
  ],
7880
- "path": "/playground/clickup/tasks",
7855
+ "path": "/governance/api/v1/connectors/x/install",
7881
7856
  "readOnly": false
7882
- },
7883
- "get-last-webhook": {
7884
- "level": "read",
7885
- "method": "GET",
7886
- "operationKey": "playground_clickup_get-last-webhook",
7887
- "path": "/playground/clickup/webhooks/last",
7888
- "readOnly": true
7889
- },
7890
- "get-overview": {
7891
- "level": "read",
7892
- "method": "GET",
7893
- "operationKey": "playground_clickup_get-overview",
7894
- "path": "/playground/clickup/overview",
7895
- "readOnly": true
7896
- }
7897
- },
7898
- "echo": {
7899
- "ping": {
7900
- "level": "read",
7901
- "method": "POST",
7902
- "operationKey": "playground_echo_ping",
7903
- "params": [
7904
- {
7905
- "in": "body",
7906
- "name": "message"
7907
- }
7908
- ],
7909
- "path": "/playground/echo/ping",
7910
- "readOnly": true
7911
- }
7912
- },
7913
- "gdrive": {
7914
- "get-last-change": {
7915
- "level": "read",
7916
- "method": "GET",
7917
- "operationKey": "playground_gdrive_get-last-change",
7918
- "path": "/playground/gdrive/changes/last",
7919
- "readOnly": true
7920
- },
7921
- "read-file": {
7922
- "level": "read",
7923
- "method": "POST",
7924
- "operationKey": "playground_gdrive_read-file",
7925
- "params": [
7926
- {
7927
- "in": "body",
7928
- "name": "fileId"
7929
- }
7930
- ],
7931
- "path": "/playground/gdrive/file",
7932
- "readOnly": true
7933
7857
  }
7934
7858
  },
7935
- "googleads": {
7936
- "read-customer": {
7937
- "level": "read",
7938
- "method": "POST",
7939
- "operationKey": "playground_googleads_read-customer",
7940
- "path": "/playground/googleads/customer",
7941
- "readOnly": true
7942
- }
7943
- },
7944
- "lifecycle": {
7945
- "get-state": {
7946
- "level": "read",
7947
- "method": "GET",
7948
- "operationKey": "playground_lifecycle_get-state",
7949
- "path": "/playground/lifecycle/state",
7950
- "readOnly": true
7951
- },
7952
- "list-events": {
7953
- "level": "read",
7954
- "method": "GET",
7955
- "operationKey": "playground_lifecycle_list-events",
7956
- "path": "/playground/lifecycle/events",
7957
- "readOnly": true
7958
- }
7959
- },
7960
- "webhook": {
7961
- "get-last": {
7962
- "level": "read",
7963
- "method": "GET",
7964
- "operationKey": "playground_webhook_get-last",
7965
- "path": "/playground/webhooks/last",
7966
- "readOnly": true
7967
- }
7968
- },
7969
- "workflow": {
7970
- "echo": {
7971
- "level": "write",
7972
- "method": "POST",
7973
- "operationKey": "playground_workflow_echo",
7974
- "params": [
7975
- {
7976
- "in": "body",
7977
- "name": "note"
7978
- },
7979
- {
7980
- "in": "body",
7981
- "name": "tags"
7982
- }
7983
- ],
7984
- "path": "/playground/workflow/echo",
7985
- "readOnly": false
7986
- },
7987
- "echo-list": {
7988
- "level": "read",
7989
- "method": "GET",
7990
- "operationKey": "playground_workflow_echo-list",
7991
- "path": "/playground/workflow/echoes",
7992
- "readOnly": true
7993
- },
7994
- "ping": {
7995
- "level": "write",
7996
- "method": "POST",
7997
- "operationKey": "playground_workflow_ping",
7998
- "params": [
7999
- {
8000
- "in": "body",
8001
- "name": "kind"
8002
- }
8003
- ],
8004
- "path": "/playground/workflow/ping",
8005
- "readOnly": false
8006
- },
8007
- "subjects-list": {
7859
+ "youtube": {
7860
+ "install": {
8008
7861
  "level": "read",
8009
7862
  "method": "GET",
8010
- "operationKey": "playground_workflow_subjects-list",
7863
+ "operationKey": "organization_youtube_install",
8011
7864
  "params": [
8012
7865
  {
8013
7866
  "in": "query",
8014
- "name": "last_activity_before"
8015
- },
8016
- {
8017
- "in": "query",
8018
- "name": "last_activity_after"
8019
- },
8020
- {
8021
- "in": "query",
8022
- "name": "limit"
8023
- },
8024
- {
8025
- "in": "query",
8026
- "name": "cursor"
7867
+ "name": "share"
8027
7868
  }
8028
7869
  ],
8029
- "path": "/playground/workflow/subjects",
8030
- "readOnly": true
7870
+ "path": "/governance/api/v1/connectors/youtube/install",
7871
+ "readOnly": false
8031
7872
  }
8032
7873
  }
8033
7874
  },
@@ -12329,12 +12170,4 @@ export const bindings: BindingsMap = {
12329
12170
  }
12330
12171
  };
12331
12172
 
12332
- export const wsBindings: WsBindingsMap = {
12333
- "playground": {
12334
- "ws": {
12335
- "echo": {
12336
- "path": "/playground/ws/echo"
12337
- }
12338
- }
12339
- }
12340
- };
12173
+ 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"},