@lessly/sdk-app 107.0.0 → 108.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": "107.0.0",
4
+ "version": "108.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:4358aaf8eace86f7f5ba158858b99760bffa0010ec5114848c04d12569ba2918"
213
+ "sdkContentHash": "sha256:80def9d1a1d8c2b047c2359c88f8749fd134e8559a97e6b0fd70fc3ed80efb8c"
224
214
  }
@@ -6389,6 +6389,12 @@ export const bindings: BindingsMap = {
6389
6389
  "level": "read",
6390
6390
  "method": "GET",
6391
6391
  "operationKey": "organization_clickup_install",
6392
+ "params": [
6393
+ {
6394
+ "in": "query",
6395
+ "name": "share"
6396
+ }
6397
+ ],
6392
6398
  "path": "/governance/api/v1/connectors/clickup/install",
6393
6399
  "readOnly": false
6394
6400
  },
@@ -6405,6 +6411,12 @@ export const bindings: BindingsMap = {
6405
6411
  "level": "read",
6406
6412
  "method": "GET",
6407
6413
  "operationKey": "organization_cloudflare_install",
6414
+ "params": [
6415
+ {
6416
+ "in": "query",
6417
+ "name": "share"
6418
+ }
6419
+ ],
6408
6420
  "path": "/governance/api/v1/connectors/cloudflare/install",
6409
6421
  "readOnly": false
6410
6422
  }
@@ -6725,6 +6737,12 @@ export const bindings: BindingsMap = {
6725
6737
  "level": "read",
6726
6738
  "method": "GET",
6727
6739
  "operationKey": "organization_gdrive_install",
6740
+ "params": [
6741
+ {
6742
+ "in": "query",
6743
+ "name": "share"
6744
+ }
6745
+ ],
6728
6746
  "path": "/governance/api/v1/connectors/gdrive/install",
6729
6747
  "readOnly": false
6730
6748
  }
@@ -6734,6 +6752,12 @@ export const bindings: BindingsMap = {
6734
6752
  "level": "read",
6735
6753
  "method": "GET",
6736
6754
  "operationKey": "organization_github_install",
6755
+ "params": [
6756
+ {
6757
+ "in": "query",
6758
+ "name": "share"
6759
+ }
6760
+ ],
6737
6761
  "path": "/governance/api/v1/connectors/github/install",
6738
6762
  "readOnly": false
6739
6763
  },
@@ -6948,6 +6972,12 @@ export const bindings: BindingsMap = {
6948
6972
  "level": "read",
6949
6973
  "method": "GET",
6950
6974
  "operationKey": "organization_linkedin_member_install",
6975
+ "params": [
6976
+ {
6977
+ "in": "query",
6978
+ "name": "share"
6979
+ }
6980
+ ],
6951
6981
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6952
6982
  "readOnly": false
6953
6983
  }
@@ -7584,6 +7614,12 @@ export const bindings: BindingsMap = {
7584
7614
  "level": "read",
7585
7615
  "method": "GET",
7586
7616
  "operationKey": "organization_reddit_install",
7617
+ "params": [
7618
+ {
7619
+ "in": "query",
7620
+ "name": "share"
7621
+ }
7622
+ ],
7587
7623
  "path": "/governance/api/v1/connectors/reddit/install",
7588
7624
  "readOnly": false
7589
7625
  }
