You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.describe('Alignment configuration for a plan or subscription.')
10180
10186
.optional()
10181
10187
.describe('Alignment configuration for the plan.'),
10188
+
billingCadence: zod
10189
+
.string()
10190
+
.describe(
10191
+
'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).'
"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."
11052
11063
),
11064
+
proRatingConfig: zod
11065
+
.object({
11066
+
enabled: zod
11067
+
.boolean()
11068
+
.describe('Whether pro-rating is enabled for this plan.'),
11069
+
mode: zod
11070
+
.enum(['prorate_prices'])
11071
+
.describe(
11072
+
'Pro-rating mode options for handling billing period changes.'
11073
+
)
11074
+
.describe('How to handle pro-rating for billing period changes.'),
11075
+
})
11076
+
.describe('Configuration for pro-rating behavior.')
11077
+
.default(createPlanBodyProRatingConfigDefault)
11078
+
.describe(
11079
+
'Default pro-rating configuration for subscriptions using this plan.'
.describe('Alignment configuration for a plan or subscription.')
11194
11228
.optional()
11195
11229
.describe('Alignment configuration for the plan.'),
11230
+
billingCadence: zod
11231
+
.string()
11232
+
.describe(
11233
+
'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).'
"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."
12051
12090
),
12091
+
proRatingConfig: zod
12092
+
.object({
12093
+
enabled: zod
12094
+
.boolean()
12095
+
.describe('Whether pro-rating is enabled for this plan.'),
12096
+
mode: zod
12097
+
.enum(['prorate_prices'])
12098
+
.describe(
12099
+
'Pro-rating mode options for handling billing period changes.'
12100
+
)
12101
+
.describe('How to handle pro-rating for billing period changes.'),
12102
+
})
12103
+
.describe('Configuration for pro-rating behavior.')
12104
+
.default(updatePlanBodyProRatingConfigDefault)
12105
+
.describe(
12106
+
'Default pro-rating configuration for subscriptions using this plan.'
12107
+
),
12052
12108
})
12053
12109
.describe('Resource update operation model.')
12054
12110
@@ -13663,6 +13719,14 @@ export const createSubscriptionBodyCustomPlanCurrencyRegExpOne = new RegExp(
.describe('Alignment configuration for a plan or subscription.')
13875
13939
.optional()
13876
13940
.describe('Alignment configuration for the plan.'),
13941
+
billingCadence: zod
13942
+
.string()
13943
+
.describe(
13944
+
'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).'
"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."
14789
14858
),
14859
+
proRatingConfig: zod
14860
+
.object({
14861
+
enabled: zod
14862
+
.boolean()
14863
+
.describe('Whether pro-rating is enabled for this plan.'),
14864
+
mode: zod
14865
+
.enum(['prorate_prices'])
14866
+
.describe(
14867
+
'Pro-rating mode options for handling billing period changes.'
14868
+
)
14869
+
.describe(
14870
+
'How to handle pro-rating for billing period changes.'
14871
+
),
14872
+
})
14873
+
.describe('Configuration for pro-rating behavior.')
.describe('Alignment configuration for a plan or subscription.')
16330
16426
.optional()
16331
16427
.describe('Alignment configuration for the plan.'),
16428
+
billingCadence: zod
16429
+
.string()
16430
+
.describe(
16431
+
'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).'
"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."
17244
17345
),
17346
+
proRatingConfig: zod
17347
+
.object({
17348
+
enabled: zod
17349
+
.boolean()
17350
+
.describe('Whether pro-rating is enabled for this plan.'),
17351
+
mode: zod
17352
+
.enum(['prorate_prices'])
17353
+
.describe(
17354
+
'Pro-rating mode options for handling billing period changes.'
17355
+
)
17356
+
.describe(
17357
+
'How to handle pro-rating for billing period changes.'
17358
+
),
17359
+
})
17360
+
.describe('Configuration for pro-rating behavior.')
0 commit comments