@lessly/sdk-app 96.1.0 → 96.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +2 -1
  2. package/dist/_types/gen/client.gen.d.ts +6 -42
  3. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  4. package/dist/_types/gen/organization/index.d.ts +1 -1
  5. package/dist/_types/gen/organization/queryOptions.gen.d.ts +12 -8
  6. package/dist/_types/gen/types.gen.d.ts +19 -335
  7. package/dist/index.cjs +26 -251
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.js +11527 -24
  10. package/dist/index.js.map +1 -1
  11. package/dist/organization/index.cjs +15 -10
  12. package/dist/organization/index.cjs.map +1 -1
  13. package/dist/organization/index.js +13 -9
  14. package/dist/organization/index.js.map +1 -1
  15. package/package.json +2 -12
  16. package/src/gen/bindings.gen.ts +24 -238
  17. package/src/gen/client.gen.ts +11 -79
  18. package/src/gen/manifest.gen.ts +4 -23
  19. package/src/gen/organization/index.ts +1 -1
  20. package/src/gen/organization/queryOptions.gen.ts +17 -11
  21. package/src/gen/types.gen.ts +23 -381
  22. package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
  23. package/dist/_types/gen/playground/index.d.ts +0 -3
  24. package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -70
  25. package/dist/chunk-G33O7GKV.js +0 -11742
  26. package/dist/chunk-G33O7GKV.js.map +0 -1
  27. package/dist/playground/index.cjs +0 -106
  28. package/dist/playground/index.cjs.map +0 -1
  29. package/dist/playground/index.d.cts +0 -1
  30. package/dist/playground/index.d.ts +0 -1
  31. package/dist/playground/index.js +0 -78
  32. package/dist/playground/index.js.map +0 -1
  33. package/src/gen/playground/connect.gen.ts +0 -9
  34. package/src/gen/playground/index.ts +0 -4
  35. package/src/gen/playground/queryOptions.gen.ts +0 -119
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": "96.1.0",
4
+ "version": "96.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:9e9d798a6d90301723cfd9fe3a65e2cdbfc07a4b8e2ecbf4abbf71c12ffcd41b"
213
+ "sdkContentHash": "sha256:11ad2fc7cb92a06b2e5bf7118e056d74775c957f69076acdf05d02e640ae5a22"
224
214
  }
@@ -5975,47 +5975,48 @@ export const bindings: BindingsMap = {
5975
5975
  "readOnly": true
5976
5976
  }
5977
5977
  },
