@openmeter/sdk 1.0.0-beta.214 → 1.0.0-beta.215
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 +82 -28
- package/dist/cjs/src/zod/index.cjs +1432 -1284
- package/dist/cjs/src/zod/index.d.cts +24 -21
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.4615b2f8.tsbuildinfo → tsconfig.8e260acb.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.9c445eac.tsbuildinfo → tsconfig.a3b81684.tsbuildinfo} +1 -1
- package/dist/src/client/schemas.d.ts +82 -28
- package/dist/src/zod/index.d.ts +24 -21
- package/dist/src/zod/index.js +1430 -1282
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/orval.config.ts +11 -4
- package/package.json +1 -1
|
@@ -2350,10 +2350,16 @@ export interface components {
|
|
|
2350
2350
|
/** @description Phone number. */
|
|
2351
2351
|
phoneNumber?: string;
|
|
2352
2352
|
};
|
|
2353
|
-
/**
|
|
2353
|
+
/**
|
|
2354
|
+
* @deprecated
|
|
2355
|
+
* @description Alignment configuration for a plan or subscription.
|
|
2356
|
+
*/
|
|
2354
2357
|
Alignment: {
|
|
2355
|
-
/**
|
|
2356
|
-
*
|
|
2358
|
+
/**
|
|
2359
|
+
* @deprecated
|
|
2360
|
+
* @description Whether all Billable items and RateCards must align.
|
|
2361
|
+
* Alignment means the Price's BillingCadence must align for both duration and anchor time.
|
|
2362
|
+
*/
|
|
2357
2363
|
billablesMustAlign?: boolean;
|
|
2358
2364
|
};
|
|
2359
2365
|
/**
|
|
@@ -9238,8 +9244,11 @@ export interface components {
|
|
|
9238
9244
|
};
|
|
9239
9245
|
/** @description Alignment details enriched with the current billing period. */
|
|
9240
9246
|
SubscriptionAlignment: {
|
|
9241
|
-
/**
|
|
9242
|
-
*
|
|
9247
|
+
/**
|
|
9248
|
+
* @deprecated
|
|
9249
|
+
* @description Whether all Billable items and RateCards must align.
|
|
9250
|
+
* Alignment means the Price's BillingCadence must align for both duration and anchor time.
|
|
9251
|
+
*/
|
|
9243
9252
|
billablesMustAlign?: boolean;
|
|
9244
9253
|
/** @description The current billing period. Only has value if the subscription is aligned and active. */
|
|
9245
9254
|
currentAlignedBillingPeriod?: components['schemas']['Period'];
|
|
@@ -9682,6 +9691,8 @@ export interface components {
|
|
|
9682
9691
|
*/
|
|
9683
9692
|
maximumAmount?: components['schemas']['Numeric'];
|
|
9684
9693
|
};
|
|
9694
|
+
/** @description ULID (Universally Unique Lexicographically Sortable Identifier) or external unique key. */
|
|
9695
|
+
ULIDOrExternalKey: string;
|
|
9685
9696
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
9686
9697
|
UnauthorizedProblemResponse: components['schemas']['UnexpectedProblemResponse'];
|
|
9687
9698
|
/** @description A Problem Details object (RFC 7807).
|
|
@@ -9717,7 +9728,7 @@ export interface components {
|
|
|
9717
9728
|
*/
|
|
9718
9729
|
instance: string;
|
|
9719
9730
|
} & {
|
|
9720
|
-
[key: string]:
|
|
9731
|
+
[key: string]: unknown;
|
|
9721
9732
|
};
|
|
9722
9733
|
/** @description Unit price. */
|
|
9723
9734
|
UnitPrice: {
|
|
@@ -9749,7 +9760,7 @@ export interface components {
|
|
|
9749
9760
|
*/
|
|
9750
9761
|
maximumAmount?: components['schemas']['Numeric'];
|
|
9751
9762
|
};
|
|
9752
|
-
/** @description Validation errors providing
|
|
9763
|
+
/** @description Validation errors providing detailed description of the issue. */
|
|
9753
9764
|
ValidationError: {
|
|
9754
9765
|
/**
|
|
9755
9766
|
* @description The path to the field.
|
|
@@ -9769,6 +9780,42 @@ export interface components {
|
|
|
9769
9780
|
/** @description Additional attributes. */
|
|
9770
9781
|
readonly attributes?: components['schemas']['Annotations'];
|
|
9771
9782
|
};
|
|
9783
|
+
/** @description A BadRequestError with a validationErrors extension. */
|
|
9784
|
+
ValidationErrorProblemResponse: {
|
|
9785
|
+
/**
|
|
9786
|
+
* Format: uri
|
|
9787
|
+
* @description Type contains a URI that identifies the problem type.
|
|
9788
|
+
* @default about:blank
|
|
9789
|
+
* @example about:blank
|
|
9790
|
+
*/
|
|
9791
|
+
type: string;
|
|
9792
|
+
/**
|
|
9793
|
+
* @description A a short, human-readable summary of the problem type.
|
|
9794
|
+
* @example Bad Request
|
|
9795
|
+
*/
|
|
9796
|
+
title: string;
|
|
9797
|
+
/**
|
|
9798
|
+
* Format: int16
|
|
9799
|
+
* @description The HTTP status code generated by the origin server for this occurrence of the problem.
|
|
9800
|
+
* @example 400
|
|
9801
|
+
*/
|
|
9802
|
+
status?: number;
|
|
9803
|
+
/**
|
|
9804
|
+
* @description A human-readable explanation specific to this occurrence of the problem.
|
|
9805
|
+
* @example The request body must be a JSON object.
|
|
9806
|
+
*/
|
|
9807
|
+
detail: string;
|
|
9808
|
+
/**
|
|
9809
|
+
* Format: uri
|
|
9810
|
+
* @description A URI reference that identifies the specific occurrence of the problem.
|
|
9811
|
+
* @example urn:request:local/JMOlctsKV8-000001
|
|
9812
|
+
*/
|
|
9813
|
+
instance: string;
|
|
9814
|
+
/** @description Validation issues. */
|
|
9815
|
+
readonly extensions?: {
|
|
9816
|
+
validationErrors?: components['schemas']['ValidationError'][];
|
|
9817
|
+
};
|
|
9818
|
+
};
|
|
9772
9819
|
/** @description ValidationIssue captures any validation issues related to the invoice.
|
|
9773
9820
|
*
|
|
9774
9821
|
* Issues with severity "critical" will prevent the invoice from being issued. */
|
|
@@ -9934,6 +9981,8 @@ export interface components {
|
|
|
9934
9981
|
'BillingProfileListCustomerOverridesParams.customerName': string;
|
|
9935
9982
|
/** @description Filter by customer primary email */
|
|
9936
9983
|
'BillingProfileListCustomerOverridesParams.customerPrimaryEmail': string;
|
|
9984
|
+
/** @description Only return customers without pinned billing profiles. This implicitly sets includeAllCustomers to true. */
|
|
9985
|
+
'BillingProfileListCustomerOverridesParams.customersWithoutPinnedProfile': boolean;
|
|
9937
9986
|
/** @description Expand the response with additional details. */
|
|
9938
9987
|
'BillingProfileListCustomerOverridesParams.expand': components['schemas']['BillingProfileCustomerOverrideExpand'][];
|
|
9939
9988
|
/** @description Include customers without customer overrides.
|
|
@@ -10475,11 +10524,13 @@ export type TaxBehavior = components['schemas']['TaxBehavior'];
|
|
|
10475
10524
|
export type TaxConfig = components['schemas']['TaxConfig'];
|
|
10476
10525
|
export type TieredPriceMode = components['schemas']['TieredPriceMode'];
|
|
10477
10526
|
export type TieredPriceWithCommitments = components['schemas']['TieredPriceWithCommitments'];
|
|
10527
|
+
export type UlidOrExternalKey = components['schemas']['ULIDOrExternalKey'];
|
|
10478
10528
|
export type UnauthorizedProblemResponse = components['schemas']['UnauthorizedProblemResponse'];
|
|
10479
10529
|
export type UnexpectedProblemResponse = components['schemas']['UnexpectedProblemResponse'];
|
|
10480
10530
|
export type UnitPrice = components['schemas']['UnitPrice'];
|
|
10481
10531
|
export type UnitPriceWithCommitments = components['schemas']['UnitPriceWithCommitments'];
|
|
10482
10532
|
export type ValidationError = components['schemas']['ValidationError'];
|
|
10533
|
+
export type ValidationErrorProblemResponse = components['schemas']['ValidationErrorProblemResponse'];
|
|
10483
10534
|
export type ValidationIssue = components['schemas']['ValidationIssue'];
|
|
10484
10535
|
export type ValidationIssueSeverity = components['schemas']['ValidationIssueSeverity'];
|
|
10485
10536
|
export type VoidInvoiceActionCreate = components['schemas']['VoidInvoiceActionCreate'];
|
|
@@ -10502,6 +10553,7 @@ export type ParameterBillingProfileListCustomerOverridesParamsCustomerId = compo
|
|
|
10502
10553
|
export type ParameterBillingProfileListCustomerOverridesParamsCustomerKey = components['parameters']['BillingProfileListCustomerOverridesParams.customerKey'];
|
|
10503
10554
|
export type ParameterBillingProfileListCustomerOverridesParamsCustomerName = components['parameters']['BillingProfileListCustomerOverridesParams.customerName'];
|
|
10504
10555
|
export type ParameterBillingProfileListCustomerOverridesParamsCustomerPrimaryEmail = components['parameters']['BillingProfileListCustomerOverridesParams.customerPrimaryEmail'];
|
|
10556
|
+
export type ParameterBillingProfileListCustomerOverridesParamsCustomersWithoutPinnedProfile = components['parameters']['BillingProfileListCustomerOverridesParams.customersWithoutPinnedProfile'];
|
|
10505
10557
|
export type ParameterBillingProfileListCustomerOverridesParamsExpand = components['parameters']['BillingProfileListCustomerOverridesParams.expand'];
|
|
10506
10558
|
export type ParameterBillingProfileListCustomerOverridesParamsIncludeAllCustomers = components['parameters']['BillingProfileListCustomerOverridesParams.includeAllCustomers'];
|
|
10507
10559
|
export type ParameterBillingProfileOrderByOrderingOrder = components['parameters']['BillingProfileOrderByOrdering.order'];
|
|
@@ -12081,6 +12133,8 @@ export interface operations {
|
|
|
12081
12133
|
query?: {
|
|
12082
12134
|
/** @description Filter by billing profile. */
|
|
12083
12135
|
billingProfile?: components['parameters']['BillingProfileListCustomerOverridesParams.billingProfile'];
|
|
12136
|
+
/** @description Only return customers without pinned billing profiles. This implicitly sets includeAllCustomers to true. */
|
|
12137
|
+
customersWithoutPinnedProfile?: components['parameters']['BillingProfileListCustomerOverridesParams.customersWithoutPinnedProfile'];
|
|
12084
12138
|
/** @description Include customers without customer overrides.
|
|
12085
12139
|
*
|
|
12086
12140
|
* If set to false only the customers specifically associated with a billing profile will be returned.
|
|
@@ -14400,7 +14454,7 @@ export interface operations {
|
|
|
14400
14454
|
};
|
|
14401
14455
|
header?: never;
|
|
14402
14456
|
path: {
|
|
14403
|
-
customerIdOrKey:
|
|
14457
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
14404
14458
|
};
|
|
14405
14459
|
cookie?: never;
|
|
14406
14460
|
};
|
|
@@ -14494,7 +14548,7 @@ export interface operations {
|
|
|
14494
14548
|
query?: never;
|
|
14495
14549
|
header?: never;
|
|
14496
14550
|
path: {
|
|
14497
|
-
customerIdOrKey:
|
|
14551
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
14498
14552
|
};
|
|
14499
14553
|
cookie?: never;
|
|
14500
14554
|
};
|
|
@@ -14592,7 +14646,7 @@ export interface operations {
|
|
|
14592
14646
|
query?: never;
|
|
14593
14647
|
header?: never;
|
|
14594
14648
|
path: {
|
|
14595
|
-
customerIdOrKey:
|
|
14649
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
14596
14650
|
};
|
|
14597
14651
|
cookie?: never;
|
|
14598
14652
|
};
|
|
@@ -14789,7 +14843,7 @@ export interface operations {
|
|
|
14789
14843
|
};
|
|
14790
14844
|
header?: never;
|
|
14791
14845
|
path: {
|
|
14792
|
-
customerIdOrKey:
|
|
14846
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
14793
14847
|
};
|
|
14794
14848
|
cookie?: never;
|
|
14795
14849
|
};
|
|
@@ -14883,7 +14937,7 @@ export interface operations {
|
|
|
14883
14937
|
query?: never;
|
|
14884
14938
|
header?: never;
|
|
14885
14939
|
path: {
|
|
14886
|
-
customerIdOrKey:
|
|
14940
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
14887
14941
|
};
|
|
14888
14942
|
cookie?: never;
|
|
14889
14943
|
};
|
|
@@ -14981,7 +15035,7 @@ export interface operations {
|
|
|
14981
15035
|
query?: never;
|
|
14982
15036
|
header?: never;
|
|
14983
15037
|
path: {
|
|
14984
|
-
customerIdOrKey:
|
|
15038
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
14985
15039
|
appId: string;
|
|
14986
15040
|
};
|
|
14987
15041
|
cookie?: never;
|
|
@@ -15180,7 +15234,7 @@ export interface operations {
|
|
|
15180
15234
|
};
|
|
15181
15235
|
header?: never;
|
|
15182
15236
|
path: {
|
|
15183
|
-
customerIdOrKey:
|
|
15237
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
15184
15238
|
};
|
|
15185
15239
|
cookie?: never;
|
|
15186
15240
|
};
|
|
@@ -22240,13 +22294,13 @@ export interface operations {
|
|
|
22240
22294
|
'application/json': components['schemas']['Subscription'];
|
|
22241
22295
|
};
|
|
22242
22296
|
};
|
|
22243
|
-
/** @description
|
|
22297
|
+
/** @description A BadRequestError with a validationErrors extension. */
|
|
22244
22298
|
400: {
|
|
22245
22299
|
headers: {
|
|
22246
22300
|
[name: string]: unknown;
|
|
22247
22301
|
};
|
|
22248
22302
|
content: {
|
|
22249
|
-
'application/problem+json': components['schemas']['
|
|
22303
|
+
'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
|
|
22250
22304
|
};
|
|
22251
22305
|
};
|
|
22252
22306
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -22429,13 +22483,13 @@ export interface operations {
|
|
|
22429
22483
|
};
|
|
22430
22484
|
content?: never;
|
|
22431
22485
|
};
|
|
22432
|
-
/** @description
|
|
22486
|
+
/** @description A BadRequestError with a validationErrors extension. */
|
|
22433
22487
|
400: {
|
|
22434
22488
|
headers: {
|
|
22435
22489
|
[name: string]: unknown;
|
|
22436
22490
|
};
|
|
22437
22491
|
content: {
|
|
22438
|
-
'application/problem+json': components['schemas']['
|
|
22492
|
+
'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
|
|
22439
22493
|
};
|
|
22440
22494
|
};
|
|
22441
22495
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -22527,13 +22581,13 @@ export interface operations {
|
|
|
22527
22581
|
'application/json': components['schemas']['Subscription'];
|
|
22528
22582
|
};
|
|
22529
22583
|
};
|
|
22530
|
-
/** @description
|
|
22584
|
+
/** @description A BadRequestError with a validationErrors extension. */
|
|
22531
22585
|
400: {
|
|
22532
22586
|
headers: {
|
|
22533
22587
|
[name: string]: unknown;
|
|
22534
22588
|
};
|
|
22535
22589
|
content: {
|
|
22536
|
-
'application/problem+json': components['schemas']['
|
|
22590
|
+
'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
|
|
22537
22591
|
};
|
|
22538
22592
|
};
|
|
22539
22593
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23032,13 +23086,13 @@ export interface operations {
|
|
|
23032
23086
|
'application/json': components['schemas']['Subscription'];
|
|
23033
23087
|
};
|
|
23034
23088
|
};
|
|
23035
|
-
/** @description
|
|
23089
|
+
/** @description A BadRequestError with a validationErrors extension. */
|
|
23036
23090
|
400: {
|
|
23037
23091
|
headers: {
|
|
23038
23092
|
[name: string]: unknown;
|
|
23039
23093
|
};
|
|
23040
23094
|
content: {
|
|
23041
|
-
'application/problem+json': components['schemas']['
|
|
23095
|
+
'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
|
|
23042
23096
|
};
|
|
23043
23097
|
};
|
|
23044
23098
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23139,13 +23193,13 @@ export interface operations {
|
|
|
23139
23193
|
'application/json': components['schemas']['SubscriptionChangeResponseBody'];
|
|
23140
23194
|
};
|
|
23141
23195
|
};
|
|
23142
|
-
/** @description
|
|
23196
|
+
/** @description A BadRequestError with a validationErrors extension. */
|
|
23143
23197
|
400: {
|
|
23144
23198
|
headers: {
|
|
23145
23199
|
[name: string]: unknown;
|
|
23146
23200
|
};
|
|
23147
23201
|
content: {
|
|
23148
|
-
'application/problem+json': components['schemas']['
|
|
23202
|
+
'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
|
|
23149
23203
|
};
|
|
23150
23204
|
};
|
|
23151
23205
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23265,13 +23319,13 @@ export interface operations {
|
|
|
23265
23319
|
'application/json': components['schemas']['SubscriptionChangeResponseBody'];
|
|
23266
23320
|
};
|
|
23267
23321
|
};
|
|
23268
|
-
/** @description
|
|
23322
|
+
/** @description A BadRequestError with a validationErrors extension. */
|
|
23269
23323
|
400: {
|
|
23270
23324
|
headers: {
|
|
23271
23325
|
[name: string]: unknown;
|
|
23272
23326
|
};
|
|
23273
23327
|
content: {
|
|
23274
|
-
'application/problem+json': components['schemas']['
|
|
23328
|
+
'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
|
|
23275
23329
|
};
|
|
23276
23330
|
};
|
|
23277
23331
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23462,13 +23516,13 @@ export interface operations {
|
|
|
23462
23516
|
'application/json': components['schemas']['Subscription'];
|
|
23463
23517
|
};
|
|
23464
23518
|
};
|
|
23465
|
-
/** @description
|
|
23519
|
+
/** @description A BadRequestError with a validationErrors extension. */
|
|
23466
23520
|
400: {
|
|
23467
23521
|
headers: {
|
|
23468
23522
|
[name: string]: unknown;
|
|
23469
23523
|
};
|
|
23470
23524
|
content: {
|
|
23471
|
-
'application/problem+json': components['schemas']['
|
|
23525
|
+
'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
|
|
23472
23526
|
};
|
|
23473
23527
|
};
|
|
23474
23528
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|