@@ -7777,224 +7813,29 @@ export const bindings: BindingsMap = {
7777
7813
  "level": "read",
7778
7814
  "method": "GET",
7779
7815
  "operationKey": "organization_x_install",
7780
- "path": "/governance/api/v1/connectors/x/install",
7781
- "readOnly": false
7782
- }
7783
- },
7784
- "youtube": {
7785
- "install": {
7786
- "level": "read",
7787
- "method": "GET",
7788
- "operationKey": "organization_youtube_install",
7789
- "path": "/governance/api/v1/connectors/youtube/install",
7790
- "readOnly": false
7791
- }
7792
- }
7793
- },
7794
- "playground": {
7795
- "analytics": {
7796
- "overview": {
7797
- "level": "read",
7798
- "method": "POST",
7799
- "operationKey": "playground_analytics_overview",
7800
7816
  "params": [
7801
7817
  {
7802
- "in": "body",
7803
- "name": "limit"
7804
- }
7805
- ],
7806
- "path": "/playground/analytics/overview",
7807
- "readOnly": true
7808
- }
7809
- },
7810
- "billing": {
7811
- "entitlements": {
7812
- "level": "read",
7813
- "method": "POST",
7814
- "operationKey": "playground_billing_entitlements",
7815
- "path": "/playground/billing/entitlements",
7816
- "readOnly": true
7817
- },
7818
- "record-usage": {
7819
- "level": "write",
7820
- "method": "POST",
7821
- "operationKey": "playground_billing_record-usage",
7822
- "params": [
7823
- {
7824
- "in": "body",
7825
- "name": "value"
7826
- }
7827
- ],
7828
- "path": "/playground/billing/usage",
7829
- "readOnly": false
7830
- }
7831
- },
7832
- "clickup": {
7833
- "create-task": {
7834
- "level": "write",
7835
- "method": "POST",
7836
- "operationKey": "playground_clickup_create-task",
7837
- "params": [
7838
- {
7839
- "in": "body",
7840
- "name": "listId"
7841
- },
7842
- {
7843
- "in": "body",
7844
- "name": "name"
7818
+ "in": "query",
7819
+ "name": "share"
7845
7820
  }
7846
7821
  ],
7847
- "path": "/playground/clickup/tasks",
7822
+ "path": "/governance/api/v1/connectors/x/install",
7848
7823
  "readOnly": false
7849
- },
7850
- "get-last-webhook": {
7851
- "level": "read",
7852
- "method": "GET",
7853
- "operationKey": "playground_clickup_get-last-webhook",
7854
- "path": "/playground/clickup/webhooks/last",
7855
- "readOnly": true
7856
- },
7857
- "get-overview": {
7858
- "level": "read",
7859
- "method": "GET",
7860
- "operationKey": "playground_clickup_get-overview",
7861
- "path": "/playground/clickup/overview",
7862
- "readOnly": true
7863
- }
7864
- },
7865
- "echo": {
7866
- "ping": {
7867
- "level": "read",
7868
- "method": "POST",
7869
- "operationKey": "playground_echo_ping",
7870
- "params": [
7871
- {
7872
- "in": "body",
7873
- "name": "message"
7874
- }
7875
- ],
7876
- "path": "/playground/echo/ping",
7877
- "readOnly": true
7878
- }
7879
- },
7880
- "gdrive": {
7881
- "get-last-change": {
7882
- "level": "read",
7883
- "method": "GET",
7884
- "operationKey": "playground_gdrive_get-last-change",
7885
- "path": "/playground/gdrive/changes/last",
7886
- "readOnly": true
7887
- },
7888
- "read-file": {
7889
- "level": "read",
7890
- "method": "POST",
7891
- "operationKey": "playground_gdrive_read-file",
7892
- "params": [
7893
- {
7894
- "in": "body",
7895
- "name": "fileId"
7896
- }
7897
- ],
7898
- "path": "/playground/gdrive/file",
7899
- "readOnly": true
7900
7824
  }
7901
7825
  },
7902
- "googleads": {
7903
- "read-customer": {
7904
- "level": "read",
7905
- "method": "POST",
7906
- "operationKey": "playground_googleads_read-customer",
7907
- "path": "/playground/googleads/customer",
7908
- "readOnly": true
7909
- }
7910
- },
7911
- "lifecycle": {
7912
- "get-state": {
7913
- "level": "read",
7914
- "method": "GET",
7915
- "operationKey": "playground_lifecycle_get-state",
7916
- "path": "/playground/lifecycle/state",
7917
- "readOnly": true
7918
- },
7919
- "list-events": {
7920
- "level": "read",
7921
- "method": "GET",
7922
- "operationKey": "playground_lifecycle_list-events",
7923
- "path": "/playground/lifecycle/events",
7924
- "readOnly": true
7925
- }
7926
- },
7927
- "webhook": {
7928
- "get-last": {
7929
- "level": "read",
7930
- "method": "GET",
7931
- "operationKey": "playground_webhook_get-last",
7932
- "path": "/playground/webhooks/last",
7933
- "readOnly": true
7934
- }
7935
- },
7936
- "workflow": {
7937
- "echo": {
7938
- "level": "write",
7939
- "method": "POST",
7940
- "operationKey": "playground_workflow_echo",
7941
- "params": [
7942
- {
7943
- "in": "body",
7944
- "name": "note"
7945
- },
7946
- {
7947
- "in": "body",
7948
- "name": "tags"
7949
- }
7950
- ],
7951
- "path": "/playground/workflow/echo",
7952
- "readOnly": false
7953
- },
7954
- "echo-list": {
7955
- "level": "read",
7956
- "method": "GET",
7957
- "operationKey": "playground_workflow_echo-list",
7958
- "path": "/playground/workflow/echoes",
7959
- "readOnly": true
7960
- },
7961
- "ping": {
7962
- "level": "write",
7963
- "method": "POST",
7964
- "operationKey": "playground_workflow_ping",
7965
- "params": [
7966
- {
7967
- "in": "body",
7968
- "name": "kind"
7969
- }
7970
- ],
7971
- "path": "/playground/workflow/ping",
7972
- "readOnly": false
7973
- },
7974
- "subjects-list": {
7826
+ "youtube": {
7827
+ "install": {
7975
7828
  "level": "read",
7976
7829
  "method": "GET",
7977
- "operationKey": "playground_workflow_subjects-list",
7830
+ "operationKey": "organization_youtube_install",
7978
7831
  "params": [
7979
7832
  {
7980
7833
  "in": "query",
7981
- "name": "last_activity_before"
7982
- },
7983
- {
7984
- "in": "query",
7985
- "name": "last_activity_after"
7986
- },
7987
- {
7988
- "in": "query",
7989
- "name": "limit"
7990
- },
7991
- {
7992
- "in": "query",
7993
- "name": "cursor"
7834
+ "name": "share"
7994
7835
  }
7995
7836
  ],
7996
- "path": "/playground/workflow/subjects",
7997
- "readOnly": true
7837
+ "path": "/governance/api/v1/connectors/youtube/install",
7838
+ "readOnly": false
7998
7839
  }
7999
7840
  }
8000
7841
  },
@@ -12296,12 +12137,4 @@ export const bindings: BindingsMap = {
12296
12137
  }
12297
12138
  };
12298
12139
 
12299
- export const wsBindings: WsBindingsMap = {
12300
- "playground": {
12301
- "ws": {
12302
- "echo": {
12303
- "path": "/playground/ws/echo"
12304
- }
12305
- }
12306
- }
12307
- };
12140
+ export const wsBindings: WsBindingsMap = {};
@@ -827,40 +827,6 @@ import type {
827
827
  OrganizationXInstallOutput,
828
828
  OrganizationYoutubeInstallInput,
829
829
  OrganizationYoutubeInstallOutput,
830
- PlaygroundAnalyticsOverviewInput,
831
- PlaygroundAnalyticsOverviewOutput,
832
- PlaygroundBillingEntitlementsInput,
833
- PlaygroundBillingEntitlementsOutput,
834
- PlaygroundBillingRecordUsageInput,
835
- PlaygroundBillingRecordUsageOutput,
836
- PlaygroundClickupCreateTaskInput,
837
- PlaygroundClickupCreateTaskOutput,
838
- PlaygroundClickupGetLastWebhookInput,
839
- PlaygroundClickupGetLastWebhookOutput,
840
- PlaygroundClickupGetOverviewInput,
841
- PlaygroundClickupGetOverviewOutput,
842
- PlaygroundEchoPingInput,
843
- PlaygroundEchoPingOutput,
844
- PlaygroundGdriveGetLastChangeInput,
845
- PlaygroundGdriveGetLastChangeOutput,
846
- PlaygroundGdriveReadFileInput,
847
- PlaygroundGdriveReadFileOutput,
848
- PlaygroundGoogleadsReadCustomerInput,
849
- PlaygroundGoogleadsReadCustomerOutput,
850
- PlaygroundLifecycleGetStateInput,
851
- PlaygroundLifecycleGetStateOutput,
852
- PlaygroundLifecycleListEventsInput,
853
- PlaygroundLifecycleListEventsOutput,
854
- PlaygroundWebhookGetLastInput,
855
- PlaygroundWebhookGetLastOutput,
856
- PlaygroundWorkflowEchoInput,
857
- PlaygroundWorkflowEchoListInput,
858
- PlaygroundWorkflowEchoListOutput,
859
- PlaygroundWorkflowEchoOutput,
860
- PlaygroundWorkflowPingInput,
861
- PlaygroundWorkflowPingOutput,
862
- PlaygroundWorkflowSubjectsListInput,
863
- PlaygroundWorkflowSubjectsListOutput,
864
830
  RealtimeArchiveExportInput,
865
831
  RealtimeArchiveExportOutput,
866
832
  RealtimeArchiveExportStatusInput,
@@ -2031,43 +1997,6 @@ export interface GeneratedClient {
2031
1997
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2032
1998
  };
2033
1999
  };
2034
- playground: {
2035
- analytics: {
2036
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2037
- };
2038
- billing: {
2039
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2040
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2041
- };
2042
- clickup: {
2043
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2044
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2045
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2046
- };
2047
- echo: {
2048
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2049
- };
2050
- gdrive: {
2051
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2052
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2053
- };
2054
- googleads: {
2055
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2056
- };
2057
- lifecycle: {
2058
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2059
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2060
- };
2061
- webhook: {
2062
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2063
- };
2064
- workflow: {
2065
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2066
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2067
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2068
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2069
- };
2070
- };
2071
2000
  realtime: {
2072
2001
  archive: {
2073
2002
  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',
@@ -417,23 +417,6 @@ export const operations: Record<string, ToolLevel> = {
417
417
  'organization_support_threads_list': 'read',
418
418
  'organization_x_install': 'read',
419
419
  'organization_youtube_install': 'read',
420
- 'playground_analytics_overview': 'read',
421
- 'playground_billing_entitlements': 'read',
422
- 'playground_billing_record-usage': 'write',
423
- 'playground_clickup_create-task': 'write',
424
- 'playground_clickup_get-last-webhook': 'read',
425
- 'playground_clickup_get-overview': 'read',
426
- 'playground_echo_ping': 'read',
427
- 'playground_gdrive_get-last-change': 'read',
428
- 'playground_gdrive_read-file': 'read',
429
- 'playground_googleads_read-customer': 'read',
430
- 'playground_lifecycle_get-state': 'read',
431
- 'playground_lifecycle_list-events': 'read',
432
- 'playground_webhook_get-last': 'read',
433
- 'playground_workflow_echo': 'write',
434
- 'playground_workflow_echo-list': 'read',
435
- 'playground_workflow_ping': 'write',
436
- 'playground_workflow_subjects-list': 'read',
437
420
  'realtime_archive_export': 'admin',
438
421
  'realtime_archive_export_status': 'read',
439
422
  'realtime_archive_get': 'read',
@@ -726,9 +709,6 @@ export const compositions: Record<string, ToolComposition> = {
726
709
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
727
710
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
728
711
  'mail_usage_get': {"label":"Get usage"},
729
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
730
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
731
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
732
712
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
733
713
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
734
714
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},