@lessly/sdk-app 105.14.0 → 105.15.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": "105.14.0",
4
+ "version": "105.15.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:7d9714f1af50ba8bc459d4469fee7fceed254e16f4a0c68a7f992425254c213b"
213
+ "sdkContentHash": "sha256:79b96630bbdf49f791798f1a5eec62935b38c05f5ffa146c8be79835d38787b4"
224
214
  }
@@ -6341,6 +6341,12 @@ export const bindings: BindingsMap = {
6341
6341
  "level": "read",
6342
6342
  "method": "GET",
6343
6343
  "operationKey": "organization_clickup_install",
6344
+ "params": [
6345
+ {
6346
+ "in": "query",
6347
+ "name": "share"
6348
+ }
6349
+ ],
6344
6350
  "path": "/governance/api/v1/connectors/clickup/install",
6345
6351
  "readOnly": false
6346
6352
  },
@@ -6357,6 +6363,12 @@ export const bindings: BindingsMap = {
6357
6363
  "level": "read",
6358
6364
  "method": "GET",
6359
6365
  "operationKey": "organization_cloudflare_install",
6366
+ "params": [
6367
+ {
6368
+ "in": "query",
6369
+ "name": "share"
6370
+ }
6371
+ ],
6360
6372
  "path": "/governance/api/v1/connectors/cloudflare/install",
6361
6373
  "readOnly": false
6362
6374
  }
@@ -6677,6 +6689,12 @@ export const bindings: BindingsMap = {
6677
6689
  "level": "read",
6678
6690
  "method": "GET",
6679
6691
  "operationKey": "organization_gdrive_install",
6692
+ "params": [
6693
+ {
6694
+ "in": "query",
6695
+ "name": "share"
6696
+ }
6697
+ ],
6680
6698
  "path": "/governance/api/v1/connectors/gdrive/install",
6681
6699
  "readOnly": false
6682
6700
  }
@@ -6686,6 +6704,12 @@ export const bindings: BindingsMap = {
6686
6704
  "level": "read",
6687
6705
  "method": "GET",
6688
6706
  "operationKey": "organization_github_install",
6707
+ "params": [
6708
+ {
6709
+ "in": "query",
6710
+ "name": "share"
6711
+ }
6712
+ ],
6689
6713
  "path": "/governance/api/v1/connectors/github/install",
6690
6714
  "readOnly": false
6691
6715
  },
@@ -6900,6 +6924,12 @@ export const bindings: BindingsMap = {
6900
6924
  "level": "read",
6901
6925
  "method": "GET",
6902
6926
  "operationKey": "organization_linkedin_member_install",
6927
+ "params": [
6928
+ {
6929
+ "in": "query",
6930
+ "name": "share"
6931
+ }
6932
+ ],
6903
6933
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6904
6934
  "readOnly": false
6905
6935
  }
@@ -7536,6 +7566,12 @@ export const bindings: BindingsMap = {
7536
7566
  "level": "read",
7537
7567
  "method": "GET",
7538
7568
  "operationKey": "organization_reddit_install",
7569
+ "params": [
7570
+ {
7571
+ "in": "query",
7572
+ "name": "share"
7573
+ }
7574
+ ],
7539
7575
  "path": "/governance/api/v1/connectors/reddit/install",
7540
7576
  "readOnly": false
7541
7577
  }
