@lessly/sdk-app 106.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": "106.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:1c9c943b01e043e85c2977551057042405f29479e23cfcb4894e28c90c36cdc0"
213
+ "sdkContentHash": "sha256:80def9d1a1d8c2b047c2359c88f8749fd134e8559a97e6b0fd70fc3ed80efb8c"
224
214
  }
@@ -33,6 +33,10 @@ export const bindings: BindingsMap = {
33
33
  {
34
34
  "in": "body",
35
35
  "name": "tags"
36
+ },
37
+ {
38
+ "in": "body",
39
+ "name": "filters"
36
40
  }
37
41
  ],
38
42
  "path": "/analytics/dashboards",
@@ -94,6 +98,14 @@ export const bindings: BindingsMap = {
94
98
  "in": "body",
95
99
  "name": "to"
96
100
  },
101
+ {
102
+ "in": "body",
103
+ "name": "filters"
104
+ },
105
+ {
106
+ "in": "body",
107
+ "name": "compare"
108
+ },
97
109
  {
98
110
  "in": "path",
99
111
  "name": "idOrSlug"
@@ -119,6 +131,10 @@ export const bindings: BindingsMap = {
119
131
  "in": "body",
120
132
  "name": "tags"
121
133
  },
134
+ {
135
+ "in": "body",
136
+ "name": "filters"
137
+ },
122
138
  {
123
139
  "in": "path",
124
140
  "name": "id"
@@ -213,6 +229,14 @@ export const bindings: BindingsMap = {
213
229
  "in": "body",
214
230
  "name": "display"
215
231
  },
232
+ {
233
+ "in": "body",
234
+ "name": "sort"
235
+ },
236
+ {
237
+ "in": "body",
238
+ "name": "top_n"
239
+ },
216
240
  {
217
241
  "in": "body",
218
242
  "name": "tags"
@@ -334,6 +358,14 @@ export const bindings: BindingsMap = {
334
358
  "in": "body",
335
359
  "name": "display"
336
360
  },
361
+ {
362
+ "in": "body",
363
+ "name": "sort"
364
+ },
365
+ {
366
+ "in": "body",
367
+ "name": "top_n"
368
+ },
337
369
  {
338
370
  "in": "body",
339
371
  "name": "tags"
@@ -6357,6 +6389,12 @@ export const bindings: BindingsMap = {
6357
6389
  "level": "read",
6358
6390
  "method": "GET",
6359
6391
  "operationKey": "organization_clickup_install",
6392
+ "params": [
6393
+ {
6394
+ "in": "query",
6395
+ "name": "share"
6396
+ }
6397
+ ],
6360
6398
  "path": "/governance/api/v1/connectors/clickup/install",
6361
6399
  "readOnly": false
6362
6400
  },
@@ -6373,6 +6411,12 @@ export const bindings: BindingsMap = {
6373
6411
  "level": "read",
6374
6412
  "method": "GET",
6375
6413
  "operationKey": "organization_cloudflare_install",
6414
+ "params": [
6415
+ {
6416
+ "in": "query",
6417
+ "name": "share"
6418
+ }
6419
+ ],
6376
6420
  "path": "/governance/api/v1/connectors/cloudflare/install",
6377
6421
  "readOnly": false
6378
6422
  }
@@ -6693,6 +6737,12 @@ export const bindings: BindingsMap = {
6693
6737
  "level": "read",
6694
6738
  "method": "GET",
6695
6739
  "operationKey": "organization_gdrive_install",
6740
+ "params": [
6741
+ {
6742
+ "in": "query",
6743
+ "name": "share"
6744
+ }
6745
+ ],
6696
6746
  "path": "/governance/api/v1/connectors/gdrive/install",
6697
6747
  "readOnly": false
6698
6748
  }
@@ -6702,6 +6752,12 @@ export const bindings: BindingsMap = {
6702
6752
  "level": "read",
6703
6753
  "method": "GET",
6704
6754
  "operationKey": "organization_github_install",
6755
+ "params": [
6756
+ {
6757
+ "in": "query",
6758
+ "name": "share"
6759
+ }
6760
+ ],
6705
6761
  "path": "/governance/api/v1/connectors/github/install",
6706
6762
  "readOnly": false
6707
6763
  },
@@ -6916,6 +6972,12 @@ export const bindings: BindingsMap = {
6916
6972
  "level": "read",
6917
6973
  "method": "GET",
6918
6974
  "operationKey": "organization_linkedin_member_install",
6975
+ "params": [
6976
+ {
6977
+ "in": "query",
6978
+ "name": "share"
6979
+ }
6980
+ ],
6919
6981
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6920
6982
  "readOnly": false
6921
6983
  }
@@ -7552,6 +7614,12 @@ export const bindings: BindingsMap = {
7552
7614
  "level": "read",
7553
7615
  "method": "GET",
7554
7616
  "operationKey": "organization_reddit_install",
7617
+ "params": [
7618
+ {
7619
+ "in": "query",
7620
+ "name": "share"
7621
+ }
7622
+ ],
7555
7623
  "path": "/governance/api/v1/connectors/reddit/install",
7556
7624
  "readOnly": false
7557
7625
  }
@@ -7745,224 +7813,29 @@ export const bindings: BindingsMap = {
7745
7813
  "level": "read",
7746
7814
  "method": "GET",
7747
7815
  "operationKey": "organization_x_install",
7748
- "path": "/governance/api/v1/connectors/x/install",
7749
- "readOnly": false
7750
- }
7751
- },
7752
- "youtube": {
7753
- "install": {
7754
- "level": "read",
7755
- "method": "GET",
7756
- "operationKey": "organization_youtube_install",
7757
- "path": "/governance/api/v1/connectors/youtube/install",
7758
- "readOnly": false
7759
- }
7760
- }
7761
- },
7762
- "playground": {
7763
- "analytics": {
7764
- "overview": {
7765
- "level": "read",
7766
- "method": "POST",
7767
- "operationKey": "playground_analytics_overview",
7768
- "params": [
7769
- {
7770
- "in": "body",
7771
- "name": "limit"
7772
- }
7773
- ],
7774
- "path": "/playground/analytics/overview",
7775
- "readOnly": true
7776
- }
7777
- },
7778
- "billing": {
7779
- "entitlements": {
7780
- "level": "read",
7781
- "method": "POST",
7782
- "operationKey": "playground_billing_entitlements",
7783
- "path": "/playground/billing/entitlements",
7784
- "readOnly": true
7785
- },
7786
- "record-usage": {
7787
- "level": "write",
7788
- "method": "POST",
7789
- "operationKey": "playground_billing_record-usage",
7790
7816
  "params": [
7791
7817
  {
7792
- "in": "body",
7793
- "name": "value"
7794
- }
7795
- ],
7796
- "path": "/playground/billing/usage",
7797
- "readOnly": false
7798
- }
7799
- },
7800
- "clickup": {
7801
- "create-task": {
7802
- "level": "write",
7803
- "method": "POST",
7804
- "operationKey": "playground_clickup_create-task",
7805
- "params": [
7806
- {
7807
- "in": "body",
7808
- "name": "listId"
7809
- },
7810
- {
7811
- "in": "body",
7812
- "name": "name"
7818
+ "in": "query",
7819
+ "name": "share"
7813
7820
  }
7814
7821
  ],
7815
- "path": "/playground/clickup/tasks",
7822
+ "path": "/governance/api/v1/connectors/x/install",
7816
7823
  "readOnly": false
7817
- },
7818
- "get-last-webhook": {
7819
- "level": "read",
7820
- "method": "GET",
7821
- "operationKey": "playground_clickup_get-last-webhook",
7822
- "path": "/playground/clickup/webhooks/last",
7823
- "readOnly": true
7824
- },
7825
- "get-overview": {
7826
- "level": "read",
7827
- "method": "GET",
7828
- "operationKey": "playground_clickup_get-overview",
7829
- "path": "/playground/clickup/overview",
7830
- "readOnly": true
7831
- }
7832
- },
7833
- "echo": {
7834
- "ping": {
7835
- "level": "read",
7836
- "method": "POST",
7837
- "operationKey": "playground_echo_ping",
7838
- "params": [
7839
- {
7840
- "in": "body",
7841
- "name": "message"
7842
- }
7843
- ],
7844
- "path": "/playground/echo/ping",
7845
- "readOnly": true
7846
- }
7847
- },
7848
- "gdrive": {
7849
- "get-last-change": {
7850
- "level": "read",
7851
- "method": "GET",
7852
- "operationKey": "playground_gdrive_get-last-change",
7853
- "path": "/playground/gdrive/changes/last",
7854
- "readOnly": true
7855
- },
7856
- "read-file": {
7857
- "level": "read",
7858
- "method": "POST",
7859
- "operationKey": "playground_gdrive_read-file",
7860
- "params": [
7861
- {
7862
- "in": "body",
7863
- "name": "fileId"
7864
- }
7865
- ],
7866
- "path": "/playground/gdrive/file",
7867
- "readOnly": true
7868
7824
  }
7869
7825
  },
7870
- "googleads": {
7871
- "read-customer": {
7872
- "level": "read",
7873
- "method": "POST",
7874
- "operationKey": "playground_googleads_read-customer",
7875
- "path": "/playground/googleads/customer",
7876
- "readOnly": true
7877
- }
7878
- },
7879
- "lifecycle": {
7880
- "get-state": {
7881
- "level": "read",
7882
- "method": "GET",
7883
- "operationKey": "playground_lifecycle_get-state",
7884
- "path": "/playground/lifecycle/state",
7885
- "readOnly": true
7886
- },
7887
- "list-events": {
7888
- "level": "read",
7889
- "method": "GET",
7890
- "operationKey": "playground_lifecycle_list-events",
7891
- "path": "/playground/lifecycle/events",
7892
- "readOnly": true
7893
- }
7894
- },
7895
- "webhook": {
7896
- "get-last": {
7897
- "level": "read",
7898
- "method": "GET",
7899
- "operationKey": "playground_webhook_get-last",
7900
- "path": "/playground/webhooks/last",
7901
- "readOnly": true
7902
- }
7903
- },
7904
- "workflow": {
7905
- "echo": {
7906
- "level": "write",
7907
- "method": "POST",
7908
- "operationKey": "playground_workflow_echo",
7909
- "params": [
7910
- {
7911
- "in": "body",
7912
- "name": "note"
7913
- },
7914
- {
7915
- "in": "body",
7916
- "name": "tags"
7917
- }
7918
- ],
7919
- "path": "/playground/workflow/echo",
7920
- "readOnly": false
7921
- },
7922
- "echo-list": {
7923
- "level": "read",
7924
- "method": "GET",
7925
- "operationKey": "playground_workflow_echo-list",
7926
- "path": "/playground/workflow/echoes",
7927
- "readOnly": true
7928
- },
7929
- "ping": {
7930
- "level": "write",
7931
- "method": "POST",
7932
- "operationKey": "playground_workflow_ping",
7933
- "params": [
7934
- {
7935
- "in": "body",
7936
- "name": "kind"
7937
- }
7938
- ],
7939
- "path": "/playground/workflow/ping",
7940
- "readOnly": false
7941
- },
7942
- "subjects-list": {
7826
+ "youtube": {
7827
+ "install": {
7943
7828
  "level": "read",
7944
7829
  "method": "GET",
7945
- "operationKey": "playground_workflow_subjects-list",
7830
+ "operationKey": "organization_youtube_install",
7946
7831
  "params": [
7947
7832
  {
7948
7833
  "in": "query",
7949
- "name": "last_activity_before"
7950
- },
7951
- {
7952
- "in": "query",
7953
- "name": "last_activity_after"
7954
- },
7955
- {
7956
- "in": "query",
7957
- "name": "limit"
7958
- },
7959
- {
7960
- "in": "query",
7961
- "name": "cursor"
7834
+ "name": "share"
7962
7835
  }
7963
7836
  ],
7964
- "path": "/playground/workflow/subjects",
7965
- "readOnly": true
7837
+ "path": "/governance/api/v1/connectors/youtube/install",
7838
+ "readOnly": false
7966
7839
  }
7967
7840
  }
7968
7841
  },
@@ -12264,12 +12137,4 @@ export const bindings: BindingsMap = {
12264
12137
  }
12265
12138
  };
12266
12139
 
12267
- export const wsBindings: WsBindingsMap = {
12268
- "playground": {
12269
- "ws": {
12270
- "echo": {
12271
- "path": "/playground/ws/echo"
12272
- }
12273
- }
12274
- }
12275
- };
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"},