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.')
9272
9278
.optional()
9273
9279
.describe('Alignment configuration for the plan.'),
9280
+
billingCadence: zod
9281
+
.string()
9282
+
.describe(
9283
+
'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."
10144
10155
),
10156
+
proRatingConfig: zod
10157
+
.object({
10158
+
enabled: zod
10159
+
.boolean()
10160
+
.describe('Whether pro-rating is enabled for this plan.'),
10161
+
mode: zod
10162
+
.enum(['prorate_prices'])
10163
+
.describe(
10164
+
'Pro-rating mode options for handling billing period changes.'
10165
+
)
10166
+
.describe('How to handle pro-rating for billing period changes.'),
10167
+
})
10168
+
.describe('Configuration for pro-rating behavior.')
10169
+
.default(createPlanBodyProRatingConfigDefault)
10170
+
.describe(
10171
+
'Default pro-rating configuration for subscriptions using this plan.'
.describe('Alignment configuration for a plan or subscription.')
10286
10320
.optional()
10287
10321
.describe('Alignment configuration for the plan.'),
10322
+
billingCadence: zod
10323
+
.string()
10324
+
.describe(
10325
+
'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."
11143
11182
),
11183
+
proRatingConfig: zod
11184
+
.object({
11185
+
enabled: zod
11186
+
.boolean()
11187
+
.describe('Whether pro-rating is enabled for this plan.'),
11188
+
mode: zod
11189
+
.enum(['prorate_prices'])
11190
+
.describe(
11191
+
'Pro-rating mode options for handling billing period changes.'
11192
+
)
11193
+
.describe('How to handle pro-rating for billing period changes.'),
11194
+
})
11195
+
.describe('Configuration for pro-rating behavior.')
11196
+
.default(updatePlanBodyProRatingConfigDefault)
11197
+
.describe(
11198
+
'Default pro-rating configuration for subscriptions using this plan.'
11199
+
),
11144
11200
})
11145
11201
.describe('Resource update operation model.')
11146
11202
@@ -12755,6 +12811,14 @@ export const createSubscriptionBodyCustomPlanCurrencyRegExpOne = new RegExp(
.describe('Alignment configuration for a plan or subscription.')
12967
13031
.optional()
12968
13032
.describe('Alignment configuration for the plan.'),
13033
+
billingCadence: zod
13034
+
.string()
13035
+
.describe(
13036
+
'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."
13881
13950
),
13951
+
proRatingConfig: zod
13952
+
.object({
13953
+
enabled: zod
13954
+
.boolean()
13955
+
.describe('Whether pro-rating is enabled for this plan.'),
13956
+
mode: zod
13957
+
.enum(['prorate_prices'])
13958
+
.describe(
13959
+
'Pro-rating mode options for handling billing period changes.'
13960
+
)
13961
+
.describe(
13962
+
'How to handle pro-rating for billing period changes.'
13963
+
),
13964
+
})
13965
+
.describe('Configuration for pro-rating behavior.')
.describe('Alignment configuration for a plan or subscription.')
15422
15518
.optional()
15423
15519
.describe('Alignment configuration for the plan.'),
15520
+
billingCadence: zod
15521
+
.string()
15522
+
.describe(
15523
+
'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."
16336
16437
),
16438
+
proRatingConfig: zod
16439
+
.object({
16440
+
enabled: zod
16441
+
.boolean()
16442
+
.describe('Whether pro-rating is enabled for this plan.'),
16443
+
mode: zod
16444
+
.enum(['prorate_prices'])
16445
+
.describe(
16446
+
'Pro-rating mode options for handling billing period changes.'
16447
+
)
16448
+
.describe(
16449
+
'How to handle pro-rating for billing period changes.'
16450
+
),
16451
+
})
16452
+
.describe('Configuration for pro-rating behavior.')
0 commit comments