@@ -7729,224 +7765,29 @@ export const bindings: BindingsMap = {
7729
7765
  "level": "read",
7730
7766
  "method": "GET",
7731
7767
  "operationKey": "organization_x_install",
7732
- "path": "/governance/api/v1/connectors/x/install",
7733
- "readOnly": false
7734
- }
7735
- },
7736
- "youtube": {
7737
- "install": {
7738
- "level": "read",
7739
- "method": "GET",
7740
- "operationKey": "organization_youtube_install",
7741
- "path": "/governance/api/v1/connectors/youtube/install",
7742
- "readOnly": false
7743
- }
7744
- }
7745
- },
7746
- "playground": {
7747
- "analytics": {
7748
- "overview": {
7749
- "level": "read",
7750
- "method": "POST",
7751
- "operationKey": "playground_analytics_overview",
7752
7768
  "params": [
7753
7769
  {
7754
- "in": "body",
7755
- "name": "limit"
7756
- }
7757
- ],
7758
- "path": "/playground/analytics/overview",
7759
- "readOnly": true
7760
- }
7761
- },
7762
- "billing": {
7763
- "entitlements": {
7764
- "level": "read",
7765
- "method": "POST",
7766
- "operationKey": "playground_billing_entitlements",
7767
- "path": "/playground/billing/entitlements",
7768
- "readOnly": true
7769
- },
7770
- "record-usage": {
7771
- "level": "write",
7772
- "method": "POST",
7773
- "operationKey": "playground_billing_record-usage",
7774
- "params": [
7775
- {
7776
- "in": "body",
7777
- "name": "value"
7778
- }
7779
- ],
7780
- "path": "/playground/billing/usage",
7781
- "readOnly": false
7782
- }
7783
- },
7784
- "clickup": {
7785
- "create-task": {
7786
- "level": "write",
7787
- "method": "POST",
7788
- "operationKey": "playground_clickup_create-task",
7789
- "params": [
7790
- {
7791
- "in": "body",
7792
- "name": "listId"
7793
- },
7794
- {
7795
- "in": "body",
7796
- "name": "name"
7770
+ "in": "query",
7771
+ "name": "share"
7797
7772
  }
7798
7773
  ],
7799
- "path": "/playground/clickup/tasks",
7774
+ "path": "/governance/api/v1/connectors/x/install",
7800
7775
  "readOnly": false
7801
- },
7802
- "get-last-webhook": {
7803
- "level": "read",
7804
- "method": "GET",
7805
- "operationKey": "playground_clickup_get-last-webhook",
7806
- "path": "/playground/clickup/webhooks/last",
7807
- "readOnly": true
7808
- },
7809
- "get-overview": {
7810
- "level": "read",
7811
- "method": "GET",
7812
- "operationKey": "playground_clickup_get-overview",
7813
- "path": "/playground/clickup/overview",
7814
- "readOnly": true
7815
- }
7816
- },
7817
- "echo": {
7818
- "ping": {
7819
- "level": "read",
7820
- "method": "POST",
7821
- "operationKey": "playground_echo_ping",
7822
- "params": [
7823
- {
7824
- "in": "body",
7825
- "name": "message"
7826
- }
7827
- ],
7828
- "path": "/playground/echo/ping",
7829
- "readOnly": true
7830
- }
7831
- },
7832
- "gdrive": {
7833
- "get-last-change": {
7834
- "level": "read",
7835
- "method": "GET",
7836
- "operationKey": "playground_gdrive_get-last-change",
7837
- "path": "/playground/gdrive/changes/last",
7838
- "readOnly": true
7839
- },
7840
- "read-file": {
7841
- "level": "read",
7842
- "method": "POST",
7843
- "operationKey": "playground_gdrive_read-file",
7844
- "params": [
7845
- {
7846
- "in": "body",
7847
- "name": "fileId"
7848
- }
7849
- ],
7850
- "path": "/playground/gdrive/file",
7851
- "readOnly": true
7852
7776
  }
7853
7777
  },
7854
- "googleads": {
7855
- "read-customer": {
7856
- "level": "read",
7857
- "method": "POST",
7858
- "operationKey": "playground_googleads_read-customer",
7859
- "path": "/playground/googleads/customer",
7860
- "readOnly": true
7861
- }
7862
- },
7863
- "lifecycle": {
7864
- "get-state": {
7865
- "level": "read",
7866
- "method": "GET",
7867
- "operationKey": "playground_lifecycle_get-state",
7868
- "path": "/playground/lifecycle/state",
7869
- "readOnly": true
7870
- },
7871
- "list-events": {
7872
- "level": "read",
7873
- "method": "GET",
7874
- "operationKey": "playground_lifecycle_list-events",
7875
- "path": "/playground/lifecycle/events",
7876
- "readOnly": true
7877
- }
7878
- },
7879
- "webhook": {
7880
- "get-last": {
7881
- "level": "read",
7882
- "method": "GET",
7883
- "operationKey": "playground_webhook_get-last",
7884
- "path": "/playground/webhooks/last",
7885
- "readOnly": true
7886
- }
7887
- },
7888
- "workflow": {
7889
- "echo": {
7890
- "level": "write",
7891
- "method": "POST",
7892
- "operationKey": "playground_workflow_echo",
7893
- "params": [
7894
- {
7895
- "in": "body",
7896
- "name": "note"
7897
- },
7898
- {
7899
- "in": "body",
7900
- "name": "tags"
7901
- }
7902
- ],
7903
- "path": "/playground/workflow/echo",
7904
- "readOnly": false
7905
- },
7906
- "echo-list": {
7907
- "level": "read",
7908
- "method": "GET",
7909
- "operationKey": "playground_workflow_echo-list",
7910
- "path": "/playground/workflow/echoes",
7911
- "readOnly": true
7912
- },
7913
- "ping": {
7914
- "level": "write",
7915
- "method": "POST",
7916
- "operationKey": "playground_workflow_ping",
7917
- "params": [
7918
- {
7919
- "in": "body",
7920
- "name": "kind"
7921
- }
7922
- ],
7923
- "path": "/playground/workflow/ping",
7924
- "readOnly": false
7925
- },
7926
- "subjects-list": {
7778
+ "youtube": {
7779
+ "install": {
7927
7780
  "level": "read",
7928
7781
  "method": "GET",
7929
- "operationKey": "playground_workflow_subjects-list",
7782
+ "operationKey": "organization_youtube_install",
7930
7783
  "params": [
7931
7784
  {
7932
7785
  "in": "query",
7933
- "name": "last_activity_before"
7934
- },
7935
- {
7936
- "in": "query",
7937
- "name": "last_activity_after"
7938
- },
7939
- {
7940
- "in": "query",
7941
- "name": "limit"
7942
- },
7943
- {
7944
- "in": "query",
7945
- "name": "cursor"
7786
+ "name": "share"
7946
7787
  }
7947
7788
  ],
7948
- "path": "/playground/workflow/subjects",
7949
- "readOnly": true
7789
+ "path": "/governance/api/v1/connectors/youtube/install",
7790
+ "readOnly": false
7950
7791
  }
7951
7792
  }
7952
7793
  },
@@ -12248,12 +12089,4 @@ export const bindings: BindingsMap = {
12248
12089
  }
12249
12090
  };
12250
12091
 
12251
- export const wsBindings: WsBindingsMap = {
12252
- "playground": {
12253
- "ws": {
12254
- "echo": {
12255
- "path": "/playground/ws/echo"
12256
- }
12257
- }
12258
- }
12259
- };
12092
+ 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"},