@openmeter/sdk 1.0.0-beta-ad5047c4675d → 1.0.0-beta-5dd1a38351dd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/client/plans.d.cts +10 -0
- package/dist/cjs/src/client/schemas.d.cts +130 -0
- package/dist/cjs/src/client/subscriptions.d.cts +10 -0
- package/dist/cjs/src/zod/index.cjs +98 -10
- package/dist/cjs/src/zod/index.d.cts +128 -0
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.76092a74.tsbuildinfo → tsconfig.5751408d.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.c76e7760.tsbuildinfo → tsconfig.c184c875.tsbuildinfo} +1 -1
- package/dist/src/client/plans.d.ts +10 -0
- package/dist/src/client/schemas.d.ts +130 -0
- package/dist/src/client/subscriptions.d.ts +10 -0
- package/dist/src/zod/index.d.ts +128 -0
- package/dist/src/zod/index.js +88 -0
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -22,6 +22,8 @@ export declare class Plans {
|
|
|
22
22
|
alignment?: import("./schemas.cjs").components["schemas"]["Alignment"];
|
|
23
23
|
readonly version: number;
|
|
24
24
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
25
|
+
billingCadence: string;
|
|
26
|
+
proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
25
27
|
readonly effectiveFrom?: Date;
|
|
26
28
|
readonly effectiveTo?: Date;
|
|
27
29
|
readonly status: import("./schemas.cjs").components["schemas"]["PlanStatus"];
|
|
@@ -46,6 +48,8 @@ export declare class Plans {
|
|
|
46
48
|
alignment?: import("./schemas.cjs").components["schemas"]["Alignment"];
|
|
47
49
|
readonly version: number;
|
|
48
50
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
51
|
+
billingCadence: string;
|
|
52
|
+
proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
49
53
|
readonly effectiveFrom?: Date;
|
|
50
54
|
readonly effectiveTo?: Date;
|
|
51
55
|
readonly status: import("./schemas.cjs").components["schemas"]["PlanStatus"];
|
|
@@ -83,6 +87,8 @@ export declare class Plans {
|
|
|
83
87
|
alignment?: import("./schemas.cjs").components["schemas"]["Alignment"];
|
|
84
88
|
readonly version: number;
|
|
85
89
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
90
|
+
billingCadence: string;
|
|
91
|
+
proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
86
92
|
readonly effectiveFrom?: Date;
|
|
87
93
|
readonly effectiveTo?: Date;
|
|
88
94
|
readonly status: import("./schemas.cjs").components["schemas"]["PlanStatus"];
|
|
@@ -114,6 +120,8 @@ export declare class Plans {
|
|
|
114
120
|
alignment?: import("./schemas.cjs").components["schemas"]["Alignment"];
|
|
115
121
|
readonly version: number;
|
|
116
122
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
123
|
+
billingCadence: string;
|
|
124
|
+
proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
117
125
|
readonly effectiveFrom?: Date;
|
|
118
126
|
readonly effectiveTo?: Date;
|
|
119
127
|
readonly status: import("./schemas.cjs").components["schemas"]["PlanStatus"];
|
|
@@ -138,6 +146,8 @@ export declare class Plans {
|
|
|
138
146
|
alignment?: import("./schemas.cjs").components["schemas"]["Alignment"];
|
|
139
147
|
readonly version: number;
|
|
140
148
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
149
|
+
billingCadence: string;
|
|
150
|
+
proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
141
151
|
readonly effectiveFrom?: Date;
|
|
142
152
|
readonly effectiveTo?: Date;
|
|
143
153
|
readonly status: import("./schemas.cjs").components["schemas"]["PlanStatus"];
|
|
@@ -3465,6 +3465,24 @@ export interface components {
|
|
|
3465
3465
|
* @default USD
|
|
3466
3466
|
*/
|
|
3467
3467
|
currency: components['schemas']['CurrencyCode'];
|
|
3468
|
+
/**
|
|
3469
|
+
* Billing cadence
|
|
3470
|
+
* Format: duration
|
|
3471
|
+
* @description The default billing cadence for subscriptions using this plan.
|
|
3472
|
+
* Defines how often customers are billed using ISO8601 duration format.
|
|
3473
|
+
* Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).
|
|
3474
|
+
* @example P1M
|
|
3475
|
+
*/
|
|
3476
|
+
billingCadence: string;
|
|
3477
|
+
/**
|
|
3478
|
+
* Pro-rating configuration
|
|
3479
|
+
* @description Default pro-rating configuration for subscriptions using this plan.
|
|
3480
|
+
* @default {
|
|
3481
|
+
* "enabled": true,
|
|
3482
|
+
* "mode": "prorate_prices"
|
|
3483
|
+
* }
|
|
3484
|
+
*/
|
|
3485
|
+
proRatingConfig?: components['schemas']['ProRatingConfig'];
|
|
3468
3486
|
/**
|
|
3469
3487
|
* Plan phases
|
|
3470
3488
|
* @description The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses.
|
|
@@ -7585,6 +7603,24 @@ export interface components {
|
|
|
7585
7603
|
* @default USD
|
|
7586
7604
|
*/
|
|
7587
7605
|
currency: components['schemas']['CurrencyCode'];
|
|
7606
|
+
/**
|
|
7607
|
+
* Billing cadence
|
|
7608
|
+
* Format: duration
|
|
7609
|
+
* @description The default billing cadence for subscriptions using this plan.
|
|
7610
|
+
* Defines how often customers are billed using ISO8601 duration format.
|
|
7611
|
+
* Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).
|
|
7612
|
+
* @example P1M
|
|
7613
|
+
*/
|
|
7614
|
+
billingCadence: string;
|
|
7615
|
+
/**
|
|
7616
|
+
* Pro-rating configuration
|
|
7617
|
+
* @description Default pro-rating configuration for subscriptions using this plan.
|
|
7618
|
+
* @default {
|
|
7619
|
+
* "enabled": true,
|
|
7620
|
+
* "mode": "prorate_prices"
|
|
7621
|
+
* }
|
|
7622
|
+
*/
|
|
7623
|
+
proRatingConfig?: components['schemas']['ProRatingConfig'];
|
|
7588
7624
|
/**
|
|
7589
7625
|
* Effective start date
|
|
7590
7626
|
* Format: date-time
|
|
@@ -7775,6 +7811,24 @@ export interface components {
|
|
|
7775
7811
|
* @default USD
|
|
7776
7812
|
*/
|
|
7777
7813
|
currency: components['schemas']['CurrencyCode'];
|
|
7814
|
+
/**
|
|
7815
|
+
* Billing cadence
|
|
7816
|
+
* Format: duration
|
|
7817
|
+
* @description The default billing cadence for subscriptions using this plan.
|
|
7818
|
+
* Defines how often customers are billed using ISO8601 duration format.
|
|
7819
|
+
* Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).
|
|
7820
|
+
* @example P1M
|
|
7821
|
+
*/
|
|
7822
|
+
billingCadence: string;
|
|
7823
|
+
/**
|
|
7824
|
+
* Pro-rating configuration
|
|
7825
|
+
* @description Default pro-rating configuration for subscriptions using this plan.
|
|
7826
|
+
* @default {
|
|
7827
|
+
* "enabled": true,
|
|
7828
|
+
* "mode": "prorate_prices"
|
|
7829
|
+
* }
|
|
7830
|
+
*/
|
|
7831
|
+
proRatingConfig?: components['schemas']['ProRatingConfig'];
|
|
7778
7832
|
/**
|
|
7779
7833
|
* Plan phases
|
|
7780
7834
|
* @description The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses.
|
|
@@ -7880,6 +7934,24 @@ export interface components {
|
|
|
7880
7934
|
metadata?: components['schemas']['Metadata'] | null;
|
|
7881
7935
|
/** @description Alignment configuration for the plan. */
|
|
7882
7936
|
alignment?: components['schemas']['Alignment'];
|
|
7937
|
+
/**
|
|
7938
|
+
* Billing cadence
|
|
7939
|
+
* Format: duration
|
|
7940
|
+
* @description The default billing cadence for subscriptions using this plan.
|
|
7941
|
+
* Defines how often customers are billed using ISO8601 duration format.
|
|
7942
|
+
* Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).
|
|
7943
|
+
* @example P1M
|
|
7944
|
+
*/
|
|
7945
|
+
billingCadence: string;
|
|
7946
|
+
/**
|
|
7947
|
+
* Pro-rating configuration
|
|
7948
|
+
* @description Default pro-rating configuration for subscriptions using this plan.
|
|
7949
|
+
* @default {
|
|
7950
|
+
* "enabled": true,
|
|
7951
|
+
* "mode": "prorate_prices"
|
|
7952
|
+
* }
|
|
7953
|
+
*/
|
|
7954
|
+
proRatingConfig?: components['schemas']['ProRatingConfig'];
|
|
7883
7955
|
/**
|
|
7884
7956
|
* Plan phases
|
|
7885
7957
|
* @description The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses.
|
|
@@ -8006,6 +8078,26 @@ export interface components {
|
|
|
8006
8078
|
*/
|
|
8007
8079
|
unitPrice: components['schemas']['UnitPrice'] | null;
|
|
8008
8080
|
};
|
|
8081
|
+
/** @description Configuration for pro-rating behavior. */
|
|
8082
|
+
ProRatingConfig: {
|
|
8083
|
+
/**
|
|
8084
|
+
* Enable pro-rating
|
|
8085
|
+
* @description Whether pro-rating is enabled for this plan.
|
|
8086
|
+
* @default true
|
|
8087
|
+
*/
|
|
8088
|
+
enabled: boolean;
|
|
8089
|
+
/**
|
|
8090
|
+
* Pro-rating mode
|
|
8091
|
+
* @description How to handle pro-rating for billing period changes.
|
|
8092
|
+
* @default prorate_prices
|
|
8093
|
+
*/
|
|
8094
|
+
mode: components['schemas']['ProRatingMode'];
|
|
8095
|
+
};
|
|
8096
|
+
/**
|
|
8097
|
+
* @description Pro-rating mode options for handling billing period changes.
|
|
8098
|
+
* @enum {string}
|
|
8099
|
+
*/
|
|
8100
|
+
ProRatingMode: 'prorate_prices';
|
|
8009
8101
|
/** @description Progress describes a progress of a task. */
|
|
8010
8102
|
Progress: {
|
|
8011
8103
|
/**
|
|
@@ -8858,6 +8950,24 @@ export interface components {
|
|
|
8858
8950
|
* @default USD
|
|
8859
8951
|
*/
|
|
8860
8952
|
currency: components['schemas']['CurrencyCode'];
|
|
8953
|
+
/**
|
|
8954
|
+
* Billing cadence
|
|
8955
|
+
* Format: duration
|
|
8956
|
+
* @description The billing cadence for the subscriptions.
|
|
8957
|
+
* Defines how often customers are billed using ISO8601 duration format.
|
|
8958
|
+
* Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).
|
|
8959
|
+
* @example P1M
|
|
8960
|
+
*/
|
|
8961
|
+
readonly billingCadence: string;
|
|
8962
|
+
/**
|
|
8963
|
+
* Pro-rating configuration
|
|
8964
|
+
* @description The pro-rating configuration for the subscriptions.
|
|
8965
|
+
* @default {
|
|
8966
|
+
* "enabled": true,
|
|
8967
|
+
* "mode": "prorate_prices"
|
|
8968
|
+
* }
|
|
8969
|
+
*/
|
|
8970
|
+
readonly proRatingConfig?: components['schemas']['ProRatingConfig'];
|
|
8861
8971
|
};
|
|
8862
8972
|
/** @description A subscription add-on, represents concrete instances of an add-on for a given subscription. */
|
|
8863
8973
|
SubscriptionAddon: {
|
|
@@ -9199,6 +9309,24 @@ export interface components {
|
|
|
9199
9309
|
* @default USD
|
|
9200
9310
|
*/
|
|
9201
9311
|
currency: components['schemas']['CurrencyCode'];
|
|
9312
|
+
/**
|
|
9313
|
+
* Billing cadence
|
|
9314
|
+
* Format: duration
|
|
9315
|
+
* @description The billing cadence for the subscriptions.
|
|
9316
|
+
* Defines how often customers are billed using ISO8601 duration format.
|
|
9317
|
+
* Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).
|
|
9318
|
+
* @example P1M
|
|
9319
|
+
*/
|
|
9320
|
+
readonly billingCadence: string;
|
|
9321
|
+
/**
|
|
9322
|
+
* Pro-rating configuration
|
|
9323
|
+
* @description The pro-rating configuration for the subscriptions.
|
|
9324
|
+
* @default {
|
|
9325
|
+
* "enabled": true,
|
|
9326
|
+
* "mode": "prorate_prices"
|
|
9327
|
+
* }
|
|
9328
|
+
*/
|
|
9329
|
+
readonly proRatingConfig?: components['schemas']['ProRatingConfig'];
|
|
9202
9330
|
/** @description Alignment details enriched with the current billing period. */
|
|
9203
9331
|
alignment?: components['schemas']['SubscriptionAlignment'];
|
|
9204
9332
|
/** @description The phases of the subscription. */
|
|
@@ -10247,6 +10375,8 @@ export type PortalToken = components['schemas']['PortalToken'];
|
|
|
10247
10375
|
export type PreconditionFailedProblemResponse = components['schemas']['PreconditionFailedProblemResponse'];
|
|
10248
10376
|
export type PricePaymentTerm = components['schemas']['PricePaymentTerm'];
|
|
10249
10377
|
export type PriceTier = components['schemas']['PriceTier'];
|
|
10378
|
+
export type ProRatingConfig = components['schemas']['ProRatingConfig'];
|
|
10379
|
+
export type ProRatingMode = components['schemas']['ProRatingMode'];
|
|
10250
10380
|
export type Progress = components['schemas']['Progress'];
|
|
10251
10381
|
export type RateCard = components['schemas']['RateCard'];
|
|
10252
10382
|
export type RateCardBooleanEntitlement = components['schemas']['RateCardBooleanEntitlement'];
|
|
@@ -28,6 +28,8 @@ export declare class Subscriptions {
|
|
|
28
28
|
customerId: string;
|
|
29
29
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
30
30
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
31
|
+
readonly billingCadence: string;
|
|
32
|
+
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
31
33
|
}>;
|
|
32
34
|
/**
|
|
33
35
|
* Get a subscription
|
|
@@ -49,6 +51,8 @@ export declare class Subscriptions {
|
|
|
49
51
|
customerId: string;
|
|
50
52
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
51
53
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
54
|
+
readonly billingCadence: string;
|
|
55
|
+
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
52
56
|
alignment?: import("./schemas.cjs").components["schemas"]["SubscriptionAlignment"];
|
|
53
57
|
phases: import("./schemas.cjs").components["schemas"]["SubscriptionPhaseExpanded"][];
|
|
54
58
|
}>;
|
|
@@ -74,6 +78,8 @@ export declare class Subscriptions {
|
|
|
74
78
|
customerId: string;
|
|
75
79
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
76
80
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
81
|
+
readonly billingCadence: string;
|
|
82
|
+
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
77
83
|
}>;
|
|
78
84
|
/**
|
|
79
85
|
* Cancel a subscription
|
|
@@ -97,6 +103,8 @@ export declare class Subscriptions {
|
|
|
97
103
|
customerId: string;
|
|
98
104
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
99
105
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
106
|
+
readonly billingCadence: string;
|
|
107
|
+
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
100
108
|
}>;
|
|
101
109
|
/**
|
|
102
110
|
* Change a subscription
|
|
@@ -143,5 +151,7 @@ export declare class Subscriptions {
|
|
|
143
151
|
customerId: string;
|
|
144
152
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
145
153
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
154
|
+
readonly billingCadence: string;
|
|
155
|
+
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
146
156
|
}>;
|
|
147
157
|
}
|
|
@@ -14,16 +14,16 @@ exports.createFeatureBodyMeterSlugRegExp = exports.createFeatureBodyMeterSlugMax
|
|
|
14
14
|
exports.queryMeterPathMeterIdOrSlugRegExp = exports.queryMeterPathMeterIdOrSlugMax = exports.deleteMeterParams = exports.deleteMeterPathMeterIdOrSlugRegExp = exports.deleteMeterPathMeterIdOrSlugMax = exports.updateMeterBody = exports.updateMeterBodyNameMax = exports.updateMeterBodyDescriptionMax = exports.updateMeterParams = exports.updateMeterPathMeterIdOrSlugRegExp = exports.updateMeterPathMeterIdOrSlugMax = exports.getMeterParams = exports.getMeterPathMeterIdOrSlugRegExp = exports.getMeterPathMeterIdOrSlugMax = exports.createMeterBody = exports.createMeterBodySlugRegExp = exports.createMeterBodySlugMax = exports.createMeterBodyNameMax = exports.createMeterBodyDescriptionMax = exports.listMetersQueryParams = exports.listMetersQueryIncludeDeletedDefault = exports.listMetersQueryPageSizeMax = exports.listMetersQueryPageSizeDefault = exports.listMetersQueryPageDefault = exports.marketplaceOAuth2InstallAuthorizeQueryParams = exports.marketplaceOAuth2InstallAuthorizeParams = exports.marketplaceOAuth2InstallGetURLParams = exports.marketplaceAppAPIKeyInstallBody = exports.marketplaceAppAPIKeyInstallParams = exports.marketplaceAppInstallBody = exports.marketplaceAppInstallParams = exports.getMarketplaceListingParams = exports.listMarketplaceListingsQueryParams = exports.listMarketplaceListingsQueryPageSizeMax = exports.listMarketplaceListingsQueryPageSizeDefault = exports.listMarketplaceListingsQueryPageDefault = exports.getProgressParams = exports.voidGrantParams = exports.listGrantsQueryParams = exports.listGrantsQueryLimitMax = exports.listGrantsQueryLimitDefault = exports.listGrantsQueryOffsetMin = exports.listGrantsQueryOffsetDefault = exports.listGrantsQueryPageSizeMax = exports.listGrantsQueryPageSizeDefault = exports.listGrantsQueryPageDefault = exports.listGrantsQueryIncludeDeletedDefault = exports.deleteFeatureParams = exports.getFeatureParams = exports.createFeatureBody = void 0;
|
|
15
15
|
exports.createNotificationRuleBodyThresholdsMax = exports.createNotificationRuleBodyDisabledDefault = exports.listNotificationRulesQueryParams = exports.listNotificationRulesQueryPageSizeMax = exports.listNotificationRulesQueryPageSizeDefault = exports.listNotificationRulesQueryPageDefault = exports.listNotificationRulesQueryFeatureItemRegExp = exports.listNotificationRulesQueryFeatureItemMax = exports.listNotificationRulesQueryIncludeDisabledDefault = exports.listNotificationRulesQueryIncludeDeletedDefault = exports.getNotificationEventParams = exports.listNotificationEventsQueryParams = exports.listNotificationEventsQueryPageSizeMax = exports.listNotificationEventsQueryPageSizeDefault = exports.listNotificationEventsQueryPageDefault = exports.listNotificationEventsQueryChannelItemRegExp = exports.listNotificationEventsQueryRuleItemRegExp = exports.deleteNotificationChannelParams = exports.deleteNotificationChannelPathChannelIdRegExp = exports.getNotificationChannelParams = exports.getNotificationChannelPathChannelIdRegExp = exports.updateNotificationChannelBody = exports.updateNotificationChannelBodySigningSecretRegExp = exports.updateNotificationChannelBodyDisabledDefault = exports.updateNotificationChannelParams = exports.updateNotificationChannelPathChannelIdRegExp = exports.createNotificationChannelBody = exports.createNotificationChannelBodySigningSecretRegExp = exports.createNotificationChannelBodyDisabledDefault = exports.listNotificationChannelsQueryParams = exports.listNotificationChannelsQueryPageSizeMax = exports.listNotificationChannelsQueryPageSizeDefault = exports.listNotificationChannelsQueryPageDefault = exports.listNotificationChannelsQueryIncludeDisabledDefault = exports.listNotificationChannelsQueryIncludeDeletedDefault = exports.listMeterSubjectsParams = exports.listMeterSubjectsPathMeterIdOrSlugRegExp = exports.listMeterSubjectsPathMeterIdOrSlugMax = exports.queryMeterPostBody = exports.queryMeterPostBodyGroupByMax = exports.queryMeterPostBodySubjectMax = exports.queryMeterPostBodyWindowTimeZoneDefault = exports.queryMeterPostBodyClientIdMax = exports.queryMeterPostParams = exports.queryMeterPostPathMeterIdOrSlugRegExp = exports.queryMeterPostPathMeterIdOrSlugMax = exports.queryMeterQueryParams = exports.queryMeterQueryWindowTimeZoneDefault = exports.queryMeterQueryClientIdMax = exports.queryMeterParams = void 0;
|
|
16
16
|
exports.createPlanBodyCurrencyMinOne = exports.createPlanBodyKeyRegExp = exports.createPlanBodyKeyMax = exports.createPlanBodyDescriptionMax = exports.createPlanBodyNameMax = exports.listPlansQueryParams = exports.listPlansQueryPageSizeMax = exports.listPlansQueryPageSizeDefault = exports.listPlansQueryPageDefault = exports.listPlansQueryCurrencyItemRegExp = exports.listPlansQueryCurrencyItemMax = exports.listPlansQueryCurrencyItemMin = exports.listPlansQueryKeyItemRegExp = exports.listPlansQueryKeyItemMax = exports.listPlansQueryIdItemRegExp = exports.listPlansQueryIncludeDeletedDefault = exports.testNotificationRuleParams = exports.testNotificationRulePathRuleIdRegExp = exports.deleteNotificationRuleParams = exports.deleteNotificationRulePathRuleIdRegExp = exports.getNotificationRuleParams = exports.getNotificationRulePathRuleIdRegExp = exports.updateNotificationRuleBody = exports.updateNotificationRuleBodyChannelsItemRegExpThree = exports.updateNotificationRuleBodyDisabledDefaultThree = exports.updateNotificationRuleBodyChannelsItemRegExpTwo = exports.updateNotificationRuleBodyDisabledDefaultTwo = exports.updateNotificationRuleBodyFeaturesItemRegExpOne = exports.updateNotificationRuleBodyFeaturesItemMaxOne = exports.updateNotificationRuleBodyChannelsItemRegExpOne = exports.updateNotificationRuleBodyDisabledDefaultOne = exports.updateNotificationRuleBodyFeaturesItemRegExp = exports.updateNotificationRuleBodyFeaturesItemMax = exports.updateNotificationRuleBodyChannelsItemRegExp = exports.updateNotificationRuleBodyThresholdsMax = exports.updateNotificationRuleBodyDisabledDefault = exports.updateNotificationRuleParams = exports.updateNotificationRulePathRuleIdRegExp = exports.createNotificationRuleBody = exports.createNotificationRuleBodyChannelsItemRegExpThree = exports.createNotificationRuleBodyDisabledDefaultThree = exports.createNotificationRuleBodyChannelsItemRegExpTwo = exports.createNotificationRuleBodyDisabledDefaultTwo = exports.createNotificationRuleBodyFeaturesItemRegExpOne = exports.createNotificationRuleBodyFeaturesItemMaxOne = exports.createNotificationRuleBodyChannelsItemRegExpOne = exports.createNotificationRuleBodyDisabledDefaultOne = exports.createNotificationRuleBodyFeaturesItemRegExp = exports.createNotificationRuleBodyFeaturesItemMax = exports.createNotificationRuleBodyChannelsItemRegExp = void 0;
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = void 0;
|
|
17
|
+
exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.createPlanBodyPhasesItemRateCardsItemNameMaxOne = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMax = exports.createPlanBodyPhasesItemRateCardsItemNameMax = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemKeyMax = exports.createPlanBodyPhasesItemDescriptionMax = exports.createPlanBodyPhasesItemNameMax = exports.createPlanBodyPhasesItemKeyRegExp = exports.createPlanBodyPhasesItemKeyMax = exports.createPlanBodyProRatingConfigDefault = exports.createPlanBodyProRatingConfigModeDefault = exports.createPlanBodyProRatingConfigEnabledDefault = exports.createPlanBodyCurrencyDefault = exports.createPlanBodyCurrencyRegExpOne = exports.createPlanBodyCurrencyMaxOne = void 0;
|
|
18
|
+
exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemNameMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMax = exports.updatePlanBodyPhasesItemRateCardsItemNameMax = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemKeyMax = exports.updatePlanBodyPhasesItemDescriptionMax = exports.updatePlanBodyPhasesItemNameMax = exports.updatePlanBodyPhasesItemKeyRegExp = exports.updatePlanBodyPhasesItemKeyMax = exports.updatePlanBodyProRatingConfigDefault = exports.updatePlanBodyProRatingConfigModeDefault = exports.updatePlanBodyProRatingConfigEnabledDefault = exports.updatePlanBodyDescriptionMax = exports.updatePlanBodyNameMax = exports.updatePlanParams = exports.updatePlanPathPlanIdRegExp = exports.nextPlanParams = exports.nextPlanPathPlanIdOrKeyRegExp = exports.nextPlanPathPlanIdOrKeyMax = exports.createPlanBody = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = void 0;
|
|
19
|
+
exports.deletePlanAddonPathPlanIdRegExp = exports.getPlanAddonParams = exports.getPlanAddonPathPlanAddonIdRegExp = exports.getPlanAddonPathPlanAddonIdMax = exports.getPlanAddonPathPlanIdRegExp = exports.getPlanAddonPathPlanIdMax = exports.updatePlanAddonBody = exports.updatePlanAddonParams = exports.updatePlanAddonPathPlanAddonIdRegExp = exports.updatePlanAddonPathPlanIdRegExp = exports.createPlanAddonBody = exports.createPlanAddonBodyAddonIdRegExp = exports.createPlanAddonParams = exports.createPlanAddonPathPlanIdRegExp = exports.listPlanAddonsQueryParams = exports.listPlanAddonsQueryPageSizeMax = exports.listPlanAddonsQueryPageSizeDefault = exports.listPlanAddonsQueryPageDefault = exports.listPlanAddonsQueryKeyItemRegExp = exports.listPlanAddonsQueryKeyItemMax = exports.listPlanAddonsQueryIdItemRegExp = exports.listPlanAddonsQueryIncludeDeletedDefault = exports.listPlanAddonsParams = exports.listPlanAddonsPathPlanIdRegExp = exports.listPlanAddonsPathPlanIdMax = exports.deletePlanParams = exports.deletePlanPathPlanIdRegExp = exports.getPlanQueryParams = exports.getPlanQueryIncludeLatestDefault = exports.getPlanParams = exports.getPlanPathPlanIdRegExp = exports.getPlanPathPlanIdMax = exports.updatePlanBody = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = void 0;
|
|
20
|
+
exports.createEntitlementBodyIssueAfterResetPriorityMax = exports.createEntitlementBodyIssueAfterResetPriorityDefault = exports.createEntitlementBodyIssueAfterResetMin = exports.createEntitlementBodyIsUnlimitedDefault = exports.createEntitlementBodyIsSoftLimitDefault = exports.createEntitlementBodyFeatureIdRegExp = exports.createEntitlementBodyFeatureKeyRegExp = exports.createEntitlementBodyFeatureKeyMax = exports.createEntitlementParams = exports.deleteSubjectParams = exports.getSubjectParams = exports.upsertSubjectBody = exports.upsertSubjectBodyItem = exports.createStripeCheckoutSessionBody = exports.createStripeCheckoutSessionBodyOptionsCustomTextTermsOfServiceAcceptanceMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextShippingAddressMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextAfterSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMaxOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryRegExpOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMaxOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMinOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMaxOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax = exports.createStripeCheckoutSessionBodyCustomerKeyMaxOne = exports.createStripeCheckoutSessionBodyCustomerDescriptionMax = exports.createStripeCheckoutSessionBodyCustomerNameMax = exports.createStripeCheckoutSessionBodyCustomerIdRegExp = exports.createStripeCheckoutSessionBodyAppIdRegExp = exports.invalidatePortalTokensBody = exports.listPortalTokensQueryParams = exports.listPortalTokensQueryLimitMax = exports.listPortalTokensQueryLimitDefault = exports.createPortalTokenBody = exports.queryPortalMeterQueryParams = exports.queryPortalMeterQueryWindowTimeZoneDefault = exports.queryPortalMeterQueryClientIdMax = exports.queryPortalMeterParams = exports.queryPortalMeterPathMeterSlugRegExp = exports.queryPortalMeterPathMeterSlugMax = exports.publishPlanParams = exports.publishPlanPathPlanIdRegExp = exports.archivePlanParams = exports.archivePlanPathPlanIdRegExp = exports.deletePlanAddonParams = exports.deletePlanAddonPathPlanAddonIdRegExp = void 0;
|
|
21
|
+
exports.createSubscriptionBodyCustomerIdRegExp = exports.createSubscriptionBodyTimingDefault = exports.createSubscriptionBodyPlanKeyRegExp = exports.createSubscriptionBodyPlanKeyMax = exports.resetEntitlementUsageBody = exports.resetEntitlementUsageParams = exports.getEntitlementHistoryQueryParams = exports.getEntitlementHistoryQueryWindowTimeZoneDefault = exports.getEntitlementHistoryParams = exports.deleteEntitlementParams = exports.getEntitlementParams = exports.getEntitlementValueQueryParams = exports.getEntitlementValueParams = exports.overrideEntitlementBody = exports.overrideEntitlementBodyFeatureIdRegExpTwo = exports.overrideEntitlementBodyFeatureKeyRegExpTwo = exports.overrideEntitlementBodyFeatureKeyMaxTwo = exports.overrideEntitlementBodyFeatureIdRegExpOne = exports.overrideEntitlementBodyFeatureKeyRegExpOne = exports.overrideEntitlementBodyFeatureKeyMaxOne = exports.overrideEntitlementBodyPreserveOverageAtResetDefault = exports.overrideEntitlementBodyIssueAfterResetPriorityMax = exports.overrideEntitlementBodyIssueAfterResetPriorityDefault = exports.overrideEntitlementBodyIssueAfterResetMin = exports.overrideEntitlementBodyIsUnlimitedDefault = exports.overrideEntitlementBodyIsSoftLimitDefault = exports.overrideEntitlementBodyFeatureIdRegExp = exports.overrideEntitlementBodyFeatureKeyRegExp = exports.overrideEntitlementBodyFeatureKeyMax = exports.overrideEntitlementParams = exports.createGrantBody = exports.createGrantBodyMinRolloverAmountDefault = exports.createGrantBodyMaxRolloverAmountDefault = exports.createGrantBodyPriorityMax = exports.createGrantBodyAmountMin = exports.createGrantParams = exports.listEntitlementGrantsQueryParams = exports.listEntitlementGrantsQueryIncludeDeletedDefault = exports.listEntitlementGrantsParams = exports.listSubjectEntitlementsQueryParams = exports.listSubjectEntitlementsQueryIncludeDeletedDefault = exports.listSubjectEntitlementsParams = exports.createEntitlementBody = exports.createEntitlementBodyFeatureIdRegExpTwo = exports.createEntitlementBodyFeatureKeyRegExpTwo = exports.createEntitlementBodyFeatureKeyMaxTwo = exports.createEntitlementBodyFeatureIdRegExpOne = exports.createEntitlementBodyFeatureKeyRegExpOne = exports.createEntitlementBodyFeatureKeyMaxOne = exports.createEntitlementBodyPreserveOverageAtResetDefault = void 0;
|
|
22
|
+
exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.createSubscriptionBodyCustomPlanProRatingConfigDefault = exports.createSubscriptionBodyCustomPlanProRatingConfigModeDefault = exports.createSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = exports.createSubscriptionBodyCustomPlanCurrencyDefault = exports.createSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.createSubscriptionBodyCustomPlanCurrencyMaxOne = exports.createSubscriptionBodyCustomPlanCurrencyMinOne = exports.createSubscriptionBodyCustomPlanDescriptionMax = exports.createSubscriptionBodyCustomPlanNameMax = exports.createSubscriptionBodyCustomerKeyMax = void 0;
|
|
23
|
+
exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardNameMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMax = exports.editSubscriptionBodyCustomizationsItemRateCardNameMax = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMax = exports.editSubscriptionParams = exports.editSubscriptionPathSubscriptionIdRegExp = exports.getSubscriptionQueryParams = exports.getSubscriptionParams = exports.getSubscriptionPathSubscriptionIdRegExp = exports.createSubscriptionBody = exports.createSubscriptionBodyCustomerKeyMaxOne = exports.createSubscriptionBodyCustomerIdRegExpOne = exports.createSubscriptionBodyTimingDefaultFour = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = void 0;
|
|
24
|
+
exports.changeSubscriptionBodyCustomPlanDescriptionMax = exports.changeSubscriptionBodyCustomPlanNameMax = exports.changeSubscriptionBodyPlanKeyRegExp = exports.changeSubscriptionBodyPlanKeyMax = exports.changeSubscriptionParams = exports.changeSubscriptionPathSubscriptionIdRegExp = exports.cancelSubscriptionBody = exports.cancelSubscriptionParams = exports.cancelSubscriptionPathSubscriptionIdRegExp = exports.updateSubscriptionAddonBody = exports.updateSubscriptionAddonBodyQuantityMin = exports.updateSubscriptionAddonBodyDescriptionMax = exports.updateSubscriptionAddonBodyNameMax = exports.updateSubscriptionAddonParams = exports.updateSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.updateSubscriptionAddonPathSubscriptionIdRegExp = exports.getSubscriptionAddonParams = exports.getSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.getSubscriptionAddonPathSubscriptionIdRegExp = exports.listSubscriptionAddonsParams = exports.listSubscriptionAddonsPathSubscriptionIdRegExp = exports.createSubscriptionAddonBody = exports.createSubscriptionAddonBodyAddonIdRegExp = exports.createSubscriptionAddonBodyQuantityMin = exports.createSubscriptionAddonBodyDescriptionMax = exports.createSubscriptionAddonBodyNameMax = exports.createSubscriptionAddonParams = exports.createSubscriptionAddonPathSubscriptionIdRegExp = exports.deleteSubscriptionParams = exports.deleteSubscriptionPathSubscriptionIdRegExp = exports.editSubscriptionBody = exports.editSubscriptionBodyCustomizationsMax = exports.editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo = exports.editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne = void 0;
|
|
25
|
+
exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.changeSubscriptionBodyCustomPlanProRatingConfigDefault = exports.changeSubscriptionBodyCustomPlanProRatingConfigModeDefault = exports.changeSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = exports.changeSubscriptionBodyCustomPlanCurrencyDefault = exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.changeSubscriptionBodyCustomPlanCurrencyMaxOne = exports.changeSubscriptionBodyCustomPlanCurrencyMinOne = void 0;
|
|
26
|
+
exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.migrateSubscriptionBody = exports.migrateSubscriptionBodyTimingDefault = exports.migrateSubscriptionParams = exports.migrateSubscriptionPathSubscriptionIdRegExp = exports.changeSubscriptionBody = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = void 0;
|
|
27
27
|
/* eslint-disable no-useless-escape */
|
|
28
28
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
29
29
|
// @ts-nocheck
|
|
@@ -6311,6 +6311,12 @@ exports.createPlanBodyCurrencyMinOne = 3;
|
|
|
6311
6311
|
exports.createPlanBodyCurrencyMaxOne = 3;
|
|
6312
6312
|
exports.createPlanBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
|
|
6313
6313
|
exports.createPlanBodyCurrencyDefault = 'USD';
|
|
6314
|
+
exports.createPlanBodyProRatingConfigEnabledDefault = true;
|
|
6315
|
+
exports.createPlanBodyProRatingConfigModeDefault = 'prorate_prices';
|
|
6316
|
+
exports.createPlanBodyProRatingConfigDefault = {
|
|
6317
|
+
enabled: true,
|
|
6318
|
+
mode: 'prorate_prices',
|
|
6319
|
+
};
|
|
6314
6320
|
exports.createPlanBodyPhasesItemKeyMax = 64;
|
|
6315
6321
|
exports.createPlanBodyPhasesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
6316
6322
|
exports.createPlanBodyPhasesItemNameMax = 256;
|
|
@@ -6373,6 +6379,9 @@ exports.createPlanBody = zod_1.z
|
|
|
6373
6379
|
.describe('Alignment configuration for a plan or subscription.')
|
|
6374
6380
|
.optional()
|
|
6375
6381
|
.describe('Alignment configuration for the plan.'),
|
|
6382
|
+
billingCadence: zod_1.z
|
|
6383
|
+
.string()
|
|
6384
|
+
.describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: \"P1M\" (monthly), \"P3M\" (quarterly), \"P1Y\" (annually).'),
|
|
6376
6385
|
currency: zod_1.z
|
|
6377
6386
|
.string()
|
|
6378
6387
|
.min(exports.createPlanBodyCurrencyMinOne)
|
|
@@ -6922,6 +6931,19 @@ exports.createPlanBody = zod_1.z
|
|
|
6922
6931
|
.describe("The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses."))
|
|
6923
6932
|
.min(1)
|
|
6924
6933
|
.describe("The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses.\nA phase switch occurs only at the end of a billing period, ensuring that a single subscription invoice will not include charges from different phase prices."),
|
|
6934
|
+
proRatingConfig: zod_1.z
|
|
6935
|
+
.object({
|
|
6936
|
+
enabled: zod_1.z
|
|
6937
|
+
.boolean()
|
|
6938
|
+
.describe('Whether pro-rating is enabled for this plan.'),
|
|
6939
|
+
mode: zod_1.z
|
|
6940
|
+
.enum(['prorate_prices'])
|
|
6941
|
+
.describe('Pro-rating mode options for handling billing period changes.')
|
|
6942
|
+
.describe('How to handle pro-rating for billing period changes.'),
|
|
6943
|
+
})
|
|
6944
|
+
.describe('Configuration for pro-rating behavior.')
|
|
6945
|
+
.default(exports.createPlanBodyProRatingConfigDefault)
|
|
6946
|
+
.describe('Default pro-rating configuration for subscriptions using this plan.'),
|
|
6925
6947
|
})
|
|
6926
6948
|
.describe('Resource create operation model.');
|
|
6927
6949
|
/**
|
|
@@ -6949,6 +6971,12 @@ exports.updatePlanParams = zod_1.z.object({
|
|
|
6949
6971
|
});
|
|
6950
6972
|
exports.updatePlanBodyNameMax = 256;
|
|
6951
6973
|
exports.updatePlanBodyDescriptionMax = 1024;
|
|
6974
|
+
exports.updatePlanBodyProRatingConfigEnabledDefault = true;
|
|
6975
|
+
exports.updatePlanBodyProRatingConfigModeDefault = 'prorate_prices';
|
|
6976
|
+
exports.updatePlanBodyProRatingConfigDefault = {
|
|
6977
|
+
enabled: true,
|
|
6978
|
+
mode: 'prorate_prices',
|
|
6979
|
+
};
|
|
6952
6980
|
exports.updatePlanBodyPhasesItemKeyMax = 64;
|
|
6953
6981
|
exports.updatePlanBodyPhasesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
6954
6982
|
exports.updatePlanBodyPhasesItemNameMax = 256;
|
|
@@ -7011,6 +7039,9 @@ exports.updatePlanBody = zod_1.z
|
|
|
7011
7039
|
.describe('Alignment configuration for a plan or subscription.')
|
|
7012
7040
|
.optional()
|
|
7013
7041
|
.describe('Alignment configuration for the plan.'),
|
|
7042
|
+
billingCadence: zod_1.z
|
|
7043
|
+
.string()
|
|
7044
|
+
.describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: \"P1M\" (monthly), \"P3M\" (quarterly), \"P1Y\" (annually).'),
|
|
7014
7045
|
description: zod_1.z
|
|
7015
7046
|
.string()
|
|
7016
7047
|
.max(exports.updatePlanBodyDescriptionMax)
|
|
@@ -7547,6 +7578,19 @@ exports.updatePlanBody = zod_1.z
|
|
|
7547
7578
|
.describe("The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses."))
|
|
7548
7579
|
.min(1)
|
|
7549
7580
|
.describe("The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses.\nA phase switch occurs only at the end of a billing period, ensuring that a single subscription invoice will not include charges from different phase prices."),
|
|
7581
|
+
proRatingConfig: zod_1.z
|
|
7582
|
+
.object({
|
|
7583
|
+
enabled: zod_1.z
|
|
7584
|
+
.boolean()
|
|
7585
|
+
.describe('Whether pro-rating is enabled for this plan.'),
|
|
7586
|
+
mode: zod_1.z
|
|
7587
|
+
.enum(['prorate_prices'])
|
|
7588
|
+
.describe('Pro-rating mode options for handling billing period changes.')
|
|
7589
|
+
.describe('How to handle pro-rating for billing period changes.'),
|
|
7590
|
+
})
|
|
7591
|
+
.describe('Configuration for pro-rating behavior.')
|
|
7592
|
+
.default(exports.updatePlanBodyProRatingConfigDefault)
|
|
7593
|
+
.describe('Default pro-rating configuration for subscriptions using this plan.'),
|
|
7550
7594
|
})
|
|
7551
7595
|
.describe('Resource update operation model.');
|
|
7552
7596
|
/**
|
|
@@ -8728,6 +8772,12 @@ exports.createSubscriptionBodyCustomPlanCurrencyMinOne = 3;
|
|
|
8728
8772
|
exports.createSubscriptionBodyCustomPlanCurrencyMaxOne = 3;
|
|
8729
8773
|
exports.createSubscriptionBodyCustomPlanCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
|
|
8730
8774
|
exports.createSubscriptionBodyCustomPlanCurrencyDefault = 'USD';
|
|
8775
|
+
exports.createSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = true;
|
|
8776
|
+
exports.createSubscriptionBodyCustomPlanProRatingConfigModeDefault = 'prorate_prices';
|
|
8777
|
+
exports.createSubscriptionBodyCustomPlanProRatingConfigDefault = {
|
|
8778
|
+
enabled: true,
|
|
8779
|
+
mode: 'prorate_prices',
|
|
8780
|
+
};
|
|
8731
8781
|
exports.createSubscriptionBodyCustomPlanPhasesItemKeyMax = 64;
|
|
8732
8782
|
exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
8733
8783
|
exports.createSubscriptionBodyCustomPlanPhasesItemNameMax = 256;
|
|
@@ -8870,6 +8920,9 @@ exports.createSubscriptionBody = zod_1.z
|
|
|
8870
8920
|
.describe('Alignment configuration for a plan or subscription.')
|
|
8871
8921
|
.optional()
|
|
8872
8922
|
.describe('Alignment configuration for the plan.'),
|
|
8923
|
+
billingCadence: zod_1.z
|
|
8924
|
+
.string()
|
|
8925
|
+
.describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: \"P1M\" (monthly), \"P3M\" (quarterly), \"P1Y\" (annually).'),
|
|
8873
8926
|
currency: zod_1.z
|
|
8874
8927
|
.string()
|
|
8875
8928
|
.min(exports.createSubscriptionBodyCustomPlanCurrencyMinOne)
|
|
@@ -9413,6 +9466,19 @@ exports.createSubscriptionBody = zod_1.z
|
|
|
9413
9466
|
.describe("The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses."))
|
|
9414
9467
|
.min(1)
|
|
9415
9468
|
.describe("The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses.\nA phase switch occurs only at the end of a billing period, ensuring that a single subscription invoice will not include charges from different phase prices."),
|
|
9469
|
+
proRatingConfig: zod_1.z
|
|
9470
|
+
.object({
|
|
9471
|
+
enabled: zod_1.z
|
|
9472
|
+
.boolean()
|
|
9473
|
+
.describe('Whether pro-rating is enabled for this plan.'),
|
|
9474
|
+
mode: zod_1.z
|
|
9475
|
+
.enum(['prorate_prices'])
|
|
9476
|
+
.describe('Pro-rating mode options for handling billing period changes.')
|
|
9477
|
+
.describe('How to handle pro-rating for billing period changes.'),
|
|
9478
|
+
})
|
|
9479
|
+
.describe('Configuration for pro-rating behavior.')
|
|
9480
|
+
.default(exports.createSubscriptionBodyCustomPlanProRatingConfigDefault)
|
|
9481
|
+
.describe('Default pro-rating configuration for subscriptions using this plan.'),
|
|
9416
9482
|
})
|
|
9417
9483
|
.describe('The template for omitting properties.')
|
|
9418
9484
|
.describe('Plan input for custom subscription creation (without key and version).')
|
|
@@ -10276,6 +10342,12 @@ exports.changeSubscriptionBodyCustomPlanCurrencyMinOne = 3;
|
|
|
10276
10342
|
exports.changeSubscriptionBodyCustomPlanCurrencyMaxOne = 3;
|
|
10277
10343
|
exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
|
|
10278
10344
|
exports.changeSubscriptionBodyCustomPlanCurrencyDefault = 'USD';
|
|
10345
|
+
exports.changeSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = true;
|
|
10346
|
+
exports.changeSubscriptionBodyCustomPlanProRatingConfigModeDefault = 'prorate_prices';
|
|
10347
|
+
exports.changeSubscriptionBodyCustomPlanProRatingConfigDefault = {
|
|
10348
|
+
enabled: true,
|
|
10349
|
+
mode: 'prorate_prices',
|
|
10350
|
+
};
|
|
10279
10351
|
exports.changeSubscriptionBodyCustomPlanPhasesItemKeyMax = 64;
|
|
10280
10352
|
exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
10281
10353
|
exports.changeSubscriptionBodyCustomPlanPhasesItemNameMax = 256;
|
|
@@ -10392,6 +10464,9 @@ exports.changeSubscriptionBody = zod_1.z
|
|
|
10392
10464
|
.describe('Alignment configuration for a plan or subscription.')
|
|
10393
10465
|
.optional()
|
|
10394
10466
|
.describe('Alignment configuration for the plan.'),
|
|
10467
|
+
billingCadence: zod_1.z
|
|
10468
|
+
.string()
|
|
10469
|
+
.describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: \"P1M\" (monthly), \"P3M\" (quarterly), \"P1Y\" (annually).'),
|
|
10395
10470
|
currency: zod_1.z
|
|
10396
10471
|
.string()
|
|
10397
10472
|
.min(exports.changeSubscriptionBodyCustomPlanCurrencyMinOne)
|
|
@@ -10935,6 +11010,19 @@ exports.changeSubscriptionBody = zod_1.z
|
|
|
10935
11010
|
.describe("The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses."))
|
|
10936
11011
|
.min(1)
|
|
10937
11012
|
.describe("The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses.\nA phase switch occurs only at the end of a billing period, ensuring that a single subscription invoice will not include charges from different phase prices."),
|
|
11013
|
+
proRatingConfig: zod_1.z
|
|
11014
|
+
.object({
|
|
11015
|
+
enabled: zod_1.z
|
|
11016
|
+
.boolean()
|
|
11017
|
+
.describe('Whether pro-rating is enabled for this plan.'),
|
|
11018
|
+
mode: zod_1.z
|
|
11019
|
+
.enum(['prorate_prices'])
|
|
11020
|
+
.describe('Pro-rating mode options for handling billing period changes.')
|
|
11021
|
+
.describe('How to handle pro-rating for billing period changes.'),
|
|
11022
|
+
})
|
|
11023
|
+
.describe('Configuration for pro-rating behavior.')
|
|
11024
|
+
.default(exports.changeSubscriptionBodyCustomPlanProRatingConfigDefault)
|
|
11025
|
+
.describe('Default pro-rating configuration for subscriptions using this plan.'),
|
|
10938
11026
|
})
|
|
10939
11027
|
.describe('The template for omitting properties.')
|
|
10940
11028
|
.describe('Plan input for custom subscription creation (without key and version).')
|