5978
- "billing-budgets": {
5979
- "get": {
5980
- "level": "read",
5981
- "method": "GET",
5982
- "operationKey": "organization_billing_budgets_get",
5983
- "path": "/governance/api/v1/billing/budgets",
5984
- "readOnly": true
5985
- }
5986
- },
5987
- "billing-caps": {
5978
+ "billing-budget": {
5988
5979
  "clear": {
5989
5980
  "level": "write",
5990
5981
  "method": "DELETE",
5991
- "operationKey": "organization_billing_caps_clear",
5992
- "params": [
5993
- {
5994
- "in": "body",
5995
- "name": "productId"
5996
- }
5997
- ],
5998
- "path": "/governance/api/v1/billing/budgets/cap",
5982
+ "operationKey": "organization_billing_budget_clear",
5983
+ "path": "/governance/api/v1/billing/budgets",
5984
+ "readOnly": false
5985
+ },
5986
+ "resume": {
5987
+ "level": "write",
5988
+ "method": "POST",
5989
+ "operationKey": "organization_billing_budget_resume",
5990
+ "path": "/governance/api/v1/billing/budgets/resume",
5999
5991
  "readOnly": false
6000
5992
  },
6001
5993
  "set": {
6002
5994
  "level": "write",
6003
5995
  "method": "PUT",
6004
- "operationKey": "organization_billing_caps_set",
5996
+ "operationKey": "organization_billing_budget_set",
6005
5997
  "params": [
6006
5998
  {
6007
5999
  "in": "body",
6008
- "name": "productId"
6000
+ "name": "amount_minor"
6009
6001
  },
6010
6002
  {
6011
6003
  "in": "body",
6012
- "name": "cap_minor"
6004
+ "name": "action"
6013
6005
  }
6014
6006
  ],
6015
- "path": "/governance/api/v1/billing/budgets/cap",
6007
+ "path": "/governance/api/v1/billing/budgets",
6016
6008
  "readOnly": false
6017
6009
  }
6018
6010
  },
6011
+ "billing-budgets": {
6012
+ "get": {
6013
+ "level": "read",
6014
+ "method": "GET",
6015
+ "operationKey": "organization_billing_budgets_get",
6016
+ "path": "/governance/api/v1/billing/budgets",
6017
+ "readOnly": true
6018
+ }
6019
+ },
6019
6020
  "bindings": {
6020
6021
  "list": {
6021
6022
  "level": "read",
@@ -7442,213 +7443,6 @@ export const bindings: BindingsMap = {
7442
7443
  }
7443
7444
  }
7444
7445
  },
7445
- "playground": {
7446
- "analytics": {
7447
- "overview": {
7448
- "level": "read",
7449
- "method": "POST",
7450
- "operationKey": "playground_analytics_overview",
7451
- "params": [
7452
- {
7453
- "in": "body",
7454
- "name": "limit"
7455
- }
7456
- ],
7457
- "path": "/playground/analytics/overview",
7458
- "readOnly": true
7459
- }
7460
- },
7461
- "billing": {
7462
- "entitlements": {
7463
- "level": "read",
7464
- "method": "POST",
7465
- "operationKey": "playground_billing_entitlements",
7466
- "path": "/playground/billing/entitlements",
7467
- "readOnly": true
7468
- },
7469
- "record-usage": {
7470
- "level": "write",
7471
- "method": "POST",
7472
- "operationKey": "playground_billing_record-usage",
7473
- "params": [
7474
- {
7475
- "in": "body",
7476
- "name": "value"
7477
- }
7478
- ],
7479
- "path": "/playground/billing/usage",
7480
- "readOnly": false
7481
- }
7482
- },
7483
- "clickup": {
7484
- "create-task": {
7485
- "level": "write",
7486
- "method": "POST",
7487
- "operationKey": "playground_clickup_create-task",
7488
- "params": [
7489
- {
7490
- "in": "body",
7491
- "name": "listId"
7492
- },
7493
- {
7494
- "in": "body",
7495
- "name": "name"
7496
- }
7497
- ],
7498
- "path": "/playground/clickup/tasks",
7499
- "readOnly": false
7500
- },
7501
- "get-last-webhook": {
7502
- "level": "read",
7503
- "method": "GET",
7504
- "operationKey": "playground_clickup_get-last-webhook",
7505
- "path": "/playground/clickup/webhooks/last",
7506
- "readOnly": true
7507
- },
7508
- "get-overview": {
7509
- "level": "read",
7510
- "method": "GET",
7511
- "operationKey": "playground_clickup_get-overview",
7512
- "path": "/playground/clickup/overview",
7513
- "readOnly": true
7514
- }
7515
- },
7516
- "echo": {
7517
- "ping": {
7518
- "level": "read",
7519
- "method": "POST",
7520
- "operationKey": "playground_echo_ping",
7521
- "params": [
7522
- {
7523
- "in": "body",
7524
- "name": "message"
7525
- }
7526
- ],
7527
- "path": "/playground/echo/ping",
7528
- "readOnly": true
7529
- }
7530
- },
7531
- "gdrive": {
7532
- "get-last-change": {
7533
- "level": "read",
7534
- "method": "GET",
7535
- "operationKey": "playground_gdrive_get-last-change",
7536
- "path": "/playground/gdrive/changes/last",
7537
- "readOnly": true
7538
- },
7539
- "read-file": {
7540
- "level": "read",
7541
- "method": "POST",
7542
- "operationKey": "playground_gdrive_read-file",
7543
- "params": [
7544
- {
7545
- "in": "body",
7546
- "name": "fileId"
7547
- }
7548
- ],
7549
- "path": "/playground/gdrive/file",
7550
- "readOnly": true
7551
- }
7552
- },
7553
- "googleads": {
7554
- "read-customer": {
7555
- "level": "read",
7556
- "method": "POST",
7557
- "operationKey": "playground_googleads_read-customer",
7558
- "path": "/playground/googleads/customer",
7559
- "readOnly": true
7560
- }
7561
- },
7562
- "lifecycle": {
7563
- "get-state": {
7564
- "level": "read",
7565
- "method": "GET",
7566
- "operationKey": "playground_lifecycle_get-state",
7567
- "path": "/playground/lifecycle/state",
7568
- "readOnly": true
7569
- },
7570
- "list-events": {
7571
- "level": "read",
7572
- "method": "GET",
7573
- "operationKey": "playground_lifecycle_list-events",
7574
- "path": "/playground/lifecycle/events",
7575
- "readOnly": true
7576
- }
7577
- },
7578
- "webhook": {
7579
- "get-last": {
7580
- "level": "read",
7581
- "method": "GET",
7582
- "operationKey": "playground_webhook_get-last",
7583
- "path": "/playground/webhooks/last",
7584
- "readOnly": true
7585
- }
7586
- },
7587
- "workflow": {
7588
- "echo": {
7589
- "level": "write",
7590
- "method": "POST",
7591
- "operationKey": "playground_workflow_echo",
7592
- "params": [
7593
- {
7594
- "in": "body",
7595
- "name": "note"
7596
- },
7597
- {
7598
- "in": "body",
7599
- "name": "tags"
7600
- }
7601
- ],
7602
- "path": "/playground/workflow/echo",
7603
- "readOnly": false
7604
- },
7605
- "echo-list": {
7606
- "level": "read",
7607
- "method": "GET",
7608
- "operationKey": "playground_workflow_echo-list",
7609
- "path": "/playground/workflow/echoes",
7610
- "readOnly": true
7611
- },
7612
- "ping": {
7613
- "level": "write",
7614
- "method": "POST",
7615
- "operationKey": "playground_workflow_ping",
7616
- "params": [
7617
- {
7618
- "in": "body",
7619
- "name": "kind"
7620
- }
7621
- ],
7622
- "path": "/playground/workflow/ping",
7623
- "readOnly": false
7624
- },
7625
- "subjects-list": {
7626
- "level": "read",
7627
- "method": "GET",
7628
- "operationKey": "playground_workflow_subjects-list",
7629
- "params": [
7630
- {
7631
- "in": "query",
7632
- "name": "last_activity_before"
7633
- },
7634
- {
7635
- "in": "query",
7636
- "name": "last_activity_after"
7637
- },
7638
- {
7639
- "in": "query",
7640
- "name": "limit"
7641
- },
7642
- {
7643
- "in": "query",
7644
- "name": "cursor"
7645
- }
7646
- ],
7647
- "path": "/playground/workflow/subjects",
7648
- "readOnly": true
7649
- }
7650
- }
7651
- },
7652
7446
  "realtime": {
7653
7447
  "archive": {
7654
7448
  "export": {
@@ -11730,12 +11524,4 @@ export const bindings: BindingsMap = {
11730
11524
  }
11731
11525
  };
11732
11526
 
11733
- export const wsBindings: WsBindingsMap = {
11734
- "playground": {
11735
- "ws": {
11736
- "echo": {
11737
- "path": "/playground/ws/echo"
11738
- }
11739
- }
11740
- }
11741
- };
11527
+ export const wsBindings: WsBindingsMap = {};
@@ -623,12 +623,14 @@ import type {
623
623
  ObserveWebhooksUpdateOutput,
624
624
  OrganizationAuthMeInput,
625
625
  OrganizationAuthMeOutput,
626
+ OrganizationBillingBudgetClearInput,
627
+ OrganizationBillingBudgetClearOutput,
628
+ OrganizationBillingBudgetResumeInput,
629
+ OrganizationBillingBudgetResumeOutput,
630
+ OrganizationBillingBudgetSetInput,
631
+ OrganizationBillingBudgetSetOutput,
626
632
  OrganizationBillingBudgetsGetInput,
627
633
  OrganizationBillingBudgetsGetOutput,
628
- OrganizationBillingCapsClearInput,
629
- OrganizationBillingCapsClearOutput,
630
- OrganizationBillingCapsSetInput,
631
- OrganizationBillingCapsSetOutput,
632
634
  OrganizationBindingsListInput,
633
635
  OrganizationBindingsListOutput,
634
636
  OrganizationClickupInstallInput,
@@ -801,40 +803,6 @@ import type {
801
803
  OrganizationXInstallOutput,
802
804
  OrganizationYoutubeInstallInput,
803
805
  OrganizationYoutubeInstallOutput,
804
- PlaygroundAnalyticsOverviewInput,
805
- PlaygroundAnalyticsOverviewOutput,
806
- PlaygroundBillingEntitlementsInput,
807
- PlaygroundBillingEntitlementsOutput,
808
- PlaygroundBillingRecordUsageInput,
809
- PlaygroundBillingRecordUsageOutput,
810
- PlaygroundClickupCreateTaskInput,
811
- PlaygroundClickupCreateTaskOutput,
812
- PlaygroundClickupGetLastWebhookInput,
813
- PlaygroundClickupGetLastWebhookOutput,
814
- PlaygroundClickupGetOverviewInput,
815
- PlaygroundClickupGetOverviewOutput,
816
- PlaygroundEchoPingInput,
817
- PlaygroundEchoPingOutput,
818
- PlaygroundGdriveGetLastChangeInput,
819
- PlaygroundGdriveGetLastChangeOutput,
820
- PlaygroundGdriveReadFileInput,
821
- PlaygroundGdriveReadFileOutput,
822
- PlaygroundGoogleadsReadCustomerInput,
823
- PlaygroundGoogleadsReadCustomerOutput,
824
- PlaygroundLifecycleGetStateInput,
825
- PlaygroundLifecycleGetStateOutput,
826
- PlaygroundLifecycleListEventsInput,
827
- PlaygroundLifecycleListEventsOutput,
828
- PlaygroundWebhookGetLastInput,
829
- PlaygroundWebhookGetLastOutput,
830
- PlaygroundWorkflowEchoInput,
831
- PlaygroundWorkflowEchoListInput,
832
- PlaygroundWorkflowEchoListOutput,
833
- PlaygroundWorkflowEchoOutput,
834
- PlaygroundWorkflowPingInput,
835
- PlaygroundWorkflowPingOutput,
836
- PlaygroundWorkflowSubjectsListInput,
837
- PlaygroundWorkflowSubjectsListOutput,
838
806
  RealtimeArchiveExportInput,
839
807
  RealtimeArchiveExportOutput,
840
808
  RealtimeArchiveExportStatusInput,
@@ -1825,13 +1793,14 @@ export interface GeneratedClient {
1825
1793
  auth: {
1826
1794
  me: ((input: OrganizationAuthMeInput) => Promise<OrganizationAuthMeOutput>) & Operation;
1827
1795
  };
1796
+ 'billing-budget': {
1797
+ clear: ((input: OrganizationBillingBudgetClearInput) => Promise<OrganizationBillingBudgetClearOutput>) & Operation;
1798
+ resume: ((input: OrganizationBillingBudgetResumeInput) => Promise<OrganizationBillingBudgetResumeOutput>) & Operation;
1799
+ set: ((input: OrganizationBillingBudgetSetInput) => Promise<OrganizationBillingBudgetSetOutput>) & Operation;
1800
+ };
1828
1801
  'billing-budgets': {
1829
1802
  get: ((input: OrganizationBillingBudgetsGetInput) => Promise<OrganizationBillingBudgetsGetOutput>) & Operation;
1830
1803
  };
1831
- 'billing-caps': {
1832
- clear: ((input: OrganizationBillingCapsClearInput) => Promise<OrganizationBillingCapsClearOutput>) & Operation;
1833
- set: ((input: OrganizationBillingCapsSetInput) => Promise<OrganizationBillingCapsSetOutput>) & Operation;
1834
- };
1835
1804
  bindings: {
1836
1805
  list: ((input: OrganizationBindingsListInput) => Promise<OrganizationBindingsListOutput>) & Operation;
1837
1806
  };
@@ -1970,43 +1939,6 @@ export interface GeneratedClient {
1970
1939
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1971
1940
  };
1972
1941
  };
1973
- playground: {
1974
- analytics: {
1975
- overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
1976
- };
1977
- billing: {
1978
- entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
1979
- 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
1980
- };
1981
- clickup: {
1982
- 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
1983
- 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
1984
- 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
1985
- };
1986
- echo: {
1987
- ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
1988
- };
1989
- gdrive: {
1990
- 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
1991
- 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
1992
- };
1993
- googleads: {
1994
- 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
1995
- };
1996
- lifecycle: {
1997
- 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
1998
- 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
1999
- };
2000
- webhook: {
2001
- 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2002
- };
2003
- workflow: {
2004
- echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2005
- 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2006
- ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2007
- 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2008
- };
2009
- };
2010
1942
  realtime: {
2011
1943
  archive: {
2012
1944
  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',
@@ -315,9 +315,10 @@ export const operations: Record<string, ToolLevel> = {
315
315
  'observe_webhooks_rotate_secret': 'admin',
316
316
  'observe_webhooks_update': 'write',
317
317
  'organization_auth_me': 'read',
318
+ 'organization_billing_budget_clear': 'write',
319
+ 'organization_billing_budget_resume': 'write',
320
+ 'organization_billing_budget_set': 'write',
318
321
  'organization_billing_budgets_get': 'read',
319
- 'organization_billing_caps_clear': 'write',
320
- 'organization_billing_caps_set': 'write',
321
322
  'organization_bindings_list': 'read',
322
323
  'organization_clickup_install': 'read',
323
324
  'organization_clickup_list-installations': 'read',
@@ -404,23 +405,6 @@ export const operations: Record<string, ToolLevel> = {
404
405
  'organization_support_threads_list': 'read',
405
406
  'organization_x_install': 'read',
406
407
  'organization_youtube_install': 'read',
407
- 'playground_analytics_overview': 'read',
408
- 'playground_billing_entitlements': 'read',
409
- 'playground_billing_record-usage': 'write',
410
- 'playground_clickup_create-task': 'write',
411
- 'playground_clickup_get-last-webhook': 'read',
412
- 'playground_clickup_get-overview': 'read',
413
- 'playground_echo_ping': 'read',
414
- 'playground_gdrive_get-last-change': 'read',
415
- 'playground_gdrive_read-file': 'read',
416
- 'playground_googleads_read-customer': 'read',
417
- 'playground_lifecycle_get-state': 'read',
418
- 'playground_lifecycle_list-events': 'read',
419
- 'playground_webhook_get-last': 'read',
420
- 'playground_workflow_echo': 'write',
421
- 'playground_workflow_echo-list': 'read',
422
- 'playground_workflow_ping': 'write',
423
- 'playground_workflow_subjects-list': 'read',
424
408
  'realtime_archive_export': 'admin',
425
409
  'realtime_archive_export_status': 'read',
426
410
  'realtime_archive_get': 'read',
@@ -705,9 +689,6 @@ export const compositions: Record<string, ToolComposition> = {
705
689
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
706
690
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
707
691
  'mail_usage_get': {"label":"Get usage"},
708
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
709
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
710
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
711
692
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
712
693
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
713
694
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationPrincipalGrantsApproveInput, OrganizationPrincipalGrantsApproveOutput, OrganizationPrincipalGrantsListInput, OrganizationPrincipalGrantsListOutput, OrganizationPrincipalGrantsRevokeInput, OrganizationPrincipalGrantsRevokeOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductErasureGetInput, OrganizationProductErasureGetOutput, OrganizationProductErasureListInput, OrganizationProductErasureListOutput, OrganizationProductErasureRequestInput, OrganizationProductErasureRequestOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
3
+ export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetClearInput, OrganizationBillingBudgetClearOutput, OrganizationBillingBudgetResumeInput, OrganizationBillingBudgetResumeOutput, OrganizationBillingBudgetSetInput, OrganizationBillingBudgetSetOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationPrincipalGrantsApproveInput, OrganizationPrincipalGrantsApproveOutput, OrganizationPrincipalGrantsListInput, OrganizationPrincipalGrantsListOutput, OrganizationPrincipalGrantsRevokeInput, OrganizationPrincipalGrantsRevokeOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductErasureGetInput, OrganizationProductErasureGetOutput, OrganizationProductErasureListInput, OrganizationProductErasureListOutput, OrganizationProductErasureRequestInput, OrganizationProductErasureRequestOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
@@ -3,10 +3,11 @@ import type { GeneratedClient } from '../client.gen';
3
3
  import type {
4
4
  OrganizationAuthMeInput,
5
5
  OrganizationAuthMeOutput,
6
+ OrganizationBillingBudgetClearInput,
7
+ OrganizationBillingBudgetResumeInput,
8
+ OrganizationBillingBudgetSetInput,
6
9
  OrganizationBillingBudgetsGetInput,
7
10
  OrganizationBillingBudgetsGetOutput,
8
- OrganizationBillingCapsClearInput,
9
- OrganizationBillingCapsSetInput,
10
11
  OrganizationBindingsListInput,
11
12
  OrganizationBindingsListOutput,
12
13
  OrganizationClickupInstallInput,
@@ -132,19 +133,24 @@ export const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: Orga
132
133
  queryFn: () => sdk['organization']['auth']['me'](input),
133
134
  });
134
135
 
135
- export const organizationBillingBudgetsGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingBudgetsGetInput) => ({
136
- queryKey: ['organization', 'billing-budgets', 'get', input] as const,
137
- queryFn: () => sdk['organization']['billing-budgets']['get'](input),
136
+ export const organizationBillingBudgetClearMutationOptions = (sdk: GeneratedClient) => ({
137
+ mutationKey: ['organization', 'billing-budget', 'clear'],
138
+ mutationFn: (input: OrganizationBillingBudgetClearInput) => sdk['organization']['billing-budget']['clear'](input),
139
+ });
140
+
141
+ export const organizationBillingBudgetResumeMutationOptions = (sdk: GeneratedClient) => ({
142
+ mutationKey: ['organization', 'billing-budget', 'resume'],
143
+ mutationFn: (input: OrganizationBillingBudgetResumeInput) => sdk['organization']['billing-budget']['resume'](input),
138
144
  });
139
145
 
140
- export const organizationBillingCapsClearMutationOptions = (sdk: GeneratedClient) => ({
141
- mutationKey: ['organization', 'billing-caps', 'clear'],
142
- mutationFn: (input: OrganizationBillingCapsClearInput) => sdk['organization']['billing-caps']['clear'](input),
146
+ export const organizationBillingBudgetSetMutationOptions = (sdk: GeneratedClient) => ({
147
+ mutationKey: ['organization', 'billing-budget', 'set'],
148
+ mutationFn: (input: OrganizationBillingBudgetSetInput) => sdk['organization']['billing-budget']['set'](input),
143
149
  });
144
150
 
145
- export const organizationBillingCapsSetMutationOptions = (sdk: GeneratedClient) => ({
146
- mutationKey: ['organization', 'billing-caps', 'set'],
147
- mutationFn: (input: OrganizationBillingCapsSetInput) => sdk['organization']['billing-caps']['set'](input),
151
+ export const organizationBillingBudgetsGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingBudgetsGetInput) => ({
152
+ queryKey: ['organization', 'billing-budgets', 'get', input] as const,
153
+ queryFn: () => sdk['organization']['billing-budgets']['get'](input),
148
154
  });
149
155
 
150
156
  export const organizationBindingsListQueryOptions = (sdk: GeneratedClient, input: OrganizationBindingsListInput) => ({