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
@@ -13659,6 +13715,14 @@ export const createSubscriptionBodyCustomPlanCurrencyRegExpOne = new RegExp(
.describe('Alignment configuration for a plan or subscription.')
13871
13935
.optional()
13872
13936
.describe('Alignment configuration for the plan.'),
13937
+
billingCadence: zod
13938
+
.string()
13939
+
.describe(
13940
+
'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."
14785
14854
),
14855
+
proRatingConfig: zod
14856
+
.object({
14857
+
enabled: zod
14858
+
.boolean()
14859
+
.describe('Whether pro-rating is enabled for this plan.'),
14860
+
mode: zod
14861
+
.enum(['prorate_prices'])
14862
+
.describe(
14863
+
'Pro-rating mode options for handling billing period changes.'
14864
+
)
14865
+
.describe(
14866
+
'How to handle pro-rating for billing period changes.'
14867
+
),
14868
+
})
14869
+
.describe('Configuration for pro-rating behavior.')
.describe('Alignment configuration for a plan or subscription.')
16326
16422
.optional()
16327
16423
.describe('Alignment configuration for the plan.'),
16424
+
billingCadence: zod
16425
+
.string()
16426
+
.describe(
16427
+
'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."
17240
17341
),
17342
+
proRatingConfig: zod
17343
+
.object({
17344
+
enabled: zod
17345
+
.boolean()
17346
+
.describe('Whether pro-rating is enabled for this plan.'),
17347
+
mode: zod
17348
+
.enum(['prorate_prices'])
17349
+
.describe(
17350
+
'Pro-rating mode options for handling billing period changes.'
17351
+
)
17352
+
.describe(
17353
+
'How to handle pro-rating for billing period changes.'
17354
+
),
17355
+
})
17356
+
.describe('Configuration for pro-rating behavior.')
0 commit comments