@openmeter/sdk 1.0.0-beta.226 → 1.0.0-beta.228
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/Makefile +0 -1
- package/dist/cjs/src/client/customers.d.cts +3 -0
- package/dist/cjs/src/client/features.d.cts +3 -0
- package/dist/cjs/src/client/meters.cjs +10 -10
- package/dist/cjs/src/client/meters.d.cts +83 -14
- package/dist/cjs/src/client/plans.d.cts +5 -0
- package/dist/cjs/src/client/schemas.d.cts +286 -6
- package/dist/cjs/src/client/subscriptions.d.cts +5 -0
- package/dist/cjs/src/zod/index.cjs +2569 -2002
- package/dist/cjs/src/zod/index.cjs.map +1 -1
- package/dist/cjs/src/zod/index.d.cts +1488 -1368
- package/dist/src/client/customers.d.ts +3 -0
- package/dist/src/client/features.d.ts +3 -0
- package/dist/src/client/meters.d.ts +83 -14
- package/dist/src/client/meters.js +11 -11
- package/dist/src/client/meters.js.map +1 -1
- package/dist/src/client/plans.d.ts +5 -0
- package/dist/src/client/schemas.d.ts +286 -6
- package/dist/src/client/subscriptions.d.ts +5 -0
- package/dist/src/zod/index.d.ts +1488 -1368
- package/dist/src/zod/index.js +2539 -1972
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/orval.config.ts +1 -1
- package/package.json +14 -15
- package/patches/openapi-typescript.patch +901 -828
- package/pnpm-workspace.yaml +3 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval
|
|
2
|
+
* Generated by orval v8.7.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* OpenMeter Cloud API
|
|
5
5
|
* OpenMeter is a cloud native usage metering service.
|
|
@@ -11,23 +11,24 @@ import * as zod from 'zod';
|
|
|
11
11
|
* List all add-ons.
|
|
12
12
|
* @summary List add-ons
|
|
13
13
|
*/
|
|
14
|
-
export declare const listAddonsQueryIncludeDeletedDefault
|
|
14
|
+
export declare const listAddonsQueryIncludeDeletedDefault = false;
|
|
15
15
|
export declare const listAddonsQueryIdItemRegExp: RegExp;
|
|
16
|
-
export declare const listAddonsQueryKeyItemMax
|
|
16
|
+
export declare const listAddonsQueryKeyItemMax = 64;
|
|
17
17
|
export declare const listAddonsQueryKeyItemRegExp: RegExp;
|
|
18
|
-
export declare const listAddonsQueryCurrencyItemMin
|
|
19
|
-
export declare const listAddonsQueryCurrencyItemMax
|
|
18
|
+
export declare const listAddonsQueryCurrencyItemMin = 3;
|
|
19
|
+
export declare const listAddonsQueryCurrencyItemMax = 3;
|
|
20
20
|
export declare const listAddonsQueryCurrencyItemRegExp: RegExp;
|
|
21
|
-
export declare const listAddonsQueryPageDefault
|
|
22
|
-
export declare const listAddonsQueryPageSizeDefault
|
|
23
|
-
export declare const listAddonsQueryPageSizeMax
|
|
24
|
-
export declare const
|
|
21
|
+
export declare const listAddonsQueryPageDefault = 1;
|
|
22
|
+
export declare const listAddonsQueryPageSizeDefault = 100;
|
|
23
|
+
export declare const listAddonsQueryPageSizeMax = 1000;
|
|
24
|
+
export declare const listAddonsQueryOrderDefault = "ASC";
|
|
25
|
+
export declare const ListAddonsQueryParams: zod.ZodObject<{
|
|
25
26
|
currency: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
26
27
|
id: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
27
|
-
includeDeleted: zod.
|
|
28
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
28
29
|
key: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
29
30
|
keyVersion: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.z.ZodCoercedNumber<unknown>>>>;
|
|
30
|
-
order: zod.
|
|
31
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
31
32
|
ASC: "ASC";
|
|
32
33
|
DESC: "DESC";
|
|
33
34
|
}>>;
|
|
@@ -50,62 +51,64 @@ export declare const listAddonsQueryParams: zod.ZodObject<{
|
|
|
50
51
|
* Create a new add-on.
|
|
51
52
|
* @summary Create an add-on
|
|
52
53
|
*/
|
|
53
|
-
export declare const createAddonBodyNameMax
|
|
54
|
-
export declare const createAddonBodyDescriptionMax
|
|
55
|
-
export declare const createAddonBodyKeyMax
|
|
54
|
+
export declare const createAddonBodyNameMax = 256;
|
|
55
|
+
export declare const createAddonBodyDescriptionMax = 1024;
|
|
56
|
+
export declare const createAddonBodyKeyMax = 64;
|
|
56
57
|
export declare const createAddonBodyKeyRegExp: RegExp;
|
|
57
|
-
export declare const
|
|
58
|
-
export declare const
|
|
59
|
-
export declare const
|
|
60
|
-
export declare const createAddonBodyCurrencyDefault
|
|
61
|
-
export declare const
|
|
62
|
-
export declare const
|
|
63
|
-
export declare const
|
|
64
|
-
export declare const
|
|
65
|
-
export declare const
|
|
66
|
-
export declare const
|
|
67
|
-
export declare const
|
|
68
|
-
export declare const
|
|
69
|
-
export declare const
|
|
70
|
-
export declare const
|
|
71
|
-
export declare const
|
|
72
|
-
export declare const
|
|
73
|
-
export declare const
|
|
74
|
-
export declare const
|
|
75
|
-
export declare const
|
|
76
|
-
export declare const
|
|
77
|
-
export declare const
|
|
78
|
-
export declare const
|
|
79
|
-
export declare const
|
|
80
|
-
export declare const
|
|
81
|
-
export declare const
|
|
82
|
-
export declare const
|
|
83
|
-
export declare const
|
|
84
|
-
export declare const
|
|
85
|
-
export declare const
|
|
86
|
-
export declare const
|
|
87
|
-
export declare const
|
|
88
|
-
export declare const
|
|
89
|
-
export declare const
|
|
90
|
-
export declare const
|
|
91
|
-
export declare const
|
|
92
|
-
export declare const
|
|
93
|
-
export declare const
|
|
94
|
-
export declare const
|
|
95
|
-
export declare const
|
|
96
|
-
export declare const
|
|
97
|
-
export declare const
|
|
98
|
-
export declare const
|
|
99
|
-
export declare const
|
|
100
|
-
export declare const
|
|
101
|
-
export declare const
|
|
102
|
-
export declare const
|
|
103
|
-
export declare const
|
|
104
|
-
export declare const
|
|
105
|
-
export declare const
|
|
106
|
-
export declare const
|
|
107
|
-
export declare const
|
|
108
|
-
|
|
58
|
+
export declare const createAddonBodyCurrencyOneMin = 3;
|
|
59
|
+
export declare const createAddonBodyCurrencyOneMax = 3;
|
|
60
|
+
export declare const createAddonBodyCurrencyOneRegExp: RegExp;
|
|
61
|
+
export declare const createAddonBodyCurrencyDefault = "USD";
|
|
62
|
+
export declare const createAddonBodyRateCardsItemOneKeyMax = 64;
|
|
63
|
+
export declare const createAddonBodyRateCardsItemOneKeyRegExp: RegExp;
|
|
64
|
+
export declare const createAddonBodyRateCardsItemOneNameMax = 256;
|
|
65
|
+
export declare const createAddonBodyRateCardsItemOneDescriptionMax = 1024;
|
|
66
|
+
export declare const createAddonBodyRateCardsItemOneFeatureKeyMax = 64;
|
|
67
|
+
export declare const createAddonBodyRateCardsItemOneFeatureKeyRegExp: RegExp;
|
|
68
|
+
export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
69
|
+
export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
70
|
+
export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
71
|
+
export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
72
|
+
export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
73
|
+
export declare const createAddonBodyRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
74
|
+
export declare const createAddonBodyRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
75
|
+
export declare const createAddonBodyRateCardsItemOnePriceOneAmountOneRegExp: RegExp;
|
|
76
|
+
export declare const createAddonBodyRateCardsItemOnePriceOnePaymentTermDefault = "in_advance";
|
|
77
|
+
export declare const createAddonBodyRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
78
|
+
export declare const createAddonBodyRateCardsItemTwoKeyMax = 64;
|
|
79
|
+
export declare const createAddonBodyRateCardsItemTwoKeyRegExp: RegExp;
|
|
80
|
+
export declare const createAddonBodyRateCardsItemTwoNameMax = 256;
|
|
81
|
+
export declare const createAddonBodyRateCardsItemTwoDescriptionMax = 1024;
|
|
82
|
+
export declare const createAddonBodyRateCardsItemTwoFeatureKeyMax = 64;
|
|
83
|
+
export declare const createAddonBodyRateCardsItemTwoFeatureKeyRegExp: RegExp;
|
|
84
|
+
export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
85
|
+
export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
86
|
+
export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
87
|
+
export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
88
|
+
export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
89
|
+
export declare const createAddonBodyRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
90
|
+
export declare const createAddonBodyRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
91
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp;
|
|
92
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance";
|
|
93
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp;
|
|
94
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
95
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
96
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
97
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
98
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
99
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
100
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
101
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp;
|
|
102
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneFourMultiplierDefault = "1";
|
|
103
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
104
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
105
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp;
|
|
106
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
107
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
108
|
+
export declare const createAddonBodyRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
109
|
+
export declare const createAddonBodyRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
110
|
+
export declare const CreateAddonBody: zod.ZodObject<{
|
|
111
|
+
currency: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
109
112
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
110
113
|
instanceType: zod.ZodEnum<{
|
|
111
114
|
single: "single";
|
|
@@ -126,11 +129,11 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
126
129
|
}, zod.z.core.$strip>>;
|
|
127
130
|
}, zod.z.core.$strip>>;
|
|
128
131
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
129
|
-
isSoftLimit: zod.
|
|
132
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
130
133
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
131
134
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
132
135
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
133
|
-
preserveOverageAtReset: zod.
|
|
136
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
134
137
|
type: zod.ZodEnum<{
|
|
135
138
|
metered: "metered";
|
|
136
139
|
}>;
|
|
@@ -172,6 +175,7 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
172
175
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
173
176
|
code: zod.z.ZodCoercedString<unknown>;
|
|
174
177
|
}, zod.z.core.$strip>>;
|
|
178
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
175
179
|
}, zod.z.core.$strip>>;
|
|
176
180
|
type: zod.ZodEnum<{
|
|
177
181
|
flat_fee: "flat_fee";
|
|
@@ -188,11 +192,11 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
188
192
|
}, zod.z.core.$strip>>;
|
|
189
193
|
}, zod.z.core.$strip>>;
|
|
190
194
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
191
|
-
isSoftLimit: zod.
|
|
195
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
192
196
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
193
197
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
194
198
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
195
|
-
preserveOverageAtReset: zod.
|
|
199
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
196
200
|
type: zod.ZodEnum<{
|
|
197
201
|
metered: "metered";
|
|
198
202
|
}>;
|
|
@@ -281,6 +285,7 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
281
285
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
282
286
|
code: zod.z.ZodCoercedString<unknown>;
|
|
283
287
|
}, zod.z.core.$strip>>;
|
|
288
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
284
289
|
}, zod.z.core.$strip>>;
|
|
285
290
|
type: zod.ZodEnum<{
|
|
286
291
|
usage_based: "usage_based";
|
|
@@ -292,58 +297,60 @@ export declare const createAddonBody: zod.ZodObject<{
|
|
|
292
297
|
* @summary Update add-on
|
|
293
298
|
*/
|
|
294
299
|
export declare const updateAddonPathAddonIdRegExp: RegExp;
|
|
295
|
-
export declare const
|
|
300
|
+
export declare const UpdateAddonParams: zod.ZodObject<{
|
|
296
301
|
addonId: zod.z.ZodCoercedString<unknown>;
|
|
297
302
|
}, zod.z.core.$strip>;
|
|
298
|
-
export declare const updateAddonBodyNameMax
|
|
299
|
-
export declare const updateAddonBodyDescriptionMax
|
|
300
|
-
export declare const
|
|
301
|
-
export declare const
|
|
302
|
-
export declare const
|
|
303
|
-
export declare const
|
|
304
|
-
export declare const
|
|
305
|
-
export declare const
|
|
306
|
-
export declare const
|
|
307
|
-
export declare const
|
|
308
|
-
export declare const
|
|
309
|
-
export declare const
|
|
310
|
-
export declare const
|
|
311
|
-
export declare const
|
|
312
|
-
export declare const
|
|
313
|
-
export declare const
|
|
314
|
-
export declare const
|
|
315
|
-
export declare const
|
|
316
|
-
export declare const
|
|
317
|
-
export declare const
|
|
318
|
-
export declare const
|
|
319
|
-
export declare const
|
|
320
|
-
export declare const
|
|
321
|
-
export declare const
|
|
322
|
-
export declare const
|
|
323
|
-
export declare const
|
|
324
|
-
export declare const
|
|
325
|
-
export declare const
|
|
326
|
-
export declare const
|
|
327
|
-
export declare const
|
|
328
|
-
export declare const
|
|
329
|
-
export declare const
|
|
330
|
-
export declare const
|
|
331
|
-
export declare const
|
|
332
|
-
export declare const
|
|
333
|
-
export declare const
|
|
334
|
-
export declare const
|
|
335
|
-
export declare const
|
|
336
|
-
export declare const
|
|
337
|
-
export declare const
|
|
338
|
-
export declare const
|
|
339
|
-
export declare const
|
|
340
|
-
export declare const
|
|
341
|
-
export declare const
|
|
342
|
-
export declare const
|
|
343
|
-
export declare const
|
|
344
|
-
export declare const
|
|
345
|
-
export declare const
|
|
346
|
-
export declare const
|
|
303
|
+
export declare const updateAddonBodyNameMax = 256;
|
|
304
|
+
export declare const updateAddonBodyDescriptionMax = 1024;
|
|
305
|
+
export declare const updateAddonBodyRateCardsItemOneKeyMax = 64;
|
|
306
|
+
export declare const updateAddonBodyRateCardsItemOneKeyRegExp: RegExp;
|
|
307
|
+
export declare const updateAddonBodyRateCardsItemOneNameMax = 256;
|
|
308
|
+
export declare const updateAddonBodyRateCardsItemOneDescriptionMax = 1024;
|
|
309
|
+
export declare const updateAddonBodyRateCardsItemOneFeatureKeyMax = 64;
|
|
310
|
+
export declare const updateAddonBodyRateCardsItemOneFeatureKeyRegExp: RegExp;
|
|
311
|
+
export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
312
|
+
export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
313
|
+
export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
314
|
+
export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
315
|
+
export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
316
|
+
export declare const updateAddonBodyRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
317
|
+
export declare const updateAddonBodyRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
318
|
+
export declare const updateAddonBodyRateCardsItemOnePriceOneAmountOneRegExp: RegExp;
|
|
319
|
+
export declare const updateAddonBodyRateCardsItemOnePriceOnePaymentTermDefault = "in_advance";
|
|
320
|
+
export declare const updateAddonBodyRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
321
|
+
export declare const updateAddonBodyRateCardsItemTwoKeyMax = 64;
|
|
322
|
+
export declare const updateAddonBodyRateCardsItemTwoKeyRegExp: RegExp;
|
|
323
|
+
export declare const updateAddonBodyRateCardsItemTwoNameMax = 256;
|
|
324
|
+
export declare const updateAddonBodyRateCardsItemTwoDescriptionMax = 1024;
|
|
325
|
+
export declare const updateAddonBodyRateCardsItemTwoFeatureKeyMax = 64;
|
|
326
|
+
export declare const updateAddonBodyRateCardsItemTwoFeatureKeyRegExp: RegExp;
|
|
327
|
+
export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
328
|
+
export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
329
|
+
export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
330
|
+
export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
331
|
+
export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
332
|
+
export declare const updateAddonBodyRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
333
|
+
export declare const updateAddonBodyRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
334
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp;
|
|
335
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance";
|
|
336
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp;
|
|
337
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
338
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
339
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
340
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
341
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
342
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
343
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
344
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp;
|
|
345
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneFourMultiplierDefault = "1";
|
|
346
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
347
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
348
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp;
|
|
349
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
350
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
351
|
+
export declare const updateAddonBodyRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
352
|
+
export declare const updateAddonBodyRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
353
|
+
export declare const UpdateAddonBody: zod.ZodObject<{
|
|
347
354
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
348
355
|
instanceType: zod.ZodEnum<{
|
|
349
356
|
single: "single";
|
|
@@ -363,11 +370,11 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
363
370
|
}, zod.z.core.$strip>>;
|
|
364
371
|
}, zod.z.core.$strip>>;
|
|
365
372
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
366
|
-
isSoftLimit: zod.
|
|
373
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
367
374
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
368
375
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
369
376
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
370
|
-
preserveOverageAtReset: zod.
|
|
377
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
371
378
|
type: zod.ZodEnum<{
|
|
372
379
|
metered: "metered";
|
|
373
380
|
}>;
|
|
@@ -409,6 +416,7 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
409
416
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
410
417
|
code: zod.z.ZodCoercedString<unknown>;
|
|
411
418
|
}, zod.z.core.$strip>>;
|
|
419
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
412
420
|
}, zod.z.core.$strip>>;
|
|
413
421
|
type: zod.ZodEnum<{
|
|
414
422
|
flat_fee: "flat_fee";
|
|
@@ -425,11 +433,11 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
425
433
|
}, zod.z.core.$strip>>;
|
|
426
434
|
}, zod.z.core.$strip>>;
|
|
427
435
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
428
|
-
isSoftLimit: zod.
|
|
436
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
429
437
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
430
438
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
431
439
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
432
|
-
preserveOverageAtReset: zod.
|
|
440
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
433
441
|
type: zod.ZodEnum<{
|
|
434
442
|
metered: "metered";
|
|
435
443
|
}>;
|
|
@@ -518,6 +526,7 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
518
526
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
519
527
|
code: zod.z.ZodCoercedString<unknown>;
|
|
520
528
|
}, zod.z.core.$strip>>;
|
|
529
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
521
530
|
}, zod.z.core.$strip>>;
|
|
522
531
|
type: zod.ZodEnum<{
|
|
523
532
|
usage_based: "usage_based";
|
|
@@ -528,14 +537,14 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
528
537
|
* Get add-on by id or key. The latest published version is returned if latter is used.
|
|
529
538
|
* @summary Get add-on
|
|
530
539
|
*/
|
|
531
|
-
export declare const getAddonPathAddonIdMax
|
|
540
|
+
export declare const getAddonPathAddonIdMax = 64;
|
|
532
541
|
export declare const getAddonPathAddonIdRegExp: RegExp;
|
|
533
|
-
export declare const
|
|
542
|
+
export declare const GetAddonParams: zod.ZodObject<{
|
|
534
543
|
addonId: zod.z.ZodCoercedString<unknown>;
|
|
535
544
|
}, zod.z.core.$strip>;
|
|
536
|
-
export declare const getAddonQueryIncludeLatestDefault
|
|
537
|
-
export declare const
|
|
538
|
-
includeLatest: zod.
|
|
545
|
+
export declare const getAddonQueryIncludeLatestDefault = false;
|
|
546
|
+
export declare const GetAddonQueryParams: zod.ZodObject<{
|
|
547
|
+
includeLatest: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
539
548
|
}, zod.z.core.$strip>;
|
|
540
549
|
/**
|
|
541
550
|
* Soft delete add-on by id.
|
|
@@ -544,7 +553,7 @@ Once a add-on is deleted it cannot be undeleted.
|
|
|
544
553
|
* @summary Delete add-on
|
|
545
554
|
*/
|
|
546
555
|
export declare const deleteAddonPathAddonIdRegExp: RegExp;
|
|
547
|
-
export declare const
|
|
556
|
+
export declare const DeleteAddonParams: zod.ZodObject<{
|
|
548
557
|
addonId: zod.z.ZodCoercedString<unknown>;
|
|
549
558
|
}, zod.z.core.$strip>;
|
|
550
559
|
/**
|
|
@@ -552,7 +561,7 @@ export declare const deleteAddonParams: zod.ZodObject<{
|
|
|
552
561
|
* @summary Archive add-on version
|
|
553
562
|
*/
|
|
554
563
|
export declare const archiveAddonPathAddonIdRegExp: RegExp;
|
|
555
|
-
export declare const
|
|
564
|
+
export declare const ArchiveAddonParams: zod.ZodObject<{
|
|
556
565
|
addonId: zod.z.ZodCoercedString<unknown>;
|
|
557
566
|
}, zod.z.core.$strip>;
|
|
558
567
|
/**
|
|
@@ -560,17 +569,17 @@ export declare const archiveAddonParams: zod.ZodObject<{
|
|
|
560
569
|
* @summary Publish add-on
|
|
561
570
|
*/
|
|
562
571
|
export declare const publishAddonPathAddonIdRegExp: RegExp;
|
|
563
|
-
export declare const
|
|
572
|
+
export declare const PublishAddonParams: zod.ZodObject<{
|
|
564
573
|
addonId: zod.z.ZodCoercedString<unknown>;
|
|
565
574
|
}, zod.z.core.$strip>;
|
|
566
575
|
/**
|
|
567
576
|
* List apps.
|
|
568
577
|
* @summary List apps
|
|
569
578
|
*/
|
|
570
|
-
export declare const listAppsQueryPageDefault
|
|
571
|
-
export declare const listAppsQueryPageSizeDefault
|
|
572
|
-
export declare const listAppsQueryPageSizeMax
|
|
573
|
-
export declare const
|
|
579
|
+
export declare const listAppsQueryPageDefault = 1;
|
|
580
|
+
export declare const listAppsQueryPageSizeDefault = 100;
|
|
581
|
+
export declare const listAppsQueryPageSizeMax = 1000;
|
|
582
|
+
export declare const ListAppsQueryParams: zod.ZodObject<{
|
|
574
583
|
page: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
575
584
|
pageSize: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
576
585
|
}, zod.z.core.$strip>;
|
|
@@ -578,13 +587,13 @@ export declare const listAppsQueryParams: zod.ZodObject<{
|
|
|
578
587
|
* @summary Submit draft synchronization results
|
|
579
588
|
*/
|
|
580
589
|
export declare const appCustomInvoicingDraftSynchronizedPathInvoiceIdRegExp: RegExp;
|
|
581
|
-
export declare const
|
|
590
|
+
export declare const AppCustomInvoicingDraftSynchronizedParams: zod.ZodObject<{
|
|
582
591
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
583
592
|
}, zod.z.core.$strip>;
|
|
584
|
-
export declare const
|
|
585
|
-
export declare const
|
|
586
|
-
export declare const
|
|
587
|
-
export declare const
|
|
593
|
+
export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingOneInvoiceNumberOneMax = 256;
|
|
594
|
+
export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingOneLineExternalIdsItemLineIdRegExp: RegExp;
|
|
595
|
+
export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingOneLineDiscountExternalIdsItemLineDiscountIdRegExp: RegExp;
|
|
596
|
+
export declare const AppCustomInvoicingDraftSynchronizedBody: zod.ZodObject<{
|
|
588
597
|
invoicing: zod.ZodOptional<zod.ZodObject<{
|
|
589
598
|
externalId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
590
599
|
invoiceNumber: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -602,11 +611,11 @@ export declare const appCustomInvoicingDraftSynchronizedBody: zod.ZodObject<{
|
|
|
602
611
|
* @summary Submit issuing synchronization results
|
|
603
612
|
*/
|
|
604
613
|
export declare const appCustomInvoicingIssuingSynchronizedPathInvoiceIdRegExp: RegExp;
|
|
605
|
-
export declare const
|
|
614
|
+
export declare const AppCustomInvoicingIssuingSynchronizedParams: zod.ZodObject<{
|
|
606
615
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
607
616
|
}, zod.z.core.$strip>;
|
|
608
|
-
export declare const
|
|
609
|
-
export declare const
|
|
617
|
+
export declare const appCustomInvoicingIssuingSynchronizedBodyInvoicingOneInvoiceNumberOneMax = 256;
|
|
618
|
+
export declare const AppCustomInvoicingIssuingSynchronizedBody: zod.ZodObject<{
|
|
610
619
|
invoicing: zod.ZodOptional<zod.ZodObject<{
|
|
611
620
|
invoiceNumber: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
612
621
|
sentToCustomerAt: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
@@ -619,10 +628,10 @@ export declare const appCustomInvoicingIssuingSynchronizedBody: zod.ZodObject<{
|
|
|
619
628
|
* @summary Update payment status
|
|
620
629
|
*/
|
|
621
630
|
export declare const appCustomInvoicingUpdatePaymentStatusPathInvoiceIdRegExp: RegExp;
|
|
622
|
-
export declare const
|
|
631
|
+
export declare const AppCustomInvoicingUpdatePaymentStatusParams: zod.ZodObject<{
|
|
623
632
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
624
633
|
}, zod.z.core.$strip>;
|
|
625
|
-
export declare const
|
|
634
|
+
export declare const AppCustomInvoicingUpdatePaymentStatusBody: zod.ZodObject<{
|
|
626
635
|
trigger: zod.ZodEnum<{
|
|
627
636
|
paid: "paid";
|
|
628
637
|
payment_failed: "payment_failed";
|
|
@@ -637,7 +646,7 @@ export declare const appCustomInvoicingUpdatePaymentStatusBody: zod.ZodObject<{
|
|
|
637
646
|
* @summary Get app
|
|
638
647
|
*/
|
|
639
648
|
export declare const getAppPathIdRegExp: RegExp;
|
|
640
|
-
export declare const
|
|
649
|
+
export declare const GetAppParams: zod.ZodObject<{
|
|
641
650
|
id: zod.z.ZodCoercedString<unknown>;
|
|
642
651
|
}, zod.z.core.$strip>;
|
|
643
652
|
/**
|
|
@@ -645,16 +654,16 @@ export declare const getAppParams: zod.ZodObject<{
|
|
|
645
654
|
* @summary Update app
|
|
646
655
|
*/
|
|
647
656
|
export declare const updateAppPathIdRegExp: RegExp;
|
|
648
|
-
export declare const
|
|
657
|
+
export declare const UpdateAppParams: zod.ZodObject<{
|
|
649
658
|
id: zod.z.ZodCoercedString<unknown>;
|
|
650
659
|
}, zod.z.core.$strip>;
|
|
651
|
-
export declare const
|
|
652
|
-
export declare const
|
|
653
|
-
export declare const
|
|
654
|
-
export declare const
|
|
655
|
-
export declare const
|
|
656
|
-
export declare const
|
|
657
|
-
export declare const
|
|
660
|
+
export declare const updateAppBodyOneNameMax = 256;
|
|
661
|
+
export declare const updateAppBodyOneDescriptionMax = 1024;
|
|
662
|
+
export declare const updateAppBodyTwoNameMax = 256;
|
|
663
|
+
export declare const updateAppBodyTwoDescriptionMax = 1024;
|
|
664
|
+
export declare const updateAppBodyThreeNameMax = 256;
|
|
665
|
+
export declare const updateAppBodyThreeDescriptionMax = 1024;
|
|
666
|
+
export declare const UpdateAppBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
658
667
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
659
668
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
660
669
|
name: zod.z.ZodCoercedString<unknown>;
|
|
@@ -684,7 +693,7 @@ export declare const updateAppBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
|
684
693
|
* @summary Uninstall app
|
|
685
694
|
*/
|
|
686
695
|
export declare const uninstallAppPathIdRegExp: RegExp;
|
|
687
|
-
export declare const
|
|
696
|
+
export declare const UninstallAppParams: zod.ZodObject<{
|
|
688
697
|
id: zod.z.ZodCoercedString<unknown>;
|
|
689
698
|
}, zod.z.core.$strip>;
|
|
690
699
|
/**
|
|
@@ -695,10 +704,10 @@ export declare const uninstallAppParams: zod.ZodObject<{
|
|
|
695
704
|
* @summary Update Stripe API key
|
|
696
705
|
*/
|
|
697
706
|
export declare const updateStripeAPIKeyPathIdRegExp: RegExp;
|
|
698
|
-
export declare const
|
|
707
|
+
export declare const UpdateStripeAPIKeyParams: zod.ZodObject<{
|
|
699
708
|
id: zod.z.ZodCoercedString<unknown>;
|
|
700
709
|
}, zod.z.core.$strip>;
|
|
701
|
-
export declare const
|
|
710
|
+
export declare const UpdateStripeAPIKeyBody: zod.ZodObject<{
|
|
702
711
|
secretAPIKey: zod.z.ZodCoercedString<unknown>;
|
|
703
712
|
}, zod.z.core.$strip>;
|
|
704
713
|
/**
|
|
@@ -706,10 +715,10 @@ export declare const updateStripeAPIKeyBody: zod.ZodObject<{
|
|
|
706
715
|
* @summary Stripe webhook
|
|
707
716
|
*/
|
|
708
717
|
export declare const appStripeWebhookPathIdRegExp: RegExp;
|
|
709
|
-
export declare const
|
|
718
|
+
export declare const AppStripeWebhookParams: zod.ZodObject<{
|
|
710
719
|
id: zod.z.ZodCoercedString<unknown>;
|
|
711
720
|
}, zod.z.core.$strip>;
|
|
712
|
-
export declare const
|
|
721
|
+
export declare const AppStripeWebhookBody: zod.ZodObject<{
|
|
713
722
|
created: zod.z.ZodCoercedNumber<unknown>;
|
|
714
723
|
data: zod.ZodObject<{
|
|
715
724
|
object: zod.ZodUnknown;
|
|
@@ -729,12 +738,13 @@ if they have customer orverrides or not.
|
|
|
729
738
|
* @summary List customer overrides
|
|
730
739
|
*/
|
|
731
740
|
export declare const listBillingProfileCustomerOverridesQueryBillingProfileItemRegExp: RegExp;
|
|
732
|
-
export declare const listBillingProfileCustomerOverridesQueryIncludeAllCustomersDefault
|
|
741
|
+
export declare const listBillingProfileCustomerOverridesQueryIncludeAllCustomersDefault = true;
|
|
733
742
|
export declare const listBillingProfileCustomerOverridesQueryCustomerIdItemRegExp: RegExp;
|
|
734
|
-
export declare const
|
|
735
|
-
export declare const
|
|
736
|
-
export declare const
|
|
737
|
-
export declare const
|
|
743
|
+
export declare const listBillingProfileCustomerOverridesQueryOrderDefault = "ASC";
|
|
744
|
+
export declare const listBillingProfileCustomerOverridesQueryPageDefault = 1;
|
|
745
|
+
export declare const listBillingProfileCustomerOverridesQueryPageSizeDefault = 100;
|
|
746
|
+
export declare const listBillingProfileCustomerOverridesQueryPageSizeMax = 1000;
|
|
747
|
+
export declare const ListBillingProfileCustomerOverridesQueryParams: zod.ZodObject<{
|
|
738
748
|
billingProfile: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
739
749
|
customerId: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
740
750
|
customerKey: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -746,7 +756,7 @@ export declare const listBillingProfileCustomerOverridesQueryParams: zod.ZodObje
|
|
|
746
756
|
customer: "customer";
|
|
747
757
|
}>>>;
|
|
748
758
|
includeAllCustomers: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
749
|
-
order: zod.
|
|
759
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
750
760
|
ASC: "ASC";
|
|
751
761
|
DESC: "DESC";
|
|
752
762
|
}>>;
|
|
@@ -769,11 +779,11 @@ the default ones or have different workflow settings for example for enterprise
|
|
|
769
779
|
* @summary Create a new or update a customer override
|
|
770
780
|
*/
|
|
771
781
|
export declare const upsertBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp;
|
|
772
|
-
export declare const
|
|
782
|
+
export declare const UpsertBillingProfileCustomerOverrideParams: zod.ZodObject<{
|
|
773
783
|
customerId: zod.z.ZodCoercedString<unknown>;
|
|
774
784
|
}, zod.z.core.$strip>;
|
|
775
785
|
export declare const upsertBillingProfileCustomerOverrideBodyBillingProfileIdRegExp: RegExp;
|
|
776
|
-
export declare const
|
|
786
|
+
export declare const UpsertBillingProfileCustomerOverrideBody: zod.ZodObject<{
|
|
777
787
|
billingProfileId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
778
788
|
}, zod.z.core.$strip>;
|
|
779
789
|
/**
|
|
@@ -786,10 +796,10 @@ allows for getting a merged profile regardless of the customer override existenc
|
|
|
786
796
|
* @summary Get a customer override
|
|
787
797
|
*/
|
|
788
798
|
export declare const getBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp;
|
|
789
|
-
export declare const
|
|
799
|
+
export declare const GetBillingProfileCustomerOverrideParams: zod.ZodObject<{
|
|
790
800
|
customerId: zod.z.ZodCoercedString<unknown>;
|
|
791
801
|
}, zod.z.core.$strip>;
|
|
792
|
-
export declare const
|
|
802
|
+
export declare const GetBillingProfileCustomerOverrideQueryParams: zod.ZodObject<{
|
|
793
803
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
794
804
|
apps: "apps";
|
|
795
805
|
customer: "customer";
|
|
@@ -803,7 +813,7 @@ billing profile's settings again.
|
|
|
803
813
|
* @summary Delete a customer override
|
|
804
814
|
*/
|
|
805
815
|
export declare const deleteBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp;
|
|
806
|
-
export declare const
|
|
816
|
+
export declare const DeleteBillingProfileCustomerOverrideParams: zod.ZodObject<{
|
|
807
817
|
customerId: zod.z.ZodCoercedString<unknown>;
|
|
808
818
|
}, zod.z.core.$strip>;
|
|
809
819
|
/**
|
|
@@ -818,60 +828,62 @@ A new invoice will be created if:
|
|
|
818
828
|
* @summary Create pending line items
|
|
819
829
|
*/
|
|
820
830
|
export declare const createPendingInvoiceLinePathCustomerIdRegExp: RegExp;
|
|
821
|
-
export declare const
|
|
831
|
+
export declare const CreatePendingInvoiceLineParams: zod.ZodObject<{
|
|
822
832
|
customerId: zod.z.ZodCoercedString<unknown>;
|
|
823
833
|
}, zod.z.core.$strip>;
|
|
824
|
-
export declare const
|
|
825
|
-
export declare const
|
|
826
|
-
export declare const
|
|
827
|
-
export declare const createPendingInvoiceLineBodyLinesItemNameMax
|
|
828
|
-
export declare const createPendingInvoiceLineBodyLinesItemDescriptionMax
|
|
829
|
-
export declare const
|
|
830
|
-
export declare const
|
|
831
|
-
export declare const
|
|
832
|
-
export declare const
|
|
833
|
-
export declare const
|
|
834
|
-
export declare const
|
|
835
|
-
export declare const
|
|
836
|
-
export declare const
|
|
837
|
-
export declare const
|
|
838
|
-
export declare const
|
|
839
|
-
export declare const
|
|
840
|
-
export declare const
|
|
841
|
-
export declare const
|
|
842
|
-
export declare const
|
|
843
|
-
export declare const
|
|
844
|
-
export declare const
|
|
845
|
-
export declare const
|
|
846
|
-
export declare const
|
|
847
|
-
export declare const
|
|
848
|
-
export declare const
|
|
834
|
+
export declare const createPendingInvoiceLineBodyCurrencyOneMin = 3;
|
|
835
|
+
export declare const createPendingInvoiceLineBodyCurrencyOneMax = 3;
|
|
836
|
+
export declare const createPendingInvoiceLineBodyCurrencyOneRegExp: RegExp;
|
|
837
|
+
export declare const createPendingInvoiceLineBodyLinesItemNameMax = 256;
|
|
838
|
+
export declare const createPendingInvoiceLineBodyLinesItemDescriptionMax = 1024;
|
|
839
|
+
export declare const createPendingInvoiceLineBodyLinesItemTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
840
|
+
export declare const createPendingInvoiceLineBodyLinesItemTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
841
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneOneAmountOneRegExp: RegExp;
|
|
842
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneOnePaymentTermDefault = "in_advance";
|
|
843
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneTwoAmountOneRegExp: RegExp;
|
|
844
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
845
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
846
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
847
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
848
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
849
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
850
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
851
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneFourMultiplierOneRegExp: RegExp;
|
|
852
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneFourMultiplierDefault = "1";
|
|
853
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
854
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
855
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneFiveAmountOneRegExp: RegExp;
|
|
856
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
857
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
858
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
859
|
+
export declare const createPendingInvoiceLineBodyLinesItemFeatureKeyMax = 64;
|
|
849
860
|
export declare const createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp: RegExp;
|
|
850
|
-
export declare const
|
|
851
|
-
export declare const
|
|
852
|
-
export declare const
|
|
853
|
-
export declare const
|
|
854
|
-
export declare const
|
|
855
|
-
export declare const
|
|
856
|
-
export declare const
|
|
857
|
-
export declare const
|
|
858
|
-
export declare const
|
|
859
|
-
export declare const
|
|
860
|
-
export declare const
|
|
861
|
-
export declare const
|
|
862
|
-
export declare const
|
|
863
|
-
export declare const
|
|
864
|
-
export declare const
|
|
865
|
-
export declare const
|
|
866
|
-
export declare const
|
|
867
|
-
export declare const
|
|
868
|
-
export declare const
|
|
869
|
-
export declare const
|
|
870
|
-
export declare const
|
|
871
|
-
export declare const
|
|
872
|
-
export declare const
|
|
873
|
-
export declare const
|
|
874
|
-
export declare const
|
|
861
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOneFeatureKeyMax = 64;
|
|
862
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOneFeatureKeyRegExp: RegExp;
|
|
863
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
864
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
865
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneOneAmountOneRegExp: RegExp;
|
|
866
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneOnePaymentTermDefault = "in_advance";
|
|
867
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneTwoAmountOneRegExp: RegExp;
|
|
868
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
869
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
870
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
871
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
872
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
873
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
874
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
875
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFourMultiplierOneRegExp: RegExp;
|
|
876
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFourMultiplierDefault = "1";
|
|
877
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
878
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
879
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFiveAmountOneRegExp: RegExp;
|
|
880
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
881
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
882
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
883
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOneDiscountsOnePercentageOneCorrelationIdRegExp: RegExp;
|
|
884
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
885
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardOneDiscountsOneUsageOneCorrelationIdRegExp: RegExp;
|
|
886
|
+
export declare const CreatePendingInvoiceLineBody: zod.ZodObject<{
|
|
875
887
|
currency: zod.z.ZodCoercedString<unknown>;
|
|
876
888
|
lines: zod.ZodArray<zod.ZodObject<{
|
|
877
889
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -1020,6 +1032,7 @@ export declare const createPendingInvoiceLineBody: zod.ZodObject<{
|
|
|
1020
1032
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
1021
1033
|
code: zod.z.ZodCoercedString<unknown>;
|
|
1022
1034
|
}, zod.z.core.$strip>>;
|
|
1035
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1023
1036
|
}, zod.z.core.$strip>>;
|
|
1024
1037
|
}, zod.z.core.$strip>>;
|
|
1025
1038
|
taxConfig: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -1033,6 +1046,7 @@ export declare const createPendingInvoiceLineBody: zod.ZodObject<{
|
|
|
1033
1046
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
1034
1047
|
code: zod.z.ZodCoercedString<unknown>;
|
|
1035
1048
|
}, zod.z.core.$strip>>;
|
|
1049
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1036
1050
|
}, zod.z.core.$strip>>;
|
|
1037
1051
|
}, zod.z.core.$strip>>;
|
|
1038
1052
|
}, zod.z.core.$strip>;
|
|
@@ -1045,64 +1059,66 @@ The call will return the total amount of the invoice and the line items that wil
|
|
|
1045
1059
|
* @summary Simulate an invoice for a customer
|
|
1046
1060
|
*/
|
|
1047
1061
|
export declare const simulateInvoicePathCustomerIdRegExp: RegExp;
|
|
1048
|
-
export declare const
|
|
1062
|
+
export declare const SimulateInvoiceParams: zod.ZodObject<{
|
|
1049
1063
|
customerId: zod.z.ZodCoercedString<unknown>;
|
|
1050
1064
|
}, zod.z.core.$strip>;
|
|
1051
|
-
export declare const
|
|
1052
|
-
export declare const
|
|
1053
|
-
export declare const
|
|
1054
|
-
export declare const
|
|
1055
|
-
export declare const simulateInvoiceBodyLinesItemNameMax
|
|
1056
|
-
export declare const simulateInvoiceBodyLinesItemDescriptionMax
|
|
1057
|
-
export declare const
|
|
1058
|
-
export declare const
|
|
1059
|
-
export declare const
|
|
1060
|
-
export declare const
|
|
1061
|
-
export declare const
|
|
1062
|
-
export declare const
|
|
1063
|
-
export declare const
|
|
1064
|
-
export declare const
|
|
1065
|
-
export declare const
|
|
1066
|
-
export declare const
|
|
1067
|
-
export declare const
|
|
1068
|
-
export declare const
|
|
1069
|
-
export declare const
|
|
1070
|
-
export declare const
|
|
1071
|
-
export declare const
|
|
1072
|
-
export declare const
|
|
1073
|
-
export declare const
|
|
1074
|
-
export declare const
|
|
1075
|
-
export declare const
|
|
1076
|
-
export declare const
|
|
1065
|
+
export declare const simulateInvoiceBodyNumberOneMax = 256;
|
|
1066
|
+
export declare const simulateInvoiceBodyCurrencyOneMin = 3;
|
|
1067
|
+
export declare const simulateInvoiceBodyCurrencyOneMax = 3;
|
|
1068
|
+
export declare const simulateInvoiceBodyCurrencyOneRegExp: RegExp;
|
|
1069
|
+
export declare const simulateInvoiceBodyLinesItemNameMax = 256;
|
|
1070
|
+
export declare const simulateInvoiceBodyLinesItemDescriptionMax = 1024;
|
|
1071
|
+
export declare const simulateInvoiceBodyLinesItemTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
1072
|
+
export declare const simulateInvoiceBodyLinesItemTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
1073
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneOneAmountOneRegExp: RegExp;
|
|
1074
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneOnePaymentTermDefault = "in_advance";
|
|
1075
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneTwoAmountOneRegExp: RegExp;
|
|
1076
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
1077
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
1078
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
1079
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
1080
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
1081
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
1082
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
1083
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneFourMultiplierOneRegExp: RegExp;
|
|
1084
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneFourMultiplierDefault = "1";
|
|
1085
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
1086
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
1087
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneFiveAmountOneRegExp: RegExp;
|
|
1088
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
1089
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
1090
|
+
export declare const simulateInvoiceBodyLinesItemPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
1091
|
+
export declare const simulateInvoiceBodyLinesItemFeatureKeyMax = 64;
|
|
1077
1092
|
export declare const simulateInvoiceBodyLinesItemFeatureKeyRegExp: RegExp;
|
|
1078
|
-
export declare const
|
|
1079
|
-
export declare const
|
|
1080
|
-
export declare const
|
|
1081
|
-
export declare const
|
|
1082
|
-
export declare const
|
|
1083
|
-
export declare const
|
|
1084
|
-
export declare const
|
|
1085
|
-
export declare const
|
|
1086
|
-
export declare const
|
|
1087
|
-
export declare const
|
|
1088
|
-
export declare const
|
|
1089
|
-
export declare const
|
|
1090
|
-
export declare const
|
|
1091
|
-
export declare const
|
|
1092
|
-
export declare const
|
|
1093
|
-
export declare const
|
|
1094
|
-
export declare const
|
|
1095
|
-
export declare const
|
|
1096
|
-
export declare const
|
|
1097
|
-
export declare const
|
|
1098
|
-
export declare const
|
|
1099
|
-
export declare const
|
|
1100
|
-
export declare const
|
|
1101
|
-
export declare const
|
|
1102
|
-
export declare const
|
|
1103
|
-
export declare const
|
|
1093
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOneFeatureKeyMax = 64;
|
|
1094
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOneFeatureKeyRegExp: RegExp;
|
|
1095
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
1096
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
1097
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneOneAmountOneRegExp: RegExp;
|
|
1098
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneOnePaymentTermDefault = "in_advance";
|
|
1099
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneTwoAmountOneRegExp: RegExp;
|
|
1100
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
1101
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
1102
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
1103
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
1104
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
1105
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
1106
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
1107
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFourMultiplierOneRegExp: RegExp;
|
|
1108
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFourMultiplierDefault = "1";
|
|
1109
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
1110
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
1111
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFiveAmountOneRegExp: RegExp;
|
|
1112
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
1113
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
1114
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
1115
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOneDiscountsOnePercentageOneCorrelationIdRegExp: RegExp;
|
|
1116
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
1117
|
+
export declare const simulateInvoiceBodyLinesItemRateCardOneDiscountsOneUsageOneCorrelationIdRegExp: RegExp;
|
|
1118
|
+
export declare const simulateInvoiceBodyLinesItemQuantityOneRegExp: RegExp;
|
|
1119
|
+
export declare const simulateInvoiceBodyLinesItemPreLinePeriodQuantityOneRegExp: RegExp;
|
|
1104
1120
|
export declare const simulateInvoiceBodyLinesItemIdRegExp: RegExp;
|
|
1105
|
-
export declare const
|
|
1121
|
+
export declare const SimulateInvoiceBody: zod.ZodObject<{
|
|
1106
1122
|
currency: zod.z.ZodCoercedString<unknown>;
|
|
1107
1123
|
lines: zod.ZodArray<zod.ZodObject<{
|
|
1108
1124
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -1254,6 +1270,7 @@ export declare const simulateInvoiceBody: zod.ZodObject<{
|
|
|
1254
1270
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
1255
1271
|
code: zod.z.ZodCoercedString<unknown>;
|
|
1256
1272
|
}, zod.z.core.$strip>>;
|
|
1273
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1257
1274
|
}, zod.z.core.$strip>>;
|
|
1258
1275
|
}, zod.z.core.$strip>>;
|
|
1259
1276
|
taxConfig: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -1267,6 +1284,7 @@ export declare const simulateInvoiceBody: zod.ZodObject<{
|
|
|
1267
1284
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
1268
1285
|
code: zod.z.ZodCoercedString<unknown>;
|
|
1269
1286
|
}, zod.z.core.$strip>>;
|
|
1287
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1270
1288
|
}, zod.z.core.$strip>>;
|
|
1271
1289
|
}, zod.z.core.$strip>>;
|
|
1272
1290
|
number: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -1281,10 +1299,11 @@ Gathering invoices will always show the current usage calculated on the fly.
|
|
|
1281
1299
|
* @summary List invoices
|
|
1282
1300
|
*/
|
|
1283
1301
|
export declare const listInvoicesQueryCustomersItemRegExp: RegExp;
|
|
1284
|
-
export declare const listInvoicesQueryPageDefault
|
|
1285
|
-
export declare const listInvoicesQueryPageSizeDefault
|
|
1286
|
-
export declare const listInvoicesQueryPageSizeMax
|
|
1287
|
-
export declare const
|
|
1302
|
+
export declare const listInvoicesQueryPageDefault = 1;
|
|
1303
|
+
export declare const listInvoicesQueryPageSizeDefault = 100;
|
|
1304
|
+
export declare const listInvoicesQueryPageSizeMax = 1000;
|
|
1305
|
+
export declare const listInvoicesQueryOrderDefault = "ASC";
|
|
1306
|
+
export declare const ListInvoicesQueryParams: zod.ZodObject<{
|
|
1288
1307
|
createdAfter: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
1289
1308
|
createdBefore: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
1290
1309
|
customers: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
@@ -1297,7 +1316,7 @@ export declare const listInvoicesQueryParams: zod.ZodObject<{
|
|
|
1297
1316
|
includeDeleted: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
1298
1317
|
issuedAfter: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
1299
1318
|
issuedBefore: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
1300
|
-
order: zod.
|
|
1319
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
1301
1320
|
ASC: "ASC";
|
|
1302
1321
|
DESC: "DESC";
|
|
1303
1322
|
}>>;
|
|
@@ -1337,9 +1356,9 @@ New pending line items will be created for the period between now() and the next
|
|
|
1337
1356
|
The call can return multiple invoices if the pending line items are in different currencies.
|
|
1338
1357
|
* @summary Invoice a customer based on the pending line items
|
|
1339
1358
|
*/
|
|
1340
|
-
export declare const
|
|
1359
|
+
export declare const invoicePendingLinesActionBodyFiltersOneLineIdsItemRegExp: RegExp;
|
|
1341
1360
|
export declare const invoicePendingLinesActionBodyCustomerIdRegExp: RegExp;
|
|
1342
|
-
export declare const
|
|
1361
|
+
export declare const InvoicePendingLinesActionBody: zod.ZodObject<{
|
|
1343
1362
|
asOf: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
1344
1363
|
customerId: zod.z.ZodCoercedString<unknown>;
|
|
1345
1364
|
filters: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -1354,18 +1373,17 @@ Gathering invoices will always show the current usage calculated on the fly.
|
|
|
1354
1373
|
* @summary Get an invoice
|
|
1355
1374
|
*/
|
|
1356
1375
|
export declare const getInvoicePathInvoiceIdRegExp: RegExp;
|
|
1357
|
-
export declare const
|
|
1376
|
+
export declare const GetInvoiceParams: zod.ZodObject<{
|
|
1358
1377
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1359
1378
|
}, zod.z.core.$strip>;
|
|
1360
|
-
export declare const
|
|
1361
|
-
export declare const
|
|
1362
|
-
export declare const getInvoiceQueryParams: zod.ZodObject<{
|
|
1379
|
+
export declare const getInvoiceQueryIncludeDeletedLinesDefault = false;
|
|
1380
|
+
export declare const GetInvoiceQueryParams: zod.ZodObject<{
|
|
1363
1381
|
expand: zod.ZodDefault<zod.ZodArray<zod.ZodEnum<{
|
|
1364
1382
|
lines: "lines";
|
|
1365
1383
|
preceding: "preceding";
|
|
1366
1384
|
"workflow.apps": "workflow.apps";
|
|
1367
1385
|
}>>>;
|
|
1368
|
-
includeDeletedLines: zod.
|
|
1386
|
+
includeDeletedLines: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
1369
1387
|
}, zod.z.core.$strip>;
|
|
1370
1388
|
/**
|
|
1371
1389
|
* Delete an invoice
|
|
@@ -1376,7 +1394,7 @@ Invoices that are post finalization can only be voided.
|
|
|
1376
1394
|
* @summary Delete an invoice
|
|
1377
1395
|
*/
|
|
1378
1396
|
export declare const deleteInvoicePathInvoiceIdRegExp: RegExp;
|
|
1379
|
-
export declare const
|
|
1397
|
+
export declare const DeleteInvoiceParams: zod.ZodObject<{
|
|
1380
1398
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1381
1399
|
}, zod.z.core.$strip>;
|
|
1382
1400
|
/**
|
|
@@ -1386,76 +1404,79 @@ Only invoices in draft or earlier status can be updated.
|
|
|
1386
1404
|
* @summary Update an invoice
|
|
1387
1405
|
*/
|
|
1388
1406
|
export declare const updateInvoicePathInvoiceIdRegExp: RegExp;
|
|
1389
|
-
export declare const
|
|
1407
|
+
export declare const UpdateInvoiceParams: zod.ZodObject<{
|
|
1390
1408
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1391
1409
|
}, zod.z.core.$strip>;
|
|
1392
|
-
export declare const updateInvoiceBodyDescriptionMax
|
|
1393
|
-
export declare const
|
|
1394
|
-
export declare const
|
|
1395
|
-
export declare const
|
|
1396
|
-
export declare const
|
|
1397
|
-
export declare const
|
|
1398
|
-
export declare const
|
|
1399
|
-
export declare const
|
|
1400
|
-
export declare const
|
|
1401
|
-
export declare const
|
|
1402
|
-
export declare const
|
|
1403
|
-
export declare const
|
|
1404
|
-
export declare const
|
|
1405
|
-
export declare const updateInvoiceBodyLinesItemNameMax
|
|
1406
|
-
export declare const updateInvoiceBodyLinesItemDescriptionMax
|
|
1407
|
-
export declare const
|
|
1408
|
-
export declare const
|
|
1409
|
-
export declare const
|
|
1410
|
-
export declare const
|
|
1411
|
-
export declare const
|
|
1412
|
-
export declare const
|
|
1413
|
-
export declare const
|
|
1414
|
-
export declare const
|
|
1415
|
-
export declare const
|
|
1416
|
-
export declare const
|
|
1417
|
-
export declare const
|
|
1418
|
-
export declare const
|
|
1419
|
-
export declare const
|
|
1420
|
-
export declare const
|
|
1421
|
-
export declare const
|
|
1422
|
-
export declare const
|
|
1423
|
-
export declare const
|
|
1424
|
-
export declare const
|
|
1425
|
-
export declare const
|
|
1426
|
-
export declare const
|
|
1410
|
+
export declare const updateInvoiceBodyDescriptionMax = 1024;
|
|
1411
|
+
export declare const updateInvoiceBodySupplierOneKeyMax = 256;
|
|
1412
|
+
export declare const updateInvoiceBodySupplierOneTaxIdOneCodeOneMax = 32;
|
|
1413
|
+
export declare const updateInvoiceBodySupplierOneAddressesItemCountryOneMin = 2;
|
|
1414
|
+
export declare const updateInvoiceBodySupplierOneAddressesItemCountryOneMax = 2;
|
|
1415
|
+
export declare const updateInvoiceBodySupplierOneAddressesItemCountryOneRegExp: RegExp;
|
|
1416
|
+
export declare const updateInvoiceBodySupplierOneAddressesMax = 1;
|
|
1417
|
+
export declare const updateInvoiceBodyCustomerOneKeyMax = 256;
|
|
1418
|
+
export declare const updateInvoiceBodyCustomerOneTaxIdOneCodeOneMax = 32;
|
|
1419
|
+
export declare const updateInvoiceBodyCustomerOneAddressesItemCountryOneMin = 2;
|
|
1420
|
+
export declare const updateInvoiceBodyCustomerOneAddressesItemCountryOneMax = 2;
|
|
1421
|
+
export declare const updateInvoiceBodyCustomerOneAddressesItemCountryOneRegExp: RegExp;
|
|
1422
|
+
export declare const updateInvoiceBodyCustomerOneAddressesMax = 1;
|
|
1423
|
+
export declare const updateInvoiceBodyLinesItemNameMax = 256;
|
|
1424
|
+
export declare const updateInvoiceBodyLinesItemDescriptionMax = 1024;
|
|
1425
|
+
export declare const updateInvoiceBodyLinesItemTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
1426
|
+
export declare const updateInvoiceBodyLinesItemTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
1427
|
+
export declare const updateInvoiceBodyLinesItemPriceOneOneAmountOneRegExp: RegExp;
|
|
1428
|
+
export declare const updateInvoiceBodyLinesItemPriceOneOnePaymentTermDefault = "in_advance";
|
|
1429
|
+
export declare const updateInvoiceBodyLinesItemPriceOneTwoAmountOneRegExp: RegExp;
|
|
1430
|
+
export declare const updateInvoiceBodyLinesItemPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
1431
|
+
export declare const updateInvoiceBodyLinesItemPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
1432
|
+
export declare const updateInvoiceBodyLinesItemPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
1433
|
+
export declare const updateInvoiceBodyLinesItemPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
1434
|
+
export declare const updateInvoiceBodyLinesItemPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
1435
|
+
export declare const updateInvoiceBodyLinesItemPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
1436
|
+
export declare const updateInvoiceBodyLinesItemPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
1437
|
+
export declare const updateInvoiceBodyLinesItemPriceOneFourMultiplierOneRegExp: RegExp;
|
|
1438
|
+
export declare const updateInvoiceBodyLinesItemPriceOneFourMultiplierDefault = "1";
|
|
1439
|
+
export declare const updateInvoiceBodyLinesItemPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
1440
|
+
export declare const updateInvoiceBodyLinesItemPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
1441
|
+
export declare const updateInvoiceBodyLinesItemPriceOneFiveAmountOneRegExp: RegExp;
|
|
1442
|
+
export declare const updateInvoiceBodyLinesItemPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
1443
|
+
export declare const updateInvoiceBodyLinesItemPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
1444
|
+
export declare const updateInvoiceBodyLinesItemPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
1445
|
+
export declare const updateInvoiceBodyLinesItemFeatureKeyMax = 64;
|
|
1427
1446
|
export declare const updateInvoiceBodyLinesItemFeatureKeyRegExp: RegExp;
|
|
1428
|
-
export declare const
|
|
1429
|
-
export declare const
|
|
1430
|
-
export declare const
|
|
1431
|
-
export declare const
|
|
1432
|
-
export declare const
|
|
1433
|
-
export declare const
|
|
1434
|
-
export declare const
|
|
1435
|
-
export declare const
|
|
1436
|
-
export declare const
|
|
1437
|
-
export declare const
|
|
1438
|
-
export declare const
|
|
1439
|
-
export declare const
|
|
1440
|
-
export declare const
|
|
1441
|
-
export declare const
|
|
1442
|
-
export declare const
|
|
1443
|
-
export declare const
|
|
1444
|
-
export declare const
|
|
1445
|
-
export declare const
|
|
1446
|
-
export declare const
|
|
1447
|
-
export declare const
|
|
1448
|
-
export declare const
|
|
1449
|
-
export declare const
|
|
1450
|
-
export declare const
|
|
1451
|
-
export declare const
|
|
1447
|
+
export declare const updateInvoiceBodyLinesItemRateCardOneFeatureKeyMax = 64;
|
|
1448
|
+
export declare const updateInvoiceBodyLinesItemRateCardOneFeatureKeyRegExp: RegExp;
|
|
1449
|
+
export declare const updateInvoiceBodyLinesItemRateCardOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
1450
|
+
export declare const updateInvoiceBodyLinesItemRateCardOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
1451
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneOneAmountOneRegExp: RegExp;
|
|
1452
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneOnePaymentTermDefault = "in_advance";
|
|
1453
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneTwoAmountOneRegExp: RegExp;
|
|
1454
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
1455
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
1456
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
1457
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
1458
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
1459
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
1460
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
1461
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFourMultiplierOneRegExp: RegExp;
|
|
1462
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFourMultiplierDefault = "1";
|
|
1463
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
1464
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
1465
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFiveAmountOneRegExp: RegExp;
|
|
1466
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
1467
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
1468
|
+
export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
1469
|
+
export declare const updateInvoiceBodyLinesItemRateCardOneDiscountsOnePercentageOneCorrelationIdRegExp: RegExp;
|
|
1470
|
+
export declare const updateInvoiceBodyLinesItemRateCardOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
1471
|
+
export declare const updateInvoiceBodyLinesItemRateCardOneDiscountsOneUsageOneCorrelationIdRegExp: RegExp;
|
|
1452
1472
|
export declare const updateInvoiceBodyLinesItemIdRegExp: RegExp;
|
|
1453
|
-
export declare const
|
|
1454
|
-
export declare const
|
|
1455
|
-
export declare const
|
|
1456
|
-
export declare const
|
|
1457
|
-
export declare const
|
|
1458
|
-
export declare const
|
|
1473
|
+
export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneAutoAdvanceDefault = true;
|
|
1474
|
+
export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneDraftPeriodDefault = "P0D";
|
|
1475
|
+
export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneDueAfterDefault = "P30D";
|
|
1476
|
+
export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneDefaultTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
1477
|
+
export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneDefaultTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
1478
|
+
export declare const updateInvoiceBodyWorkflowOneWorkflowOnePaymentOneCollectionMethodDefault = "charge_automatically";
|
|
1479
|
+
export declare const UpdateInvoiceBody: zod.ZodObject<{
|
|
1459
1480
|
customer: zod.ZodObject<{
|
|
1460
1481
|
addresses: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1461
1482
|
city: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -1621,6 +1642,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
1621
1642
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
1622
1643
|
code: zod.z.ZodCoercedString<unknown>;
|
|
1623
1644
|
}, zod.z.core.$strip>>;
|
|
1645
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1624
1646
|
}, zod.z.core.$strip>>;
|
|
1625
1647
|
}, zod.z.core.$strip>>;
|
|
1626
1648
|
taxConfig: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -1634,6 +1656,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
1634
1656
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
1635
1657
|
code: zod.z.ZodCoercedString<unknown>;
|
|
1636
1658
|
}, zod.z.core.$strip>>;
|
|
1659
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1637
1660
|
}, zod.z.core.$strip>>;
|
|
1638
1661
|
}, zod.z.core.$strip>>;
|
|
1639
1662
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
@@ -1668,6 +1691,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
1668
1691
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
1669
1692
|
code: zod.z.ZodCoercedString<unknown>;
|
|
1670
1693
|
}, zod.z.core.$strip>>;
|
|
1694
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1671
1695
|
}, zod.z.core.$strip>>;
|
|
1672
1696
|
draftPeriod: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
1673
1697
|
dueAfter: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -1690,7 +1714,7 @@ The action can be called when the invoice's statusDetails' actions field contain
|
|
|
1690
1714
|
* @summary Advance the invoice's state to the next status
|
|
1691
1715
|
*/
|
|
1692
1716
|
export declare const advanceInvoiceActionPathInvoiceIdRegExp: RegExp;
|
|
1693
|
-
export declare const
|
|
1717
|
+
export declare const AdvanceInvoiceActionParams: zod.ZodObject<{
|
|
1694
1718
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1695
1719
|
}, zod.z.core.$strip>;
|
|
1696
1720
|
/**
|
|
@@ -1704,7 +1728,7 @@ This call is valid in two invoice statuses:
|
|
|
1704
1728
|
* @summary Send the invoice to the customer
|
|
1705
1729
|
*/
|
|
1706
1730
|
export declare const approveInvoiceActionPathInvoiceIdRegExp: RegExp;
|
|
1707
|
-
export declare const
|
|
1731
|
+
export declare const ApproveInvoiceActionParams: zod.ZodObject<{
|
|
1708
1732
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1709
1733
|
}, zod.z.core.$strip>;
|
|
1710
1734
|
/**
|
|
@@ -1714,7 +1738,7 @@ The action can be called when the invoice's statusDetails' actions field contain
|
|
|
1714
1738
|
* @summary Retry advancing the invoice after a failed attempt.
|
|
1715
1739
|
*/
|
|
1716
1740
|
export declare const retryInvoiceActionPathInvoiceIdRegExp: RegExp;
|
|
1717
|
-
export declare const
|
|
1741
|
+
export declare const RetryInvoiceActionParams: zod.ZodObject<{
|
|
1718
1742
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1719
1743
|
}, zod.z.core.$strip>;
|
|
1720
1744
|
/**
|
|
@@ -1727,7 +1751,7 @@ can be skipped using this action.
|
|
|
1727
1751
|
* @summary Snapshot quantities for usage based line items
|
|
1728
1752
|
*/
|
|
1729
1753
|
export declare const snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp: RegExp;
|
|
1730
|
-
export declare const
|
|
1754
|
+
export declare const SnapshotQuantitiesInvoiceActionParams: zod.ZodObject<{
|
|
1731
1755
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1732
1756
|
}, zod.z.core.$strip>;
|
|
1733
1757
|
/**
|
|
@@ -1737,7 +1761,7 @@ Note: charges might apply, depending on the tax provider.
|
|
|
1737
1761
|
* @summary Recalculate an invoice's tax amounts
|
|
1738
1762
|
*/
|
|
1739
1763
|
export declare const recalculateInvoiceTaxActionPathInvoiceIdRegExp: RegExp;
|
|
1740
|
-
export declare const
|
|
1764
|
+
export declare const RecalculateInvoiceTaxActionParams: zod.ZodObject<{
|
|
1741
1765
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1742
1766
|
}, zod.z.core.$strip>;
|
|
1743
1767
|
/**
|
|
@@ -1749,11 +1773,11 @@ Voiding an invoice will mark it as voided, the user can specify how to handle th
|
|
|
1749
1773
|
* @summary Void an invoice
|
|
1750
1774
|
*/
|
|
1751
1775
|
export declare const voidInvoiceActionPathInvoiceIdRegExp: RegExp;
|
|
1752
|
-
export declare const
|
|
1776
|
+
export declare const VoidInvoiceActionParams: zod.ZodObject<{
|
|
1753
1777
|
invoiceId: zod.z.ZodCoercedString<unknown>;
|
|
1754
1778
|
}, zod.z.core.$strip>;
|
|
1755
1779
|
export declare const voidInvoiceActionBodyOverridesItemLineIdRegExp: RegExp;
|
|
1756
|
-
export declare const
|
|
1780
|
+
export declare const VoidInvoiceActionBody: zod.ZodObject<{
|
|
1757
1781
|
action: zod.ZodObject<{
|
|
1758
1782
|
action: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
1759
1783
|
type: zod.ZodEnum<{
|
|
@@ -1793,16 +1817,17 @@ in the response. For example by adding the expand=apps option the apps used by t
|
|
|
1793
1817
|
will be included in the response.
|
|
1794
1818
|
* @summary List billing profiles
|
|
1795
1819
|
*/
|
|
1796
|
-
export declare const listBillingProfilesQueryIncludeArchivedDefault
|
|
1797
|
-
export declare const listBillingProfilesQueryPageDefault
|
|
1798
|
-
export declare const listBillingProfilesQueryPageSizeDefault
|
|
1799
|
-
export declare const listBillingProfilesQueryPageSizeMax
|
|
1800
|
-
export declare const
|
|
1820
|
+
export declare const listBillingProfilesQueryIncludeArchivedDefault = false;
|
|
1821
|
+
export declare const listBillingProfilesQueryPageDefault = 1;
|
|
1822
|
+
export declare const listBillingProfilesQueryPageSizeDefault = 100;
|
|
1823
|
+
export declare const listBillingProfilesQueryPageSizeMax = 1000;
|
|
1824
|
+
export declare const listBillingProfilesQueryOrderDefault = "ASC";
|
|
1825
|
+
export declare const ListBillingProfilesQueryParams: zod.ZodObject<{
|
|
1801
1826
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
1802
1827
|
apps: "apps";
|
|
1803
1828
|
}>>>;
|
|
1804
|
-
includeArchived: zod.
|
|
1805
|
-
order: zod.
|
|
1829
|
+
includeArchived: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
1830
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
1806
1831
|
ASC: "ASC";
|
|
1807
1832
|
DESC: "DESC";
|
|
1808
1833
|
}>>;
|
|
@@ -1822,31 +1847,32 @@ Billing profiles are representations of a customer's billing information. Custom
|
|
|
1822
1847
|
can be applied to a billing profile to customize the billing behavior for a specific customer.
|
|
1823
1848
|
* @summary Create a new billing profile
|
|
1824
1849
|
*/
|
|
1825
|
-
export declare const createBillingProfileBodyNameMax
|
|
1826
|
-
export declare const createBillingProfileBodyDescriptionMax
|
|
1827
|
-
export declare const
|
|
1828
|
-
export declare const
|
|
1829
|
-
export declare const
|
|
1830
|
-
export declare const
|
|
1831
|
-
export declare const
|
|
1832
|
-
export declare const
|
|
1833
|
-
export declare const
|
|
1834
|
-
export declare const
|
|
1850
|
+
export declare const createBillingProfileBodyNameMax = 256;
|
|
1851
|
+
export declare const createBillingProfileBodyDescriptionMax = 1024;
|
|
1852
|
+
export declare const createBillingProfileBodySupplierOneKeyMax = 256;
|
|
1853
|
+
export declare const createBillingProfileBodySupplierOneTaxIdOneCodeOneMax = 32;
|
|
1854
|
+
export declare const createBillingProfileBodySupplierOneAddressesItemCountryOneMin = 2;
|
|
1855
|
+
export declare const createBillingProfileBodySupplierOneAddressesItemCountryOneMax = 2;
|
|
1856
|
+
export declare const createBillingProfileBodySupplierOneAddressesItemCountryOneRegExp: RegExp;
|
|
1857
|
+
export declare const createBillingProfileBodySupplierOneAddressesMax = 1;
|
|
1858
|
+
export declare const createBillingProfileBodyWorkflowOneCollectionOneAlignmentOneTwoRecurringPeriodOneIntervalOneOneRegExp: RegExp;
|
|
1859
|
+
export declare const createBillingProfileBodyWorkflowOneCollectionOneAlignmentDefault: {
|
|
1835
1860
|
readonly type: "subscription";
|
|
1836
1861
|
};
|
|
1837
|
-
export declare const
|
|
1838
|
-
export declare const
|
|
1839
|
-
export declare const
|
|
1840
|
-
export declare const
|
|
1841
|
-
export declare const
|
|
1842
|
-
export declare const
|
|
1843
|
-
export declare const
|
|
1844
|
-
export declare const
|
|
1845
|
-
export declare const
|
|
1846
|
-
export declare const
|
|
1847
|
-
export declare const
|
|
1848
|
-
export declare const
|
|
1849
|
-
export declare const
|
|
1862
|
+
export declare const createBillingProfileBodyWorkflowOneCollectionOneIntervalDefault = "PT1H";
|
|
1863
|
+
export declare const createBillingProfileBodyWorkflowOneInvoicingOneAutoAdvanceDefault = true;
|
|
1864
|
+
export declare const createBillingProfileBodyWorkflowOneInvoicingOneDraftPeriodDefault = "P0D";
|
|
1865
|
+
export declare const createBillingProfileBodyWorkflowOneInvoicingOneDueAfterDefault = "P30D";
|
|
1866
|
+
export declare const createBillingProfileBodyWorkflowOneInvoicingOneProgressiveBillingDefault = true;
|
|
1867
|
+
export declare const createBillingProfileBodyWorkflowOneInvoicingOneDefaultTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
1868
|
+
export declare const createBillingProfileBodyWorkflowOneInvoicingOneDefaultTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
1869
|
+
export declare const createBillingProfileBodyWorkflowOnePaymentOneCollectionMethodDefault = "charge_automatically";
|
|
1870
|
+
export declare const createBillingProfileBodyWorkflowOneTaxOneEnabledDefault = true;
|
|
1871
|
+
export declare const createBillingProfileBodyWorkflowOneTaxOneEnforcedDefault = false;
|
|
1872
|
+
export declare const createBillingProfileBodyAppsOneTaxRegExp: RegExp;
|
|
1873
|
+
export declare const createBillingProfileBodyAppsOneInvoicingRegExp: RegExp;
|
|
1874
|
+
export declare const createBillingProfileBodyAppsOnePaymentRegExp: RegExp;
|
|
1875
|
+
export declare const CreateBillingProfileBody: zod.ZodObject<{
|
|
1850
1876
|
apps: zod.ZodObject<{
|
|
1851
1877
|
invoicing: zod.z.ZodCoercedString<unknown>;
|
|
1852
1878
|
payment: zod.z.ZodCoercedString<unknown>;
|
|
@@ -1908,10 +1934,11 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
1908
1934
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
1909
1935
|
code: zod.z.ZodCoercedString<unknown>;
|
|
1910
1936
|
}, zod.z.core.$strip>>;
|
|
1937
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1911
1938
|
}, zod.z.core.$strip>>;
|
|
1912
1939
|
draftPeriod: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
1913
1940
|
dueAfter: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
1914
|
-
progressiveBilling: zod.
|
|
1941
|
+
progressiveBilling: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
1915
1942
|
}, zod.z.core.$strip>>;
|
|
1916
1943
|
payment: zod.ZodOptional<zod.ZodObject<{
|
|
1917
1944
|
collectionMethod: zod.ZodDefault<zod.ZodEnum<{
|
|
@@ -1921,7 +1948,7 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
1921
1948
|
}, zod.z.core.$strip>>;
|
|
1922
1949
|
tax: zod.ZodOptional<zod.ZodObject<{
|
|
1923
1950
|
enabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
1924
|
-
enforced: zod.
|
|
1951
|
+
enforced: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
1925
1952
|
}, zod.z.core.$strip>>;
|
|
1926
1953
|
}, zod.z.core.$strip>;
|
|
1927
1954
|
}, zod.z.core.$strip>;
|
|
@@ -1935,7 +1962,7 @@ Only such billing profiles can be deleted that are:
|
|
|
1935
1962
|
* @summary Delete a billing profile
|
|
1936
1963
|
*/
|
|
1937
1964
|
export declare const deleteBillingProfilePathIdRegExp: RegExp;
|
|
1938
|
-
export declare const
|
|
1965
|
+
export declare const DeleteBillingProfileParams: zod.ZodObject<{
|
|
1939
1966
|
id: zod.z.ZodCoercedString<unknown>;
|
|
1940
1967
|
}, zod.z.core.$strip>;
|
|
1941
1968
|
/**
|
|
@@ -1947,10 +1974,10 @@ will be included in the response.
|
|
|
1947
1974
|
* @summary Get a billing profile
|
|
1948
1975
|
*/
|
|
1949
1976
|
export declare const getBillingProfilePathIdRegExp: RegExp;
|
|
1950
|
-
export declare const
|
|
1977
|
+
export declare const GetBillingProfileParams: zod.ZodObject<{
|
|
1951
1978
|
id: zod.z.ZodCoercedString<unknown>;
|
|
1952
1979
|
}, zod.z.core.$strip>;
|
|
1953
|
-
export declare const
|
|
1980
|
+
export declare const GetBillingProfileQueryParams: zod.ZodObject<{
|
|
1954
1981
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
1955
1982
|
apps: "apps";
|
|
1956
1983
|
}>>>;
|
|
@@ -1963,31 +1990,32 @@ profile should be created.
|
|
|
1963
1990
|
* @summary Update a billing profile
|
|
1964
1991
|
*/
|
|
1965
1992
|
export declare const updateBillingProfilePathIdRegExp: RegExp;
|
|
1966
|
-
export declare const
|
|
1993
|
+
export declare const UpdateBillingProfileParams: zod.ZodObject<{
|
|
1967
1994
|
id: zod.z.ZodCoercedString<unknown>;
|
|
1968
1995
|
}, zod.z.core.$strip>;
|
|
1969
|
-
export declare const updateBillingProfileBodyNameMax
|
|
1970
|
-
export declare const updateBillingProfileBodyDescriptionMax
|
|
1971
|
-
export declare const
|
|
1972
|
-
export declare const
|
|
1973
|
-
export declare const
|
|
1974
|
-
export declare const
|
|
1975
|
-
export declare const
|
|
1976
|
-
export declare const
|
|
1977
|
-
export declare const
|
|
1978
|
-
export declare const
|
|
1996
|
+
export declare const updateBillingProfileBodyNameMax = 256;
|
|
1997
|
+
export declare const updateBillingProfileBodyDescriptionMax = 1024;
|
|
1998
|
+
export declare const updateBillingProfileBodySupplierOneKeyMax = 256;
|
|
1999
|
+
export declare const updateBillingProfileBodySupplierOneTaxIdOneCodeOneMax = 32;
|
|
2000
|
+
export declare const updateBillingProfileBodySupplierOneAddressesItemCountryOneMin = 2;
|
|
2001
|
+
export declare const updateBillingProfileBodySupplierOneAddressesItemCountryOneMax = 2;
|
|
2002
|
+
export declare const updateBillingProfileBodySupplierOneAddressesItemCountryOneRegExp: RegExp;
|
|
2003
|
+
export declare const updateBillingProfileBodySupplierOneAddressesMax = 1;
|
|
2004
|
+
export declare const updateBillingProfileBodyWorkflowOneCollectionOneAlignmentOneTwoRecurringPeriodOneIntervalOneOneRegExp: RegExp;
|
|
2005
|
+
export declare const updateBillingProfileBodyWorkflowOneCollectionOneAlignmentDefault: {
|
|
1979
2006
|
readonly type: "subscription";
|
|
1980
2007
|
};
|
|
1981
|
-
export declare const
|
|
1982
|
-
export declare const
|
|
1983
|
-
export declare const
|
|
1984
|
-
export declare const
|
|
1985
|
-
export declare const
|
|
1986
|
-
export declare const
|
|
1987
|
-
export declare const
|
|
1988
|
-
export declare const
|
|
1989
|
-
export declare const
|
|
1990
|
-
export declare const
|
|
2008
|
+
export declare const updateBillingProfileBodyWorkflowOneCollectionOneIntervalDefault = "PT1H";
|
|
2009
|
+
export declare const updateBillingProfileBodyWorkflowOneInvoicingOneAutoAdvanceDefault = true;
|
|
2010
|
+
export declare const updateBillingProfileBodyWorkflowOneInvoicingOneDraftPeriodDefault = "P0D";
|
|
2011
|
+
export declare const updateBillingProfileBodyWorkflowOneInvoicingOneDueAfterDefault = "P30D";
|
|
2012
|
+
export declare const updateBillingProfileBodyWorkflowOneInvoicingOneProgressiveBillingDefault = true;
|
|
2013
|
+
export declare const updateBillingProfileBodyWorkflowOneInvoicingOneDefaultTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
2014
|
+
export declare const updateBillingProfileBodyWorkflowOneInvoicingOneDefaultTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
2015
|
+
export declare const updateBillingProfileBodyWorkflowOnePaymentOneCollectionMethodDefault = "charge_automatically";
|
|
2016
|
+
export declare const updateBillingProfileBodyWorkflowOneTaxOneEnabledDefault = true;
|
|
2017
|
+
export declare const updateBillingProfileBodyWorkflowOneTaxOneEnforcedDefault = false;
|
|
2018
|
+
export declare const UpdateBillingProfileBody: zod.ZodObject<{
|
|
1991
2019
|
default: zod.z.ZodCoercedBoolean<unknown>;
|
|
1992
2020
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
1993
2021
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
@@ -2044,10 +2072,11 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
2044
2072
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
2045
2073
|
code: zod.z.ZodCoercedString<unknown>;
|
|
2046
2074
|
}, zod.z.core.$strip>>;
|
|
2075
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2047
2076
|
}, zod.z.core.$strip>>;
|
|
2048
2077
|
draftPeriod: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
2049
2078
|
dueAfter: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
2050
|
-
progressiveBilling: zod.
|
|
2079
|
+
progressiveBilling: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2051
2080
|
}, zod.z.core.$strip>>;
|
|
2052
2081
|
payment: zod.ZodOptional<zod.ZodObject<{
|
|
2053
2082
|
collectionMethod: zod.ZodDefault<zod.ZodEnum<{
|
|
@@ -2057,7 +2086,7 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
2057
2086
|
}, zod.z.core.$strip>>;
|
|
2058
2087
|
tax: zod.ZodOptional<zod.ZodObject<{
|
|
2059
2088
|
enabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2060
|
-
enforced: zod.
|
|
2089
|
+
enforced: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2061
2090
|
}, zod.z.core.$strip>>;
|
|
2062
2091
|
}, zod.z.core.$strip>;
|
|
2063
2092
|
}, zod.z.core.$strip>;
|
|
@@ -2065,17 +2094,17 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
2065
2094
|
* Create a new customer.
|
|
2066
2095
|
* @summary Create customer
|
|
2067
2096
|
*/
|
|
2068
|
-
export declare const createCustomerBodyNameMax
|
|
2069
|
-
export declare const createCustomerBodyDescriptionMax
|
|
2070
|
-
export declare const createCustomerBodyKeyMax
|
|
2071
|
-
export declare const
|
|
2072
|
-
export declare const
|
|
2073
|
-
export declare const
|
|
2074
|
-
export declare const
|
|
2075
|
-
export declare const
|
|
2076
|
-
export declare const
|
|
2077
|
-
export declare const
|
|
2078
|
-
export declare const
|
|
2097
|
+
export declare const createCustomerBodyNameMax = 256;
|
|
2098
|
+
export declare const createCustomerBodyDescriptionMax = 1024;
|
|
2099
|
+
export declare const createCustomerBodyKeyMax = 256;
|
|
2100
|
+
export declare const createCustomerBodyUsageAttributionOneSubjectKeysMin = 0;
|
|
2101
|
+
export declare const createCustomerBodyCurrencyOneMin = 3;
|
|
2102
|
+
export declare const createCustomerBodyCurrencyOneMax = 3;
|
|
2103
|
+
export declare const createCustomerBodyCurrencyOneRegExp: RegExp;
|
|
2104
|
+
export declare const createCustomerBodyBillingAddressOneCountryOneMin = 2;
|
|
2105
|
+
export declare const createCustomerBodyBillingAddressOneCountryOneMax = 2;
|
|
2106
|
+
export declare const createCustomerBodyBillingAddressOneCountryOneRegExp: RegExp;
|
|
2107
|
+
export declare const CreateCustomerBody: zod.ZodObject<{
|
|
2079
2108
|
billingAddress: zod.ZodOptional<zod.ZodObject<{
|
|
2080
2109
|
city: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2081
2110
|
country: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -2099,18 +2128,19 @@ export declare const createCustomerBody: zod.ZodObject<{
|
|
|
2099
2128
|
* List customers.
|
|
2100
2129
|
* @summary List customers
|
|
2101
2130
|
*/
|
|
2102
|
-
export declare const listCustomersQueryPageDefault
|
|
2103
|
-
export declare const listCustomersQueryPageSizeDefault
|
|
2104
|
-
export declare const listCustomersQueryPageSizeMax
|
|
2105
|
-
export declare const
|
|
2106
|
-
export declare const
|
|
2131
|
+
export declare const listCustomersQueryPageDefault = 1;
|
|
2132
|
+
export declare const listCustomersQueryPageSizeDefault = 100;
|
|
2133
|
+
export declare const listCustomersQueryPageSizeMax = 1000;
|
|
2134
|
+
export declare const listCustomersQueryOrderDefault = "ASC";
|
|
2135
|
+
export declare const listCustomersQueryIncludeDeletedDefault = false;
|
|
2136
|
+
export declare const ListCustomersQueryParams: zod.ZodObject<{
|
|
2107
2137
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
2108
2138
|
subscriptions: "subscriptions";
|
|
2109
2139
|
}>>>;
|
|
2110
|
-
includeDeleted: zod.
|
|
2140
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2111
2141
|
key: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2112
2142
|
name: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2113
|
-
order: zod.
|
|
2143
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
2114
2144
|
ASC: "ASC";
|
|
2115
2145
|
DESC: "DESC";
|
|
2116
2146
|
}>>;
|
|
@@ -2129,12 +2159,12 @@ export declare const listCustomersQueryParams: zod.ZodObject<{
|
|
|
2129
2159
|
* Get a customer by ID or key.
|
|
2130
2160
|
* @summary Get customer
|
|
2131
2161
|
*/
|
|
2132
|
-
export declare const
|
|
2133
|
-
export declare const
|
|
2134
|
-
export declare const
|
|
2162
|
+
export declare const getCustomerPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2163
|
+
export declare const getCustomerPathCustomerIdOrKeyTwoMax = 256;
|
|
2164
|
+
export declare const GetCustomerParams: zod.ZodObject<{
|
|
2135
2165
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2136
2166
|
}, zod.z.core.$strip>;
|
|
2137
|
-
export declare const
|
|
2167
|
+
export declare const GetCustomerQueryParams: zod.ZodObject<{
|
|
2138
2168
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
2139
2169
|
subscriptions: "subscriptions";
|
|
2140
2170
|
}>>>;
|
|
@@ -2143,22 +2173,22 @@ export declare const getCustomerQueryParams: zod.ZodObject<{
|
|
|
2143
2173
|
* Update a customer by ID.
|
|
2144
2174
|
* @summary Update customer
|
|
2145
2175
|
*/
|
|
2146
|
-
export declare const
|
|
2147
|
-
export declare const
|
|
2148
|
-
export declare const
|
|
2176
|
+
export declare const updateCustomerPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2177
|
+
export declare const updateCustomerPathCustomerIdOrKeyTwoMax = 256;
|
|
2178
|
+
export declare const UpdateCustomerParams: zod.ZodObject<{
|
|
2149
2179
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2150
2180
|
}, zod.z.core.$strip>;
|
|
2151
|
-
export declare const updateCustomerBodyNameMax
|
|
2152
|
-
export declare const updateCustomerBodyDescriptionMax
|
|
2153
|
-
export declare const updateCustomerBodyKeyMax
|
|
2154
|
-
export declare const
|
|
2155
|
-
export declare const
|
|
2156
|
-
export declare const
|
|
2157
|
-
export declare const
|
|
2158
|
-
export declare const
|
|
2159
|
-
export declare const
|
|
2160
|
-
export declare const
|
|
2161
|
-
export declare const
|
|
2181
|
+
export declare const updateCustomerBodyNameMax = 256;
|
|
2182
|
+
export declare const updateCustomerBodyDescriptionMax = 1024;
|
|
2183
|
+
export declare const updateCustomerBodyKeyMax = 256;
|
|
2184
|
+
export declare const updateCustomerBodyUsageAttributionOneSubjectKeysMin = 0;
|
|
2185
|
+
export declare const updateCustomerBodyCurrencyOneMin = 3;
|
|
2186
|
+
export declare const updateCustomerBodyCurrencyOneMax = 3;
|
|
2187
|
+
export declare const updateCustomerBodyCurrencyOneRegExp: RegExp;
|
|
2188
|
+
export declare const updateCustomerBodyBillingAddressOneCountryOneMin = 2;
|
|
2189
|
+
export declare const updateCustomerBodyBillingAddressOneCountryOneMax = 2;
|
|
2190
|
+
export declare const updateCustomerBodyBillingAddressOneCountryOneRegExp: RegExp;
|
|
2191
|
+
export declare const UpdateCustomerBody: zod.ZodObject<{
|
|
2162
2192
|
billingAddress: zod.ZodOptional<zod.ZodObject<{
|
|
2163
2193
|
city: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2164
2194
|
country: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -2182,33 +2212,33 @@ export declare const updateCustomerBody: zod.ZodObject<{
|
|
|
2182
2212
|
* Delete a customer by ID.
|
|
2183
2213
|
* @summary Delete customer
|
|
2184
2214
|
*/
|
|
2185
|
-
export declare const
|
|
2186
|
-
export declare const
|
|
2187
|
-
export declare const
|
|
2215
|
+
export declare const deleteCustomerPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2216
|
+
export declare const deleteCustomerPathCustomerIdOrKeyTwoMax = 256;
|
|
2217
|
+
export declare const DeleteCustomerParams: zod.ZodObject<{
|
|
2188
2218
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2189
2219
|
}, zod.z.core.$strip>;
|
|
2190
2220
|
/**
|
|
2191
2221
|
* Get the overall access of a customer.
|
|
2192
2222
|
* @summary Get customer access
|
|
2193
2223
|
*/
|
|
2194
|
-
export declare const
|
|
2195
|
-
export declare const
|
|
2196
|
-
export declare const
|
|
2224
|
+
export declare const getCustomerAccessPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2225
|
+
export declare const getCustomerAccessPathCustomerIdOrKeyTwoMax = 256;
|
|
2226
|
+
export declare const GetCustomerAccessParams: zod.ZodObject<{
|
|
2197
2227
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2198
2228
|
}, zod.z.core.$strip>;
|
|
2199
2229
|
/**
|
|
2200
2230
|
* List customers app data.
|
|
2201
2231
|
* @summary List customer app data
|
|
2202
2232
|
*/
|
|
2203
|
-
export declare const
|
|
2204
|
-
export declare const
|
|
2205
|
-
export declare const
|
|
2233
|
+
export declare const listCustomerAppDataPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2234
|
+
export declare const listCustomerAppDataPathCustomerIdOrKeyTwoMax = 256;
|
|
2235
|
+
export declare const ListCustomerAppDataParams: zod.ZodObject<{
|
|
2206
2236
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2207
2237
|
}, zod.z.core.$strip>;
|
|
2208
|
-
export declare const listCustomerAppDataQueryPageDefault
|
|
2209
|
-
export declare const listCustomerAppDataQueryPageSizeDefault
|
|
2210
|
-
export declare const listCustomerAppDataQueryPageSizeMax
|
|
2211
|
-
export declare const
|
|
2238
|
+
export declare const listCustomerAppDataQueryPageDefault = 1;
|
|
2239
|
+
export declare const listCustomerAppDataQueryPageSizeDefault = 100;
|
|
2240
|
+
export declare const listCustomerAppDataQueryPageSizeMax = 1000;
|
|
2241
|
+
export declare const ListCustomerAppDataQueryParams: zod.ZodObject<{
|
|
2212
2242
|
page: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2213
2243
|
pageSize: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2214
2244
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -2221,25 +2251,25 @@ export declare const listCustomerAppDataQueryParams: zod.ZodObject<{
|
|
|
2221
2251
|
* Upsert customer app data.
|
|
2222
2252
|
* @summary Upsert customer app data
|
|
2223
2253
|
*/
|
|
2224
|
-
export declare const
|
|
2225
|
-
export declare const
|
|
2226
|
-
export declare const
|
|
2254
|
+
export declare const upsertCustomerAppDataPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2255
|
+
export declare const upsertCustomerAppDataPathCustomerIdOrKeyTwoMax = 256;
|
|
2256
|
+
export declare const UpsertCustomerAppDataParams: zod.ZodObject<{
|
|
2227
2257
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2228
2258
|
}, zod.z.core.$strip>;
|
|
2229
|
-
export declare const
|
|
2230
|
-
export declare const
|
|
2231
|
-
export declare const
|
|
2232
|
-
export declare const
|
|
2233
|
-
export declare const
|
|
2234
|
-
export declare const
|
|
2235
|
-
export declare const
|
|
2236
|
-
export declare const
|
|
2237
|
-
export declare const
|
|
2238
|
-
export declare const
|
|
2239
|
-
export declare const
|
|
2240
|
-
export declare const
|
|
2241
|
-
export declare const
|
|
2242
|
-
export declare const
|
|
2259
|
+
export declare const upsertCustomerAppDataBodyOneIdRegExp: RegExp;
|
|
2260
|
+
export declare const upsertCustomerAppDataBodyTwoAppOneIdRegExp: RegExp;
|
|
2261
|
+
export declare const upsertCustomerAppDataBodyTwoAppOneNameMax = 256;
|
|
2262
|
+
export declare const upsertCustomerAppDataBodyTwoAppOneDescriptionMax = 1024;
|
|
2263
|
+
export declare const upsertCustomerAppDataBodyTwoAppOneListingOneCapabilitiesItemKeyMax = 64;
|
|
2264
|
+
export declare const upsertCustomerAppDataBodyTwoAppOneListingOneCapabilitiesItemKeyRegExp: RegExp;
|
|
2265
|
+
export declare const upsertCustomerAppDataBodyTwoIdRegExp: RegExp;
|
|
2266
|
+
export declare const upsertCustomerAppDataBodyThreeAppOneIdRegExp: RegExp;
|
|
2267
|
+
export declare const upsertCustomerAppDataBodyThreeAppOneNameMax = 256;
|
|
2268
|
+
export declare const upsertCustomerAppDataBodyThreeAppOneDescriptionMax = 1024;
|
|
2269
|
+
export declare const upsertCustomerAppDataBodyThreeAppOneListingOneCapabilitiesItemKeyMax = 64;
|
|
2270
|
+
export declare const upsertCustomerAppDataBodyThreeAppOneListingOneCapabilitiesItemKeyRegExp: RegExp;
|
|
2271
|
+
export declare const upsertCustomerAppDataBodyThreeIdRegExp: RegExp;
|
|
2272
|
+
export declare const UpsertCustomerAppDataBodyItem: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2243
2273
|
id: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2244
2274
|
stripeCustomerId: zod.z.ZodCoercedString<unknown>;
|
|
2245
2275
|
stripeDefaultPaymentMethodId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -2344,7 +2374,7 @@ export declare const upsertCustomerAppDataBodyItem: zod.ZodUnion<readonly [zod.Z
|
|
|
2344
2374
|
custom_invoicing: "custom_invoicing";
|
|
2345
2375
|
}>;
|
|
2346
2376
|
}, zod.z.core.$strip>]>;
|
|
2347
|
-
export declare const
|
|
2377
|
+
export declare const UpsertCustomerAppDataBody: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2348
2378
|
id: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2349
2379
|
stripeCustomerId: zod.z.ZodCoercedString<unknown>;
|
|
2350
2380
|
stripeDefaultPaymentMethodId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -2453,10 +2483,10 @@ export declare const upsertCustomerAppDataBody: zod.ZodArray<zod.ZodUnion<readon
|
|
|
2453
2483
|
* Delete customer app data.
|
|
2454
2484
|
* @summary Delete customer app data
|
|
2455
2485
|
*/
|
|
2456
|
-
export declare const
|
|
2457
|
-
export declare const
|
|
2486
|
+
export declare const deleteCustomerAppDataPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2487
|
+
export declare const deleteCustomerAppDataPathCustomerIdOrKeyTwoMax = 256;
|
|
2458
2488
|
export declare const deleteCustomerAppDataPathAppIdRegExp: RegExp;
|
|
2459
|
-
export declare const
|
|
2489
|
+
export declare const DeleteCustomerAppDataParams: zod.ZodObject<{
|
|
2460
2490
|
appId: zod.z.ZodCoercedString<unknown>;
|
|
2461
2491
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2462
2492
|
}, zod.z.core.$strip>;
|
|
@@ -2464,15 +2494,15 @@ export declare const deleteCustomerAppDataParams: zod.ZodObject<{
|
|
|
2464
2494
|
* 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.
|
|
2465
2495
|
* @summary Get customer entitlement value
|
|
2466
2496
|
*/
|
|
2467
|
-
export declare const
|
|
2468
|
-
export declare const
|
|
2469
|
-
export declare const getCustomerEntitlementValuePathFeatureKeyMax
|
|
2497
|
+
export declare const getCustomerEntitlementValuePathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2498
|
+
export declare const getCustomerEntitlementValuePathCustomerIdOrKeyTwoMax = 256;
|
|
2499
|
+
export declare const getCustomerEntitlementValuePathFeatureKeyMax = 64;
|
|
2470
2500
|
export declare const getCustomerEntitlementValuePathFeatureKeyRegExp: RegExp;
|
|
2471
|
-
export declare const
|
|
2501
|
+
export declare const GetCustomerEntitlementValueParams: zod.ZodObject<{
|
|
2472
2502
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2473
2503
|
featureKey: zod.z.ZodCoercedString<unknown>;
|
|
2474
2504
|
}, zod.z.core.$strip>;
|
|
2475
|
-
export declare const
|
|
2505
|
+
export declare const GetCustomerEntitlementValueQueryParams: zod.ZodObject<{
|
|
2476
2506
|
time: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
2477
2507
|
}, zod.z.core.$strip>;
|
|
2478
2508
|
/**
|
|
@@ -2480,9 +2510,9 @@ export declare const getCustomerEntitlementValueQueryParams: zod.ZodObject<{
|
|
|
2480
2510
|
Only returns data if the customer billing profile is linked to a stripe app.
|
|
2481
2511
|
* @summary Get customer stripe app data
|
|
2482
2512
|
*/
|
|
2483
|
-
export declare const
|
|
2484
|
-
export declare const
|
|
2485
|
-
export declare const
|
|
2513
|
+
export declare const getCustomerStripeAppDataPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2514
|
+
export declare const getCustomerStripeAppDataPathCustomerIdOrKeyTwoMax = 256;
|
|
2515
|
+
export declare const GetCustomerStripeAppDataParams: zod.ZodObject<{
|
|
2486
2516
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2487
2517
|
}, zod.z.core.$strip>;
|
|
2488
2518
|
/**
|
|
@@ -2490,12 +2520,12 @@ export declare const getCustomerStripeAppDataParams: zod.ZodObject<{
|
|
|
2490
2520
|
Only updates data if the customer billing profile is linked to a stripe app.
|
|
2491
2521
|
* @summary Upsert customer stripe app data
|
|
2492
2522
|
*/
|
|
2493
|
-
export declare const
|
|
2494
|
-
export declare const
|
|
2495
|
-
export declare const
|
|
2523
|
+
export declare const upsertCustomerStripeAppDataPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2524
|
+
export declare const upsertCustomerStripeAppDataPathCustomerIdOrKeyTwoMax = 256;
|
|
2525
|
+
export declare const UpsertCustomerStripeAppDataParams: zod.ZodObject<{
|
|
2496
2526
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2497
2527
|
}, zod.z.core.$strip>;
|
|
2498
|
-
export declare const
|
|
2528
|
+
export declare const UpsertCustomerStripeAppDataBody: zod.ZodObject<{
|
|
2499
2529
|
stripeCustomerId: zod.z.ZodCoercedString<unknown>;
|
|
2500
2530
|
stripeDefaultPaymentMethodId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2501
2531
|
}, zod.z.core.$strip>;
|
|
@@ -2507,12 +2537,12 @@ Useful to redirect the customer to the Stripe customer portal to manage their pa
|
|
|
2507
2537
|
change their billing address and access their invoice history.
|
|
2508
2538
|
* @summary Create Stripe customer portal session
|
|
2509
2539
|
*/
|
|
2510
|
-
export declare const
|
|
2511
|
-
export declare const
|
|
2512
|
-
export declare const
|
|
2540
|
+
export declare const createCustomerStripePortalSessionPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2541
|
+
export declare const createCustomerStripePortalSessionPathCustomerIdOrKeyTwoMax = 256;
|
|
2542
|
+
export declare const CreateCustomerStripePortalSessionParams: zod.ZodObject<{
|
|
2513
2543
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2514
2544
|
}, zod.z.core.$strip>;
|
|
2515
|
-
export declare const
|
|
2545
|
+
export declare const CreateCustomerStripePortalSessionBody: zod.ZodObject<{
|
|
2516
2546
|
configurationId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2517
2547
|
locale: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2518
2548
|
returnUrl: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -2521,16 +2551,17 @@ export declare const createCustomerStripePortalSessionBody: zod.ZodObject<{
|
|
|
2521
2551
|
* Lists all subscriptions for a customer.
|
|
2522
2552
|
* @summary List customer subscriptions
|
|
2523
2553
|
*/
|
|
2524
|
-
export declare const
|
|
2525
|
-
export declare const
|
|
2526
|
-
export declare const
|
|
2554
|
+
export declare const listCustomerSubscriptionsPathCustomerIdOrKeyOneRegExp: RegExp;
|
|
2555
|
+
export declare const listCustomerSubscriptionsPathCustomerIdOrKeyTwoMax = 256;
|
|
2556
|
+
export declare const ListCustomerSubscriptionsParams: zod.ZodObject<{
|
|
2527
2557
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
2528
2558
|
}, zod.z.core.$strip>;
|
|
2529
|
-
export declare const
|
|
2530
|
-
export declare const
|
|
2531
|
-
export declare const
|
|
2532
|
-
export declare const
|
|
2533
|
-
|
|
2559
|
+
export declare const listCustomerSubscriptionsQueryOrderDefault = "ASC";
|
|
2560
|
+
export declare const listCustomerSubscriptionsQueryPageDefault = 1;
|
|
2561
|
+
export declare const listCustomerSubscriptionsQueryPageSizeDefault = 100;
|
|
2562
|
+
export declare const listCustomerSubscriptionsQueryPageSizeMax = 1000;
|
|
2563
|
+
export declare const ListCustomerSubscriptionsQueryParams: zod.ZodObject<{
|
|
2564
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
2534
2565
|
ASC: "ASC";
|
|
2535
2566
|
DESC: "DESC";
|
|
2536
2567
|
}>>;
|
|
@@ -2556,25 +2587,26 @@ If page is provided that takes precedence and the paginated response is returned
|
|
|
2556
2587
|
* @deprecated
|
|
2557
2588
|
* @summary List all entitlements
|
|
2558
2589
|
*/
|
|
2559
|
-
export declare const listEntitlementsQueryExcludeInactiveDefault
|
|
2560
|
-
export declare const listEntitlementsQueryPageDefault
|
|
2561
|
-
export declare const listEntitlementsQueryPageSizeDefault
|
|
2562
|
-
export declare const listEntitlementsQueryPageSizeMax
|
|
2563
|
-
export declare const listEntitlementsQueryOffsetDefault
|
|
2564
|
-
export declare const listEntitlementsQueryOffsetMin
|
|
2565
|
-
export declare const listEntitlementsQueryLimitDefault
|
|
2566
|
-
export declare const listEntitlementsQueryLimitMax
|
|
2567
|
-
export declare const
|
|
2590
|
+
export declare const listEntitlementsQueryExcludeInactiveDefault = false;
|
|
2591
|
+
export declare const listEntitlementsQueryPageDefault = 1;
|
|
2592
|
+
export declare const listEntitlementsQueryPageSizeDefault = 100;
|
|
2593
|
+
export declare const listEntitlementsQueryPageSizeMax = 1000;
|
|
2594
|
+
export declare const listEntitlementsQueryOffsetDefault = 0;
|
|
2595
|
+
export declare const listEntitlementsQueryOffsetMin = 0;
|
|
2596
|
+
export declare const listEntitlementsQueryLimitDefault = 100;
|
|
2597
|
+
export declare const listEntitlementsQueryLimitMax = 1000;
|
|
2598
|
+
export declare const listEntitlementsQueryOrderDefault = "ASC";
|
|
2599
|
+
export declare const ListEntitlementsQueryParams: zod.ZodObject<{
|
|
2568
2600
|
entitlementType: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
2569
2601
|
boolean: "boolean";
|
|
2570
2602
|
metered: "metered";
|
|
2571
2603
|
static: "static";
|
|
2572
2604
|
}>>>;
|
|
2573
|
-
excludeInactive: zod.
|
|
2605
|
+
excludeInactive: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2574
2606
|
feature: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
2575
2607
|
limit: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2576
|
-
offset: zod.
|
|
2577
|
-
order: zod.
|
|
2608
|
+
offset: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2609
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
2578
2610
|
ASC: "ASC";
|
|
2579
2611
|
DESC: "DESC";
|
|
2580
2612
|
}>>;
|
|
@@ -2594,7 +2626,7 @@ export declare const listEntitlementsQueryParams: zod.ZodObject<{
|
|
|
2594
2626
|
* @summary Get entitlement by ID
|
|
2595
2627
|
*/
|
|
2596
2628
|
export declare const getEntitlementByIdPathEntitlementIdRegExp: RegExp;
|
|
2597
|
-
export declare const
|
|
2629
|
+
export declare const GetEntitlementByIdParams: zod.ZodObject<{
|
|
2598
2630
|
entitlementId: zod.z.ZodCoercedString<unknown>;
|
|
2599
2631
|
}, zod.z.core.$strip>;
|
|
2600
2632
|
/**
|
|
@@ -2603,11 +2635,11 @@ export declare const getEntitlementByIdParams: zod.ZodObject<{
|
|
|
2603
2635
|
If the from query param is not provided it defaults to last 72 hours.
|
|
2604
2636
|
* @summary List ingested events
|
|
2605
2637
|
*/
|
|
2606
|
-
export declare const listEventsQueryClientIdMax
|
|
2638
|
+
export declare const listEventsQueryClientIdMax = 36;
|
|
2607
2639
|
export declare const listEventsQueryCustomerIdItemRegExp: RegExp;
|
|
2608
|
-
export declare const listEventsQueryLimitDefault
|
|
2609
|
-
export declare const listEventsQueryLimitMax
|
|
2610
|
-
export declare const
|
|
2640
|
+
export declare const listEventsQueryLimitDefault = 100;
|
|
2641
|
+
export declare const listEventsQueryLimitMax = 100;
|
|
2642
|
+
export declare const ListEventsQueryParams: zod.ZodObject<{
|
|
2611
2643
|
clientId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2612
2644
|
customerId: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
2613
2645
|
from: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
@@ -2622,9 +2654,9 @@ export declare const listEventsQueryParams: zod.ZodObject<{
|
|
|
2622
2654
|
* Ingests an event or batch of events following the CloudEvents specification.
|
|
2623
2655
|
* @summary Ingest events
|
|
2624
2656
|
*/
|
|
2625
|
-
export declare const
|
|
2626
|
-
export declare const
|
|
2627
|
-
export declare const
|
|
2657
|
+
export declare const ingestEventsBodyOneSpecversionDefault = "1.0";
|
|
2658
|
+
export declare const ingestEventsBodyTwoItemSpecversionDefault = "1.0";
|
|
2659
|
+
export declare const IngestEventsBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2628
2660
|
data: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
2629
2661
|
datacontenttype: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
|
|
2630
2662
|
"application/json": "application/json";
|
|
@@ -2632,7 +2664,7 @@ export declare const ingestEventsBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
|
2632
2664
|
dataschema: zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>;
|
|
2633
2665
|
id: zod.z.ZodCoercedString<unknown>;
|
|
2634
2666
|
source: zod.z.ZodCoercedString<unknown>;
|
|
2635
|
-
specversion: zod.z.ZodCoercedString<unknown
|
|
2667
|
+
specversion: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
2636
2668
|
subject: zod.z.ZodCoercedString<unknown>;
|
|
2637
2669
|
time: zod.ZodOptional<zod.ZodNullable<zod.z.ZodCoercedDate<unknown>>>;
|
|
2638
2670
|
type: zod.z.ZodCoercedString<unknown>;
|
|
@@ -2644,7 +2676,7 @@ export declare const ingestEventsBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
|
2644
2676
|
dataschema: zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>;
|
|
2645
2677
|
id: zod.z.ZodCoercedString<unknown>;
|
|
2646
2678
|
source: zod.z.ZodCoercedString<unknown>;
|
|
2647
|
-
specversion: zod.z.ZodCoercedString<unknown
|
|
2679
|
+
specversion: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
2648
2680
|
subject: zod.z.ZodCoercedString<unknown>;
|
|
2649
2681
|
time: zod.ZodOptional<zod.ZodNullable<zod.z.ZodCoercedDate<unknown>>>;
|
|
2650
2682
|
type: zod.z.ZodCoercedString<unknown>;
|
|
@@ -2653,20 +2685,21 @@ export declare const ingestEventsBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
|
2653
2685
|
* List features.
|
|
2654
2686
|
* @summary List features
|
|
2655
2687
|
*/
|
|
2656
|
-
export declare const listFeaturesQueryIncludeArchivedDefault
|
|
2657
|
-
export declare const listFeaturesQueryPageDefault
|
|
2658
|
-
export declare const listFeaturesQueryPageSizeDefault
|
|
2659
|
-
export declare const listFeaturesQueryPageSizeMax
|
|
2660
|
-
export declare const listFeaturesQueryOffsetDefault
|
|
2661
|
-
export declare const listFeaturesQueryOffsetMin
|
|
2662
|
-
export declare const listFeaturesQueryLimitDefault
|
|
2663
|
-
export declare const listFeaturesQueryLimitMax
|
|
2664
|
-
export declare const
|
|
2665
|
-
|
|
2688
|
+
export declare const listFeaturesQueryIncludeArchivedDefault = false;
|
|
2689
|
+
export declare const listFeaturesQueryPageDefault = 1;
|
|
2690
|
+
export declare const listFeaturesQueryPageSizeDefault = 100;
|
|
2691
|
+
export declare const listFeaturesQueryPageSizeMax = 1000;
|
|
2692
|
+
export declare const listFeaturesQueryOffsetDefault = 0;
|
|
2693
|
+
export declare const listFeaturesQueryOffsetMin = 0;
|
|
2694
|
+
export declare const listFeaturesQueryLimitDefault = 100;
|
|
2695
|
+
export declare const listFeaturesQueryLimitMax = 1000;
|
|
2696
|
+
export declare const listFeaturesQueryOrderDefault = "ASC";
|
|
2697
|
+
export declare const ListFeaturesQueryParams: zod.ZodObject<{
|
|
2698
|
+
includeArchived: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2666
2699
|
limit: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2667
2700
|
meterSlug: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
2668
|
-
offset: zod.
|
|
2669
|
-
order: zod.
|
|
2701
|
+
offset: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2702
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
2670
2703
|
ASC: "ASC";
|
|
2671
2704
|
DESC: "DESC";
|
|
2672
2705
|
}>>;
|
|
@@ -2684,14 +2717,19 @@ export declare const listFeaturesQueryParams: zod.ZodObject<{
|
|
|
2684
2717
|
* Features are either metered or static. A feature is metered if meterSlug is provided at creation.
|
|
2685
2718
|
For metered features you can pass additional filters that will be applied when calculating feature usage, based on the meter's groupBy fields.
|
|
2686
2719
|
Meters with SUM, COUNT, UNIQUE_COUNT and LATEST aggregations are supported for features.
|
|
2687
|
-
Features cannot be updated later, only archived.
|
|
2688
2720
|
* @summary Create feature
|
|
2689
2721
|
*/
|
|
2690
|
-
export declare const createFeatureBodyKeyMax
|
|
2722
|
+
export declare const createFeatureBodyKeyMax = 64;
|
|
2691
2723
|
export declare const createFeatureBodyKeyRegExp: RegExp;
|
|
2692
|
-
export declare const createFeatureBodyMeterSlugMax
|
|
2724
|
+
export declare const createFeatureBodyMeterSlugMax = 64;
|
|
2693
2725
|
export declare const createFeatureBodyMeterSlugRegExp: RegExp;
|
|
2694
|
-
export declare const
|
|
2726
|
+
export declare const createFeatureBodyUnitCostOneOneAmountOneRegExp: RegExp;
|
|
2727
|
+
export declare const createFeatureBodyUnitCostOneTwoPricingOneInputPerTokenOneRegExp: RegExp;
|
|
2728
|
+
export declare const createFeatureBodyUnitCostOneTwoPricingOneOutputPerTokenOneRegExp: RegExp;
|
|
2729
|
+
export declare const createFeatureBodyUnitCostOneTwoPricingOneCacheReadPerTokenOneRegExp: RegExp;
|
|
2730
|
+
export declare const createFeatureBodyUnitCostOneTwoPricingOneReasoningPerTokenOneRegExp: RegExp;
|
|
2731
|
+
export declare const createFeatureBodyUnitCostOneTwoPricingOneCacheWritePerTokenOneRegExp: RegExp;
|
|
2732
|
+
export declare const CreateFeatureBody: zod.ZodObject<{
|
|
2695
2733
|
advancedMeterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
2696
2734
|
$and: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodUnknown>>>;
|
|
2697
2735
|
$eq: zod.ZodOptional<zod.ZodNullable<zod.z.ZodCoercedString<unknown>>>;
|
|
@@ -2713,12 +2751,35 @@ export declare const createFeatureBody: zod.ZodObject<{
|
|
|
2713
2751
|
meterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
2714
2752
|
meterSlug: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2715
2753
|
name: zod.z.ZodCoercedString<unknown>;
|
|
2754
|
+
unitCost: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2755
|
+
amount: zod.z.ZodCoercedString<unknown>;
|
|
2756
|
+
type: zod.ZodEnum<{
|
|
2757
|
+
manual: "manual";
|
|
2758
|
+
}>;
|
|
2759
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
2760
|
+
model: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2761
|
+
modelProperty: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2762
|
+
pricing: zod.ZodOptional<zod.ZodObject<{
|
|
2763
|
+
cacheReadPerToken: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2764
|
+
cacheWritePerToken: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2765
|
+
inputPerToken: zod.z.ZodCoercedString<unknown>;
|
|
2766
|
+
outputPerToken: zod.z.ZodCoercedString<unknown>;
|
|
2767
|
+
reasoningPerToken: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2768
|
+
}, zod.z.core.$strip>>;
|
|
2769
|
+
provider: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2770
|
+
providerProperty: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2771
|
+
tokenType: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2772
|
+
tokenTypeProperty: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2773
|
+
type: zod.ZodEnum<{
|
|
2774
|
+
llm: "llm";
|
|
2775
|
+
}>;
|
|
2776
|
+
}, zod.z.core.$strip>]>>;
|
|
2716
2777
|
}, zod.z.core.$strip>;
|
|
2717
2778
|
/**
|
|
2718
2779
|
* Get a feature by ID.
|
|
2719
2780
|
* @summary Get feature
|
|
2720
2781
|
*/
|
|
2721
|
-
export declare const
|
|
2782
|
+
export declare const GetFeatureParams: zod.ZodObject<{
|
|
2722
2783
|
featureId: zod.z.ZodCoercedString<unknown>;
|
|
2723
2784
|
}, zod.z.core.$strip>;
|
|
2724
2785
|
/**
|
|
@@ -2728,7 +2789,7 @@ Once a feature is archived it cannot be unarchived. If a feature is archived, ne
|
|
|
2728
2789
|
This means, if you want to create a new feature with the same key, and then create entitlements for it, the previous entitlements have to be deleted first on a per subject basis.
|
|
2729
2790
|
* @summary Delete feature
|
|
2730
2791
|
*/
|
|
2731
|
-
export declare const
|
|
2792
|
+
export declare const DeleteFeatureParams: zod.ZodObject<{
|
|
2732
2793
|
featureId: zod.z.ZodCoercedString<unknown>;
|
|
2733
2794
|
}, zod.z.core.$strip>;
|
|
2734
2795
|
/**
|
|
@@ -2740,20 +2801,21 @@ If page is provided that takes precedence and the paginated response is returned
|
|
|
2740
2801
|
* @deprecated
|
|
2741
2802
|
* @summary List grants
|
|
2742
2803
|
*/
|
|
2743
|
-
export declare const listGrantsQueryIncludeDeletedDefault
|
|
2744
|
-
export declare const listGrantsQueryPageDefault
|
|
2745
|
-
export declare const listGrantsQueryPageSizeDefault
|
|
2746
|
-
export declare const listGrantsQueryPageSizeMax
|
|
2747
|
-
export declare const listGrantsQueryOffsetDefault
|
|
2748
|
-
export declare const listGrantsQueryOffsetMin
|
|
2749
|
-
export declare const listGrantsQueryLimitDefault
|
|
2750
|
-
export declare const listGrantsQueryLimitMax
|
|
2751
|
-
export declare const
|
|
2804
|
+
export declare const listGrantsQueryIncludeDeletedDefault = false;
|
|
2805
|
+
export declare const listGrantsQueryPageDefault = 1;
|
|
2806
|
+
export declare const listGrantsQueryPageSizeDefault = 100;
|
|
2807
|
+
export declare const listGrantsQueryPageSizeMax = 1000;
|
|
2808
|
+
export declare const listGrantsQueryOffsetDefault = 0;
|
|
2809
|
+
export declare const listGrantsQueryOffsetMin = 0;
|
|
2810
|
+
export declare const listGrantsQueryLimitDefault = 100;
|
|
2811
|
+
export declare const listGrantsQueryLimitMax = 1000;
|
|
2812
|
+
export declare const listGrantsQueryOrderDefault = "ASC";
|
|
2813
|
+
export declare const ListGrantsQueryParams: zod.ZodObject<{
|
|
2752
2814
|
feature: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
2753
|
-
includeDeleted: zod.
|
|
2815
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2754
2816
|
limit: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2755
|
-
offset: zod.
|
|
2756
|
-
order: zod.
|
|
2817
|
+
offset: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2818
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
2757
2819
|
ASC: "ASC";
|
|
2758
2820
|
DESC: "DESC";
|
|
2759
2821
|
}>>;
|
|
@@ -2771,24 +2833,27 @@ export declare const listGrantsQueryParams: zod.ZodObject<{
|
|
|
2771
2833
|
For example, if you have a single grant for your metered entitlement with an initial amount of 100, and so far 60 usage has been metered, the grant (and the entitlement itself) would have a balance of 40. If you then void that grant, balance becomes 0, but the 60 previous usage will not be affected.
|
|
2772
2834
|
* @summary Void grant
|
|
2773
2835
|
*/
|
|
2774
|
-
export declare const
|
|
2836
|
+
export declare const VoidGrantParams: zod.ZodObject<{
|
|
2775
2837
|
grantId: zod.z.ZodCoercedString<unknown>;
|
|
2776
2838
|
}, zod.z.core.$strip>;
|
|
2839
|
+
export declare const VoidGrantQueryParams: zod.ZodObject<{
|
|
2840
|
+
at: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
2841
|
+
}, zod.z.core.$strip>;
|
|
2777
2842
|
/**
|
|
2778
2843
|
* Get progress
|
|
2779
2844
|
* @summary Get progress
|
|
2780
2845
|
*/
|
|
2781
|
-
export declare const
|
|
2846
|
+
export declare const GetProgressParams: zod.ZodObject<{
|
|
2782
2847
|
id: zod.z.ZodCoercedString<unknown>;
|
|
2783
2848
|
}, zod.z.core.$strip>;
|
|
2784
2849
|
/**
|
|
2785
2850
|
* List available apps of the app marketplace.
|
|
2786
2851
|
* @summary List available apps
|
|
2787
2852
|
*/
|
|
2788
|
-
export declare const listMarketplaceListingsQueryPageDefault
|
|
2789
|
-
export declare const listMarketplaceListingsQueryPageSizeDefault
|
|
2790
|
-
export declare const listMarketplaceListingsQueryPageSizeMax
|
|
2791
|
-
export declare const
|
|
2853
|
+
export declare const listMarketplaceListingsQueryPageDefault = 1;
|
|
2854
|
+
export declare const listMarketplaceListingsQueryPageSizeDefault = 100;
|
|
2855
|
+
export declare const listMarketplaceListingsQueryPageSizeMax = 1000;
|
|
2856
|
+
export declare const ListMarketplaceListingsQueryParams: zod.ZodObject<{
|
|
2792
2857
|
page: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2793
2858
|
pageSize: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
2794
2859
|
}, zod.z.core.$strip>;
|
|
@@ -2796,7 +2861,7 @@ export declare const listMarketplaceListingsQueryParams: zod.ZodObject<{
|
|
|
2796
2861
|
* Get a marketplace listing by type.
|
|
2797
2862
|
* @summary Get app details by type
|
|
2798
2863
|
*/
|
|
2799
|
-
export declare const
|
|
2864
|
+
export declare const GetMarketplaceListingParams: zod.ZodObject<{
|
|
2800
2865
|
type: zod.ZodEnum<{
|
|
2801
2866
|
stripe: "stripe";
|
|
2802
2867
|
sandbox: "sandbox";
|
|
@@ -2807,15 +2872,15 @@ export declare const getMarketplaceListingParams: zod.ZodObject<{
|
|
|
2807
2872
|
* Install an app from the marketplace.
|
|
2808
2873
|
* @summary Install app
|
|
2809
2874
|
*/
|
|
2810
|
-
export declare const
|
|
2875
|
+
export declare const MarketplaceAppInstallParams: zod.ZodObject<{
|
|
2811
2876
|
type: zod.ZodEnum<{
|
|
2812
2877
|
stripe: "stripe";
|
|
2813
2878
|
sandbox: "sandbox";
|
|
2814
2879
|
custom_invoicing: "custom_invoicing";
|
|
2815
2880
|
}>;
|
|
2816
2881
|
}, zod.z.core.$strip>;
|
|
2817
|
-
export declare const marketplaceAppInstallBodyCreateBillingProfileDefault
|
|
2818
|
-
export declare const
|
|
2882
|
+
export declare const marketplaceAppInstallBodyCreateBillingProfileDefault = true;
|
|
2883
|
+
export declare const MarketplaceAppInstallBody: zod.ZodObject<{
|
|
2819
2884
|
createBillingProfile: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2820
2885
|
name: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2821
2886
|
}, zod.z.core.$strip>;
|
|
@@ -2823,15 +2888,15 @@ export declare const marketplaceAppInstallBody: zod.ZodObject<{
|
|
|
2823
2888
|
* Install an marketplace app via API Key.
|
|
2824
2889
|
* @summary Install app via API key
|
|
2825
2890
|
*/
|
|
2826
|
-
export declare const
|
|
2891
|
+
export declare const MarketplaceAppAPIKeyInstallParams: zod.ZodObject<{
|
|
2827
2892
|
type: zod.ZodEnum<{
|
|
2828
2893
|
stripe: "stripe";
|
|
2829
2894
|
sandbox: "sandbox";
|
|
2830
2895
|
custom_invoicing: "custom_invoicing";
|
|
2831
2896
|
}>;
|
|
2832
2897
|
}, zod.z.core.$strip>;
|
|
2833
|
-
export declare const marketplaceAppAPIKeyInstallBodyCreateBillingProfileDefault
|
|
2834
|
-
export declare const
|
|
2898
|
+
export declare const marketplaceAppAPIKeyInstallBodyCreateBillingProfileDefault = true;
|
|
2899
|
+
export declare const MarketplaceAppAPIKeyInstallBody: zod.ZodObject<{
|
|
2835
2900
|
apiKey: zod.z.ZodCoercedString<unknown>;
|
|
2836
2901
|
createBillingProfile: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2837
2902
|
name: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -2841,7 +2906,7 @@ export declare const marketplaceAppAPIKeyInstallBody: zod.ZodObject<{
|
|
|
2841
2906
|
Returns a URL to start the OAuth 2.0 flow.
|
|
2842
2907
|
* @summary Get OAuth2 install URL
|
|
2843
2908
|
*/
|
|
2844
|
-
export declare const
|
|
2909
|
+
export declare const MarketplaceOAuth2InstallGetURLParams: zod.ZodObject<{
|
|
2845
2910
|
type: zod.ZodEnum<{
|
|
2846
2911
|
stripe: "stripe";
|
|
2847
2912
|
sandbox: "sandbox";
|
|
@@ -2853,14 +2918,14 @@ export declare const marketplaceOAuth2InstallGetURLParams: zod.ZodObject<{
|
|
|
2853
2918
|
Verifies the OAuth code and exchanges it for a token and refresh token
|
|
2854
2919
|
* @summary Install app via OAuth2
|
|
2855
2920
|
*/
|
|
2856
|
-
export declare const
|
|
2921
|
+
export declare const MarketplaceOAuth2InstallAuthorizeParams: zod.ZodObject<{
|
|
2857
2922
|
type: zod.ZodEnum<{
|
|
2858
2923
|
stripe: "stripe";
|
|
2859
2924
|
sandbox: "sandbox";
|
|
2860
2925
|
custom_invoicing: "custom_invoicing";
|
|
2861
2926
|
}>;
|
|
2862
2927
|
}, zod.z.core.$strip>;
|
|
2863
|
-
export declare const
|
|
2928
|
+
export declare const MarketplaceOAuth2InstallAuthorizeQueryParams: zod.ZodObject<{
|
|
2864
2929
|
code: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2865
2930
|
error: zod.ZodOptional<zod.ZodEnum<{
|
|
2866
2931
|
invalid_request: "invalid_request";
|
|
@@ -2879,13 +2944,14 @@ export declare const marketplaceOAuth2InstallAuthorizeQueryParams: zod.ZodObject
|
|
|
2879
2944
|
* List meters.
|
|
2880
2945
|
* @summary List meters
|
|
2881
2946
|
*/
|
|
2882
|
-
export declare const listMetersQueryPageDefault
|
|
2883
|
-
export declare const listMetersQueryPageSizeDefault
|
|
2884
|
-
export declare const listMetersQueryPageSizeMax
|
|
2885
|
-
export declare const
|
|
2886
|
-
export declare const
|
|
2887
|
-
|
|
2888
|
-
|
|
2947
|
+
export declare const listMetersQueryPageDefault = 1;
|
|
2948
|
+
export declare const listMetersQueryPageSizeDefault = 100;
|
|
2949
|
+
export declare const listMetersQueryPageSizeMax = 1000;
|
|
2950
|
+
export declare const listMetersQueryOrderDefault = "ASC";
|
|
2951
|
+
export declare const listMetersQueryIncludeDeletedDefault = false;
|
|
2952
|
+
export declare const ListMetersQueryParams: zod.ZodObject<{
|
|
2953
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
2954
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
2889
2955
|
ASC: "ASC";
|
|
2890
2956
|
DESC: "DESC";
|
|
2891
2957
|
}>>;
|
|
@@ -2903,11 +2969,11 @@ export declare const listMetersQueryParams: zod.ZodObject<{
|
|
|
2903
2969
|
* Create a meter.
|
|
2904
2970
|
* @summary Create meter
|
|
2905
2971
|
*/
|
|
2906
|
-
export declare const createMeterBodyDescriptionMax
|
|
2907
|
-
export declare const createMeterBodyNameMax
|
|
2908
|
-
export declare const createMeterBodySlugMax
|
|
2972
|
+
export declare const createMeterBodyDescriptionMax = 1024;
|
|
2973
|
+
export declare const createMeterBodyNameMax = 256;
|
|
2974
|
+
export declare const createMeterBodySlugMax = 64;
|
|
2909
2975
|
export declare const createMeterBodySlugRegExp: RegExp;
|
|
2910
|
-
export declare const
|
|
2976
|
+
export declare const CreateMeterBody: zod.ZodObject<{
|
|
2911
2977
|
aggregation: zod.ZodEnum<{
|
|
2912
2978
|
SUM: "SUM";
|
|
2913
2979
|
COUNT: "COUNT";
|
|
@@ -2930,23 +2996,23 @@ export declare const createMeterBody: zod.ZodObject<{
|
|
|
2930
2996
|
* Get a meter by ID or slug.
|
|
2931
2997
|
* @summary Get meter
|
|
2932
2998
|
*/
|
|
2933
|
-
export declare const getMeterPathMeterIdOrSlugMax
|
|
2999
|
+
export declare const getMeterPathMeterIdOrSlugMax = 64;
|
|
2934
3000
|
export declare const getMeterPathMeterIdOrSlugRegExp: RegExp;
|
|
2935
|
-
export declare const
|
|
3001
|
+
export declare const GetMeterParams: zod.ZodObject<{
|
|
2936
3002
|
meterIdOrSlug: zod.z.ZodCoercedString<unknown>;
|
|
2937
3003
|
}, zod.z.core.$strip>;
|
|
2938
3004
|
/**
|
|
2939
3005
|
* Update a meter.
|
|
2940
3006
|
* @summary Update meter
|
|
2941
3007
|
*/
|
|
2942
|
-
export declare const updateMeterPathMeterIdOrSlugMax
|
|
3008
|
+
export declare const updateMeterPathMeterIdOrSlugMax = 64;
|
|
2943
3009
|
export declare const updateMeterPathMeterIdOrSlugRegExp: RegExp;
|
|
2944
|
-
export declare const
|
|
3010
|
+
export declare const UpdateMeterParams: zod.ZodObject<{
|
|
2945
3011
|
meterIdOrSlug: zod.z.ZodCoercedString<unknown>;
|
|
2946
3012
|
}, zod.z.core.$strip>;
|
|
2947
|
-
export declare const updateMeterBodyDescriptionMax
|
|
2948
|
-
export declare const updateMeterBodyNameMax
|
|
2949
|
-
export declare const
|
|
3013
|
+
export declare const updateMeterBodyDescriptionMax = 1024;
|
|
3014
|
+
export declare const updateMeterBodyNameMax = 256;
|
|
3015
|
+
export declare const UpdateMeterBody: zod.ZodObject<{
|
|
2950
3016
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2951
3017
|
groupBy: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
2952
3018
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
@@ -2956,22 +3022,22 @@ export declare const updateMeterBody: zod.ZodObject<{
|
|
|
2956
3022
|
* Delete a meter.
|
|
2957
3023
|
* @summary Delete meter
|
|
2958
3024
|
*/
|
|
2959
|
-
export declare const deleteMeterPathMeterIdOrSlugMax
|
|
3025
|
+
export declare const deleteMeterPathMeterIdOrSlugMax = 64;
|
|
2960
3026
|
export declare const deleteMeterPathMeterIdOrSlugRegExp: RegExp;
|
|
2961
|
-
export declare const
|
|
3027
|
+
export declare const DeleteMeterParams: zod.ZodObject<{
|
|
2962
3028
|
meterIdOrSlug: zod.z.ZodCoercedString<unknown>;
|
|
2963
3029
|
}, zod.z.core.$strip>;
|
|
2964
3030
|
/**
|
|
2965
3031
|
* List meter group by values.
|
|
2966
3032
|
* @summary List meter group by values
|
|
2967
3033
|
*/
|
|
2968
|
-
export declare const listMeterGroupByValuesPathMeterIdOrSlugMax
|
|
3034
|
+
export declare const listMeterGroupByValuesPathMeterIdOrSlugMax = 64;
|
|
2969
3035
|
export declare const listMeterGroupByValuesPathMeterIdOrSlugRegExp: RegExp;
|
|
2970
|
-
export declare const
|
|
3036
|
+
export declare const ListMeterGroupByValuesParams: zod.ZodObject<{
|
|
2971
3037
|
groupByKey: zod.z.ZodCoercedString<unknown>;
|
|
2972
3038
|
meterIdOrSlug: zod.z.ZodCoercedString<unknown>;
|
|
2973
3039
|
}, zod.z.core.$strip>;
|
|
2974
|
-
export declare const
|
|
3040
|
+
export declare const ListMeterGroupByValuesQueryParams: zod.ZodObject<{
|
|
2975
3041
|
from: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
2976
3042
|
to: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
2977
3043
|
}, zod.z.core.$strip>;
|
|
@@ -2979,15 +3045,15 @@ export declare const listMeterGroupByValuesQueryParams: zod.ZodObject<{
|
|
|
2979
3045
|
* Query meter for usage.
|
|
2980
3046
|
* @summary Query meter
|
|
2981
3047
|
*/
|
|
2982
|
-
export declare const queryMeterPathMeterIdOrSlugMax
|
|
3048
|
+
export declare const queryMeterPathMeterIdOrSlugMax = 64;
|
|
2983
3049
|
export declare const queryMeterPathMeterIdOrSlugRegExp: RegExp;
|
|
2984
|
-
export declare const
|
|
3050
|
+
export declare const QueryMeterParams: zod.ZodObject<{
|
|
2985
3051
|
meterIdOrSlug: zod.z.ZodCoercedString<unknown>;
|
|
2986
3052
|
}, zod.z.core.$strip>;
|
|
2987
|
-
export declare const queryMeterQueryClientIdMax
|
|
2988
|
-
export declare const queryMeterQueryWindowTimeZoneDefault
|
|
2989
|
-
export declare const queryMeterQueryFilterCustomerIdMax
|
|
2990
|
-
export declare const
|
|
3053
|
+
export declare const queryMeterQueryClientIdMax = 36;
|
|
3054
|
+
export declare const queryMeterQueryWindowTimeZoneDefault = "UTC";
|
|
3055
|
+
export declare const queryMeterQueryFilterCustomerIdMax = 100;
|
|
3056
|
+
export declare const QueryMeterQueryParams: zod.ZodObject<{
|
|
2991
3057
|
clientId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
2992
3058
|
filterCustomerId: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
2993
3059
|
filterGroupBy: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
@@ -3006,17 +3072,17 @@ export declare const queryMeterQueryParams: zod.ZodObject<{
|
|
|
3006
3072
|
/**
|
|
3007
3073
|
* @summary Query meter
|
|
3008
3074
|
*/
|
|
3009
|
-
export declare const queryMeterPostPathMeterIdOrSlugMax
|
|
3075
|
+
export declare const queryMeterPostPathMeterIdOrSlugMax = 64;
|
|
3010
3076
|
export declare const queryMeterPostPathMeterIdOrSlugRegExp: RegExp;
|
|
3011
|
-
export declare const
|
|
3077
|
+
export declare const QueryMeterPostParams: zod.ZodObject<{
|
|
3012
3078
|
meterIdOrSlug: zod.z.ZodCoercedString<unknown>;
|
|
3013
3079
|
}, zod.z.core.$strip>;
|
|
3014
|
-
export declare const queryMeterPostBodyClientIdMax
|
|
3015
|
-
export declare const queryMeterPostBodyWindowTimeZoneDefault
|
|
3016
|
-
export declare const queryMeterPostBodySubjectMax
|
|
3017
|
-
export declare const queryMeterPostBodyFilterCustomerIdMax
|
|
3018
|
-
export declare const queryMeterPostBodyGroupByMax
|
|
3019
|
-
export declare const
|
|
3080
|
+
export declare const queryMeterPostBodyClientIdMax = 36;
|
|
3081
|
+
export declare const queryMeterPostBodyWindowTimeZoneDefault = "UTC";
|
|
3082
|
+
export declare const queryMeterPostBodySubjectMax = 100;
|
|
3083
|
+
export declare const queryMeterPostBodyFilterCustomerIdMax = 100;
|
|
3084
|
+
export declare const queryMeterPostBodyGroupByMax = 100;
|
|
3085
|
+
export declare const QueryMeterPostBody: zod.ZodObject<{
|
|
3020
3086
|
advancedMeterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
3021
3087
|
$and: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodUnknown>>>;
|
|
3022
3088
|
$eq: zod.ZodOptional<zod.ZodNullable<zod.z.ZodCoercedString<unknown>>>;
|
|
@@ -3052,12 +3118,12 @@ export declare const queryMeterPostBody: zod.ZodObject<{
|
|
|
3052
3118
|
* List subjects for a meter.
|
|
3053
3119
|
* @summary List meter subjects
|
|
3054
3120
|
*/
|
|
3055
|
-
export declare const listMeterSubjectsPathMeterIdOrSlugMax
|
|
3121
|
+
export declare const listMeterSubjectsPathMeterIdOrSlugMax = 64;
|
|
3056
3122
|
export declare const listMeterSubjectsPathMeterIdOrSlugRegExp: RegExp;
|
|
3057
|
-
export declare const
|
|
3123
|
+
export declare const ListMeterSubjectsParams: zod.ZodObject<{
|
|
3058
3124
|
meterIdOrSlug: zod.z.ZodCoercedString<unknown>;
|
|
3059
3125
|
}, zod.z.core.$strip>;
|
|
3060
|
-
export declare const
|
|
3126
|
+
export declare const ListMeterSubjectsQueryParams: zod.ZodObject<{
|
|
3061
3127
|
from: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
3062
3128
|
to: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
3063
3129
|
}, zod.z.core.$strip>;
|
|
@@ -3065,15 +3131,16 @@ export declare const listMeterSubjectsQueryParams: zod.ZodObject<{
|
|
|
3065
3131
|
* List all notification channels.
|
|
3066
3132
|
* @summary List notification channels
|
|
3067
3133
|
*/
|
|
3068
|
-
export declare const listNotificationChannelsQueryIncludeDeletedDefault
|
|
3069
|
-
export declare const listNotificationChannelsQueryIncludeDisabledDefault
|
|
3070
|
-
export declare const listNotificationChannelsQueryPageDefault
|
|
3071
|
-
export declare const listNotificationChannelsQueryPageSizeDefault
|
|
3072
|
-
export declare const listNotificationChannelsQueryPageSizeMax
|
|
3073
|
-
export declare const
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3134
|
+
export declare const listNotificationChannelsQueryIncludeDeletedDefault = false;
|
|
3135
|
+
export declare const listNotificationChannelsQueryIncludeDisabledDefault = false;
|
|
3136
|
+
export declare const listNotificationChannelsQueryPageDefault = 1;
|
|
3137
|
+
export declare const listNotificationChannelsQueryPageSizeDefault = 100;
|
|
3138
|
+
export declare const listNotificationChannelsQueryPageSizeMax = 1000;
|
|
3139
|
+
export declare const listNotificationChannelsQueryOrderDefault = "ASC";
|
|
3140
|
+
export declare const ListNotificationChannelsQueryParams: zod.ZodObject<{
|
|
3141
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3142
|
+
includeDisabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3143
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
3077
3144
|
ASC: "ASC";
|
|
3078
3145
|
DESC: "DESC";
|
|
3079
3146
|
}>>;
|
|
@@ -3090,12 +3157,12 @@ export declare const listNotificationChannelsQueryParams: zod.ZodObject<{
|
|
|
3090
3157
|
* Create a new notification channel.
|
|
3091
3158
|
* @summary Create a notification channel
|
|
3092
3159
|
*/
|
|
3093
|
-
export declare const
|
|
3094
|
-
export declare const
|
|
3095
|
-
export declare const
|
|
3096
|
-
export declare const
|
|
3160
|
+
export declare const createNotificationChannelBodyOneNameMax = 256;
|
|
3161
|
+
export declare const createNotificationChannelBodyOneDisabledDefault = false;
|
|
3162
|
+
export declare const createNotificationChannelBodyOneSigningSecretRegExp: RegExp;
|
|
3163
|
+
export declare const CreateNotificationChannelBody: zod.ZodObject<{
|
|
3097
3164
|
customHeaders: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
3098
|
-
disabled: zod.
|
|
3165
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3099
3166
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3100
3167
|
name: zod.z.ZodCoercedString<unknown>;
|
|
3101
3168
|
signingSecret: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -3109,15 +3176,15 @@ export declare const createNotificationChannelBody: zod.ZodObject<{
|
|
|
3109
3176
|
* @summary Update a notification channel
|
|
3110
3177
|
*/
|
|
3111
3178
|
export declare const updateNotificationChannelPathChannelIdRegExp: RegExp;
|
|
3112
|
-
export declare const
|
|
3179
|
+
export declare const UpdateNotificationChannelParams: zod.ZodObject<{
|
|
3113
3180
|
channelId: zod.z.ZodCoercedString<unknown>;
|
|
3114
3181
|
}, zod.z.core.$strip>;
|
|
3115
|
-
export declare const
|
|
3116
|
-
export declare const
|
|
3117
|
-
export declare const
|
|
3118
|
-
export declare const
|
|
3182
|
+
export declare const updateNotificationChannelBodyOneNameMax = 256;
|
|
3183
|
+
export declare const updateNotificationChannelBodyOneDisabledDefault = false;
|
|
3184
|
+
export declare const updateNotificationChannelBodyOneSigningSecretRegExp: RegExp;
|
|
3185
|
+
export declare const UpdateNotificationChannelBody: zod.ZodObject<{
|
|
3119
3186
|
customHeaders: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
3120
|
-
disabled: zod.
|
|
3187
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3121
3188
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3122
3189
|
name: zod.z.ZodCoercedString<unknown>;
|
|
3123
3190
|
signingSecret: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -3131,7 +3198,7 @@ export declare const updateNotificationChannelBody: zod.ZodObject<{
|
|
|
3131
3198
|
* @summary Get notification channel
|
|
3132
3199
|
*/
|
|
3133
3200
|
export declare const getNotificationChannelPathChannelIdRegExp: RegExp;
|
|
3134
|
-
export declare const
|
|
3201
|
+
export declare const GetNotificationChannelParams: zod.ZodObject<{
|
|
3135
3202
|
channelId: zod.z.ZodCoercedString<unknown>;
|
|
3136
3203
|
}, zod.z.core.$strip>;
|
|
3137
3204
|
/**
|
|
@@ -3141,7 +3208,7 @@ Once a notification channel is deleted it cannot be undeleted.
|
|
|
3141
3208
|
* @summary Delete a notification channel
|
|
3142
3209
|
*/
|
|
3143
3210
|
export declare const deleteNotificationChannelPathChannelIdRegExp: RegExp;
|
|
3144
|
-
export declare const
|
|
3211
|
+
export declare const DeleteNotificationChannelParams: zod.ZodObject<{
|
|
3145
3212
|
channelId: zod.z.ZodCoercedString<unknown>;
|
|
3146
3213
|
}, zod.z.core.$strip>;
|
|
3147
3214
|
/**
|
|
@@ -3150,14 +3217,15 @@ export declare const deleteNotificationChannelParams: zod.ZodObject<{
|
|
|
3150
3217
|
*/
|
|
3151
3218
|
export declare const listNotificationEventsQueryRuleItemRegExp: RegExp;
|
|
3152
3219
|
export declare const listNotificationEventsQueryChannelItemRegExp: RegExp;
|
|
3153
|
-
export declare const listNotificationEventsQueryPageDefault
|
|
3154
|
-
export declare const listNotificationEventsQueryPageSizeDefault
|
|
3155
|
-
export declare const listNotificationEventsQueryPageSizeMax
|
|
3156
|
-
export declare const
|
|
3220
|
+
export declare const listNotificationEventsQueryPageDefault = 1;
|
|
3221
|
+
export declare const listNotificationEventsQueryPageSizeDefault = 100;
|
|
3222
|
+
export declare const listNotificationEventsQueryPageSizeMax = 1000;
|
|
3223
|
+
export declare const listNotificationEventsQueryOrderDefault = "ASC";
|
|
3224
|
+
export declare const ListNotificationEventsQueryParams: zod.ZodObject<{
|
|
3157
3225
|
channel: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3158
3226
|
feature: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3159
3227
|
from: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
3160
|
-
order: zod.
|
|
3228
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
3161
3229
|
ASC: "ASC";
|
|
3162
3230
|
DESC: "DESC";
|
|
3163
3231
|
}>>;
|
|
@@ -3175,37 +3243,38 @@ export declare const listNotificationEventsQueryParams: zod.ZodObject<{
|
|
|
3175
3243
|
* Get a notification event by id.
|
|
3176
3244
|
* @summary Get notification event
|
|
3177
3245
|
*/
|
|
3178
|
-
export declare const
|
|
3246
|
+
export declare const GetNotificationEventParams: zod.ZodObject<{
|
|
3179
3247
|
eventId: zod.z.ZodCoercedString<unknown>;
|
|
3180
3248
|
}, zod.z.core.$strip>;
|
|
3181
3249
|
/**
|
|
3182
3250
|
* @summary Re-send notification event
|
|
3183
3251
|
*/
|
|
3184
3252
|
export declare const resendNotificationEventPathEventIdRegExp: RegExp;
|
|
3185
|
-
export declare const
|
|
3253
|
+
export declare const ResendNotificationEventParams: zod.ZodObject<{
|
|
3186
3254
|
eventId: zod.z.ZodCoercedString<unknown>;
|
|
3187
3255
|
}, zod.z.core.$strip>;
|
|
3188
3256
|
export declare const resendNotificationEventBodyChannelsItemRegExp: RegExp;
|
|
3189
|
-
export declare const
|
|
3257
|
+
export declare const ResendNotificationEventBody: zod.ZodObject<{
|
|
3190
3258
|
channels: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3191
3259
|
}, zod.z.core.$strip>;
|
|
3192
3260
|
/**
|
|
3193
3261
|
* List all notification rules.
|
|
3194
3262
|
* @summary List notification rules
|
|
3195
3263
|
*/
|
|
3196
|
-
export declare const listNotificationRulesQueryIncludeDeletedDefault
|
|
3197
|
-
export declare const listNotificationRulesQueryIncludeDisabledDefault
|
|
3198
|
-
export declare const listNotificationRulesQueryFeatureItemMax
|
|
3264
|
+
export declare const listNotificationRulesQueryIncludeDeletedDefault = false;
|
|
3265
|
+
export declare const listNotificationRulesQueryIncludeDisabledDefault = false;
|
|
3266
|
+
export declare const listNotificationRulesQueryFeatureItemMax = 64;
|
|
3199
3267
|
export declare const listNotificationRulesQueryFeatureItemRegExp: RegExp;
|
|
3200
|
-
export declare const listNotificationRulesQueryPageDefault
|
|
3201
|
-
export declare const listNotificationRulesQueryPageSizeDefault
|
|
3202
|
-
export declare const listNotificationRulesQueryPageSizeMax
|
|
3203
|
-
export declare const
|
|
3268
|
+
export declare const listNotificationRulesQueryPageDefault = 1;
|
|
3269
|
+
export declare const listNotificationRulesQueryPageSizeDefault = 100;
|
|
3270
|
+
export declare const listNotificationRulesQueryPageSizeMax = 1000;
|
|
3271
|
+
export declare const listNotificationRulesQueryOrderDefault = "ASC";
|
|
3272
|
+
export declare const ListNotificationRulesQueryParams: zod.ZodObject<{
|
|
3204
3273
|
channel: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3205
3274
|
feature: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3206
|
-
includeDeleted: zod.
|
|
3207
|
-
includeDisabled: zod.
|
|
3208
|
-
order: zod.
|
|
3275
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3276
|
+
includeDisabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3277
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
3209
3278
|
ASC: "ASC";
|
|
3210
3279
|
DESC: "DESC";
|
|
3211
3280
|
}>>;
|
|
@@ -3222,26 +3291,26 @@ export declare const listNotificationRulesQueryParams: zod.ZodObject<{
|
|
|
3222
3291
|
* Create a new notification rule.
|
|
3223
3292
|
* @summary Create a notification rule
|
|
3224
3293
|
*/
|
|
3225
|
-
export declare const
|
|
3226
|
-
export declare const
|
|
3227
|
-
export declare const
|
|
3228
|
-
export declare const
|
|
3229
|
-
export declare const
|
|
3230
|
-
export declare const
|
|
3231
|
-
export declare const
|
|
3232
|
-
export declare const
|
|
3233
|
-
export declare const
|
|
3234
|
-
export declare const
|
|
3235
|
-
export declare const
|
|
3236
|
-
export declare const
|
|
3237
|
-
export declare const
|
|
3238
|
-
export declare const
|
|
3239
|
-
export declare const
|
|
3240
|
-
export declare const
|
|
3241
|
-
export declare const
|
|
3242
|
-
export declare const
|
|
3294
|
+
export declare const createNotificationRuleBodyOneNameMax = 256;
|
|
3295
|
+
export declare const createNotificationRuleBodyOneDisabledDefault = false;
|
|
3296
|
+
export declare const createNotificationRuleBodyOneThresholdsMax = 10;
|
|
3297
|
+
export declare const createNotificationRuleBodyOneChannelsItemRegExp: RegExp;
|
|
3298
|
+
export declare const createNotificationRuleBodyOneFeaturesItemMax = 64;
|
|
3299
|
+
export declare const createNotificationRuleBodyOneFeaturesItemRegExp: RegExp;
|
|
3300
|
+
export declare const createNotificationRuleBodyTwoNameMax = 256;
|
|
3301
|
+
export declare const createNotificationRuleBodyTwoDisabledDefault = false;
|
|
3302
|
+
export declare const createNotificationRuleBodyTwoChannelsItemRegExp: RegExp;
|
|
3303
|
+
export declare const createNotificationRuleBodyTwoFeaturesItemMax = 64;
|
|
3304
|
+
export declare const createNotificationRuleBodyTwoFeaturesItemRegExp: RegExp;
|
|
3305
|
+
export declare const createNotificationRuleBodyThreeNameMax = 256;
|
|
3306
|
+
export declare const createNotificationRuleBodyThreeDisabledDefault = false;
|
|
3307
|
+
export declare const createNotificationRuleBodyThreeChannelsItemRegExp: RegExp;
|
|
3308
|
+
export declare const createNotificationRuleBodyFourNameMax = 256;
|
|
3309
|
+
export declare const createNotificationRuleBodyFourDisabledDefault = false;
|
|
3310
|
+
export declare const createNotificationRuleBodyFourChannelsItemRegExp: RegExp;
|
|
3311
|
+
export declare const CreateNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3243
3312
|
channels: zod.ZodArray<zod.z.ZodCoercedString<unknown>>;
|
|
3244
|
-
disabled: zod.
|
|
3313
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3245
3314
|
features: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3246
3315
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3247
3316
|
name: zod.z.ZodCoercedString<unknown>;
|
|
@@ -3260,7 +3329,7 @@ export declare const createNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodO
|
|
|
3260
3329
|
}>;
|
|
3261
3330
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
3262
3331
|
channels: zod.ZodArray<zod.z.ZodCoercedString<unknown>>;
|
|
3263
|
-
disabled: zod.
|
|
3332
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3264
3333
|
features: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3265
3334
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3266
3335
|
name: zod.z.ZodCoercedString<unknown>;
|
|
@@ -3269,7 +3338,7 @@ export declare const createNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodO
|
|
|
3269
3338
|
}>;
|
|
3270
3339
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
3271
3340
|
channels: zod.ZodArray<zod.z.ZodCoercedString<unknown>>;
|
|
3272
|
-
disabled: zod.
|
|
3341
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3273
3342
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3274
3343
|
name: zod.z.ZodCoercedString<unknown>;
|
|
3275
3344
|
type: zod.ZodEnum<{
|
|
@@ -3277,7 +3346,7 @@ export declare const createNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodO
|
|
|
3277
3346
|
}>;
|
|
3278
3347
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
3279
3348
|
channels: zod.ZodArray<zod.z.ZodCoercedString<unknown>>;
|
|
3280
|
-
disabled: zod.
|
|
3349
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3281
3350
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3282
3351
|
name: zod.z.ZodCoercedString<unknown>;
|
|
3283
3352
|
type: zod.ZodEnum<{
|
|
@@ -3289,29 +3358,29 @@ export declare const createNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodO
|
|
|
3289
3358
|
* @summary Update a notification rule
|
|
3290
3359
|
*/
|
|
3291
3360
|
export declare const updateNotificationRulePathRuleIdRegExp: RegExp;
|
|
3292
|
-
export declare const
|
|
3361
|
+
export declare const UpdateNotificationRuleParams: zod.ZodObject<{
|
|
3293
3362
|
ruleId: zod.z.ZodCoercedString<unknown>;
|
|
3294
3363
|
}, zod.z.core.$strip>;
|
|
3295
|
-
export declare const
|
|
3296
|
-
export declare const
|
|
3297
|
-
export declare const
|
|
3298
|
-
export declare const
|
|
3299
|
-
export declare const
|
|
3300
|
-
export declare const
|
|
3301
|
-
export declare const
|
|
3302
|
-
export declare const
|
|
3303
|
-
export declare const
|
|
3304
|
-
export declare const
|
|
3305
|
-
export declare const
|
|
3306
|
-
export declare const
|
|
3307
|
-
export declare const
|
|
3308
|
-
export declare const
|
|
3309
|
-
export declare const
|
|
3310
|
-
export declare const
|
|
3311
|
-
export declare const
|
|
3312
|
-
export declare const
|
|
3364
|
+
export declare const updateNotificationRuleBodyOneNameMax = 256;
|
|
3365
|
+
export declare const updateNotificationRuleBodyOneDisabledDefault = false;
|
|
3366
|
+
export declare const updateNotificationRuleBodyOneThresholdsMax = 10;
|
|
3367
|
+
export declare const updateNotificationRuleBodyOneChannelsItemRegExp: RegExp;
|
|
3368
|
+
export declare const updateNotificationRuleBodyOneFeaturesItemMax = 64;
|
|
3369
|
+
export declare const updateNotificationRuleBodyOneFeaturesItemRegExp: RegExp;
|
|
3370
|
+
export declare const updateNotificationRuleBodyTwoNameMax = 256;
|
|
3371
|
+
export declare const updateNotificationRuleBodyTwoDisabledDefault = false;
|
|
3372
|
+
export declare const updateNotificationRuleBodyTwoChannelsItemRegExp: RegExp;
|
|
3373
|
+
export declare const updateNotificationRuleBodyTwoFeaturesItemMax = 64;
|
|
3374
|
+
export declare const updateNotificationRuleBodyTwoFeaturesItemRegExp: RegExp;
|
|
3375
|
+
export declare const updateNotificationRuleBodyThreeNameMax = 256;
|
|
3376
|
+
export declare const updateNotificationRuleBodyThreeDisabledDefault = false;
|
|
3377
|
+
export declare const updateNotificationRuleBodyThreeChannelsItemRegExp: RegExp;
|
|
3378
|
+
export declare const updateNotificationRuleBodyFourNameMax = 256;
|
|
3379
|
+
export declare const updateNotificationRuleBodyFourDisabledDefault = false;
|
|
3380
|
+
export declare const updateNotificationRuleBodyFourChannelsItemRegExp: RegExp;
|
|
3381
|
+
export declare const UpdateNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3313
3382
|
channels: zod.ZodArray<zod.z.ZodCoercedString<unknown>>;
|
|
3314
|
-
disabled: zod.
|
|
3383
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3315
3384
|
features: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3316
3385
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3317
3386
|
name: zod.z.ZodCoercedString<unknown>;
|
|
@@ -3330,7 +3399,7 @@ export declare const updateNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodO
|
|
|
3330
3399
|
}>;
|
|
3331
3400
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
3332
3401
|
channels: zod.ZodArray<zod.z.ZodCoercedString<unknown>>;
|
|
3333
|
-
disabled: zod.
|
|
3402
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3334
3403
|
features: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3335
3404
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3336
3405
|
name: zod.z.ZodCoercedString<unknown>;
|
|
@@ -3339,7 +3408,7 @@ export declare const updateNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodO
|
|
|
3339
3408
|
}>;
|
|
3340
3409
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
3341
3410
|
channels: zod.ZodArray<zod.z.ZodCoercedString<unknown>>;
|
|
3342
|
-
disabled: zod.
|
|
3411
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3343
3412
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3344
3413
|
name: zod.z.ZodCoercedString<unknown>;
|
|
3345
3414
|
type: zod.ZodEnum<{
|
|
@@ -3347,7 +3416,7 @@ export declare const updateNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodO
|
|
|
3347
3416
|
}>;
|
|
3348
3417
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
3349
3418
|
channels: zod.ZodArray<zod.z.ZodCoercedString<unknown>>;
|
|
3350
|
-
disabled: zod.
|
|
3419
|
+
disabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3351
3420
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
3352
3421
|
name: zod.z.ZodCoercedString<unknown>;
|
|
3353
3422
|
type: zod.ZodEnum<{
|
|
@@ -3359,7 +3428,7 @@ export declare const updateNotificationRuleBody: zod.ZodUnion<readonly [zod.ZodO
|
|
|
3359
3428
|
* @summary Get notification rule
|
|
3360
3429
|
*/
|
|
3361
3430
|
export declare const getNotificationRulePathRuleIdRegExp: RegExp;
|
|
3362
|
-
export declare const
|
|
3431
|
+
export declare const GetNotificationRuleParams: zod.ZodObject<{
|
|
3363
3432
|
ruleId: zod.z.ZodCoercedString<unknown>;
|
|
3364
3433
|
}, zod.z.core.$strip>;
|
|
3365
3434
|
/**
|
|
@@ -3369,7 +3438,7 @@ Once a notification rule is deleted it cannot be undeleted.
|
|
|
3369
3438
|
* @summary Delete a notification rule
|
|
3370
3439
|
*/
|
|
3371
3440
|
export declare const deleteNotificationRulePathRuleIdRegExp: RegExp;
|
|
3372
|
-
export declare const
|
|
3441
|
+
export declare const DeleteNotificationRuleParams: zod.ZodObject<{
|
|
3373
3442
|
ruleId: zod.z.ZodCoercedString<unknown>;
|
|
3374
3443
|
}, zod.z.core.$strip>;
|
|
3375
3444
|
/**
|
|
@@ -3377,30 +3446,31 @@ export declare const deleteNotificationRuleParams: zod.ZodObject<{
|
|
|
3377
3446
|
* @summary Test notification rule
|
|
3378
3447
|
*/
|
|
3379
3448
|
export declare const testNotificationRulePathRuleIdRegExp: RegExp;
|
|
3380
|
-
export declare const
|
|
3449
|
+
export declare const TestNotificationRuleParams: zod.ZodObject<{
|
|
3381
3450
|
ruleId: zod.z.ZodCoercedString<unknown>;
|
|
3382
3451
|
}, zod.z.core.$strip>;
|
|
3383
3452
|
/**
|
|
3384
3453
|
* List all plans.
|
|
3385
3454
|
* @summary List plans
|
|
3386
3455
|
*/
|
|
3387
|
-
export declare const listPlansQueryIncludeDeletedDefault
|
|
3456
|
+
export declare const listPlansQueryIncludeDeletedDefault = false;
|
|
3388
3457
|
export declare const listPlansQueryIdItemRegExp: RegExp;
|
|
3389
|
-
export declare const listPlansQueryKeyItemMax
|
|
3458
|
+
export declare const listPlansQueryKeyItemMax = 64;
|
|
3390
3459
|
export declare const listPlansQueryKeyItemRegExp: RegExp;
|
|
3391
|
-
export declare const listPlansQueryCurrencyItemMin
|
|
3392
|
-
export declare const listPlansQueryCurrencyItemMax
|
|
3460
|
+
export declare const listPlansQueryCurrencyItemMin = 3;
|
|
3461
|
+
export declare const listPlansQueryCurrencyItemMax = 3;
|
|
3393
3462
|
export declare const listPlansQueryCurrencyItemRegExp: RegExp;
|
|
3394
|
-
export declare const listPlansQueryPageDefault
|
|
3395
|
-
export declare const listPlansQueryPageSizeDefault
|
|
3396
|
-
export declare const listPlansQueryPageSizeMax
|
|
3397
|
-
export declare const
|
|
3463
|
+
export declare const listPlansQueryPageDefault = 1;
|
|
3464
|
+
export declare const listPlansQueryPageSizeDefault = 100;
|
|
3465
|
+
export declare const listPlansQueryPageSizeMax = 1000;
|
|
3466
|
+
export declare const listPlansQueryOrderDefault = "ASC";
|
|
3467
|
+
export declare const ListPlansQueryParams: zod.ZodObject<{
|
|
3398
3468
|
currency: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3399
3469
|
id: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3400
|
-
includeDeleted: zod.
|
|
3470
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3401
3471
|
key: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3402
3472
|
keyVersion: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.z.ZodCoercedNumber<unknown>>>>;
|
|
3403
|
-
order: zod.
|
|
3473
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
3404
3474
|
ASC: "ASC";
|
|
3405
3475
|
DESC: "DESC";
|
|
3406
3476
|
}>>;
|
|
@@ -3424,76 +3494,79 @@ export declare const listPlansQueryParams: zod.ZodObject<{
|
|
|
3424
3494
|
* Create a new plan.
|
|
3425
3495
|
* @summary Create a plan
|
|
3426
3496
|
*/
|
|
3427
|
-
export declare const createPlanBodyNameMax
|
|
3428
|
-
export declare const createPlanBodyDescriptionMax
|
|
3429
|
-
export declare const createPlanBodyKeyMax
|
|
3497
|
+
export declare const createPlanBodyNameMax = 256;
|
|
3498
|
+
export declare const createPlanBodyDescriptionMax = 1024;
|
|
3499
|
+
export declare const createPlanBodyKeyMax = 64;
|
|
3430
3500
|
export declare const createPlanBodyKeyRegExp: RegExp;
|
|
3431
|
-
export declare const
|
|
3432
|
-
export declare const
|
|
3433
|
-
export declare const
|
|
3434
|
-
export declare const createPlanBodyCurrencyDefault
|
|
3435
|
-
export declare const
|
|
3436
|
-
export declare const
|
|
3501
|
+
export declare const createPlanBodyCurrencyOneMin = 3;
|
|
3502
|
+
export declare const createPlanBodyCurrencyOneMax = 3;
|
|
3503
|
+
export declare const createPlanBodyCurrencyOneRegExp: RegExp;
|
|
3504
|
+
export declare const createPlanBodyCurrencyDefault = "USD";
|
|
3505
|
+
export declare const createPlanBodyProRatingConfigOneEnabledDefault = true;
|
|
3506
|
+
export declare const createPlanBodyProRatingConfigOneModeDefault = "prorate_prices";
|
|
3437
3507
|
export declare const createPlanBodyProRatingConfigDefault: {
|
|
3438
3508
|
readonly enabled: true;
|
|
3439
3509
|
readonly mode: "prorate_prices";
|
|
3440
3510
|
};
|
|
3441
|
-
export declare const
|
|
3511
|
+
export declare const createPlanBodySettlementModeDefault = "credit_then_invoice";
|
|
3512
|
+
export declare const createPlanBodyPhasesItemKeyMax = 64;
|
|
3442
3513
|
export declare const createPlanBodyPhasesItemKeyRegExp: RegExp;
|
|
3443
|
-
export declare const createPlanBodyPhasesItemNameMax
|
|
3444
|
-
export declare const createPlanBodyPhasesItemDescriptionMax
|
|
3445
|
-
export declare const
|
|
3446
|
-
export declare const
|
|
3447
|
-
export declare const
|
|
3448
|
-
export declare const
|
|
3449
|
-
export declare const
|
|
3450
|
-
export declare const
|
|
3451
|
-
export declare const
|
|
3452
|
-
export declare const
|
|
3453
|
-
export declare const
|
|
3454
|
-
export declare const
|
|
3455
|
-
export declare const
|
|
3456
|
-
export declare const
|
|
3457
|
-
export declare const
|
|
3458
|
-
export declare const
|
|
3459
|
-
export declare const
|
|
3460
|
-
export declare const
|
|
3461
|
-
export declare const
|
|
3462
|
-
export declare const
|
|
3463
|
-
export declare const
|
|
3464
|
-
export declare const
|
|
3465
|
-
export declare const
|
|
3466
|
-
export declare const
|
|
3467
|
-
export declare const
|
|
3468
|
-
export declare const
|
|
3469
|
-
export declare const
|
|
3470
|
-
export declare const
|
|
3471
|
-
export declare const
|
|
3472
|
-
export declare const
|
|
3473
|
-
export declare const
|
|
3474
|
-
export declare const
|
|
3475
|
-
export declare const
|
|
3476
|
-
export declare const
|
|
3477
|
-
export declare const
|
|
3478
|
-
export declare const
|
|
3479
|
-
export declare const
|
|
3480
|
-
export declare const
|
|
3481
|
-
export declare const
|
|
3482
|
-
export declare const
|
|
3483
|
-
export declare const
|
|
3484
|
-
export declare const
|
|
3485
|
-
export declare const
|
|
3486
|
-
export declare const
|
|
3487
|
-
export declare const
|
|
3488
|
-
export declare const
|
|
3489
|
-
export declare const
|
|
3490
|
-
export declare const
|
|
3491
|
-
export declare const
|
|
3514
|
+
export declare const createPlanBodyPhasesItemNameMax = 256;
|
|
3515
|
+
export declare const createPlanBodyPhasesItemDescriptionMax = 1024;
|
|
3516
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneKeyMax = 64;
|
|
3517
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneKeyRegExp: RegExp;
|
|
3518
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneNameMax = 256;
|
|
3519
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneDescriptionMax = 1024;
|
|
3520
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneFeatureKeyMax = 64;
|
|
3521
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneFeatureKeyRegExp: RegExp;
|
|
3522
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
3523
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
3524
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
3525
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
3526
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
3527
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
3528
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
3529
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOnePriceOneAmountOneRegExp: RegExp;
|
|
3530
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOnePriceOnePaymentTermDefault = "in_advance";
|
|
3531
|
+
export declare const createPlanBodyPhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
3532
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoKeyMax = 64;
|
|
3533
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoKeyRegExp: RegExp;
|
|
3534
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoNameMax = 256;
|
|
3535
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoDescriptionMax = 1024;
|
|
3536
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoFeatureKeyMax = 64;
|
|
3537
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoFeatureKeyRegExp: RegExp;
|
|
3538
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
3539
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
3540
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
3541
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
3542
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
3543
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
3544
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
3545
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp;
|
|
3546
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance";
|
|
3547
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp;
|
|
3548
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
3549
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
3550
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
3551
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
3552
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
3553
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
3554
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
3555
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp;
|
|
3556
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = "1";
|
|
3557
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
3558
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
3559
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp;
|
|
3560
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
3561
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
3562
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
3563
|
+
export declare const createPlanBodyPhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
3564
|
+
export declare const CreatePlanBody: zod.ZodObject<{
|
|
3492
3565
|
alignment: zod.ZodOptional<zod.ZodObject<{
|
|
3493
3566
|
billablesMustAlign: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3494
3567
|
}, zod.z.core.$strip>>;
|
|
3495
3568
|
billingCadence: zod.z.ZodCoercedString<unknown>;
|
|
3496
|
-
currency: zod.z.ZodCoercedString<unknown
|
|
3569
|
+
currency: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
3497
3570
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
3498
3571
|
key: zod.z.ZodCoercedString<unknown>;
|
|
3499
3572
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
@@ -3516,11 +3589,11 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
3516
3589
|
}, zod.z.core.$strip>>;
|
|
3517
3590
|
}, zod.z.core.$strip>>;
|
|
3518
3591
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3519
|
-
isSoftLimit: zod.
|
|
3592
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3520
3593
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
3521
3594
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
3522
3595
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
3523
|
-
preserveOverageAtReset: zod.
|
|
3596
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3524
3597
|
type: zod.ZodEnum<{
|
|
3525
3598
|
metered: "metered";
|
|
3526
3599
|
}>;
|
|
@@ -3562,6 +3635,7 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
3562
3635
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
3563
3636
|
code: zod.z.ZodCoercedString<unknown>;
|
|
3564
3637
|
}, zod.z.core.$strip>>;
|
|
3638
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
3565
3639
|
}, zod.z.core.$strip>>;
|
|
3566
3640
|
type: zod.ZodEnum<{
|
|
3567
3641
|
flat_fee: "flat_fee";
|
|
@@ -3578,11 +3652,11 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
3578
3652
|
}, zod.z.core.$strip>>;
|
|
3579
3653
|
}, zod.z.core.$strip>>;
|
|
3580
3654
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3581
|
-
isSoftLimit: zod.
|
|
3655
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3582
3656
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
3583
3657
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
3584
3658
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
3585
|
-
preserveOverageAtReset: zod.
|
|
3659
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3586
3660
|
type: zod.ZodEnum<{
|
|
3587
3661
|
metered: "metered";
|
|
3588
3662
|
}>;
|
|
@@ -3671,6 +3745,7 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
3671
3745
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
3672
3746
|
code: zod.z.ZodCoercedString<unknown>;
|
|
3673
3747
|
}, zod.z.core.$strip>>;
|
|
3748
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
3674
3749
|
}, zod.z.core.$strip>>;
|
|
3675
3750
|
type: zod.ZodEnum<{
|
|
3676
3751
|
usage_based: "usage_based";
|
|
@@ -3678,11 +3753,15 @@ export declare const createPlanBody: zod.ZodObject<{
|
|
|
3678
3753
|
}, zod.z.core.$strip>]>>;
|
|
3679
3754
|
}, zod.z.core.$strip>>;
|
|
3680
3755
|
proRatingConfig: zod.ZodDefault<zod.ZodObject<{
|
|
3681
|
-
enabled: zod.z.ZodCoercedBoolean<unknown
|
|
3682
|
-
mode: zod.ZodEnum<{
|
|
3756
|
+
enabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3757
|
+
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
3683
3758
|
prorate_prices: "prorate_prices";
|
|
3684
|
-
}
|
|
3759
|
+
}>>;
|
|
3685
3760
|
}, zod.z.core.$strip>>;
|
|
3761
|
+
settlementMode: zod.ZodDefault<zod.ZodEnum<{
|
|
3762
|
+
credit_then_invoice: "credit_then_invoice";
|
|
3763
|
+
credit_only: "credit_only";
|
|
3764
|
+
}>>;
|
|
3686
3765
|
}, zod.z.core.$strip>;
|
|
3687
3766
|
/**
|
|
3688
3767
|
* Create a new draft version from plan.
|
|
@@ -3690,9 +3769,9 @@ It returns error if there is already a plan in draft or planId does not referenc
|
|
|
3690
3769
|
* @deprecated
|
|
3691
3770
|
* @summary New draft plan
|
|
3692
3771
|
*/
|
|
3693
|
-
export declare const nextPlanPathPlanIdOrKeyMax
|
|
3772
|
+
export declare const nextPlanPathPlanIdOrKeyMax = 64;
|
|
3694
3773
|
export declare const nextPlanPathPlanIdOrKeyRegExp: RegExp;
|
|
3695
|
-
export declare const
|
|
3774
|
+
export declare const NextPlanParams: zod.ZodObject<{
|
|
3696
3775
|
planIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
3697
3776
|
}, zod.z.core.$strip>;
|
|
3698
3777
|
/**
|
|
@@ -3700,68 +3779,71 @@ export declare const nextPlanParams: zod.ZodObject<{
|
|
|
3700
3779
|
* @summary Update a plan
|
|
3701
3780
|
*/
|
|
3702
3781
|
export declare const updatePlanPathPlanIdRegExp: RegExp;
|
|
3703
|
-
export declare const
|
|
3782
|
+
export declare const UpdatePlanParams: zod.ZodObject<{
|
|
3704
3783
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
3705
3784
|
}, zod.z.core.$strip>;
|
|
3706
|
-
export declare const updatePlanBodyNameMax
|
|
3707
|
-
export declare const updatePlanBodyDescriptionMax
|
|
3708
|
-
export declare const
|
|
3709
|
-
export declare const
|
|
3785
|
+
export declare const updatePlanBodyNameMax = 256;
|
|
3786
|
+
export declare const updatePlanBodyDescriptionMax = 1024;
|
|
3787
|
+
export declare const updatePlanBodyProRatingConfigOneEnabledDefault = true;
|
|
3788
|
+
export declare const updatePlanBodyProRatingConfigOneModeDefault = "prorate_prices";
|
|
3710
3789
|
export declare const updatePlanBodyProRatingConfigDefault: {
|
|
3711
3790
|
readonly enabled: true;
|
|
3712
3791
|
readonly mode: "prorate_prices";
|
|
3713
3792
|
};
|
|
3714
|
-
export declare const
|
|
3793
|
+
export declare const updatePlanBodySettlementModeDefault = "credit_then_invoice";
|
|
3794
|
+
export declare const updatePlanBodyPhasesItemKeyMax = 64;
|
|
3715
3795
|
export declare const updatePlanBodyPhasesItemKeyRegExp: RegExp;
|
|
3716
|
-
export declare const updatePlanBodyPhasesItemNameMax
|
|
3717
|
-
export declare const updatePlanBodyPhasesItemDescriptionMax
|
|
3718
|
-
export declare const
|
|
3719
|
-
export declare const
|
|
3720
|
-
export declare const
|
|
3721
|
-
export declare const
|
|
3722
|
-
export declare const
|
|
3723
|
-
export declare const
|
|
3724
|
-
export declare const
|
|
3725
|
-
export declare const
|
|
3726
|
-
export declare const
|
|
3727
|
-
export declare const
|
|
3728
|
-
export declare const
|
|
3729
|
-
export declare const
|
|
3730
|
-
export declare const
|
|
3731
|
-
export declare const
|
|
3732
|
-
export declare const
|
|
3733
|
-
export declare const
|
|
3734
|
-
export declare const
|
|
3735
|
-
export declare const
|
|
3736
|
-
export declare const
|
|
3737
|
-
export declare const
|
|
3738
|
-
export declare const
|
|
3739
|
-
export declare const
|
|
3740
|
-
export declare const
|
|
3741
|
-
export declare const
|
|
3742
|
-
export declare const
|
|
3743
|
-
export declare const
|
|
3744
|
-
export declare const
|
|
3745
|
-
export declare const
|
|
3746
|
-
export declare const
|
|
3747
|
-
export declare const
|
|
3748
|
-
export declare const
|
|
3749
|
-
export declare const
|
|
3750
|
-
export declare const
|
|
3751
|
-
export declare const
|
|
3752
|
-
export declare const
|
|
3753
|
-
export declare const
|
|
3754
|
-
export declare const
|
|
3755
|
-
export declare const
|
|
3756
|
-
export declare const
|
|
3757
|
-
export declare const
|
|
3758
|
-
export declare const
|
|
3759
|
-
export declare const
|
|
3760
|
-
export declare const
|
|
3761
|
-
export declare const
|
|
3762
|
-
export declare const
|
|
3763
|
-
export declare const
|
|
3764
|
-
export declare const
|
|
3796
|
+
export declare const updatePlanBodyPhasesItemNameMax = 256;
|
|
3797
|
+
export declare const updatePlanBodyPhasesItemDescriptionMax = 1024;
|
|
3798
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneKeyMax = 64;
|
|
3799
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneKeyRegExp: RegExp;
|
|
3800
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneNameMax = 256;
|
|
3801
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneDescriptionMax = 1024;
|
|
3802
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneFeatureKeyMax = 64;
|
|
3803
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneFeatureKeyRegExp: RegExp;
|
|
3804
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
3805
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
3806
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
3807
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
3808
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
3809
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
3810
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
3811
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOnePriceOneAmountOneRegExp: RegExp;
|
|
3812
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOnePriceOnePaymentTermDefault = "in_advance";
|
|
3813
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
3814
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoKeyMax = 64;
|
|
3815
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoKeyRegExp: RegExp;
|
|
3816
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoNameMax = 256;
|
|
3817
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoDescriptionMax = 1024;
|
|
3818
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoFeatureKeyMax = 64;
|
|
3819
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoFeatureKeyRegExp: RegExp;
|
|
3820
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
3821
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
3822
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
3823
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
3824
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
3825
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
3826
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
3827
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp;
|
|
3828
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance";
|
|
3829
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp;
|
|
3830
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
3831
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
3832
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
3833
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
3834
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
3835
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
3836
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
3837
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp;
|
|
3838
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = "1";
|
|
3839
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
3840
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
3841
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp;
|
|
3842
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
3843
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
3844
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
3845
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
3846
|
+
export declare const UpdatePlanBody: zod.ZodObject<{
|
|
3765
3847
|
alignment: zod.ZodOptional<zod.ZodObject<{
|
|
3766
3848
|
billablesMustAlign: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3767
3849
|
}, zod.z.core.$strip>>;
|
|
@@ -3787,11 +3869,11 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
3787
3869
|
}, zod.z.core.$strip>>;
|
|
3788
3870
|
}, zod.z.core.$strip>>;
|
|
3789
3871
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3790
|
-
isSoftLimit: zod.
|
|
3872
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3791
3873
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
3792
3874
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
3793
3875
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
3794
|
-
preserveOverageAtReset: zod.
|
|
3876
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3795
3877
|
type: zod.ZodEnum<{
|
|
3796
3878
|
metered: "metered";
|
|
3797
3879
|
}>;
|
|
@@ -3833,6 +3915,7 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
3833
3915
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
3834
3916
|
code: zod.z.ZodCoercedString<unknown>;
|
|
3835
3917
|
}, zod.z.core.$strip>>;
|
|
3918
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
3836
3919
|
}, zod.z.core.$strip>>;
|
|
3837
3920
|
type: zod.ZodEnum<{
|
|
3838
3921
|
flat_fee: "flat_fee";
|
|
@@ -3849,11 +3932,11 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
3849
3932
|
}, zod.z.core.$strip>>;
|
|
3850
3933
|
}, zod.z.core.$strip>>;
|
|
3851
3934
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3852
|
-
isSoftLimit: zod.
|
|
3935
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3853
3936
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
3854
3937
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
3855
3938
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
3856
|
-
preserveOverageAtReset: zod.
|
|
3939
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3857
3940
|
type: zod.ZodEnum<{
|
|
3858
3941
|
metered: "metered";
|
|
3859
3942
|
}>;
|
|
@@ -3942,6 +4025,7 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
3942
4025
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
3943
4026
|
code: zod.z.ZodCoercedString<unknown>;
|
|
3944
4027
|
}, zod.z.core.$strip>>;
|
|
4028
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
3945
4029
|
}, zod.z.core.$strip>>;
|
|
3946
4030
|
type: zod.ZodEnum<{
|
|
3947
4031
|
usage_based: "usage_based";
|
|
@@ -3949,24 +4033,28 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
3949
4033
|
}, zod.z.core.$strip>]>>;
|
|
3950
4034
|
}, zod.z.core.$strip>>;
|
|
3951
4035
|
proRatingConfig: zod.ZodDefault<zod.ZodObject<{
|
|
3952
|
-
enabled: zod.z.ZodCoercedBoolean<unknown
|
|
3953
|
-
mode: zod.ZodEnum<{
|
|
4036
|
+
enabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4037
|
+
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
3954
4038
|
prorate_prices: "prorate_prices";
|
|
3955
|
-
}
|
|
4039
|
+
}>>;
|
|
3956
4040
|
}, zod.z.core.$strip>>;
|
|
4041
|
+
settlementMode: zod.ZodDefault<zod.ZodEnum<{
|
|
4042
|
+
credit_then_invoice: "credit_then_invoice";
|
|
4043
|
+
credit_only: "credit_only";
|
|
4044
|
+
}>>;
|
|
3957
4045
|
}, zod.z.core.$strip>;
|
|
3958
4046
|
/**
|
|
3959
4047
|
* Get a plan by id or key. The latest published version is returned if latter is used.
|
|
3960
4048
|
* @summary Get plan
|
|
3961
4049
|
*/
|
|
3962
|
-
export declare const getPlanPathPlanIdMax
|
|
4050
|
+
export declare const getPlanPathPlanIdMax = 64;
|
|
3963
4051
|
export declare const getPlanPathPlanIdRegExp: RegExp;
|
|
3964
|
-
export declare const
|
|
4052
|
+
export declare const GetPlanParams: zod.ZodObject<{
|
|
3965
4053
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
3966
4054
|
}, zod.z.core.$strip>;
|
|
3967
|
-
export declare const getPlanQueryIncludeLatestDefault
|
|
3968
|
-
export declare const
|
|
3969
|
-
includeLatest: zod.
|
|
4055
|
+
export declare const getPlanQueryIncludeLatestDefault = false;
|
|
4056
|
+
export declare const GetPlanQueryParams: zod.ZodObject<{
|
|
4057
|
+
includeLatest: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
3970
4058
|
}, zod.z.core.$strip>;
|
|
3971
4059
|
/**
|
|
3972
4060
|
* Soft delete plan by plan.id.
|
|
@@ -3975,31 +4063,32 @@ Once a plan is deleted it cannot be undeleted.
|
|
|
3975
4063
|
* @summary Delete plan
|
|
3976
4064
|
*/
|
|
3977
4065
|
export declare const deletePlanPathPlanIdRegExp: RegExp;
|
|
3978
|
-
export declare const
|
|
4066
|
+
export declare const DeletePlanParams: zod.ZodObject<{
|
|
3979
4067
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
3980
4068
|
}, zod.z.core.$strip>;
|
|
3981
4069
|
/**
|
|
3982
4070
|
* List all available add-ons for plan.
|
|
3983
4071
|
* @summary List all available add-ons for plan
|
|
3984
4072
|
*/
|
|
3985
|
-
export declare const listPlanAddonsPathPlanIdMax
|
|
4073
|
+
export declare const listPlanAddonsPathPlanIdMax = 64;
|
|
3986
4074
|
export declare const listPlanAddonsPathPlanIdRegExp: RegExp;
|
|
3987
|
-
export declare const
|
|
4075
|
+
export declare const ListPlanAddonsParams: zod.ZodObject<{
|
|
3988
4076
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
3989
4077
|
}, zod.z.core.$strip>;
|
|
3990
|
-
export declare const listPlanAddonsQueryIncludeDeletedDefault
|
|
4078
|
+
export declare const listPlanAddonsQueryIncludeDeletedDefault = false;
|
|
3991
4079
|
export declare const listPlanAddonsQueryIdItemRegExp: RegExp;
|
|
3992
|
-
export declare const listPlanAddonsQueryKeyItemMax
|
|
4080
|
+
export declare const listPlanAddonsQueryKeyItemMax = 64;
|
|
3993
4081
|
export declare const listPlanAddonsQueryKeyItemRegExp: RegExp;
|
|
3994
|
-
export declare const listPlanAddonsQueryPageDefault
|
|
3995
|
-
export declare const listPlanAddonsQueryPageSizeDefault
|
|
3996
|
-
export declare const listPlanAddonsQueryPageSizeMax
|
|
3997
|
-
export declare const
|
|
4082
|
+
export declare const listPlanAddonsQueryPageDefault = 1;
|
|
4083
|
+
export declare const listPlanAddonsQueryPageSizeDefault = 100;
|
|
4084
|
+
export declare const listPlanAddonsQueryPageSizeMax = 1000;
|
|
4085
|
+
export declare const listPlanAddonsQueryOrderDefault = "ASC";
|
|
4086
|
+
export declare const ListPlanAddonsQueryParams: zod.ZodObject<{
|
|
3998
4087
|
id: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
3999
|
-
includeDeleted: zod.
|
|
4088
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4000
4089
|
key: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
4001
4090
|
keyVersion: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.z.ZodCoercedNumber<unknown>>>>;
|
|
4002
|
-
order: zod.
|
|
4091
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
4003
4092
|
ASC: "ASC";
|
|
4004
4093
|
DESC: "DESC";
|
|
4005
4094
|
}>>;
|
|
@@ -4018,11 +4107,11 @@ export declare const listPlanAddonsQueryParams: zod.ZodObject<{
|
|
|
4018
4107
|
* @summary Create new add-on assignment for plan
|
|
4019
4108
|
*/
|
|
4020
4109
|
export declare const createPlanAddonPathPlanIdRegExp: RegExp;
|
|
4021
|
-
export declare const
|
|
4110
|
+
export declare const CreatePlanAddonParams: zod.ZodObject<{
|
|
4022
4111
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
4023
4112
|
}, zod.z.core.$strip>;
|
|
4024
4113
|
export declare const createPlanAddonBodyAddonIdRegExp: RegExp;
|
|
4025
|
-
export declare const
|
|
4114
|
+
export declare const CreatePlanAddonBody: zod.ZodObject<{
|
|
4026
4115
|
addonId: zod.z.ZodCoercedString<unknown>;
|
|
4027
4116
|
fromPlanPhase: zod.z.ZodCoercedString<unknown>;
|
|
4028
4117
|
maxQuantity: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
@@ -4034,11 +4123,11 @@ export declare const createPlanAddonBody: zod.ZodObject<{
|
|
|
4034
4123
|
*/
|
|
4035
4124
|
export declare const updatePlanAddonPathPlanIdRegExp: RegExp;
|
|
4036
4125
|
export declare const updatePlanAddonPathPlanAddonIdRegExp: RegExp;
|
|
4037
|
-
export declare const
|
|
4126
|
+
export declare const UpdatePlanAddonParams: zod.ZodObject<{
|
|
4038
4127
|
planAddonId: zod.z.ZodCoercedString<unknown>;
|
|
4039
4128
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
4040
4129
|
}, zod.z.core.$strip>;
|
|
4041
|
-
export declare const
|
|
4130
|
+
export declare const UpdatePlanAddonBody: zod.ZodObject<{
|
|
4042
4131
|
fromPlanPhase: zod.z.ZodCoercedString<unknown>;
|
|
4043
4132
|
maxQuantity: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
4044
4133
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
@@ -4047,11 +4136,11 @@ export declare const updatePlanAddonBody: zod.ZodObject<{
|
|
|
4047
4136
|
* Get add-on assignment for plan by id.
|
|
4048
4137
|
* @summary Get add-on assignment for plan
|
|
4049
4138
|
*/
|
|
4050
|
-
export declare const getPlanAddonPathPlanIdMax
|
|
4139
|
+
export declare const getPlanAddonPathPlanIdMax = 64;
|
|
4051
4140
|
export declare const getPlanAddonPathPlanIdRegExp: RegExp;
|
|
4052
|
-
export declare const getPlanAddonPathPlanAddonIdMax
|
|
4141
|
+
export declare const getPlanAddonPathPlanAddonIdMax = 64;
|
|
4053
4142
|
export declare const getPlanAddonPathPlanAddonIdRegExp: RegExp;
|
|
4054
|
-
export declare const
|
|
4143
|
+
export declare const GetPlanAddonParams: zod.ZodObject<{
|
|
4055
4144
|
planAddonId: zod.z.ZodCoercedString<unknown>;
|
|
4056
4145
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
4057
4146
|
}, zod.z.core.$strip>;
|
|
@@ -4063,7 +4152,7 @@ Once a plan is deleted it cannot be undeleted.
|
|
|
4063
4152
|
*/
|
|
4064
4153
|
export declare const deletePlanAddonPathPlanIdRegExp: RegExp;
|
|
4065
4154
|
export declare const deletePlanAddonPathPlanAddonIdRegExp: RegExp;
|
|
4066
|
-
export declare const
|
|
4155
|
+
export declare const DeletePlanAddonParams: zod.ZodObject<{
|
|
4067
4156
|
planAddonId: zod.z.ZodCoercedString<unknown>;
|
|
4068
4157
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
4069
4158
|
}, zod.z.core.$strip>;
|
|
@@ -4072,7 +4161,7 @@ export declare const deletePlanAddonParams: zod.ZodObject<{
|
|
|
4072
4161
|
* @summary Archive plan version
|
|
4073
4162
|
*/
|
|
4074
4163
|
export declare const archivePlanPathPlanIdRegExp: RegExp;
|
|
4075
|
-
export declare const
|
|
4164
|
+
export declare const ArchivePlanParams: zod.ZodObject<{
|
|
4076
4165
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
4077
4166
|
}, zod.z.core.$strip>;
|
|
4078
4167
|
/**
|
|
@@ -4080,22 +4169,22 @@ export declare const archivePlanParams: zod.ZodObject<{
|
|
|
4080
4169
|
* @summary Publish plan
|
|
4081
4170
|
*/
|
|
4082
4171
|
export declare const publishPlanPathPlanIdRegExp: RegExp;
|
|
4083
|
-
export declare const
|
|
4172
|
+
export declare const PublishPlanParams: zod.ZodObject<{
|
|
4084
4173
|
planId: zod.z.ZodCoercedString<unknown>;
|
|
4085
4174
|
}, zod.z.core.$strip>;
|
|
4086
4175
|
/**
|
|
4087
4176
|
* Query meter for consumer portal. This endpoint is publicly exposable to consumers. Query meter for consumer portal. This endpoint is publicly exposable to consumers.
|
|
4088
4177
|
* @summary Query meter Query meter
|
|
4089
4178
|
*/
|
|
4090
|
-
export declare const queryPortalMeterPathMeterSlugMax
|
|
4179
|
+
export declare const queryPortalMeterPathMeterSlugMax = 64;
|
|
4091
4180
|
export declare const queryPortalMeterPathMeterSlugRegExp: RegExp;
|
|
4092
|
-
export declare const
|
|
4181
|
+
export declare const QueryPortalMeterParams: zod.ZodObject<{
|
|
4093
4182
|
meterSlug: zod.z.ZodCoercedString<unknown>;
|
|
4094
4183
|
}, zod.z.core.$strip>;
|
|
4095
|
-
export declare const queryPortalMeterQueryClientIdMax
|
|
4096
|
-
export declare const queryPortalMeterQueryWindowTimeZoneDefault
|
|
4097
|
-
export declare const queryPortalMeterQueryFilterCustomerIdMax
|
|
4098
|
-
export declare const
|
|
4184
|
+
export declare const queryPortalMeterQueryClientIdMax = 36;
|
|
4185
|
+
export declare const queryPortalMeterQueryWindowTimeZoneDefault = "UTC";
|
|
4186
|
+
export declare const queryPortalMeterQueryFilterCustomerIdMax = 100;
|
|
4187
|
+
export declare const QueryPortalMeterQueryParams: zod.ZodObject<{
|
|
4099
4188
|
clientId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4100
4189
|
filterCustomerId: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
4101
4190
|
filterGroupBy: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
@@ -4114,7 +4203,7 @@ export declare const queryPortalMeterQueryParams: zod.ZodObject<{
|
|
|
4114
4203
|
* Create a consumer portal token.
|
|
4115
4204
|
* @summary Create consumer portal token
|
|
4116
4205
|
*/
|
|
4117
|
-
export declare const
|
|
4206
|
+
export declare const CreatePortalTokenBody: zod.ZodObject<{
|
|
4118
4207
|
allowedMeterSlugs: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
4119
4208
|
subject: zod.z.ZodCoercedString<unknown>;
|
|
4120
4209
|
}, zod.z.core.$strip>;
|
|
@@ -4122,16 +4211,16 @@ export declare const createPortalTokenBody: zod.ZodObject<{
|
|
|
4122
4211
|
* List tokens.
|
|
4123
4212
|
* @summary List consumer portal tokens
|
|
4124
4213
|
*/
|
|
4125
|
-
export declare const listPortalTokensQueryLimitDefault
|
|
4126
|
-
export declare const listPortalTokensQueryLimitMax
|
|
4127
|
-
export declare const
|
|
4214
|
+
export declare const listPortalTokensQueryLimitDefault = 25;
|
|
4215
|
+
export declare const listPortalTokensQueryLimitMax = 100;
|
|
4216
|
+
export declare const ListPortalTokensQueryParams: zod.ZodObject<{
|
|
4128
4217
|
limit: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
4129
4218
|
}, zod.z.core.$strip>;
|
|
4130
4219
|
/**
|
|
4131
4220
|
* Invalidates consumer portal tokens by ID or subject.
|
|
4132
4221
|
* @summary Invalidate portal tokens
|
|
4133
4222
|
*/
|
|
4134
|
-
export declare const
|
|
4223
|
+
export declare const InvalidatePortalTokensBody: zod.ZodObject<{
|
|
4135
4224
|
id: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4136
4225
|
subject: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4137
4226
|
}, zod.z.core.$strip>;
|
|
@@ -4140,25 +4229,25 @@ export declare const invalidatePortalTokensBody: zod.ZodObject<{
|
|
|
4140
4229
|
* @summary Create checkout session
|
|
4141
4230
|
*/
|
|
4142
4231
|
export declare const createStripeCheckoutSessionBodyAppIdRegExp: RegExp;
|
|
4143
|
-
export declare const
|
|
4144
|
-
export declare const
|
|
4145
|
-
export declare const
|
|
4146
|
-
export declare const
|
|
4147
|
-
export declare const
|
|
4148
|
-
export declare const
|
|
4149
|
-
export declare const
|
|
4150
|
-
export declare const
|
|
4151
|
-
export declare const
|
|
4152
|
-
export declare const
|
|
4153
|
-
export declare const
|
|
4154
|
-
export declare const
|
|
4155
|
-
export declare const
|
|
4156
|
-
export declare const
|
|
4157
|
-
export declare const
|
|
4158
|
-
export declare const
|
|
4159
|
-
export declare const
|
|
4160
|
-
export declare const
|
|
4161
|
-
export declare const
|
|
4232
|
+
export declare const createStripeCheckoutSessionBodyCustomerOneIdRegExp: RegExp;
|
|
4233
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeNameMax = 256;
|
|
4234
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeDescriptionMax = 1024;
|
|
4235
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeKeyMax = 256;
|
|
4236
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeUsageAttributionOneSubjectKeysMin = 0;
|
|
4237
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeCurrencyOneMin = 3;
|
|
4238
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeCurrencyOneMax = 3;
|
|
4239
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeCurrencyOneRegExp: RegExp;
|
|
4240
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneMin = 2;
|
|
4241
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneMax = 2;
|
|
4242
|
+
export declare const createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneRegExp: RegExp;
|
|
4243
|
+
export declare const createStripeCheckoutSessionBodyOptionsOneCurrencyOneMin = 3;
|
|
4244
|
+
export declare const createStripeCheckoutSessionBodyOptionsOneCurrencyOneMax = 3;
|
|
4245
|
+
export declare const createStripeCheckoutSessionBodyOptionsOneCurrencyOneRegExp: RegExp;
|
|
4246
|
+
export declare const createStripeCheckoutSessionBodyOptionsOneCustomTextOneAfterSubmitMessageMax = 1200;
|
|
4247
|
+
export declare const createStripeCheckoutSessionBodyOptionsOneCustomTextOneShippingAddressMessageMax = 1200;
|
|
4248
|
+
export declare const createStripeCheckoutSessionBodyOptionsOneCustomTextOneSubmitMessageMax = 1200;
|
|
4249
|
+
export declare const createStripeCheckoutSessionBodyOptionsOneCustomTextOneTermsOfServiceAcceptanceMessageMax = 1200;
|
|
4250
|
+
export declare const CreateStripeCheckoutSessionBody: zod.ZodObject<{
|
|
4162
4251
|
appId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4163
4252
|
customer: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4164
4253
|
id: zod.z.ZodCoercedString<unknown>;
|
|
@@ -4271,7 +4360,7 @@ If the subject exists, it will be partially updated with the provided fields.
|
|
|
4271
4360
|
* @deprecated
|
|
4272
4361
|
* @summary Upsert subject
|
|
4273
4362
|
*/
|
|
4274
|
-
export declare const
|
|
4363
|
+
export declare const UpsertSubjectBodyItem: zod.ZodObject<{
|
|
4275
4364
|
currentPeriodEnd: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4276
4365
|
currentPeriodStart: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4277
4366
|
displayName: zod.ZodOptional<zod.ZodNullable<zod.z.ZodCoercedString<unknown>>>;
|
|
@@ -4279,7 +4368,7 @@ export declare const upsertSubjectBodyItem: zod.ZodObject<{
|
|
|
4279
4368
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
4280
4369
|
stripeCustomerId: zod.ZodOptional<zod.ZodNullable<zod.z.ZodCoercedString<unknown>>>;
|
|
4281
4370
|
}, zod.z.core.$strip>;
|
|
4282
|
-
export declare const
|
|
4371
|
+
export declare const UpsertSubjectBody: zod.ZodArray<zod.ZodObject<{
|
|
4283
4372
|
currentPeriodEnd: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4284
4373
|
currentPeriodStart: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4285
4374
|
displayName: zod.ZodOptional<zod.ZodNullable<zod.z.ZodCoercedString<unknown>>>;
|
|
@@ -4294,7 +4383,7 @@ export declare const upsertSubjectBody: zod.ZodArray<zod.ZodObject<{
|
|
|
4294
4383
|
* @deprecated
|
|
4295
4384
|
* @summary Get subject
|
|
4296
4385
|
*/
|
|
4297
|
-
export declare const
|
|
4386
|
+
export declare const GetSubjectParams: zod.ZodObject<{
|
|
4298
4387
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4299
4388
|
}, zod.z.core.$strip>;
|
|
4300
4389
|
/**
|
|
@@ -4304,7 +4393,7 @@ export declare const getSubjectParams: zod.ZodObject<{
|
|
|
4304
4393
|
* @deprecated
|
|
4305
4394
|
* @summary Delete subject
|
|
4306
4395
|
*/
|
|
4307
|
-
export declare const
|
|
4396
|
+
export declare const DeleteSubjectParams: zod.ZodObject<{
|
|
4308
4397
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4309
4398
|
}, zod.z.core.$strip>;
|
|
4310
4399
|
/**
|
|
@@ -4322,40 +4411,40 @@ Once an entitlement is created you cannot modify it, only delete it.
|
|
|
4322
4411
|
* @deprecated
|
|
4323
4412
|
* @summary Create a subject entitlement
|
|
4324
4413
|
*/
|
|
4325
|
-
export declare const
|
|
4414
|
+
export declare const CreateEntitlementParams: zod.ZodObject<{
|
|
4326
4415
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4327
4416
|
}, zod.z.core.$strip>;
|
|
4328
|
-
export declare const
|
|
4329
|
-
export declare const
|
|
4330
|
-
export declare const
|
|
4331
|
-
export declare const
|
|
4332
|
-
export declare const
|
|
4333
|
-
export declare const
|
|
4334
|
-
export declare const
|
|
4335
|
-
export declare const
|
|
4336
|
-
export declare const
|
|
4337
|
-
export declare const
|
|
4338
|
-
export declare const
|
|
4339
|
-
export declare const
|
|
4340
|
-
export declare const
|
|
4341
|
-
export declare const
|
|
4342
|
-
export declare const
|
|
4343
|
-
export declare const
|
|
4344
|
-
export declare const
|
|
4345
|
-
export declare const
|
|
4346
|
-
export declare const
|
|
4417
|
+
export declare const createEntitlementBodyOneFeatureKeyMax = 64;
|
|
4418
|
+
export declare const createEntitlementBodyOneFeatureKeyRegExp: RegExp;
|
|
4419
|
+
export declare const createEntitlementBodyOneFeatureIdRegExp: RegExp;
|
|
4420
|
+
export declare const createEntitlementBodyOneIsSoftLimitDefault = false;
|
|
4421
|
+
export declare const createEntitlementBodyOneIsUnlimitedDefault = false;
|
|
4422
|
+
export declare const createEntitlementBodyOneUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
4423
|
+
export declare const createEntitlementBodyOneIssueAfterResetMin = 0;
|
|
4424
|
+
export declare const createEntitlementBodyOneIssueAfterResetPriorityDefault = 1;
|
|
4425
|
+
export declare const createEntitlementBodyOneIssueAfterResetPriorityMax = 255;
|
|
4426
|
+
export declare const createEntitlementBodyOnePreserveOverageAtResetDefault = false;
|
|
4427
|
+
export declare const createEntitlementBodyTwoFeatureKeyMax = 64;
|
|
4428
|
+
export declare const createEntitlementBodyTwoFeatureKeyRegExp: RegExp;
|
|
4429
|
+
export declare const createEntitlementBodyTwoFeatureIdRegExp: RegExp;
|
|
4430
|
+
export declare const createEntitlementBodyTwoUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
4431
|
+
export declare const createEntitlementBodyThreeFeatureKeyMax = 64;
|
|
4432
|
+
export declare const createEntitlementBodyThreeFeatureKeyRegExp: RegExp;
|
|
4433
|
+
export declare const createEntitlementBodyThreeFeatureIdRegExp: RegExp;
|
|
4434
|
+
export declare const createEntitlementBodyThreeUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
4435
|
+
export declare const CreateEntitlementBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4347
4436
|
featureId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4348
4437
|
featureKey: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4349
|
-
isSoftLimit: zod.
|
|
4438
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4350
4439
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
4351
4440
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
4352
|
-
isUnlimited: zod.
|
|
4441
|
+
isUnlimited: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4353
4442
|
measureUsageFrom: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
4354
4443
|
CURRENT_PERIOD_START: "CURRENT_PERIOD_START";
|
|
4355
4444
|
NOW: "NOW";
|
|
4356
4445
|
}>, zod.z.ZodCoercedDate<unknown>]>>;
|
|
4357
4446
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
4358
|
-
preserveOverageAtReset: zod.
|
|
4447
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4359
4448
|
type: zod.ZodEnum<{
|
|
4360
4449
|
metered: "metered";
|
|
4361
4450
|
}>;
|
|
@@ -4409,12 +4498,12 @@ export declare const createEntitlementBody: zod.ZodUnion<readonly [zod.ZodObject
|
|
|
4409
4498
|
* @deprecated
|
|
4410
4499
|
* @summary List subject entitlements
|
|
4411
4500
|
*/
|
|
4412
|
-
export declare const
|
|
4501
|
+
export declare const ListSubjectEntitlementsParams: zod.ZodObject<{
|
|
4413
4502
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4414
4503
|
}, zod.z.core.$strip>;
|
|
4415
|
-
export declare const listSubjectEntitlementsQueryIncludeDeletedDefault
|
|
4416
|
-
export declare const
|
|
4417
|
-
includeDeleted: zod.
|
|
4504
|
+
export declare const listSubjectEntitlementsQueryIncludeDeletedDefault = false;
|
|
4505
|
+
export declare const ListSubjectEntitlementsQueryParams: zod.ZodObject<{
|
|
4506
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4418
4507
|
}, zod.z.core.$strip>;
|
|
4419
4508
|
/**
|
|
4420
4509
|
* List all grants issued for an entitlement. The entitlement can be defined either by its id or featureKey.
|
|
@@ -4423,14 +4512,15 @@ export declare const listSubjectEntitlementsQueryParams: zod.ZodObject<{
|
|
|
4423
4512
|
* @deprecated
|
|
4424
4513
|
* @summary List subject entitlement grants
|
|
4425
4514
|
*/
|
|
4426
|
-
export declare const
|
|
4515
|
+
export declare const ListEntitlementGrantsParams: zod.ZodObject<{
|
|
4427
4516
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
4428
4517
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4429
4518
|
}, zod.z.core.$strip>;
|
|
4430
|
-
export declare const listEntitlementGrantsQueryIncludeDeletedDefault
|
|
4431
|
-
export declare const
|
|
4432
|
-
|
|
4433
|
-
|
|
4519
|
+
export declare const listEntitlementGrantsQueryIncludeDeletedDefault = false;
|
|
4520
|
+
export declare const listEntitlementGrantsQueryOrderByDefault = "updatedAt";
|
|
4521
|
+
export declare const ListEntitlementGrantsQueryParams: zod.ZodObject<{
|
|
4522
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4523
|
+
orderBy: zod.ZodDefault<zod.ZodEnum<{
|
|
4434
4524
|
id: "id";
|
|
4435
4525
|
createdAt: "createdAt";
|
|
4436
4526
|
updatedAt: "updatedAt";
|
|
@@ -4453,17 +4543,17 @@ Grants cannot be changed once created, only deleted. This is to ensure that bala
|
|
|
4453
4543
|
* @deprecated
|
|
4454
4544
|
* @summary Create subject entitlement grant
|
|
4455
4545
|
*/
|
|
4456
|
-
export declare const
|
|
4546
|
+
export declare const CreateGrantParams: zod.ZodObject<{
|
|
4457
4547
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
4458
4548
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4459
4549
|
}, zod.z.core.$strip>;
|
|
4460
|
-
export declare const createGrantBodyAmountMin
|
|
4461
|
-
export declare const createGrantBodyPriorityMax
|
|
4462
|
-
export declare const
|
|
4463
|
-
export declare const createGrantBodyMaxRolloverAmountDefault
|
|
4464
|
-
export declare const createGrantBodyMinRolloverAmountDefault
|
|
4465
|
-
export declare const
|
|
4466
|
-
export declare const
|
|
4550
|
+
export declare const createGrantBodyAmountMin = 0;
|
|
4551
|
+
export declare const createGrantBodyPriorityMax = 255;
|
|
4552
|
+
export declare const createGrantBodyExpirationOneCountMax = 1000;
|
|
4553
|
+
export declare const createGrantBodyMaxRolloverAmountDefault = 0;
|
|
4554
|
+
export declare const createGrantBodyMinRolloverAmountDefault = 0;
|
|
4555
|
+
export declare const createGrantBodyRecurrenceOneIntervalOneOneRegExp: RegExp;
|
|
4556
|
+
export declare const CreateGrantBody: zod.ZodObject<{
|
|
4467
4557
|
amount: zod.z.ZodCoercedNumber<unknown>;
|
|
4468
4558
|
effectiveAt: zod.z.ZodCoercedDate<unknown>;
|
|
4469
4559
|
expiration: zod.ZodObject<{
|
|
@@ -4476,9 +4566,9 @@ export declare const createGrantBody: zod.ZodObject<{
|
|
|
4476
4566
|
YEAR: "YEAR";
|
|
4477
4567
|
}>;
|
|
4478
4568
|
}, zod.z.core.$strip>;
|
|
4479
|
-
maxRolloverAmount: zod.
|
|
4569
|
+
maxRolloverAmount: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
4480
4570
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
4481
|
-
minRolloverAmount: zod.
|
|
4571
|
+
minRolloverAmount: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
4482
4572
|
priority: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
4483
4573
|
recurrence: zod.ZodOptional<zod.ZodObject<{
|
|
4484
4574
|
anchor: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
@@ -4499,41 +4589,41 @@ This endpoint is useful for upgrades, downgrades, or other changes to entitlemen
|
|
|
4499
4589
|
* @deprecated
|
|
4500
4590
|
* @summary Override subject entitlement
|
|
4501
4591
|
*/
|
|
4502
|
-
export declare const
|
|
4592
|
+
export declare const OverrideEntitlementParams: zod.ZodObject<{
|
|
4503
4593
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
4504
4594
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4505
4595
|
}, zod.z.core.$strip>;
|
|
4506
|
-
export declare const
|
|
4507
|
-
export declare const
|
|
4508
|
-
export declare const
|
|
4509
|
-
export declare const
|
|
4510
|
-
export declare const
|
|
4511
|
-
export declare const
|
|
4512
|
-
export declare const
|
|
4513
|
-
export declare const
|
|
4514
|
-
export declare const
|
|
4515
|
-
export declare const
|
|
4516
|
-
export declare const
|
|
4517
|
-
export declare const
|
|
4518
|
-
export declare const
|
|
4519
|
-
export declare const
|
|
4520
|
-
export declare const
|
|
4521
|
-
export declare const
|
|
4522
|
-
export declare const
|
|
4523
|
-
export declare const
|
|
4524
|
-
export declare const
|
|
4596
|
+
export declare const overrideEntitlementBodyOneFeatureKeyMax = 64;
|
|
4597
|
+
export declare const overrideEntitlementBodyOneFeatureKeyRegExp: RegExp;
|
|
4598
|
+
export declare const overrideEntitlementBodyOneFeatureIdRegExp: RegExp;
|
|
4599
|
+
export declare const overrideEntitlementBodyOneIsSoftLimitDefault = false;
|
|
4600
|
+
export declare const overrideEntitlementBodyOneIsUnlimitedDefault = false;
|
|
4601
|
+
export declare const overrideEntitlementBodyOneUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
4602
|
+
export declare const overrideEntitlementBodyOneIssueAfterResetMin = 0;
|
|
4603
|
+
export declare const overrideEntitlementBodyOneIssueAfterResetPriorityDefault = 1;
|
|
4604
|
+
export declare const overrideEntitlementBodyOneIssueAfterResetPriorityMax = 255;
|
|
4605
|
+
export declare const overrideEntitlementBodyOnePreserveOverageAtResetDefault = false;
|
|
4606
|
+
export declare const overrideEntitlementBodyTwoFeatureKeyMax = 64;
|
|
4607
|
+
export declare const overrideEntitlementBodyTwoFeatureKeyRegExp: RegExp;
|
|
4608
|
+
export declare const overrideEntitlementBodyTwoFeatureIdRegExp: RegExp;
|
|
4609
|
+
export declare const overrideEntitlementBodyTwoUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
4610
|
+
export declare const overrideEntitlementBodyThreeFeatureKeyMax = 64;
|
|
4611
|
+
export declare const overrideEntitlementBodyThreeFeatureKeyRegExp: RegExp;
|
|
4612
|
+
export declare const overrideEntitlementBodyThreeFeatureIdRegExp: RegExp;
|
|
4613
|
+
export declare const overrideEntitlementBodyThreeUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
4614
|
+
export declare const OverrideEntitlementBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4525
4615
|
featureId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4526
4616
|
featureKey: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4527
|
-
isSoftLimit: zod.
|
|
4617
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4528
4618
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
4529
4619
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
4530
|
-
isUnlimited: zod.
|
|
4620
|
+
isUnlimited: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4531
4621
|
measureUsageFrom: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
4532
4622
|
CURRENT_PERIOD_START: "CURRENT_PERIOD_START";
|
|
4533
4623
|
NOW: "NOW";
|
|
4534
4624
|
}>, zod.z.ZodCoercedDate<unknown>]>>;
|
|
4535
4625
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
4536
|
-
preserveOverageAtReset: zod.
|
|
4626
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4537
4627
|
type: zod.ZodEnum<{
|
|
4538
4628
|
metered: "metered";
|
|
4539
4629
|
}>;
|
|
@@ -4589,11 +4679,11 @@ For convenience reasons, /value works with both entitlementId and featureKey.
|
|
|
4589
4679
|
* @deprecated
|
|
4590
4680
|
* @summary Get subject entitlement value
|
|
4591
4681
|
*/
|
|
4592
|
-
export declare const
|
|
4682
|
+
export declare const GetEntitlementValueParams: zod.ZodObject<{
|
|
4593
4683
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
4594
4684
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4595
4685
|
}, zod.z.core.$strip>;
|
|
4596
|
-
export declare const
|
|
4686
|
+
export declare const GetEntitlementValueQueryParams: zod.ZodObject<{
|
|
4597
4687
|
time: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4598
4688
|
}, zod.z.core.$strip>;
|
|
4599
4689
|
/**
|
|
@@ -4603,7 +4693,7 @@ export declare const getEntitlementValueQueryParams: zod.ZodObject<{
|
|
|
4603
4693
|
* @deprecated
|
|
4604
4694
|
* @summary Get subject entitlement
|
|
4605
4695
|
*/
|
|
4606
|
-
export declare const
|
|
4696
|
+
export declare const GetEntitlementParams: zod.ZodObject<{
|
|
4607
4697
|
entitlementId: zod.z.ZodCoercedString<unknown>;
|
|
4608
4698
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4609
4699
|
}, zod.z.core.$strip>;
|
|
@@ -4615,7 +4705,7 @@ As access and status checks can be historical queries, deleting an entitlement p
|
|
|
4615
4705
|
* @deprecated
|
|
4616
4706
|
* @summary Delete subject entitlement
|
|
4617
4707
|
*/
|
|
4618
|
-
export declare const
|
|
4708
|
+
export declare const DeleteEntitlementParams: zod.ZodObject<{
|
|
4619
4709
|
entitlementId: zod.z.ZodCoercedString<unknown>;
|
|
4620
4710
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4621
4711
|
}, zod.z.core.$strip>;
|
|
@@ -4630,12 +4720,12 @@ WindowedHistory returns windowed usage data for the period enriched with balance
|
|
|
4630
4720
|
* @deprecated
|
|
4631
4721
|
* @summary Get subject entitlement history
|
|
4632
4722
|
*/
|
|
4633
|
-
export declare const
|
|
4723
|
+
export declare const GetEntitlementHistoryParams: zod.ZodObject<{
|
|
4634
4724
|
entitlementId: zod.z.ZodCoercedString<unknown>;
|
|
4635
4725
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4636
4726
|
}, zod.z.core.$strip>;
|
|
4637
|
-
export declare const getEntitlementHistoryQueryWindowTimeZoneDefault
|
|
4638
|
-
export declare const
|
|
4727
|
+
export declare const getEntitlementHistoryQueryWindowTimeZoneDefault = "UTC";
|
|
4728
|
+
export declare const GetEntitlementHistoryQueryParams: zod.ZodObject<{
|
|
4639
4729
|
from: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4640
4730
|
to: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4641
4731
|
windowSize: zod.ZodEnum<{
|
|
@@ -4655,11 +4745,11 @@ Usage is automatically reset for metered entitlements based on their usage perio
|
|
|
4655
4745
|
* @deprecated
|
|
4656
4746
|
* @summary Reset subject entitlement
|
|
4657
4747
|
*/
|
|
4658
|
-
export declare const
|
|
4748
|
+
export declare const ResetEntitlementUsageParams: zod.ZodObject<{
|
|
4659
4749
|
entitlementId: zod.z.ZodCoercedString<unknown>;
|
|
4660
4750
|
subjectIdOrKey: zod.z.ZodCoercedString<unknown>;
|
|
4661
4751
|
}, zod.z.core.$strip>;
|
|
4662
|
-
export declare const
|
|
4752
|
+
export declare const ResetEntitlementUsageBody: zod.ZodObject<{
|
|
4663
4753
|
effectiveAt: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4664
4754
|
preserveOverage: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4665
4755
|
retainAnchor: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
@@ -4667,77 +4757,80 @@ export declare const resetEntitlementUsageBody: zod.ZodObject<{
|
|
|
4667
4757
|
/**
|
|
4668
4758
|
* @summary Create subscription
|
|
4669
4759
|
*/
|
|
4670
|
-
export declare const
|
|
4671
|
-
export declare const
|
|
4672
|
-
export declare const
|
|
4673
|
-
export declare const
|
|
4674
|
-
export declare const
|
|
4675
|
-
export declare const
|
|
4676
|
-
export declare const
|
|
4677
|
-
export declare const
|
|
4678
|
-
export declare const
|
|
4679
|
-
export declare const
|
|
4680
|
-
export declare const
|
|
4681
|
-
export declare const
|
|
4682
|
-
export declare const
|
|
4683
|
-
export declare const
|
|
4760
|
+
export declare const createSubscriptionBodyOnePlanOneKeyMax = 64;
|
|
4761
|
+
export declare const createSubscriptionBodyOnePlanOneKeyRegExp: RegExp;
|
|
4762
|
+
export declare const createSubscriptionBodyOneTimingDefault = "immediate";
|
|
4763
|
+
export declare const createSubscriptionBodyOneCustomerIdRegExp: RegExp;
|
|
4764
|
+
export declare const createSubscriptionBodyOneCustomerKeyMax = 256;
|
|
4765
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneNameMax = 256;
|
|
4766
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneDescriptionMax = 1024;
|
|
4767
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMin = 3;
|
|
4768
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMax = 3;
|
|
4769
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneRegExp: RegExp;
|
|
4770
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneCurrencyDefault = "USD";
|
|
4771
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneEnabledDefault = true;
|
|
4772
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneModeDefault = "prorate_prices";
|
|
4773
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigDefault: {
|
|
4684
4774
|
readonly enabled: true;
|
|
4685
4775
|
readonly mode: "prorate_prices";
|
|
4686
4776
|
};
|
|
4687
|
-
export declare const
|
|
4688
|
-
export declare const
|
|
4689
|
-
export declare const
|
|
4690
|
-
export declare const
|
|
4691
|
-
export declare const
|
|
4692
|
-
export declare const
|
|
4693
|
-
export declare const
|
|
4694
|
-
export declare const
|
|
4695
|
-
export declare const
|
|
4696
|
-
export declare const
|
|
4697
|
-
export declare const
|
|
4698
|
-
export declare const
|
|
4699
|
-
export declare const
|
|
4700
|
-
export declare const
|
|
4701
|
-
export declare const
|
|
4702
|
-
export declare const
|
|
4703
|
-
export declare const
|
|
4704
|
-
export declare const
|
|
4705
|
-
export declare const
|
|
4706
|
-
export declare const
|
|
4707
|
-
export declare const
|
|
4708
|
-
export declare const
|
|
4709
|
-
export declare const
|
|
4710
|
-
export declare const
|
|
4711
|
-
export declare const
|
|
4712
|
-
export declare const
|
|
4713
|
-
export declare const
|
|
4714
|
-
export declare const
|
|
4715
|
-
export declare const
|
|
4716
|
-
export declare const
|
|
4717
|
-
export declare const
|
|
4718
|
-
export declare const
|
|
4719
|
-
export declare const
|
|
4720
|
-
export declare const
|
|
4721
|
-
export declare const
|
|
4722
|
-
export declare const
|
|
4723
|
-
export declare const
|
|
4724
|
-
export declare const
|
|
4725
|
-
export declare const
|
|
4726
|
-
export declare const
|
|
4727
|
-
export declare const
|
|
4728
|
-
export declare const
|
|
4729
|
-
export declare const
|
|
4730
|
-
export declare const
|
|
4731
|
-
export declare const
|
|
4732
|
-
export declare const
|
|
4733
|
-
export declare const
|
|
4734
|
-
export declare const
|
|
4735
|
-
export declare const
|
|
4736
|
-
export declare const
|
|
4737
|
-
export declare const
|
|
4738
|
-
export declare const
|
|
4739
|
-
export declare const
|
|
4740
|
-
export declare const
|
|
4777
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOneSettlementModeDefault = "credit_then_invoice";
|
|
4778
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyMax = 64;
|
|
4779
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyRegExp: RegExp;
|
|
4780
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemNameMax = 256;
|
|
4781
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemDescriptionMax = 1024;
|
|
4782
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyMax = 64;
|
|
4783
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyRegExp: RegExp;
|
|
4784
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneNameMax = 256;
|
|
4785
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDescriptionMax = 1024;
|
|
4786
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyMax = 64;
|
|
4787
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyRegExp: RegExp;
|
|
4788
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
4789
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
4790
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
4791
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
4792
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
4793
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
4794
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
4795
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOneAmountOneRegExp: RegExp;
|
|
4796
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOnePaymentTermDefault = "in_advance";
|
|
4797
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
4798
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyMax = 64;
|
|
4799
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyRegExp: RegExp;
|
|
4800
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoNameMax = 256;
|
|
4801
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDescriptionMax = 1024;
|
|
4802
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyMax = 64;
|
|
4803
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyRegExp: RegExp;
|
|
4804
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
4805
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
4806
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
4807
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
4808
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
4809
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
4810
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
4811
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp;
|
|
4812
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance";
|
|
4813
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp;
|
|
4814
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
4815
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
4816
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
4817
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
4818
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
4819
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
4820
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
4821
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp;
|
|
4822
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = "1";
|
|
4823
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
4824
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
4825
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp;
|
|
4826
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
4827
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
4828
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
4829
|
+
export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
4830
|
+
export declare const createSubscriptionBodyTwoTimingDefault = "immediate";
|
|
4831
|
+
export declare const createSubscriptionBodyTwoCustomerIdRegExp: RegExp;
|
|
4832
|
+
export declare const createSubscriptionBodyTwoCustomerKeyMax = 256;
|
|
4833
|
+
export declare const CreateSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4741
4834
|
alignment: zod.ZodOptional<zod.ZodObject<{
|
|
4742
4835
|
billablesMustAlign: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4743
4836
|
}, zod.z.core.$strip>>;
|
|
@@ -4751,6 +4844,10 @@ export declare const createSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
4751
4844
|
key: zod.z.ZodCoercedString<unknown>;
|
|
4752
4845
|
version: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
4753
4846
|
}, zod.z.core.$strip>;
|
|
4847
|
+
settlementMode: zod.ZodOptional<zod.ZodEnum<{
|
|
4848
|
+
credit_then_invoice: "credit_then_invoice";
|
|
4849
|
+
credit_only: "credit_only";
|
|
4850
|
+
}>>;
|
|
4754
4851
|
startingPhase: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4755
4852
|
timing: zod.ZodDefault<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
4756
4853
|
immediate: "immediate";
|
|
@@ -4765,7 +4862,7 @@ export declare const createSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
4765
4862
|
billablesMustAlign: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4766
4863
|
}, zod.z.core.$strip>>;
|
|
4767
4864
|
billingCadence: zod.z.ZodCoercedString<unknown>;
|
|
4768
|
-
currency: zod.z.ZodCoercedString<unknown
|
|
4865
|
+
currency: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
4769
4866
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4770
4867
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
4771
4868
|
name: zod.z.ZodCoercedString<unknown>;
|
|
@@ -4787,11 +4884,11 @@ export declare const createSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
4787
4884
|
}, zod.z.core.$strip>>;
|
|
4788
4885
|
}, zod.z.core.$strip>>;
|
|
4789
4886
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4790
|
-
isSoftLimit: zod.
|
|
4887
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4791
4888
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
4792
4889
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
4793
4890
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
4794
|
-
preserveOverageAtReset: zod.
|
|
4891
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4795
4892
|
type: zod.ZodEnum<{
|
|
4796
4893
|
metered: "metered";
|
|
4797
4894
|
}>;
|
|
@@ -4833,6 +4930,7 @@ export declare const createSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
4833
4930
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
4834
4931
|
code: zod.z.ZodCoercedString<unknown>;
|
|
4835
4932
|
}, zod.z.core.$strip>>;
|
|
4933
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4836
4934
|
}, zod.z.core.$strip>>;
|
|
4837
4935
|
type: zod.ZodEnum<{
|
|
4838
4936
|
flat_fee: "flat_fee";
|
|
@@ -4849,11 +4947,11 @@ export declare const createSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
4849
4947
|
}, zod.z.core.$strip>>;
|
|
4850
4948
|
}, zod.z.core.$strip>>;
|
|
4851
4949
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4852
|
-
isSoftLimit: zod.
|
|
4950
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4853
4951
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
4854
4952
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
4855
4953
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
4856
|
-
preserveOverageAtReset: zod.
|
|
4954
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
4857
4955
|
type: zod.ZodEnum<{
|
|
4858
4956
|
metered: "metered";
|
|
4859
4957
|
}>;
|
|
@@ -4942,6 +5040,7 @@ export declare const createSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
4942
5040
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
4943
5041
|
code: zod.z.ZodCoercedString<unknown>;
|
|
4944
5042
|
}, zod.z.core.$strip>>;
|
|
5043
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
4945
5044
|
}, zod.z.core.$strip>>;
|
|
4946
5045
|
type: zod.ZodEnum<{
|
|
4947
5046
|
usage_based: "usage_based";
|
|
@@ -4949,11 +5048,15 @@ export declare const createSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
4949
5048
|
}, zod.z.core.$strip>]>>;
|
|
4950
5049
|
}, zod.z.core.$strip>>;
|
|
4951
5050
|
proRatingConfig: zod.ZodDefault<zod.ZodObject<{
|
|
4952
|
-
enabled: zod.z.ZodCoercedBoolean<unknown
|
|
4953
|
-
mode: zod.ZodEnum<{
|
|
5051
|
+
enabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5052
|
+
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
4954
5053
|
prorate_prices: "prorate_prices";
|
|
4955
|
-
}
|
|
5054
|
+
}>>;
|
|
4956
5055
|
}, zod.z.core.$strip>>;
|
|
5056
|
+
settlementMode: zod.ZodDefault<zod.ZodEnum<{
|
|
5057
|
+
credit_then_invoice: "credit_then_invoice";
|
|
5058
|
+
credit_only: "credit_only";
|
|
5059
|
+
}>>;
|
|
4957
5060
|
}, zod.z.core.$strip>;
|
|
4958
5061
|
timing: zod.ZodDefault<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
4959
5062
|
immediate: "immediate";
|
|
@@ -4964,10 +5067,10 @@ export declare const createSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
4964
5067
|
* @summary Get subscription
|
|
4965
5068
|
*/
|
|
4966
5069
|
export declare const getSubscriptionPathSubscriptionIdRegExp: RegExp;
|
|
4967
|
-
export declare const
|
|
5070
|
+
export declare const GetSubscriptionParams: zod.ZodObject<{
|
|
4968
5071
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
4969
5072
|
}, zod.z.core.$strip>;
|
|
4970
|
-
export declare const
|
|
5073
|
+
export declare const GetSubscriptionQueryParams: zod.ZodObject<{
|
|
4971
5074
|
at: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
4972
5075
|
}, zod.z.core.$strip>;
|
|
4973
5076
|
/**
|
|
@@ -4976,60 +5079,62 @@ The key format is `/phases/{phaseKey}` or `/phases/{phaseKey}/items/{itemKey}`.
|
|
|
4976
5079
|
* @summary Edit subscription
|
|
4977
5080
|
*/
|
|
4978
5081
|
export declare const editSubscriptionPathSubscriptionIdRegExp: RegExp;
|
|
4979
|
-
export declare const
|
|
5082
|
+
export declare const EditSubscriptionParams: zod.ZodObject<{
|
|
4980
5083
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
4981
5084
|
}, zod.z.core.$strip>;
|
|
4982
|
-
export declare const
|
|
4983
|
-
export declare const
|
|
4984
|
-
export declare const
|
|
4985
|
-
export declare const
|
|
4986
|
-
export declare const
|
|
4987
|
-
export declare const
|
|
4988
|
-
export declare const
|
|
4989
|
-
export declare const
|
|
4990
|
-
export declare const
|
|
4991
|
-
export declare const
|
|
4992
|
-
export declare const
|
|
4993
|
-
export declare const
|
|
4994
|
-
export declare const
|
|
4995
|
-
export declare const
|
|
4996
|
-
export declare const
|
|
4997
|
-
export declare const
|
|
4998
|
-
export declare const
|
|
4999
|
-
export declare const
|
|
5000
|
-
export declare const
|
|
5001
|
-
export declare const
|
|
5002
|
-
export declare const
|
|
5003
|
-
export declare const
|
|
5004
|
-
export declare const
|
|
5005
|
-
export declare const
|
|
5006
|
-
export declare const
|
|
5007
|
-
export declare const
|
|
5008
|
-
export declare const
|
|
5009
|
-
export declare const
|
|
5010
|
-
export declare const
|
|
5011
|
-
export declare const
|
|
5012
|
-
export declare const
|
|
5013
|
-
export declare const
|
|
5014
|
-
export declare const
|
|
5015
|
-
export declare const
|
|
5016
|
-
export declare const
|
|
5017
|
-
export declare const
|
|
5018
|
-
export declare const
|
|
5019
|
-
export declare const
|
|
5020
|
-
export declare const
|
|
5021
|
-
export declare const
|
|
5022
|
-
export declare const
|
|
5023
|
-
export declare const
|
|
5024
|
-
export declare const
|
|
5025
|
-
export declare const
|
|
5026
|
-
export declare const
|
|
5027
|
-
export declare const
|
|
5028
|
-
export declare const
|
|
5029
|
-
export declare const
|
|
5030
|
-
export declare const
|
|
5031
|
-
export declare const
|
|
5032
|
-
export declare const
|
|
5085
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneKeyMax = 64;
|
|
5086
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneKeyRegExp: RegExp;
|
|
5087
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneNameMax = 256;
|
|
5088
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneDescriptionMax = 1024;
|
|
5089
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneFeatureKeyMax = 64;
|
|
5090
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneFeatureKeyRegExp: RegExp;
|
|
5091
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
5092
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
5093
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
5094
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
5095
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
5096
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
5097
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
5098
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOnePriceOneAmountOneRegExp: RegExp;
|
|
5099
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOnePriceOnePaymentTermDefault = "in_advance";
|
|
5100
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
5101
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoKeyMax = 64;
|
|
5102
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoKeyRegExp: RegExp;
|
|
5103
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoNameMax = 256;
|
|
5104
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoDescriptionMax = 1024;
|
|
5105
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoFeatureKeyMax = 64;
|
|
5106
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoFeatureKeyRegExp: RegExp;
|
|
5107
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
5108
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
5109
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
5110
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
5111
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
5112
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
5113
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
5114
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneOneAmountOneRegExp: RegExp;
|
|
5115
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneOnePaymentTermDefault = "in_advance";
|
|
5116
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoAmountOneRegExp: RegExp;
|
|
5117
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
5118
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
5119
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
5120
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
5121
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
5122
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
5123
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
5124
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMultiplierOneRegExp: RegExp;
|
|
5125
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMultiplierDefault = "1";
|
|
5126
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
5127
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
5128
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveAmountOneRegExp: RegExp;
|
|
5129
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
5130
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
5131
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
5132
|
+
export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
5133
|
+
export declare const editSubscriptionBodyCustomizationsItemThreePhaseDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
5134
|
+
export declare const editSubscriptionBodyCustomizationsItemThreePhaseKeyMax = 64;
|
|
5135
|
+
export declare const editSubscriptionBodyCustomizationsItemThreePhaseKeyRegExp: RegExp;
|
|
5136
|
+
export declare const editSubscriptionBodyCustomizationsMax = 100;
|
|
5137
|
+
export declare const EditSubscriptionBody: zod.ZodObject<{
|
|
5033
5138
|
customizations: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5034
5139
|
op: zod.ZodEnum<{
|
|
5035
5140
|
add_item: "add_item";
|
|
@@ -5047,11 +5152,11 @@ export declare const editSubscriptionBody: zod.ZodObject<{
|
|
|
5047
5152
|
}, zod.z.core.$strip>>;
|
|
5048
5153
|
}, zod.z.core.$strip>>;
|
|
5049
5154
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5050
|
-
isSoftLimit: zod.
|
|
5155
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5051
5156
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
5052
5157
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
5053
5158
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
5054
|
-
preserveOverageAtReset: zod.
|
|
5159
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5055
5160
|
type: zod.ZodEnum<{
|
|
5056
5161
|
metered: "metered";
|
|
5057
5162
|
}>;
|
|
@@ -5093,6 +5198,7 @@ export declare const editSubscriptionBody: zod.ZodObject<{
|
|
|
5093
5198
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
5094
5199
|
code: zod.z.ZodCoercedString<unknown>;
|
|
5095
5200
|
}, zod.z.core.$strip>>;
|
|
5201
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5096
5202
|
}, zod.z.core.$strip>>;
|
|
5097
5203
|
type: zod.ZodEnum<{
|
|
5098
5204
|
flat_fee: "flat_fee";
|
|
@@ -5109,11 +5215,11 @@ export declare const editSubscriptionBody: zod.ZodObject<{
|
|
|
5109
5215
|
}, zod.z.core.$strip>>;
|
|
5110
5216
|
}, zod.z.core.$strip>>;
|
|
5111
5217
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5112
|
-
isSoftLimit: zod.
|
|
5218
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5113
5219
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
5114
5220
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
5115
5221
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
5116
|
-
preserveOverageAtReset: zod.
|
|
5222
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5117
5223
|
type: zod.ZodEnum<{
|
|
5118
5224
|
metered: "metered";
|
|
5119
5225
|
}>;
|
|
@@ -5202,6 +5308,7 @@ export declare const editSubscriptionBody: zod.ZodObject<{
|
|
|
5202
5308
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
5203
5309
|
code: zod.z.ZodCoercedString<unknown>;
|
|
5204
5310
|
}, zod.z.core.$strip>>;
|
|
5311
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5205
5312
|
}, zod.z.core.$strip>>;
|
|
5206
5313
|
type: zod.ZodEnum<{
|
|
5207
5314
|
usage_based: "usage_based";
|
|
@@ -5262,7 +5369,7 @@ export declare const editSubscriptionBody: zod.ZodObject<{
|
|
|
5262
5369
|
* @summary Delete subscription
|
|
5263
5370
|
*/
|
|
5264
5371
|
export declare const deleteSubscriptionPathSubscriptionIdRegExp: RegExp;
|
|
5265
|
-
export declare const
|
|
5372
|
+
export declare const DeleteSubscriptionParams: zod.ZodObject<{
|
|
5266
5373
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5267
5374
|
}, zod.z.core.$strip>;
|
|
5268
5375
|
/**
|
|
@@ -5270,14 +5377,14 @@ export declare const deleteSubscriptionParams: zod.ZodObject<{
|
|
|
5270
5377
|
* @summary Create subscription addon
|
|
5271
5378
|
*/
|
|
5272
5379
|
export declare const createSubscriptionAddonPathSubscriptionIdRegExp: RegExp;
|
|
5273
|
-
export declare const
|
|
5380
|
+
export declare const CreateSubscriptionAddonParams: zod.ZodObject<{
|
|
5274
5381
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5275
5382
|
}, zod.z.core.$strip>;
|
|
5276
|
-
export declare const createSubscriptionAddonBodyNameMax
|
|
5277
|
-
export declare const createSubscriptionAddonBodyDescriptionMax
|
|
5278
|
-
export declare const createSubscriptionAddonBodyQuantityMin
|
|
5383
|
+
export declare const createSubscriptionAddonBodyNameMax = 256;
|
|
5384
|
+
export declare const createSubscriptionAddonBodyDescriptionMax = 1024;
|
|
5385
|
+
export declare const createSubscriptionAddonBodyQuantityMin = 0;
|
|
5279
5386
|
export declare const createSubscriptionAddonBodyAddonIdRegExp: RegExp;
|
|
5280
|
-
export declare const
|
|
5387
|
+
export declare const CreateSubscriptionAddonBody: zod.ZodObject<{
|
|
5281
5388
|
addon: zod.ZodObject<{
|
|
5282
5389
|
id: zod.z.ZodCoercedString<unknown>;
|
|
5283
5390
|
}, zod.z.core.$strip>;
|
|
@@ -5295,7 +5402,7 @@ export declare const createSubscriptionAddonBody: zod.ZodObject<{
|
|
|
5295
5402
|
* @summary List subscription addons
|
|
5296
5403
|
*/
|
|
5297
5404
|
export declare const listSubscriptionAddonsPathSubscriptionIdRegExp: RegExp;
|
|
5298
|
-
export declare const
|
|
5405
|
+
export declare const ListSubscriptionAddonsParams: zod.ZodObject<{
|
|
5299
5406
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5300
5407
|
}, zod.z.core.$strip>;
|
|
5301
5408
|
/**
|
|
@@ -5304,7 +5411,7 @@ export declare const listSubscriptionAddonsParams: zod.ZodObject<{
|
|
|
5304
5411
|
*/
|
|
5305
5412
|
export declare const getSubscriptionAddonPathSubscriptionIdRegExp: RegExp;
|
|
5306
5413
|
export declare const getSubscriptionAddonPathSubscriptionAddonIdRegExp: RegExp;
|
|
5307
|
-
export declare const
|
|
5414
|
+
export declare const GetSubscriptionAddonParams: zod.ZodObject<{
|
|
5308
5415
|
subscriptionAddonId: zod.z.ZodCoercedString<unknown>;
|
|
5309
5416
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5310
5417
|
}, zod.z.core.$strip>;
|
|
@@ -5314,14 +5421,14 @@ export declare const getSubscriptionAddonParams: zod.ZodObject<{
|
|
|
5314
5421
|
*/
|
|
5315
5422
|
export declare const updateSubscriptionAddonPathSubscriptionIdRegExp: RegExp;
|
|
5316
5423
|
export declare const updateSubscriptionAddonPathSubscriptionAddonIdRegExp: RegExp;
|
|
5317
|
-
export declare const
|
|
5424
|
+
export declare const UpdateSubscriptionAddonParams: zod.ZodObject<{
|
|
5318
5425
|
subscriptionAddonId: zod.z.ZodCoercedString<unknown>;
|
|
5319
5426
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5320
5427
|
}, zod.z.core.$strip>;
|
|
5321
|
-
export declare const updateSubscriptionAddonBodyNameMax
|
|
5322
|
-
export declare const updateSubscriptionAddonBodyDescriptionMax
|
|
5323
|
-
export declare const updateSubscriptionAddonBodyQuantityMin
|
|
5324
|
-
export declare const
|
|
5428
|
+
export declare const updateSubscriptionAddonBodyNameMax = 256;
|
|
5429
|
+
export declare const updateSubscriptionAddonBodyDescriptionMax = 1024;
|
|
5430
|
+
export declare const updateSubscriptionAddonBodyQuantityMin = 0;
|
|
5431
|
+
export declare const UpdateSubscriptionAddonBody: zod.ZodObject<{
|
|
5325
5432
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5326
5433
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
5327
5434
|
name: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
@@ -5337,10 +5444,10 @@ Will result in a scheduling conflict if there are other subscriptions scheduled
|
|
|
5337
5444
|
* @summary Cancel subscription
|
|
5338
5445
|
*/
|
|
5339
5446
|
export declare const cancelSubscriptionPathSubscriptionIdRegExp: RegExp;
|
|
5340
|
-
export declare const
|
|
5447
|
+
export declare const CancelSubscriptionParams: zod.ZodObject<{
|
|
5341
5448
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5342
5449
|
}, zod.z.core.$strip>;
|
|
5343
|
-
export declare const
|
|
5450
|
+
export declare const CancelSubscriptionBody: zod.ZodObject<{
|
|
5344
5451
|
timing: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
5345
5452
|
immediate: "immediate";
|
|
5346
5453
|
next_billing_cycle: "next_billing_cycle";
|
|
@@ -5352,74 +5459,77 @@ Can be used for upgrades, downgrades, and plan changes.
|
|
|
5352
5459
|
* @summary Change subscription
|
|
5353
5460
|
*/
|
|
5354
5461
|
export declare const changeSubscriptionPathSubscriptionIdRegExp: RegExp;
|
|
5355
|
-
export declare const
|
|
5462
|
+
export declare const ChangeSubscriptionParams: zod.ZodObject<{
|
|
5356
5463
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5357
5464
|
}, zod.z.core.$strip>;
|
|
5358
|
-
export declare const
|
|
5359
|
-
export declare const
|
|
5360
|
-
export declare const
|
|
5361
|
-
export declare const
|
|
5362
|
-
export declare const
|
|
5363
|
-
export declare const
|
|
5364
|
-
export declare const
|
|
5365
|
-
export declare const
|
|
5366
|
-
export declare const
|
|
5367
|
-
export declare const
|
|
5368
|
-
export declare const
|
|
5465
|
+
export declare const changeSubscriptionBodyOnePlanOneKeyMax = 64;
|
|
5466
|
+
export declare const changeSubscriptionBodyOnePlanOneKeyRegExp: RegExp;
|
|
5467
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneNameMax = 256;
|
|
5468
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneDescriptionMax = 1024;
|
|
5469
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMin = 3;
|
|
5470
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMax = 3;
|
|
5471
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneRegExp: RegExp;
|
|
5472
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneCurrencyDefault = "USD";
|
|
5473
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneEnabledDefault = true;
|
|
5474
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneModeDefault = "prorate_prices";
|
|
5475
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigDefault: {
|
|
5369
5476
|
readonly enabled: true;
|
|
5370
5477
|
readonly mode: "prorate_prices";
|
|
5371
5478
|
};
|
|
5372
|
-
export declare const
|
|
5373
|
-
export declare const
|
|
5374
|
-
export declare const
|
|
5375
|
-
export declare const
|
|
5376
|
-
export declare const
|
|
5377
|
-
export declare const
|
|
5378
|
-
export declare const
|
|
5379
|
-
export declare const
|
|
5380
|
-
export declare const
|
|
5381
|
-
export declare const
|
|
5382
|
-
export declare const
|
|
5383
|
-
export declare const
|
|
5384
|
-
export declare const
|
|
5385
|
-
export declare const
|
|
5386
|
-
export declare const
|
|
5387
|
-
export declare const
|
|
5388
|
-
export declare const
|
|
5389
|
-
export declare const
|
|
5390
|
-
export declare const
|
|
5391
|
-
export declare const
|
|
5392
|
-
export declare const
|
|
5393
|
-
export declare const
|
|
5394
|
-
export declare const
|
|
5395
|
-
export declare const
|
|
5396
|
-
export declare const
|
|
5397
|
-
export declare const
|
|
5398
|
-
export declare const
|
|
5399
|
-
export declare const
|
|
5400
|
-
export declare const
|
|
5401
|
-
export declare const
|
|
5402
|
-
export declare const
|
|
5403
|
-
export declare const
|
|
5404
|
-
export declare const
|
|
5405
|
-
export declare const
|
|
5406
|
-
export declare const
|
|
5407
|
-
export declare const
|
|
5408
|
-
export declare const
|
|
5409
|
-
export declare const
|
|
5410
|
-
export declare const
|
|
5411
|
-
export declare const
|
|
5412
|
-
export declare const
|
|
5413
|
-
export declare const
|
|
5414
|
-
export declare const
|
|
5415
|
-
export declare const
|
|
5416
|
-
export declare const
|
|
5417
|
-
export declare const
|
|
5418
|
-
export declare const
|
|
5419
|
-
export declare const
|
|
5420
|
-
export declare const
|
|
5421
|
-
export declare const
|
|
5422
|
-
export declare const
|
|
5479
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOneSettlementModeDefault = "credit_then_invoice";
|
|
5480
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyMax = 64;
|
|
5481
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyRegExp: RegExp;
|
|
5482
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemNameMax = 256;
|
|
5483
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemDescriptionMax = 1024;
|
|
5484
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyMax = 64;
|
|
5485
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyRegExp: RegExp;
|
|
5486
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneNameMax = 256;
|
|
5487
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDescriptionMax = 1024;
|
|
5488
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyMax = 64;
|
|
5489
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyRegExp: RegExp;
|
|
5490
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
5491
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
5492
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
5493
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
5494
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
5495
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
5496
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
5497
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOneAmountOneRegExp: RegExp;
|
|
5498
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOnePaymentTermDefault = "in_advance";
|
|
5499
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
5500
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyMax = 64;
|
|
5501
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyRegExp: RegExp;
|
|
5502
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoNameMax = 256;
|
|
5503
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDescriptionMax = 1024;
|
|
5504
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyMax = 64;
|
|
5505
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyRegExp: RegExp;
|
|
5506
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false;
|
|
5507
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0;
|
|
5508
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1;
|
|
5509
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255;
|
|
5510
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false;
|
|
5511
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp;
|
|
5512
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp;
|
|
5513
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp;
|
|
5514
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance";
|
|
5515
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp;
|
|
5516
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp;
|
|
5517
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp;
|
|
5518
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp;
|
|
5519
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp;
|
|
5520
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp;
|
|
5521
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp;
|
|
5522
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp;
|
|
5523
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp;
|
|
5524
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = "1";
|
|
5525
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp;
|
|
5526
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp;
|
|
5527
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp;
|
|
5528
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp;
|
|
5529
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp;
|
|
5530
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp;
|
|
5531
|
+
export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp;
|
|
5532
|
+
export declare const ChangeSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5423
5533
|
alignment: zod.ZodOptional<zod.ZodObject<{
|
|
5424
5534
|
billablesMustAlign: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5425
5535
|
}, zod.z.core.$strip>>;
|
|
@@ -5443,7 +5553,7 @@ export declare const changeSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
5443
5553
|
billablesMustAlign: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5444
5554
|
}, zod.z.core.$strip>>;
|
|
5445
5555
|
billingCadence: zod.z.ZodCoercedString<unknown>;
|
|
5446
|
-
currency: zod.z.ZodCoercedString<unknown
|
|
5556
|
+
currency: zod.ZodDefault<zod.z.ZodCoercedString<unknown>>;
|
|
5447
5557
|
description: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5448
5558
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>>;
|
|
5449
5559
|
name: zod.z.ZodCoercedString<unknown>;
|
|
@@ -5465,11 +5575,11 @@ export declare const changeSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
5465
5575
|
}, zod.z.core.$strip>>;
|
|
5466
5576
|
}, zod.z.core.$strip>>;
|
|
5467
5577
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5468
|
-
isSoftLimit: zod.
|
|
5578
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5469
5579
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
5470
5580
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
5471
5581
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
5472
|
-
preserveOverageAtReset: zod.
|
|
5582
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5473
5583
|
type: zod.ZodEnum<{
|
|
5474
5584
|
metered: "metered";
|
|
5475
5585
|
}>;
|
|
@@ -5511,6 +5621,7 @@ export declare const changeSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
5511
5621
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
5512
5622
|
code: zod.z.ZodCoercedString<unknown>;
|
|
5513
5623
|
}, zod.z.core.$strip>>;
|
|
5624
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5514
5625
|
}, zod.z.core.$strip>>;
|
|
5515
5626
|
type: zod.ZodEnum<{
|
|
5516
5627
|
flat_fee: "flat_fee";
|
|
@@ -5527,11 +5638,11 @@ export declare const changeSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
5527
5638
|
}, zod.z.core.$strip>>;
|
|
5528
5639
|
}, zod.z.core.$strip>>;
|
|
5529
5640
|
entitlementTemplate: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5530
|
-
isSoftLimit: zod.
|
|
5641
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5531
5642
|
issueAfterReset: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
5532
5643
|
issueAfterResetPriority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
5533
5644
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
5534
|
-
preserveOverageAtReset: zod.
|
|
5645
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5535
5646
|
type: zod.ZodEnum<{
|
|
5536
5647
|
metered: "metered";
|
|
5537
5648
|
}>;
|
|
@@ -5620,6 +5731,7 @@ export declare const changeSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
5620
5731
|
stripe: zod.ZodOptional<zod.ZodObject<{
|
|
5621
5732
|
code: zod.z.ZodCoercedString<unknown>;
|
|
5622
5733
|
}, zod.z.core.$strip>>;
|
|
5734
|
+
taxCodeId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5623
5735
|
}, zod.z.core.$strip>>;
|
|
5624
5736
|
type: zod.ZodEnum<{
|
|
5625
5737
|
usage_based: "usage_based";
|
|
@@ -5627,11 +5739,15 @@ export declare const changeSubscriptionBody: zod.ZodUnion<readonly [zod.ZodObjec
|
|
|
5627
5739
|
}, zod.z.core.$strip>]>>;
|
|
5628
5740
|
}, zod.z.core.$strip>>;
|
|
5629
5741
|
proRatingConfig: zod.ZodDefault<zod.ZodObject<{
|
|
5630
|
-
enabled: zod.z.ZodCoercedBoolean<unknown
|
|
5631
|
-
mode: zod.ZodEnum<{
|
|
5742
|
+
enabled: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5743
|
+
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
5632
5744
|
prorate_prices: "prorate_prices";
|
|
5633
|
-
}
|
|
5745
|
+
}>>;
|
|
5634
5746
|
}, zod.z.core.$strip>>;
|
|
5747
|
+
settlementMode: zod.ZodDefault<zod.ZodEnum<{
|
|
5748
|
+
credit_then_invoice: "credit_then_invoice";
|
|
5749
|
+
credit_only: "credit_only";
|
|
5750
|
+
}>>;
|
|
5635
5751
|
}, zod.z.core.$strip>;
|
|
5636
5752
|
timing: zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
5637
5753
|
immediate: "immediate";
|
|
@@ -5645,11 +5761,11 @@ If not, the migration will be scheduled to the end of the current billing period
|
|
|
5645
5761
|
* @summary Migrate subscription
|
|
5646
5762
|
*/
|
|
5647
5763
|
export declare const migrateSubscriptionPathSubscriptionIdRegExp: RegExp;
|
|
5648
|
-
export declare const
|
|
5764
|
+
export declare const MigrateSubscriptionParams: zod.ZodObject<{
|
|
5649
5765
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5650
5766
|
}, zod.z.core.$strip>;
|
|
5651
|
-
export declare const migrateSubscriptionBodyTimingDefault
|
|
5652
|
-
export declare const
|
|
5767
|
+
export declare const migrateSubscriptionBodyTimingDefault = "immediate";
|
|
5768
|
+
export declare const MigrateSubscriptionBody: zod.ZodObject<{
|
|
5653
5769
|
billingAnchor: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
5654
5770
|
startingPhase: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5655
5771
|
targetVersion: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
@@ -5665,7 +5781,7 @@ Any subscription scheduled to start later will be deleted and this subscription
|
|
|
5665
5781
|
* @summary Restore subscription
|
|
5666
5782
|
*/
|
|
5667
5783
|
export declare const restoreSubscriptionPathSubscriptionIdRegExp: RegExp;
|
|
5668
|
-
export declare const
|
|
5784
|
+
export declare const RestoreSubscriptionParams: zod.ZodObject<{
|
|
5669
5785
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5670
5786
|
}, zod.z.core.$strip>;
|
|
5671
5787
|
/**
|
|
@@ -5673,7 +5789,7 @@ export declare const restoreSubscriptionParams: zod.ZodObject<{
|
|
|
5673
5789
|
* @summary Unschedule cancelation
|
|
5674
5790
|
*/
|
|
5675
5791
|
export declare const unscheduleCancelationPathSubscriptionIdRegExp: RegExp;
|
|
5676
|
-
export declare const
|
|
5792
|
+
export declare const UnscheduleCancelationParams: zod.ZodObject<{
|
|
5677
5793
|
subscriptionId: zod.z.ZodCoercedString<unknown>;
|
|
5678
5794
|
}, zod.z.core.$strip>;
|
|
5679
5795
|
/**
|
|
@@ -5688,37 +5804,37 @@ A given customer can only have one active (non-deleted) entitlement per featureK
|
|
|
5688
5804
|
Once an entitlement is created you cannot modify it, only delete it.
|
|
5689
5805
|
* @summary Create a customer entitlement
|
|
5690
5806
|
*/
|
|
5691
|
-
export declare const
|
|
5692
|
-
export declare const
|
|
5693
|
-
export declare const
|
|
5807
|
+
export declare const createCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
5808
|
+
export declare const createCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = 256;
|
|
5809
|
+
export declare const CreateCustomerEntitlementV2Params: zod.ZodObject<{
|
|
5694
5810
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5695
5811
|
}, zod.z.core.$strip>;
|
|
5696
|
-
export declare const
|
|
5697
|
-
export declare const
|
|
5698
|
-
export declare const
|
|
5699
|
-
export declare const
|
|
5700
|
-
export declare const
|
|
5701
|
-
export declare const
|
|
5702
|
-
export declare const
|
|
5703
|
-
export declare const
|
|
5704
|
-
export declare const
|
|
5705
|
-
export declare const
|
|
5706
|
-
export declare const
|
|
5707
|
-
export declare const
|
|
5708
|
-
export declare const
|
|
5709
|
-
export declare const
|
|
5710
|
-
export declare const
|
|
5711
|
-
export declare const
|
|
5712
|
-
export declare const
|
|
5713
|
-
export declare const
|
|
5714
|
-
export declare const
|
|
5715
|
-
export declare const
|
|
5716
|
-
export declare const
|
|
5717
|
-
export declare const
|
|
5718
|
-
export declare const
|
|
5719
|
-
export declare const
|
|
5720
|
-
export declare const
|
|
5721
|
-
export declare const
|
|
5812
|
+
export declare const createCustomerEntitlementV2BodyOneFeatureKeyMax = 64;
|
|
5813
|
+
export declare const createCustomerEntitlementV2BodyOneFeatureKeyRegExp: RegExp;
|
|
5814
|
+
export declare const createCustomerEntitlementV2BodyOneFeatureIdRegExp: RegExp;
|
|
5815
|
+
export declare const createCustomerEntitlementV2BodyOneIsSoftLimitDefault = false;
|
|
5816
|
+
export declare const createCustomerEntitlementV2BodyOneUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
5817
|
+
export declare const createCustomerEntitlementV2BodyOnePreserveOverageAtResetDefault = false;
|
|
5818
|
+
export declare const createCustomerEntitlementV2BodyOneIssueAfterResetMin = 0;
|
|
5819
|
+
export declare const createCustomerEntitlementV2BodyOneIssueAfterResetPriorityDefault = 1;
|
|
5820
|
+
export declare const createCustomerEntitlementV2BodyOneIssueAfterResetPriorityMax = 255;
|
|
5821
|
+
export declare const createCustomerEntitlementV2BodyOneIssueOneAmountMin = 0;
|
|
5822
|
+
export declare const createCustomerEntitlementV2BodyOneIssueOnePriorityDefault = 1;
|
|
5823
|
+
export declare const createCustomerEntitlementV2BodyOneIssueOnePriorityMax = 255;
|
|
5824
|
+
export declare const createCustomerEntitlementV2BodyOneGrantsItemAmountMin = 0;
|
|
5825
|
+
export declare const createCustomerEntitlementV2BodyOneGrantsItemPriorityMax = 255;
|
|
5826
|
+
export declare const createCustomerEntitlementV2BodyOneGrantsItemMinRolloverAmountDefault = 0;
|
|
5827
|
+
export declare const createCustomerEntitlementV2BodyOneGrantsItemRecurrenceOneIntervalOneOneRegExp: RegExp;
|
|
5828
|
+
export declare const createCustomerEntitlementV2BodyOneGrantsItemExpirationOneCountMax = 1000;
|
|
5829
|
+
export declare const createCustomerEntitlementV2BodyTwoFeatureKeyMax = 64;
|
|
5830
|
+
export declare const createCustomerEntitlementV2BodyTwoFeatureKeyRegExp: RegExp;
|
|
5831
|
+
export declare const createCustomerEntitlementV2BodyTwoFeatureIdRegExp: RegExp;
|
|
5832
|
+
export declare const createCustomerEntitlementV2BodyTwoUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
5833
|
+
export declare const createCustomerEntitlementV2BodyThreeFeatureKeyMax = 64;
|
|
5834
|
+
export declare const createCustomerEntitlementV2BodyThreeFeatureKeyRegExp: RegExp;
|
|
5835
|
+
export declare const createCustomerEntitlementV2BodyThreeFeatureIdRegExp: RegExp;
|
|
5836
|
+
export declare const createCustomerEntitlementV2BodyThreeUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
5837
|
+
export declare const CreateCustomerEntitlementV2Body: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5722
5838
|
featureId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5723
5839
|
featureKey: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
5724
5840
|
grants: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -5737,7 +5853,7 @@ export declare const createCustomerEntitlementV2Body: zod.ZodUnion<readonly [zod
|
|
|
5737
5853
|
}, zod.z.core.$strip>>;
|
|
5738
5854
|
maxRolloverAmount: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
5739
5855
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
5740
|
-
minRolloverAmount: zod.
|
|
5856
|
+
minRolloverAmount: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
5741
5857
|
priority: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
5742
5858
|
recurrence: zod.ZodOptional<zod.ZodObject<{
|
|
5743
5859
|
anchor: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
@@ -5749,7 +5865,7 @@ export declare const createCustomerEntitlementV2Body: zod.ZodUnion<readonly [zod
|
|
|
5749
5865
|
}>]>;
|
|
5750
5866
|
}, zod.z.core.$strip>>;
|
|
5751
5867
|
}, zod.z.core.$strip>>>;
|
|
5752
|
-
isSoftLimit: zod.
|
|
5868
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5753
5869
|
issue: zod.ZodOptional<zod.ZodObject<{
|
|
5754
5870
|
amount: zod.z.ZodCoercedNumber<unknown>;
|
|
5755
5871
|
priority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
@@ -5761,7 +5877,7 @@ export declare const createCustomerEntitlementV2Body: zod.ZodUnion<readonly [zod
|
|
|
5761
5877
|
NOW: "NOW";
|
|
5762
5878
|
}>, zod.z.ZodCoercedDate<unknown>]>>;
|
|
5763
5879
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
5764
|
-
preserveOverageAtReset: zod.
|
|
5880
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5765
5881
|
type: zod.ZodEnum<{
|
|
5766
5882
|
metered: "metered";
|
|
5767
5883
|
}>;
|
|
@@ -5812,18 +5928,19 @@ export declare const createCustomerEntitlementV2Body: zod.ZodUnion<readonly [zod
|
|
|
5812
5928
|
* List all entitlements for a customer. For checking entitlement access, use the /value endpoint instead.
|
|
5813
5929
|
* @summary List customer entitlements
|
|
5814
5930
|
*/
|
|
5815
|
-
export declare const
|
|
5816
|
-
export declare const
|
|
5817
|
-
export declare const
|
|
5931
|
+
export declare const listCustomerEntitlementsV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
5932
|
+
export declare const listCustomerEntitlementsV2PathCustomerIdOrKeyTwoMax = 256;
|
|
5933
|
+
export declare const ListCustomerEntitlementsV2Params: zod.ZodObject<{
|
|
5818
5934
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5819
5935
|
}, zod.z.core.$strip>;
|
|
5820
|
-
export declare const listCustomerEntitlementsV2QueryIncludeDeletedDefault
|
|
5821
|
-
export declare const listCustomerEntitlementsV2QueryPageDefault
|
|
5822
|
-
export declare const listCustomerEntitlementsV2QueryPageSizeDefault
|
|
5823
|
-
export declare const listCustomerEntitlementsV2QueryPageSizeMax
|
|
5824
|
-
export declare const
|
|
5825
|
-
|
|
5826
|
-
|
|
5936
|
+
export declare const listCustomerEntitlementsV2QueryIncludeDeletedDefault = false;
|
|
5937
|
+
export declare const listCustomerEntitlementsV2QueryPageDefault = 1;
|
|
5938
|
+
export declare const listCustomerEntitlementsV2QueryPageSizeDefault = 100;
|
|
5939
|
+
export declare const listCustomerEntitlementsV2QueryPageSizeMax = 1000;
|
|
5940
|
+
export declare const listCustomerEntitlementsV2QueryOrderDefault = "ASC";
|
|
5941
|
+
export declare const ListCustomerEntitlementsV2QueryParams: zod.ZodObject<{
|
|
5942
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5943
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
5827
5944
|
ASC: "ASC";
|
|
5828
5945
|
DESC: "DESC";
|
|
5829
5946
|
}>>;
|
|
@@ -5839,11 +5956,11 @@ export declare const listCustomerEntitlementsV2QueryParams: zod.ZodObject<{
|
|
|
5839
5956
|
If featureKey is used, the entitlement is resolved for the current timestamp.
|
|
5840
5957
|
* @summary Get customer entitlement
|
|
5841
5958
|
*/
|
|
5842
|
-
export declare const
|
|
5843
|
-
export declare const
|
|
5844
|
-
export declare const getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax
|
|
5959
|
+
export declare const getCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
5960
|
+
export declare const getCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = 256;
|
|
5961
|
+
export declare const getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = 64;
|
|
5845
5962
|
export declare const getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
5846
|
-
export declare const
|
|
5963
|
+
export declare const GetCustomerEntitlementV2Params: zod.ZodObject<{
|
|
5847
5964
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5848
5965
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
5849
5966
|
}, zod.z.core.$strip>;
|
|
@@ -5852,11 +5969,11 @@ export declare const getCustomerEntitlementV2Params: zod.ZodObject<{
|
|
|
5852
5969
|
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.
|
|
5853
5970
|
* @summary Delete customer entitlement
|
|
5854
5971
|
*/
|
|
5855
|
-
export declare const
|
|
5856
|
-
export declare const
|
|
5857
|
-
export declare const deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax
|
|
5972
|
+
export declare const deleteCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
5973
|
+
export declare const deleteCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = 256;
|
|
5974
|
+
export declare const deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = 64;
|
|
5858
5975
|
export declare const deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
5859
|
-
export declare const
|
|
5976
|
+
export declare const DeleteCustomerEntitlementV2Params: zod.ZodObject<{
|
|
5860
5977
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5861
5978
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
5862
5979
|
}, zod.z.core.$strip>;
|
|
@@ -5864,27 +5981,28 @@ export declare const deleteCustomerEntitlementV2Params: zod.ZodObject<{
|
|
|
5864
5981
|
* List all grants issued for an entitlement. The entitlement can be defined either by its id or featureKey.
|
|
5865
5982
|
* @summary List customer entitlement grants
|
|
5866
5983
|
*/
|
|
5867
|
-
export declare const
|
|
5868
|
-
export declare const
|
|
5869
|
-
export declare const listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyMax
|
|
5984
|
+
export declare const listCustomerEntitlementGrantsV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
5985
|
+
export declare const listCustomerEntitlementGrantsV2PathCustomerIdOrKeyTwoMax = 256;
|
|
5986
|
+
export declare const listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyMax = 64;
|
|
5870
5987
|
export declare const listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
5871
|
-
export declare const
|
|
5988
|
+
export declare const ListCustomerEntitlementGrantsV2Params: zod.ZodObject<{
|
|
5872
5989
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5873
5990
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
5874
5991
|
}, zod.z.core.$strip>;
|
|
5875
|
-
export declare const listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault
|
|
5876
|
-
export declare const listCustomerEntitlementGrantsV2QueryPageDefault
|
|
5877
|
-
export declare const listCustomerEntitlementGrantsV2QueryPageSizeDefault
|
|
5878
|
-
export declare const listCustomerEntitlementGrantsV2QueryPageSizeMax
|
|
5879
|
-
export declare const listCustomerEntitlementGrantsV2QueryOffsetDefault
|
|
5880
|
-
export declare const listCustomerEntitlementGrantsV2QueryOffsetMin
|
|
5881
|
-
export declare const listCustomerEntitlementGrantsV2QueryLimitDefault
|
|
5882
|
-
export declare const listCustomerEntitlementGrantsV2QueryLimitMax
|
|
5883
|
-
export declare const
|
|
5884
|
-
|
|
5992
|
+
export declare const listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault = false;
|
|
5993
|
+
export declare const listCustomerEntitlementGrantsV2QueryPageDefault = 1;
|
|
5994
|
+
export declare const listCustomerEntitlementGrantsV2QueryPageSizeDefault = 100;
|
|
5995
|
+
export declare const listCustomerEntitlementGrantsV2QueryPageSizeMax = 1000;
|
|
5996
|
+
export declare const listCustomerEntitlementGrantsV2QueryOffsetDefault = 0;
|
|
5997
|
+
export declare const listCustomerEntitlementGrantsV2QueryOffsetMin = 0;
|
|
5998
|
+
export declare const listCustomerEntitlementGrantsV2QueryLimitDefault = 100;
|
|
5999
|
+
export declare const listCustomerEntitlementGrantsV2QueryLimitMax = 1000;
|
|
6000
|
+
export declare const listCustomerEntitlementGrantsV2QueryOrderDefault = "ASC";
|
|
6001
|
+
export declare const ListCustomerEntitlementGrantsV2QueryParams: zod.ZodObject<{
|
|
6002
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
5885
6003
|
limit: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
5886
|
-
offset: zod.
|
|
5887
|
-
order: zod.
|
|
6004
|
+
offset: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
6005
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
5888
6006
|
ASC: "ASC";
|
|
5889
6007
|
DESC: "DESC";
|
|
5890
6008
|
}>>;
|
|
@@ -5910,20 +6028,20 @@ Rollover settings define what happens to the remaining balance of a grant at a r
|
|
|
5910
6028
|
Grants cannot be changed once created, only deleted. This is to ensure that balance is deterministic regardless of when it is queried.
|
|
5911
6029
|
* @summary Create customer entitlement grant
|
|
5912
6030
|
*/
|
|
5913
|
-
export declare const
|
|
5914
|
-
export declare const
|
|
5915
|
-
export declare const createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax
|
|
6031
|
+
export declare const createCustomerEntitlementGrantV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
6032
|
+
export declare const createCustomerEntitlementGrantV2PathCustomerIdOrKeyTwoMax = 256;
|
|
6033
|
+
export declare const createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax = 64;
|
|
5916
6034
|
export declare const createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
5917
|
-
export declare const
|
|
6035
|
+
export declare const CreateCustomerEntitlementGrantV2Params: zod.ZodObject<{
|
|
5918
6036
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5919
6037
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
5920
6038
|
}, zod.z.core.$strip>;
|
|
5921
|
-
export declare const createCustomerEntitlementGrantV2BodyAmountMin
|
|
5922
|
-
export declare const createCustomerEntitlementGrantV2BodyPriorityMax
|
|
5923
|
-
export declare const createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault
|
|
5924
|
-
export declare const
|
|
5925
|
-
export declare const
|
|
5926
|
-
export declare const
|
|
6039
|
+
export declare const createCustomerEntitlementGrantV2BodyAmountMin = 0;
|
|
6040
|
+
export declare const createCustomerEntitlementGrantV2BodyPriorityMax = 255;
|
|
6041
|
+
export declare const createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault = 0;
|
|
6042
|
+
export declare const createCustomerEntitlementGrantV2BodyRecurrenceOneIntervalOneOneRegExp: RegExp;
|
|
6043
|
+
export declare const createCustomerEntitlementGrantV2BodyExpirationOneCountMax = 1000;
|
|
6044
|
+
export declare const CreateCustomerEntitlementGrantV2Body: zod.ZodObject<{
|
|
5927
6045
|
amount: zod.z.ZodCoercedNumber<unknown>;
|
|
5928
6046
|
annotations: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
5929
6047
|
effectiveAt: zod.z.ZodCoercedDate<unknown>;
|
|
@@ -5939,7 +6057,7 @@ export declare const createCustomerEntitlementGrantV2Body: zod.ZodObject<{
|
|
|
5939
6057
|
}, zod.z.core.$strip>>;
|
|
5940
6058
|
maxRolloverAmount: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
5941
6059
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
5942
|
-
minRolloverAmount: zod.
|
|
6060
|
+
minRolloverAmount: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
5943
6061
|
priority: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
5944
6062
|
recurrence: zod.ZodOptional<zod.ZodObject<{
|
|
5945
6063
|
anchor: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
@@ -5959,16 +6077,16 @@ BurndownHistory returns a continous history of segments, where the segments are
|
|
|
5959
6077
|
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.
|
|
5960
6078
|
* @summary Get customer entitlement history
|
|
5961
6079
|
*/
|
|
5962
|
-
export declare const
|
|
5963
|
-
export declare const
|
|
5964
|
-
export declare const getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax
|
|
6080
|
+
export declare const getCustomerEntitlementHistoryV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
6081
|
+
export declare const getCustomerEntitlementHistoryV2PathCustomerIdOrKeyTwoMax = 256;
|
|
6082
|
+
export declare const getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax = 64;
|
|
5965
6083
|
export declare const getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
5966
|
-
export declare const
|
|
6084
|
+
export declare const GetCustomerEntitlementHistoryV2Params: zod.ZodObject<{
|
|
5967
6085
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5968
6086
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
5969
6087
|
}, zod.z.core.$strip>;
|
|
5970
|
-
export declare const getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault
|
|
5971
|
-
export declare const
|
|
6088
|
+
export declare const getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault = "UTC";
|
|
6089
|
+
export declare const GetCustomerEntitlementHistoryV2QueryParams: zod.ZodObject<{
|
|
5972
6090
|
from: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
5973
6091
|
to: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
5974
6092
|
windowSize: zod.ZodEnum<{
|
|
@@ -5985,40 +6103,40 @@ export declare const getCustomerEntitlementHistoryV2QueryParams: zod.ZodObject<{
|
|
|
5985
6103
|
This endpoint is useful for upgrades, downgrades, or other changes to entitlements that require a new entitlement to be created with zero downtime.
|
|
5986
6104
|
* @summary Override customer entitlement
|
|
5987
6105
|
*/
|
|
5988
|
-
export declare const
|
|
5989
|
-
export declare const
|
|
5990
|
-
export declare const
|
|
5991
|
-
export declare const
|
|
5992
|
-
export declare const
|
|
6106
|
+
export declare const overrideCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
6107
|
+
export declare const overrideCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = 256;
|
|
6108
|
+
export declare const overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyOneRegExp: RegExp;
|
|
6109
|
+
export declare const overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyTwoMax = 256;
|
|
6110
|
+
export declare const OverrideCustomerEntitlementV2Params: zod.ZodObject<{
|
|
5993
6111
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5994
6112
|
entitlementIdOrFeatureKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
5995
6113
|
}, zod.z.core.$strip>;
|
|
5996
|
-
export declare const
|
|
5997
|
-
export declare const
|
|
5998
|
-
export declare const
|
|
5999
|
-
export declare const
|
|
6000
|
-
export declare const
|
|
6001
|
-
export declare const
|
|
6002
|
-
export declare const
|
|
6003
|
-
export declare const
|
|
6004
|
-
export declare const
|
|
6005
|
-
export declare const
|
|
6006
|
-
export declare const
|
|
6007
|
-
export declare const
|
|
6008
|
-
export declare const
|
|
6009
|
-
export declare const
|
|
6010
|
-
export declare const
|
|
6011
|
-
export declare const
|
|
6012
|
-
export declare const
|
|
6013
|
-
export declare const
|
|
6014
|
-
export declare const
|
|
6015
|
-
export declare const
|
|
6016
|
-
export declare const
|
|
6017
|
-
export declare const
|
|
6018
|
-
export declare const
|
|
6019
|
-
export declare const
|
|
6020
|
-
export declare const
|
|
6021
|
-
export declare const
|
|
6114
|
+
export declare const overrideCustomerEntitlementV2BodyOneFeatureKeyMax = 64;
|
|
6115
|
+
export declare const overrideCustomerEntitlementV2BodyOneFeatureKeyRegExp: RegExp;
|
|
6116
|
+
export declare const overrideCustomerEntitlementV2BodyOneFeatureIdRegExp: RegExp;
|
|
6117
|
+
export declare const overrideCustomerEntitlementV2BodyOneIsSoftLimitDefault = false;
|
|
6118
|
+
export declare const overrideCustomerEntitlementV2BodyOneUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
6119
|
+
export declare const overrideCustomerEntitlementV2BodyOnePreserveOverageAtResetDefault = false;
|
|
6120
|
+
export declare const overrideCustomerEntitlementV2BodyOneIssueAfterResetMin = 0;
|
|
6121
|
+
export declare const overrideCustomerEntitlementV2BodyOneIssueAfterResetPriorityDefault = 1;
|
|
6122
|
+
export declare const overrideCustomerEntitlementV2BodyOneIssueAfterResetPriorityMax = 255;
|
|
6123
|
+
export declare const overrideCustomerEntitlementV2BodyOneIssueOneAmountMin = 0;
|
|
6124
|
+
export declare const overrideCustomerEntitlementV2BodyOneIssueOnePriorityDefault = 1;
|
|
6125
|
+
export declare const overrideCustomerEntitlementV2BodyOneIssueOnePriorityMax = 255;
|
|
6126
|
+
export declare const overrideCustomerEntitlementV2BodyOneGrantsItemAmountMin = 0;
|
|
6127
|
+
export declare const overrideCustomerEntitlementV2BodyOneGrantsItemPriorityMax = 255;
|
|
6128
|
+
export declare const overrideCustomerEntitlementV2BodyOneGrantsItemMinRolloverAmountDefault = 0;
|
|
6129
|
+
export declare const overrideCustomerEntitlementV2BodyOneGrantsItemRecurrenceOneIntervalOneOneRegExp: RegExp;
|
|
6130
|
+
export declare const overrideCustomerEntitlementV2BodyOneGrantsItemExpirationOneCountMax = 1000;
|
|
6131
|
+
export declare const overrideCustomerEntitlementV2BodyTwoFeatureKeyMax = 64;
|
|
6132
|
+
export declare const overrideCustomerEntitlementV2BodyTwoFeatureKeyRegExp: RegExp;
|
|
6133
|
+
export declare const overrideCustomerEntitlementV2BodyTwoFeatureIdRegExp: RegExp;
|
|
6134
|
+
export declare const overrideCustomerEntitlementV2BodyTwoUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
6135
|
+
export declare const overrideCustomerEntitlementV2BodyThreeFeatureKeyMax = 64;
|
|
6136
|
+
export declare const overrideCustomerEntitlementV2BodyThreeFeatureKeyRegExp: RegExp;
|
|
6137
|
+
export declare const overrideCustomerEntitlementV2BodyThreeFeatureIdRegExp: RegExp;
|
|
6138
|
+
export declare const overrideCustomerEntitlementV2BodyThreeUsagePeriodOneIntervalOneOneRegExp: RegExp;
|
|
6139
|
+
export declare const OverrideCustomerEntitlementV2Body: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
6022
6140
|
featureId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
6023
6141
|
featureKey: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
6024
6142
|
grants: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -6037,7 +6155,7 @@ export declare const overrideCustomerEntitlementV2Body: zod.ZodUnion<readonly [z
|
|
|
6037
6155
|
}, zod.z.core.$strip>>;
|
|
6038
6156
|
maxRolloverAmount: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
6039
6157
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
6040
|
-
minRolloverAmount: zod.
|
|
6158
|
+
minRolloverAmount: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
6041
6159
|
priority: zod.ZodOptional<zod.z.ZodCoercedNumber<unknown>>;
|
|
6042
6160
|
recurrence: zod.ZodOptional<zod.ZodObject<{
|
|
6043
6161
|
anchor: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
@@ -6049,7 +6167,7 @@ export declare const overrideCustomerEntitlementV2Body: zod.ZodUnion<readonly [z
|
|
|
6049
6167
|
}>]>;
|
|
6050
6168
|
}, zod.z.core.$strip>>;
|
|
6051
6169
|
}, zod.z.core.$strip>>>;
|
|
6052
|
-
isSoftLimit: zod.
|
|
6170
|
+
isSoftLimit: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
6053
6171
|
issue: zod.ZodOptional<zod.ZodObject<{
|
|
6054
6172
|
amount: zod.z.ZodCoercedNumber<unknown>;
|
|
6055
6173
|
priority: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
@@ -6061,7 +6179,7 @@ export declare const overrideCustomerEntitlementV2Body: zod.ZodUnion<readonly [z
|
|
|
6061
6179
|
NOW: "NOW";
|
|
6062
6180
|
}>, zod.z.ZodCoercedDate<unknown>]>>;
|
|
6063
6181
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.z.ZodCoercedString<unknown>>>;
|
|
6064
|
-
preserveOverageAtReset: zod.
|
|
6182
|
+
preserveOverageAtReset: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
6065
6183
|
type: zod.ZodEnum<{
|
|
6066
6184
|
metered: "metered";
|
|
6067
6185
|
}>;
|
|
@@ -6114,15 +6232,15 @@ export declare const overrideCustomerEntitlementV2Body: zod.ZodUnion<readonly [z
|
|
|
6114
6232
|
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.
|
|
6115
6233
|
* @summary Reset customer entitlement
|
|
6116
6234
|
*/
|
|
6117
|
-
export declare const
|
|
6118
|
-
export declare const
|
|
6119
|
-
export declare const resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax
|
|
6235
|
+
export declare const resetCustomerEntitlementUsageV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
6236
|
+
export declare const resetCustomerEntitlementUsageV2PathCustomerIdOrKeyTwoMax = 256;
|
|
6237
|
+
export declare const resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax = 64;
|
|
6120
6238
|
export declare const resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
6121
|
-
export declare const
|
|
6239
|
+
export declare const ResetCustomerEntitlementUsageV2Params: zod.ZodObject<{
|
|
6122
6240
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
6123
6241
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
6124
6242
|
}, zod.z.core.$strip>;
|
|
6125
|
-
export declare const
|
|
6243
|
+
export declare const ResetCustomerEntitlementUsageV2Body: zod.ZodObject<{
|
|
6126
6244
|
effectiveAt: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
6127
6245
|
preserveOverage: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
6128
6246
|
retainAnchor: zod.ZodOptional<zod.z.ZodCoercedBoolean<unknown>>;
|
|
@@ -6131,15 +6249,15 @@ export declare const resetCustomerEntitlementUsageV2Body: zod.ZodObject<{
|
|
|
6131
6249
|
* 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.
|
|
6132
6250
|
* @summary Get customer entitlement value
|
|
6133
6251
|
*/
|
|
6134
|
-
export declare const
|
|
6135
|
-
export declare const
|
|
6136
|
-
export declare const getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax
|
|
6252
|
+
export declare const getCustomerEntitlementValueV2PathCustomerIdOrKeyOneRegExp: RegExp;
|
|
6253
|
+
export declare const getCustomerEntitlementValueV2PathCustomerIdOrKeyTwoMax = 256;
|
|
6254
|
+
export declare const getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax = 64;
|
|
6137
6255
|
export declare const getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
6138
|
-
export declare const
|
|
6256
|
+
export declare const GetCustomerEntitlementValueV2Params: zod.ZodObject<{
|
|
6139
6257
|
customerIdOrKey: zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>;
|
|
6140
6258
|
entitlementIdOrFeatureKey: zod.z.ZodCoercedString<unknown>;
|
|
6141
6259
|
}, zod.z.core.$strip>;
|
|
6142
|
-
export declare const
|
|
6260
|
+
export declare const GetCustomerEntitlementValueV2QueryParams: zod.ZodObject<{
|
|
6143
6261
|
time: zod.ZodOptional<zod.z.ZodCoercedDate<unknown>>;
|
|
6144
6262
|
}, zod.z.core.$strip>;
|
|
6145
6263
|
/**
|
|
@@ -6147,15 +6265,16 @@ export declare const getCustomerEntitlementValueV2QueryParams: zod.ZodObject<{
|
|
|
6147
6265
|
To fetch the entitlements of a specific subject please use the /api/v2/customers/{customerIdOrKey}/entitlements endpoint.
|
|
6148
6266
|
* @summary List all entitlements
|
|
6149
6267
|
*/
|
|
6150
|
-
export declare const listEntitlementsV2QueryExcludeInactiveDefault
|
|
6151
|
-
export declare const listEntitlementsV2QueryPageDefault
|
|
6152
|
-
export declare const listEntitlementsV2QueryPageSizeDefault
|
|
6153
|
-
export declare const listEntitlementsV2QueryPageSizeMax
|
|
6154
|
-
export declare const listEntitlementsV2QueryOffsetDefault
|
|
6155
|
-
export declare const listEntitlementsV2QueryOffsetMin
|
|
6156
|
-
export declare const listEntitlementsV2QueryLimitDefault
|
|
6157
|
-
export declare const listEntitlementsV2QueryLimitMax
|
|
6158
|
-
export declare const
|
|
6268
|
+
export declare const listEntitlementsV2QueryExcludeInactiveDefault = false;
|
|
6269
|
+
export declare const listEntitlementsV2QueryPageDefault = 1;
|
|
6270
|
+
export declare const listEntitlementsV2QueryPageSizeDefault = 100;
|
|
6271
|
+
export declare const listEntitlementsV2QueryPageSizeMax = 1000;
|
|
6272
|
+
export declare const listEntitlementsV2QueryOffsetDefault = 0;
|
|
6273
|
+
export declare const listEntitlementsV2QueryOffsetMin = 0;
|
|
6274
|
+
export declare const listEntitlementsV2QueryLimitDefault = 100;
|
|
6275
|
+
export declare const listEntitlementsV2QueryLimitMax = 1000;
|
|
6276
|
+
export declare const listEntitlementsV2QueryOrderDefault = "ASC";
|
|
6277
|
+
export declare const ListEntitlementsV2QueryParams: zod.ZodObject<{
|
|
6159
6278
|
customerIds: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
6160
6279
|
customerKeys: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
6161
6280
|
entitlementType: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
@@ -6163,11 +6282,11 @@ export declare const listEntitlementsV2QueryParams: zod.ZodObject<{
|
|
|
6163
6282
|
metered: "metered";
|
|
6164
6283
|
static: "static";
|
|
6165
6284
|
}>>>;
|
|
6166
|
-
excludeInactive: zod.
|
|
6285
|
+
excludeInactive: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
6167
6286
|
feature: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
6168
6287
|
limit: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
6169
|
-
offset: zod.
|
|
6170
|
-
order: zod.
|
|
6288
|
+
offset: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
6289
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
6171
6290
|
ASC: "ASC";
|
|
6172
6291
|
DESC: "DESC";
|
|
6173
6292
|
}>>;
|
|
@@ -6183,17 +6302,17 @@ export declare const listEntitlementsV2QueryParams: zod.ZodObject<{
|
|
|
6183
6302
|
* @summary Get entitlement by ID
|
|
6184
6303
|
*/
|
|
6185
6304
|
export declare const getEntitlementByIdV2PathEntitlementIdRegExp: RegExp;
|
|
6186
|
-
export declare const
|
|
6305
|
+
export declare const GetEntitlementByIdV2Params: zod.ZodObject<{
|
|
6187
6306
|
entitlementId: zod.z.ZodCoercedString<unknown>;
|
|
6188
6307
|
}, zod.z.core.$strip>;
|
|
6189
6308
|
/**
|
|
6190
6309
|
* List ingested events with advanced filtering and cursor pagination.
|
|
6191
6310
|
* @summary List ingested events
|
|
6192
6311
|
*/
|
|
6193
|
-
export declare const listEventsV2QueryLimitDefault
|
|
6194
|
-
export declare const listEventsV2QueryLimitMax
|
|
6195
|
-
export declare const listEventsV2QueryClientIdMax
|
|
6196
|
-
export declare const
|
|
6312
|
+
export declare const listEventsV2QueryLimitDefault = 100;
|
|
6313
|
+
export declare const listEventsV2QueryLimitMax = 100;
|
|
6314
|
+
export declare const listEventsV2QueryClientIdMax = 36;
|
|
6315
|
+
export declare const ListEventsV2QueryParams: zod.ZodObject<{
|
|
6197
6316
|
clientId: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
6198
6317
|
cursor: zod.ZodOptional<zod.z.ZodCoercedString<unknown>>;
|
|
6199
6318
|
limit: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
@@ -6204,23 +6323,24 @@ To fetch the grants of a specific entitlement please use the /api/v2/customers/{
|
|
|
6204
6323
|
If page is provided that takes precedence and the paginated response is returned.
|
|
6205
6324
|
* @summary List grants
|
|
6206
6325
|
*/
|
|
6207
|
-
export declare const
|
|
6208
|
-
export declare const
|
|
6209
|
-
export declare const listGrantsV2QueryIncludeDeletedDefault
|
|
6210
|
-
export declare const listGrantsV2QueryPageDefault
|
|
6211
|
-
export declare const listGrantsV2QueryPageSizeDefault
|
|
6212
|
-
export declare const listGrantsV2QueryPageSizeMax
|
|
6213
|
-
export declare const listGrantsV2QueryOffsetDefault
|
|
6214
|
-
export declare const listGrantsV2QueryOffsetMin
|
|
6215
|
-
export declare const listGrantsV2QueryLimitDefault
|
|
6216
|
-
export declare const listGrantsV2QueryLimitMax
|
|
6217
|
-
export declare const
|
|
6326
|
+
export declare const listGrantsV2QueryCustomerItemOneRegExp: RegExp;
|
|
6327
|
+
export declare const listGrantsV2QueryCustomerItemTwoMax = 256;
|
|
6328
|
+
export declare const listGrantsV2QueryIncludeDeletedDefault = false;
|
|
6329
|
+
export declare const listGrantsV2QueryPageDefault = 1;
|
|
6330
|
+
export declare const listGrantsV2QueryPageSizeDefault = 100;
|
|
6331
|
+
export declare const listGrantsV2QueryPageSizeMax = 1000;
|
|
6332
|
+
export declare const listGrantsV2QueryOffsetDefault = 0;
|
|
6333
|
+
export declare const listGrantsV2QueryOffsetMin = 0;
|
|
6334
|
+
export declare const listGrantsV2QueryLimitDefault = 100;
|
|
6335
|
+
export declare const listGrantsV2QueryLimitMax = 1000;
|
|
6336
|
+
export declare const listGrantsV2QueryOrderDefault = "ASC";
|
|
6337
|
+
export declare const ListGrantsV2QueryParams: zod.ZodObject<{
|
|
6218
6338
|
customer: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<readonly [zod.z.ZodCoercedString<unknown>, zod.z.ZodCoercedString<unknown>]>>>;
|
|
6219
6339
|
feature: zod.ZodOptional<zod.ZodArray<zod.z.ZodCoercedString<unknown>>>;
|
|
6220
|
-
includeDeleted: zod.
|
|
6340
|
+
includeDeleted: zod.ZodDefault<zod.z.ZodCoercedBoolean<unknown>>;
|
|
6221
6341
|
limit: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
6222
|
-
offset: zod.
|
|
6223
|
-
order: zod.
|
|
6342
|
+
offset: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
|
|
6343
|
+
order: zod.ZodDefault<zod.ZodEnum<{
|
|
6224
6344
|
ASC: "ASC";
|
|
6225
6345
|
DESC: "DESC";
|
|
6226
6346
|
}>>;
|