@lessly/sdk-app 100.0.0 → 102.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": "100.0.0",
4
+ "version": "102.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:0d5d1b50537405202a6e6749c0eab3e6215d4f6d3e0c3c85095c1689b21261e6"
213
+ "sdkContentHash": "sha256:487359ba91ebd8e7c7c8c1a338d44db509bb46dd702c046ff6bd946316af93db"
224
214
  }
@@ -153,6 +153,10 @@ export const bindings: BindingsMap = {
153
153
  {
154
154
  "in": "body",
155
155
  "name": "grain"
156
+ },
157
+ {
158
+ "in": "body",
159
+ "name": "person_filter"
156
160
  }
157
161
  ],
158
162
  "path": "/analytics/funnels/run",
@@ -364,6 +368,10 @@ export const bindings: BindingsMap = {
364
368
  {
365
369
  "in": "body",
366
370
  "name": "filters"
371
+ },
372
+ {
373
+ "in": "body",
374
+ "name": "person_filter"
367
375
  }
368
376
  ],
369
377
  "path": "/analytics/metrics/query",
@@ -3513,10 +3521,6 @@ export const bindings: BindingsMap = {
3513
3521
  {
3514
3522
  "in": "body",
3515
3523
  "name": "prBranch"
3516
- },
3517
- {
3518
- "in": "body",
3519
- "name": "repoFullName"
3520
3524
  }
3521
3525
  ],
3522
3526
  "path": "/deployment/preview-environments",
@@ -6248,6 +6252,12 @@ export const bindings: BindingsMap = {
6248
6252
  "level": "read",
6249
6253
  "method": "GET",
6250
6254
  "operationKey": "organization_clickup_install",
6255
+ "params": [
6256
+ {
6257
+ "in": "query",
6258
+ "name": "share"
6259
+ }
6260
+ ],
6251
6261
  "path": "/governance/api/v1/connectors/clickup/install",
6252
6262
  "readOnly": false
6253
6263
  },
@@ -6264,6 +6274,12 @@ export const bindings: BindingsMap = {
6264
6274
  "level": "read",
6265
6275
  "method": "GET",
6266
6276
  "operationKey": "organization_cloudflare_install",
6277
+ "params": [
6278
+ {
6279
+ "in": "query",
6280
+ "name": "share"
6281
+ }
6282
+ ],
6267
6283
  "path": "/governance/api/v1/connectors/cloudflare/install",
6268
6284
  "readOnly": false
6269
6285
  }
@@ -6584,6 +6600,12 @@ export const bindings: BindingsMap = {
6584
6600
  "level": "read",
6585
6601
  "method": "GET",
6586
6602
  "operationKey": "organization_gdrive_install",
6603
+ "params": [
6604
+ {
6605
+ "in": "query",
6606
+ "name": "share"
6607
+ }
6608
+ ],
6587
6609
  "path": "/governance/api/v1/connectors/gdrive/install",
6588
6610
  "readOnly": false
6589
6611
  }
@@ -6593,6 +6615,12 @@ export const bindings: BindingsMap = {
6593
6615
  "level": "read",
6594
6616
  "method": "GET",
6595
6617
  "operationKey": "organization_github_install",
6618
+ "params": [
6619
+ {
6620
+ "in": "query",
6621
+ "name": "share"
6622
+ }
6623
+ ],
6596
6624
  "path": "/governance/api/v1/connectors/github/install",
6597
6625
  "readOnly": false
6598
6626
  },
@@ -6807,6 +6835,12 @@ export const bindings: BindingsMap = {
6807
6835
  "level": "read",
6808
6836
  "method": "GET",
6809
6837
  "operationKey": "organization_linkedin_member_install",
6838
+ "params": [
6839
+ {
6840
+ "in": "query",
6841
+ "name": "share"
6842
+ }
6843
+ ],
6810
6844
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6811
6845
  "readOnly": false
6812
6846
  }
@@ -7443,6 +7477,12 @@ export const bindings: BindingsMap = {
7443
7477
  "level": "read",
7444
7478
  "method": "GET",
7445
7479
  "operationKey": "organization_reddit_install",
7480
+ "params": [
7481
+ {
7482
+ "in": "query",
7483
+ "name": "share"
7484
+ }
7485
+ ],
7446
7486
  "path": "/governance/api/v1/connectors/reddit/install",
7447
7487
  "readOnly": false
7448
7488
  }
