@openmeter/sdk 1.0.0-beta.223 → 1.0.0-beta.225
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/README.md +200 -0
- package/biome.json +67 -0
- package/dist/cjs/src/client/addons.d.cts +8 -8
- package/dist/cjs/src/client/addons.js.map +1 -1
- package/dist/cjs/src/client/apps.d.cts +10 -10
- package/dist/cjs/src/client/apps.js.map +1 -1
- package/dist/cjs/src/client/billing.d.cts +19 -19
- package/dist/cjs/src/client/billing.js.map +1 -1
- package/dist/cjs/src/client/common.d.cts +3 -3
- package/dist/cjs/src/client/common.js.map +1 -1
- package/dist/cjs/src/client/customers.d.cts +25 -24
- package/dist/cjs/src/client/customers.js.map +1 -1
- package/dist/cjs/src/client/debug.d.cts +2 -2
- package/dist/cjs/src/client/debug.js.map +1 -1
- package/dist/cjs/src/client/entitlements.d.cts +15 -13
- package/dist/cjs/src/client/entitlements.js.map +1 -1
- package/dist/cjs/src/client/events.d.cts +4 -4
- package/dist/cjs/src/client/events.js.map +1 -1
- package/dist/cjs/src/client/features.d.cts +12 -3
- package/dist/cjs/src/client/features.js.map +1 -1
- package/dist/cjs/src/client/index.cjs +1 -1
- package/dist/cjs/src/client/index.d.cts +2 -2
- package/dist/cjs/src/client/index.js.map +1 -1
- package/dist/cjs/src/client/info.d.cts +3 -3
- package/dist/cjs/src/client/info.js.map +1 -1
- package/dist/cjs/src/client/meters.d.cts +5 -5
- package/dist/cjs/src/client/meters.js.map +1 -1
- package/dist/cjs/src/client/notifications.d.cts +17 -11
- package/dist/cjs/src/client/notifications.js.map +1 -1
- package/dist/cjs/src/client/plans.d.cts +12 -12
- package/dist/cjs/src/client/plans.js.map +1 -1
- package/dist/cjs/src/client/portal.d.cts +4 -4
- package/dist/cjs/src/client/portal.js.map +1 -1
- package/dist/cjs/src/client/schemas.d.cts +1046 -139
- package/dist/cjs/src/client/subjects.d.cts +4 -4
- package/dist/cjs/src/client/subjects.js.map +1 -1
- package/dist/cjs/src/client/subscription-addons.d.cts +5 -5
- package/dist/cjs/src/client/subscription-addons.js.map +1 -1
- package/dist/cjs/src/client/subscriptions.d.cts +13 -8
- package/dist/cjs/src/client/subscriptions.js.map +1 -1
- package/dist/cjs/src/client/utils.cjs +1 -3
- package/dist/cjs/src/client/utils.d.cts +1 -1
- package/dist/cjs/src/client/utils.js.map +1 -1
- package/dist/cjs/src/portal/index.d.cts +1 -1
- package/dist/cjs/src/portal/index.js.map +1 -1
- package/dist/cjs/src/zod/index.cjs +1230 -634
- package/dist/cjs/src/zod/index.d.cts +1304 -615
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/tsconfig.7db92107.tsbuildinfo +1 -0
- package/dist/cjs/tsconfig.94dd8c51.tsbuildinfo +1 -0
- package/dist/src/client/addons.d.ts +8 -8
- package/dist/src/client/addons.js.map +1 -1
- package/dist/src/client/apps.d.ts +10 -10
- package/dist/src/client/apps.js.map +1 -1
- package/dist/src/client/billing.d.ts +19 -19
- package/dist/src/client/billing.js.map +1 -1
- package/dist/src/client/common.d.ts +3 -3
- package/dist/src/client/common.js.map +1 -1
- package/dist/src/client/customers.d.ts +25 -24
- package/dist/src/client/customers.js.map +1 -1
- package/dist/src/client/debug.d.ts +2 -2
- package/dist/src/client/debug.js.map +1 -1
- package/dist/src/client/entitlements.d.ts +15 -13
- package/dist/src/client/entitlements.js.map +1 -1
- package/dist/src/client/events.d.ts +4 -4
- package/dist/src/client/events.js.map +1 -1
- package/dist/src/client/features.d.ts +12 -3
- package/dist/src/client/features.js.map +1 -1
- package/dist/src/client/index.d.ts +2 -2
- package/dist/src/client/index.js +1 -1
- package/dist/src/client/index.js.map +1 -1
- package/dist/src/client/info.d.ts +3 -3
- package/dist/src/client/info.js.map +1 -1
- package/dist/src/client/meters.d.ts +5 -5
- package/dist/src/client/meters.js.map +1 -1
- package/dist/src/client/notifications.d.ts +17 -11
- package/dist/src/client/notifications.js.map +1 -1
- package/dist/src/client/plans.d.ts +12 -12
- package/dist/src/client/plans.js.map +1 -1
- package/dist/src/client/portal.d.ts +4 -4
- package/dist/src/client/portal.js.map +1 -1
- package/dist/src/client/schemas.d.ts +1046 -139
- package/dist/src/client/subjects.d.ts +4 -4
- package/dist/src/client/subjects.js.map +1 -1
- package/dist/src/client/subscription-addons.d.ts +5 -5
- package/dist/src/client/subscription-addons.js.map +1 -1
- package/dist/src/client/subscriptions.d.ts +13 -8
- package/dist/src/client/subscriptions.js.map +1 -1
- package/dist/src/client/utils.d.ts +1 -1
- package/dist/src/client/utils.js +1 -3
- package/dist/src/client/utils.js.map +1 -1
- package/dist/src/portal/index.d.ts +1 -1
- package/dist/src/portal/index.js.map +1 -1
- package/dist/src/zod/index.d.ts +1304 -615
- package/dist/src/zod/index.js +1147 -554
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/orval.config.ts +2 -6
- package/package.json +21 -35
- package/dist/cjs/tsconfig.07c9b9a6.tsbuildinfo +0 -1
- package/dist/cjs/tsconfig.5c5dbdc6.tsbuildinfo +0 -1
package/dist/src/zod/index.d.ts
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.13.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* OpenMeter Cloud API
|
|
5
|
+
* OpenMeter is a cloud native usage metering service.
|
|
6
|
+
The OpenMeter API allows you to ingest events, query meter usage, and manage resources.
|
|
7
|
+
* OpenAPI spec version: 1.0.0
|
|
8
|
+
*/
|
|
1
9
|
import { z as zod } from 'zod';
|
|
2
10
|
/**
|
|
3
11
|
* List all add-ons.
|
|
4
12
|
* @summary List add-ons
|
|
5
13
|
*/
|
|
6
|
-
export declare const listAddonsQueryIncludeDeletedDefault
|
|
14
|
+
export declare const listAddonsQueryIncludeDeletedDefault: false;
|
|
7
15
|
export declare const listAddonsQueryIdItemRegExp: RegExp;
|
|
8
|
-
export declare const listAddonsQueryKeyItemMax
|
|
16
|
+
export declare const listAddonsQueryKeyItemMax: 64;
|
|
9
17
|
export declare const listAddonsQueryKeyItemRegExp: RegExp;
|
|
10
|
-
export declare const listAddonsQueryCurrencyItemMin
|
|
11
|
-
export declare const listAddonsQueryCurrencyItemMax
|
|
18
|
+
export declare const listAddonsQueryCurrencyItemMin: 3;
|
|
19
|
+
export declare const listAddonsQueryCurrencyItemMax: 3;
|
|
12
20
|
export declare const listAddonsQueryCurrencyItemRegExp: RegExp;
|
|
13
|
-
export declare const listAddonsQueryPageDefault
|
|
14
|
-
export declare const listAddonsQueryPageSizeDefault
|
|
15
|
-
export declare const listAddonsQueryPageSizeMax
|
|
21
|
+
export declare const listAddonsQueryPageDefault: 1;
|
|
22
|
+
export declare const listAddonsQueryPageSizeDefault: 100;
|
|
23
|
+
export declare const listAddonsQueryPageSizeMax: 1000;
|
|
16
24
|
export declare const listAddonsQueryParams: zod.ZodObject<{
|
|
17
25
|
currency: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
18
26
|
id: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -51,43 +59,43 @@ export declare const listAddonsQueryParams: zod.ZodObject<{
|
|
|
51
59
|
* Create a new add-on.
|
|
52
60
|
* @summary Create an add-on
|
|
53
61
|
*/
|
|
54
|
-
export declare const createAddonBodyNameMax
|
|
55
|
-
export declare const createAddonBodyDescriptionMax
|
|
56
|
-
export declare const createAddonBodyKeyMax
|
|
62
|
+
export declare const createAddonBodyNameMax: 256;
|
|
63
|
+
export declare const createAddonBodyDescriptionMax: 1024;
|
|
64
|
+
export declare const createAddonBodyKeyMax: 64;
|
|
57
65
|
export declare const createAddonBodyKeyRegExp: RegExp;
|
|
58
|
-
export declare const createAddonBodyCurrencyMinOne
|
|
59
|
-
export declare const createAddonBodyCurrencyMaxOne
|
|
66
|
+
export declare const createAddonBodyCurrencyMinOne: 3;
|
|
67
|
+
export declare const createAddonBodyCurrencyMaxOne: 3;
|
|
60
68
|
export declare const createAddonBodyCurrencyRegExpOne: RegExp;
|
|
61
|
-
export declare const createAddonBodyCurrencyDefault
|
|
62
|
-
export declare const createAddonBodyRateCardsItemKeyMax
|
|
69
|
+
export declare const createAddonBodyCurrencyDefault: "USD";
|
|
70
|
+
export declare const createAddonBodyRateCardsItemKeyMax: 64;
|
|
63
71
|
export declare const createAddonBodyRateCardsItemKeyRegExp: RegExp;
|
|
64
|
-
export declare const createAddonBodyRateCardsItemNameMax
|
|
65
|
-
export declare const createAddonBodyRateCardsItemDescriptionMax
|
|
66
|
-
export declare const createAddonBodyRateCardsItemFeatureKeyMax
|
|
72
|
+
export declare const createAddonBodyRateCardsItemNameMax: 256;
|
|
73
|
+
export declare const createAddonBodyRateCardsItemDescriptionMax: 1024;
|
|
74
|
+
export declare const createAddonBodyRateCardsItemFeatureKeyMax: 64;
|
|
67
75
|
export declare const createAddonBodyRateCardsItemFeatureKeyRegExp: RegExp;
|
|
68
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefault
|
|
69
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin
|
|
70
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault
|
|
71
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax
|
|
72
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault
|
|
76
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefault: false;
|
|
77
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin: 0;
|
|
78
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault: 1;
|
|
79
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax: 255;
|
|
80
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault: false;
|
|
73
81
|
export declare const createAddonBodyRateCardsItemTaxConfigStripeCodeRegExp: RegExp;
|
|
74
82
|
export declare const createAddonBodyRateCardsItemPriceAmountRegExpOne: RegExp;
|
|
75
|
-
export declare const createAddonBodyRateCardsItemPricePaymentTermDefault
|
|
83
|
+
export declare const createAddonBodyRateCardsItemPricePaymentTermDefault: "in_advance";
|
|
76
84
|
export declare const createAddonBodyRateCardsItemDiscountsUsageQuantityRegExpOne: RegExp;
|
|
77
|
-
export declare const createAddonBodyRateCardsItemKeyMaxOne
|
|
85
|
+
export declare const createAddonBodyRateCardsItemKeyMaxOne: 64;
|
|
78
86
|
export declare const createAddonBodyRateCardsItemKeyRegExpOne: RegExp;
|
|
79
|
-
export declare const createAddonBodyRateCardsItemNameMaxOne
|
|
80
|
-
export declare const createAddonBodyRateCardsItemDescriptionMaxOne
|
|
81
|
-
export declare const createAddonBodyRateCardsItemFeatureKeyMaxOne
|
|
87
|
+
export declare const createAddonBodyRateCardsItemNameMaxOne: 256;
|
|
88
|
+
export declare const createAddonBodyRateCardsItemDescriptionMaxOne: 1024;
|
|
89
|
+
export declare const createAddonBodyRateCardsItemFeatureKeyMaxOne: 64;
|
|
82
90
|
export declare const createAddonBodyRateCardsItemFeatureKeyRegExpOne: RegExp;
|
|
83
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne
|
|
84
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne
|
|
85
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne
|
|
86
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne
|
|
87
|
-
export declare const createAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne
|
|
91
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne: false;
|
|
92
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne: 0;
|
|
93
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne: 1;
|
|
94
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne: 255;
|
|
95
|
+
export declare const createAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne: false;
|
|
88
96
|
export declare const createAddonBodyRateCardsItemTaxConfigStripeCodeRegExpOne: RegExp;
|
|
89
97
|
export declare const createAddonBodyRateCardsItemPriceAmountRegExpThree: RegExp;
|
|
90
|
-
export declare const createAddonBodyRateCardsItemPricePaymentTermDefaultTwo
|
|
98
|
+
export declare const createAddonBodyRateCardsItemPricePaymentTermDefaultTwo: "in_advance";
|
|
91
99
|
export declare const createAddonBodyRateCardsItemPriceAmountRegExpFive: RegExp;
|
|
92
100
|
export declare const createAddonBodyRateCardsItemPriceMinimumAmountRegExpOne: RegExp;
|
|
93
101
|
export declare const createAddonBodyRateCardsItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -97,7 +105,7 @@ export declare const createAddonBodyRateCardsItemPriceTiersItemUnitPriceAmountRe
|
|
|
97
105
|
export declare const createAddonBodyRateCardsItemPriceMinimumAmountRegExpThree: RegExp;
|
|
98
106
|
export declare const createAddonBodyRateCardsItemPriceMaximumAmountRegExpThree: RegExp;
|
|
99
107
|
export declare const createAddonBodyRateCardsItemPriceMultiplierRegExpOne: RegExp;
|
|
100
|
-
export declare const createAddonBodyRateCardsItemPriceMultiplierDefault
|
|
108
|
+
export declare const createAddonBodyRateCardsItemPriceMultiplierDefault: "1";
|
|
101
109
|
export declare const createAddonBodyRateCardsItemPriceMinimumAmountRegExpFive: RegExp;
|
|
102
110
|
export declare const createAddonBodyRateCardsItemPriceMaximumAmountRegExpFive: RegExp;
|
|
103
111
|
export declare const createAddonBodyRateCardsItemPriceAmountRegExpSeven: RegExp;
|
|
@@ -1026,37 +1034,37 @@ export declare const updateAddonParams: zod.ZodObject<{
|
|
|
1026
1034
|
}, {
|
|
1027
1035
|
addonId: string;
|
|
1028
1036
|
}>;
|
|
1029
|
-
export declare const updateAddonBodyNameMax
|
|
1030
|
-
export declare const updateAddonBodyDescriptionMax
|
|
1031
|
-
export declare const updateAddonBodyRateCardsItemKeyMax
|
|
1037
|
+
export declare const updateAddonBodyNameMax: 256;
|
|
1038
|
+
export declare const updateAddonBodyDescriptionMax: 1024;
|
|
1039
|
+
export declare const updateAddonBodyRateCardsItemKeyMax: 64;
|
|
1032
1040
|
export declare const updateAddonBodyRateCardsItemKeyRegExp: RegExp;
|
|
1033
|
-
export declare const updateAddonBodyRateCardsItemNameMax
|
|
1034
|
-
export declare const updateAddonBodyRateCardsItemDescriptionMax
|
|
1035
|
-
export declare const updateAddonBodyRateCardsItemFeatureKeyMax
|
|
1041
|
+
export declare const updateAddonBodyRateCardsItemNameMax: 256;
|
|
1042
|
+
export declare const updateAddonBodyRateCardsItemDescriptionMax: 1024;
|
|
1043
|
+
export declare const updateAddonBodyRateCardsItemFeatureKeyMax: 64;
|
|
1036
1044
|
export declare const updateAddonBodyRateCardsItemFeatureKeyRegExp: RegExp;
|
|
1037
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefault
|
|
1038
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin
|
|
1039
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault
|
|
1040
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax
|
|
1041
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault
|
|
1045
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefault: false;
|
|
1046
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin: 0;
|
|
1047
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault: 1;
|
|
1048
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax: 255;
|
|
1049
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault: false;
|
|
1042
1050
|
export declare const updateAddonBodyRateCardsItemTaxConfigStripeCodeRegExp: RegExp;
|
|
1043
1051
|
export declare const updateAddonBodyRateCardsItemPriceAmountRegExpOne: RegExp;
|
|
1044
|
-
export declare const updateAddonBodyRateCardsItemPricePaymentTermDefault
|
|
1052
|
+
export declare const updateAddonBodyRateCardsItemPricePaymentTermDefault: "in_advance";
|
|
1045
1053
|
export declare const updateAddonBodyRateCardsItemDiscountsUsageQuantityRegExpOne: RegExp;
|
|
1046
|
-
export declare const updateAddonBodyRateCardsItemKeyMaxOne
|
|
1054
|
+
export declare const updateAddonBodyRateCardsItemKeyMaxOne: 64;
|
|
1047
1055
|
export declare const updateAddonBodyRateCardsItemKeyRegExpOne: RegExp;
|
|
1048
|
-
export declare const updateAddonBodyRateCardsItemNameMaxOne
|
|
1049
|
-
export declare const updateAddonBodyRateCardsItemDescriptionMaxOne
|
|
1050
|
-
export declare const updateAddonBodyRateCardsItemFeatureKeyMaxOne
|
|
1056
|
+
export declare const updateAddonBodyRateCardsItemNameMaxOne: 256;
|
|
1057
|
+
export declare const updateAddonBodyRateCardsItemDescriptionMaxOne: 1024;
|
|
1058
|
+
export declare const updateAddonBodyRateCardsItemFeatureKeyMaxOne: 64;
|
|
1051
1059
|
export declare const updateAddonBodyRateCardsItemFeatureKeyRegExpOne: RegExp;
|
|
1052
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne
|
|
1053
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne
|
|
1054
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne
|
|
1055
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne
|
|
1056
|
-
export declare const updateAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne
|
|
1060
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne: false;
|
|
1061
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne: 0;
|
|
1062
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne: 1;
|
|
1063
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne: 255;
|
|
1064
|
+
export declare const updateAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne: false;
|
|
1057
1065
|
export declare const updateAddonBodyRateCardsItemTaxConfigStripeCodeRegExpOne: RegExp;
|
|
1058
1066
|
export declare const updateAddonBodyRateCardsItemPriceAmountRegExpThree: RegExp;
|
|
1059
|
-
export declare const updateAddonBodyRateCardsItemPricePaymentTermDefaultTwo
|
|
1067
|
+
export declare const updateAddonBodyRateCardsItemPricePaymentTermDefaultTwo: "in_advance";
|
|
1060
1068
|
export declare const updateAddonBodyRateCardsItemPriceAmountRegExpFive: RegExp;
|
|
1061
1069
|
export declare const updateAddonBodyRateCardsItemPriceMinimumAmountRegExpOne: RegExp;
|
|
1062
1070
|
export declare const updateAddonBodyRateCardsItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -1066,7 +1074,7 @@ export declare const updateAddonBodyRateCardsItemPriceTiersItemUnitPriceAmountRe
|
|
|
1066
1074
|
export declare const updateAddonBodyRateCardsItemPriceMinimumAmountRegExpThree: RegExp;
|
|
1067
1075
|
export declare const updateAddonBodyRateCardsItemPriceMaximumAmountRegExpThree: RegExp;
|
|
1068
1076
|
export declare const updateAddonBodyRateCardsItemPriceMultiplierRegExpOne: RegExp;
|
|
1069
|
-
export declare const updateAddonBodyRateCardsItemPriceMultiplierDefault
|
|
1077
|
+
export declare const updateAddonBodyRateCardsItemPriceMultiplierDefault: "1";
|
|
1070
1078
|
export declare const updateAddonBodyRateCardsItemPriceMinimumAmountRegExpFive: RegExp;
|
|
1071
1079
|
export declare const updateAddonBodyRateCardsItemPriceMaximumAmountRegExpFive: RegExp;
|
|
1072
1080
|
export declare const updateAddonBodyRateCardsItemPriceAmountRegExpSeven: RegExp;
|
|
@@ -1981,7 +1989,7 @@ export declare const updateAddonBody: zod.ZodObject<{
|
|
|
1981
1989
|
* Get add-on by id or key. The latest published version is returned if latter is used.
|
|
1982
1990
|
* @summary Get add-on
|
|
1983
1991
|
*/
|
|
1984
|
-
export declare const getAddonPathAddonIdMax
|
|
1992
|
+
export declare const getAddonPathAddonIdMax: 64;
|
|
1985
1993
|
export declare const getAddonPathAddonIdRegExp: RegExp;
|
|
1986
1994
|
export declare const getAddonParams: zod.ZodObject<{
|
|
1987
1995
|
addonId: zod.ZodString;
|
|
@@ -1990,7 +1998,7 @@ export declare const getAddonParams: zod.ZodObject<{
|
|
|
1990
1998
|
}, {
|
|
1991
1999
|
addonId: string;
|
|
1992
2000
|
}>;
|
|
1993
|
-
export declare const getAddonQueryIncludeLatestDefault
|
|
2001
|
+
export declare const getAddonQueryIncludeLatestDefault: false;
|
|
1994
2002
|
export declare const getAddonQueryParams: zod.ZodObject<{
|
|
1995
2003
|
includeLatest: zod.ZodOptional<zod.ZodBoolean>;
|
|
1996
2004
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -2040,9 +2048,9 @@ export declare const publishAddonParams: zod.ZodObject<{
|
|
|
2040
2048
|
* List apps.
|
|
2041
2049
|
* @summary List apps
|
|
2042
2050
|
*/
|
|
2043
|
-
export declare const listAppsQueryPageDefault
|
|
2044
|
-
export declare const listAppsQueryPageSizeDefault
|
|
2045
|
-
export declare const listAppsQueryPageSizeMax
|
|
2051
|
+
export declare const listAppsQueryPageDefault: 1;
|
|
2052
|
+
export declare const listAppsQueryPageSizeDefault: 100;
|
|
2053
|
+
export declare const listAppsQueryPageSizeMax: 1000;
|
|
2046
2054
|
export declare const listAppsQueryParams: zod.ZodObject<{
|
|
2047
2055
|
page: zod.ZodDefault<zod.ZodNumber>;
|
|
2048
2056
|
pageSize: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -2064,7 +2072,7 @@ export declare const appCustomInvoicingDraftSynchronizedParams: zod.ZodObject<{
|
|
|
2064
2072
|
}, {
|
|
2065
2073
|
invoiceId: string;
|
|
2066
2074
|
}>;
|
|
2067
|
-
export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingInvoiceNumberMaxOne
|
|
2075
|
+
export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingInvoiceNumberMaxOne: 256;
|
|
2068
2076
|
export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingLineExternalIdsItemLineIdRegExp: RegExp;
|
|
2069
2077
|
export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingLineDiscountExternalIdsItemLineDiscountIdRegExp: RegExp;
|
|
2070
2078
|
export declare const appCustomInvoicingDraftSynchronizedBody: zod.ZodObject<{
|
|
@@ -2152,7 +2160,7 @@ export declare const appCustomInvoicingIssuingSynchronizedParams: zod.ZodObject<
|
|
|
2152
2160
|
}, {
|
|
2153
2161
|
invoiceId: string;
|
|
2154
2162
|
}>;
|
|
2155
|
-
export declare const appCustomInvoicingIssuingSynchronizedBodyInvoicingInvoiceNumberMaxOne
|
|
2163
|
+
export declare const appCustomInvoicingIssuingSynchronizedBodyInvoicingInvoiceNumberMaxOne: 256;
|
|
2156
2164
|
export declare const appCustomInvoicingIssuingSynchronizedBody: zod.ZodObject<{
|
|
2157
2165
|
invoicing: zod.ZodOptional<zod.ZodObject<{
|
|
2158
2166
|
invoiceNumber: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2230,12 +2238,12 @@ export declare const updateAppParams: zod.ZodObject<{
|
|
|
2230
2238
|
}, {
|
|
2231
2239
|
id: string;
|
|
2232
2240
|
}>;
|
|
2233
|
-
export declare const updateAppBodyNameMax
|
|
2234
|
-
export declare const updateAppBodyDescriptionMax
|
|
2235
|
-
export declare const updateAppBodyNameMaxOne
|
|
2236
|
-
export declare const updateAppBodyDescriptionMaxOne
|
|
2237
|
-
export declare const updateAppBodyNameMaxTwo
|
|
2238
|
-
export declare const updateAppBodyDescriptionMaxTwo
|
|
2241
|
+
export declare const updateAppBodyNameMax: 256;
|
|
2242
|
+
export declare const updateAppBodyDescriptionMax: 1024;
|
|
2243
|
+
export declare const updateAppBodyNameMaxOne: 256;
|
|
2244
|
+
export declare const updateAppBodyDescriptionMaxOne: 1024;
|
|
2245
|
+
export declare const updateAppBodyNameMaxTwo: 256;
|
|
2246
|
+
export declare const updateAppBodyDescriptionMaxTwo: 1024;
|
|
2239
2247
|
export declare const updateAppBody: zod.ZodUnion<[zod.ZodObject<{
|
|
2240
2248
|
description: zod.ZodOptional<zod.ZodString>;
|
|
2241
2249
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
@@ -2375,11 +2383,11 @@ if they have customer orverrides or not.
|
|
|
2375
2383
|
* @summary List customer overrides
|
|
2376
2384
|
*/
|
|
2377
2385
|
export declare const listBillingProfileCustomerOverridesQueryBillingProfileItemRegExp: RegExp;
|
|
2378
|
-
export declare const listBillingProfileCustomerOverridesQueryIncludeAllCustomersDefault
|
|
2386
|
+
export declare const listBillingProfileCustomerOverridesQueryIncludeAllCustomersDefault: true;
|
|
2379
2387
|
export declare const listBillingProfileCustomerOverridesQueryCustomerIdItemRegExp: RegExp;
|
|
2380
|
-
export declare const listBillingProfileCustomerOverridesQueryPageDefault
|
|
2381
|
-
export declare const listBillingProfileCustomerOverridesQueryPageSizeDefault
|
|
2382
|
-
export declare const listBillingProfileCustomerOverridesQueryPageSizeMax
|
|
2388
|
+
export declare const listBillingProfileCustomerOverridesQueryPageDefault: 1;
|
|
2389
|
+
export declare const listBillingProfileCustomerOverridesQueryPageSizeDefault: 100;
|
|
2390
|
+
export declare const listBillingProfileCustomerOverridesQueryPageSizeMax: 1000;
|
|
2383
2391
|
export declare const listBillingProfileCustomerOverridesQueryParams: zod.ZodObject<{
|
|
2384
2392
|
billingProfile: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
2385
2393
|
customerId: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -2502,14 +2510,14 @@ export declare const createPendingInvoiceLineParams: zod.ZodObject<{
|
|
|
2502
2510
|
}, {
|
|
2503
2511
|
customerId: string;
|
|
2504
2512
|
}>;
|
|
2505
|
-
export declare const createPendingInvoiceLineBodyCurrencyMinOne
|
|
2506
|
-
export declare const createPendingInvoiceLineBodyCurrencyMaxOne
|
|
2513
|
+
export declare const createPendingInvoiceLineBodyCurrencyMinOne: 3;
|
|
2514
|
+
export declare const createPendingInvoiceLineBodyCurrencyMaxOne: 3;
|
|
2507
2515
|
export declare const createPendingInvoiceLineBodyCurrencyRegExpOne: RegExp;
|
|
2508
|
-
export declare const createPendingInvoiceLineBodyLinesItemNameMax
|
|
2509
|
-
export declare const createPendingInvoiceLineBodyLinesItemDescriptionMax
|
|
2516
|
+
export declare const createPendingInvoiceLineBodyLinesItemNameMax: 256;
|
|
2517
|
+
export declare const createPendingInvoiceLineBodyLinesItemDescriptionMax: 1024;
|
|
2510
2518
|
export declare const createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExp: RegExp;
|
|
2511
2519
|
export declare const createPendingInvoiceLineBodyLinesItemPriceAmountRegExpOne: RegExp;
|
|
2512
|
-
export declare const createPendingInvoiceLineBodyLinesItemPricePaymentTermDefault
|
|
2520
|
+
export declare const createPendingInvoiceLineBodyLinesItemPricePaymentTermDefault: "in_advance";
|
|
2513
2521
|
export declare const createPendingInvoiceLineBodyLinesItemPriceAmountRegExpThree: RegExp;
|
|
2514
2522
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpOne: RegExp;
|
|
2515
2523
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -2519,20 +2527,20 @@ export declare const createPendingInvoiceLineBodyLinesItemPriceTiersItemUnitPric
|
|
|
2519
2527
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpThree: RegExp;
|
|
2520
2528
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpThree: RegExp;
|
|
2521
2529
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMultiplierRegExpOne: RegExp;
|
|
2522
|
-
export declare const createPendingInvoiceLineBodyLinesItemPriceMultiplierDefault
|
|
2530
|
+
export declare const createPendingInvoiceLineBodyLinesItemPriceMultiplierDefault: "1";
|
|
2523
2531
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive: RegExp;
|
|
2524
2532
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive: RegExp;
|
|
2525
2533
|
export declare const createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive: RegExp;
|
|
2526
2534
|
export declare const createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne: RegExp;
|
|
2527
2535
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven: RegExp;
|
|
2528
2536
|
export declare const createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven: RegExp;
|
|
2529
|
-
export declare const createPendingInvoiceLineBodyLinesItemFeatureKeyMax
|
|
2537
|
+
export declare const createPendingInvoiceLineBodyLinesItemFeatureKeyMax: 64;
|
|
2530
2538
|
export declare const createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp: RegExp;
|
|
2531
|
-
export declare const createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax
|
|
2539
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax: 64;
|
|
2532
2540
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp: RegExp;
|
|
2533
2541
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp: RegExp;
|
|
2534
2542
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne: RegExp;
|
|
2535
|
-
export declare const createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault
|
|
2543
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault: "in_advance";
|
|
2536
2544
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree: RegExp;
|
|
2537
2545
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne: RegExp;
|
|
2538
2546
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -2542,7 +2550,7 @@ export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItem
|
|
|
2542
2550
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree: RegExp;
|
|
2543
2551
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree: RegExp;
|
|
2544
2552
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne: RegExp;
|
|
2545
|
-
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault
|
|
2553
|
+
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault: "1";
|
|
2546
2554
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive: RegExp;
|
|
2547
2555
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive: RegExp;
|
|
2548
2556
|
export declare const createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive: RegExp;
|
|
@@ -3561,15 +3569,15 @@ export declare const simulateInvoiceParams: zod.ZodObject<{
|
|
|
3561
3569
|
}, {
|
|
3562
3570
|
customerId: string;
|
|
3563
3571
|
}>;
|
|
3564
|
-
export declare const simulateInvoiceBodyNumberMaxOne
|
|
3565
|
-
export declare const simulateInvoiceBodyCurrencyMinOne
|
|
3566
|
-
export declare const simulateInvoiceBodyCurrencyMaxOne
|
|
3572
|
+
export declare const simulateInvoiceBodyNumberMaxOne: 256;
|
|
3573
|
+
export declare const simulateInvoiceBodyCurrencyMinOne: 3;
|
|
3574
|
+
export declare const simulateInvoiceBodyCurrencyMaxOne: 3;
|
|
3567
3575
|
export declare const simulateInvoiceBodyCurrencyRegExpOne: RegExp;
|
|
3568
|
-
export declare const simulateInvoiceBodyLinesItemNameMax
|
|
3569
|
-
export declare const simulateInvoiceBodyLinesItemDescriptionMax
|
|
3576
|
+
export declare const simulateInvoiceBodyLinesItemNameMax: 256;
|
|
3577
|
+
export declare const simulateInvoiceBodyLinesItemDescriptionMax: 1024;
|
|
3570
3578
|
export declare const simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp: RegExp;
|
|
3571
3579
|
export declare const simulateInvoiceBodyLinesItemPriceAmountRegExpOne: RegExp;
|
|
3572
|
-
export declare const simulateInvoiceBodyLinesItemPricePaymentTermDefault
|
|
3580
|
+
export declare const simulateInvoiceBodyLinesItemPricePaymentTermDefault: "in_advance";
|
|
3573
3581
|
export declare const simulateInvoiceBodyLinesItemPriceAmountRegExpThree: RegExp;
|
|
3574
3582
|
export declare const simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne: RegExp;
|
|
3575
3583
|
export declare const simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -3579,20 +3587,20 @@ export declare const simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRe
|
|
|
3579
3587
|
export declare const simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree: RegExp;
|
|
3580
3588
|
export declare const simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree: RegExp;
|
|
3581
3589
|
export declare const simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne: RegExp;
|
|
3582
|
-
export declare const simulateInvoiceBodyLinesItemPriceMultiplierDefault
|
|
3590
|
+
export declare const simulateInvoiceBodyLinesItemPriceMultiplierDefault: "1";
|
|
3583
3591
|
export declare const simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive: RegExp;
|
|
3584
3592
|
export declare const simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive: RegExp;
|
|
3585
3593
|
export declare const simulateInvoiceBodyLinesItemPriceAmountRegExpFive: RegExp;
|
|
3586
3594
|
export declare const simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne: RegExp;
|
|
3587
3595
|
export declare const simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven: RegExp;
|
|
3588
3596
|
export declare const simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven: RegExp;
|
|
3589
|
-
export declare const simulateInvoiceBodyLinesItemFeatureKeyMax
|
|
3597
|
+
export declare const simulateInvoiceBodyLinesItemFeatureKeyMax: 64;
|
|
3590
3598
|
export declare const simulateInvoiceBodyLinesItemFeatureKeyRegExp: RegExp;
|
|
3591
|
-
export declare const simulateInvoiceBodyLinesItemRateCardFeatureKeyMax
|
|
3599
|
+
export declare const simulateInvoiceBodyLinesItemRateCardFeatureKeyMax: 64;
|
|
3592
3600
|
export declare const simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp: RegExp;
|
|
3593
3601
|
export declare const simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp: RegExp;
|
|
3594
3602
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne: RegExp;
|
|
3595
|
-
export declare const simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault
|
|
3603
|
+
export declare const simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault: "in_advance";
|
|
3596
3604
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree: RegExp;
|
|
3597
3605
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne: RegExp;
|
|
3598
3606
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -3602,7 +3610,7 @@ export declare const simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPrice
|
|
|
3602
3610
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree: RegExp;
|
|
3603
3611
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree: RegExp;
|
|
3604
3612
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne: RegExp;
|
|
3605
|
-
export declare const simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault
|
|
3613
|
+
export declare const simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault: "1";
|
|
3606
3614
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive: RegExp;
|
|
3607
3615
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive: RegExp;
|
|
3608
3616
|
export declare const simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive: RegExp;
|
|
@@ -4636,9 +4644,9 @@ Gathering invoices will always show the current usage calculated on the fly.
|
|
|
4636
4644
|
* @summary List invoices
|
|
4637
4645
|
*/
|
|
4638
4646
|
export declare const listInvoicesQueryCustomersItemRegExp: RegExp;
|
|
4639
|
-
export declare const listInvoicesQueryPageDefault
|
|
4640
|
-
export declare const listInvoicesQueryPageSizeDefault
|
|
4641
|
-
export declare const listInvoicesQueryPageSizeMax
|
|
4647
|
+
export declare const listInvoicesQueryPageDefault: 1;
|
|
4648
|
+
export declare const listInvoicesQueryPageSizeDefault: 100;
|
|
4649
|
+
export declare const listInvoicesQueryPageSizeMax: 1000;
|
|
4642
4650
|
export declare const listInvoicesQueryParams: zod.ZodObject<{
|
|
4643
4651
|
createdAfter: zod.ZodOptional<zod.ZodDate>;
|
|
4644
4652
|
createdBefore: zod.ZodOptional<zod.ZodDate>;
|
|
@@ -4742,8 +4750,8 @@ export declare const getInvoiceParams: zod.ZodObject<{
|
|
|
4742
4750
|
}, {
|
|
4743
4751
|
invoiceId: string;
|
|
4744
4752
|
}>;
|
|
4745
|
-
export declare const getInvoiceQueryExpandDefault:
|
|
4746
|
-
export declare const getInvoiceQueryIncludeDeletedLinesDefault
|
|
4753
|
+
export declare const getInvoiceQueryExpandDefault: () => ("lines" | "preceding" | "workflow.apps")[];
|
|
4754
|
+
export declare const getInvoiceQueryIncludeDeletedLinesDefault: false;
|
|
4747
4755
|
export declare const getInvoiceQueryParams: zod.ZodObject<{
|
|
4748
4756
|
expand: zod.ZodDefault<zod.ZodArray<zod.ZodEnum<["lines", "preceding", "workflow.apps"]>, "many">>;
|
|
4749
4757
|
includeDeletedLines: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -4784,24 +4792,24 @@ export declare const updateInvoiceParams: zod.ZodObject<{
|
|
|
4784
4792
|
}, {
|
|
4785
4793
|
invoiceId: string;
|
|
4786
4794
|
}>;
|
|
4787
|
-
export declare const updateInvoiceBodyDescriptionMax
|
|
4788
|
-
export declare const updateInvoiceBodySupplierKeyMax
|
|
4789
|
-
export declare const updateInvoiceBodySupplierTaxIdCodeMaxOne
|
|
4790
|
-
export declare const updateInvoiceBodySupplierAddressesItemCountryMinOne
|
|
4791
|
-
export declare const updateInvoiceBodySupplierAddressesItemCountryMaxOne
|
|
4795
|
+
export declare const updateInvoiceBodyDescriptionMax: 1024;
|
|
4796
|
+
export declare const updateInvoiceBodySupplierKeyMax: 256;
|
|
4797
|
+
export declare const updateInvoiceBodySupplierTaxIdCodeMaxOne: 32;
|
|
4798
|
+
export declare const updateInvoiceBodySupplierAddressesItemCountryMinOne: 2;
|
|
4799
|
+
export declare const updateInvoiceBodySupplierAddressesItemCountryMaxOne: 2;
|
|
4792
4800
|
export declare const updateInvoiceBodySupplierAddressesItemCountryRegExpOne: RegExp;
|
|
4793
|
-
export declare const updateInvoiceBodySupplierAddressesMax
|
|
4794
|
-
export declare const updateInvoiceBodyCustomerKeyMax
|
|
4795
|
-
export declare const updateInvoiceBodyCustomerTaxIdCodeMaxOne
|
|
4796
|
-
export declare const updateInvoiceBodyCustomerAddressesItemCountryMinOne
|
|
4797
|
-
export declare const updateInvoiceBodyCustomerAddressesItemCountryMaxOne
|
|
4801
|
+
export declare const updateInvoiceBodySupplierAddressesMax: 1;
|
|
4802
|
+
export declare const updateInvoiceBodyCustomerKeyMax: 256;
|
|
4803
|
+
export declare const updateInvoiceBodyCustomerTaxIdCodeMaxOne: 32;
|
|
4804
|
+
export declare const updateInvoiceBodyCustomerAddressesItemCountryMinOne: 2;
|
|
4805
|
+
export declare const updateInvoiceBodyCustomerAddressesItemCountryMaxOne: 2;
|
|
4798
4806
|
export declare const updateInvoiceBodyCustomerAddressesItemCountryRegExpOne: RegExp;
|
|
4799
|
-
export declare const updateInvoiceBodyCustomerAddressesMax
|
|
4800
|
-
export declare const updateInvoiceBodyLinesItemNameMax
|
|
4801
|
-
export declare const updateInvoiceBodyLinesItemDescriptionMax
|
|
4807
|
+
export declare const updateInvoiceBodyCustomerAddressesMax: 1;
|
|
4808
|
+
export declare const updateInvoiceBodyLinesItemNameMax: 256;
|
|
4809
|
+
export declare const updateInvoiceBodyLinesItemDescriptionMax: 1024;
|
|
4802
4810
|
export declare const updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp: RegExp;
|
|
4803
4811
|
export declare const updateInvoiceBodyLinesItemPriceAmountRegExpOne: RegExp;
|
|
4804
|
-
export declare const updateInvoiceBodyLinesItemPricePaymentTermDefault
|
|
4812
|
+
export declare const updateInvoiceBodyLinesItemPricePaymentTermDefault: "in_advance";
|
|
4805
4813
|
export declare const updateInvoiceBodyLinesItemPriceAmountRegExpThree: RegExp;
|
|
4806
4814
|
export declare const updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne: RegExp;
|
|
4807
4815
|
export declare const updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -4811,20 +4819,20 @@ export declare const updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegE
|
|
|
4811
4819
|
export declare const updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree: RegExp;
|
|
4812
4820
|
export declare const updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree: RegExp;
|
|
4813
4821
|
export declare const updateInvoiceBodyLinesItemPriceMultiplierRegExpOne: RegExp;
|
|
4814
|
-
export declare const updateInvoiceBodyLinesItemPriceMultiplierDefault
|
|
4822
|
+
export declare const updateInvoiceBodyLinesItemPriceMultiplierDefault: "1";
|
|
4815
4823
|
export declare const updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive: RegExp;
|
|
4816
4824
|
export declare const updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive: RegExp;
|
|
4817
4825
|
export declare const updateInvoiceBodyLinesItemPriceAmountRegExpFive: RegExp;
|
|
4818
4826
|
export declare const updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne: RegExp;
|
|
4819
4827
|
export declare const updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven: RegExp;
|
|
4820
4828
|
export declare const updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven: RegExp;
|
|
4821
|
-
export declare const updateInvoiceBodyLinesItemFeatureKeyMax
|
|
4829
|
+
export declare const updateInvoiceBodyLinesItemFeatureKeyMax: 64;
|
|
4822
4830
|
export declare const updateInvoiceBodyLinesItemFeatureKeyRegExp: RegExp;
|
|
4823
|
-
export declare const updateInvoiceBodyLinesItemRateCardFeatureKeyMax
|
|
4831
|
+
export declare const updateInvoiceBodyLinesItemRateCardFeatureKeyMax: 64;
|
|
4824
4832
|
export declare const updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp: RegExp;
|
|
4825
4833
|
export declare const updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp: RegExp;
|
|
4826
4834
|
export declare const updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne: RegExp;
|
|
4827
|
-
export declare const updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault
|
|
4835
|
+
export declare const updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault: "in_advance";
|
|
4828
4836
|
export declare const updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree: RegExp;
|
|
4829
4837
|
export declare const updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne: RegExp;
|
|
4830
4838
|
export declare const updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -4834,7 +4842,7 @@ export declare const updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAm
|
|
|
4834
4842
|
export declare const updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree: RegExp;
|
|
4835
4843
|
export declare const updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree: RegExp;
|
|
4836
4844
|
export declare const updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne: RegExp;
|
|
4837
|
-
export declare const updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault
|
|
4845
|
+
export declare const updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault: "1";
|
|
4838
4846
|
export declare const updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive: RegExp;
|
|
4839
4847
|
export declare const updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive: RegExp;
|
|
4840
4848
|
export declare const updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive: RegExp;
|
|
@@ -4845,11 +4853,11 @@ export declare const updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrel
|
|
|
4845
4853
|
export declare const updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne: RegExp;
|
|
4846
4854
|
export declare const updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp: RegExp;
|
|
4847
4855
|
export declare const updateInvoiceBodyLinesItemIdRegExp: RegExp;
|
|
4848
|
-
export declare const updateInvoiceBodyWorkflowWorkflowInvoicingAutoAdvanceDefault
|
|
4849
|
-
export declare const updateInvoiceBodyWorkflowWorkflowInvoicingDraftPeriodDefault
|
|
4850
|
-
export declare const updateInvoiceBodyWorkflowWorkflowInvoicingDueAfterDefault
|
|
4856
|
+
export declare const updateInvoiceBodyWorkflowWorkflowInvoicingAutoAdvanceDefault: true;
|
|
4857
|
+
export declare const updateInvoiceBodyWorkflowWorkflowInvoicingDraftPeriodDefault: "P0D";
|
|
4858
|
+
export declare const updateInvoiceBodyWorkflowWorkflowInvoicingDueAfterDefault: "P30D";
|
|
4851
4859
|
export declare const updateInvoiceBodyWorkflowWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp: RegExp;
|
|
4852
|
-
export declare const updateInvoiceBodyWorkflowWorkflowPaymentCollectionMethodDefault
|
|
4860
|
+
export declare const updateInvoiceBodyWorkflowWorkflowPaymentCollectionMethodDefault: "charge_automatically";
|
|
4853
4861
|
export declare const updateInvoiceBody: zod.ZodObject<{
|
|
4854
4862
|
customer: zod.ZodObject<{
|
|
4855
4863
|
addresses: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -6488,10 +6496,10 @@ in the response. For example by adding the expand=apps option the apps used by t
|
|
|
6488
6496
|
will be included in the response.
|
|
6489
6497
|
* @summary List billing profiles
|
|
6490
6498
|
*/
|
|
6491
|
-
export declare const listBillingProfilesQueryIncludeArchivedDefault
|
|
6492
|
-
export declare const listBillingProfilesQueryPageDefault
|
|
6493
|
-
export declare const listBillingProfilesQueryPageSizeDefault
|
|
6494
|
-
export declare const listBillingProfilesQueryPageSizeMax
|
|
6499
|
+
export declare const listBillingProfilesQueryIncludeArchivedDefault: false;
|
|
6500
|
+
export declare const listBillingProfilesQueryPageDefault: 1;
|
|
6501
|
+
export declare const listBillingProfilesQueryPageSizeDefault: 100;
|
|
6502
|
+
export declare const listBillingProfilesQueryPageSizeMax: 1000;
|
|
6495
6503
|
export declare const listBillingProfilesQueryParams: zod.ZodObject<{
|
|
6496
6504
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<["apps"]>, "many">>;
|
|
6497
6505
|
includeArchived: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -6521,26 +6529,27 @@ Billing profiles are representations of a customer's billing information. Custom
|
|
|
6521
6529
|
can be applied to a billing profile to customize the billing behavior for a specific customer.
|
|
6522
6530
|
* @summary Create a new billing profile
|
|
6523
6531
|
*/
|
|
6524
|
-
export declare const createBillingProfileBodyNameMax
|
|
6525
|
-
export declare const createBillingProfileBodyDescriptionMax
|
|
6526
|
-
export declare const createBillingProfileBodySupplierKeyMax
|
|
6527
|
-
export declare const createBillingProfileBodySupplierTaxIdCodeMaxOne
|
|
6528
|
-
export declare const createBillingProfileBodySupplierAddressesItemCountryMinOne
|
|
6529
|
-
export declare const createBillingProfileBodySupplierAddressesItemCountryMaxOne
|
|
6532
|
+
export declare const createBillingProfileBodyNameMax: 256;
|
|
6533
|
+
export declare const createBillingProfileBodyDescriptionMax: 1024;
|
|
6534
|
+
export declare const createBillingProfileBodySupplierKeyMax: 256;
|
|
6535
|
+
export declare const createBillingProfileBodySupplierTaxIdCodeMaxOne: 32;
|
|
6536
|
+
export declare const createBillingProfileBodySupplierAddressesItemCountryMinOne: 2;
|
|
6537
|
+
export declare const createBillingProfileBodySupplierAddressesItemCountryMaxOne: 2;
|
|
6530
6538
|
export declare const createBillingProfileBodySupplierAddressesItemCountryRegExpOne: RegExp;
|
|
6531
|
-
export declare const createBillingProfileBodySupplierAddressesMax
|
|
6539
|
+
export declare const createBillingProfileBodySupplierAddressesMax: 1;
|
|
6540
|
+
export declare const createBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo: RegExp;
|
|
6532
6541
|
export declare const createBillingProfileBodyWorkflowCollectionAlignmentDefault: {
|
|
6533
|
-
type:
|
|
6542
|
+
readonly type: "subscription";
|
|
6534
6543
|
};
|
|
6535
|
-
export declare const createBillingProfileBodyWorkflowCollectionIntervalDefault
|
|
6536
|
-
export declare const createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault
|
|
6537
|
-
export declare const createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault
|
|
6538
|
-
export declare const createBillingProfileBodyWorkflowInvoicingDueAfterDefault
|
|
6539
|
-
export declare const createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault
|
|
6544
|
+
export declare const createBillingProfileBodyWorkflowCollectionIntervalDefault: "PT1H";
|
|
6545
|
+
export declare const createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault: true;
|
|
6546
|
+
export declare const createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault: "P0D";
|
|
6547
|
+
export declare const createBillingProfileBodyWorkflowInvoicingDueAfterDefault: "P30D";
|
|
6548
|
+
export declare const createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault: false;
|
|
6540
6549
|
export declare const createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp: RegExp;
|
|
6541
|
-
export declare const createBillingProfileBodyWorkflowPaymentCollectionMethodDefault
|
|
6542
|
-
export declare const createBillingProfileBodyWorkflowTaxEnabledDefault
|
|
6543
|
-
export declare const createBillingProfileBodyWorkflowTaxEnforcedDefault
|
|
6550
|
+
export declare const createBillingProfileBodyWorkflowPaymentCollectionMethodDefault: "charge_automatically";
|
|
6551
|
+
export declare const createBillingProfileBodyWorkflowTaxEnabledDefault: true;
|
|
6552
|
+
export declare const createBillingProfileBodyWorkflowTaxEnforcedDefault: false;
|
|
6544
6553
|
export declare const createBillingProfileBodyAppsTaxRegExp: RegExp;
|
|
6545
6554
|
export declare const createBillingProfileBodyAppsInvoicingRegExp: RegExp;
|
|
6546
6555
|
export declare const createBillingProfileBodyAppsPaymentRegExp: RegExp;
|
|
@@ -6633,24 +6642,60 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6633
6642
|
}>;
|
|
6634
6643
|
workflow: zod.ZodObject<{
|
|
6635
6644
|
collection: zod.ZodOptional<zod.ZodObject<{
|
|
6636
|
-
alignment: zod.ZodDefault<zod.ZodObject<{
|
|
6645
|
+
alignment: zod.ZodDefault<zod.ZodUnion<[zod.ZodObject<{
|
|
6637
6646
|
type: zod.ZodEnum<["subscription"]>;
|
|
6638
6647
|
}, "strip", zod.ZodTypeAny, {
|
|
6639
6648
|
type: "subscription";
|
|
6640
6649
|
}, {
|
|
6641
6650
|
type: "subscription";
|
|
6642
|
-
}
|
|
6651
|
+
}>, zod.ZodObject<{
|
|
6652
|
+
recurringPeriod: zod.ZodObject<{
|
|
6653
|
+
anchor: zod.ZodDate;
|
|
6654
|
+
interval: zod.ZodUnion<[zod.ZodString, zod.ZodEnum<["DAY", "WEEK", "MONTH", "YEAR"]>]>;
|
|
6655
|
+
}, "strip", zod.ZodTypeAny, {
|
|
6656
|
+
anchor: Date;
|
|
6657
|
+
interval: string;
|
|
6658
|
+
}, {
|
|
6659
|
+
anchor: Date;
|
|
6660
|
+
interval: string;
|
|
6661
|
+
}>;
|
|
6662
|
+
type: zod.ZodEnum<["anchored"]>;
|
|
6663
|
+
}, "strip", zod.ZodTypeAny, {
|
|
6664
|
+
type: "anchored";
|
|
6665
|
+
recurringPeriod: {
|
|
6666
|
+
anchor: Date;
|
|
6667
|
+
interval: string;
|
|
6668
|
+
};
|
|
6669
|
+
}, {
|
|
6670
|
+
type: "anchored";
|
|
6671
|
+
recurringPeriod: {
|
|
6672
|
+
anchor: Date;
|
|
6673
|
+
interval: string;
|
|
6674
|
+
};
|
|
6675
|
+
}>]>>;
|
|
6643
6676
|
interval: zod.ZodDefault<zod.ZodString>;
|
|
6644
6677
|
}, "strip", zod.ZodTypeAny, {
|
|
6678
|
+
interval: string;
|
|
6645
6679
|
alignment: {
|
|
6646
6680
|
type: "subscription";
|
|
6681
|
+
} | {
|
|
6682
|
+
type: "anchored";
|
|
6683
|
+
recurringPeriod: {
|
|
6684
|
+
anchor: Date;
|
|
6685
|
+
interval: string;
|
|
6686
|
+
};
|
|
6647
6687
|
};
|
|
6648
|
-
interval: string;
|
|
6649
6688
|
}, {
|
|
6689
|
+
interval?: string | undefined;
|
|
6650
6690
|
alignment?: {
|
|
6651
6691
|
type: "subscription";
|
|
6692
|
+
} | {
|
|
6693
|
+
type: "anchored";
|
|
6694
|
+
recurringPeriod: {
|
|
6695
|
+
anchor: Date;
|
|
6696
|
+
interval: string;
|
|
6697
|
+
};
|
|
6652
6698
|
} | undefined;
|
|
6653
|
-
interval?: string | undefined;
|
|
6654
6699
|
}>>;
|
|
6655
6700
|
invoicing: zod.ZodOptional<zod.ZodObject<{
|
|
6656
6701
|
autoAdvance: zod.ZodDefault<zod.ZodBoolean>;
|
|
@@ -6760,10 +6805,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6760
6805
|
enforced?: boolean | undefined;
|
|
6761
6806
|
} | undefined;
|
|
6762
6807
|
collection?: {
|
|
6808
|
+
interval: string;
|
|
6763
6809
|
alignment: {
|
|
6764
6810
|
type: "subscription";
|
|
6811
|
+
} | {
|
|
6812
|
+
type: "anchored";
|
|
6813
|
+
recurringPeriod: {
|
|
6814
|
+
anchor: Date;
|
|
6815
|
+
interval: string;
|
|
6816
|
+
};
|
|
6765
6817
|
};
|
|
6766
|
-
interval: string;
|
|
6767
6818
|
} | undefined;
|
|
6768
6819
|
}, {
|
|
6769
6820
|
invoicing?: {
|
|
@@ -6789,10 +6840,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6789
6840
|
enforced?: boolean | undefined;
|
|
6790
6841
|
} | undefined;
|
|
6791
6842
|
collection?: {
|
|
6843
|
+
interval?: string | undefined;
|
|
6792
6844
|
alignment?: {
|
|
6793
6845
|
type: "subscription";
|
|
6846
|
+
} | {
|
|
6847
|
+
type: "anchored";
|
|
6848
|
+
recurringPeriod: {
|
|
6849
|
+
anchor: Date;
|
|
6850
|
+
interval: string;
|
|
6851
|
+
};
|
|
6794
6852
|
} | undefined;
|
|
6795
|
-
interval?: string | undefined;
|
|
6796
6853
|
} | undefined;
|
|
6797
6854
|
}>;
|
|
6798
6855
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -6844,10 +6901,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6844
6901
|
enforced?: boolean | undefined;
|
|
6845
6902
|
} | undefined;
|
|
6846
6903
|
collection?: {
|
|
6904
|
+
interval: string;
|
|
6847
6905
|
alignment: {
|
|
6848
6906
|
type: "subscription";
|
|
6907
|
+
} | {
|
|
6908
|
+
type: "anchored";
|
|
6909
|
+
recurringPeriod: {
|
|
6910
|
+
anchor: Date;
|
|
6911
|
+
interval: string;
|
|
6912
|
+
};
|
|
6849
6913
|
};
|
|
6850
|
-
interval: string;
|
|
6851
6914
|
} | undefined;
|
|
6852
6915
|
};
|
|
6853
6916
|
description?: string | undefined;
|
|
@@ -6901,10 +6964,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6901
6964
|
enforced?: boolean | undefined;
|
|
6902
6965
|
} | undefined;
|
|
6903
6966
|
collection?: {
|
|
6967
|
+
interval?: string | undefined;
|
|
6904
6968
|
alignment?: {
|
|
6905
6969
|
type: "subscription";
|
|
6970
|
+
} | {
|
|
6971
|
+
type: "anchored";
|
|
6972
|
+
recurringPeriod: {
|
|
6973
|
+
anchor: Date;
|
|
6974
|
+
interval: string;
|
|
6975
|
+
};
|
|
6906
6976
|
} | undefined;
|
|
6907
|
-
interval?: string | undefined;
|
|
6908
6977
|
} | undefined;
|
|
6909
6978
|
};
|
|
6910
6979
|
description?: string | undefined;
|
|
@@ -6965,26 +7034,27 @@ export declare const updateBillingProfileParams: zod.ZodObject<{
|
|
|
6965
7034
|
}, {
|
|
6966
7035
|
id: string;
|
|
6967
7036
|
}>;
|
|
6968
|
-
export declare const updateBillingProfileBodyNameMax
|
|
6969
|
-
export declare const updateBillingProfileBodyDescriptionMax
|
|
6970
|
-
export declare const updateBillingProfileBodySupplierKeyMax
|
|
6971
|
-
export declare const updateBillingProfileBodySupplierTaxIdCodeMaxOne
|
|
6972
|
-
export declare const updateBillingProfileBodySupplierAddressesItemCountryMinOne
|
|
6973
|
-
export declare const updateBillingProfileBodySupplierAddressesItemCountryMaxOne
|
|
7037
|
+
export declare const updateBillingProfileBodyNameMax: 256;
|
|
7038
|
+
export declare const updateBillingProfileBodyDescriptionMax: 1024;
|
|
7039
|
+
export declare const updateBillingProfileBodySupplierKeyMax: 256;
|
|
7040
|
+
export declare const updateBillingProfileBodySupplierTaxIdCodeMaxOne: 32;
|
|
7041
|
+
export declare const updateBillingProfileBodySupplierAddressesItemCountryMinOne: 2;
|
|
7042
|
+
export declare const updateBillingProfileBodySupplierAddressesItemCountryMaxOne: 2;
|
|
6974
7043
|
export declare const updateBillingProfileBodySupplierAddressesItemCountryRegExpOne: RegExp;
|
|
6975
|
-
export declare const updateBillingProfileBodySupplierAddressesMax
|
|
7044
|
+
export declare const updateBillingProfileBodySupplierAddressesMax: 1;
|
|
7045
|
+
export declare const updateBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo: RegExp;
|
|
6976
7046
|
export declare const updateBillingProfileBodyWorkflowCollectionAlignmentDefault: {
|
|
6977
|
-
type:
|
|
7047
|
+
readonly type: "subscription";
|
|
6978
7048
|
};
|
|
6979
|
-
export declare const updateBillingProfileBodyWorkflowCollectionIntervalDefault
|
|
6980
|
-
export declare const updateBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault
|
|
6981
|
-
export declare const updateBillingProfileBodyWorkflowInvoicingDraftPeriodDefault
|
|
6982
|
-
export declare const updateBillingProfileBodyWorkflowInvoicingDueAfterDefault
|
|
6983
|
-
export declare const updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault
|
|
7049
|
+
export declare const updateBillingProfileBodyWorkflowCollectionIntervalDefault: "PT1H";
|
|
7050
|
+
export declare const updateBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault: true;
|
|
7051
|
+
export declare const updateBillingProfileBodyWorkflowInvoicingDraftPeriodDefault: "P0D";
|
|
7052
|
+
export declare const updateBillingProfileBodyWorkflowInvoicingDueAfterDefault: "P30D";
|
|
7053
|
+
export declare const updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault: false;
|
|
6984
7054
|
export declare const updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp: RegExp;
|
|
6985
|
-
export declare const updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault
|
|
6986
|
-
export declare const updateBillingProfileBodyWorkflowTaxEnabledDefault
|
|
6987
|
-
export declare const updateBillingProfileBodyWorkflowTaxEnforcedDefault
|
|
7055
|
+
export declare const updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault: "charge_automatically";
|
|
7056
|
+
export declare const updateBillingProfileBodyWorkflowTaxEnabledDefault: true;
|
|
7057
|
+
export declare const updateBillingProfileBodyWorkflowTaxEnforcedDefault: false;
|
|
6988
7058
|
export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
6989
7059
|
default: zod.ZodBoolean;
|
|
6990
7060
|
description: zod.ZodOptional<zod.ZodString>;
|
|
@@ -7061,24 +7131,60 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7061
7131
|
}>;
|
|
7062
7132
|
workflow: zod.ZodObject<{
|
|
7063
7133
|
collection: zod.ZodOptional<zod.ZodObject<{
|
|
7064
|
-
alignment: zod.ZodDefault<zod.ZodObject<{
|
|
7134
|
+
alignment: zod.ZodDefault<zod.ZodUnion<[zod.ZodObject<{
|
|
7065
7135
|
type: zod.ZodEnum<["subscription"]>;
|
|
7066
7136
|
}, "strip", zod.ZodTypeAny, {
|
|
7067
7137
|
type: "subscription";
|
|
7068
7138
|
}, {
|
|
7069
7139
|
type: "subscription";
|
|
7070
|
-
}
|
|
7140
|
+
}>, zod.ZodObject<{
|
|
7141
|
+
recurringPeriod: zod.ZodObject<{
|
|
7142
|
+
anchor: zod.ZodDate;
|
|
7143
|
+
interval: zod.ZodUnion<[zod.ZodString, zod.ZodEnum<["DAY", "WEEK", "MONTH", "YEAR"]>]>;
|
|
7144
|
+
}, "strip", zod.ZodTypeAny, {
|
|
7145
|
+
anchor: Date;
|
|
7146
|
+
interval: string;
|
|
7147
|
+
}, {
|
|
7148
|
+
anchor: Date;
|
|
7149
|
+
interval: string;
|
|
7150
|
+
}>;
|
|
7151
|
+
type: zod.ZodEnum<["anchored"]>;
|
|
7152
|
+
}, "strip", zod.ZodTypeAny, {
|
|
7153
|
+
type: "anchored";
|
|
7154
|
+
recurringPeriod: {
|
|
7155
|
+
anchor: Date;
|
|
7156
|
+
interval: string;
|
|
7157
|
+
};
|
|
7158
|
+
}, {
|
|
7159
|
+
type: "anchored";
|
|
7160
|
+
recurringPeriod: {
|
|
7161
|
+
anchor: Date;
|
|
7162
|
+
interval: string;
|
|
7163
|
+
};
|
|
7164
|
+
}>]>>;
|
|
7071
7165
|
interval: zod.ZodDefault<zod.ZodString>;
|
|
7072
7166
|
}, "strip", zod.ZodTypeAny, {
|
|
7167
|
+
interval: string;
|
|
7073
7168
|
alignment: {
|
|
7074
7169
|
type: "subscription";
|
|
7170
|
+
} | {
|
|
7171
|
+
type: "anchored";
|
|
7172
|
+
recurringPeriod: {
|
|
7173
|
+
anchor: Date;
|
|
7174
|
+
interval: string;
|
|
7175
|
+
};
|
|
7075
7176
|
};
|
|
7076
|
-
interval: string;
|
|
7077
7177
|
}, {
|
|
7178
|
+
interval?: string | undefined;
|
|
7078
7179
|
alignment?: {
|
|
7079
7180
|
type: "subscription";
|
|
7181
|
+
} | {
|
|
7182
|
+
type: "anchored";
|
|
7183
|
+
recurringPeriod: {
|
|
7184
|
+
anchor: Date;
|
|
7185
|
+
interval: string;
|
|
7186
|
+
};
|
|
7080
7187
|
} | undefined;
|
|
7081
|
-
interval?: string | undefined;
|
|
7082
7188
|
}>>;
|
|
7083
7189
|
invoicing: zod.ZodOptional<zod.ZodObject<{
|
|
7084
7190
|
autoAdvance: zod.ZodDefault<zod.ZodBoolean>;
|
|
@@ -7188,10 +7294,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7188
7294
|
enforced?: boolean | undefined;
|
|
7189
7295
|
} | undefined;
|
|
7190
7296
|
collection?: {
|
|
7297
|
+
interval: string;
|
|
7191
7298
|
alignment: {
|
|
7192
7299
|
type: "subscription";
|
|
7300
|
+
} | {
|
|
7301
|
+
type: "anchored";
|
|
7302
|
+
recurringPeriod: {
|
|
7303
|
+
anchor: Date;
|
|
7304
|
+
interval: string;
|
|
7305
|
+
};
|
|
7193
7306
|
};
|
|
7194
|
-
interval: string;
|
|
7195
7307
|
} | undefined;
|
|
7196
7308
|
}, {
|
|
7197
7309
|
invoicing?: {
|
|
@@ -7217,10 +7329,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7217
7329
|
enforced?: boolean | undefined;
|
|
7218
7330
|
} | undefined;
|
|
7219
7331
|
collection?: {
|
|
7332
|
+
interval?: string | undefined;
|
|
7220
7333
|
alignment?: {
|
|
7221
7334
|
type: "subscription";
|
|
7335
|
+
} | {
|
|
7336
|
+
type: "anchored";
|
|
7337
|
+
recurringPeriod: {
|
|
7338
|
+
anchor: Date;
|
|
7339
|
+
interval: string;
|
|
7340
|
+
};
|
|
7222
7341
|
} | undefined;
|
|
7223
|
-
interval?: string | undefined;
|
|
7224
7342
|
} | undefined;
|
|
7225
7343
|
}>;
|
|
7226
7344
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7267,10 +7385,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7267
7385
|
enforced?: boolean | undefined;
|
|
7268
7386
|
} | undefined;
|
|
7269
7387
|
collection?: {
|
|
7388
|
+
interval: string;
|
|
7270
7389
|
alignment: {
|
|
7271
7390
|
type: "subscription";
|
|
7391
|
+
} | {
|
|
7392
|
+
type: "anchored";
|
|
7393
|
+
recurringPeriod: {
|
|
7394
|
+
anchor: Date;
|
|
7395
|
+
interval: string;
|
|
7396
|
+
};
|
|
7272
7397
|
};
|
|
7273
|
-
interval: string;
|
|
7274
7398
|
} | undefined;
|
|
7275
7399
|
};
|
|
7276
7400
|
description?: string | undefined;
|
|
@@ -7319,10 +7443,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7319
7443
|
enforced?: boolean | undefined;
|
|
7320
7444
|
} | undefined;
|
|
7321
7445
|
collection?: {
|
|
7446
|
+
interval?: string | undefined;
|
|
7322
7447
|
alignment?: {
|
|
7323
7448
|
type: "subscription";
|
|
7449
|
+
} | {
|
|
7450
|
+
type: "anchored";
|
|
7451
|
+
recurringPeriod: {
|
|
7452
|
+
anchor: Date;
|
|
7453
|
+
interval: string;
|
|
7454
|
+
};
|
|
7324
7455
|
} | undefined;
|
|
7325
|
-
interval?: string | undefined;
|
|
7326
7456
|
} | undefined;
|
|
7327
7457
|
};
|
|
7328
7458
|
description?: string | undefined;
|
|
@@ -7332,15 +7462,15 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7332
7462
|
* Create a new customer.
|
|
7333
7463
|
* @summary Create customer
|
|
7334
7464
|
*/
|
|
7335
|
-
export declare const createCustomerBodyNameMax
|
|
7336
|
-
export declare const createCustomerBodyDescriptionMax
|
|
7337
|
-
export declare const createCustomerBodyKeyMax
|
|
7338
|
-
export declare const createCustomerBodyUsageAttributionSubjectKeysMax
|
|
7339
|
-
export declare const createCustomerBodyCurrencyMinOne
|
|
7340
|
-
export declare const createCustomerBodyCurrencyMaxOne
|
|
7465
|
+
export declare const createCustomerBodyNameMax: 256;
|
|
7466
|
+
export declare const createCustomerBodyDescriptionMax: 1024;
|
|
7467
|
+
export declare const createCustomerBodyKeyMax: 256;
|
|
7468
|
+
export declare const createCustomerBodyUsageAttributionSubjectKeysMax: 1;
|
|
7469
|
+
export declare const createCustomerBodyCurrencyMinOne: 3;
|
|
7470
|
+
export declare const createCustomerBodyCurrencyMaxOne: 3;
|
|
7341
7471
|
export declare const createCustomerBodyCurrencyRegExpOne: RegExp;
|
|
7342
|
-
export declare const createCustomerBodyBillingAddressCountryMinOne
|
|
7343
|
-
export declare const createCustomerBodyBillingAddressCountryMaxOne
|
|
7472
|
+
export declare const createCustomerBodyBillingAddressCountryMinOne: 2;
|
|
7473
|
+
export declare const createCustomerBodyBillingAddressCountryMaxOne: 2;
|
|
7344
7474
|
export declare const createCustomerBodyBillingAddressCountryRegExpOne: RegExp;
|
|
7345
7475
|
export declare const createCustomerBody: zod.ZodObject<{
|
|
7346
7476
|
billingAddress: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -7424,10 +7554,10 @@ export declare const createCustomerBody: zod.ZodObject<{
|
|
|
7424
7554
|
* List customers.
|
|
7425
7555
|
* @summary List customers
|
|
7426
7556
|
*/
|
|
7427
|
-
export declare const listCustomersQueryPageDefault
|
|
7428
|
-
export declare const listCustomersQueryPageSizeDefault
|
|
7429
|
-
export declare const listCustomersQueryPageSizeMax
|
|
7430
|
-
export declare const listCustomersQueryIncludeDeletedDefault
|
|
7557
|
+
export declare const listCustomersQueryPageDefault: 1;
|
|
7558
|
+
export declare const listCustomersQueryPageSizeDefault: 100;
|
|
7559
|
+
export declare const listCustomersQueryPageSizeMax: 1000;
|
|
7560
|
+
export declare const listCustomersQueryIncludeDeletedDefault: false;
|
|
7431
7561
|
export declare const listCustomersQueryParams: zod.ZodObject<{
|
|
7432
7562
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<["subscriptions"]>, "many">>;
|
|
7433
7563
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -7448,9 +7578,9 @@ export declare const listCustomersQueryParams: zod.ZodObject<{
|
|
|
7448
7578
|
subject?: string | undefined;
|
|
7449
7579
|
order?: "ASC" | "DESC" | undefined;
|
|
7450
7580
|
orderBy?: "id" | "createdAt" | "name" | undefined;
|
|
7451
|
-
primaryEmail?: string | undefined;
|
|
7452
7581
|
includeDeleted?: boolean | undefined;
|
|
7453
7582
|
expand?: "subscriptions"[] | undefined;
|
|
7583
|
+
primaryEmail?: string | undefined;
|
|
7454
7584
|
planKey?: string | undefined;
|
|
7455
7585
|
}, {
|
|
7456
7586
|
key?: string | undefined;
|
|
@@ -7460,15 +7590,17 @@ export declare const listCustomersQueryParams: zod.ZodObject<{
|
|
|
7460
7590
|
subject?: string | undefined;
|
|
7461
7591
|
order?: "ASC" | "DESC" | undefined;
|
|
7462
7592
|
orderBy?: "id" | "createdAt" | "name" | undefined;
|
|
7463
|
-
primaryEmail?: string | undefined;
|
|
7464
7593
|
includeDeleted?: boolean | undefined;
|
|
7465
7594
|
expand?: "subscriptions"[] | undefined;
|
|
7595
|
+
primaryEmail?: string | undefined;
|
|
7466
7596
|
planKey?: string | undefined;
|
|
7467
7597
|
}>;
|
|
7468
7598
|
/**
|
|
7469
7599
|
* Get a customer by ID or key.
|
|
7470
7600
|
* @summary Get customer
|
|
7471
7601
|
*/
|
|
7602
|
+
export declare const getCustomerPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7603
|
+
export declare const getCustomerPathCustomerIdOrKeyMaxTwo: 256;
|
|
7472
7604
|
export declare const getCustomerParams: zod.ZodObject<{
|
|
7473
7605
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7474
7606
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7487,6 +7619,8 @@ export declare const getCustomerQueryParams: zod.ZodObject<{
|
|
|
7487
7619
|
* Update a customer by ID.
|
|
7488
7620
|
* @summary Update customer
|
|
7489
7621
|
*/
|
|
7622
|
+
export declare const updateCustomerPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7623
|
+
export declare const updateCustomerPathCustomerIdOrKeyMaxTwo: 256;
|
|
7490
7624
|
export declare const updateCustomerParams: zod.ZodObject<{
|
|
7491
7625
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7492
7626
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7494,15 +7628,15 @@ export declare const updateCustomerParams: zod.ZodObject<{
|
|
|
7494
7628
|
}, {
|
|
7495
7629
|
customerIdOrKey: string;
|
|
7496
7630
|
}>;
|
|
7497
|
-
export declare const updateCustomerBodyNameMax
|
|
7498
|
-
export declare const updateCustomerBodyDescriptionMax
|
|
7499
|
-
export declare const updateCustomerBodyKeyMax
|
|
7500
|
-
export declare const updateCustomerBodyUsageAttributionSubjectKeysMax
|
|
7501
|
-
export declare const updateCustomerBodyCurrencyMinOne
|
|
7502
|
-
export declare const updateCustomerBodyCurrencyMaxOne
|
|
7631
|
+
export declare const updateCustomerBodyNameMax: 256;
|
|
7632
|
+
export declare const updateCustomerBodyDescriptionMax: 1024;
|
|
7633
|
+
export declare const updateCustomerBodyKeyMax: 256;
|
|
7634
|
+
export declare const updateCustomerBodyUsageAttributionSubjectKeysMax: 1;
|
|
7635
|
+
export declare const updateCustomerBodyCurrencyMinOne: 3;
|
|
7636
|
+
export declare const updateCustomerBodyCurrencyMaxOne: 3;
|
|
7503
7637
|
export declare const updateCustomerBodyCurrencyRegExpOne: RegExp;
|
|
7504
|
-
export declare const updateCustomerBodyBillingAddressCountryMinOne
|
|
7505
|
-
export declare const updateCustomerBodyBillingAddressCountryMaxOne
|
|
7638
|
+
export declare const updateCustomerBodyBillingAddressCountryMinOne: 2;
|
|
7639
|
+
export declare const updateCustomerBodyBillingAddressCountryMaxOne: 2;
|
|
7506
7640
|
export declare const updateCustomerBodyBillingAddressCountryRegExpOne: RegExp;
|
|
7507
7641
|
export declare const updateCustomerBody: zod.ZodObject<{
|
|
7508
7642
|
billingAddress: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -7586,6 +7720,8 @@ export declare const updateCustomerBody: zod.ZodObject<{
|
|
|
7586
7720
|
* Delete a customer by ID.
|
|
7587
7721
|
* @summary Delete customer
|
|
7588
7722
|
*/
|
|
7723
|
+
export declare const deleteCustomerPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7724
|
+
export declare const deleteCustomerPathCustomerIdOrKeyMaxTwo: 256;
|
|
7589
7725
|
export declare const deleteCustomerParams: zod.ZodObject<{
|
|
7590
7726
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7591
7727
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7597,6 +7733,8 @@ export declare const deleteCustomerParams: zod.ZodObject<{
|
|
|
7597
7733
|
* Get the overall access of a customer.
|
|
7598
7734
|
* @summary Get customer access
|
|
7599
7735
|
*/
|
|
7736
|
+
export declare const getCustomerAccessPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7737
|
+
export declare const getCustomerAccessPathCustomerIdOrKeyMaxTwo: 256;
|
|
7600
7738
|
export declare const getCustomerAccessParams: zod.ZodObject<{
|
|
7601
7739
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7602
7740
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7608,6 +7746,8 @@ export declare const getCustomerAccessParams: zod.ZodObject<{
|
|
|
7608
7746
|
* List customers app data.
|
|
7609
7747
|
* @summary List customer app data
|
|
7610
7748
|
*/
|
|
7749
|
+
export declare const listCustomerAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7750
|
+
export declare const listCustomerAppDataPathCustomerIdOrKeyMaxTwo: 256;
|
|
7611
7751
|
export declare const listCustomerAppDataParams: zod.ZodObject<{
|
|
7612
7752
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7613
7753
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7615,9 +7755,9 @@ export declare const listCustomerAppDataParams: zod.ZodObject<{
|
|
|
7615
7755
|
}, {
|
|
7616
7756
|
customerIdOrKey: string;
|
|
7617
7757
|
}>;
|
|
7618
|
-
export declare const listCustomerAppDataQueryPageDefault
|
|
7619
|
-
export declare const listCustomerAppDataQueryPageSizeDefault
|
|
7620
|
-
export declare const listCustomerAppDataQueryPageSizeMax
|
|
7758
|
+
export declare const listCustomerAppDataQueryPageDefault: 1;
|
|
7759
|
+
export declare const listCustomerAppDataQueryPageSizeDefault: 100;
|
|
7760
|
+
export declare const listCustomerAppDataQueryPageSizeMax: 1000;
|
|
7621
7761
|
export declare const listCustomerAppDataQueryParams: zod.ZodObject<{
|
|
7622
7762
|
page: zod.ZodDefault<zod.ZodNumber>;
|
|
7623
7763
|
pageSize: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -7635,6 +7775,8 @@ export declare const listCustomerAppDataQueryParams: zod.ZodObject<{
|
|
|
7635
7775
|
* Upsert customer app data.
|
|
7636
7776
|
* @summary Upsert customer app data
|
|
7637
7777
|
*/
|
|
7778
|
+
export declare const upsertCustomerAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7779
|
+
export declare const upsertCustomerAppDataPathCustomerIdOrKeyMaxTwo: 256;
|
|
7638
7780
|
export declare const upsertCustomerAppDataParams: zod.ZodObject<{
|
|
7639
7781
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7640
7782
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -7644,15 +7786,15 @@ export declare const upsertCustomerAppDataParams: zod.ZodObject<{
|
|
|
7644
7786
|
}>;
|
|
7645
7787
|
export declare const upsertCustomerAppDataBodyIdRegExp: RegExp;
|
|
7646
7788
|
export declare const upsertCustomerAppDataBodyAppIdRegExp: RegExp;
|
|
7647
|
-
export declare const upsertCustomerAppDataBodyAppNameMax
|
|
7648
|
-
export declare const upsertCustomerAppDataBodyAppDescriptionMax
|
|
7649
|
-
export declare const upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax
|
|
7789
|
+
export declare const upsertCustomerAppDataBodyAppNameMax: 256;
|
|
7790
|
+
export declare const upsertCustomerAppDataBodyAppDescriptionMax: 1024;
|
|
7791
|
+
export declare const upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax: 64;
|
|
7650
7792
|
export declare const upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp: RegExp;
|
|
7651
7793
|
export declare const upsertCustomerAppDataBodyIdRegExpOne: RegExp;
|
|
7652
7794
|
export declare const upsertCustomerAppDataBodyAppIdRegExpOne: RegExp;
|
|
7653
|
-
export declare const upsertCustomerAppDataBodyAppNameMaxOne
|
|
7654
|
-
export declare const upsertCustomerAppDataBodyAppDescriptionMaxOne
|
|
7655
|
-
export declare const upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne
|
|
7795
|
+
export declare const upsertCustomerAppDataBodyAppNameMaxOne: 256;
|
|
7796
|
+
export declare const upsertCustomerAppDataBodyAppDescriptionMaxOne: 1024;
|
|
7797
|
+
export declare const upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne: 64;
|
|
7656
7798
|
export declare const upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne: RegExp;
|
|
7657
7799
|
export declare const upsertCustomerAppDataBodyIdRegExpTwo: RegExp;
|
|
7658
7800
|
export declare const upsertCustomerAppDataBodyItem: zod.ZodUnion<[zod.ZodObject<{
|
|
@@ -8333,6 +8475,8 @@ export declare const upsertCustomerAppDataBody: zod.ZodArray<zod.ZodUnion<[zod.Z
|
|
|
8333
8475
|
* Delete customer app data.
|
|
8334
8476
|
* @summary Delete customer app data
|
|
8335
8477
|
*/
|
|
8478
|
+
export declare const deleteCustomerAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8479
|
+
export declare const deleteCustomerAppDataPathCustomerIdOrKeyMaxTwo: 256;
|
|
8336
8480
|
export declare const deleteCustomerAppDataPathAppIdRegExp: RegExp;
|
|
8337
8481
|
export declare const deleteCustomerAppDataParams: zod.ZodObject<{
|
|
8338
8482
|
appId: zod.ZodString;
|
|
@@ -8348,7 +8492,9 @@ export declare const deleteCustomerAppDataParams: zod.ZodObject<{
|
|
|
8348
8492
|
* 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.
|
|
8349
8493
|
* @summary Get customer entitlement value
|
|
8350
8494
|
*/
|
|
8351
|
-
export declare const
|
|
8495
|
+
export declare const getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8496
|
+
export declare const getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo: 256;
|
|
8497
|
+
export declare const getCustomerEntitlementValuePathFeatureKeyMax: 64;
|
|
8352
8498
|
export declare const getCustomerEntitlementValuePathFeatureKeyRegExp: RegExp;
|
|
8353
8499
|
export declare const getCustomerEntitlementValueParams: zod.ZodObject<{
|
|
8354
8500
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -8372,6 +8518,8 @@ export declare const getCustomerEntitlementValueQueryParams: zod.ZodObject<{
|
|
|
8372
8518
|
Only returns data if the customer billing profile is linked to a stripe app.
|
|
8373
8519
|
* @summary Get customer stripe app data
|
|
8374
8520
|
*/
|
|
8521
|
+
export declare const getCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8522
|
+
export declare const getCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo: 256;
|
|
8375
8523
|
export declare const getCustomerStripeAppDataParams: zod.ZodObject<{
|
|
8376
8524
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8377
8525
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8384,6 +8532,8 @@ export declare const getCustomerStripeAppDataParams: zod.ZodObject<{
|
|
|
8384
8532
|
Only updates data if the customer billing profile is linked to a stripe app.
|
|
8385
8533
|
* @summary Upsert customer stripe app data
|
|
8386
8534
|
*/
|
|
8535
|
+
export declare const upsertCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8536
|
+
export declare const upsertCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo: 256;
|
|
8387
8537
|
export declare const upsertCustomerStripeAppDataParams: zod.ZodObject<{
|
|
8388
8538
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8389
8539
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8409,6 +8559,8 @@ Useful to redirect the customer to the Stripe customer portal to manage their pa
|
|
|
8409
8559
|
change their billing address and access their invoice history.
|
|
8410
8560
|
* @summary Create Stripe customer portal session
|
|
8411
8561
|
*/
|
|
8562
|
+
export declare const createCustomerStripePortalSessionPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8563
|
+
export declare const createCustomerStripePortalSessionPathCustomerIdOrKeyMaxTwo: 256;
|
|
8412
8564
|
export declare const createCustomerStripePortalSessionParams: zod.ZodObject<{
|
|
8413
8565
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8414
8566
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8433,6 +8585,8 @@ export declare const createCustomerStripePortalSessionBody: zod.ZodObject<{
|
|
|
8433
8585
|
* Lists all subscriptions for a customer.
|
|
8434
8586
|
* @summary List customer subscriptions
|
|
8435
8587
|
*/
|
|
8588
|
+
export declare const listCustomerSubscriptionsPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8589
|
+
export declare const listCustomerSubscriptionsPathCustomerIdOrKeyMaxTwo: 256;
|
|
8436
8590
|
export declare const listCustomerSubscriptionsParams: zod.ZodObject<{
|
|
8437
8591
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8438
8592
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -8440,18 +8594,27 @@ export declare const listCustomerSubscriptionsParams: zod.ZodObject<{
|
|
|
8440
8594
|
}, {
|
|
8441
8595
|
customerIdOrKey: string;
|
|
8442
8596
|
}>;
|
|
8443
|
-
export declare const listCustomerSubscriptionsQueryPageDefault
|
|
8444
|
-
export declare const listCustomerSubscriptionsQueryPageSizeDefault
|
|
8445
|
-
export declare const listCustomerSubscriptionsQueryPageSizeMax
|
|
8597
|
+
export declare const listCustomerSubscriptionsQueryPageDefault: 1;
|
|
8598
|
+
export declare const listCustomerSubscriptionsQueryPageSizeDefault: 100;
|
|
8599
|
+
export declare const listCustomerSubscriptionsQueryPageSizeMax: 1000;
|
|
8446
8600
|
export declare const listCustomerSubscriptionsQueryParams: zod.ZodObject<{
|
|
8601
|
+
order: zod.ZodOptional<zod.ZodEnum<["ASC", "DESC"]>>;
|
|
8602
|
+
orderBy: zod.ZodOptional<zod.ZodEnum<["activeFrom", "activeTo"]>>;
|
|
8447
8603
|
page: zod.ZodDefault<zod.ZodNumber>;
|
|
8448
8604
|
pageSize: zod.ZodDefault<zod.ZodNumber>;
|
|
8605
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<["active", "inactive", "canceled", "scheduled"]>, "many">>;
|
|
8449
8606
|
}, "strip", zod.ZodTypeAny, {
|
|
8450
8607
|
page: number;
|
|
8451
8608
|
pageSize: number;
|
|
8609
|
+
status?: ("active" | "scheduled" | "inactive" | "canceled")[] | undefined;
|
|
8610
|
+
order?: "ASC" | "DESC" | undefined;
|
|
8611
|
+
orderBy?: "activeFrom" | "activeTo" | undefined;
|
|
8452
8612
|
}, {
|
|
8613
|
+
status?: ("active" | "scheduled" | "inactive" | "canceled")[] | undefined;
|
|
8453
8614
|
page?: number | undefined;
|
|
8454
8615
|
pageSize?: number | undefined;
|
|
8616
|
+
order?: "ASC" | "DESC" | undefined;
|
|
8617
|
+
orderBy?: "activeFrom" | "activeTo" | undefined;
|
|
8455
8618
|
}>;
|
|
8456
8619
|
/**
|
|
8457
8620
|
* List all entitlements for all the subjects and features. This endpoint is intended for administrative purposes only.
|
|
@@ -8459,14 +8622,14 @@ To fetch the entitlements of a specific subject please use the /api/v1/subjects/
|
|
|
8459
8622
|
If page is provided that takes precedence and the paginated response is returned.
|
|
8460
8623
|
* @summary List all entitlements
|
|
8461
8624
|
*/
|
|
8462
|
-
export declare const listEntitlementsQueryExcludeInactiveDefault
|
|
8463
|
-
export declare const listEntitlementsQueryPageDefault
|
|
8464
|
-
export declare const listEntitlementsQueryPageSizeDefault
|
|
8465
|
-
export declare const listEntitlementsQueryPageSizeMax
|
|
8466
|
-
export declare const listEntitlementsQueryOffsetDefault
|
|
8467
|
-
export declare const listEntitlementsQueryOffsetMin
|
|
8468
|
-
export declare const listEntitlementsQueryLimitDefault
|
|
8469
|
-
export declare const listEntitlementsQueryLimitMax
|
|
8625
|
+
export declare const listEntitlementsQueryExcludeInactiveDefault: false;
|
|
8626
|
+
export declare const listEntitlementsQueryPageDefault: 1;
|
|
8627
|
+
export declare const listEntitlementsQueryPageSizeDefault: 100;
|
|
8628
|
+
export declare const listEntitlementsQueryPageSizeMax: 1000;
|
|
8629
|
+
export declare const listEntitlementsQueryOffsetDefault: 0;
|
|
8630
|
+
export declare const listEntitlementsQueryOffsetMin: 0;
|
|
8631
|
+
export declare const listEntitlementsQueryLimitDefault: 100;
|
|
8632
|
+
export declare const listEntitlementsQueryLimitMax: 1000;
|
|
8470
8633
|
export declare const listEntitlementsQueryParams: zod.ZodObject<{
|
|
8471
8634
|
entitlementType: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<["metered", "boolean", "static"]>, "many">>;
|
|
8472
8635
|
excludeInactive: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -8519,10 +8682,10 @@ export declare const getEntitlementByIdParams: zod.ZodObject<{
|
|
|
8519
8682
|
If the from query param is not provided it defaults to last 72 hours.
|
|
8520
8683
|
* @summary List ingested events
|
|
8521
8684
|
*/
|
|
8522
|
-
export declare const listEventsQueryClientIdMax
|
|
8685
|
+
export declare const listEventsQueryClientIdMax: 36;
|
|
8523
8686
|
export declare const listEventsQueryCustomerIdItemRegExp: RegExp;
|
|
8524
|
-
export declare const listEventsQueryLimitDefault
|
|
8525
|
-
export declare const listEventsQueryLimitMax
|
|
8687
|
+
export declare const listEventsQueryLimitDefault: 100;
|
|
8688
|
+
export declare const listEventsQueryLimitMax: 100;
|
|
8526
8689
|
export declare const listEventsQueryParams: zod.ZodObject<{
|
|
8527
8690
|
clientId: zod.ZodOptional<zod.ZodString>;
|
|
8528
8691
|
customerId: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -8558,8 +8721,8 @@ export declare const listEventsQueryParams: zod.ZodObject<{
|
|
|
8558
8721
|
* Ingests an event or batch of events following the CloudEvents specification.
|
|
8559
8722
|
* @summary Ingest events
|
|
8560
8723
|
*/
|
|
8561
|
-
export declare const ingestEventsBodySpecversionDefault
|
|
8562
|
-
export declare const ingestEventsBodyItemSpecversionDefault
|
|
8724
|
+
export declare const ingestEventsBodySpecversionDefault: "1.0";
|
|
8725
|
+
export declare const ingestEventsBodyItemSpecversionDefault: "1.0";
|
|
8563
8726
|
export declare const ingestEventsBody: zod.ZodUnion<[zod.ZodObject<{
|
|
8564
8727
|
data: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
|
|
8565
8728
|
datacontenttype: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<["application/json"]>>>;
|
|
@@ -8625,14 +8788,14 @@ export declare const ingestEventsBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
8625
8788
|
* List features.
|
|
8626
8789
|
* @summary List features
|
|
8627
8790
|
*/
|
|
8628
|
-
export declare const listFeaturesQueryIncludeArchivedDefault
|
|
8629
|
-
export declare const listFeaturesQueryPageDefault
|
|
8630
|
-
export declare const listFeaturesQueryPageSizeDefault
|
|
8631
|
-
export declare const listFeaturesQueryPageSizeMax
|
|
8632
|
-
export declare const listFeaturesQueryOffsetDefault
|
|
8633
|
-
export declare const listFeaturesQueryOffsetMin
|
|
8634
|
-
export declare const listFeaturesQueryLimitDefault
|
|
8635
|
-
export declare const listFeaturesQueryLimitMax
|
|
8791
|
+
export declare const listFeaturesQueryIncludeArchivedDefault: false;
|
|
8792
|
+
export declare const listFeaturesQueryPageDefault: 1;
|
|
8793
|
+
export declare const listFeaturesQueryPageSizeDefault: 100;
|
|
8794
|
+
export declare const listFeaturesQueryPageSizeMax: 1000;
|
|
8795
|
+
export declare const listFeaturesQueryOffsetDefault: 0;
|
|
8796
|
+
export declare const listFeaturesQueryOffsetMin: 0;
|
|
8797
|
+
export declare const listFeaturesQueryLimitDefault: 100;
|
|
8798
|
+
export declare const listFeaturesQueryLimitMax: 1000;
|
|
8636
8799
|
export declare const listFeaturesQueryParams: zod.ZodObject<{
|
|
8637
8800
|
includeArchived: zod.ZodOptional<zod.ZodBoolean>;
|
|
8638
8801
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -8668,11 +8831,57 @@ Only meters with SUM and COUNT aggregation are supported for features.
|
|
|
8668
8831
|
Features cannot be updated later, only archived.
|
|
8669
8832
|
* @summary Create feature
|
|
8670
8833
|
*/
|
|
8671
|
-
export declare const createFeatureBodyKeyMax
|
|
8834
|
+
export declare const createFeatureBodyKeyMax: 64;
|
|
8672
8835
|
export declare const createFeatureBodyKeyRegExp: RegExp;
|
|
8673
|
-
export declare const createFeatureBodyMeterSlugMax
|
|
8836
|
+
export declare const createFeatureBodyMeterSlugMax: 64;
|
|
8674
8837
|
export declare const createFeatureBodyMeterSlugRegExp: RegExp;
|
|
8675
8838
|
export declare const createFeatureBody: zod.ZodObject<{
|
|
8839
|
+
advancedMeterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
8840
|
+
$and: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
8841
|
+
$eq: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8842
|
+
$gt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8843
|
+
$gte: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8844
|
+
$ilike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8845
|
+
$in: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
8846
|
+
$like: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8847
|
+
$lt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8848
|
+
$lte: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8849
|
+
$ne: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8850
|
+
$nilike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8851
|
+
$nin: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
8852
|
+
$nlike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8853
|
+
$or: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
8854
|
+
}, "strip", zod.ZodTypeAny, {
|
|
8855
|
+
$and?: any[] | null | undefined;
|
|
8856
|
+
$eq?: string | null | undefined;
|
|
8857
|
+
$gt?: string | null | undefined;
|
|
8858
|
+
$gte?: string | null | undefined;
|
|
8859
|
+
$ilike?: string | null | undefined;
|
|
8860
|
+
$in?: string[] | null | undefined;
|
|
8861
|
+
$like?: string | null | undefined;
|
|
8862
|
+
$lt?: string | null | undefined;
|
|
8863
|
+
$lte?: string | null | undefined;
|
|
8864
|
+
$ne?: string | null | undefined;
|
|
8865
|
+
$nilike?: string | null | undefined;
|
|
8866
|
+
$nin?: string[] | null | undefined;
|
|
8867
|
+
$nlike?: string | null | undefined;
|
|
8868
|
+
$or?: any[] | null | undefined;
|
|
8869
|
+
}, {
|
|
8870
|
+
$and?: any[] | null | undefined;
|
|
8871
|
+
$eq?: string | null | undefined;
|
|
8872
|
+
$gt?: string | null | undefined;
|
|
8873
|
+
$gte?: string | null | undefined;
|
|
8874
|
+
$ilike?: string | null | undefined;
|
|
8875
|
+
$in?: string[] | null | undefined;
|
|
8876
|
+
$like?: string | null | undefined;
|
|
8877
|
+
$lt?: string | null | undefined;
|
|
8878
|
+
$lte?: string | null | undefined;
|
|
8879
|
+
$ne?: string | null | undefined;
|
|
8880
|
+
$nilike?: string | null | undefined;
|
|
8881
|
+
$nin?: string[] | null | undefined;
|
|
8882
|
+
$nlike?: string | null | undefined;
|
|
8883
|
+
$or?: any[] | null | undefined;
|
|
8884
|
+
}>>>;
|
|
8676
8885
|
key: zod.ZodString;
|
|
8677
8886
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
8678
8887
|
meterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -8683,12 +8892,44 @@ export declare const createFeatureBody: zod.ZodObject<{
|
|
|
8683
8892
|
name: string;
|
|
8684
8893
|
meterSlug?: string | undefined;
|
|
8685
8894
|
metadata?: Record<string, string> | undefined;
|
|
8895
|
+
advancedMeterGroupByFilters?: Record<string, {
|
|
8896
|
+
$and?: any[] | null | undefined;
|
|
8897
|
+
$eq?: string | null | undefined;
|
|
8898
|
+
$gt?: string | null | undefined;
|
|
8899
|
+
$gte?: string | null | undefined;
|
|
8900
|
+
$ilike?: string | null | undefined;
|
|
8901
|
+
$in?: string[] | null | undefined;
|
|
8902
|
+
$like?: string | null | undefined;
|
|
8903
|
+
$lt?: string | null | undefined;
|
|
8904
|
+
$lte?: string | null | undefined;
|
|
8905
|
+
$ne?: string | null | undefined;
|
|
8906
|
+
$nilike?: string | null | undefined;
|
|
8907
|
+
$nin?: string[] | null | undefined;
|
|
8908
|
+
$nlike?: string | null | undefined;
|
|
8909
|
+
$or?: any[] | null | undefined;
|
|
8910
|
+
}> | undefined;
|
|
8686
8911
|
meterGroupByFilters?: Record<string, string> | undefined;
|
|
8687
8912
|
}, {
|
|
8688
8913
|
key: string;
|
|
8689
8914
|
name: string;
|
|
8690
8915
|
meterSlug?: string | undefined;
|
|
8691
8916
|
metadata?: Record<string, string> | undefined;
|
|
8917
|
+
advancedMeterGroupByFilters?: Record<string, {
|
|
8918
|
+
$and?: any[] | null | undefined;
|
|
8919
|
+
$eq?: string | null | undefined;
|
|
8920
|
+
$gt?: string | null | undefined;
|
|
8921
|
+
$gte?: string | null | undefined;
|
|
8922
|
+
$ilike?: string | null | undefined;
|
|
8923
|
+
$in?: string[] | null | undefined;
|
|
8924
|
+
$like?: string | null | undefined;
|
|
8925
|
+
$lt?: string | null | undefined;
|
|
8926
|
+
$lte?: string | null | undefined;
|
|
8927
|
+
$ne?: string | null | undefined;
|
|
8928
|
+
$nilike?: string | null | undefined;
|
|
8929
|
+
$nin?: string[] | null | undefined;
|
|
8930
|
+
$nlike?: string | null | undefined;
|
|
8931
|
+
$or?: any[] | null | undefined;
|
|
8932
|
+
}> | undefined;
|
|
8692
8933
|
meterGroupByFilters?: Record<string, string> | undefined;
|
|
8693
8934
|
}>;
|
|
8694
8935
|
/**
|
|
@@ -8722,14 +8963,14 @@ To fetch the grants of a specific entitlement please use the /api/v1/subjects/{s
|
|
|
8722
8963
|
If page is provided that takes precedence and the paginated response is returned.
|
|
8723
8964
|
* @summary List grants
|
|
8724
8965
|
*/
|
|
8725
|
-
export declare const listGrantsQueryIncludeDeletedDefault
|
|
8726
|
-
export declare const listGrantsQueryPageDefault
|
|
8727
|
-
export declare const listGrantsQueryPageSizeDefault
|
|
8728
|
-
export declare const listGrantsQueryPageSizeMax
|
|
8729
|
-
export declare const listGrantsQueryOffsetDefault
|
|
8730
|
-
export declare const listGrantsQueryOffsetMin
|
|
8731
|
-
export declare const listGrantsQueryLimitDefault
|
|
8732
|
-
export declare const listGrantsQueryLimitMax
|
|
8966
|
+
export declare const listGrantsQueryIncludeDeletedDefault: false;
|
|
8967
|
+
export declare const listGrantsQueryPageDefault: 1;
|
|
8968
|
+
export declare const listGrantsQueryPageSizeDefault: 100;
|
|
8969
|
+
export declare const listGrantsQueryPageSizeMax: 1000;
|
|
8970
|
+
export declare const listGrantsQueryOffsetDefault: 0;
|
|
8971
|
+
export declare const listGrantsQueryOffsetMin: 0;
|
|
8972
|
+
export declare const listGrantsQueryLimitDefault: 100;
|
|
8973
|
+
export declare const listGrantsQueryLimitMax: 1000;
|
|
8733
8974
|
export declare const listGrantsQueryParams: zod.ZodObject<{
|
|
8734
8975
|
feature: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
8735
8976
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -8788,9 +9029,9 @@ export declare const getProgressParams: zod.ZodObject<{
|
|
|
8788
9029
|
* List available apps of the app marketplace.
|
|
8789
9030
|
* @summary List available apps
|
|
8790
9031
|
*/
|
|
8791
|
-
export declare const listMarketplaceListingsQueryPageDefault
|
|
8792
|
-
export declare const listMarketplaceListingsQueryPageSizeDefault
|
|
8793
|
-
export declare const listMarketplaceListingsQueryPageSizeMax
|
|
9032
|
+
export declare const listMarketplaceListingsQueryPageDefault: 1;
|
|
9033
|
+
export declare const listMarketplaceListingsQueryPageSizeDefault: 100;
|
|
9034
|
+
export declare const listMarketplaceListingsQueryPageSizeMax: 1000;
|
|
8794
9035
|
export declare const listMarketplaceListingsQueryParams: zod.ZodObject<{
|
|
8795
9036
|
page: zod.ZodDefault<zod.ZodNumber>;
|
|
8796
9037
|
pageSize: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -8823,7 +9064,7 @@ export declare const marketplaceAppInstallParams: zod.ZodObject<{
|
|
|
8823
9064
|
}, {
|
|
8824
9065
|
type: "stripe" | "sandbox" | "custom_invoicing";
|
|
8825
9066
|
}>;
|
|
8826
|
-
export declare const marketplaceAppInstallBodyCreateBillingProfileDefault
|
|
9067
|
+
export declare const marketplaceAppInstallBodyCreateBillingProfileDefault: true;
|
|
8827
9068
|
export declare const marketplaceAppInstallBody: zod.ZodObject<{
|
|
8828
9069
|
createBillingProfile: zod.ZodDefault<zod.ZodBoolean>;
|
|
8829
9070
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8845,7 +9086,7 @@ export declare const marketplaceAppAPIKeyInstallParams: zod.ZodObject<{
|
|
|
8845
9086
|
}, {
|
|
8846
9087
|
type: "stripe" | "sandbox" | "custom_invoicing";
|
|
8847
9088
|
}>;
|
|
8848
|
-
export declare const marketplaceAppAPIKeyInstallBodyCreateBillingProfileDefault
|
|
9089
|
+
export declare const marketplaceAppAPIKeyInstallBodyCreateBillingProfileDefault: true;
|
|
8849
9090
|
export declare const marketplaceAppAPIKeyInstallBody: zod.ZodObject<{
|
|
8850
9091
|
apiKey: zod.ZodString;
|
|
8851
9092
|
createBillingProfile: zod.ZodDefault<zod.ZodBoolean>;
|
|
@@ -8906,10 +9147,10 @@ export declare const marketplaceOAuth2InstallAuthorizeQueryParams: zod.ZodObject
|
|
|
8906
9147
|
* List meters.
|
|
8907
9148
|
* @summary List meters
|
|
8908
9149
|
*/
|
|
8909
|
-
export declare const listMetersQueryPageDefault
|
|
8910
|
-
export declare const listMetersQueryPageSizeDefault
|
|
8911
|
-
export declare const listMetersQueryPageSizeMax
|
|
8912
|
-
export declare const listMetersQueryIncludeDeletedDefault
|
|
9150
|
+
export declare const listMetersQueryPageDefault: 1;
|
|
9151
|
+
export declare const listMetersQueryPageSizeDefault: 100;
|
|
9152
|
+
export declare const listMetersQueryPageSizeMax: 1000;
|
|
9153
|
+
export declare const listMetersQueryIncludeDeletedDefault: false;
|
|
8913
9154
|
export declare const listMetersQueryParams: zod.ZodObject<{
|
|
8914
9155
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
8915
9156
|
order: zod.ZodOptional<zod.ZodEnum<["ASC", "DESC"]>>;
|
|
@@ -8933,9 +9174,9 @@ export declare const listMetersQueryParams: zod.ZodObject<{
|
|
|
8933
9174
|
* Create a meter.
|
|
8934
9175
|
* @summary Create meter
|
|
8935
9176
|
*/
|
|
8936
|
-
export declare const createMeterBodyDescriptionMax
|
|
8937
|
-
export declare const createMeterBodyNameMax
|
|
8938
|
-
export declare const createMeterBodySlugMax
|
|
9177
|
+
export declare const createMeterBodyDescriptionMax: 1024;
|
|
9178
|
+
export declare const createMeterBodyNameMax: 256;
|
|
9179
|
+
export declare const createMeterBodySlugMax: 64;
|
|
8939
9180
|
export declare const createMeterBodySlugRegExp: RegExp;
|
|
8940
9181
|
export declare const createMeterBody: zod.ZodObject<{
|
|
8941
9182
|
aggregation: zod.ZodEnum<["SUM", "COUNT", "UNIQUE_COUNT", "AVG", "MIN", "MAX", "LATEST"]>;
|
|
@@ -8972,7 +9213,7 @@ export declare const createMeterBody: zod.ZodObject<{
|
|
|
8972
9213
|
* Get a meter by ID or slug.
|
|
8973
9214
|
* @summary Get meter
|
|
8974
9215
|
*/
|
|
8975
|
-
export declare const getMeterPathMeterIdOrSlugMax
|
|
9216
|
+
export declare const getMeterPathMeterIdOrSlugMax: 64;
|
|
8976
9217
|
export declare const getMeterPathMeterIdOrSlugRegExp: RegExp;
|
|
8977
9218
|
export declare const getMeterParams: zod.ZodObject<{
|
|
8978
9219
|
meterIdOrSlug: zod.ZodString;
|
|
@@ -8985,7 +9226,7 @@ export declare const getMeterParams: zod.ZodObject<{
|
|
|
8985
9226
|
* Update a meter.
|
|
8986
9227
|
* @summary Update meter
|
|
8987
9228
|
*/
|
|
8988
|
-
export declare const updateMeterPathMeterIdOrSlugMax
|
|
9229
|
+
export declare const updateMeterPathMeterIdOrSlugMax: 64;
|
|
8989
9230
|
export declare const updateMeterPathMeterIdOrSlugRegExp: RegExp;
|
|
8990
9231
|
export declare const updateMeterParams: zod.ZodObject<{
|
|
8991
9232
|
meterIdOrSlug: zod.ZodString;
|
|
@@ -8994,8 +9235,8 @@ export declare const updateMeterParams: zod.ZodObject<{
|
|
|
8994
9235
|
}, {
|
|
8995
9236
|
meterIdOrSlug: string;
|
|
8996
9237
|
}>;
|
|
8997
|
-
export declare const updateMeterBodyDescriptionMax
|
|
8998
|
-
export declare const updateMeterBodyNameMax
|
|
9238
|
+
export declare const updateMeterBodyDescriptionMax: 1024;
|
|
9239
|
+
export declare const updateMeterBodyNameMax: 256;
|
|
8999
9240
|
export declare const updateMeterBody: zod.ZodObject<{
|
|
9000
9241
|
description: zod.ZodOptional<zod.ZodString>;
|
|
9001
9242
|
groupBy: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -9016,7 +9257,7 @@ export declare const updateMeterBody: zod.ZodObject<{
|
|
|
9016
9257
|
* Delete a meter.
|
|
9017
9258
|
* @summary Delete meter
|
|
9018
9259
|
*/
|
|
9019
|
-
export declare const deleteMeterPathMeterIdOrSlugMax
|
|
9260
|
+
export declare const deleteMeterPathMeterIdOrSlugMax: 64;
|
|
9020
9261
|
export declare const deleteMeterPathMeterIdOrSlugRegExp: RegExp;
|
|
9021
9262
|
export declare const deleteMeterParams: zod.ZodObject<{
|
|
9022
9263
|
meterIdOrSlug: zod.ZodString;
|
|
@@ -9025,11 +9266,37 @@ export declare const deleteMeterParams: zod.ZodObject<{
|
|
|
9025
9266
|
}, {
|
|
9026
9267
|
meterIdOrSlug: string;
|
|
9027
9268
|
}>;
|
|
9269
|
+
/**
|
|
9270
|
+
* List meter group by values.
|
|
9271
|
+
* @summary List meter group by values
|
|
9272
|
+
*/
|
|
9273
|
+
export declare const listMeterGroupByValuesPathMeterIdOrSlugMax: 64;
|
|
9274
|
+
export declare const listMeterGroupByValuesPathMeterIdOrSlugRegExp: RegExp;
|
|
9275
|
+
export declare const listMeterGroupByValuesParams: zod.ZodObject<{
|
|
9276
|
+
groupByKey: zod.ZodString;
|
|
9277
|
+
meterIdOrSlug: zod.ZodString;
|
|
9278
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9279
|
+
meterIdOrSlug: string;
|
|
9280
|
+
groupByKey: string;
|
|
9281
|
+
}, {
|
|
9282
|
+
meterIdOrSlug: string;
|
|
9283
|
+
groupByKey: string;
|
|
9284
|
+
}>;
|
|
9285
|
+
export declare const listMeterGroupByValuesQueryParams: zod.ZodObject<{
|
|
9286
|
+
from: zod.ZodOptional<zod.ZodDate>;
|
|
9287
|
+
to: zod.ZodOptional<zod.ZodDate>;
|
|
9288
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9289
|
+
from?: Date | undefined;
|
|
9290
|
+
to?: Date | undefined;
|
|
9291
|
+
}, {
|
|
9292
|
+
from?: Date | undefined;
|
|
9293
|
+
to?: Date | undefined;
|
|
9294
|
+
}>;
|
|
9028
9295
|
/**
|
|
9029
9296
|
* Query meter for usage.
|
|
9030
9297
|
* @summary Query meter
|
|
9031
9298
|
*/
|
|
9032
|
-
export declare const queryMeterPathMeterIdOrSlugMax
|
|
9299
|
+
export declare const queryMeterPathMeterIdOrSlugMax: 64;
|
|
9033
9300
|
export declare const queryMeterPathMeterIdOrSlugRegExp: RegExp;
|
|
9034
9301
|
export declare const queryMeterParams: zod.ZodObject<{
|
|
9035
9302
|
meterIdOrSlug: zod.ZodString;
|
|
@@ -9038,9 +9305,9 @@ export declare const queryMeterParams: zod.ZodObject<{
|
|
|
9038
9305
|
}, {
|
|
9039
9306
|
meterIdOrSlug: string;
|
|
9040
9307
|
}>;
|
|
9041
|
-
export declare const queryMeterQueryClientIdMax
|
|
9042
|
-
export declare const queryMeterQueryWindowTimeZoneDefault
|
|
9043
|
-
export declare const queryMeterQueryFilterCustomerIdMax
|
|
9308
|
+
export declare const queryMeterQueryClientIdMax: 36;
|
|
9309
|
+
export declare const queryMeterQueryWindowTimeZoneDefault: "UTC";
|
|
9310
|
+
export declare const queryMeterQueryFilterCustomerIdMax: 100;
|
|
9044
9311
|
export declare const queryMeterQueryParams: zod.ZodObject<{
|
|
9045
9312
|
clientId: zod.ZodOptional<zod.ZodString>;
|
|
9046
9313
|
filterCustomerId: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -9057,8 +9324,8 @@ export declare const queryMeterQueryParams: zod.ZodObject<{
|
|
|
9057
9324
|
from?: Date | undefined;
|
|
9058
9325
|
to?: Date | undefined;
|
|
9059
9326
|
subject?: string[] | undefined;
|
|
9060
|
-
groupBy?: string[] | undefined;
|
|
9061
9327
|
clientId?: string | undefined;
|
|
9328
|
+
groupBy?: string[] | undefined;
|
|
9062
9329
|
filterCustomerId?: string[] | undefined;
|
|
9063
9330
|
filterGroupBy?: Record<string, string> | undefined;
|
|
9064
9331
|
}, {
|
|
@@ -9067,15 +9334,15 @@ export declare const queryMeterQueryParams: zod.ZodObject<{
|
|
|
9067
9334
|
to?: Date | undefined;
|
|
9068
9335
|
windowTimeZone?: string | undefined;
|
|
9069
9336
|
subject?: string[] | undefined;
|
|
9070
|
-
groupBy?: string[] | undefined;
|
|
9071
9337
|
clientId?: string | undefined;
|
|
9338
|
+
groupBy?: string[] | undefined;
|
|
9072
9339
|
filterCustomerId?: string[] | undefined;
|
|
9073
9340
|
filterGroupBy?: Record<string, string> | undefined;
|
|
9074
9341
|
}>;
|
|
9075
9342
|
/**
|
|
9076
9343
|
* @summary Query meter
|
|
9077
9344
|
*/
|
|
9078
|
-
export declare const queryMeterPostPathMeterIdOrSlugMax
|
|
9345
|
+
export declare const queryMeterPostPathMeterIdOrSlugMax: 64;
|
|
9079
9346
|
export declare const queryMeterPostPathMeterIdOrSlugRegExp: RegExp;
|
|
9080
9347
|
export declare const queryMeterPostParams: zod.ZodObject<{
|
|
9081
9348
|
meterIdOrSlug: zod.ZodString;
|
|
@@ -9084,12 +9351,58 @@ export declare const queryMeterPostParams: zod.ZodObject<{
|
|
|
9084
9351
|
}, {
|
|
9085
9352
|
meterIdOrSlug: string;
|
|
9086
9353
|
}>;
|
|
9087
|
-
export declare const queryMeterPostBodyClientIdMax
|
|
9088
|
-
export declare const queryMeterPostBodyWindowTimeZoneDefault
|
|
9089
|
-
export declare const queryMeterPostBodySubjectMax
|
|
9090
|
-
export declare const queryMeterPostBodyFilterCustomerIdMax
|
|
9091
|
-
export declare const queryMeterPostBodyGroupByMax
|
|
9354
|
+
export declare const queryMeterPostBodyClientIdMax: 36;
|
|
9355
|
+
export declare const queryMeterPostBodyWindowTimeZoneDefault: "UTC";
|
|
9356
|
+
export declare const queryMeterPostBodySubjectMax: 100;
|
|
9357
|
+
export declare const queryMeterPostBodyFilterCustomerIdMax: 100;
|
|
9358
|
+
export declare const queryMeterPostBodyGroupByMax: 100;
|
|
9092
9359
|
export declare const queryMeterPostBody: zod.ZodObject<{
|
|
9360
|
+
advancedMeterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
9361
|
+
$and: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
9362
|
+
$eq: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9363
|
+
$gt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9364
|
+
$gte: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9365
|
+
$ilike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9366
|
+
$in: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
9367
|
+
$like: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9368
|
+
$lt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9369
|
+
$lte: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9370
|
+
$ne: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9371
|
+
$nilike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9372
|
+
$nin: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
9373
|
+
$nlike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9374
|
+
$or: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
9375
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9376
|
+
$and?: any[] | null | undefined;
|
|
9377
|
+
$eq?: string | null | undefined;
|
|
9378
|
+
$gt?: string | null | undefined;
|
|
9379
|
+
$gte?: string | null | undefined;
|
|
9380
|
+
$ilike?: string | null | undefined;
|
|
9381
|
+
$in?: string[] | null | undefined;
|
|
9382
|
+
$like?: string | null | undefined;
|
|
9383
|
+
$lt?: string | null | undefined;
|
|
9384
|
+
$lte?: string | null | undefined;
|
|
9385
|
+
$ne?: string | null | undefined;
|
|
9386
|
+
$nilike?: string | null | undefined;
|
|
9387
|
+
$nin?: string[] | null | undefined;
|
|
9388
|
+
$nlike?: string | null | undefined;
|
|
9389
|
+
$or?: any[] | null | undefined;
|
|
9390
|
+
}, {
|
|
9391
|
+
$and?: any[] | null | undefined;
|
|
9392
|
+
$eq?: string | null | undefined;
|
|
9393
|
+
$gt?: string | null | undefined;
|
|
9394
|
+
$gte?: string | null | undefined;
|
|
9395
|
+
$ilike?: string | null | undefined;
|
|
9396
|
+
$in?: string[] | null | undefined;
|
|
9397
|
+
$like?: string | null | undefined;
|
|
9398
|
+
$lt?: string | null | undefined;
|
|
9399
|
+
$lte?: string | null | undefined;
|
|
9400
|
+
$ne?: string | null | undefined;
|
|
9401
|
+
$nilike?: string | null | undefined;
|
|
9402
|
+
$nin?: string[] | null | undefined;
|
|
9403
|
+
$nlike?: string | null | undefined;
|
|
9404
|
+
$or?: any[] | null | undefined;
|
|
9405
|
+
}>>>;
|
|
9093
9406
|
clientId: zod.ZodOptional<zod.ZodString>;
|
|
9094
9407
|
filterCustomerId: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9095
9408
|
filterGroupBy: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.ZodString, "many">>>;
|
|
@@ -9105,8 +9418,24 @@ export declare const queryMeterPostBody: zod.ZodObject<{
|
|
|
9105
9418
|
from?: Date | undefined;
|
|
9106
9419
|
to?: Date | undefined;
|
|
9107
9420
|
subject?: string[] | undefined;
|
|
9108
|
-
groupBy?: string[] | undefined;
|
|
9109
9421
|
clientId?: string | undefined;
|
|
9422
|
+
advancedMeterGroupByFilters?: Record<string, {
|
|
9423
|
+
$and?: any[] | null | undefined;
|
|
9424
|
+
$eq?: string | null | undefined;
|
|
9425
|
+
$gt?: string | null | undefined;
|
|
9426
|
+
$gte?: string | null | undefined;
|
|
9427
|
+
$ilike?: string | null | undefined;
|
|
9428
|
+
$in?: string[] | null | undefined;
|
|
9429
|
+
$like?: string | null | undefined;
|
|
9430
|
+
$lt?: string | null | undefined;
|
|
9431
|
+
$lte?: string | null | undefined;
|
|
9432
|
+
$ne?: string | null | undefined;
|
|
9433
|
+
$nilike?: string | null | undefined;
|
|
9434
|
+
$nin?: string[] | null | undefined;
|
|
9435
|
+
$nlike?: string | null | undefined;
|
|
9436
|
+
$or?: any[] | null | undefined;
|
|
9437
|
+
}> | undefined;
|
|
9438
|
+
groupBy?: string[] | undefined;
|
|
9110
9439
|
filterCustomerId?: string[] | undefined;
|
|
9111
9440
|
filterGroupBy?: Record<string, string[]> | undefined;
|
|
9112
9441
|
}, {
|
|
@@ -9115,8 +9444,24 @@ export declare const queryMeterPostBody: zod.ZodObject<{
|
|
|
9115
9444
|
to?: Date | undefined;
|
|
9116
9445
|
windowTimeZone?: string | undefined;
|
|
9117
9446
|
subject?: string[] | undefined;
|
|
9118
|
-
groupBy?: string[] | undefined;
|
|
9119
9447
|
clientId?: string | undefined;
|
|
9448
|
+
advancedMeterGroupByFilters?: Record<string, {
|
|
9449
|
+
$and?: any[] | null | undefined;
|
|
9450
|
+
$eq?: string | null | undefined;
|
|
9451
|
+
$gt?: string | null | undefined;
|
|
9452
|
+
$gte?: string | null | undefined;
|
|
9453
|
+
$ilike?: string | null | undefined;
|
|
9454
|
+
$in?: string[] | null | undefined;
|
|
9455
|
+
$like?: string | null | undefined;
|
|
9456
|
+
$lt?: string | null | undefined;
|
|
9457
|
+
$lte?: string | null | undefined;
|
|
9458
|
+
$ne?: string | null | undefined;
|
|
9459
|
+
$nilike?: string | null | undefined;
|
|
9460
|
+
$nin?: string[] | null | undefined;
|
|
9461
|
+
$nlike?: string | null | undefined;
|
|
9462
|
+
$or?: any[] | null | undefined;
|
|
9463
|
+
}> | undefined;
|
|
9464
|
+
groupBy?: string[] | undefined;
|
|
9120
9465
|
filterCustomerId?: string[] | undefined;
|
|
9121
9466
|
filterGroupBy?: Record<string, string[]> | undefined;
|
|
9122
9467
|
}>;
|
|
@@ -9124,7 +9469,7 @@ export declare const queryMeterPostBody: zod.ZodObject<{
|
|
|
9124
9469
|
* List subjects for a meter.
|
|
9125
9470
|
* @summary List meter subjects
|
|
9126
9471
|
*/
|
|
9127
|
-
export declare const listMeterSubjectsPathMeterIdOrSlugMax
|
|
9472
|
+
export declare const listMeterSubjectsPathMeterIdOrSlugMax: 64;
|
|
9128
9473
|
export declare const listMeterSubjectsPathMeterIdOrSlugRegExp: RegExp;
|
|
9129
9474
|
export declare const listMeterSubjectsParams: zod.ZodObject<{
|
|
9130
9475
|
meterIdOrSlug: zod.ZodString;
|
|
@@ -9133,15 +9478,25 @@ export declare const listMeterSubjectsParams: zod.ZodObject<{
|
|
|
9133
9478
|
}, {
|
|
9134
9479
|
meterIdOrSlug: string;
|
|
9135
9480
|
}>;
|
|
9481
|
+
export declare const listMeterSubjectsQueryParams: zod.ZodObject<{
|
|
9482
|
+
from: zod.ZodOptional<zod.ZodDate>;
|
|
9483
|
+
to: zod.ZodOptional<zod.ZodDate>;
|
|
9484
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9485
|
+
from?: Date | undefined;
|
|
9486
|
+
to?: Date | undefined;
|
|
9487
|
+
}, {
|
|
9488
|
+
from?: Date | undefined;
|
|
9489
|
+
to?: Date | undefined;
|
|
9490
|
+
}>;
|
|
9136
9491
|
/**
|
|
9137
9492
|
* List all notification channels.
|
|
9138
9493
|
* @summary List notification channels
|
|
9139
9494
|
*/
|
|
9140
|
-
export declare const listNotificationChannelsQueryIncludeDeletedDefault
|
|
9141
|
-
export declare const listNotificationChannelsQueryIncludeDisabledDefault
|
|
9142
|
-
export declare const listNotificationChannelsQueryPageDefault
|
|
9143
|
-
export declare const listNotificationChannelsQueryPageSizeDefault
|
|
9144
|
-
export declare const listNotificationChannelsQueryPageSizeMax
|
|
9495
|
+
export declare const listNotificationChannelsQueryIncludeDeletedDefault: false;
|
|
9496
|
+
export declare const listNotificationChannelsQueryIncludeDisabledDefault: false;
|
|
9497
|
+
export declare const listNotificationChannelsQueryPageDefault: 1;
|
|
9498
|
+
export declare const listNotificationChannelsQueryPageSizeDefault: 100;
|
|
9499
|
+
export declare const listNotificationChannelsQueryPageSizeMax: 1000;
|
|
9145
9500
|
export declare const listNotificationChannelsQueryParams: zod.ZodObject<{
|
|
9146
9501
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
9147
9502
|
includeDisabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -9168,11 +9523,13 @@ export declare const listNotificationChannelsQueryParams: zod.ZodObject<{
|
|
|
9168
9523
|
* Create a new notification channel.
|
|
9169
9524
|
* @summary Create a notification channel
|
|
9170
9525
|
*/
|
|
9171
|
-
export declare const
|
|
9526
|
+
export declare const createNotificationChannelBodyNameMax: 256;
|
|
9527
|
+
export declare const createNotificationChannelBodyDisabledDefault: false;
|
|
9172
9528
|
export declare const createNotificationChannelBodySigningSecretRegExp: RegExp;
|
|
9173
9529
|
export declare const createNotificationChannelBody: zod.ZodObject<{
|
|
9174
9530
|
customHeaders: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
9175
9531
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9532
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9176
9533
|
name: zod.ZodString;
|
|
9177
9534
|
signingSecret: zod.ZodOptional<zod.ZodString>;
|
|
9178
9535
|
type: zod.ZodEnum<["WEBHOOK"]>;
|
|
@@ -9181,6 +9538,7 @@ export declare const createNotificationChannelBody: zod.ZodObject<{
|
|
|
9181
9538
|
name: string;
|
|
9182
9539
|
type: "WEBHOOK";
|
|
9183
9540
|
url: string;
|
|
9541
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9184
9542
|
customHeaders?: Record<string, string> | undefined;
|
|
9185
9543
|
disabled?: boolean | undefined;
|
|
9186
9544
|
signingSecret?: string | undefined;
|
|
@@ -9188,6 +9546,7 @@ export declare const createNotificationChannelBody: zod.ZodObject<{
|
|
|
9188
9546
|
name: string;
|
|
9189
9547
|
type: "WEBHOOK";
|
|
9190
9548
|
url: string;
|
|
9549
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9191
9550
|
customHeaders?: Record<string, string> | undefined;
|
|
9192
9551
|
disabled?: boolean | undefined;
|
|
9193
9552
|
signingSecret?: string | undefined;
|
|
@@ -9204,11 +9563,13 @@ export declare const updateNotificationChannelParams: zod.ZodObject<{
|
|
|
9204
9563
|
}, {
|
|
9205
9564
|
channelId: string;
|
|
9206
9565
|
}>;
|
|
9207
|
-
export declare const
|
|
9566
|
+
export declare const updateNotificationChannelBodyNameMax: 256;
|
|
9567
|
+
export declare const updateNotificationChannelBodyDisabledDefault: false;
|
|
9208
9568
|
export declare const updateNotificationChannelBodySigningSecretRegExp: RegExp;
|
|
9209
9569
|
export declare const updateNotificationChannelBody: zod.ZodObject<{
|
|
9210
9570
|
customHeaders: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
9211
9571
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9572
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9212
9573
|
name: zod.ZodString;
|
|
9213
9574
|
signingSecret: zod.ZodOptional<zod.ZodString>;
|
|
9214
9575
|
type: zod.ZodEnum<["WEBHOOK"]>;
|
|
@@ -9217,6 +9578,7 @@ export declare const updateNotificationChannelBody: zod.ZodObject<{
|
|
|
9217
9578
|
name: string;
|
|
9218
9579
|
type: "WEBHOOK";
|
|
9219
9580
|
url: string;
|
|
9581
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9220
9582
|
customHeaders?: Record<string, string> | undefined;
|
|
9221
9583
|
disabled?: boolean | undefined;
|
|
9222
9584
|
signingSecret?: string | undefined;
|
|
@@ -9224,6 +9586,7 @@ export declare const updateNotificationChannelBody: zod.ZodObject<{
|
|
|
9224
9586
|
name: string;
|
|
9225
9587
|
type: "WEBHOOK";
|
|
9226
9588
|
url: string;
|
|
9589
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9227
9590
|
customHeaders?: Record<string, string> | undefined;
|
|
9228
9591
|
disabled?: boolean | undefined;
|
|
9229
9592
|
signingSecret?: string | undefined;
|
|
@@ -9260,9 +9623,9 @@ export declare const deleteNotificationChannelParams: zod.ZodObject<{
|
|
|
9260
9623
|
*/
|
|
9261
9624
|
export declare const listNotificationEventsQueryRuleItemRegExp: RegExp;
|
|
9262
9625
|
export declare const listNotificationEventsQueryChannelItemRegExp: RegExp;
|
|
9263
|
-
export declare const listNotificationEventsQueryPageDefault
|
|
9264
|
-
export declare const listNotificationEventsQueryPageSizeDefault
|
|
9265
|
-
export declare const listNotificationEventsQueryPageSizeMax
|
|
9626
|
+
export declare const listNotificationEventsQueryPageDefault: 1;
|
|
9627
|
+
export declare const listNotificationEventsQueryPageSizeDefault: 100;
|
|
9628
|
+
export declare const listNotificationEventsQueryPageSizeMax: 1000;
|
|
9266
9629
|
export declare const listNotificationEventsQueryParams: zod.ZodObject<{
|
|
9267
9630
|
channel: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9268
9631
|
feature: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -9308,17 +9671,36 @@ export declare const getNotificationEventParams: zod.ZodObject<{
|
|
|
9308
9671
|
}, {
|
|
9309
9672
|
eventId: string;
|
|
9310
9673
|
}>;
|
|
9674
|
+
/**
|
|
9675
|
+
* @summary Re-send notification event
|
|
9676
|
+
*/
|
|
9677
|
+
export declare const resendNotificationEventPathEventIdRegExp: RegExp;
|
|
9678
|
+
export declare const resendNotificationEventParams: zod.ZodObject<{
|
|
9679
|
+
eventId: zod.ZodString;
|
|
9680
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9681
|
+
eventId: string;
|
|
9682
|
+
}, {
|
|
9683
|
+
eventId: string;
|
|
9684
|
+
}>;
|
|
9685
|
+
export declare const resendNotificationEventBodyChannelsItemRegExp: RegExp;
|
|
9686
|
+
export declare const resendNotificationEventBody: zod.ZodObject<{
|
|
9687
|
+
channels: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9688
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9689
|
+
channels?: string[] | undefined;
|
|
9690
|
+
}, {
|
|
9691
|
+
channels?: string[] | undefined;
|
|
9692
|
+
}>;
|
|
9311
9693
|
/**
|
|
9312
9694
|
* List all notification rules.
|
|
9313
9695
|
* @summary List notification rules
|
|
9314
9696
|
*/
|
|
9315
|
-
export declare const listNotificationRulesQueryIncludeDeletedDefault
|
|
9316
|
-
export declare const listNotificationRulesQueryIncludeDisabledDefault
|
|
9317
|
-
export declare const listNotificationRulesQueryFeatureItemMax
|
|
9697
|
+
export declare const listNotificationRulesQueryIncludeDeletedDefault: false;
|
|
9698
|
+
export declare const listNotificationRulesQueryIncludeDisabledDefault: false;
|
|
9699
|
+
export declare const listNotificationRulesQueryFeatureItemMax: 64;
|
|
9318
9700
|
export declare const listNotificationRulesQueryFeatureItemRegExp: RegExp;
|
|
9319
|
-
export declare const listNotificationRulesQueryPageDefault
|
|
9320
|
-
export declare const listNotificationRulesQueryPageSizeDefault
|
|
9321
|
-
export declare const listNotificationRulesQueryPageSizeMax
|
|
9701
|
+
export declare const listNotificationRulesQueryPageDefault: 1;
|
|
9702
|
+
export declare const listNotificationRulesQueryPageSizeDefault: 100;
|
|
9703
|
+
export declare const listNotificationRulesQueryPageSizeMax: 1000;
|
|
9322
9704
|
export declare const listNotificationRulesQueryParams: zod.ZodObject<{
|
|
9323
9705
|
channel: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9324
9706
|
feature: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -9351,23 +9733,28 @@ export declare const listNotificationRulesQueryParams: zod.ZodObject<{
|
|
|
9351
9733
|
* Create a new notification rule.
|
|
9352
9734
|
* @summary Create a notification rule
|
|
9353
9735
|
*/
|
|
9354
|
-
export declare const
|
|
9355
|
-
export declare const
|
|
9736
|
+
export declare const createNotificationRuleBodyNameMax: 256;
|
|
9737
|
+
export declare const createNotificationRuleBodyDisabledDefault: false;
|
|
9738
|
+
export declare const createNotificationRuleBodyThresholdsMax: 10;
|
|
9356
9739
|
export declare const createNotificationRuleBodyChannelsItemRegExp: RegExp;
|
|
9357
|
-
export declare const createNotificationRuleBodyFeaturesItemMax
|
|
9740
|
+
export declare const createNotificationRuleBodyFeaturesItemMax: 64;
|
|
9358
9741
|
export declare const createNotificationRuleBodyFeaturesItemRegExp: RegExp;
|
|
9359
|
-
export declare const
|
|
9742
|
+
export declare const createNotificationRuleBodyNameMaxOne: 256;
|
|
9743
|
+
export declare const createNotificationRuleBodyDisabledDefaultOne: false;
|
|
9360
9744
|
export declare const createNotificationRuleBodyChannelsItemRegExpOne: RegExp;
|
|
9361
|
-
export declare const createNotificationRuleBodyFeaturesItemMaxOne
|
|
9745
|
+
export declare const createNotificationRuleBodyFeaturesItemMaxOne: 64;
|
|
9362
9746
|
export declare const createNotificationRuleBodyFeaturesItemRegExpOne: RegExp;
|
|
9363
|
-
export declare const
|
|
9747
|
+
export declare const createNotificationRuleBodyNameMaxTwo: 256;
|
|
9748
|
+
export declare const createNotificationRuleBodyDisabledDefaultTwo: false;
|
|
9364
9749
|
export declare const createNotificationRuleBodyChannelsItemRegExpTwo: RegExp;
|
|
9365
|
-
export declare const
|
|
9750
|
+
export declare const createNotificationRuleBodyNameMaxThree: 256;
|
|
9751
|
+
export declare const createNotificationRuleBodyDisabledDefaultThree: false;
|
|
9366
9752
|
export declare const createNotificationRuleBodyChannelsItemRegExpThree: RegExp;
|
|
9367
9753
|
export declare const createNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
9368
9754
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9369
9755
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9370
9756
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9757
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9371
9758
|
name: zod.ZodString;
|
|
9372
9759
|
thresholds: zod.ZodArray<zod.ZodObject<{
|
|
9373
9760
|
type: zod.ZodEnum<["PERCENT", "NUMBER", "balance_value", "usage_percentage", "usage_value"]>;
|
|
@@ -9388,6 +9775,7 @@ export declare const createNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9388
9775
|
type: "PERCENT" | "NUMBER" | "balance_value" | "usage_percentage" | "usage_value";
|
|
9389
9776
|
value: number;
|
|
9390
9777
|
}[];
|
|
9778
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9391
9779
|
disabled?: boolean | undefined;
|
|
9392
9780
|
features?: string[] | undefined;
|
|
9393
9781
|
}, {
|
|
@@ -9398,55 +9786,65 @@ export declare const createNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9398
9786
|
type: "PERCENT" | "NUMBER" | "balance_value" | "usage_percentage" | "usage_value";
|
|
9399
9787
|
value: number;
|
|
9400
9788
|
}[];
|
|
9789
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9401
9790
|
disabled?: boolean | undefined;
|
|
9402
9791
|
features?: string[] | undefined;
|
|
9403
9792
|
}>, zod.ZodObject<{
|
|
9404
9793
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9405
9794
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9406
9795
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9796
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9407
9797
|
name: zod.ZodString;
|
|
9408
9798
|
type: zod.ZodEnum<["entitlements.reset"]>;
|
|
9409
9799
|
}, "strip", zod.ZodTypeAny, {
|
|
9410
9800
|
name: string;
|
|
9411
9801
|
type: "entitlements.reset";
|
|
9412
9802
|
channels: string[];
|
|
9803
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9413
9804
|
disabled?: boolean | undefined;
|
|
9414
9805
|
features?: string[] | undefined;
|
|
9415
9806
|
}, {
|
|
9416
9807
|
name: string;
|
|
9417
9808
|
type: "entitlements.reset";
|
|
9418
9809
|
channels: string[];
|
|
9810
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9419
9811
|
disabled?: boolean | undefined;
|
|
9420
9812
|
features?: string[] | undefined;
|
|
9421
9813
|
}>, zod.ZodObject<{
|
|
9422
9814
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9423
9815
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9816
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9424
9817
|
name: zod.ZodString;
|
|
9425
9818
|
type: zod.ZodEnum<["invoice.created"]>;
|
|
9426
9819
|
}, "strip", zod.ZodTypeAny, {
|
|
9427
9820
|
name: string;
|
|
9428
9821
|
type: "invoice.created";
|
|
9429
9822
|
channels: string[];
|
|
9823
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9430
9824
|
disabled?: boolean | undefined;
|
|
9431
9825
|
}, {
|
|
9432
9826
|
name: string;
|
|
9433
9827
|
type: "invoice.created";
|
|
9434
9828
|
channels: string[];
|
|
9829
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9435
9830
|
disabled?: boolean | undefined;
|
|
9436
9831
|
}>, zod.ZodObject<{
|
|
9437
9832
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9438
9833
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9834
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9439
9835
|
name: zod.ZodString;
|
|
9440
9836
|
type: zod.ZodEnum<["invoice.updated"]>;
|
|
9441
9837
|
}, "strip", zod.ZodTypeAny, {
|
|
9442
9838
|
name: string;
|
|
9443
9839
|
type: "invoice.updated";
|
|
9444
9840
|
channels: string[];
|
|
9841
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9445
9842
|
disabled?: boolean | undefined;
|
|
9446
9843
|
}, {
|
|
9447
9844
|
name: string;
|
|
9448
9845
|
type: "invoice.updated";
|
|
9449
9846
|
channels: string[];
|
|
9847
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9450
9848
|
disabled?: boolean | undefined;
|
|
9451
9849
|
}>]>;
|
|
9452
9850
|
/**
|
|
@@ -9461,23 +9859,28 @@ export declare const updateNotificationRuleParams: zod.ZodObject<{
|
|
|
9461
9859
|
}, {
|
|
9462
9860
|
ruleId: string;
|
|
9463
9861
|
}>;
|
|
9464
|
-
export declare const
|
|
9465
|
-
export declare const
|
|
9862
|
+
export declare const updateNotificationRuleBodyNameMax: 256;
|
|
9863
|
+
export declare const updateNotificationRuleBodyDisabledDefault: false;
|
|
9864
|
+
export declare const updateNotificationRuleBodyThresholdsMax: 10;
|
|
9466
9865
|
export declare const updateNotificationRuleBodyChannelsItemRegExp: RegExp;
|
|
9467
|
-
export declare const updateNotificationRuleBodyFeaturesItemMax
|
|
9866
|
+
export declare const updateNotificationRuleBodyFeaturesItemMax: 64;
|
|
9468
9867
|
export declare const updateNotificationRuleBodyFeaturesItemRegExp: RegExp;
|
|
9469
|
-
export declare const
|
|
9868
|
+
export declare const updateNotificationRuleBodyNameMaxOne: 256;
|
|
9869
|
+
export declare const updateNotificationRuleBodyDisabledDefaultOne: false;
|
|
9470
9870
|
export declare const updateNotificationRuleBodyChannelsItemRegExpOne: RegExp;
|
|
9471
|
-
export declare const updateNotificationRuleBodyFeaturesItemMaxOne
|
|
9871
|
+
export declare const updateNotificationRuleBodyFeaturesItemMaxOne: 64;
|
|
9472
9872
|
export declare const updateNotificationRuleBodyFeaturesItemRegExpOne: RegExp;
|
|
9473
|
-
export declare const
|
|
9873
|
+
export declare const updateNotificationRuleBodyNameMaxTwo: 256;
|
|
9874
|
+
export declare const updateNotificationRuleBodyDisabledDefaultTwo: false;
|
|
9474
9875
|
export declare const updateNotificationRuleBodyChannelsItemRegExpTwo: RegExp;
|
|
9475
|
-
export declare const
|
|
9876
|
+
export declare const updateNotificationRuleBodyNameMaxThree: 256;
|
|
9877
|
+
export declare const updateNotificationRuleBodyDisabledDefaultThree: false;
|
|
9476
9878
|
export declare const updateNotificationRuleBodyChannelsItemRegExpThree: RegExp;
|
|
9477
9879
|
export declare const updateNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
9478
9880
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9479
9881
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9480
9882
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9883
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9481
9884
|
name: zod.ZodString;
|
|
9482
9885
|
thresholds: zod.ZodArray<zod.ZodObject<{
|
|
9483
9886
|
type: zod.ZodEnum<["PERCENT", "NUMBER", "balance_value", "usage_percentage", "usage_value"]>;
|
|
@@ -9498,6 +9901,7 @@ export declare const updateNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9498
9901
|
type: "PERCENT" | "NUMBER" | "balance_value" | "usage_percentage" | "usage_value";
|
|
9499
9902
|
value: number;
|
|
9500
9903
|
}[];
|
|
9904
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9501
9905
|
disabled?: boolean | undefined;
|
|
9502
9906
|
features?: string[] | undefined;
|
|
9503
9907
|
}, {
|
|
@@ -9508,55 +9912,65 @@ export declare const updateNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9508
9912
|
type: "PERCENT" | "NUMBER" | "balance_value" | "usage_percentage" | "usage_value";
|
|
9509
9913
|
value: number;
|
|
9510
9914
|
}[];
|
|
9915
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9511
9916
|
disabled?: boolean | undefined;
|
|
9512
9917
|
features?: string[] | undefined;
|
|
9513
9918
|
}>, zod.ZodObject<{
|
|
9514
9919
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9515
9920
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9516
9921
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9922
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9517
9923
|
name: zod.ZodString;
|
|
9518
9924
|
type: zod.ZodEnum<["entitlements.reset"]>;
|
|
9519
9925
|
}, "strip", zod.ZodTypeAny, {
|
|
9520
9926
|
name: string;
|
|
9521
9927
|
type: "entitlements.reset";
|
|
9522
9928
|
channels: string[];
|
|
9929
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9523
9930
|
disabled?: boolean | undefined;
|
|
9524
9931
|
features?: string[] | undefined;
|
|
9525
9932
|
}, {
|
|
9526
9933
|
name: string;
|
|
9527
9934
|
type: "entitlements.reset";
|
|
9528
9935
|
channels: string[];
|
|
9936
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9529
9937
|
disabled?: boolean | undefined;
|
|
9530
9938
|
features?: string[] | undefined;
|
|
9531
9939
|
}>, zod.ZodObject<{
|
|
9532
9940
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9533
9941
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9942
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9534
9943
|
name: zod.ZodString;
|
|
9535
9944
|
type: zod.ZodEnum<["invoice.created"]>;
|
|
9536
9945
|
}, "strip", zod.ZodTypeAny, {
|
|
9537
9946
|
name: string;
|
|
9538
9947
|
type: "invoice.created";
|
|
9539
9948
|
channels: string[];
|
|
9949
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9540
9950
|
disabled?: boolean | undefined;
|
|
9541
9951
|
}, {
|
|
9542
9952
|
name: string;
|
|
9543
9953
|
type: "invoice.created";
|
|
9544
9954
|
channels: string[];
|
|
9955
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9545
9956
|
disabled?: boolean | undefined;
|
|
9546
9957
|
}>, zod.ZodObject<{
|
|
9547
9958
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9548
9959
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9960
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9549
9961
|
name: zod.ZodString;
|
|
9550
9962
|
type: zod.ZodEnum<["invoice.updated"]>;
|
|
9551
9963
|
}, "strip", zod.ZodTypeAny, {
|
|
9552
9964
|
name: string;
|
|
9553
9965
|
type: "invoice.updated";
|
|
9554
9966
|
channels: string[];
|
|
9967
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9555
9968
|
disabled?: boolean | undefined;
|
|
9556
9969
|
}, {
|
|
9557
9970
|
name: string;
|
|
9558
9971
|
type: "invoice.updated";
|
|
9559
9972
|
channels: string[];
|
|
9973
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9560
9974
|
disabled?: boolean | undefined;
|
|
9561
9975
|
}>]>;
|
|
9562
9976
|
/**
|
|
@@ -9601,16 +10015,16 @@ export declare const testNotificationRuleParams: zod.ZodObject<{
|
|
|
9601
10015
|
* List all plans.
|
|
9602
10016
|
* @summary List plans
|
|
9603
10017
|
*/
|
|
9604
|
-
export declare const listPlansQueryIncludeDeletedDefault
|
|
10018
|
+
export declare const listPlansQueryIncludeDeletedDefault: false;
|
|
9605
10019
|
export declare const listPlansQueryIdItemRegExp: RegExp;
|
|
9606
|
-
export declare const listPlansQueryKeyItemMax
|
|
10020
|
+
export declare const listPlansQueryKeyItemMax: 64;
|
|
9607
10021
|
export declare const listPlansQueryKeyItemRegExp: RegExp;
|
|
9608
|
-
export declare const listPlansQueryCurrencyItemMin
|
|
9609
|
-
export declare const listPlansQueryCurrencyItemMax
|
|
10022
|
+
export declare const listPlansQueryCurrencyItemMin: 3;
|
|
10023
|
+
export declare const listPlansQueryCurrencyItemMax: 3;
|
|
9610
10024
|
export declare const listPlansQueryCurrencyItemRegExp: RegExp;
|
|
9611
|
-
export declare const listPlansQueryPageDefault
|
|
9612
|
-
export declare const listPlansQueryPageSizeDefault
|
|
9613
|
-
export declare const listPlansQueryPageSizeMax
|
|
10025
|
+
export declare const listPlansQueryPageDefault: 1;
|
|
10026
|
+
export declare const listPlansQueryPageSizeDefault: 100;
|
|
10027
|
+
export declare const listPlansQueryPageSizeMax: 1000;
|
|
9614
10028
|
export declare const listPlansQueryParams: zod.ZodObject<{
|
|
9615
10029
|
currency: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9616
10030
|
id: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -9649,53 +10063,53 @@ export declare const listPlansQueryParams: zod.ZodObject<{
|
|
|
9649
10063
|
* Create a new plan.
|
|
9650
10064
|
* @summary Create a plan
|
|
9651
10065
|
*/
|
|
9652
|
-
export declare const createPlanBodyNameMax
|
|
9653
|
-
export declare const createPlanBodyDescriptionMax
|
|
9654
|
-
export declare const createPlanBodyKeyMax
|
|
10066
|
+
export declare const createPlanBodyNameMax: 256;
|
|
10067
|
+
export declare const createPlanBodyDescriptionMax: 1024;
|
|
10068
|
+
export declare const createPlanBodyKeyMax: 64;
|
|
9655
10069
|
export declare const createPlanBodyKeyRegExp: RegExp;
|
|
9656
|
-
export declare const createPlanBodyCurrencyMinOne
|
|
9657
|
-
export declare const createPlanBodyCurrencyMaxOne
|
|
10070
|
+
export declare const createPlanBodyCurrencyMinOne: 3;
|
|
10071
|
+
export declare const createPlanBodyCurrencyMaxOne: 3;
|
|
9658
10072
|
export declare const createPlanBodyCurrencyRegExpOne: RegExp;
|
|
9659
|
-
export declare const createPlanBodyCurrencyDefault
|
|
9660
|
-
export declare const createPlanBodyProRatingConfigEnabledDefault
|
|
9661
|
-
export declare const createPlanBodyProRatingConfigModeDefault
|
|
10073
|
+
export declare const createPlanBodyCurrencyDefault: "USD";
|
|
10074
|
+
export declare const createPlanBodyProRatingConfigEnabledDefault: true;
|
|
10075
|
+
export declare const createPlanBodyProRatingConfigModeDefault: "prorate_prices";
|
|
9662
10076
|
export declare const createPlanBodyProRatingConfigDefault: {
|
|
9663
|
-
enabled:
|
|
9664
|
-
mode:
|
|
10077
|
+
readonly enabled: true;
|
|
10078
|
+
readonly mode: "prorate_prices";
|
|
9665
10079
|
};
|
|
9666
|
-
export declare const createPlanBodyPhasesItemKeyMax
|
|
10080
|
+
export declare const createPlanBodyPhasesItemKeyMax: 64;
|
|
9667
10081
|
export declare const createPlanBodyPhasesItemKeyRegExp: RegExp;
|
|
9668
|
-
export declare const createPlanBodyPhasesItemNameMax
|
|
9669
|
-
export declare const createPlanBodyPhasesItemDescriptionMax
|
|
9670
|
-
export declare const createPlanBodyPhasesItemRateCardsItemKeyMax
|
|
10082
|
+
export declare const createPlanBodyPhasesItemNameMax: 256;
|
|
10083
|
+
export declare const createPlanBodyPhasesItemDescriptionMax: 1024;
|
|
10084
|
+
export declare const createPlanBodyPhasesItemRateCardsItemKeyMax: 64;
|
|
9671
10085
|
export declare const createPlanBodyPhasesItemRateCardsItemKeyRegExp: RegExp;
|
|
9672
|
-
export declare const createPlanBodyPhasesItemRateCardsItemNameMax
|
|
9673
|
-
export declare const createPlanBodyPhasesItemRateCardsItemDescriptionMax
|
|
9674
|
-
export declare const createPlanBodyPhasesItemRateCardsItemFeatureKeyMax
|
|
10086
|
+
export declare const createPlanBodyPhasesItemRateCardsItemNameMax: 256;
|
|
10087
|
+
export declare const createPlanBodyPhasesItemRateCardsItemDescriptionMax: 1024;
|
|
10088
|
+
export declare const createPlanBodyPhasesItemRateCardsItemFeatureKeyMax: 64;
|
|
9675
10089
|
export declare const createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExp: RegExp;
|
|
9676
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault
|
|
9677
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin
|
|
9678
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault
|
|
9679
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax
|
|
9680
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault
|
|
10090
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault: false;
|
|
10091
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin: 0;
|
|
10092
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault: 1;
|
|
10093
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax: 255;
|
|
10094
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault: false;
|
|
9681
10095
|
export declare const createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp: RegExp;
|
|
9682
10096
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne: RegExp;
|
|
9683
|
-
export declare const createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefault
|
|
10097
|
+
export declare const createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefault: "in_advance";
|
|
9684
10098
|
export declare const createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne: RegExp;
|
|
9685
|
-
export declare const createPlanBodyPhasesItemRateCardsItemKeyMaxOne
|
|
10099
|
+
export declare const createPlanBodyPhasesItemRateCardsItemKeyMaxOne: 64;
|
|
9686
10100
|
export declare const createPlanBodyPhasesItemRateCardsItemKeyRegExpOne: RegExp;
|
|
9687
|
-
export declare const createPlanBodyPhasesItemRateCardsItemNameMaxOne
|
|
9688
|
-
export declare const createPlanBodyPhasesItemRateCardsItemDescriptionMaxOne
|
|
9689
|
-
export declare const createPlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne
|
|
10101
|
+
export declare const createPlanBodyPhasesItemRateCardsItemNameMaxOne: 256;
|
|
10102
|
+
export declare const createPlanBodyPhasesItemRateCardsItemDescriptionMaxOne: 1024;
|
|
10103
|
+
export declare const createPlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne: 64;
|
|
9690
10104
|
export declare const createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne: RegExp;
|
|
9691
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne
|
|
9692
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne
|
|
9693
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne
|
|
9694
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne
|
|
9695
|
-
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne
|
|
10105
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne: false;
|
|
10106
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne: 0;
|
|
10107
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne: 1;
|
|
10108
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne: 255;
|
|
10109
|
+
export declare const createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne: false;
|
|
9696
10110
|
export declare const createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne: RegExp;
|
|
9697
10111
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree: RegExp;
|
|
9698
|
-
export declare const createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo
|
|
10112
|
+
export declare const createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo: "in_advance";
|
|
9699
10113
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive: RegExp;
|
|
9700
10114
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne: RegExp;
|
|
9701
10115
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -9705,7 +10119,7 @@ export declare const createPlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPric
|
|
|
9705
10119
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree: RegExp;
|
|
9706
10120
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree: RegExp;
|
|
9707
10121
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne: RegExp;
|
|
9708
|
-
export declare const createPlanBodyPhasesItemRateCardsItemPriceMultiplierDefault
|
|
10122
|
+
export declare const createPlanBodyPhasesItemRateCardsItemPriceMultiplierDefault: "1";
|
|
9709
10123
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive: RegExp;
|
|
9710
10124
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive: RegExp;
|
|
9711
10125
|
export declare const createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven: RegExp;
|
|
@@ -10942,7 +11356,7 @@ It returns error if there is already a plan in draft or planId does not referenc
|
|
|
10942
11356
|
* @deprecated
|
|
10943
11357
|
* @summary New draft plan
|
|
10944
11358
|
*/
|
|
10945
|
-
export declare const nextPlanPathPlanIdOrKeyMax
|
|
11359
|
+
export declare const nextPlanPathPlanIdOrKeyMax: 64;
|
|
10946
11360
|
export declare const nextPlanPathPlanIdOrKeyRegExp: RegExp;
|
|
10947
11361
|
export declare const nextPlanParams: zod.ZodObject<{
|
|
10948
11362
|
planIdOrKey: zod.ZodString;
|
|
@@ -10963,47 +11377,47 @@ export declare const updatePlanParams: zod.ZodObject<{
|
|
|
10963
11377
|
}, {
|
|
10964
11378
|
planId: string;
|
|
10965
11379
|
}>;
|
|
10966
|
-
export declare const updatePlanBodyNameMax
|
|
10967
|
-
export declare const updatePlanBodyDescriptionMax
|
|
10968
|
-
export declare const updatePlanBodyProRatingConfigEnabledDefault
|
|
10969
|
-
export declare const updatePlanBodyProRatingConfigModeDefault
|
|
11380
|
+
export declare const updatePlanBodyNameMax: 256;
|
|
11381
|
+
export declare const updatePlanBodyDescriptionMax: 1024;
|
|
11382
|
+
export declare const updatePlanBodyProRatingConfigEnabledDefault: true;
|
|
11383
|
+
export declare const updatePlanBodyProRatingConfigModeDefault: "prorate_prices";
|
|
10970
11384
|
export declare const updatePlanBodyProRatingConfigDefault: {
|
|
10971
|
-
enabled:
|
|
10972
|
-
mode:
|
|
11385
|
+
readonly enabled: true;
|
|
11386
|
+
readonly mode: "prorate_prices";
|
|
10973
11387
|
};
|
|
10974
|
-
export declare const updatePlanBodyPhasesItemKeyMax
|
|
11388
|
+
export declare const updatePlanBodyPhasesItemKeyMax: 64;
|
|
10975
11389
|
export declare const updatePlanBodyPhasesItemKeyRegExp: RegExp;
|
|
10976
|
-
export declare const updatePlanBodyPhasesItemNameMax
|
|
10977
|
-
export declare const updatePlanBodyPhasesItemDescriptionMax
|
|
10978
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemKeyMax
|
|
11390
|
+
export declare const updatePlanBodyPhasesItemNameMax: 256;
|
|
11391
|
+
export declare const updatePlanBodyPhasesItemDescriptionMax: 1024;
|
|
11392
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemKeyMax: 64;
|
|
10979
11393
|
export declare const updatePlanBodyPhasesItemRateCardsItemKeyRegExp: RegExp;
|
|
10980
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemNameMax
|
|
10981
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemDescriptionMax
|
|
10982
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemFeatureKeyMax
|
|
11394
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemNameMax: 256;
|
|
11395
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemDescriptionMax: 1024;
|
|
11396
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemFeatureKeyMax: 64;
|
|
10983
11397
|
export declare const updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExp: RegExp;
|
|
10984
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault
|
|
10985
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin
|
|
10986
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault
|
|
10987
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax
|
|
10988
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault
|
|
11398
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault: false;
|
|
11399
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin: 0;
|
|
11400
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault: 1;
|
|
11401
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax: 255;
|
|
11402
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault: false;
|
|
10989
11403
|
export declare const updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp: RegExp;
|
|
10990
11404
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne: RegExp;
|
|
10991
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefault
|
|
11405
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefault: "in_advance";
|
|
10992
11406
|
export declare const updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne: RegExp;
|
|
10993
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemKeyMaxOne
|
|
11407
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemKeyMaxOne: 64;
|
|
10994
11408
|
export declare const updatePlanBodyPhasesItemRateCardsItemKeyRegExpOne: RegExp;
|
|
10995
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemNameMaxOne
|
|
10996
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemDescriptionMaxOne
|
|
10997
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne
|
|
11409
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemNameMaxOne: 256;
|
|
11410
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemDescriptionMaxOne: 1024;
|
|
11411
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne: 64;
|
|
10998
11412
|
export declare const updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne: RegExp;
|
|
10999
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne
|
|
11000
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne
|
|
11001
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne
|
|
11002
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne
|
|
11003
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne
|
|
11413
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne: false;
|
|
11414
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne: 0;
|
|
11415
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne: 1;
|
|
11416
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne: 255;
|
|
11417
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne: false;
|
|
11004
11418
|
export declare const updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne: RegExp;
|
|
11005
11419
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree: RegExp;
|
|
11006
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo
|
|
11420
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo: "in_advance";
|
|
11007
11421
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive: RegExp;
|
|
11008
11422
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne: RegExp;
|
|
11009
11423
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -11013,7 +11427,7 @@ export declare const updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPric
|
|
|
11013
11427
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree: RegExp;
|
|
11014
11428
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree: RegExp;
|
|
11015
11429
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne: RegExp;
|
|
11016
|
-
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault
|
|
11430
|
+
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault: "1";
|
|
11017
11431
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive: RegExp;
|
|
11018
11432
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive: RegExp;
|
|
11019
11433
|
export declare const updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven: RegExp;
|
|
@@ -12242,7 +12656,7 @@ export declare const updatePlanBody: zod.ZodObject<{
|
|
|
12242
12656
|
* Get a plan by id or key. The latest published version is returned if latter is used.
|
|
12243
12657
|
* @summary Get plan
|
|
12244
12658
|
*/
|
|
12245
|
-
export declare const getPlanPathPlanIdMax
|
|
12659
|
+
export declare const getPlanPathPlanIdMax: 64;
|
|
12246
12660
|
export declare const getPlanPathPlanIdRegExp: RegExp;
|
|
12247
12661
|
export declare const getPlanParams: zod.ZodObject<{
|
|
12248
12662
|
planId: zod.ZodString;
|
|
@@ -12251,7 +12665,7 @@ export declare const getPlanParams: zod.ZodObject<{
|
|
|
12251
12665
|
}, {
|
|
12252
12666
|
planId: string;
|
|
12253
12667
|
}>;
|
|
12254
|
-
export declare const getPlanQueryIncludeLatestDefault
|
|
12668
|
+
export declare const getPlanQueryIncludeLatestDefault: false;
|
|
12255
12669
|
export declare const getPlanQueryParams: zod.ZodObject<{
|
|
12256
12670
|
includeLatest: zod.ZodOptional<zod.ZodBoolean>;
|
|
12257
12671
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -12277,7 +12691,7 @@ export declare const deletePlanParams: zod.ZodObject<{
|
|
|
12277
12691
|
* List all available add-ons for plan.
|
|
12278
12692
|
* @summary List all available add-ons for plan
|
|
12279
12693
|
*/
|
|
12280
|
-
export declare const listPlanAddonsPathPlanIdMax
|
|
12694
|
+
export declare const listPlanAddonsPathPlanIdMax: 64;
|
|
12281
12695
|
export declare const listPlanAddonsPathPlanIdRegExp: RegExp;
|
|
12282
12696
|
export declare const listPlanAddonsParams: zod.ZodObject<{
|
|
12283
12697
|
planId: zod.ZodString;
|
|
@@ -12286,13 +12700,13 @@ export declare const listPlanAddonsParams: zod.ZodObject<{
|
|
|
12286
12700
|
}, {
|
|
12287
12701
|
planId: string;
|
|
12288
12702
|
}>;
|
|
12289
|
-
export declare const listPlanAddonsQueryIncludeDeletedDefault
|
|
12703
|
+
export declare const listPlanAddonsQueryIncludeDeletedDefault: false;
|
|
12290
12704
|
export declare const listPlanAddonsQueryIdItemRegExp: RegExp;
|
|
12291
|
-
export declare const listPlanAddonsQueryKeyItemMax
|
|
12705
|
+
export declare const listPlanAddonsQueryKeyItemMax: 64;
|
|
12292
12706
|
export declare const listPlanAddonsQueryKeyItemRegExp: RegExp;
|
|
12293
|
-
export declare const listPlanAddonsQueryPageDefault
|
|
12294
|
-
export declare const listPlanAddonsQueryPageSizeDefault
|
|
12295
|
-
export declare const listPlanAddonsQueryPageSizeMax
|
|
12707
|
+
export declare const listPlanAddonsQueryPageDefault: 1;
|
|
12708
|
+
export declare const listPlanAddonsQueryPageSizeDefault: 100;
|
|
12709
|
+
export declare const listPlanAddonsQueryPageSizeMax: 1000;
|
|
12296
12710
|
export declare const listPlanAddonsQueryParams: zod.ZodObject<{
|
|
12297
12711
|
id: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
12298
12712
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -12383,9 +12797,9 @@ export declare const updatePlanAddonBody: zod.ZodObject<{
|
|
|
12383
12797
|
* Get add-on assignment for plan by id.
|
|
12384
12798
|
* @summary Get add-on assignment for plan
|
|
12385
12799
|
*/
|
|
12386
|
-
export declare const getPlanAddonPathPlanIdMax
|
|
12800
|
+
export declare const getPlanAddonPathPlanIdMax: 64;
|
|
12387
12801
|
export declare const getPlanAddonPathPlanIdRegExp: RegExp;
|
|
12388
|
-
export declare const getPlanAddonPathPlanAddonIdMax
|
|
12802
|
+
export declare const getPlanAddonPathPlanAddonIdMax: 64;
|
|
12389
12803
|
export declare const getPlanAddonPathPlanAddonIdRegExp: RegExp;
|
|
12390
12804
|
export declare const getPlanAddonParams: zod.ZodObject<{
|
|
12391
12805
|
planAddonId: zod.ZodString;
|
|
@@ -12443,7 +12857,7 @@ export declare const publishPlanParams: zod.ZodObject<{
|
|
|
12443
12857
|
* Query meter for consumer portal. This endpoint is publicly exposable to consumers. Query meter for consumer portal. This endpoint is publicly exposable to consumers.
|
|
12444
12858
|
* @summary Query meter Query meter
|
|
12445
12859
|
*/
|
|
12446
|
-
export declare const queryPortalMeterPathMeterSlugMax
|
|
12860
|
+
export declare const queryPortalMeterPathMeterSlugMax: 64;
|
|
12447
12861
|
export declare const queryPortalMeterPathMeterSlugRegExp: RegExp;
|
|
12448
12862
|
export declare const queryPortalMeterParams: zod.ZodObject<{
|
|
12449
12863
|
meterSlug: zod.ZodString;
|
|
@@ -12452,9 +12866,9 @@ export declare const queryPortalMeterParams: zod.ZodObject<{
|
|
|
12452
12866
|
}, {
|
|
12453
12867
|
meterSlug: string;
|
|
12454
12868
|
}>;
|
|
12455
|
-
export declare const queryPortalMeterQueryClientIdMax
|
|
12456
|
-
export declare const queryPortalMeterQueryWindowTimeZoneDefault
|
|
12457
|
-
export declare const queryPortalMeterQueryFilterCustomerIdMax
|
|
12869
|
+
export declare const queryPortalMeterQueryClientIdMax: 36;
|
|
12870
|
+
export declare const queryPortalMeterQueryWindowTimeZoneDefault: "UTC";
|
|
12871
|
+
export declare const queryPortalMeterQueryFilterCustomerIdMax: 100;
|
|
12458
12872
|
export declare const queryPortalMeterQueryParams: zod.ZodObject<{
|
|
12459
12873
|
clientId: zod.ZodOptional<zod.ZodString>;
|
|
12460
12874
|
filterCustomerId: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -12469,8 +12883,8 @@ export declare const queryPortalMeterQueryParams: zod.ZodObject<{
|
|
|
12469
12883
|
windowSize?: "HOUR" | "DAY" | "MONTH" | "MINUTE" | undefined;
|
|
12470
12884
|
from?: Date | undefined;
|
|
12471
12885
|
to?: Date | undefined;
|
|
12472
|
-
groupBy?: string[] | undefined;
|
|
12473
12886
|
clientId?: string | undefined;
|
|
12887
|
+
groupBy?: string[] | undefined;
|
|
12474
12888
|
filterCustomerId?: string[] | undefined;
|
|
12475
12889
|
filterGroupBy?: Record<string, string> | undefined;
|
|
12476
12890
|
}, {
|
|
@@ -12478,8 +12892,8 @@ export declare const queryPortalMeterQueryParams: zod.ZodObject<{
|
|
|
12478
12892
|
from?: Date | undefined;
|
|
12479
12893
|
to?: Date | undefined;
|
|
12480
12894
|
windowTimeZone?: string | undefined;
|
|
12481
|
-
groupBy?: string[] | undefined;
|
|
12482
12895
|
clientId?: string | undefined;
|
|
12896
|
+
groupBy?: string[] | undefined;
|
|
12483
12897
|
filterCustomerId?: string[] | undefined;
|
|
12484
12898
|
filterGroupBy?: Record<string, string> | undefined;
|
|
12485
12899
|
}>;
|
|
@@ -12501,8 +12915,8 @@ export declare const createPortalTokenBody: zod.ZodObject<{
|
|
|
12501
12915
|
* List tokens.
|
|
12502
12916
|
* @summary List consumer portal tokens
|
|
12503
12917
|
*/
|
|
12504
|
-
export declare const listPortalTokensQueryLimitDefault
|
|
12505
|
-
export declare const listPortalTokensQueryLimitMax
|
|
12918
|
+
export declare const listPortalTokensQueryLimitDefault: 25;
|
|
12919
|
+
export declare const listPortalTokensQueryLimitMax: 100;
|
|
12506
12920
|
export declare const listPortalTokensQueryParams: zod.ZodObject<{
|
|
12507
12921
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
12508
12922
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -12530,23 +12944,23 @@ export declare const invalidatePortalTokensBody: zod.ZodObject<{
|
|
|
12530
12944
|
*/
|
|
12531
12945
|
export declare const createStripeCheckoutSessionBodyAppIdRegExp: RegExp;
|
|
12532
12946
|
export declare const createStripeCheckoutSessionBodyCustomerIdRegExp: RegExp;
|
|
12533
|
-
export declare const createStripeCheckoutSessionBodyCustomerNameMax
|
|
12534
|
-
export declare const createStripeCheckoutSessionBodyCustomerDescriptionMax
|
|
12535
|
-
export declare const createStripeCheckoutSessionBodyCustomerKeyMaxOne
|
|
12536
|
-
export declare const createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax
|
|
12537
|
-
export declare const createStripeCheckoutSessionBodyCustomerCurrencyMinOne
|
|
12538
|
-
export declare const createStripeCheckoutSessionBodyCustomerCurrencyMaxOne
|
|
12947
|
+
export declare const createStripeCheckoutSessionBodyCustomerNameMax: 256;
|
|
12948
|
+
export declare const createStripeCheckoutSessionBodyCustomerDescriptionMax: 1024;
|
|
12949
|
+
export declare const createStripeCheckoutSessionBodyCustomerKeyMaxOne: 256;
|
|
12950
|
+
export declare const createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax: 1;
|
|
12951
|
+
export declare const createStripeCheckoutSessionBodyCustomerCurrencyMinOne: 3;
|
|
12952
|
+
export declare const createStripeCheckoutSessionBodyCustomerCurrencyMaxOne: 3;
|
|
12539
12953
|
export declare const createStripeCheckoutSessionBodyCustomerCurrencyRegExpOne: RegExp;
|
|
12540
|
-
export declare const createStripeCheckoutSessionBodyCustomerBillingAddressCountryMinOne
|
|
12541
|
-
export declare const createStripeCheckoutSessionBodyCustomerBillingAddressCountryMaxOne
|
|
12954
|
+
export declare const createStripeCheckoutSessionBodyCustomerBillingAddressCountryMinOne: 2;
|
|
12955
|
+
export declare const createStripeCheckoutSessionBodyCustomerBillingAddressCountryMaxOne: 2;
|
|
12542
12956
|
export declare const createStripeCheckoutSessionBodyCustomerBillingAddressCountryRegExpOne: RegExp;
|
|
12543
|
-
export declare const createStripeCheckoutSessionBodyOptionsCurrencyMinOne
|
|
12544
|
-
export declare const createStripeCheckoutSessionBodyOptionsCurrencyMaxOne
|
|
12957
|
+
export declare const createStripeCheckoutSessionBodyOptionsCurrencyMinOne: 3;
|
|
12958
|
+
export declare const createStripeCheckoutSessionBodyOptionsCurrencyMaxOne: 3;
|
|
12545
12959
|
export declare const createStripeCheckoutSessionBodyOptionsCurrencyRegExpOne: RegExp;
|
|
12546
|
-
export declare const createStripeCheckoutSessionBodyOptionsCustomTextAfterSubmitMessageMax
|
|
12547
|
-
export declare const createStripeCheckoutSessionBodyOptionsCustomTextShippingAddressMessageMax
|
|
12548
|
-
export declare const createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessageMax
|
|
12549
|
-
export declare const createStripeCheckoutSessionBodyOptionsCustomTextTermsOfServiceAcceptanceMessageMax
|
|
12960
|
+
export declare const createStripeCheckoutSessionBodyOptionsCustomTextAfterSubmitMessageMax: 1200;
|
|
12961
|
+
export declare const createStripeCheckoutSessionBodyOptionsCustomTextShippingAddressMessageMax: 1200;
|
|
12962
|
+
export declare const createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessageMax: 1200;
|
|
12963
|
+
export declare const createStripeCheckoutSessionBodyOptionsCustomTextTermsOfServiceAcceptanceMessageMax: 1200;
|
|
12550
12964
|
export declare const createStripeCheckoutSessionBody: zod.ZodObject<{
|
|
12551
12965
|
appId: zod.ZodOptional<zod.ZodString>;
|
|
12552
12966
|
customer: zod.ZodUnion<[zod.ZodObject<{
|
|
@@ -13077,21 +13491,24 @@ export declare const createEntitlementParams: zod.ZodObject<{
|
|
|
13077
13491
|
}, {
|
|
13078
13492
|
subjectIdOrKey: string;
|
|
13079
13493
|
}>;
|
|
13080
|
-
export declare const createEntitlementBodyFeatureKeyMax
|
|
13494
|
+
export declare const createEntitlementBodyFeatureKeyMax: 64;
|
|
13081
13495
|
export declare const createEntitlementBodyFeatureKeyRegExp: RegExp;
|
|
13082
13496
|
export declare const createEntitlementBodyFeatureIdRegExp: RegExp;
|
|
13083
|
-
export declare const createEntitlementBodyIsSoftLimitDefault
|
|
13084
|
-
export declare const createEntitlementBodyIsUnlimitedDefault
|
|
13085
|
-
export declare const
|
|
13086
|
-
export declare const
|
|
13087
|
-
export declare const
|
|
13088
|
-
export declare const
|
|
13089
|
-
export declare const
|
|
13497
|
+
export declare const createEntitlementBodyIsSoftLimitDefault: false;
|
|
13498
|
+
export declare const createEntitlementBodyIsUnlimitedDefault: false;
|
|
13499
|
+
export declare const createEntitlementBodyUsagePeriodIntervalRegExpTwo: RegExp;
|
|
13500
|
+
export declare const createEntitlementBodyIssueAfterResetMin: 0;
|
|
13501
|
+
export declare const createEntitlementBodyIssueAfterResetPriorityDefault: 1;
|
|
13502
|
+
export declare const createEntitlementBodyIssueAfterResetPriorityMax: 255;
|
|
13503
|
+
export declare const createEntitlementBodyPreserveOverageAtResetDefault: false;
|
|
13504
|
+
export declare const createEntitlementBodyFeatureKeyMaxOne: 64;
|
|
13090
13505
|
export declare const createEntitlementBodyFeatureKeyRegExpOne: RegExp;
|
|
13091
13506
|
export declare const createEntitlementBodyFeatureIdRegExpOne: RegExp;
|
|
13092
|
-
export declare const
|
|
13507
|
+
export declare const createEntitlementBodyUsagePeriodIntervalRegExpSix: RegExp;
|
|
13508
|
+
export declare const createEntitlementBodyFeatureKeyMaxTwo: 64;
|
|
13093
13509
|
export declare const createEntitlementBodyFeatureKeyRegExpTwo: RegExp;
|
|
13094
13510
|
export declare const createEntitlementBodyFeatureIdRegExpTwo: RegExp;
|
|
13511
|
+
export declare const createEntitlementBodyUsagePeriodIntervalRegExpOnezero: RegExp;
|
|
13095
13512
|
export declare const createEntitlementBody: zod.ZodUnion<[zod.ZodObject<{
|
|
13096
13513
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
13097
13514
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
@@ -13224,7 +13641,7 @@ export declare const listSubjectEntitlementsParams: zod.ZodObject<{
|
|
|
13224
13641
|
}, {
|
|
13225
13642
|
subjectIdOrKey: string;
|
|
13226
13643
|
}>;
|
|
13227
|
-
export declare const listSubjectEntitlementsQueryIncludeDeletedDefault
|
|
13644
|
+
export declare const listSubjectEntitlementsQueryIncludeDeletedDefault: false;
|
|
13228
13645
|
export declare const listSubjectEntitlementsQueryParams: zod.ZodObject<{
|
|
13229
13646
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
13230
13647
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -13246,7 +13663,7 @@ export declare const listEntitlementGrantsParams: zod.ZodObject<{
|
|
|
13246
13663
|
entitlementIdOrFeatureKey: string;
|
|
13247
13664
|
subjectIdOrKey: string;
|
|
13248
13665
|
}>;
|
|
13249
|
-
export declare const listEntitlementGrantsQueryIncludeDeletedDefault
|
|
13666
|
+
export declare const listEntitlementGrantsQueryIncludeDeletedDefault: false;
|
|
13250
13667
|
export declare const listEntitlementGrantsQueryParams: zod.ZodObject<{
|
|
13251
13668
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
13252
13669
|
orderBy: zod.ZodOptional<zod.ZodEnum<["id", "createdAt", "updatedAt"]>>;
|
|
@@ -13281,11 +13698,12 @@ export declare const createGrantParams: zod.ZodObject<{
|
|
|
13281
13698
|
entitlementIdOrFeatureKey: string;
|
|
13282
13699
|
subjectIdOrKey: string;
|
|
13283
13700
|
}>;
|
|
13284
|
-
export declare const createGrantBodyAmountMin
|
|
13285
|
-
export declare const createGrantBodyPriorityMax
|
|
13286
|
-
export declare const createGrantBodyExpirationCountMax
|
|
13287
|
-
export declare const createGrantBodyMaxRolloverAmountDefault
|
|
13288
|
-
export declare const createGrantBodyMinRolloverAmountDefault
|
|
13701
|
+
export declare const createGrantBodyAmountMin: 0;
|
|
13702
|
+
export declare const createGrantBodyPriorityMax: 255;
|
|
13703
|
+
export declare const createGrantBodyExpirationCountMax: 1000;
|
|
13704
|
+
export declare const createGrantBodyMaxRolloverAmountDefault: 0;
|
|
13705
|
+
export declare const createGrantBodyMinRolloverAmountDefault: 0;
|
|
13706
|
+
export declare const createGrantBodyRecurrenceIntervalRegExpTwo: RegExp;
|
|
13289
13707
|
export declare const createGrantBody: zod.ZodObject<{
|
|
13290
13708
|
amount: zod.ZodNumber;
|
|
13291
13709
|
effectiveAt: zod.ZodDate;
|
|
@@ -13320,10 +13738,10 @@ export declare const createGrantBody: zod.ZodObject<{
|
|
|
13320
13738
|
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
13321
13739
|
count: number;
|
|
13322
13740
|
};
|
|
13741
|
+
priority?: number | undefined;
|
|
13323
13742
|
metadata?: Record<string, string> | undefined;
|
|
13324
13743
|
maxRolloverAmount?: number | undefined;
|
|
13325
13744
|
minRolloverAmount?: number | undefined;
|
|
13326
|
-
priority?: number | undefined;
|
|
13327
13745
|
recurrence?: {
|
|
13328
13746
|
interval: string;
|
|
13329
13747
|
anchor?: Date | undefined;
|
|
@@ -13335,10 +13753,10 @@ export declare const createGrantBody: zod.ZodObject<{
|
|
|
13335
13753
|
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
13336
13754
|
count: number;
|
|
13337
13755
|
};
|
|
13756
|
+
priority?: number | undefined;
|
|
13338
13757
|
metadata?: Record<string, string> | undefined;
|
|
13339
13758
|
maxRolloverAmount?: number | undefined;
|
|
13340
13759
|
minRolloverAmount?: number | undefined;
|
|
13341
|
-
priority?: number | undefined;
|
|
13342
13760
|
recurrence?: {
|
|
13343
13761
|
interval: string;
|
|
13344
13762
|
anchor?: Date | undefined;
|
|
@@ -13360,21 +13778,24 @@ export declare const overrideEntitlementParams: zod.ZodObject<{
|
|
|
13360
13778
|
entitlementIdOrFeatureKey: string;
|
|
13361
13779
|
subjectIdOrKey: string;
|
|
13362
13780
|
}>;
|
|
13363
|
-
export declare const overrideEntitlementBodyFeatureKeyMax
|
|
13781
|
+
export declare const overrideEntitlementBodyFeatureKeyMax: 64;
|
|
13364
13782
|
export declare const overrideEntitlementBodyFeatureKeyRegExp: RegExp;
|
|
13365
13783
|
export declare const overrideEntitlementBodyFeatureIdRegExp: RegExp;
|
|
13366
|
-
export declare const overrideEntitlementBodyIsSoftLimitDefault
|
|
13367
|
-
export declare const overrideEntitlementBodyIsUnlimitedDefault
|
|
13368
|
-
export declare const
|
|
13369
|
-
export declare const
|
|
13370
|
-
export declare const
|
|
13371
|
-
export declare const
|
|
13372
|
-
export declare const
|
|
13784
|
+
export declare const overrideEntitlementBodyIsSoftLimitDefault: false;
|
|
13785
|
+
export declare const overrideEntitlementBodyIsUnlimitedDefault: false;
|
|
13786
|
+
export declare const overrideEntitlementBodyUsagePeriodIntervalRegExpTwo: RegExp;
|
|
13787
|
+
export declare const overrideEntitlementBodyIssueAfterResetMin: 0;
|
|
13788
|
+
export declare const overrideEntitlementBodyIssueAfterResetPriorityDefault: 1;
|
|
13789
|
+
export declare const overrideEntitlementBodyIssueAfterResetPriorityMax: 255;
|
|
13790
|
+
export declare const overrideEntitlementBodyPreserveOverageAtResetDefault: false;
|
|
13791
|
+
export declare const overrideEntitlementBodyFeatureKeyMaxOne: 64;
|
|
13373
13792
|
export declare const overrideEntitlementBodyFeatureKeyRegExpOne: RegExp;
|
|
13374
13793
|
export declare const overrideEntitlementBodyFeatureIdRegExpOne: RegExp;
|
|
13375
|
-
export declare const
|
|
13794
|
+
export declare const overrideEntitlementBodyUsagePeriodIntervalRegExpSix: RegExp;
|
|
13795
|
+
export declare const overrideEntitlementBodyFeatureKeyMaxTwo: 64;
|
|
13376
13796
|
export declare const overrideEntitlementBodyFeatureKeyRegExpTwo: RegExp;
|
|
13377
13797
|
export declare const overrideEntitlementBodyFeatureIdRegExpTwo: RegExp;
|
|
13798
|
+
export declare const overrideEntitlementBodyUsagePeriodIntervalRegExpOnezero: RegExp;
|
|
13378
13799
|
export declare const overrideEntitlementBody: zod.ZodUnion<[zod.ZodObject<{
|
|
13379
13800
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
13380
13801
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
@@ -13566,7 +13987,7 @@ export declare const getEntitlementHistoryParams: zod.ZodObject<{
|
|
|
13566
13987
|
subjectIdOrKey: string;
|
|
13567
13988
|
entitlementId: string;
|
|
13568
13989
|
}>;
|
|
13569
|
-
export declare const getEntitlementHistoryQueryWindowTimeZoneDefault
|
|
13990
|
+
export declare const getEntitlementHistoryQueryWindowTimeZoneDefault: "UTC";
|
|
13570
13991
|
export declare const getEntitlementHistoryQueryParams: zod.ZodObject<{
|
|
13571
13992
|
from: zod.ZodOptional<zod.ZodDate>;
|
|
13572
13993
|
to: zod.ZodOptional<zod.ZodDate>;
|
|
@@ -13615,56 +14036,56 @@ export declare const resetEntitlementUsageBody: zod.ZodObject<{
|
|
|
13615
14036
|
/**
|
|
13616
14037
|
* @summary Create subscription
|
|
13617
14038
|
*/
|
|
13618
|
-
export declare const createSubscriptionBodyPlanKeyMax
|
|
14039
|
+
export declare const createSubscriptionBodyPlanKeyMax: 64;
|
|
13619
14040
|
export declare const createSubscriptionBodyPlanKeyRegExp: RegExp;
|
|
13620
|
-
export declare const createSubscriptionBodyTimingDefault
|
|
14041
|
+
export declare const createSubscriptionBodyTimingDefault: "immediate";
|
|
13621
14042
|
export declare const createSubscriptionBodyCustomerIdRegExp: RegExp;
|
|
13622
|
-
export declare const createSubscriptionBodyCustomerKeyMax
|
|
13623
|
-
export declare const createSubscriptionBodyCustomPlanNameMax
|
|
13624
|
-
export declare const createSubscriptionBodyCustomPlanDescriptionMax
|
|
13625
|
-
export declare const createSubscriptionBodyCustomPlanCurrencyMinOne
|
|
13626
|
-
export declare const createSubscriptionBodyCustomPlanCurrencyMaxOne
|
|
14043
|
+
export declare const createSubscriptionBodyCustomerKeyMax: 256;
|
|
14044
|
+
export declare const createSubscriptionBodyCustomPlanNameMax: 256;
|
|
14045
|
+
export declare const createSubscriptionBodyCustomPlanDescriptionMax: 1024;
|
|
14046
|
+
export declare const createSubscriptionBodyCustomPlanCurrencyMinOne: 3;
|
|
14047
|
+
export declare const createSubscriptionBodyCustomPlanCurrencyMaxOne: 3;
|
|
13627
14048
|
export declare const createSubscriptionBodyCustomPlanCurrencyRegExpOne: RegExp;
|
|
13628
|
-
export declare const createSubscriptionBodyCustomPlanCurrencyDefault
|
|
13629
|
-
export declare const createSubscriptionBodyCustomPlanProRatingConfigEnabledDefault
|
|
13630
|
-
export declare const createSubscriptionBodyCustomPlanProRatingConfigModeDefault
|
|
14049
|
+
export declare const createSubscriptionBodyCustomPlanCurrencyDefault: "USD";
|
|
14050
|
+
export declare const createSubscriptionBodyCustomPlanProRatingConfigEnabledDefault: true;
|
|
14051
|
+
export declare const createSubscriptionBodyCustomPlanProRatingConfigModeDefault: "prorate_prices";
|
|
13631
14052
|
export declare const createSubscriptionBodyCustomPlanProRatingConfigDefault: {
|
|
13632
|
-
enabled:
|
|
13633
|
-
mode:
|
|
14053
|
+
readonly enabled: true;
|
|
14054
|
+
readonly mode: "prorate_prices";
|
|
13634
14055
|
};
|
|
13635
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemKeyMax
|
|
14056
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemKeyMax: 64;
|
|
13636
14057
|
export declare const createSubscriptionBodyCustomPlanPhasesItemKeyRegExp: RegExp;
|
|
13637
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemNameMax
|
|
13638
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemDescriptionMax
|
|
13639
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax
|
|
14058
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemNameMax: 256;
|
|
14059
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemDescriptionMax: 1024;
|
|
14060
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax: 64;
|
|
13640
14061
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp: RegExp;
|
|
13641
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax
|
|
13642
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax
|
|
13643
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax
|
|
14062
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax: 256;
|
|
14063
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax: 1024;
|
|
14064
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax: 64;
|
|
13644
14065
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp: RegExp;
|
|
13645
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault
|
|
13646
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin
|
|
13647
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault
|
|
13648
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax
|
|
13649
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault
|
|
14066
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault: false;
|
|
14067
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin: 0;
|
|
14068
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault: 1;
|
|
14069
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax: 255;
|
|
14070
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault: false;
|
|
13650
14071
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp: RegExp;
|
|
13651
14072
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne: RegExp;
|
|
13652
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault
|
|
14073
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault: "in_advance";
|
|
13653
14074
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne: RegExp;
|
|
13654
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne
|
|
14075
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne: 64;
|
|
13655
14076
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne: RegExp;
|
|
13656
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne
|
|
13657
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne
|
|
13658
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne
|
|
14077
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne: 256;
|
|
14078
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne: 1024;
|
|
14079
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne: 64;
|
|
13659
14080
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne: RegExp;
|
|
13660
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne
|
|
13661
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne
|
|
13662
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne
|
|
13663
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne
|
|
13664
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne
|
|
14081
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne: false;
|
|
14082
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne: 0;
|
|
14083
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne: 1;
|
|
14084
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne: 255;
|
|
14085
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne: false;
|
|
13665
14086
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne: RegExp;
|
|
13666
14087
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree: RegExp;
|
|
13667
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo
|
|
14088
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo: "in_advance";
|
|
13668
14089
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive: RegExp;
|
|
13669
14090
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne: RegExp;
|
|
13670
14091
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -13674,7 +14095,7 @@ export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPric
|
|
|
13674
14095
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree: RegExp;
|
|
13675
14096
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree: RegExp;
|
|
13676
14097
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne: RegExp;
|
|
13677
|
-
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault
|
|
14098
|
+
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault: "1";
|
|
13678
14099
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive: RegExp;
|
|
13679
14100
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive: RegExp;
|
|
13680
14101
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven: RegExp;
|
|
@@ -13682,9 +14103,9 @@ export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPric
|
|
|
13682
14103
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven: RegExp;
|
|
13683
14104
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven: RegExp;
|
|
13684
14105
|
export declare const createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree: RegExp;
|
|
13685
|
-
export declare const createSubscriptionBodyTimingDefaultFour
|
|
14106
|
+
export declare const createSubscriptionBodyTimingDefaultFour: "immediate";
|
|
13686
14107
|
export declare const createSubscriptionBodyCustomerIdRegExpOne: RegExp;
|
|
13687
|
-
export declare const createSubscriptionBodyCustomerKeyMaxOne
|
|
14108
|
+
export declare const createSubscriptionBodyCustomerKeyMaxOne: 256;
|
|
13688
14109
|
export declare const createSubscriptionBody: zod.ZodUnion<[zod.ZodObject<{
|
|
13689
14110
|
alignment: zod.ZodOptional<zod.ZodObject<{
|
|
13690
14111
|
billablesMustAlign: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -15302,35 +15723,35 @@ export declare const editSubscriptionParams: zod.ZodObject<{
|
|
|
15302
15723
|
}, {
|
|
15303
15724
|
subscriptionId: string;
|
|
15304
15725
|
}>;
|
|
15305
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardKeyMax
|
|
15726
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardKeyMax: 64;
|
|
15306
15727
|
export declare const editSubscriptionBodyCustomizationsItemRateCardKeyRegExp: RegExp;
|
|
15307
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardNameMax
|
|
15308
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardDescriptionMax
|
|
15309
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax
|
|
15728
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardNameMax: 256;
|
|
15729
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardDescriptionMax: 1024;
|
|
15730
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax: 64;
|
|
15310
15731
|
export declare const editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp: RegExp;
|
|
15311
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault
|
|
15312
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin
|
|
15313
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault
|
|
15314
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax
|
|
15315
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault
|
|
15732
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault: false;
|
|
15733
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin: 0;
|
|
15734
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault: 1;
|
|
15735
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax: 255;
|
|
15736
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault: false;
|
|
15316
15737
|
export declare const editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp: RegExp;
|
|
15317
15738
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne: RegExp;
|
|
15318
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault
|
|
15739
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault: "in_advance";
|
|
15319
15740
|
export declare const editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne: RegExp;
|
|
15320
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne
|
|
15741
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne: 64;
|
|
15321
15742
|
export declare const editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne: RegExp;
|
|
15322
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardNameMaxOne
|
|
15323
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne
|
|
15324
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne
|
|
15743
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardNameMaxOne: 256;
|
|
15744
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne: 1024;
|
|
15745
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne: 64;
|
|
15325
15746
|
export declare const editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne: RegExp;
|
|
15326
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne
|
|
15327
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne
|
|
15328
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne
|
|
15329
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne
|
|
15330
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne
|
|
15747
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne: false;
|
|
15748
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne: 0;
|
|
15749
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne: 1;
|
|
15750
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne: 255;
|
|
15751
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne: false;
|
|
15331
15752
|
export declare const editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne: RegExp;
|
|
15332
15753
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree: RegExp;
|
|
15333
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo
|
|
15754
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo: "in_advance";
|
|
15334
15755
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive: RegExp;
|
|
15335
15756
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne: RegExp;
|
|
15336
15757
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -15340,7 +15761,7 @@ export declare const editSubscriptionBodyCustomizationsItemRateCardPriceTiersIte
|
|
|
15340
15761
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree: RegExp;
|
|
15341
15762
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree: RegExp;
|
|
15342
15763
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne: RegExp;
|
|
15343
|
-
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault
|
|
15764
|
+
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault: "1";
|
|
15344
15765
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive: RegExp;
|
|
15345
15766
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive: RegExp;
|
|
15346
15767
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven: RegExp;
|
|
@@ -15349,9 +15770,9 @@ export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMinimumA
|
|
|
15349
15770
|
export declare const editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven: RegExp;
|
|
15350
15771
|
export declare const editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree: RegExp;
|
|
15351
15772
|
export declare const editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne: RegExp;
|
|
15352
|
-
export declare const editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo
|
|
15773
|
+
export declare const editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo: 64;
|
|
15353
15774
|
export declare const editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo: RegExp;
|
|
15354
|
-
export declare const editSubscriptionBodyCustomizationsMax
|
|
15775
|
+
export declare const editSubscriptionBodyCustomizationsMax: 100;
|
|
15355
15776
|
export declare const editSubscriptionBody: zod.ZodObject<{
|
|
15356
15777
|
customizations: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
|
|
15357
15778
|
op: zod.ZodEnum<["add_item"]>;
|
|
@@ -16743,9 +17164,9 @@ export declare const createSubscriptionAddonParams: zod.ZodObject<{
|
|
|
16743
17164
|
}, {
|
|
16744
17165
|
subscriptionId: string;
|
|
16745
17166
|
}>;
|
|
16746
|
-
export declare const createSubscriptionAddonBodyNameMax
|
|
16747
|
-
export declare const createSubscriptionAddonBodyDescriptionMax
|
|
16748
|
-
export declare const createSubscriptionAddonBodyQuantityMin
|
|
17167
|
+
export declare const createSubscriptionAddonBodyNameMax: 256;
|
|
17168
|
+
export declare const createSubscriptionAddonBodyDescriptionMax: 1024;
|
|
17169
|
+
export declare const createSubscriptionAddonBodyQuantityMin: 0;
|
|
16749
17170
|
export declare const createSubscriptionAddonBodyAddonIdRegExp: RegExp;
|
|
16750
17171
|
export declare const createSubscriptionAddonBody: zod.ZodObject<{
|
|
16751
17172
|
addon: zod.ZodObject<{
|
|
@@ -16823,9 +17244,9 @@ export declare const updateSubscriptionAddonParams: zod.ZodObject<{
|
|
|
16823
17244
|
subscriptionId: string;
|
|
16824
17245
|
subscriptionAddonId: string;
|
|
16825
17246
|
}>;
|
|
16826
|
-
export declare const updateSubscriptionAddonBodyNameMax
|
|
16827
|
-
export declare const updateSubscriptionAddonBodyDescriptionMax
|
|
16828
|
-
export declare const updateSubscriptionAddonBodyQuantityMin
|
|
17247
|
+
export declare const updateSubscriptionAddonBodyNameMax: 256;
|
|
17248
|
+
export declare const updateSubscriptionAddonBodyDescriptionMax: 1024;
|
|
17249
|
+
export declare const updateSubscriptionAddonBodyQuantityMin: 0;
|
|
16829
17250
|
export declare const updateSubscriptionAddonBody: zod.ZodObject<{
|
|
16830
17251
|
description: zod.ZodOptional<zod.ZodString>;
|
|
16831
17252
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
@@ -16878,53 +17299,53 @@ export declare const changeSubscriptionParams: zod.ZodObject<{
|
|
|
16878
17299
|
}, {
|
|
16879
17300
|
subscriptionId: string;
|
|
16880
17301
|
}>;
|
|
16881
|
-
export declare const changeSubscriptionBodyPlanKeyMax
|
|
17302
|
+
export declare const changeSubscriptionBodyPlanKeyMax: 64;
|
|
16882
17303
|
export declare const changeSubscriptionBodyPlanKeyRegExp: RegExp;
|
|
16883
|
-
export declare const changeSubscriptionBodyCustomPlanNameMax
|
|
16884
|
-
export declare const changeSubscriptionBodyCustomPlanDescriptionMax
|
|
16885
|
-
export declare const changeSubscriptionBodyCustomPlanCurrencyMinOne
|
|
16886
|
-
export declare const changeSubscriptionBodyCustomPlanCurrencyMaxOne
|
|
17304
|
+
export declare const changeSubscriptionBodyCustomPlanNameMax: 256;
|
|
17305
|
+
export declare const changeSubscriptionBodyCustomPlanDescriptionMax: 1024;
|
|
17306
|
+
export declare const changeSubscriptionBodyCustomPlanCurrencyMinOne: 3;
|
|
17307
|
+
export declare const changeSubscriptionBodyCustomPlanCurrencyMaxOne: 3;
|
|
16887
17308
|
export declare const changeSubscriptionBodyCustomPlanCurrencyRegExpOne: RegExp;
|
|
16888
|
-
export declare const changeSubscriptionBodyCustomPlanCurrencyDefault
|
|
16889
|
-
export declare const changeSubscriptionBodyCustomPlanProRatingConfigEnabledDefault
|
|
16890
|
-
export declare const changeSubscriptionBodyCustomPlanProRatingConfigModeDefault
|
|
17309
|
+
export declare const changeSubscriptionBodyCustomPlanCurrencyDefault: "USD";
|
|
17310
|
+
export declare const changeSubscriptionBodyCustomPlanProRatingConfigEnabledDefault: true;
|
|
17311
|
+
export declare const changeSubscriptionBodyCustomPlanProRatingConfigModeDefault: "prorate_prices";
|
|
16891
17312
|
export declare const changeSubscriptionBodyCustomPlanProRatingConfigDefault: {
|
|
16892
|
-
enabled:
|
|
16893
|
-
mode:
|
|
17313
|
+
readonly enabled: true;
|
|
17314
|
+
readonly mode: "prorate_prices";
|
|
16894
17315
|
};
|
|
16895
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemKeyMax
|
|
17316
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemKeyMax: 64;
|
|
16896
17317
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp: RegExp;
|
|
16897
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemNameMax
|
|
16898
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax
|
|
16899
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax
|
|
17318
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemNameMax: 256;
|
|
17319
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax: 1024;
|
|
17320
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax: 64;
|
|
16900
17321
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp: RegExp;
|
|
16901
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax
|
|
16902
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax
|
|
16903
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax
|
|
17322
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax: 256;
|
|
17323
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax: 1024;
|
|
17324
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax: 64;
|
|
16904
17325
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp: RegExp;
|
|
16905
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault
|
|
16906
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin
|
|
16907
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault
|
|
16908
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax
|
|
16909
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault
|
|
17326
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault: false;
|
|
17327
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin: 0;
|
|
17328
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault: 1;
|
|
17329
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax: 255;
|
|
17330
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault: false;
|
|
16910
17331
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp: RegExp;
|
|
16911
17332
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne: RegExp;
|
|
16912
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault
|
|
17333
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault: "in_advance";
|
|
16913
17334
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne: RegExp;
|
|
16914
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne
|
|
17335
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne: 64;
|
|
16915
17336
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne: RegExp;
|
|
16916
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne
|
|
16917
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne
|
|
16918
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne
|
|
17337
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne: 256;
|
|
17338
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne: 1024;
|
|
17339
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne: 64;
|
|
16919
17340
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne: RegExp;
|
|
16920
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne
|
|
16921
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne
|
|
16922
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne
|
|
16923
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne
|
|
16924
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne
|
|
17341
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne: false;
|
|
17342
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne: 0;
|
|
17343
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne: 1;
|
|
17344
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne: 255;
|
|
17345
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne: false;
|
|
16925
17346
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne: RegExp;
|
|
16926
17347
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree: RegExp;
|
|
16927
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo
|
|
17348
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo: "in_advance";
|
|
16928
17349
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive: RegExp;
|
|
16929
17350
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne: RegExp;
|
|
16930
17351
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne: RegExp;
|
|
@@ -16934,7 +17355,7 @@ export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPric
|
|
|
16934
17355
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree: RegExp;
|
|
16935
17356
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree: RegExp;
|
|
16936
17357
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne: RegExp;
|
|
16937
|
-
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault
|
|
17358
|
+
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault: "1";
|
|
16938
17359
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive: RegExp;
|
|
16939
17360
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive: RegExp;
|
|
16940
17361
|
export declare const changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven: RegExp;
|
|
@@ -18530,7 +18951,7 @@ export declare const migrateSubscriptionParams: zod.ZodObject<{
|
|
|
18530
18951
|
}, {
|
|
18531
18952
|
subscriptionId: string;
|
|
18532
18953
|
}>;
|
|
18533
|
-
export declare const migrateSubscriptionBodyTimingDefault
|
|
18954
|
+
export declare const migrateSubscriptionBodyTimingDefault: "immediate";
|
|
18534
18955
|
export declare const migrateSubscriptionBody: zod.ZodObject<{
|
|
18535
18956
|
billingAnchor: zod.ZodOptional<zod.ZodDate>;
|
|
18536
18957
|
startingPhase: zod.ZodOptional<zod.ZodString>;
|
|
@@ -18550,6 +18971,7 @@ export declare const migrateSubscriptionBody: zod.ZodObject<{
|
|
|
18550
18971
|
/**
|
|
18551
18972
|
* Restores a canceled subscription.
|
|
18552
18973
|
Any subscription scheduled to start later will be deleted and this subscription will be continued indefinitely.
|
|
18974
|
+
* @deprecated
|
|
18553
18975
|
* @summary Restore subscription
|
|
18554
18976
|
*/
|
|
18555
18977
|
export declare const restoreSubscriptionPathSubscriptionIdRegExp: RegExp;
|
|
@@ -18584,6 +19006,8 @@ A given customer can only have one active (non-deleted) entitlement per featureK
|
|
|
18584
19006
|
Once an entitlement is created you cannot modify it, only delete it.
|
|
18585
19007
|
* @summary Create a customer entitlement
|
|
18586
19008
|
*/
|
|
19009
|
+
export declare const createCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19010
|
+
export declare const createCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
18587
19011
|
export declare const createCustomerEntitlementV2Params: zod.ZodObject<{
|
|
18588
19012
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
18589
19013
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -18591,28 +19015,108 @@ export declare const createCustomerEntitlementV2Params: zod.ZodObject<{
|
|
|
18591
19015
|
}, {
|
|
18592
19016
|
customerIdOrKey: string;
|
|
18593
19017
|
}>;
|
|
18594
|
-
export declare const createCustomerEntitlementV2BodyFeatureKeyMax
|
|
19018
|
+
export declare const createCustomerEntitlementV2BodyFeatureKeyMax: 64;
|
|
18595
19019
|
export declare const createCustomerEntitlementV2BodyFeatureKeyRegExp: RegExp;
|
|
18596
19020
|
export declare const createCustomerEntitlementV2BodyFeatureIdRegExp: RegExp;
|
|
18597
|
-
export declare const createCustomerEntitlementV2BodyIsSoftLimitDefault
|
|
18598
|
-
export declare const
|
|
18599
|
-
export declare const
|
|
18600
|
-
export declare const
|
|
18601
|
-
export declare const
|
|
18602
|
-
export declare const
|
|
18603
|
-
export declare const
|
|
19021
|
+
export declare const createCustomerEntitlementV2BodyIsSoftLimitDefault: false;
|
|
19022
|
+
export declare const createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo: RegExp;
|
|
19023
|
+
export declare const createCustomerEntitlementV2BodyPreserveOverageAtResetDefault: false;
|
|
19024
|
+
export declare const createCustomerEntitlementV2BodyIssueAfterResetMin: 0;
|
|
19025
|
+
export declare const createCustomerEntitlementV2BodyIssueAfterResetPriorityDefault: 1;
|
|
19026
|
+
export declare const createCustomerEntitlementV2BodyIssueAfterResetPriorityMax: 255;
|
|
19027
|
+
export declare const createCustomerEntitlementV2BodyIssueAmountMin: 0;
|
|
19028
|
+
export declare const createCustomerEntitlementV2BodyIssuePriorityDefault: 1;
|
|
19029
|
+
export declare const createCustomerEntitlementV2BodyIssuePriorityMax: 255;
|
|
19030
|
+
export declare const createCustomerEntitlementV2BodyGrantsItemAmountMin: 0;
|
|
19031
|
+
export declare const createCustomerEntitlementV2BodyGrantsItemPriorityMax: 255;
|
|
19032
|
+
export declare const createCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault: 0;
|
|
19033
|
+
export declare const createCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo: RegExp;
|
|
19034
|
+
export declare const createCustomerEntitlementV2BodyGrantsItemExpirationCountMax: 1000;
|
|
19035
|
+
export declare const createCustomerEntitlementV2BodyFeatureKeyMaxOne: 64;
|
|
18604
19036
|
export declare const createCustomerEntitlementV2BodyFeatureKeyRegExpOne: RegExp;
|
|
18605
19037
|
export declare const createCustomerEntitlementV2BodyFeatureIdRegExpOne: RegExp;
|
|
18606
|
-
export declare const
|
|
19038
|
+
export declare const createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix: RegExp;
|
|
19039
|
+
export declare const createCustomerEntitlementV2BodyFeatureKeyMaxTwo: 64;
|
|
18607
19040
|
export declare const createCustomerEntitlementV2BodyFeatureKeyRegExpTwo: RegExp;
|
|
18608
19041
|
export declare const createCustomerEntitlementV2BodyFeatureIdRegExpTwo: RegExp;
|
|
19042
|
+
export declare const createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero: RegExp;
|
|
18609
19043
|
export declare const createCustomerEntitlementV2Body: zod.ZodUnion<[zod.ZodObject<{
|
|
18610
19044
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
18611
19045
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
19046
|
+
grants: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
19047
|
+
amount: zod.ZodNumber;
|
|
19048
|
+
annotations: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
19049
|
+
effectiveAt: zod.ZodDate;
|
|
19050
|
+
expiration: zod.ZodOptional<zod.ZodObject<{
|
|
19051
|
+
count: zod.ZodNumber;
|
|
19052
|
+
duration: zod.ZodEnum<["HOUR", "DAY", "WEEK", "MONTH", "YEAR"]>;
|
|
19053
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19054
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19055
|
+
count: number;
|
|
19056
|
+
}, {
|
|
19057
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19058
|
+
count: number;
|
|
19059
|
+
}>>;
|
|
19060
|
+
maxRolloverAmount: zod.ZodOptional<zod.ZodNumber>;
|
|
19061
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
19062
|
+
minRolloverAmount: zod.ZodOptional<zod.ZodNumber>;
|
|
19063
|
+
priority: zod.ZodOptional<zod.ZodNumber>;
|
|
19064
|
+
recurrence: zod.ZodOptional<zod.ZodObject<{
|
|
19065
|
+
anchor: zod.ZodOptional<zod.ZodDate>;
|
|
19066
|
+
interval: zod.ZodUnion<[zod.ZodString, zod.ZodEnum<["DAY", "WEEK", "MONTH", "YEAR"]>]>;
|
|
19067
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19068
|
+
interval: string;
|
|
19069
|
+
anchor?: Date | undefined;
|
|
19070
|
+
}, {
|
|
19071
|
+
interval: string;
|
|
19072
|
+
anchor?: Date | undefined;
|
|
19073
|
+
}>>;
|
|
19074
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19075
|
+
amount: number;
|
|
19076
|
+
effectiveAt: Date;
|
|
19077
|
+
priority?: number | undefined;
|
|
19078
|
+
metadata?: Record<string, string> | undefined;
|
|
19079
|
+
expiration?: {
|
|
19080
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19081
|
+
count: number;
|
|
19082
|
+
} | undefined;
|
|
19083
|
+
maxRolloverAmount?: number | undefined;
|
|
19084
|
+
minRolloverAmount?: number | undefined;
|
|
19085
|
+
recurrence?: {
|
|
19086
|
+
interval: string;
|
|
19087
|
+
anchor?: Date | undefined;
|
|
19088
|
+
} | undefined;
|
|
19089
|
+
annotations?: Record<string, any> | undefined;
|
|
19090
|
+
}, {
|
|
19091
|
+
amount: number;
|
|
19092
|
+
effectiveAt: Date;
|
|
19093
|
+
priority?: number | undefined;
|
|
19094
|
+
metadata?: Record<string, string> | undefined;
|
|
19095
|
+
expiration?: {
|
|
19096
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19097
|
+
count: number;
|
|
19098
|
+
} | undefined;
|
|
19099
|
+
maxRolloverAmount?: number | undefined;
|
|
19100
|
+
minRolloverAmount?: number | undefined;
|
|
19101
|
+
recurrence?: {
|
|
19102
|
+
interval: string;
|
|
19103
|
+
anchor?: Date | undefined;
|
|
19104
|
+
} | undefined;
|
|
19105
|
+
annotations?: Record<string, any> | undefined;
|
|
19106
|
+
}>, "many">>;
|
|
18612
19107
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
19108
|
+
issue: zod.ZodOptional<zod.ZodObject<{
|
|
19109
|
+
amount: zod.ZodNumber;
|
|
19110
|
+
priority: zod.ZodDefault<zod.ZodNumber>;
|
|
19111
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19112
|
+
priority: number;
|
|
19113
|
+
amount: number;
|
|
19114
|
+
}, {
|
|
19115
|
+
amount: number;
|
|
19116
|
+
priority?: number | undefined;
|
|
19117
|
+
}>>;
|
|
18613
19118
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
18614
19119
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
18615
|
-
isUnlimited: zod.ZodOptional<zod.ZodBoolean>;
|
|
18616
19120
|
measureUsageFrom: zod.ZodOptional<zod.ZodUnion<[zod.ZodEnum<["CURRENT_PERIOD_START", "NOW"]>, zod.ZodDate]>>;
|
|
18617
19121
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
18618
19122
|
preserveOverageAtReset: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -18640,8 +19144,28 @@ export declare const createCustomerEntitlementV2Body: zod.ZodUnion<[zod.ZodObjec
|
|
|
18640
19144
|
isSoftLimit?: boolean | undefined;
|
|
18641
19145
|
issueAfterReset?: number | undefined;
|
|
18642
19146
|
preserveOverageAtReset?: boolean | undefined;
|
|
18643
|
-
isUnlimited?: boolean | undefined;
|
|
18644
19147
|
measureUsageFrom?: Date | "CURRENT_PERIOD_START" | "NOW" | undefined;
|
|
19148
|
+
grants?: {
|
|
19149
|
+
amount: number;
|
|
19150
|
+
effectiveAt: Date;
|
|
19151
|
+
priority?: number | undefined;
|
|
19152
|
+
metadata?: Record<string, string> | undefined;
|
|
19153
|
+
expiration?: {
|
|
19154
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19155
|
+
count: number;
|
|
19156
|
+
} | undefined;
|
|
19157
|
+
maxRolloverAmount?: number | undefined;
|
|
19158
|
+
minRolloverAmount?: number | undefined;
|
|
19159
|
+
recurrence?: {
|
|
19160
|
+
interval: string;
|
|
19161
|
+
anchor?: Date | undefined;
|
|
19162
|
+
} | undefined;
|
|
19163
|
+
annotations?: Record<string, any> | undefined;
|
|
19164
|
+
}[] | undefined;
|
|
19165
|
+
issue?: {
|
|
19166
|
+
priority: number;
|
|
19167
|
+
amount: number;
|
|
19168
|
+
} | undefined;
|
|
18645
19169
|
}, {
|
|
18646
19170
|
type: "metered";
|
|
18647
19171
|
usagePeriod: {
|
|
@@ -18655,8 +19179,28 @@ export declare const createCustomerEntitlementV2Body: zod.ZodUnion<[zod.ZodObjec
|
|
|
18655
19179
|
issueAfterReset?: number | undefined;
|
|
18656
19180
|
issueAfterResetPriority?: number | undefined;
|
|
18657
19181
|
preserveOverageAtReset?: boolean | undefined;
|
|
18658
|
-
isUnlimited?: boolean | undefined;
|
|
18659
19182
|
measureUsageFrom?: Date | "CURRENT_PERIOD_START" | "NOW" | undefined;
|
|
19183
|
+
grants?: {
|
|
19184
|
+
amount: number;
|
|
19185
|
+
effectiveAt: Date;
|
|
19186
|
+
priority?: number | undefined;
|
|
19187
|
+
metadata?: Record<string, string> | undefined;
|
|
19188
|
+
expiration?: {
|
|
19189
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19190
|
+
count: number;
|
|
19191
|
+
} | undefined;
|
|
19192
|
+
maxRolloverAmount?: number | undefined;
|
|
19193
|
+
minRolloverAmount?: number | undefined;
|
|
19194
|
+
recurrence?: {
|
|
19195
|
+
interval: string;
|
|
19196
|
+
anchor?: Date | undefined;
|
|
19197
|
+
} | undefined;
|
|
19198
|
+
annotations?: Record<string, any> | undefined;
|
|
19199
|
+
}[] | undefined;
|
|
19200
|
+
issue?: {
|
|
19201
|
+
amount: number;
|
|
19202
|
+
priority?: number | undefined;
|
|
19203
|
+
} | undefined;
|
|
18660
19204
|
}>, zod.ZodObject<{
|
|
18661
19205
|
config: zod.ZodString;
|
|
18662
19206
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -18731,6 +19275,8 @@ export declare const createCustomerEntitlementV2Body: zod.ZodUnion<[zod.ZodObjec
|
|
|
18731
19275
|
* List all entitlements for a customer. For checking entitlement access, use the /value endpoint instead.
|
|
18732
19276
|
* @summary List customer entitlements
|
|
18733
19277
|
*/
|
|
19278
|
+
export declare const listCustomerEntitlementsV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19279
|
+
export declare const listCustomerEntitlementsV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
18734
19280
|
export declare const listCustomerEntitlementsV2Params: zod.ZodObject<{
|
|
18735
19281
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
18736
19282
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -18738,10 +19284,10 @@ export declare const listCustomerEntitlementsV2Params: zod.ZodObject<{
|
|
|
18738
19284
|
}, {
|
|
18739
19285
|
customerIdOrKey: string;
|
|
18740
19286
|
}>;
|
|
18741
|
-
export declare const listCustomerEntitlementsV2QueryIncludeDeletedDefault
|
|
18742
|
-
export declare const listCustomerEntitlementsV2QueryPageDefault
|
|
18743
|
-
export declare const listCustomerEntitlementsV2QueryPageSizeDefault
|
|
18744
|
-
export declare const listCustomerEntitlementsV2QueryPageSizeMax
|
|
19287
|
+
export declare const listCustomerEntitlementsV2QueryIncludeDeletedDefault: false;
|
|
19288
|
+
export declare const listCustomerEntitlementsV2QueryPageDefault: 1;
|
|
19289
|
+
export declare const listCustomerEntitlementsV2QueryPageSizeDefault: 100;
|
|
19290
|
+
export declare const listCustomerEntitlementsV2QueryPageSizeMax: 1000;
|
|
18745
19291
|
export declare const listCustomerEntitlementsV2QueryParams: zod.ZodObject<{
|
|
18746
19292
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
18747
19293
|
order: zod.ZodOptional<zod.ZodEnum<["ASC", "DESC"]>>;
|
|
@@ -18766,7 +19312,9 @@ export declare const listCustomerEntitlementsV2QueryParams: zod.ZodObject<{
|
|
|
18766
19312
|
If featureKey is used, the entitlement is resolved for the current timestamp.
|
|
18767
19313
|
* @summary Get customer entitlement
|
|
18768
19314
|
*/
|
|
18769
|
-
export declare const
|
|
19315
|
+
export declare const getCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19316
|
+
export declare const getCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
19317
|
+
export declare const getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax: 64;
|
|
18770
19318
|
export declare const getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
18771
19319
|
export declare const getCustomerEntitlementV2Params: zod.ZodObject<{
|
|
18772
19320
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -18783,7 +19331,9 @@ export declare const getCustomerEntitlementV2Params: zod.ZodObject<{
|
|
|
18783
19331
|
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.
|
|
18784
19332
|
* @summary Delete customer entitlement
|
|
18785
19333
|
*/
|
|
18786
|
-
export declare const
|
|
19334
|
+
export declare const deleteCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19335
|
+
export declare const deleteCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
19336
|
+
export declare const deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax: 64;
|
|
18787
19337
|
export declare const deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
18788
19338
|
export declare const deleteCustomerEntitlementV2Params: zod.ZodObject<{
|
|
18789
19339
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -18799,7 +19349,9 @@ export declare const deleteCustomerEntitlementV2Params: zod.ZodObject<{
|
|
|
18799
19349
|
* List all grants issued for an entitlement. The entitlement can be defined either by its id or featureKey.
|
|
18800
19350
|
* @summary List customer entitlement grants
|
|
18801
19351
|
*/
|
|
18802
|
-
export declare const
|
|
19352
|
+
export declare const listCustomerEntitlementGrantsV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19353
|
+
export declare const listCustomerEntitlementGrantsV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
19354
|
+
export declare const listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyMax: 64;
|
|
18803
19355
|
export declare const listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
18804
19356
|
export declare const listCustomerEntitlementGrantsV2Params: zod.ZodObject<{
|
|
18805
19357
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -18811,14 +19363,14 @@ export declare const listCustomerEntitlementGrantsV2Params: zod.ZodObject<{
|
|
|
18811
19363
|
customerIdOrKey: string;
|
|
18812
19364
|
entitlementIdOrFeatureKey: string;
|
|
18813
19365
|
}>;
|
|
18814
|
-
export declare const listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault
|
|
18815
|
-
export declare const listCustomerEntitlementGrantsV2QueryPageDefault
|
|
18816
|
-
export declare const listCustomerEntitlementGrantsV2QueryPageSizeDefault
|
|
18817
|
-
export declare const listCustomerEntitlementGrantsV2QueryPageSizeMax
|
|
18818
|
-
export declare const listCustomerEntitlementGrantsV2QueryOffsetDefault
|
|
18819
|
-
export declare const listCustomerEntitlementGrantsV2QueryOffsetMin
|
|
18820
|
-
export declare const listCustomerEntitlementGrantsV2QueryLimitDefault
|
|
18821
|
-
export declare const listCustomerEntitlementGrantsV2QueryLimitMax
|
|
19366
|
+
export declare const listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault: false;
|
|
19367
|
+
export declare const listCustomerEntitlementGrantsV2QueryPageDefault: 1;
|
|
19368
|
+
export declare const listCustomerEntitlementGrantsV2QueryPageSizeDefault: 100;
|
|
19369
|
+
export declare const listCustomerEntitlementGrantsV2QueryPageSizeMax: 1000;
|
|
19370
|
+
export declare const listCustomerEntitlementGrantsV2QueryOffsetDefault: 0;
|
|
19371
|
+
export declare const listCustomerEntitlementGrantsV2QueryOffsetMin: 0;
|
|
19372
|
+
export declare const listCustomerEntitlementGrantsV2QueryLimitDefault: 100;
|
|
19373
|
+
export declare const listCustomerEntitlementGrantsV2QueryLimitMax: 1000;
|
|
18822
19374
|
export declare const listCustomerEntitlementGrantsV2QueryParams: zod.ZodObject<{
|
|
18823
19375
|
includeDeleted: zod.ZodOptional<zod.ZodBoolean>;
|
|
18824
19376
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -18858,7 +19410,9 @@ Rollover settings define what happens to the remaining balance of a grant at a r
|
|
|
18858
19410
|
Grants cannot be changed once created, only deleted. This is to ensure that balance is deterministic regardless of when it is queried.
|
|
18859
19411
|
* @summary Create customer entitlement grant
|
|
18860
19412
|
*/
|
|
18861
|
-
export declare const
|
|
19413
|
+
export declare const createCustomerEntitlementGrantV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19414
|
+
export declare const createCustomerEntitlementGrantV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
19415
|
+
export declare const createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax: 64;
|
|
18862
19416
|
export declare const createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
18863
19417
|
export declare const createCustomerEntitlementGrantV2Params: zod.ZodObject<{
|
|
18864
19418
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -18870,15 +19424,16 @@ export declare const createCustomerEntitlementGrantV2Params: zod.ZodObject<{
|
|
|
18870
19424
|
customerIdOrKey: string;
|
|
18871
19425
|
entitlementIdOrFeatureKey: string;
|
|
18872
19426
|
}>;
|
|
18873
|
-
export declare const createCustomerEntitlementGrantV2BodyAmountMin
|
|
18874
|
-
export declare const createCustomerEntitlementGrantV2BodyPriorityMax
|
|
18875
|
-
export declare const
|
|
18876
|
-
export declare const
|
|
18877
|
-
export declare const
|
|
19427
|
+
export declare const createCustomerEntitlementGrantV2BodyAmountMin: 0;
|
|
19428
|
+
export declare const createCustomerEntitlementGrantV2BodyPriorityMax: 255;
|
|
19429
|
+
export declare const createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault: 0;
|
|
19430
|
+
export declare const createCustomerEntitlementGrantV2BodyRecurrenceIntervalRegExpTwo: RegExp;
|
|
19431
|
+
export declare const createCustomerEntitlementGrantV2BodyExpirationCountMax: 1000;
|
|
18878
19432
|
export declare const createCustomerEntitlementGrantV2Body: zod.ZodObject<{
|
|
18879
19433
|
amount: zod.ZodNumber;
|
|
19434
|
+
annotations: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
18880
19435
|
effectiveAt: zod.ZodDate;
|
|
18881
|
-
expiration: zod.ZodObject<{
|
|
19436
|
+
expiration: zod.ZodOptional<zod.ZodObject<{
|
|
18882
19437
|
count: zod.ZodNumber;
|
|
18883
19438
|
duration: zod.ZodEnum<["HOUR", "DAY", "WEEK", "MONTH", "YEAR"]>;
|
|
18884
19439
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -18887,7 +19442,7 @@ export declare const createCustomerEntitlementGrantV2Body: zod.ZodObject<{
|
|
|
18887
19442
|
}, {
|
|
18888
19443
|
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
18889
19444
|
count: number;
|
|
18890
|
-
}
|
|
19445
|
+
}>>;
|
|
18891
19446
|
maxRolloverAmount: zod.ZodOptional<zod.ZodNumber>;
|
|
18892
19447
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
18893
19448
|
minRolloverAmount: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -18905,33 +19460,35 @@ export declare const createCustomerEntitlementGrantV2Body: zod.ZodObject<{
|
|
|
18905
19460
|
}, "strip", zod.ZodTypeAny, {
|
|
18906
19461
|
amount: number;
|
|
18907
19462
|
effectiveAt: Date;
|
|
18908
|
-
|
|
19463
|
+
priority?: number | undefined;
|
|
19464
|
+
metadata?: Record<string, string> | undefined;
|
|
19465
|
+
expiration?: {
|
|
18909
19466
|
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
18910
19467
|
count: number;
|
|
18911
|
-
};
|
|
18912
|
-
metadata?: Record<string, string> | undefined;
|
|
19468
|
+
} | undefined;
|
|
18913
19469
|
maxRolloverAmount?: number | undefined;
|
|
18914
19470
|
minRolloverAmount?: number | undefined;
|
|
18915
|
-
priority?: number | undefined;
|
|
18916
19471
|
recurrence?: {
|
|
18917
19472
|
interval: string;
|
|
18918
19473
|
anchor?: Date | undefined;
|
|
18919
19474
|
} | undefined;
|
|
19475
|
+
annotations?: Record<string, any> | undefined;
|
|
18920
19476
|
}, {
|
|
18921
19477
|
amount: number;
|
|
18922
19478
|
effectiveAt: Date;
|
|
18923
|
-
|
|
19479
|
+
priority?: number | undefined;
|
|
19480
|
+
metadata?: Record<string, string> | undefined;
|
|
19481
|
+
expiration?: {
|
|
18924
19482
|
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
18925
19483
|
count: number;
|
|
18926
|
-
};
|
|
18927
|
-
metadata?: Record<string, string> | undefined;
|
|
19484
|
+
} | undefined;
|
|
18928
19485
|
maxRolloverAmount?: number | undefined;
|
|
18929
19486
|
minRolloverAmount?: number | undefined;
|
|
18930
|
-
priority?: number | undefined;
|
|
18931
19487
|
recurrence?: {
|
|
18932
19488
|
interval: string;
|
|
18933
19489
|
anchor?: Date | undefined;
|
|
18934
19490
|
} | undefined;
|
|
19491
|
+
annotations?: Record<string, any> | undefined;
|
|
18935
19492
|
}>;
|
|
18936
19493
|
/**
|
|
18937
19494
|
* Returns historical balance and usage data for the entitlement. The queried history can span accross multiple reset events.
|
|
@@ -18941,7 +19498,9 @@ BurndownHistory returns a continous history of segments, where the segments are
|
|
|
18941
19498
|
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.
|
|
18942
19499
|
* @summary Get customer entitlement history
|
|
18943
19500
|
*/
|
|
18944
|
-
export declare const
|
|
19501
|
+
export declare const getCustomerEntitlementHistoryV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19502
|
+
export declare const getCustomerEntitlementHistoryV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
19503
|
+
export declare const getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax: 64;
|
|
18945
19504
|
export declare const getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
18946
19505
|
export declare const getCustomerEntitlementHistoryV2Params: zod.ZodObject<{
|
|
18947
19506
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -18953,7 +19512,7 @@ export declare const getCustomerEntitlementHistoryV2Params: zod.ZodObject<{
|
|
|
18953
19512
|
customerIdOrKey: string;
|
|
18954
19513
|
entitlementIdOrFeatureKey: string;
|
|
18955
19514
|
}>;
|
|
18956
|
-
export declare const getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault
|
|
19515
|
+
export declare const getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault: "UTC";
|
|
18957
19516
|
export declare const getCustomerEntitlementHistoryV2QueryParams: zod.ZodObject<{
|
|
18958
19517
|
from: zod.ZodOptional<zod.ZodDate>;
|
|
18959
19518
|
to: zod.ZodOptional<zod.ZodDate>;
|
|
@@ -18976,6 +19535,10 @@ export declare const getCustomerEntitlementHistoryV2QueryParams: zod.ZodObject<{
|
|
|
18976
19535
|
This endpoint is useful for upgrades, downgrades, or other changes to entitlements that require a new entitlement to be created with zero downtime.
|
|
18977
19536
|
* @summary Override customer entitlement
|
|
18978
19537
|
*/
|
|
19538
|
+
export declare const overrideCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19539
|
+
export declare const overrideCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
19540
|
+
export declare const overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExpOne: RegExp;
|
|
19541
|
+
export declare const overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMaxTwo: 256;
|
|
18979
19542
|
export declare const overrideCustomerEntitlementV2Params: zod.ZodObject<{
|
|
18980
19543
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
18981
19544
|
entitlementIdOrFeatureKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -18986,28 +19549,108 @@ export declare const overrideCustomerEntitlementV2Params: zod.ZodObject<{
|
|
|
18986
19549
|
customerIdOrKey: string;
|
|
18987
19550
|
entitlementIdOrFeatureKey: string;
|
|
18988
19551
|
}>;
|
|
18989
|
-
export declare const overrideCustomerEntitlementV2BodyFeatureKeyMax
|
|
19552
|
+
export declare const overrideCustomerEntitlementV2BodyFeatureKeyMax: 64;
|
|
18990
19553
|
export declare const overrideCustomerEntitlementV2BodyFeatureKeyRegExp: RegExp;
|
|
18991
19554
|
export declare const overrideCustomerEntitlementV2BodyFeatureIdRegExp: RegExp;
|
|
18992
|
-
export declare const overrideCustomerEntitlementV2BodyIsSoftLimitDefault
|
|
18993
|
-
export declare const
|
|
18994
|
-
export declare const
|
|
18995
|
-
export declare const
|
|
18996
|
-
export declare const
|
|
18997
|
-
export declare const
|
|
18998
|
-
export declare const
|
|
19555
|
+
export declare const overrideCustomerEntitlementV2BodyIsSoftLimitDefault: false;
|
|
19556
|
+
export declare const overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo: RegExp;
|
|
19557
|
+
export declare const overrideCustomerEntitlementV2BodyPreserveOverageAtResetDefault: false;
|
|
19558
|
+
export declare const overrideCustomerEntitlementV2BodyIssueAfterResetMin: 0;
|
|
19559
|
+
export declare const overrideCustomerEntitlementV2BodyIssueAfterResetPriorityDefault: 1;
|
|
19560
|
+
export declare const overrideCustomerEntitlementV2BodyIssueAfterResetPriorityMax: 255;
|
|
19561
|
+
export declare const overrideCustomerEntitlementV2BodyIssueAmountMin: 0;
|
|
19562
|
+
export declare const overrideCustomerEntitlementV2BodyIssuePriorityDefault: 1;
|
|
19563
|
+
export declare const overrideCustomerEntitlementV2BodyIssuePriorityMax: 255;
|
|
19564
|
+
export declare const overrideCustomerEntitlementV2BodyGrantsItemAmountMin: 0;
|
|
19565
|
+
export declare const overrideCustomerEntitlementV2BodyGrantsItemPriorityMax: 255;
|
|
19566
|
+
export declare const overrideCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault: 0;
|
|
19567
|
+
export declare const overrideCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo: RegExp;
|
|
19568
|
+
export declare const overrideCustomerEntitlementV2BodyGrantsItemExpirationCountMax: 1000;
|
|
19569
|
+
export declare const overrideCustomerEntitlementV2BodyFeatureKeyMaxOne: 64;
|
|
18999
19570
|
export declare const overrideCustomerEntitlementV2BodyFeatureKeyRegExpOne: RegExp;
|
|
19000
19571
|
export declare const overrideCustomerEntitlementV2BodyFeatureIdRegExpOne: RegExp;
|
|
19001
|
-
export declare const
|
|
19572
|
+
export declare const overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix: RegExp;
|
|
19573
|
+
export declare const overrideCustomerEntitlementV2BodyFeatureKeyMaxTwo: 64;
|
|
19002
19574
|
export declare const overrideCustomerEntitlementV2BodyFeatureKeyRegExpTwo: RegExp;
|
|
19003
19575
|
export declare const overrideCustomerEntitlementV2BodyFeatureIdRegExpTwo: RegExp;
|
|
19576
|
+
export declare const overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero: RegExp;
|
|
19004
19577
|
export declare const overrideCustomerEntitlementV2Body: zod.ZodUnion<[zod.ZodObject<{
|
|
19005
19578
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
19006
19579
|
featureKey: zod.ZodOptional<zod.ZodString>;
|
|
19580
|
+
grants: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
19581
|
+
amount: zod.ZodNumber;
|
|
19582
|
+
annotations: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
19583
|
+
effectiveAt: zod.ZodDate;
|
|
19584
|
+
expiration: zod.ZodOptional<zod.ZodObject<{
|
|
19585
|
+
count: zod.ZodNumber;
|
|
19586
|
+
duration: zod.ZodEnum<["HOUR", "DAY", "WEEK", "MONTH", "YEAR"]>;
|
|
19587
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19588
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19589
|
+
count: number;
|
|
19590
|
+
}, {
|
|
19591
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19592
|
+
count: number;
|
|
19593
|
+
}>>;
|
|
19594
|
+
maxRolloverAmount: zod.ZodOptional<zod.ZodNumber>;
|
|
19595
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
19596
|
+
minRolloverAmount: zod.ZodOptional<zod.ZodNumber>;
|
|
19597
|
+
priority: zod.ZodOptional<zod.ZodNumber>;
|
|
19598
|
+
recurrence: zod.ZodOptional<zod.ZodObject<{
|
|
19599
|
+
anchor: zod.ZodOptional<zod.ZodDate>;
|
|
19600
|
+
interval: zod.ZodUnion<[zod.ZodString, zod.ZodEnum<["DAY", "WEEK", "MONTH", "YEAR"]>]>;
|
|
19601
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19602
|
+
interval: string;
|
|
19603
|
+
anchor?: Date | undefined;
|
|
19604
|
+
}, {
|
|
19605
|
+
interval: string;
|
|
19606
|
+
anchor?: Date | undefined;
|
|
19607
|
+
}>>;
|
|
19608
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19609
|
+
amount: number;
|
|
19610
|
+
effectiveAt: Date;
|
|
19611
|
+
priority?: number | undefined;
|
|
19612
|
+
metadata?: Record<string, string> | undefined;
|
|
19613
|
+
expiration?: {
|
|
19614
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19615
|
+
count: number;
|
|
19616
|
+
} | undefined;
|
|
19617
|
+
maxRolloverAmount?: number | undefined;
|
|
19618
|
+
minRolloverAmount?: number | undefined;
|
|
19619
|
+
recurrence?: {
|
|
19620
|
+
interval: string;
|
|
19621
|
+
anchor?: Date | undefined;
|
|
19622
|
+
} | undefined;
|
|
19623
|
+
annotations?: Record<string, any> | undefined;
|
|
19624
|
+
}, {
|
|
19625
|
+
amount: number;
|
|
19626
|
+
effectiveAt: Date;
|
|
19627
|
+
priority?: number | undefined;
|
|
19628
|
+
metadata?: Record<string, string> | undefined;
|
|
19629
|
+
expiration?: {
|
|
19630
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19631
|
+
count: number;
|
|
19632
|
+
} | undefined;
|
|
19633
|
+
maxRolloverAmount?: number | undefined;
|
|
19634
|
+
minRolloverAmount?: number | undefined;
|
|
19635
|
+
recurrence?: {
|
|
19636
|
+
interval: string;
|
|
19637
|
+
anchor?: Date | undefined;
|
|
19638
|
+
} | undefined;
|
|
19639
|
+
annotations?: Record<string, any> | undefined;
|
|
19640
|
+
}>, "many">>;
|
|
19007
19641
|
isSoftLimit: zod.ZodOptional<zod.ZodBoolean>;
|
|
19642
|
+
issue: zod.ZodOptional<zod.ZodObject<{
|
|
19643
|
+
amount: zod.ZodNumber;
|
|
19644
|
+
priority: zod.ZodDefault<zod.ZodNumber>;
|
|
19645
|
+
}, "strip", zod.ZodTypeAny, {
|
|
19646
|
+
priority: number;
|
|
19647
|
+
amount: number;
|
|
19648
|
+
}, {
|
|
19649
|
+
amount: number;
|
|
19650
|
+
priority?: number | undefined;
|
|
19651
|
+
}>>;
|
|
19008
19652
|
issueAfterReset: zod.ZodOptional<zod.ZodNumber>;
|
|
19009
19653
|
issueAfterResetPriority: zod.ZodDefault<zod.ZodNumber>;
|
|
19010
|
-
isUnlimited: zod.ZodOptional<zod.ZodBoolean>;
|
|
19011
19654
|
measureUsageFrom: zod.ZodOptional<zod.ZodUnion<[zod.ZodEnum<["CURRENT_PERIOD_START", "NOW"]>, zod.ZodDate]>>;
|
|
19012
19655
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
19013
19656
|
preserveOverageAtReset: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -19035,8 +19678,28 @@ export declare const overrideCustomerEntitlementV2Body: zod.ZodUnion<[zod.ZodObj
|
|
|
19035
19678
|
isSoftLimit?: boolean | undefined;
|
|
19036
19679
|
issueAfterReset?: number | undefined;
|
|
19037
19680
|
preserveOverageAtReset?: boolean | undefined;
|
|
19038
|
-
isUnlimited?: boolean | undefined;
|
|
19039
19681
|
measureUsageFrom?: Date | "CURRENT_PERIOD_START" | "NOW" | undefined;
|
|
19682
|
+
grants?: {
|
|
19683
|
+
amount: number;
|
|
19684
|
+
effectiveAt: Date;
|
|
19685
|
+
priority?: number | undefined;
|
|
19686
|
+
metadata?: Record<string, string> | undefined;
|
|
19687
|
+
expiration?: {
|
|
19688
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19689
|
+
count: number;
|
|
19690
|
+
} | undefined;
|
|
19691
|
+
maxRolloverAmount?: number | undefined;
|
|
19692
|
+
minRolloverAmount?: number | undefined;
|
|
19693
|
+
recurrence?: {
|
|
19694
|
+
interval: string;
|
|
19695
|
+
anchor?: Date | undefined;
|
|
19696
|
+
} | undefined;
|
|
19697
|
+
annotations?: Record<string, any> | undefined;
|
|
19698
|
+
}[] | undefined;
|
|
19699
|
+
issue?: {
|
|
19700
|
+
priority: number;
|
|
19701
|
+
amount: number;
|
|
19702
|
+
} | undefined;
|
|
19040
19703
|
}, {
|
|
19041
19704
|
type: "metered";
|
|
19042
19705
|
usagePeriod: {
|
|
@@ -19050,8 +19713,28 @@ export declare const overrideCustomerEntitlementV2Body: zod.ZodUnion<[zod.ZodObj
|
|
|
19050
19713
|
issueAfterReset?: number | undefined;
|
|
19051
19714
|
issueAfterResetPriority?: number | undefined;
|
|
19052
19715
|
preserveOverageAtReset?: boolean | undefined;
|
|
19053
|
-
isUnlimited?: boolean | undefined;
|
|
19054
19716
|
measureUsageFrom?: Date | "CURRENT_PERIOD_START" | "NOW" | undefined;
|
|
19717
|
+
grants?: {
|
|
19718
|
+
amount: number;
|
|
19719
|
+
effectiveAt: Date;
|
|
19720
|
+
priority?: number | undefined;
|
|
19721
|
+
metadata?: Record<string, string> | undefined;
|
|
19722
|
+
expiration?: {
|
|
19723
|
+
duration: "HOUR" | "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
19724
|
+
count: number;
|
|
19725
|
+
} | undefined;
|
|
19726
|
+
maxRolloverAmount?: number | undefined;
|
|
19727
|
+
minRolloverAmount?: number | undefined;
|
|
19728
|
+
recurrence?: {
|
|
19729
|
+
interval: string;
|
|
19730
|
+
anchor?: Date | undefined;
|
|
19731
|
+
} | undefined;
|
|
19732
|
+
annotations?: Record<string, any> | undefined;
|
|
19733
|
+
}[] | undefined;
|
|
19734
|
+
issue?: {
|
|
19735
|
+
amount: number;
|
|
19736
|
+
priority?: number | undefined;
|
|
19737
|
+
} | undefined;
|
|
19055
19738
|
}>, zod.ZodObject<{
|
|
19056
19739
|
config: zod.ZodString;
|
|
19057
19740
|
featureId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -19128,7 +19811,9 @@ export declare const overrideCustomerEntitlementV2Body: zod.ZodUnion<[zod.ZodObj
|
|
|
19128
19811
|
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.
|
|
19129
19812
|
* @summary Reset customer entitlement
|
|
19130
19813
|
*/
|
|
19131
|
-
export declare const
|
|
19814
|
+
export declare const resetCustomerEntitlementUsageV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19815
|
+
export declare const resetCustomerEntitlementUsageV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
19816
|
+
export declare const resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax: 64;
|
|
19132
19817
|
export declare const resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
19133
19818
|
export declare const resetCustomerEntitlementUsageV2Params: zod.ZodObject<{
|
|
19134
19819
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -19157,7 +19842,9 @@ export declare const resetCustomerEntitlementUsageV2Body: zod.ZodObject<{
|
|
|
19157
19842
|
* 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.
|
|
19158
19843
|
* @summary Get customer entitlement value
|
|
19159
19844
|
*/
|
|
19160
|
-
export declare const
|
|
19845
|
+
export declare const getCustomerEntitlementValueV2PathCustomerIdOrKeyRegExpOne: RegExp;
|
|
19846
|
+
export declare const getCustomerEntitlementValueV2PathCustomerIdOrKeyMaxTwo: 256;
|
|
19847
|
+
export declare const getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax: 64;
|
|
19161
19848
|
export declare const getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp: RegExp;
|
|
19162
19849
|
export declare const getCustomerEntitlementValueV2Params: zod.ZodObject<{
|
|
19163
19850
|
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
@@ -19181,14 +19868,14 @@ export declare const getCustomerEntitlementValueV2QueryParams: zod.ZodObject<{
|
|
|
19181
19868
|
To fetch the entitlements of a specific subject please use the /api/v2/customers/{customerIdOrKey}/entitlements endpoint.
|
|
19182
19869
|
* @summary List all entitlements
|
|
19183
19870
|
*/
|
|
19184
|
-
export declare const listEntitlementsV2QueryExcludeInactiveDefault
|
|
19185
|
-
export declare const listEntitlementsV2QueryPageDefault
|
|
19186
|
-
export declare const listEntitlementsV2QueryPageSizeDefault
|
|
19187
|
-
export declare const listEntitlementsV2QueryPageSizeMax
|
|
19188
|
-
export declare const listEntitlementsV2QueryOffsetDefault
|
|
19189
|
-
export declare const listEntitlementsV2QueryOffsetMin
|
|
19190
|
-
export declare const listEntitlementsV2QueryLimitDefault
|
|
19191
|
-
export declare const listEntitlementsV2QueryLimitMax
|
|
19871
|
+
export declare const listEntitlementsV2QueryExcludeInactiveDefault: false;
|
|
19872
|
+
export declare const listEntitlementsV2QueryPageDefault: 1;
|
|
19873
|
+
export declare const listEntitlementsV2QueryPageSizeDefault: 100;
|
|
19874
|
+
export declare const listEntitlementsV2QueryPageSizeMax: 1000;
|
|
19875
|
+
export declare const listEntitlementsV2QueryOffsetDefault: 0;
|
|
19876
|
+
export declare const listEntitlementsV2QueryOffsetMin: 0;
|
|
19877
|
+
export declare const listEntitlementsV2QueryLimitDefault: 100;
|
|
19878
|
+
export declare const listEntitlementsV2QueryLimitMax: 1000;
|
|
19192
19879
|
export declare const listEntitlementsV2QueryParams: zod.ZodObject<{
|
|
19193
19880
|
customerIds: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
19194
19881
|
customerKeys: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -19242,9 +19929,9 @@ export declare const getEntitlementByIdV2Params: zod.ZodObject<{
|
|
|
19242
19929
|
* List ingested events with advanced filtering and cursor pagination.
|
|
19243
19930
|
* @summary List ingested events
|
|
19244
19931
|
*/
|
|
19245
|
-
export declare const listEventsV2QueryLimitDefault
|
|
19246
|
-
export declare const listEventsV2QueryLimitMax
|
|
19247
|
-
export declare const listEventsV2QueryClientIdMax
|
|
19932
|
+
export declare const listEventsV2QueryLimitDefault: 100;
|
|
19933
|
+
export declare const listEventsV2QueryLimitMax: 100;
|
|
19934
|
+
export declare const listEventsV2QueryClientIdMax: 36;
|
|
19248
19935
|
export declare const listEventsV2QueryParams: zod.ZodObject<{
|
|
19249
19936
|
clientId: zod.ZodOptional<zod.ZodString>;
|
|
19250
19937
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -19264,14 +19951,16 @@ To fetch the grants of a specific entitlement please use the /api/v2/customers/{
|
|
|
19264
19951
|
If page is provided that takes precedence and the paginated response is returned.
|
|
19265
19952
|
* @summary List grants
|
|
19266
19953
|
*/
|
|
19267
|
-
export declare const
|
|
19268
|
-
export declare const
|
|
19269
|
-
export declare const
|
|
19270
|
-
export declare const
|
|
19271
|
-
export declare const
|
|
19272
|
-
export declare const
|
|
19273
|
-
export declare const
|
|
19274
|
-
export declare const
|
|
19954
|
+
export declare const listGrantsV2QueryCustomerItemRegExpOne: RegExp;
|
|
19955
|
+
export declare const listGrantsV2QueryCustomerItemMaxTwo: 256;
|
|
19956
|
+
export declare const listGrantsV2QueryIncludeDeletedDefault: false;
|
|
19957
|
+
export declare const listGrantsV2QueryPageDefault: 1;
|
|
19958
|
+
export declare const listGrantsV2QueryPageSizeDefault: 100;
|
|
19959
|
+
export declare const listGrantsV2QueryPageSizeMax: 1000;
|
|
19960
|
+
export declare const listGrantsV2QueryOffsetDefault: 0;
|
|
19961
|
+
export declare const listGrantsV2QueryOffsetMin: 0;
|
|
19962
|
+
export declare const listGrantsV2QueryLimitDefault: 100;
|
|
19963
|
+
export declare const listGrantsV2QueryLimitMax: 1000;
|
|
19275
19964
|
export declare const listGrantsV2QueryParams: zod.ZodObject<{
|
|
19276
19965
|
customer: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodString]>, "many">>;
|
|
19277
19966
|
feature: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|