@openmeter/sdk 1.0.0-beta.218 → 1.0.0-beta.219
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/zod/index.cjs +2197 -2113
- package/dist/cjs/src/zod/index.d.cts +48 -90
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.21480b11.tsbuildinfo → tsconfig.3fe7ed83.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.a01f809d.tsbuildinfo → tsconfig.b864c4b4.tsbuildinfo} +1 -1
- package/dist/src/zod/index.d.ts +48 -90
- package/dist/src/zod/index.js +2181 -2096
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +22 -22
- package/patches/openapi-typescript.patch +6159 -38
package/dist/src/zod/index.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
112
112
|
key: zod.ZodString;
|
|
113
113
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
114
114
|
name: zod.ZodString;
|
|
115
|
-
rateCards: zod.ZodArray<zod.
|
|
115
|
+
rateCards: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
116
116
|
billingCadence: zod.ZodNullable<zod.ZodString>;
|
|
117
117
|
description: zod.ZodOptional<zod.ZodString>;
|
|
118
118
|
discounts: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -145,7 +145,7 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
145
145
|
quantity: string;
|
|
146
146
|
} | undefined;
|
|
147
147
|
}>>;
|
|
148
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
148
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
149
149
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
150
150
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
151
151
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -367,7 +367,7 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
367
367
|
quantity: string;
|
|
368
368
|
} | undefined;
|
|
369
369
|
}>>;
|
|
370
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
370
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
371
371
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
372
372
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
373
373
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -417,7 +417,7 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
417
417
|
key: zod.ZodString;
|
|
418
418
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
419
419
|
name: zod.ZodString;
|
|
420
|
-
price: zod.ZodNullable<zod.
|
|
420
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
421
421
|
amount: zod.ZodString;
|
|
422
422
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
423
423
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -1079,7 +1079,7 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
1079
1079
|
instanceType: zod.ZodEnum<["single", "multiple"]>;
|
|
1080
1080
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
1081
1081
|
name: zod.ZodString;
|
|
1082
|
-
rateCards: zod.ZodArray<zod.
|
|
1082
|
+
rateCards: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
1083
1083
|
billingCadence: zod.ZodNullable<zod.ZodString>;
|
|
1084
1084
|
description: zod.ZodOptional<zod.ZodString>;
|
|
1085
1085
|
discounts: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -1112,7 +1112,7 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
1112
1112
|
quantity: string;
|
|
1113
1113
|
} | undefined;
|
|
1114
1114
|
}>>;
|
|
1115
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
1115
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
1116
1116
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
1117
1117
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
1118
1118
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -1334,7 +1334,7 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
1334
1334
|
quantity: string;
|
|
1335
1335
|
} | undefined;
|
|
1336
1336
|
}>>;
|
|
1337
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
1337
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
1338
1338
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
1339
1339
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
1340
1340
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -1384,7 +1384,7 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
1384
1384
|
key: zod.ZodString;
|
|
1385
1385
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
1386
1386
|
name: zod.ZodString;
|
|
1387
|
-
price: zod.ZodNullable<zod.
|
|
1387
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
1388
1388
|
amount: zod.ZodString;
|
|
1389
1389
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
1390
1390
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -2236,7 +2236,7 @@ export declare const updateAppBodyNameMaxOne = 256;
|
|
|
2236
2236
|
export declare const updateAppBodyDescriptionMaxOne = 1024;
|
|
2237
2237
|
export declare const updateAppBodyNameMaxTwo = 256;
|
|
2238
2238
|
export declare const updateAppBodyDescriptionMaxTwo = 1024;
|
|
2239
|
-
export declare const updateAppBody: zod.
|
|
2239
|
+
export declare const updateAppBody: zod.ZodUnion<[zod.ZodObject<{
|
|
2240
2240
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2241
2241
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2242
2242
|
name: zod.ZodString;
|
|
@@ -2570,7 +2570,7 @@ export declare const createPendingInvoiceLineBody: zod.ZodObject<{
|
|
|
2570
2570
|
from: Date;
|
|
2571
2571
|
to: Date;
|
|
2572
2572
|
}>;
|
|
2573
|
-
price: zod.ZodOptional<zod.
|
|
2573
|
+
price: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
2574
2574
|
amount: zod.ZodString;
|
|
2575
2575
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
2576
2576
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -2753,7 +2753,7 @@ export declare const createPendingInvoiceLineBody: zod.ZodObject<{
|
|
|
2753
2753
|
} | undefined;
|
|
2754
2754
|
}>>;
|
|
2755
2755
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
2756
|
-
price: zod.ZodNullable<zod.
|
|
2756
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
2757
2757
|
amount: zod.ZodString;
|
|
2758
2758
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
2759
2759
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -3635,7 +3635,7 @@ export declare const simulateInvoiceBody: zod.ZodObject<{
|
|
|
3635
3635
|
to: Date;
|
|
3636
3636
|
}>;
|
|
3637
3637
|
preLinePeriodQuantity: zod.ZodOptional<zod.ZodString>;
|
|
3638
|
-
price: zod.ZodOptional<zod.
|
|
3638
|
+
price: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
3639
3639
|
amount: zod.ZodString;
|
|
3640
3640
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
3641
3641
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -3819,7 +3819,7 @@ export declare const simulateInvoiceBody: zod.ZodObject<{
|
|
|
3819
3819
|
} | undefined;
|
|
3820
3820
|
}>>;
|
|
3821
3821
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
3822
|
-
price: zod.ZodNullable<zod.
|
|
3822
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
3823
3823
|
amount: zod.ZodString;
|
|
3824
3824
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
3825
3825
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -4930,7 +4930,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
4930
4930
|
from: Date;
|
|
4931
4931
|
to: Date;
|
|
4932
4932
|
}>;
|
|
4933
|
-
price: zod.ZodOptional<zod.
|
|
4933
|
+
price: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
4934
4934
|
amount: zod.ZodString;
|
|
4935
4935
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
4936
4936
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -5113,7 +5113,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
5113
5113
|
} | undefined;
|
|
5114
5114
|
}>>;
|
|
5115
5115
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
5116
|
-
price: zod.ZodNullable<zod.
|
|
5116
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
5117
5117
|
amount: zod.ZodString;
|
|
5118
5118
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
5119
5119
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -6326,7 +6326,7 @@ export declare const voidInvoiceActionParams: zod.ZodObject<{
|
|
|
6326
6326
|
export declare const voidInvoiceActionBodyOverridesItemLineIdRegExp: RegExp;
|
|
6327
6327
|
export declare const voidInvoiceActionBody: zod.ZodObject<{
|
|
6328
6328
|
action: zod.ZodObject<{
|
|
6329
|
-
action: zod.
|
|
6329
|
+
action: zod.ZodUnion<[zod.ZodObject<{
|
|
6330
6330
|
type: zod.ZodEnum<["discard"]>;
|
|
6331
6331
|
}, "strip", zod.ZodTypeAny, {
|
|
6332
6332
|
type: "discard";
|
|
@@ -6362,7 +6362,7 @@ export declare const voidInvoiceActionBody: zod.ZodObject<{
|
|
|
6362
6362
|
}>;
|
|
6363
6363
|
overrides: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
6364
6364
|
action: zod.ZodObject<{
|
|
6365
|
-
action: zod.
|
|
6365
|
+
action: zod.ZodUnion<[zod.ZodObject<{
|
|
6366
6366
|
type: zod.ZodEnum<["discard"]>;
|
|
6367
6367
|
}, "strip", zod.ZodTypeAny, {
|
|
6368
6368
|
type: "discard";
|
|
@@ -7445,8 +7445,6 @@ export declare const listCustomersQueryParams: zod.ZodObject<{
|
|
|
7445
7445
|
* Get a customer by ID or key.
|
|
7446
7446
|
* @summary Get customer
|
|
7447
7447
|
*/
|
|
7448
|
-
export declare const getCustomerPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7449
|
-
export declare const getCustomerPathCustomerIdOrKeyMaxTwo = 256;
|
|
7450
7448
|
export declare const getCustomerParams: zod.ZodObject<{
|
|
7451
7449
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7452
7450
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7465,8 +7463,6 @@ export declare const getCustomerQueryParams: zod.ZodObject<{
|
|
|
7465
7463
|
* Update a customer by ID.
|
|
7466
7464
|
* @summary Update customer
|
|
7467
7465
|
*/
|
|
7468
|
-
export declare const updateCustomerPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7469
|
-
export declare const updateCustomerPathCustomerIdOrKeyMaxTwo = 256;
|
|
7470
7466
|
export declare const updateCustomerParams: zod.ZodObject<{
|
|
7471
7467
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7472
7468
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7566,8 +7562,6 @@ export declare const updateCustomerBody: zod.ZodObject<{
|
|
|
7566
7562
|
* Delete a customer by ID.
|
|
7567
7563
|
* @summary Delete customer
|
|
7568
7564
|
*/
|
|
7569
|
-
export declare const deleteCustomerPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7570
|
-
export declare const deleteCustomerPathCustomerIdOrKeyMaxTwo = 256;
|
|
7571
7565
|
export declare const deleteCustomerParams: zod.ZodObject<{
|
|
7572
7566
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7573
7567
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7579,8 +7573,6 @@ export declare const deleteCustomerParams: zod.ZodObject<{
|
|
|
7579
7573
|
* Get the overall access of a customer.
|
|
7580
7574
|
* @summary Get customer access
|
|
7581
7575
|
*/
|
|
7582
|
-
export declare const getCustomerAccessPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7583
|
-
export declare const getCustomerAccessPathCustomerIdOrKeyMaxTwo = 256;
|
|
7584
7576
|
export declare const getCustomerAccessParams: zod.ZodObject<{
|
|
7585
7577
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7586
7578
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7592,8 +7584,6 @@ export declare const getCustomerAccessParams: zod.ZodObject<{
|
|
|
7592
7584
|
* List customers app data.
|
|
7593
7585
|
* @summary List customer app data
|
|
7594
7586
|
*/
|
|
7595
|
-
export declare const listCustomerAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7596
|
-
export declare const listCustomerAppDataPathCustomerIdOrKeyMaxTwo = 256;
|
|
7597
7587
|
export declare const listCustomerAppDataParams: zod.ZodObject<{
|
|
7598
7588
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7599
7589
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7621,8 +7611,6 @@ export declare const listCustomerAppDataQueryParams: zod.ZodObject<{
|
|
|
7621
7611
|
* Upsert customer app data.
|
|
7622
7612
|
* @summary Upsert customer app data
|
|
7623
7613
|
*/
|
|
7624
|
-
export declare const upsertCustomerAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7625
|
-
export declare const upsertCustomerAppDataPathCustomerIdOrKeyMaxTwo = 256;
|
|
7626
7614
|
export declare const upsertCustomerAppDataParams: zod.ZodObject<{
|
|
7627
7615
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7628
7616
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7643,7 +7631,7 @@ export declare const upsertCustomerAppDataBodyAppDescriptionMaxOne = 1024;
|
|
|
7643
7631
|
export declare const upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne = 64;
|
|
7644
7632
|
export declare const upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne: RegExp;
|
|
7645
7633
|
export declare const upsertCustomerAppDataBodyIdRegExpTwo: RegExp;
|
|
7646
|
-
export declare const upsertCustomerAppDataBodyItem: zod.
|
|
7634
|
+
export declare const upsertCustomerAppDataBodyItem: zod.ZodUnion<[zod.ZodObject<{
|
|
7647
7635
|
id: zod.ZodOptional<zod.ZodString>;
|
|
7648
7636
|
stripeCustomerId: zod.ZodString;
|
|
7649
7637
|
stripeDefaultPaymentMethodId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -7980,7 +7968,7 @@ export declare const upsertCustomerAppDataBodyItem: zod.ZodDiscriminatedUnion<"t
|
|
|
7980
7968
|
metadata?: Record<string, string> | null | undefined;
|
|
7981
7969
|
} | undefined;
|
|
7982
7970
|
}>]>;
|
|
7983
|
-
export declare const upsertCustomerAppDataBody: zod.ZodArray<zod.
|
|
7971
|
+
export declare const upsertCustomerAppDataBody: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
7984
7972
|
id: zod.ZodOptional<zod.ZodString>;
|
|
7985
7973
|
stripeCustomerId: zod.ZodString;
|
|
7986
7974
|
stripeDefaultPaymentMethodId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8321,8 +8309,6 @@ export declare const upsertCustomerAppDataBody: zod.ZodArray<zod.ZodDiscriminate
|
|
|
8321
8309
|
* Delete customer app data.
|
|
8322
8310
|
* @summary Delete customer app data
|
|
8323
8311
|
*/
|
|
8324
|
-
export declare const deleteCustomerAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8325
|
-
export declare const deleteCustomerAppDataPathCustomerIdOrKeyMaxTwo = 256;
|
|
8326
8312
|
export declare const deleteCustomerAppDataPathAppIdRegExp: RegExp;
|
|
8327
8313
|
export declare const deleteCustomerAppDataParams: zod.ZodObject<{
|
|
8328
8314
|
appId: zod.ZodString;
|
|
@@ -8346,8 +8332,6 @@ A given customer can only have one active (non-deleted) entitlement per featureK
|
|
|
8346
8332
|
Once an entitlement is created you cannot modify it, only delete it.
|
|
8347
8333
|
* @summary Create a customer entitlement
|
|
8348
8334
|
*/
|
|
8349
|
-
export declare const createCustomerEntitlementPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8350
|
-
export declare const createCustomerEntitlementPathCustomerIdOrKeyMaxTwo = 256;
|
|
8351
8335
|
export declare const createCustomerEntitlementParams: zod.ZodObject<{
|
|
8352
8336
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8353
8337
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8370,7 +8354,7 @@ export declare const createCustomerEntitlementBodyFeatureIdRegExpOne: RegExp;
|
|
|
8370
8354
|
export declare const createCustomerEntitlementBodyFeatureKeyMaxTwo = 64;
|
|
8371
8355
|
export declare const createCustomerEntitlementBodyFeatureKeyRegExpTwo: RegExp;
|
|
8372
8356
|
export declare const createCustomerEntitlementBodyFeatureIdRegExpTwo: RegExp;
|
|
8373
|
-
export declare const createCustomerEntitlementBody: zod.
|
|
8357
|
+
export declare const createCustomerEntitlementBody: zod.ZodUnion<[zod.ZodObject<{
|
|
8374
8358
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
8375
8359
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
8376
8360
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -8495,8 +8479,6 @@ export declare const createCustomerEntitlementBody: zod.ZodDiscriminatedUnion<"t
|
|
|
8495
8479
|
* List all entitlements for a customer. For checking entitlement access, use the /value endpoint instead.
|
|
8496
8480
|
* @summary List customer entitlements
|
|
8497
8481
|
*/
|
|
8498
|
-
export declare const listCustomerEntitlementsPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8499
|
-
export declare const listCustomerEntitlementsPathCustomerIdOrKeyMaxTwo = 256;
|
|
8500
8482
|
export declare const listCustomerEntitlementsParams: zod.ZodObject<{
|
|
8501
8483
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8502
8484
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8516,8 +8498,6 @@ export declare const listCustomerEntitlementsQueryParams: zod.ZodObject<{
|
|
|
8516
8498
|
* Get entitlement by feature key. For checking entitlement access, use the /value endpoint instead.
|
|
8517
8499
|
* @summary Get customer entitlement
|
|
8518
8500
|
*/
|
|
8519
|
-
export declare const getCustomerEntitlementPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8520
|
-
export declare const getCustomerEntitlementPathCustomerIdOrKeyMaxTwo = 256;
|
|
8521
8501
|
export declare const getCustomerEntitlementPathFeatureKeyMax = 64;
|
|
8522
8502
|
export declare const getCustomerEntitlementPathFeatureKeyRegExp: RegExp;
|
|
8523
8503
|
export declare const getCustomerEntitlementParams: zod.ZodObject<{
|
|
@@ -8535,8 +8515,6 @@ export declare const getCustomerEntitlementParams: zod.ZodObject<{
|
|
|
8535
8515
|
As access and status checks can be historical queries, deleting an entitlement populates the deletedAt timestamp. When queried for a time before that, the entitlement is still considered active, you cannot have retroactive changes to access, which is important for, among other things, auditing.
|
|
8536
8516
|
* @summary Delete customer entitlement
|
|
8537
8517
|
*/
|
|
8538
|
-
export declare const deleteCustomerEntitlementPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8539
|
-
export declare const deleteCustomerEntitlementPathCustomerIdOrKeyMaxTwo = 256;
|
|
8540
8518
|
export declare const deleteCustomerEntitlementPathFeatureKeyMax = 64;
|
|
8541
8519
|
export declare const deleteCustomerEntitlementPathFeatureKeyRegExp: RegExp;
|
|
8542
8520
|
export declare const deleteCustomerEntitlementParams: zod.ZodObject<{
|
|
@@ -8553,8 +8531,6 @@ export declare const deleteCustomerEntitlementParams: zod.ZodObject<{
|
|
|
8553
8531
|
* List all grants issued for an entitlement. The entitlement can be defined either by its id or featureKey.
|
|
8554
8532
|
* @summary List customer entitlement grants
|
|
8555
8533
|
*/
|
|
8556
|
-
export declare const listCustomerEntitlementGrantsPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8557
|
-
export declare const listCustomerEntitlementGrantsPathCustomerIdOrKeyMaxTwo = 256;
|
|
8558
8534
|
export declare const listCustomerEntitlementGrantsPathFeatureKeyMax = 64;
|
|
8559
8535
|
export declare const listCustomerEntitlementGrantsPathFeatureKeyRegExp: RegExp;
|
|
8560
8536
|
export declare const listCustomerEntitlementGrantsParams: zod.ZodObject<{
|
|
@@ -8592,8 +8568,6 @@ Rollover settings define what happens to the remaining balance of a grant at a r
|
|
|
8592
8568
|
Grants cannot be changed once created, only deleted. This is to ensure that balance is deterministic regardless of when it is queried.
|
|
8593
8569
|
* @summary Create customer entitlement grant
|
|
8594
8570
|
*/
|
|
8595
|
-
export declare const createCustomerEntitlementGrantPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8596
|
-
export declare const createCustomerEntitlementGrantPathCustomerIdOrKeyMaxTwo = 256;
|
|
8597
8571
|
export declare const createCustomerEntitlementGrantPathFeatureKeyMax = 64;
|
|
8598
8572
|
export declare const createCustomerEntitlementGrantPathFeatureKeyRegExp: RegExp;
|
|
8599
8573
|
export declare const createCustomerEntitlementGrantParams: zod.ZodObject<{
|
|
@@ -8676,8 +8650,6 @@ BurndownHistory returns a continous history of segments, where the segments are
|
|
|
8676
8650
|
WindowedHistory returns windowed usage data for the period enriched with balance information and the list of grants that were being burnt down in that window.
|
|
8677
8651
|
* @summary Get customer entitlement history
|
|
8678
8652
|
*/
|
|
8679
|
-
export declare const getCustomerEntitlementHistoryPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8680
|
-
export declare const getCustomerEntitlementHistoryPathCustomerIdOrKeyMaxTwo = 256;
|
|
8681
8653
|
export declare const getCustomerEntitlementHistoryPathFeatureKeyMax = 64;
|
|
8682
8654
|
export declare const getCustomerEntitlementHistoryPathFeatureKeyRegExp: RegExp;
|
|
8683
8655
|
export declare const getCustomerEntitlementHistoryParams: zod.ZodObject<{
|
|
@@ -8713,8 +8685,6 @@ export declare const getCustomerEntitlementHistoryQueryParams: zod.ZodObject<{
|
|
|
8713
8685
|
This endpoint is useful for upgrades, downgrades, or other changes to entitlements that require a new entitlement to be created with zero downtime.
|
|
8714
8686
|
* @summary Override customer entitlement
|
|
8715
8687
|
*/
|
|
8716
|
-
export declare const overrideCustomerEntitlementPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8717
|
-
export declare const overrideCustomerEntitlementPathCustomerIdOrKeyMaxTwo = 256;
|
|
8718
8688
|
export declare const overrideCustomerEntitlementPathFeatureKeyMax = 64;
|
|
8719
8689
|
export declare const overrideCustomerEntitlementPathFeatureKeyRegExp: RegExp;
|
|
8720
8690
|
export declare const overrideCustomerEntitlementParams: zod.ZodObject<{
|
|
@@ -8742,7 +8712,7 @@ export declare const overrideCustomerEntitlementBodyFeatureIdRegExpOne: RegExp;
|
|
|
8742
8712
|
export declare const overrideCustomerEntitlementBodyFeatureKeyMaxTwo = 64;
|
|
8743
8713
|
export declare const overrideCustomerEntitlementBodyFeatureKeyRegExpTwo: RegExp;
|
|
8744
8714
|
export declare const overrideCustomerEntitlementBodyFeatureIdRegExpTwo: RegExp;
|
|
8745
|
-
export declare const overrideCustomerEntitlementBody: zod.
|
|
8715
|
+
export declare const overrideCustomerEntitlementBody: zod.ZodUnion<[zod.ZodObject<{
|
|
8746
8716
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
8747
8717
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
8748
8718
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -8869,8 +8839,6 @@ export declare const overrideCustomerEntitlementBody: zod.ZodDiscriminatedUnion<
|
|
|
8869
8839
|
Usage is automatically reset for metered entitlements based on their usage period, but this endpoint allows to manually reset it at any time. When doing so the period anchor of the entitlement can be changed if needed.
|
|
8870
8840
|
* @summary Reset customer entitlement
|
|
8871
8841
|
*/
|
|
8872
|
-
export declare const resetCustomerEntitlementUsagePathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8873
|
-
export declare const resetCustomerEntitlementUsagePathCustomerIdOrKeyMaxTwo = 256;
|
|
8874
8842
|
export declare const resetCustomerEntitlementUsagePathFeatureKeyMax = 64;
|
|
8875
8843
|
export declare const resetCustomerEntitlementUsagePathFeatureKeyRegExp: RegExp;
|
|
8876
8844
|
export declare const resetCustomerEntitlementUsageParams: zod.ZodObject<{
|
|
@@ -8900,8 +8868,6 @@ export declare const resetCustomerEntitlementUsageBody: zod.ZodObject<{
|
|
|
8900
8868
|
* Checks customer access to a given feature (by key). All entitlement types share the hasAccess property in their value response, but multiple other properties are returned based on the entitlement type.
|
|
8901
8869
|
* @summary Get customer entitlement value
|
|
8902
8870
|
*/
|
|
8903
|
-
export declare const getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8904
|
-
export declare const getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo = 256;
|
|
8905
8871
|
export declare const getCustomerEntitlementValuePathFeatureKeyMax = 64;
|
|
8906
8872
|
export declare const getCustomerEntitlementValuePathFeatureKeyRegExp: RegExp;
|
|
8907
8873
|
export declare const getCustomerEntitlementValueParams: zod.ZodObject<{
|
|
@@ -8926,8 +8892,6 @@ export declare const getCustomerEntitlementValueQueryParams: zod.ZodObject<{
|
|
|
8926
8892
|
Only returns data if the customer billing profile is linked to a stripe app.
|
|
8927
8893
|
* @summary Get customer stripe app data
|
|
8928
8894
|
*/
|
|
8929
|
-
export declare const getCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8930
|
-
export declare const getCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo = 256;
|
|
8931
8895
|
export declare const getCustomerStripeAppDataParams: zod.ZodObject<{
|
|
8932
8896
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8933
8897
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8940,8 +8904,6 @@ export declare const getCustomerStripeAppDataParams: zod.ZodObject<{
|
|
|
8940
8904
|
Only updates data if the customer billing profile is linked to a stripe app.
|
|
8941
8905
|
* @summary Upsert customer stripe app data
|
|
8942
8906
|
*/
|
|
8943
|
-
export declare const upsertCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8944
|
-
export declare const upsertCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo = 256;
|
|
8945
8907
|
export declare const upsertCustomerStripeAppDataParams: zod.ZodObject<{
|
|
8946
8908
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8947
8909
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8967,8 +8929,6 @@ Useful to redirect the customer to the Stripe customer portal to manage their pa
|
|
|
8967
8929
|
change their billing address and access their invoice history.
|
|
8968
8930
|
* @summary Create Stripe customer portal session
|
|
8969
8931
|
*/
|
|
8970
|
-
export declare const createCustomerStripePortalSessionPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8971
|
-
export declare const createCustomerStripePortalSessionPathCustomerIdOrKeyMaxTwo = 256;
|
|
8972
8932
|
export declare const createCustomerStripePortalSessionParams: zod.ZodObject<{
|
|
8973
8933
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8974
8934
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8993,8 +8953,6 @@ export declare const createCustomerStripePortalSessionBody: zod.ZodObject<{
|
|
|
8993
8953
|
* Lists all subscriptions for a customer.
|
|
8994
8954
|
* @summary List customer subscriptions
|
|
8995
8955
|
*/
|
|
8996
|
-
export declare const listCustomerSubscriptionsPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8997
|
-
export declare const listCustomerSubscriptionsPathCustomerIdOrKeyMaxTwo = 256;
|
|
8998
8956
|
export declare const listCustomerSubscriptionsParams: zod.ZodObject<{
|
|
8999
8957
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
9000
8958
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -9922,7 +9880,7 @@ export declare const createNotificationRuleBodyDisabledDefaultTwo = false;
|
|
|
9922
9880
|
export declare const createNotificationRuleBodyChannelsItemRegExpTwo: RegExp;
|
|
9923
9881
|
export declare const createNotificationRuleBodyDisabledDefaultThree = false;
|
|
9924
9882
|
export declare const createNotificationRuleBodyChannelsItemRegExpThree: RegExp;
|
|
9925
|
-
export declare const createNotificationRuleBody: zod.
|
|
9883
|
+
export declare const createNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
9926
9884
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9927
9885
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9928
9886
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -10032,7 +9990,7 @@ export declare const updateNotificationRuleBodyDisabledDefaultTwo = false;
|
|
|
10032
9990
|
export declare const updateNotificationRuleBodyChannelsItemRegExpTwo: RegExp;
|
|
10033
9991
|
export declare const updateNotificationRuleBodyDisabledDefaultThree = false;
|
|
10034
9992
|
export declare const updateNotificationRuleBodyChannelsItemRegExpThree: RegExp;
|
|
10035
|
-
export declare const updateNotificationRuleBody: zod.
|
|
9993
|
+
export declare const updateNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
10036
9994
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
10037
9995
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
10038
9996
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -10291,7 +10249,7 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
10291
10249
|
key: zod.ZodString;
|
|
10292
10250
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
10293
10251
|
name: zod.ZodString;
|
|
10294
|
-
rateCards: zod.ZodArray<zod.
|
|
10252
|
+
rateCards: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
10295
10253
|
billingCadence: zod.ZodNullable<zod.ZodString>;
|
|
10296
10254
|
description: zod.ZodOptional<zod.ZodString>;
|
|
10297
10255
|
discounts: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -10324,7 +10282,7 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
10324
10282
|
quantity: string;
|
|
10325
10283
|
} | undefined;
|
|
10326
10284
|
}>>;
|
|
10327
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
10285
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
10328
10286
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
10329
10287
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
10330
10288
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -10546,7 +10504,7 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
10546
10504
|
quantity: string;
|
|
10547
10505
|
} | undefined;
|
|
10548
10506
|
}>>;
|
|
10549
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
10507
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
10550
10508
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
10551
10509
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
10552
10510
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -10596,7 +10554,7 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
10596
10554
|
key: zod.ZodString;
|
|
10597
10555
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
10598
10556
|
name: zod.ZodString;
|
|
10599
|
-
price: zod.ZodNullable<zod.
|
|
10557
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
10600
10558
|
amount: zod.ZodString;
|
|
10601
10559
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
10602
10560
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -11597,7 +11555,7 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
11597
11555
|
key: zod.ZodString;
|
|
11598
11556
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
11599
11557
|
name: zod.ZodString;
|
|
11600
|
-
rateCards: zod.ZodArray<zod.
|
|
11558
|
+
rateCards: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
11601
11559
|
billingCadence: zod.ZodNullable<zod.ZodString>;
|
|
11602
11560
|
description: zod.ZodOptional<zod.ZodString>;
|
|
11603
11561
|
discounts: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -11630,7 +11588,7 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
11630
11588
|
quantity: string;
|
|
11631
11589
|
} | undefined;
|
|
11632
11590
|
}>>;
|
|
11633
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
11591
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
11634
11592
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
11635
11593
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
11636
11594
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -11852,7 +11810,7 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
11852
11810
|
quantity: string;
|
|
11853
11811
|
} | undefined;
|
|
11854
11812
|
}>>;
|
|
11855
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
11813
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
11856
11814
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
11857
11815
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
11858
11816
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -11902,7 +11860,7 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
11902
11860
|
key: zod.ZodString;
|
|
11903
11861
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
11904
11862
|
name: zod.ZodString;
|
|
11905
|
-
price: zod.ZodNullable<zod.
|
|
11863
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
11906
11864
|
amount: zod.ZodString;
|
|
11907
11865
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
11908
11866
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -13107,7 +13065,7 @@ export declare const createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessa
|
|
|
13107
13065
|
export declare const createStripeCheckoutSessionBodyOptionsCustomTextTermsOfServiceAcceptanceMessageMax = 1200;
|
|
13108
13066
|
export declare const createStripeCheckoutSessionBody: zod.ZodObject<{
|
|
13109
13067
|
appId: zod.ZodOptional<zod.ZodString>;
|
|
13110
|
-
customer: zod.ZodUnion<[zod.
|
|
13068
|
+
customer: zod.ZodUnion<[zod.ZodObject<{
|
|
13111
13069
|
id: zod.ZodString;
|
|
13112
13070
|
}, "strip", zod.ZodTypeAny, {
|
|
13113
13071
|
id: string;
|
|
@@ -13119,7 +13077,7 @@ export declare const createStripeCheckoutSessionBody: zod.ZodObject<{
|
|
|
13119
13077
|
key: string;
|
|
13120
13078
|
}, {
|
|
13121
13079
|
key: string;
|
|
13122
|
-
}
|
|
13080
|
+
}>, zod.ZodObject<{
|
|
13123
13081
|
billingAddress: zod.ZodOptional<zod.ZodObject<{
|
|
13124
13082
|
city: zod.ZodOptional<zod.ZodString>;
|
|
13125
13083
|
country: zod.ZodOptional<zod.ZodString>;
|
|
@@ -13650,7 +13608,7 @@ export declare const createEntitlementBodyFeatureIdRegExpOne: RegExp;
|
|
|
13650
13608
|
export declare const createEntitlementBodyFeatureKeyMaxTwo = 64;
|
|
13651
13609
|
export declare const createEntitlementBodyFeatureKeyRegExpTwo: RegExp;
|
|
13652
13610
|
export declare const createEntitlementBodyFeatureIdRegExpTwo: RegExp;
|
|
13653
|
-
export declare const createEntitlementBody: zod.
|
|
13611
|
+
export declare const createEntitlementBody: zod.ZodUnion<[zod.ZodObject<{
|
|
13654
13612
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
13655
13613
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
13656
13614
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -13932,7 +13890,7 @@ export declare const overrideEntitlementBodyFeatureIdRegExpOne: RegExp;
|
|
|
13932
13890
|
export declare const overrideEntitlementBodyFeatureKeyMaxTwo = 64;
|
|
13933
13891
|
export declare const overrideEntitlementBodyFeatureKeyRegExpTwo: RegExp;
|
|
13934
13892
|
export declare const overrideEntitlementBodyFeatureIdRegExpTwo: RegExp;
|
|
13935
|
-
export declare const overrideEntitlementBody: zod.
|
|
13893
|
+
export declare const overrideEntitlementBody: zod.ZodUnion<[zod.ZodObject<{
|
|
13936
13894
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
13937
13895
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
13938
13896
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -14323,7 +14281,7 @@ export declare const createSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
14323
14281
|
key: zod.ZodString;
|
|
14324
14282
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
14325
14283
|
name: zod.ZodString;
|
|
14326
|
-
rateCards: zod.ZodArray<zod.
|
|
14284
|
+
rateCards: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
14327
14285
|
billingCadence: zod.ZodNullable<zod.ZodString>;
|
|
14328
14286
|
description: zod.ZodOptional<zod.ZodString>;
|
|
14329
14287
|
discounts: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -14356,7 +14314,7 @@ export declare const createSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
14356
14314
|
quantity: string;
|
|
14357
14315
|
} | undefined;
|
|
14358
14316
|
}>>;
|
|
14359
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
14317
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
14360
14318
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
14361
14319
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
14362
14320
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -14578,7 +14536,7 @@ export declare const createSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
14578
14536
|
quantity: string;
|
|
14579
14537
|
} | undefined;
|
|
14580
14538
|
}>>;
|
|
14581
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
14539
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
14582
14540
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
14583
14541
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
14584
14542
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -14628,7 +14586,7 @@ export declare const createSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
14628
14586
|
key: zod.ZodString;
|
|
14629
14587
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
14630
14588
|
name: zod.ZodString;
|
|
14631
|
-
price: zod.ZodNullable<zod.
|
|
14589
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
14632
14590
|
amount: zod.ZodString;
|
|
14633
14591
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
14634
14592
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -15910,10 +15868,10 @@ export declare const editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = 64;
|
|
|
15910
15868
|
export declare const editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo: RegExp;
|
|
15911
15869
|
export declare const editSubscriptionBodyCustomizationsMax = 100;
|
|
15912
15870
|
export declare const editSubscriptionBody: zod.ZodObject<{
|
|
15913
|
-
customizations: zod.ZodArray<zod.
|
|
15871
|
+
customizations: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
15914
15872
|
op: zod.ZodEnum<["add_item"]>;
|
|
15915
15873
|
phaseKey: zod.ZodString;
|
|
15916
|
-
rateCard: zod.
|
|
15874
|
+
rateCard: zod.ZodUnion<[zod.ZodObject<{
|
|
15917
15875
|
billingCadence: zod.ZodNullable<zod.ZodString>;
|
|
15918
15876
|
description: zod.ZodOptional<zod.ZodString>;
|
|
15919
15877
|
discounts: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -15946,7 +15904,7 @@ export declare const editSubscriptionBody: zod.ZodObject<{
|
|
|
15946
15904
|
quantity: string;
|
|
15947
15905
|
} | undefined;
|
|
15948
15906
|
}>>;
|
|
15949
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
15907
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
15950
15908
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
15951
15909
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
15952
15910
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -16168,7 +16126,7 @@ export declare const editSubscriptionBody: zod.ZodObject<{
|
|
|
16168
16126
|
quantity: string;
|
|
16169
16127
|
} | undefined;
|
|
16170
16128
|
}>>;
|
|
16171
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
16129
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
16172
16130
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
16173
16131
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
16174
16132
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -16218,7 +16176,7 @@ export declare const editSubscriptionBody: zod.ZodObject<{
|
|
|
16218
16176
|
key: zod.ZodString;
|
|
16219
16177
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
16220
16178
|
name: zod.ZodString;
|
|
16221
|
-
price: zod.ZodNullable<zod.
|
|
16179
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
16222
16180
|
amount: zod.ZodString;
|
|
16223
16181
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
16224
16182
|
type: zod.ZodEnum<["flat"]>;
|
|
@@ -17572,7 +17530,7 @@ export declare const changeSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
17572
17530
|
key: zod.ZodString;
|
|
17573
17531
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
17574
17532
|
name: zod.ZodString;
|
|
17575
|
-
rateCards: zod.ZodArray<zod.
|
|
17533
|
+
rateCards: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
17576
17534
|
billingCadence: zod.ZodNullable<zod.ZodString>;
|
|
17577
17535
|
description: zod.ZodOptional<zod.ZodString>;
|
|
17578
17536
|
discounts: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -17605,7 +17563,7 @@ export declare const changeSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
17605
17563
|
quantity: string;
|
|
17606
17564
|
} | undefined;
|
|
17607
17565
|
}>>;
|
|
17608
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
17566
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
17609
17567
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
17610
17568
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
17611
17569
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -17827,7 +17785,7 @@ export declare const changeSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
17827
17785
|
quantity: string;
|
|
17828
17786
|
} | undefined;
|
|
17829
17787
|
}>>;
|
|
17830
|
-
entitlementTemplate: zod.ZodOptional<zod.
|
|
17788
|
+
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<[zod.ZodObject<{
|
|
17831
17789
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
17832
17790
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
17833
17791
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -17877,7 +17835,7 @@ export declare const changeSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
17877
17835
|
key: zod.ZodString;
|
|
17878
17836
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
17879
17837
|
name: zod.ZodString;
|
|
17880
|
-
price: zod.ZodNullable<zod.
|
|
17838
|
+
price: zod.ZodNullable<zod.ZodUnion<[zod.ZodObject<{
|
|
17881
17839
|
amount: zod.ZodString;
|
|
17882
17840
|
paymentTerm: zod.ZodDefault<zod.ZodEnum<["in_advance", "in_arrears"]>>;
|
|
17883
17841
|
type: zod.ZodEnum<["flat"]>;
|