@@ -7636,224 +7676,29 @@ export const bindings: BindingsMap = {
7636
7676
  "level": "read",
7637
7677
  "method": "GET",
7638
7678
  "operationKey": "organization_x_install",
7639
- "path": "/governance/api/v1/connectors/x/install",
7640
- "readOnly": false
7641
- }
7642
- },
7643
- "youtube": {
7644
- "install": {
7645
- "level": "read",
7646
- "method": "GET",
7647
- "operationKey": "organization_youtube_install",
7648
- "path": "/governance/api/v1/connectors/youtube/install",
7649
- "readOnly": false
7650
- }
7651
- }
7652
- },
7653
- "playground": {
7654
- "analytics": {
7655
- "overview": {
7656
- "level": "read",
7657
- "method": "POST",
7658
- "operationKey": "playground_analytics_overview",
7659
7679
  "params": [
7660
7680
  {
7661
- "in": "body",
7662
- "name": "limit"
7663
- }
7664
- ],
7665
- "path": "/playground/analytics/overview",
7666
- "readOnly": true
7667
- }
7668
- },
7669
- "billing": {
7670
- "entitlements": {
7671
- "level": "read",
7672
- "method": "POST",
7673
- "operationKey": "playground_billing_entitlements",
7674
- "path": "/playground/billing/entitlements",
7675
- "readOnly": true
7676
- },
7677
- "record-usage": {
7678
- "level": "write",
7679
- "method": "POST",
7680
- "operationKey": "playground_billing_record-usage",
7681
- "params": [
7682
- {
7683
- "in": "body",
7684
- "name": "value"
7685
- }
7686
- ],
7687
- "path": "/playground/billing/usage",
7688
- "readOnly": false
7689
- }
7690
- },
7691
- "clickup": {
7692
- "create-task": {
7693
- "level": "write",
7694
- "method": "POST",
7695
- "operationKey": "playground_clickup_create-task",
7696
- "params": [
7697
- {
7698
- "in": "body",
7699
- "name": "listId"
7700
- },
7701
- {
7702
- "in": "body",
7703
- "name": "name"
7681
+ "in": "query",
7682
+ "name": "share"
7704
7683
  }
7705
7684
  ],
7706
- "path": "/playground/clickup/tasks",
7685
+ "path": "/governance/api/v1/connectors/x/install",
7707
7686
  "readOnly": false
7708
- },
7709
- "get-last-webhook": {
7710
- "level": "read",
7711
- "method": "GET",
7712
- "operationKey": "playground_clickup_get-last-webhook",
7713
- "path": "/playground/clickup/webhooks/last",
7714
- "readOnly": true
7715
- },
7716
- "get-overview": {
7717
- "level": "read",
7718
- "method": "GET",
7719
- "operationKey": "playground_clickup_get-overview",
7720
- "path": "/playground/clickup/overview",
7721
- "readOnly": true
7722
7687
  }
7723
7688
  },
7724
- "echo": {
7725
- "ping": {
7726
- "level": "read",
7727
- "method": "POST",
7728
- "operationKey": "playground_echo_ping",
7729
- "params": [
7730
- {
7731
- "in": "body",
7732
- "name": "message"
7733
- }
7734
- ],
7735
- "path": "/playground/echo/ping",
7736
- "readOnly": true
7737
- }
7738
- },
7739
- "gdrive": {
7740
- "get-last-change": {
7741
- "level": "read",
7742
- "method": "GET",
7743
- "operationKey": "playground_gdrive_get-last-change",
7744
- "path": "/playground/gdrive/changes/last",
7745
- "readOnly": true
7746
- },
7747
- "read-file": {
7748
- "level": "read",
7749
- "method": "POST",
7750
- "operationKey": "playground_gdrive_read-file",
7751
- "params": [
7752
- {
7753
- "in": "body",
7754
- "name": "fileId"
7755
- }
7756
- ],
7757
- "path": "/playground/gdrive/file",
7758
- "readOnly": true
7759
- }
7760
- },
7761
- "googleads": {
7762
- "read-customer": {
7763
- "level": "read",
7764
- "method": "POST",
7765
- "operationKey": "playground_googleads_read-customer",
7766
- "path": "/playground/googleads/customer",
7767
- "readOnly": true
7768
- }
7769
- },
7770
- "lifecycle": {
7771
- "get-state": {
7772
- "level": "read",
7773
- "method": "GET",
7774
- "operationKey": "playground_lifecycle_get-state",
7775
- "path": "/playground/lifecycle/state",
7776
- "readOnly": true
7777
- },
7778
- "list-events": {
7779
- "level": "read",
7780
- "method": "GET",
7781
- "operationKey": "playground_lifecycle_list-events",
7782
- "path": "/playground/lifecycle/events",
7783
- "readOnly": true
7784
- }
7785
- },
7786
- "webhook": {
7787
- "get-last": {
7788
- "level": "read",
7789
- "method": "GET",
7790
- "operationKey": "playground_webhook_get-last",
7791
- "path": "/playground/webhooks/last",
7792
- "readOnly": true
7793
- }
7794
- },
7795
- "workflow": {
7796
- "echo": {
7797
- "level": "write",
7798
- "method": "POST",
7799
- "operationKey": "playground_workflow_echo",
7800
- "params": [
7801
- {
7802
- "in": "body",
7803
- "name": "note"
7804
- },
7805
- {
7806
- "in": "body",
7807
- "name": "tags"
7808
- }
7809
- ],
7810
- "path": "/playground/workflow/echo",
7811
- "readOnly": false
7812
- },
7813
- "echo-list": {
7814
- "level": "read",
7815
- "method": "GET",
7816
- "operationKey": "playground_workflow_echo-list",
7817
- "path": "/playground/workflow/echoes",
7818
- "readOnly": true
7819
- },
7820
- "ping": {
7821
- "level": "write",
7822
- "method": "POST",
7823
- "operationKey": "playground_workflow_ping",
7824
- "params": [
7825
- {
7826
- "in": "body",
7827
- "name": "kind"
7828
- }
7829
- ],
7830
- "path": "/playground/workflow/ping",
7831
- "readOnly": false
7832
- },
7833
- "subjects-list": {
7689
+ "youtube": {
7690
+ "install": {
7834
7691
  "level": "read",
7835
7692
  "method": "GET",
7836
- "operationKey": "playground_workflow_subjects-list",
7693
+ "operationKey": "organization_youtube_install",
7837
7694
  "params": [
7838
7695
  {
7839
7696
  "in": "query",
7840
- "name": "last_activity_before"
7841
- },
7842
- {
7843
- "in": "query",
7844
- "name": "last_activity_after"
7845
- },
7846
- {
7847
- "in": "query",
7848
- "name": "limit"
7849
- },
7850
- {
7851
- "in": "query",
7852
- "name": "cursor"
7697
+ "name": "share"
7853
7698
  }
7854
7699
  ],
7855
- "path": "/playground/workflow/subjects",
7856
- "readOnly": true
7700
+ "path": "/governance/api/v1/connectors/youtube/install",
7701
+ "readOnly": false
7857
7702
  }
7858
7703
  }
7859
7704
  },
@@ -11938,12 +11783,4 @@ export const bindings: BindingsMap = {
11938
11783
  }
11939
11784
  };
11940
11785
 
11941
- export const wsBindings: WsBindingsMap = {
11942
- "playground": {
11943
- "ws": {
11944
- "echo": {
11945
- "path": "/playground/ws/echo"
11946
- }
11947
- }
11948
- }
11949
- };
11786
+ export const wsBindings: WsBindingsMap = {};
@@ -821,40 +821,6 @@ import type {
821
821
  OrganizationXInstallOutput,
822
822
  OrganizationYoutubeInstallInput,
823
823
  OrganizationYoutubeInstallOutput,
824
- PlaygroundAnalyticsOverviewInput,
825
- PlaygroundAnalyticsOverviewOutput,
826
- PlaygroundBillingEntitlementsInput,
827
- PlaygroundBillingEntitlementsOutput,
828
- PlaygroundBillingRecordUsageInput,
829
- PlaygroundBillingRecordUsageOutput,
830
- PlaygroundClickupCreateTaskInput,
831
- PlaygroundClickupCreateTaskOutput,
832
- PlaygroundClickupGetLastWebhookInput,
833
- PlaygroundClickupGetLastWebhookOutput,
834
- PlaygroundClickupGetOverviewInput,
835
- PlaygroundClickupGetOverviewOutput,
836
- PlaygroundEchoPingInput,
837
- PlaygroundEchoPingOutput,
838
- PlaygroundGdriveGetLastChangeInput,
839
- PlaygroundGdriveGetLastChangeOutput,
840
- PlaygroundGdriveReadFileInput,
841
- PlaygroundGdriveReadFileOutput,
842
- PlaygroundGoogleadsReadCustomerInput,
843
- PlaygroundGoogleadsReadCustomerOutput,
844
- PlaygroundLifecycleGetStateInput,
845
- PlaygroundLifecycleGetStateOutput,
846
- PlaygroundLifecycleListEventsInput,
847
- PlaygroundLifecycleListEventsOutput,
848
- PlaygroundWebhookGetLastInput,
849
- PlaygroundWebhookGetLastOutput,
850
- PlaygroundWorkflowEchoInput,
851
- PlaygroundWorkflowEchoListInput,
852
- PlaygroundWorkflowEchoListOutput,
853
- PlaygroundWorkflowEchoOutput,
854
- PlaygroundWorkflowPingInput,
855
- PlaygroundWorkflowPingOutput,
856
- PlaygroundWorkflowSubjectsListInput,
857
- PlaygroundWorkflowSubjectsListOutput,
858
824
  RealtimeArchiveExportInput,
859
825
  RealtimeArchiveExportOutput,
860
826
  RealtimeArchiveExportStatusInput,
@@ -2004,43 +1970,6 @@ export interface GeneratedClient {
2004
1970
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2005
1971
  };
2006
1972
  };
2007
- playground: {
2008
- analytics: {
2009
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2010
- };
2011
- billing: {
2012
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2013
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2014
- };
2015
- clickup: {
2016
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2017
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2018
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2019
- };
2020
- echo: {
2021
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2022
- };
2023
- gdrive: {
2024
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2025
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2026
- };
2027
- googleads: {
2028
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2029
- };
2030
- lifecycle: {
2031
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2032
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2033
- };
2034
- webhook: {
2035
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2036
- };
2037
- workflow: {
2038
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2039
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2040
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2041
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2042
- };
2043
- };
2044
1973
  realtime: {
2045
1974
  archive: {
2046
1975
  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',
@@ -414,23 +414,6 @@ export const operations: Record<string, ToolLevel> = {
414
414
  'organization_support_threads_list': 'read',
415
415
  'organization_x_install': 'read',
416
416
  'organization_youtube_install': 'read',
417
- 'playground_analytics_overview': 'read',
418
- 'playground_billing_entitlements': 'read',
419
- 'playground_billing_record-usage': 'write',
420
- 'playground_clickup_create-task': 'write',
421
- 'playground_clickup_get-last-webhook': 'read',
422
- 'playground_clickup_get-overview': 'read',
423
- 'playground_echo_ping': 'read',
424
- 'playground_gdrive_get-last-change': 'read',
425
- 'playground_gdrive_read-file': 'read',
426
- 'playground_googleads_read-customer': 'read',
427
- 'playground_lifecycle_get-state': 'read',
428
- 'playground_lifecycle_list-events': 'read',
429
- 'playground_webhook_get-last': 'read',
430
- 'playground_workflow_echo': 'write',
431
- 'playground_workflow_echo-list': 'read',
432
- 'playground_workflow_ping': 'write',
433
- 'playground_workflow_subjects-list': 'read',
434
417
  'realtime_archive_export': 'admin',
435
418
  'realtime_archive_export_status': 'read',
436
419
  'realtime_archive_get': 'read',
@@ -716,9 +699,6 @@ export const compositions: Record<string, ToolComposition> = {
716
699
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
717
700
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
718
701
  'mail_usage_get': {"label":"Get usage"},
719
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
720
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
721
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
722
702
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
723
703
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
724
704
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},