@openmeter/sdk 1.0.0-beta-e6e6f3c7505d → 1.0.0-beta-28410dc8e4e9
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/dist/cjs/src/client/schemas.d.cts +22 -4
- package/dist/cjs/src/zod/index.cjs +10 -2
- package/dist/cjs/src/zod/index.d.cts +6 -0
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.6670daef.tsbuildinfo → tsconfig.3b6c5fad.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.9b61612b.tsbuildinfo → tsconfig.4e3b9994.tsbuildinfo} +1 -1
- package/dist/src/client/schemas.d.ts +22 -4
- package/dist/src/zod/index.d.ts +6 -0
- package/dist/src/zod/index.js +10 -2
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -9934,6 +9934,12 @@ export interface components {
|
|
|
9934
9934
|
'GrantOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
9935
9935
|
/** @description The order by field. */
|
|
9936
9936
|
'GrantOrderByOrdering.orderBy': components['schemas']['GrantOrderBy'];
|
|
9937
|
+
/** @description Filter by invoice created time.
|
|
9938
|
+
* Inclusive. */
|
|
9939
|
+
'InvoiceListParams.createdAfter': Date | string;
|
|
9940
|
+
/** @description Filter by invoice created time.
|
|
9941
|
+
* Inclusive. */
|
|
9942
|
+
'InvoiceListParams.createdBefore': Date | string;
|
|
9937
9943
|
/** @description Filter by customer ID */
|
|
9938
9944
|
'InvoiceListParams.customers': string[];
|
|
9939
9945
|
/** @description What parts of the list output to expand in listings */
|
|
@@ -9942,9 +9948,11 @@ export interface components {
|
|
|
9942
9948
|
'InvoiceListParams.extendedStatuses': string[];
|
|
9943
9949
|
/** @description Include deleted invoices */
|
|
9944
9950
|
'InvoiceListParams.includeDeleted': boolean;
|
|
9945
|
-
/** @description Filter by invoice
|
|
9951
|
+
/** @description Filter by invoice issued time.
|
|
9952
|
+
* Inclusive. */
|
|
9946
9953
|
'InvoiceListParams.issuedAfter': Date | string;
|
|
9947
|
-
/** @description Filter by invoice
|
|
9954
|
+
/** @description Filter by invoice issued time.
|
|
9955
|
+
* Inclusive. */
|
|
9948
9956
|
'InvoiceListParams.issuedBefore': Date | string;
|
|
9949
9957
|
/** @description Filter by the invoice status. */
|
|
9950
9958
|
'InvoiceListParams.statuses': components['schemas']['InvoiceStatus'][];
|
|
@@ -10471,6 +10479,8 @@ export type ParameterFeatureOrderByOrderingOrder = components['parameters']['Fea
|
|
|
10471
10479
|
export type ParameterFeatureOrderByOrderingOrderBy = components['parameters']['FeatureOrderByOrdering.orderBy'];
|
|
10472
10480
|
export type ParameterGrantOrderByOrderingOrder = components['parameters']['GrantOrderByOrdering.order'];
|
|
10473
10481
|
export type ParameterGrantOrderByOrderingOrderBy = components['parameters']['GrantOrderByOrdering.orderBy'];
|
|
10482
|
+
export type ParameterInvoiceListParamsCreatedAfter = components['parameters']['InvoiceListParams.createdAfter'];
|
|
10483
|
+
export type ParameterInvoiceListParamsCreatedBefore = components['parameters']['InvoiceListParams.createdBefore'];
|
|
10474
10484
|
export type ParameterInvoiceListParamsCustomers = components['parameters']['InvoiceListParams.customers'];
|
|
10475
10485
|
export type ParameterInvoiceListParamsExpand = components['parameters']['InvoiceListParams.expand'];
|
|
10476
10486
|
export type ParameterInvoiceListParamsExtendedStatuses = components['parameters']['InvoiceListParams.extendedStatuses'];
|
|
@@ -12523,10 +12533,18 @@ export interface operations {
|
|
|
12523
12533
|
statuses?: components['parameters']['InvoiceListParams.statuses'];
|
|
12524
12534
|
/** @description Filter by invoice extended statuses */
|
|
12525
12535
|
extendedStatuses?: components['parameters']['InvoiceListParams.extendedStatuses'];
|
|
12526
|
-
/** @description Filter by invoice
|
|
12536
|
+
/** @description Filter by invoice issued time.
|
|
12537
|
+
* Inclusive. */
|
|
12527
12538
|
issuedAfter?: components['parameters']['InvoiceListParams.issuedAfter'];
|
|
12528
|
-
/** @description Filter by invoice
|
|
12539
|
+
/** @description Filter by invoice issued time.
|
|
12540
|
+
* Inclusive. */
|
|
12529
12541
|
issuedBefore?: components['parameters']['InvoiceListParams.issuedBefore'];
|
|
12542
|
+
/** @description Filter by invoice created time.
|
|
12543
|
+
* Inclusive. */
|
|
12544
|
+
createdAfter?: components['parameters']['InvoiceListParams.createdAfter'];
|
|
12545
|
+
/** @description Filter by invoice created time.
|
|
12546
|
+
* Inclusive. */
|
|
12547
|
+
createdBefore?: components['parameters']['InvoiceListParams.createdBefore'];
|
|
12530
12548
|
/** @description What parts of the list output to expand in listings */
|
|
12531
12549
|
expand?: components['parameters']['InvoiceListParams.expand'];
|
|
12532
12550
|
/** @description Filter by customer ID */
|
|
@@ -2468,6 +2468,14 @@ exports.listInvoicesQueryPageDefault = 1;
|
|
|
2468
2468
|
exports.listInvoicesQueryPageSizeDefault = 100;
|
|
2469
2469
|
exports.listInvoicesQueryPageSizeMax = 1000;
|
|
2470
2470
|
exports.listInvoicesQueryParams = zod_1.z.object({
|
|
2471
|
+
createdAfter: zod_1.z
|
|
2472
|
+
.date()
|
|
2473
|
+
.optional()
|
|
2474
|
+
.describe('Filter by invoice created time.\nInclusive.'),
|
|
2475
|
+
createdBefore: zod_1.z
|
|
2476
|
+
.date()
|
|
2477
|
+
.optional()
|
|
2478
|
+
.describe('Filter by invoice created time.\nInclusive.'),
|
|
2471
2479
|
customers: zod_1.z
|
|
2472
2480
|
.array(zod_1.z
|
|
2473
2481
|
.string()
|
|
@@ -2489,11 +2497,11 @@ exports.listInvoicesQueryParams = zod_1.z.object({
|
|
|
2489
2497
|
issuedAfter: zod_1.z
|
|
2490
2498
|
.date()
|
|
2491
2499
|
.optional()
|
|
2492
|
-
.describe('Filter by invoice
|
|
2500
|
+
.describe('Filter by invoice issued time.\nInclusive.'),
|
|
2493
2501
|
issuedBefore: zod_1.z
|
|
2494
2502
|
.date()
|
|
2495
2503
|
.optional()
|
|
2496
|
-
.describe('Filter by invoice
|
|
2504
|
+
.describe('Filter by invoice issued time.\nInclusive.'),
|
|
2497
2505
|
order: zod_1.z.enum(['ASC', 'DESC']).optional().describe('The order direction.'),
|
|
2498
2506
|
orderBy: zod_1.z
|
|
2499
2507
|
.enum(['customer.name', 'issuedAt', 'status', 'createdAt', 'updatedAt'])
|
|
@@ -3980,6 +3980,8 @@ export declare const listInvoicesQueryPageDefault = 1;
|
|
|
3980
3980
|
export declare const listInvoicesQueryPageSizeDefault = 100;
|
|
3981
3981
|
export declare const listInvoicesQueryPageSizeMax = 1000;
|
|
3982
3982
|
export declare const listInvoicesQueryParams: zod.ZodObject<{
|
|
3983
|
+
createdAfter: zod.ZodOptional<zod.ZodDate>;
|
|
3984
|
+
createdBefore: zod.ZodOptional<zod.ZodDate>;
|
|
3983
3985
|
customers: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
3984
3986
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<["lines", "preceding", "workflow.apps"]>, "many">>;
|
|
3985
3987
|
extendedStatuses: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -3998,6 +4000,8 @@ export declare const listInvoicesQueryParams: zod.ZodObject<{
|
|
|
3998
4000
|
orderBy?: "createdAt" | "updatedAt" | "customer.name" | "issuedAt" | "status" | undefined;
|
|
3999
4001
|
includeDeleted?: boolean | undefined;
|
|
4000
4002
|
expand?: ("lines" | "preceding" | "workflow.apps")[] | undefined;
|
|
4003
|
+
createdAfter?: Date | undefined;
|
|
4004
|
+
createdBefore?: Date | undefined;
|
|
4001
4005
|
customers?: string[] | undefined;
|
|
4002
4006
|
extendedStatuses?: string[] | undefined;
|
|
4003
4007
|
issuedAfter?: Date | undefined;
|
|
@@ -4010,6 +4014,8 @@ export declare const listInvoicesQueryParams: zod.ZodObject<{
|
|
|
4010
4014
|
orderBy?: "createdAt" | "updatedAt" | "customer.name" | "issuedAt" | "status" | undefined;
|
|
4011
4015
|
includeDeleted?: boolean | undefined;
|
|
4012
4016
|
expand?: ("lines" | "preceding" | "workflow.apps")[] | undefined;
|
|
4017
|
+
createdAfter?: Date | undefined;
|
|
4018
|
+
createdBefore?: Date | undefined;
|
|
4013
4019
|
customers?: string[] | undefined;
|
|
4014
4020
|
extendedStatuses?: string[] | undefined;
|
|
4015
4021
|
issuedAfter?: Date | undefined;
|