@lessly/sdk-app 123.0.0 → 124.1.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.
@@ -1,4 +1,4 @@
1
- import { wsBindings } from '../chunk-TBHRQSEU.js';
1
+ import { wsBindings } from '../chunk-XSWIGIE3.js';
2
2
 
3
3
  // src/gen/playground/queryOptions.gen.ts
4
4
  var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
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": "123.0.0",
4
+ "version": "124.1.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -220,5 +220,5 @@
220
220
  }
221
221
  }
222
222
  },
223
- "sdkContentHash": "sha256:fda437819100041fc41d555613d362588a7a04f9593fa26627734fee438c2197"
223
+ "sdkContentHash": "sha256:83568baaf9cd0a0e5873b361cac6d9ffde73cf9ae4df086f661297339f7670b6"
224
224
  }
@@ -6472,6 +6472,82 @@ export const bindings: BindingsMap = {
6472
6472
  "readOnly": true
6473
6473
  }
6474
6474
  },
6475
+ "billing-invoices": {
6476
+ "list": {
6477
+ "level": "read",
6478
+ "method": "GET",
6479
+ "operationKey": "organization_billing_invoices_list",
6480
+ "params": [
6481
+ {
6482
+ "in": "query",
6483
+ "name": "limit"
6484
+ },
6485
+ {
6486
+ "in": "query",
6487
+ "name": "starting_after"
6488
+ }
6489
+ ],
6490
+ "path": "/governance/api/v1/billing/invoices",
6491
+ "readOnly": true
6492
+ }
6493
+ },
6494
+ "billing-overview": {
6495
+ "get": {
6496
+ "level": "read",
6497
+ "method": "GET",
6498
+ "operationKey": "organization_billing_overview_get",
6499
+ "path": "/governance/api/v1/billing/overview",
6500
+ "readOnly": true
6501
+ }
6502
+ },
6503
+ "billing-plan": {
6504
+ "get": {
6505
+ "level": "read",
6506
+ "method": "GET",
6507
+ "operationKey": "organization_billing_plan_get",
6508
+ "path": "/governance/api/v1/billing/plan",
6509
+ "readOnly": true
6510
+ }
6511
+ },
6512
+ "billing-product-usage": {
6513
+ "get": {
6514
+ "level": "read",
6515
+ "method": "GET",
6516
+ "operationKey": "organization_billing_product-usage_get",
6517
+ "path": "/governance/api/v1/billing/product-usage",
6518
+ "readOnly": true
6519
+ }
6520
+ },
6521
+ "billing-usage": {
6522
+ "get": {
6523
+ "level": "read",
6524
+ "method": "GET",
6525
+ "operationKey": "organization_billing_usage_get",
6526
+ "params": [
6527
+ {
6528
+ "in": "query",
6529
+ "name": "window"
6530
+ }
6531
+ ],
6532
+ "path": "/governance/api/v1/billing/usage",
6533
+ "readOnly": true
6534
+ }
6535
+ },
6536
+ "billing-usage-daily": {
6537
+ "get": {
6538
+ "level": "read",
6539
+ "method": "GET",
6540
+ "operationKey": "organization_billing_usage-daily_get",
6541
+ "params": [
6542
+ {
6543
+ "in": "query",
6544
+ "name": "window"
6545
+ }
6546
+ ],
6547
+ "path": "/governance/api/v1/billing/product-usage/daily",
6548
+ "readOnly": true
6549
+ }
6550
+ },
6475
6551
  "bindings": {
6476
6552
  "list": {
6477
6553
  "level": "read",
@@ -661,6 +661,18 @@ import type {
661
661
  OrganizationBillingBudgetSetOutput,
662
662
  OrganizationBillingBudgetsGetInput,
663
663
  OrganizationBillingBudgetsGetOutput,
664
+ OrganizationBillingInvoicesListInput,
665
+ OrganizationBillingInvoicesListOutput,
666
+ OrganizationBillingOverviewGetInput,
667
+ OrganizationBillingOverviewGetOutput,
668
+ OrganizationBillingPlanGetInput,
669
+ OrganizationBillingPlanGetOutput,
670
+ OrganizationBillingProductUsageGetInput,
671
+ OrganizationBillingProductUsageGetOutput,
672
+ OrganizationBillingUsageDailyGetInput,
673
+ OrganizationBillingUsageDailyGetOutput,
674
+ OrganizationBillingUsageGetInput,
675
+ OrganizationBillingUsageGetOutput,
664
676
  OrganizationBindingsListInput,
665
677
  OrganizationBindingsListOutput,
666
678
  OrganizationClickupInstallInput,
@@ -1908,6 +1920,24 @@ export interface GeneratedClient {
1908
1920
  'billing-budgets': {
1909
1921
  get: ((input: OrganizationBillingBudgetsGetInput) => Promise<OrganizationBillingBudgetsGetOutput>) & Operation;
1910
1922
  };
1923
+ 'billing-invoices': {
1924
+ list: ((input: OrganizationBillingInvoicesListInput) => Promise<OrganizationBillingInvoicesListOutput>) & Operation;
1925
+ };
1926
+ 'billing-overview': {
1927
+ get: ((input: OrganizationBillingOverviewGetInput) => Promise<OrganizationBillingOverviewGetOutput>) & Operation;
1928
+ };
1929
+ 'billing-plan': {
1930
+ get: ((input: OrganizationBillingPlanGetInput) => Promise<OrganizationBillingPlanGetOutput>) & Operation;
1931
+ };
1932
+ 'billing-product-usage': {
1933
+ get: ((input: OrganizationBillingProductUsageGetInput) => Promise<OrganizationBillingProductUsageGetOutput>) & Operation;
1934
+ };
1935
+ 'billing-usage': {
1936
+ get: ((input: OrganizationBillingUsageGetInput) => Promise<OrganizationBillingUsageGetOutput>) & Operation;
1937
+ };
1938
+ 'billing-usage-daily': {
1939
+ get: ((input: OrganizationBillingUsageDailyGetInput) => Promise<OrganizationBillingUsageDailyGetOutput>) & Operation;
1940
+ };
1911
1941
  bindings: {
1912
1942
  list: ((input: OrganizationBindingsListInput) => Promise<OrganizationBindingsListOutput>) & Operation;
1913
1943
  };
@@ -334,6 +334,12 @@ export const operations: Record<string, ToolLevel> = {
334
334
  'organization_billing_budget_resume': 'write',
335
335
  'organization_billing_budget_set': 'write',
336
336
  'organization_billing_budgets_get': 'read',
337
+ 'organization_billing_invoices_list': 'read',
338
+ 'organization_billing_overview_get': 'read',
339
+ 'organization_billing_plan_get': 'read',
340
+ 'organization_billing_product-usage_get': 'read',
341
+ 'organization_billing_usage-daily_get': 'read',
342
+ 'organization_billing_usage_get': 'read',
337
343
  'organization_bindings_list': 'read',
338
344
  'organization_clickup_install': 'read',
339
345
  'organization_clickup_list-installations': 'read',
@@ -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, 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
+ export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetClearInput, OrganizationBillingBudgetClearOutput, OrganizationBillingBudgetResumeInput, OrganizationBillingBudgetResumeOutput, OrganizationBillingBudgetSetInput, OrganizationBillingBudgetSetOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingInvoicesListInput, OrganizationBillingInvoicesListOutput, OrganizationBillingOverviewGetInput, OrganizationBillingOverviewGetOutput, OrganizationBillingPlanGetInput, OrganizationBillingPlanGetOutput, OrganizationBillingProductUsageGetInput, OrganizationBillingProductUsageGetOutput, OrganizationBillingUsageDailyGetInput, OrganizationBillingUsageDailyGetOutput, OrganizationBillingUsageGetInput, OrganizationBillingUsageGetOutput, 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';
@@ -8,6 +8,18 @@ import type {
8
8
  OrganizationBillingBudgetSetInput,
9
9
  OrganizationBillingBudgetsGetInput,
10
10
  OrganizationBillingBudgetsGetOutput,
11
+ OrganizationBillingInvoicesListInput,
12
+ OrganizationBillingInvoicesListOutput,
13
+ OrganizationBillingOverviewGetInput,
14
+ OrganizationBillingOverviewGetOutput,
15
+ OrganizationBillingPlanGetInput,
16
+ OrganizationBillingPlanGetOutput,
17
+ OrganizationBillingProductUsageGetInput,
18
+ OrganizationBillingProductUsageGetOutput,
19
+ OrganizationBillingUsageDailyGetInput,
20
+ OrganizationBillingUsageDailyGetOutput,
21
+ OrganizationBillingUsageGetInput,
22
+ OrganizationBillingUsageGetOutput,
11
23
  OrganizationBindingsListInput,
12
24
  OrganizationBindingsListOutput,
13
25
  OrganizationClickupInstallInput,
@@ -153,6 +165,36 @@ export const organizationBillingBudgetsGetQueryOptions = (sdk: GeneratedClient,
153
165
  queryFn: () => sdk['organization']['billing-budgets']['get'](input),
154
166
  });
155
167
 
168
+ export const organizationBillingInvoicesListQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingInvoicesListInput) => ({
169
+ queryKey: ['organization', 'billing-invoices', 'list', input] as const,
170
+ queryFn: () => sdk['organization']['billing-invoices']['list'](input),
171
+ });
172
+
173
+ export const organizationBillingOverviewGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingOverviewGetInput) => ({
174
+ queryKey: ['organization', 'billing-overview', 'get', input] as const,
175
+ queryFn: () => sdk['organization']['billing-overview']['get'](input),
176
+ });
177
+
178
+ export const organizationBillingPlanGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingPlanGetInput) => ({
179
+ queryKey: ['organization', 'billing-plan', 'get', input] as const,
180
+ queryFn: () => sdk['organization']['billing-plan']['get'](input),
181
+ });
182
+
183
+ export const organizationBillingProductUsageGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingProductUsageGetInput) => ({
184
+ queryKey: ['organization', 'billing-product-usage', 'get', input] as const,
185
+ queryFn: () => sdk['organization']['billing-product-usage']['get'](input),
186
+ });
187
+
188
+ export const organizationBillingUsageDailyGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingUsageDailyGetInput) => ({
189
+ queryKey: ['organization', 'billing-usage-daily', 'get', input] as const,
190
+ queryFn: () => sdk['organization']['billing-usage-daily']['get'](input),
191
+ });
192
+
193
+ export const organizationBillingUsageGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingUsageGetInput) => ({
194
+ queryKey: ['organization', 'billing-usage', 'get', input] as const,
195
+ queryFn: () => sdk['organization']['billing-usage']['get'](input),
196
+ });
197
+
156
198
  export const organizationBindingsListQueryOptions = (sdk: GeneratedClient, input: OrganizationBindingsListInput) => ({
157
199
  queryKey: ['organization', 'bindings', 'list', input] as const,
158
200
  queryFn: () => sdk['organization']['bindings']['list'](input),
@@ -378761,6 +378761,67 @@ export interface OrganizationBillingBudgetsGetOutput {
378761
378761
  [k: string]: unknown
378762
378762
  }
378763
378763
 
378764
+ export interface OrganizationBillingInvoicesListInput {
378765
+ /**
378766
+ * Invoices per page, at most 100.
378767
+ */
378768
+ limit?: number
378769
+ /**
378770
+ * next_cursor from the previous page.
378771
+ */
378772
+ starting_after?: string
378773
+ }
378774
+
378775
+ export interface OrganizationBillingInvoicesListOutput {
378776
+ [k: string]: unknown
378777
+ }
378778
+
378779
+ export interface OrganizationBillingOverviewGetInput {
378780
+
378781
+ }
378782
+
378783
+ export interface OrganizationBillingOverviewGetOutput {
378784
+ [k: string]: unknown
378785
+ }
378786
+
378787
+ export interface OrganizationBillingPlanGetInput {
378788
+
378789
+ }
378790
+
378791
+ export interface OrganizationBillingPlanGetOutput {
378792
+ [k: string]: unknown
378793
+ }
378794
+
378795
+ export interface OrganizationBillingProductUsageGetInput {
378796
+
378797
+ }
378798
+
378799
+ export interface OrganizationBillingProductUsageGetOutput {
378800
+ [k: string]: unknown
378801
+ }
378802
+
378803
+ export interface OrganizationBillingUsageDailyGetInput {
378804
+ /**
378805
+ * UTC calendar month: "current" (the default) or "previous".
378806
+ */
378807
+ window?: ("current" | "previous")
378808
+ }
378809
+
378810
+ export interface OrganizationBillingUsageDailyGetOutput {
378811
+ [k: string]: unknown
378812
+ }
378813
+
378814
+ export interface OrganizationBillingUsageGetInput {
378815
+ /**
378816
+ * UTC calendar month: "current" (the default) or "previous".
378817
+ */
378818
+ window?: ("current" | "previous")
378819
+ }
378820
+
378821
+ export interface OrganizationBillingUsageGetOutput {
378822
+ [k: string]: unknown
378823
+ }
378824
+
378764
378825
  export interface OrganizationBindingsListInput {
378765
378826
  domainId: string
378766
378827
  productId: string