orb-billing 4.10.0 → 4.11.0
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/CHANGELOG.md +13 -0
- package/package.json +1 -1
- package/resources/plans/plans.d.ts +664 -0
- package/resources/plans/plans.d.ts.map +1 -1
- package/resources/plans/plans.js.map +1 -1
- package/resources/plans/plans.mjs.map +1 -1
- package/resources/prices/prices.d.ts +910 -28
- package/resources/prices/prices.d.ts.map +1 -1
- package/resources/prices/prices.js.map +1 -1
- package/resources/prices/prices.mjs.map +1 -1
- package/resources/subscriptions.d.ts +824 -0
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/resources/plans/plans.ts +766 -0
- package/src/resources/prices/prices.ts +1087 -25
- package/src/resources/subscriptions.ts +959 -7
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1100,6 +1100,8 @@ export interface Subscription {
|
|
|
1100
1100
|
*/
|
|
1101
1101
|
auto_collection: boolean | null;
|
|
1102
1102
|
|
|
1103
|
+
billing_cycle_anchor_configuration: Subscription.BillingCycleAnchorConfiguration;
|
|
1104
|
+
|
|
1103
1105
|
/**
|
|
1104
1106
|
* The day of the month on which the billing cycle is anchored. If the maximum
|
|
1105
1107
|
* number of days in a month is greater than this value, the last day of the month
|
|
@@ -1356,6 +1358,29 @@ export namespace Subscription {
|
|
|
1356
1358
|
}
|
|
1357
1359
|
}
|
|
1358
1360
|
|
|
1361
|
+
export interface BillingCycleAnchorConfiguration {
|
|
1362
|
+
/**
|
|
1363
|
+
* The day of the month on which the billing cycle is anchored. If the maximum
|
|
1364
|
+
* number of days in a month is greater than this value, the last day of the month
|
|
1365
|
+
* is the billing cycle day (e.g. billing_cycle_day=31 for April means the billing
|
|
1366
|
+
* period begins on the 30th.
|
|
1367
|
+
*/
|
|
1368
|
+
day: number;
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* The month on which the billing cycle is anchored (e.g. a quarterly price
|
|
1372
|
+
* anchored in February would have cycles starting February, May, August, and
|
|
1373
|
+
* November).
|
|
1374
|
+
*/
|
|
1375
|
+
month?: number | null;
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* The year on which the billing cycle is anchored (e.g. a 2 year billing cycle
|
|
1379
|
+
* anchored on 2021 would have cycles starting on 2021, 2023, 2025, etc.).
|
|
1380
|
+
*/
|
|
1381
|
+
year?: number | null;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1359
1384
|
export interface AmountDiscountInterval {
|
|
1360
1385
|
/**
|
|
1361
1386
|
* Only available if discount_type is `amount`.
|
|
@@ -2207,6 +2232,8 @@ export interface SubscriptionCreateParams {
|
|
|
2207
2232
|
|
|
2208
2233
|
aws_region?: string | null;
|
|
2209
2234
|
|
|
2235
|
+
billing_cycle_anchor_configuration?: SubscriptionCreateParams.BillingCycleAnchorConfiguration | null;
|
|
2236
|
+
|
|
2210
2237
|
coupon_redemption_code?: string | null;
|
|
2211
2238
|
|
|
2212
2239
|
credits_overage_rate?: number | null;
|
|
@@ -2273,6 +2300,29 @@ export interface SubscriptionCreateParams {
|
|
|
2273
2300
|
}
|
|
2274
2301
|
|
|
2275
2302
|
export namespace SubscriptionCreateParams {
|
|
2303
|
+
export interface BillingCycleAnchorConfiguration {
|
|
2304
|
+
/**
|
|
2305
|
+
* The day of the month on which the billing cycle is anchored. If the maximum
|
|
2306
|
+
* number of days in a month is greater than this value, the last day of the month
|
|
2307
|
+
* is the billing cycle day (e.g. billing_cycle_day=31 for April means the billing
|
|
2308
|
+
* period begins on the 30th.
|
|
2309
|
+
*/
|
|
2310
|
+
day: number;
|
|
2311
|
+
|
|
2312
|
+
/**
|
|
2313
|
+
* The month on which the billing cycle is anchored (e.g. a quarterly price
|
|
2314
|
+
* anchored in February would have cycles starting February, May, August, and
|
|
2315
|
+
* November).
|
|
2316
|
+
*/
|
|
2317
|
+
month?: number | null;
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* The year on which the billing cycle is anchored (e.g. a 2 year billing cycle
|
|
2321
|
+
* anchored on 2021 would have cycles starting on 2021, 2023, 2025, etc.).
|
|
2322
|
+
*/
|
|
2323
|
+
year?: number | null;
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2276
2326
|
export interface OverrideUnitPrice {
|
|
2277
2327
|
id: string;
|
|
2278
2328
|
|
|
@@ -3789,6 +3839,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3789
3839
|
*/
|
|
3790
3840
|
billed_in_advance?: boolean | null;
|
|
3791
3841
|
|
|
3842
|
+
/**
|
|
3843
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3844
|
+
* months.
|
|
3845
|
+
*/
|
|
3846
|
+
billing_cycle_configuration?: NewFloatingUnitPrice.BillingCycleConfiguration | null;
|
|
3847
|
+
|
|
3792
3848
|
/**
|
|
3793
3849
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3794
3850
|
*/
|
|
@@ -3810,6 +3866,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3810
3866
|
*/
|
|
3811
3867
|
invoice_grouping_key?: string | null;
|
|
3812
3868
|
|
|
3869
|
+
/**
|
|
3870
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3871
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3872
|
+
*/
|
|
3873
|
+
invoicing_cycle_configuration?: NewFloatingUnitPrice.InvoicingCycleConfiguration | null;
|
|
3874
|
+
|
|
3813
3875
|
/**
|
|
3814
3876
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3815
3877
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3825,6 +3887,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3825
3887
|
*/
|
|
3826
3888
|
unit_amount: string;
|
|
3827
3889
|
}
|
|
3890
|
+
|
|
3891
|
+
/**
|
|
3892
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3893
|
+
* months.
|
|
3894
|
+
*/
|
|
3895
|
+
export interface BillingCycleConfiguration {
|
|
3896
|
+
/**
|
|
3897
|
+
* The duration of the billing period.
|
|
3898
|
+
*/
|
|
3899
|
+
duration: number;
|
|
3900
|
+
|
|
3901
|
+
/**
|
|
3902
|
+
* The unit of billing period duration.
|
|
3903
|
+
*/
|
|
3904
|
+
duration_unit: 'day' | 'month';
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3909
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3910
|
+
*/
|
|
3911
|
+
export interface InvoicingCycleConfiguration {
|
|
3912
|
+
/**
|
|
3913
|
+
* The duration of the billing period.
|
|
3914
|
+
*/
|
|
3915
|
+
duration: number;
|
|
3916
|
+
|
|
3917
|
+
/**
|
|
3918
|
+
* The unit of billing period duration.
|
|
3919
|
+
*/
|
|
3920
|
+
duration_unit: 'day' | 'month';
|
|
3921
|
+
}
|
|
3828
3922
|
}
|
|
3829
3923
|
|
|
3830
3924
|
export interface NewFloatingPackagePrice {
|
|
@@ -3864,6 +3958,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3864
3958
|
*/
|
|
3865
3959
|
billed_in_advance?: boolean | null;
|
|
3866
3960
|
|
|
3961
|
+
/**
|
|
3962
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3963
|
+
* months.
|
|
3964
|
+
*/
|
|
3965
|
+
billing_cycle_configuration?: NewFloatingPackagePrice.BillingCycleConfiguration | null;
|
|
3966
|
+
|
|
3867
3967
|
/**
|
|
3868
3968
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3869
3969
|
*/
|
|
@@ -3885,6 +3985,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3885
3985
|
*/
|
|
3886
3986
|
invoice_grouping_key?: string | null;
|
|
3887
3987
|
|
|
3988
|
+
/**
|
|
3989
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3990
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3991
|
+
*/
|
|
3992
|
+
invoicing_cycle_configuration?: NewFloatingPackagePrice.InvoicingCycleConfiguration | null;
|
|
3993
|
+
|
|
3888
3994
|
/**
|
|
3889
3995
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3890
3996
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3906,6 +4012,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3906
4012
|
*/
|
|
3907
4013
|
package_size: number;
|
|
3908
4014
|
}
|
|
4015
|
+
|
|
4016
|
+
/**
|
|
4017
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4018
|
+
* months.
|
|
4019
|
+
*/
|
|
4020
|
+
export interface BillingCycleConfiguration {
|
|
4021
|
+
/**
|
|
4022
|
+
* The duration of the billing period.
|
|
4023
|
+
*/
|
|
4024
|
+
duration: number;
|
|
4025
|
+
|
|
4026
|
+
/**
|
|
4027
|
+
* The unit of billing period duration.
|
|
4028
|
+
*/
|
|
4029
|
+
duration_unit: 'day' | 'month';
|
|
4030
|
+
}
|
|
4031
|
+
|
|
4032
|
+
/**
|
|
4033
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4034
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4035
|
+
*/
|
|
4036
|
+
export interface InvoicingCycleConfiguration {
|
|
4037
|
+
/**
|
|
4038
|
+
* The duration of the billing period.
|
|
4039
|
+
*/
|
|
4040
|
+
duration: number;
|
|
4041
|
+
|
|
4042
|
+
/**
|
|
4043
|
+
* The unit of billing period duration.
|
|
4044
|
+
*/
|
|
4045
|
+
duration_unit: 'day' | 'month';
|
|
4046
|
+
}
|
|
3909
4047
|
}
|
|
3910
4048
|
|
|
3911
4049
|
export interface NewFloatingMatrixPrice {
|
|
@@ -3945,6 +4083,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3945
4083
|
*/
|
|
3946
4084
|
billed_in_advance?: boolean | null;
|
|
3947
4085
|
|
|
4086
|
+
/**
|
|
4087
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4088
|
+
* months.
|
|
4089
|
+
*/
|
|
4090
|
+
billing_cycle_configuration?: NewFloatingMatrixPrice.BillingCycleConfiguration | null;
|
|
4091
|
+
|
|
3948
4092
|
/**
|
|
3949
4093
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3950
4094
|
*/
|
|
@@ -3966,6 +4110,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3966
4110
|
*/
|
|
3967
4111
|
invoice_grouping_key?: string | null;
|
|
3968
4112
|
|
|
4113
|
+
/**
|
|
4114
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4115
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4116
|
+
*/
|
|
4117
|
+
invoicing_cycle_configuration?: NewFloatingMatrixPrice.InvoicingCycleConfiguration | null;
|
|
4118
|
+
|
|
3969
4119
|
/**
|
|
3970
4120
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3971
4121
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4007,6 +4157,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4007
4157
|
unit_amount: string;
|
|
4008
4158
|
}
|
|
4009
4159
|
}
|
|
4160
|
+
|
|
4161
|
+
/**
|
|
4162
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4163
|
+
* months.
|
|
4164
|
+
*/
|
|
4165
|
+
export interface BillingCycleConfiguration {
|
|
4166
|
+
/**
|
|
4167
|
+
* The duration of the billing period.
|
|
4168
|
+
*/
|
|
4169
|
+
duration: number;
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* The unit of billing period duration.
|
|
4173
|
+
*/
|
|
4174
|
+
duration_unit: 'day' | 'month';
|
|
4175
|
+
}
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4179
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4180
|
+
*/
|
|
4181
|
+
export interface InvoicingCycleConfiguration {
|
|
4182
|
+
/**
|
|
4183
|
+
* The duration of the billing period.
|
|
4184
|
+
*/
|
|
4185
|
+
duration: number;
|
|
4186
|
+
|
|
4187
|
+
/**
|
|
4188
|
+
* The unit of billing period duration.
|
|
4189
|
+
*/
|
|
4190
|
+
duration_unit: 'day' | 'month';
|
|
4191
|
+
}
|
|
4010
4192
|
}
|
|
4011
4193
|
|
|
4012
4194
|
export interface NewFloatingMatrixWithAllocationPrice {
|
|
@@ -4046,6 +4228,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4046
4228
|
*/
|
|
4047
4229
|
billed_in_advance?: boolean | null;
|
|
4048
4230
|
|
|
4231
|
+
/**
|
|
4232
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4233
|
+
* months.
|
|
4234
|
+
*/
|
|
4235
|
+
billing_cycle_configuration?: NewFloatingMatrixWithAllocationPrice.BillingCycleConfiguration | null;
|
|
4236
|
+
|
|
4049
4237
|
/**
|
|
4050
4238
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4051
4239
|
*/
|
|
@@ -4067,6 +4255,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4067
4255
|
*/
|
|
4068
4256
|
invoice_grouping_key?: string | null;
|
|
4069
4257
|
|
|
4258
|
+
/**
|
|
4259
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4260
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4261
|
+
*/
|
|
4262
|
+
invoicing_cycle_configuration?: NewFloatingMatrixWithAllocationPrice.InvoicingCycleConfiguration | null;
|
|
4263
|
+
|
|
4070
4264
|
/**
|
|
4071
4265
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4072
4266
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4113,6 +4307,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4113
4307
|
unit_amount: string;
|
|
4114
4308
|
}
|
|
4115
4309
|
}
|
|
4310
|
+
|
|
4311
|
+
/**
|
|
4312
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4313
|
+
* months.
|
|
4314
|
+
*/
|
|
4315
|
+
export interface BillingCycleConfiguration {
|
|
4316
|
+
/**
|
|
4317
|
+
* The duration of the billing period.
|
|
4318
|
+
*/
|
|
4319
|
+
duration: number;
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* The unit of billing period duration.
|
|
4323
|
+
*/
|
|
4324
|
+
duration_unit: 'day' | 'month';
|
|
4325
|
+
}
|
|
4326
|
+
|
|
4327
|
+
/**
|
|
4328
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4329
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4330
|
+
*/
|
|
4331
|
+
export interface InvoicingCycleConfiguration {
|
|
4332
|
+
/**
|
|
4333
|
+
* The duration of the billing period.
|
|
4334
|
+
*/
|
|
4335
|
+
duration: number;
|
|
4336
|
+
|
|
4337
|
+
/**
|
|
4338
|
+
* The unit of billing period duration.
|
|
4339
|
+
*/
|
|
4340
|
+
duration_unit: 'day' | 'month';
|
|
4341
|
+
}
|
|
4116
4342
|
}
|
|
4117
4343
|
|
|
4118
4344
|
export interface NewFloatingTieredPrice {
|
|
@@ -4152,6 +4378,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4152
4378
|
*/
|
|
4153
4379
|
billed_in_advance?: boolean | null;
|
|
4154
4380
|
|
|
4381
|
+
/**
|
|
4382
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4383
|
+
* months.
|
|
4384
|
+
*/
|
|
4385
|
+
billing_cycle_configuration?: NewFloatingTieredPrice.BillingCycleConfiguration | null;
|
|
4386
|
+
|
|
4155
4387
|
/**
|
|
4156
4388
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4157
4389
|
*/
|
|
@@ -4173,6 +4405,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4173
4405
|
*/
|
|
4174
4406
|
invoice_grouping_key?: string | null;
|
|
4175
4407
|
|
|
4408
|
+
/**
|
|
4409
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4410
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4411
|
+
*/
|
|
4412
|
+
invoicing_cycle_configuration?: NewFloatingTieredPrice.InvoicingCycleConfiguration | null;
|
|
4413
|
+
|
|
4176
4414
|
/**
|
|
4177
4415
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4178
4416
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4207,6 +4445,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4207
4445
|
last_unit?: number | null;
|
|
4208
4446
|
}
|
|
4209
4447
|
}
|
|
4448
|
+
|
|
4449
|
+
/**
|
|
4450
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4451
|
+
* months.
|
|
4452
|
+
*/
|
|
4453
|
+
export interface BillingCycleConfiguration {
|
|
4454
|
+
/**
|
|
4455
|
+
* The duration of the billing period.
|
|
4456
|
+
*/
|
|
4457
|
+
duration: number;
|
|
4458
|
+
|
|
4459
|
+
/**
|
|
4460
|
+
* The unit of billing period duration.
|
|
4461
|
+
*/
|
|
4462
|
+
duration_unit: 'day' | 'month';
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
/**
|
|
4466
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4467
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4468
|
+
*/
|
|
4469
|
+
export interface InvoicingCycleConfiguration {
|
|
4470
|
+
/**
|
|
4471
|
+
* The duration of the billing period.
|
|
4472
|
+
*/
|
|
4473
|
+
duration: number;
|
|
4474
|
+
|
|
4475
|
+
/**
|
|
4476
|
+
* The unit of billing period duration.
|
|
4477
|
+
*/
|
|
4478
|
+
duration_unit: 'day' | 'month';
|
|
4479
|
+
}
|
|
4210
4480
|
}
|
|
4211
4481
|
|
|
4212
4482
|
export interface NewFloatingTieredBpsPrice {
|
|
@@ -4246,6 +4516,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4246
4516
|
*/
|
|
4247
4517
|
billed_in_advance?: boolean | null;
|
|
4248
4518
|
|
|
4519
|
+
/**
|
|
4520
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4521
|
+
* months.
|
|
4522
|
+
*/
|
|
4523
|
+
billing_cycle_configuration?: NewFloatingTieredBpsPrice.BillingCycleConfiguration | null;
|
|
4524
|
+
|
|
4249
4525
|
/**
|
|
4250
4526
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4251
4527
|
*/
|
|
@@ -4267,6 +4543,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4267
4543
|
*/
|
|
4268
4544
|
invoice_grouping_key?: string | null;
|
|
4269
4545
|
|
|
4546
|
+
/**
|
|
4547
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4548
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4549
|
+
*/
|
|
4550
|
+
invoicing_cycle_configuration?: NewFloatingTieredBpsPrice.InvoicingCycleConfiguration | null;
|
|
4551
|
+
|
|
4270
4552
|
/**
|
|
4271
4553
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4272
4554
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4307,6 +4589,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4307
4589
|
per_unit_maximum?: string | null;
|
|
4308
4590
|
}
|
|
4309
4591
|
}
|
|
4592
|
+
|
|
4593
|
+
/**
|
|
4594
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4595
|
+
* months.
|
|
4596
|
+
*/
|
|
4597
|
+
export interface BillingCycleConfiguration {
|
|
4598
|
+
/**
|
|
4599
|
+
* The duration of the billing period.
|
|
4600
|
+
*/
|
|
4601
|
+
duration: number;
|
|
4602
|
+
|
|
4603
|
+
/**
|
|
4604
|
+
* The unit of billing period duration.
|
|
4605
|
+
*/
|
|
4606
|
+
duration_unit: 'day' | 'month';
|
|
4607
|
+
}
|
|
4608
|
+
|
|
4609
|
+
/**
|
|
4610
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4611
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4612
|
+
*/
|
|
4613
|
+
export interface InvoicingCycleConfiguration {
|
|
4614
|
+
/**
|
|
4615
|
+
* The duration of the billing period.
|
|
4616
|
+
*/
|
|
4617
|
+
duration: number;
|
|
4618
|
+
|
|
4619
|
+
/**
|
|
4620
|
+
* The unit of billing period duration.
|
|
4621
|
+
*/
|
|
4622
|
+
duration_unit: 'day' | 'month';
|
|
4623
|
+
}
|
|
4310
4624
|
}
|
|
4311
4625
|
|
|
4312
4626
|
export interface NewFloatingBpsPrice {
|
|
@@ -4346,6 +4660,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4346
4660
|
*/
|
|
4347
4661
|
billed_in_advance?: boolean | null;
|
|
4348
4662
|
|
|
4663
|
+
/**
|
|
4664
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4665
|
+
* months.
|
|
4666
|
+
*/
|
|
4667
|
+
billing_cycle_configuration?: NewFloatingBpsPrice.BillingCycleConfiguration | null;
|
|
4668
|
+
|
|
4349
4669
|
/**
|
|
4350
4670
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4351
4671
|
*/
|
|
@@ -4367,6 +4687,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4367
4687
|
*/
|
|
4368
4688
|
invoice_grouping_key?: string | null;
|
|
4369
4689
|
|
|
4690
|
+
/**
|
|
4691
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4692
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4693
|
+
*/
|
|
4694
|
+
invoicing_cycle_configuration?: NewFloatingBpsPrice.InvoicingCycleConfiguration | null;
|
|
4695
|
+
|
|
4370
4696
|
/**
|
|
4371
4697
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4372
4698
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4387,6 +4713,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4387
4713
|
*/
|
|
4388
4714
|
per_unit_maximum?: string | null;
|
|
4389
4715
|
}
|
|
4716
|
+
|
|
4717
|
+
/**
|
|
4718
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4719
|
+
* months.
|
|
4720
|
+
*/
|
|
4721
|
+
export interface BillingCycleConfiguration {
|
|
4722
|
+
/**
|
|
4723
|
+
* The duration of the billing period.
|
|
4724
|
+
*/
|
|
4725
|
+
duration: number;
|
|
4726
|
+
|
|
4727
|
+
/**
|
|
4728
|
+
* The unit of billing period duration.
|
|
4729
|
+
*/
|
|
4730
|
+
duration_unit: 'day' | 'month';
|
|
4731
|
+
}
|
|
4732
|
+
|
|
4733
|
+
/**
|
|
4734
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4735
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4736
|
+
*/
|
|
4737
|
+
export interface InvoicingCycleConfiguration {
|
|
4738
|
+
/**
|
|
4739
|
+
* The duration of the billing period.
|
|
4740
|
+
*/
|
|
4741
|
+
duration: number;
|
|
4742
|
+
|
|
4743
|
+
/**
|
|
4744
|
+
* The unit of billing period duration.
|
|
4745
|
+
*/
|
|
4746
|
+
duration_unit: 'day' | 'month';
|
|
4747
|
+
}
|
|
4390
4748
|
}
|
|
4391
4749
|
|
|
4392
4750
|
export interface NewFloatingBulkBpsPrice {
|
|
@@ -4426,6 +4784,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4426
4784
|
*/
|
|
4427
4785
|
billed_in_advance?: boolean | null;
|
|
4428
4786
|
|
|
4787
|
+
/**
|
|
4788
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4789
|
+
* months.
|
|
4790
|
+
*/
|
|
4791
|
+
billing_cycle_configuration?: NewFloatingBulkBpsPrice.BillingCycleConfiguration | null;
|
|
4792
|
+
|
|
4429
4793
|
/**
|
|
4430
4794
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4431
4795
|
*/
|
|
@@ -4447,6 +4811,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4447
4811
|
*/
|
|
4448
4812
|
invoice_grouping_key?: string | null;
|
|
4449
4813
|
|
|
4814
|
+
/**
|
|
4815
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4816
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4817
|
+
*/
|
|
4818
|
+
invoicing_cycle_configuration?: NewFloatingBulkBpsPrice.InvoicingCycleConfiguration | null;
|
|
4819
|
+
|
|
4450
4820
|
/**
|
|
4451
4821
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4452
4822
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4482,6 +4852,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4482
4852
|
per_unit_maximum?: string | null;
|
|
4483
4853
|
}
|
|
4484
4854
|
}
|
|
4855
|
+
|
|
4856
|
+
/**
|
|
4857
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4858
|
+
* months.
|
|
4859
|
+
*/
|
|
4860
|
+
export interface BillingCycleConfiguration {
|
|
4861
|
+
/**
|
|
4862
|
+
* The duration of the billing period.
|
|
4863
|
+
*/
|
|
4864
|
+
duration: number;
|
|
4865
|
+
|
|
4866
|
+
/**
|
|
4867
|
+
* The unit of billing period duration.
|
|
4868
|
+
*/
|
|
4869
|
+
duration_unit: 'day' | 'month';
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
/**
|
|
4873
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4874
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4875
|
+
*/
|
|
4876
|
+
export interface InvoicingCycleConfiguration {
|
|
4877
|
+
/**
|
|
4878
|
+
* The duration of the billing period.
|
|
4879
|
+
*/
|
|
4880
|
+
duration: number;
|
|
4881
|
+
|
|
4882
|
+
/**
|
|
4883
|
+
* The unit of billing period duration.
|
|
4884
|
+
*/
|
|
4885
|
+
duration_unit: 'day' | 'month';
|
|
4886
|
+
}
|
|
4485
4887
|
}
|
|
4486
4888
|
|
|
4487
4889
|
export interface NewFloatingBulkPrice {
|
|
@@ -4521,6 +4923,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4521
4923
|
*/
|
|
4522
4924
|
billed_in_advance?: boolean | null;
|
|
4523
4925
|
|
|
4926
|
+
/**
|
|
4927
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4928
|
+
* months.
|
|
4929
|
+
*/
|
|
4930
|
+
billing_cycle_configuration?: NewFloatingBulkPrice.BillingCycleConfiguration | null;
|
|
4931
|
+
|
|
4524
4932
|
/**
|
|
4525
4933
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4526
4934
|
*/
|
|
@@ -4542,6 +4950,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4542
4950
|
*/
|
|
4543
4951
|
invoice_grouping_key?: string | null;
|
|
4544
4952
|
|
|
4953
|
+
/**
|
|
4954
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4955
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4956
|
+
*/
|
|
4957
|
+
invoicing_cycle_configuration?: NewFloatingBulkPrice.InvoicingCycleConfiguration | null;
|
|
4958
|
+
|
|
4545
4959
|
/**
|
|
4546
4960
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4547
4961
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4571,6 +4985,38 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4571
4985
|
maximum_units?: number | null;
|
|
4572
4986
|
}
|
|
4573
4987
|
}
|
|
4988
|
+
|
|
4989
|
+
/**
|
|
4990
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4991
|
+
* months.
|
|
4992
|
+
*/
|
|
4993
|
+
export interface BillingCycleConfiguration {
|
|
4994
|
+
/**
|
|
4995
|
+
* The duration of the billing period.
|
|
4996
|
+
*/
|
|
4997
|
+
duration: number;
|
|
4998
|
+
|
|
4999
|
+
/**
|
|
5000
|
+
* The unit of billing period duration.
|
|
5001
|
+
*/
|
|
5002
|
+
duration_unit: 'day' | 'month';
|
|
5003
|
+
}
|
|
5004
|
+
|
|
5005
|
+
/**
|
|
5006
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5007
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5008
|
+
*/
|
|
5009
|
+
export interface InvoicingCycleConfiguration {
|
|
5010
|
+
/**
|
|
5011
|
+
* The duration of the billing period.
|
|
5012
|
+
*/
|
|
5013
|
+
duration: number;
|
|
5014
|
+
|
|
5015
|
+
/**
|
|
5016
|
+
* The unit of billing period duration.
|
|
5017
|
+
*/
|
|
5018
|
+
duration_unit: 'day' | 'month';
|
|
5019
|
+
}
|
|
4574
5020
|
}
|
|
4575
5021
|
|
|
4576
5022
|
export interface NewFloatingThresholdTotalAmountPrice {
|
|
@@ -4610,6 +5056,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4610
5056
|
*/
|
|
4611
5057
|
billed_in_advance?: boolean | null;
|
|
4612
5058
|
|
|
5059
|
+
/**
|
|
5060
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5061
|
+
* months.
|
|
5062
|
+
*/
|
|
5063
|
+
billing_cycle_configuration?: NewFloatingThresholdTotalAmountPrice.BillingCycleConfiguration | null;
|
|
5064
|
+
|
|
4613
5065
|
/**
|
|
4614
5066
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4615
5067
|
*/
|
|
@@ -4631,6 +5083,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4631
5083
|
*/
|
|
4632
5084
|
invoice_grouping_key?: string | null;
|
|
4633
5085
|
|
|
5086
|
+
/**
|
|
5087
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5088
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5089
|
+
*/
|
|
5090
|
+
invoicing_cycle_configuration?: NewFloatingThresholdTotalAmountPrice.InvoicingCycleConfiguration | null;
|
|
5091
|
+
|
|
4634
5092
|
/**
|
|
4635
5093
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4636
5094
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4639,16 +5097,50 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4639
5097
|
metadata?: Record<string, string | null> | null;
|
|
4640
5098
|
}
|
|
4641
5099
|
|
|
4642
|
-
export
|
|
5100
|
+
export namespace NewFloatingThresholdTotalAmountPrice {
|
|
4643
5101
|
/**
|
|
4644
|
-
*
|
|
5102
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5103
|
+
* months.
|
|
4645
5104
|
*/
|
|
4646
|
-
|
|
5105
|
+
export interface BillingCycleConfiguration {
|
|
5106
|
+
/**
|
|
5107
|
+
* The duration of the billing period.
|
|
5108
|
+
*/
|
|
5109
|
+
duration: number;
|
|
4647
5110
|
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
5111
|
+
/**
|
|
5112
|
+
* The unit of billing period duration.
|
|
5113
|
+
*/
|
|
5114
|
+
duration_unit: 'day' | 'month';
|
|
5115
|
+
}
|
|
5116
|
+
|
|
5117
|
+
/**
|
|
5118
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5119
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5120
|
+
*/
|
|
5121
|
+
export interface InvoicingCycleConfiguration {
|
|
5122
|
+
/**
|
|
5123
|
+
* The duration of the billing period.
|
|
5124
|
+
*/
|
|
5125
|
+
duration: number;
|
|
5126
|
+
|
|
5127
|
+
/**
|
|
5128
|
+
* The unit of billing period duration.
|
|
5129
|
+
*/
|
|
5130
|
+
duration_unit: 'day' | 'month';
|
|
5131
|
+
}
|
|
5132
|
+
}
|
|
5133
|
+
|
|
5134
|
+
export interface NewFloatingTieredPackagePrice {
|
|
5135
|
+
/**
|
|
5136
|
+
* The cadence to bill for this price on.
|
|
5137
|
+
*/
|
|
5138
|
+
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
5139
|
+
|
|
5140
|
+
/**
|
|
5141
|
+
* An ISO 4217 currency string for which this price is billed in.
|
|
5142
|
+
*/
|
|
5143
|
+
currency: string;
|
|
4652
5144
|
|
|
4653
5145
|
/**
|
|
4654
5146
|
* The id of the item the plan will be associated with.
|
|
@@ -4676,6 +5168,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4676
5168
|
*/
|
|
4677
5169
|
billed_in_advance?: boolean | null;
|
|
4678
5170
|
|
|
5171
|
+
/**
|
|
5172
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5173
|
+
* months.
|
|
5174
|
+
*/
|
|
5175
|
+
billing_cycle_configuration?: NewFloatingTieredPackagePrice.BillingCycleConfiguration | null;
|
|
5176
|
+
|
|
4679
5177
|
/**
|
|
4680
5178
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4681
5179
|
*/
|
|
@@ -4697,6 +5195,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4697
5195
|
*/
|
|
4698
5196
|
invoice_grouping_key?: string | null;
|
|
4699
5197
|
|
|
5198
|
+
/**
|
|
5199
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5200
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5201
|
+
*/
|
|
5202
|
+
invoicing_cycle_configuration?: NewFloatingTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
5203
|
+
|
|
4700
5204
|
/**
|
|
4701
5205
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4702
5206
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4705,6 +5209,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4705
5209
|
metadata?: Record<string, string | null> | null;
|
|
4706
5210
|
}
|
|
4707
5211
|
|
|
5212
|
+
export namespace NewFloatingTieredPackagePrice {
|
|
5213
|
+
/**
|
|
5214
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5215
|
+
* months.
|
|
5216
|
+
*/
|
|
5217
|
+
export interface BillingCycleConfiguration {
|
|
5218
|
+
/**
|
|
5219
|
+
* The duration of the billing period.
|
|
5220
|
+
*/
|
|
5221
|
+
duration: number;
|
|
5222
|
+
|
|
5223
|
+
/**
|
|
5224
|
+
* The unit of billing period duration.
|
|
5225
|
+
*/
|
|
5226
|
+
duration_unit: 'day' | 'month';
|
|
5227
|
+
}
|
|
5228
|
+
|
|
5229
|
+
/**
|
|
5230
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5231
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5232
|
+
*/
|
|
5233
|
+
export interface InvoicingCycleConfiguration {
|
|
5234
|
+
/**
|
|
5235
|
+
* The duration of the billing period.
|
|
5236
|
+
*/
|
|
5237
|
+
duration: number;
|
|
5238
|
+
|
|
5239
|
+
/**
|
|
5240
|
+
* The unit of billing period duration.
|
|
5241
|
+
*/
|
|
5242
|
+
duration_unit: 'day' | 'month';
|
|
5243
|
+
}
|
|
5244
|
+
}
|
|
5245
|
+
|
|
4708
5246
|
export interface NewFloatingGroupedTieredPrice {
|
|
4709
5247
|
/**
|
|
4710
5248
|
* The cadence to bill for this price on.
|
|
@@ -4742,6 +5280,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4742
5280
|
*/
|
|
4743
5281
|
billed_in_advance?: boolean | null;
|
|
4744
5282
|
|
|
5283
|
+
/**
|
|
5284
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5285
|
+
* months.
|
|
5286
|
+
*/
|
|
5287
|
+
billing_cycle_configuration?: NewFloatingGroupedTieredPrice.BillingCycleConfiguration | null;
|
|
5288
|
+
|
|
4745
5289
|
/**
|
|
4746
5290
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4747
5291
|
*/
|
|
@@ -4763,6 +5307,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4763
5307
|
*/
|
|
4764
5308
|
invoice_grouping_key?: string | null;
|
|
4765
5309
|
|
|
5310
|
+
/**
|
|
5311
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5312
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5313
|
+
*/
|
|
5314
|
+
invoicing_cycle_configuration?: NewFloatingGroupedTieredPrice.InvoicingCycleConfiguration | null;
|
|
5315
|
+
|
|
4766
5316
|
/**
|
|
4767
5317
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4768
5318
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4771,6 +5321,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4771
5321
|
metadata?: Record<string, string | null> | null;
|
|
4772
5322
|
}
|
|
4773
5323
|
|
|
5324
|
+
export namespace NewFloatingGroupedTieredPrice {
|
|
5325
|
+
/**
|
|
5326
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5327
|
+
* months.
|
|
5328
|
+
*/
|
|
5329
|
+
export interface BillingCycleConfiguration {
|
|
5330
|
+
/**
|
|
5331
|
+
* The duration of the billing period.
|
|
5332
|
+
*/
|
|
5333
|
+
duration: number;
|
|
5334
|
+
|
|
5335
|
+
/**
|
|
5336
|
+
* The unit of billing period duration.
|
|
5337
|
+
*/
|
|
5338
|
+
duration_unit: 'day' | 'month';
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
/**
|
|
5342
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5343
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5344
|
+
*/
|
|
5345
|
+
export interface InvoicingCycleConfiguration {
|
|
5346
|
+
/**
|
|
5347
|
+
* The duration of the billing period.
|
|
5348
|
+
*/
|
|
5349
|
+
duration: number;
|
|
5350
|
+
|
|
5351
|
+
/**
|
|
5352
|
+
* The unit of billing period duration.
|
|
5353
|
+
*/
|
|
5354
|
+
duration_unit: 'day' | 'month';
|
|
5355
|
+
}
|
|
5356
|
+
}
|
|
5357
|
+
|
|
4774
5358
|
export interface NewFloatingTieredWithMinimumPrice {
|
|
4775
5359
|
/**
|
|
4776
5360
|
* The cadence to bill for this price on.
|
|
@@ -4808,6 +5392,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4808
5392
|
*/
|
|
4809
5393
|
billed_in_advance?: boolean | null;
|
|
4810
5394
|
|
|
5395
|
+
/**
|
|
5396
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5397
|
+
* months.
|
|
5398
|
+
*/
|
|
5399
|
+
billing_cycle_configuration?: NewFloatingTieredWithMinimumPrice.BillingCycleConfiguration | null;
|
|
5400
|
+
|
|
4811
5401
|
/**
|
|
4812
5402
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4813
5403
|
*/
|
|
@@ -4829,6 +5419,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4829
5419
|
*/
|
|
4830
5420
|
invoice_grouping_key?: string | null;
|
|
4831
5421
|
|
|
5422
|
+
/**
|
|
5423
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5424
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5425
|
+
*/
|
|
5426
|
+
invoicing_cycle_configuration?: NewFloatingTieredWithMinimumPrice.InvoicingCycleConfiguration | null;
|
|
5427
|
+
|
|
4832
5428
|
/**
|
|
4833
5429
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4834
5430
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4837,6 +5433,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4837
5433
|
metadata?: Record<string, string | null> | null;
|
|
4838
5434
|
}
|
|
4839
5435
|
|
|
5436
|
+
export namespace NewFloatingTieredWithMinimumPrice {
|
|
5437
|
+
/**
|
|
5438
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5439
|
+
* months.
|
|
5440
|
+
*/
|
|
5441
|
+
export interface BillingCycleConfiguration {
|
|
5442
|
+
/**
|
|
5443
|
+
* The duration of the billing period.
|
|
5444
|
+
*/
|
|
5445
|
+
duration: number;
|
|
5446
|
+
|
|
5447
|
+
/**
|
|
5448
|
+
* The unit of billing period duration.
|
|
5449
|
+
*/
|
|
5450
|
+
duration_unit: 'day' | 'month';
|
|
5451
|
+
}
|
|
5452
|
+
|
|
5453
|
+
/**
|
|
5454
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5455
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5456
|
+
*/
|
|
5457
|
+
export interface InvoicingCycleConfiguration {
|
|
5458
|
+
/**
|
|
5459
|
+
* The duration of the billing period.
|
|
5460
|
+
*/
|
|
5461
|
+
duration: number;
|
|
5462
|
+
|
|
5463
|
+
/**
|
|
5464
|
+
* The unit of billing period duration.
|
|
5465
|
+
*/
|
|
5466
|
+
duration_unit: 'day' | 'month';
|
|
5467
|
+
}
|
|
5468
|
+
}
|
|
5469
|
+
|
|
4840
5470
|
export interface NewFloatingPackageWithAllocationPrice {
|
|
4841
5471
|
/**
|
|
4842
5472
|
* The cadence to bill for this price on.
|
|
@@ -4874,6 +5504,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4874
5504
|
*/
|
|
4875
5505
|
billed_in_advance?: boolean | null;
|
|
4876
5506
|
|
|
5507
|
+
/**
|
|
5508
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5509
|
+
* months.
|
|
5510
|
+
*/
|
|
5511
|
+
billing_cycle_configuration?: NewFloatingPackageWithAllocationPrice.BillingCycleConfiguration | null;
|
|
5512
|
+
|
|
4877
5513
|
/**
|
|
4878
5514
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4879
5515
|
*/
|
|
@@ -4895,6 +5531,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4895
5531
|
*/
|
|
4896
5532
|
invoice_grouping_key?: string | null;
|
|
4897
5533
|
|
|
5534
|
+
/**
|
|
5535
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5536
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5537
|
+
*/
|
|
5538
|
+
invoicing_cycle_configuration?: NewFloatingPackageWithAllocationPrice.InvoicingCycleConfiguration | null;
|
|
5539
|
+
|
|
4898
5540
|
/**
|
|
4899
5541
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4900
5542
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4903,6 +5545,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4903
5545
|
metadata?: Record<string, string | null> | null;
|
|
4904
5546
|
}
|
|
4905
5547
|
|
|
5548
|
+
export namespace NewFloatingPackageWithAllocationPrice {
|
|
5549
|
+
/**
|
|
5550
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5551
|
+
* months.
|
|
5552
|
+
*/
|
|
5553
|
+
export interface BillingCycleConfiguration {
|
|
5554
|
+
/**
|
|
5555
|
+
* The duration of the billing period.
|
|
5556
|
+
*/
|
|
5557
|
+
duration: number;
|
|
5558
|
+
|
|
5559
|
+
/**
|
|
5560
|
+
* The unit of billing period duration.
|
|
5561
|
+
*/
|
|
5562
|
+
duration_unit: 'day' | 'month';
|
|
5563
|
+
}
|
|
5564
|
+
|
|
5565
|
+
/**
|
|
5566
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5567
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5568
|
+
*/
|
|
5569
|
+
export interface InvoicingCycleConfiguration {
|
|
5570
|
+
/**
|
|
5571
|
+
* The duration of the billing period.
|
|
5572
|
+
*/
|
|
5573
|
+
duration: number;
|
|
5574
|
+
|
|
5575
|
+
/**
|
|
5576
|
+
* The unit of billing period duration.
|
|
5577
|
+
*/
|
|
5578
|
+
duration_unit: 'day' | 'month';
|
|
5579
|
+
}
|
|
5580
|
+
}
|
|
5581
|
+
|
|
4906
5582
|
export interface NewFloatingTieredPackageWithMinimumPrice {
|
|
4907
5583
|
/**
|
|
4908
5584
|
* The cadence to bill for this price on.
|
|
@@ -4940,6 +5616,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4940
5616
|
*/
|
|
4941
5617
|
billed_in_advance?: boolean | null;
|
|
4942
5618
|
|
|
5619
|
+
/**
|
|
5620
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5621
|
+
* months.
|
|
5622
|
+
*/
|
|
5623
|
+
billing_cycle_configuration?: NewFloatingTieredPackageWithMinimumPrice.BillingCycleConfiguration | null;
|
|
5624
|
+
|
|
4943
5625
|
/**
|
|
4944
5626
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4945
5627
|
*/
|
|
@@ -4961,6 +5643,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4961
5643
|
*/
|
|
4962
5644
|
invoice_grouping_key?: string | null;
|
|
4963
5645
|
|
|
5646
|
+
/**
|
|
5647
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5648
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5649
|
+
*/
|
|
5650
|
+
invoicing_cycle_configuration?: NewFloatingTieredPackageWithMinimumPrice.InvoicingCycleConfiguration | null;
|
|
5651
|
+
|
|
4964
5652
|
/**
|
|
4965
5653
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4966
5654
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4969,6 +5657,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
4969
5657
|
metadata?: Record<string, string | null> | null;
|
|
4970
5658
|
}
|
|
4971
5659
|
|
|
5660
|
+
export namespace NewFloatingTieredPackageWithMinimumPrice {
|
|
5661
|
+
/**
|
|
5662
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5663
|
+
* months.
|
|
5664
|
+
*/
|
|
5665
|
+
export interface BillingCycleConfiguration {
|
|
5666
|
+
/**
|
|
5667
|
+
* The duration of the billing period.
|
|
5668
|
+
*/
|
|
5669
|
+
duration: number;
|
|
5670
|
+
|
|
5671
|
+
/**
|
|
5672
|
+
* The unit of billing period duration.
|
|
5673
|
+
*/
|
|
5674
|
+
duration_unit: 'day' | 'month';
|
|
5675
|
+
}
|
|
5676
|
+
|
|
5677
|
+
/**
|
|
5678
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5679
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5680
|
+
*/
|
|
5681
|
+
export interface InvoicingCycleConfiguration {
|
|
5682
|
+
/**
|
|
5683
|
+
* The duration of the billing period.
|
|
5684
|
+
*/
|
|
5685
|
+
duration: number;
|
|
5686
|
+
|
|
5687
|
+
/**
|
|
5688
|
+
* The unit of billing period duration.
|
|
5689
|
+
*/
|
|
5690
|
+
duration_unit: 'day' | 'month';
|
|
5691
|
+
}
|
|
5692
|
+
}
|
|
5693
|
+
|
|
4972
5694
|
export interface NewFloatingUnitWithPercentPrice {
|
|
4973
5695
|
/**
|
|
4974
5696
|
* The cadence to bill for this price on.
|
|
@@ -5006,6 +5728,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5006
5728
|
*/
|
|
5007
5729
|
billed_in_advance?: boolean | null;
|
|
5008
5730
|
|
|
5731
|
+
/**
|
|
5732
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5733
|
+
* months.
|
|
5734
|
+
*/
|
|
5735
|
+
billing_cycle_configuration?: NewFloatingUnitWithPercentPrice.BillingCycleConfiguration | null;
|
|
5736
|
+
|
|
5009
5737
|
/**
|
|
5010
5738
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
5011
5739
|
*/
|
|
@@ -5027,6 +5755,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5027
5755
|
*/
|
|
5028
5756
|
invoice_grouping_key?: string | null;
|
|
5029
5757
|
|
|
5758
|
+
/**
|
|
5759
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5760
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5761
|
+
*/
|
|
5762
|
+
invoicing_cycle_configuration?: NewFloatingUnitWithPercentPrice.InvoicingCycleConfiguration | null;
|
|
5763
|
+
|
|
5030
5764
|
/**
|
|
5031
5765
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5032
5766
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5035,6 +5769,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5035
5769
|
metadata?: Record<string, string | null> | null;
|
|
5036
5770
|
}
|
|
5037
5771
|
|
|
5772
|
+
export namespace NewFloatingUnitWithPercentPrice {
|
|
5773
|
+
/**
|
|
5774
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5775
|
+
* months.
|
|
5776
|
+
*/
|
|
5777
|
+
export interface BillingCycleConfiguration {
|
|
5778
|
+
/**
|
|
5779
|
+
* The duration of the billing period.
|
|
5780
|
+
*/
|
|
5781
|
+
duration: number;
|
|
5782
|
+
|
|
5783
|
+
/**
|
|
5784
|
+
* The unit of billing period duration.
|
|
5785
|
+
*/
|
|
5786
|
+
duration_unit: 'day' | 'month';
|
|
5787
|
+
}
|
|
5788
|
+
|
|
5789
|
+
/**
|
|
5790
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5791
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5792
|
+
*/
|
|
5793
|
+
export interface InvoicingCycleConfiguration {
|
|
5794
|
+
/**
|
|
5795
|
+
* The duration of the billing period.
|
|
5796
|
+
*/
|
|
5797
|
+
duration: number;
|
|
5798
|
+
|
|
5799
|
+
/**
|
|
5800
|
+
* The unit of billing period duration.
|
|
5801
|
+
*/
|
|
5802
|
+
duration_unit: 'day' | 'month';
|
|
5803
|
+
}
|
|
5804
|
+
}
|
|
5805
|
+
|
|
5038
5806
|
export interface NewFloatingTieredWithProrationPrice {
|
|
5039
5807
|
/**
|
|
5040
5808
|
* The cadence to bill for this price on.
|
|
@@ -5072,6 +5840,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5072
5840
|
*/
|
|
5073
5841
|
billed_in_advance?: boolean | null;
|
|
5074
5842
|
|
|
5843
|
+
/**
|
|
5844
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5845
|
+
* months.
|
|
5846
|
+
*/
|
|
5847
|
+
billing_cycle_configuration?: NewFloatingTieredWithProrationPrice.BillingCycleConfiguration | null;
|
|
5848
|
+
|
|
5075
5849
|
/**
|
|
5076
5850
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
5077
5851
|
*/
|
|
@@ -5093,6 +5867,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5093
5867
|
*/
|
|
5094
5868
|
invoice_grouping_key?: string | null;
|
|
5095
5869
|
|
|
5870
|
+
/**
|
|
5871
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5872
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5873
|
+
*/
|
|
5874
|
+
invoicing_cycle_configuration?: NewFloatingTieredWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
5875
|
+
|
|
5096
5876
|
/**
|
|
5097
5877
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5098
5878
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5101,6 +5881,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5101
5881
|
metadata?: Record<string, string | null> | null;
|
|
5102
5882
|
}
|
|
5103
5883
|
|
|
5884
|
+
export namespace NewFloatingTieredWithProrationPrice {
|
|
5885
|
+
/**
|
|
5886
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5887
|
+
* months.
|
|
5888
|
+
*/
|
|
5889
|
+
export interface BillingCycleConfiguration {
|
|
5890
|
+
/**
|
|
5891
|
+
* The duration of the billing period.
|
|
5892
|
+
*/
|
|
5893
|
+
duration: number;
|
|
5894
|
+
|
|
5895
|
+
/**
|
|
5896
|
+
* The unit of billing period duration.
|
|
5897
|
+
*/
|
|
5898
|
+
duration_unit: 'day' | 'month';
|
|
5899
|
+
}
|
|
5900
|
+
|
|
5901
|
+
/**
|
|
5902
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5903
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5904
|
+
*/
|
|
5905
|
+
export interface InvoicingCycleConfiguration {
|
|
5906
|
+
/**
|
|
5907
|
+
* The duration of the billing period.
|
|
5908
|
+
*/
|
|
5909
|
+
duration: number;
|
|
5910
|
+
|
|
5911
|
+
/**
|
|
5912
|
+
* The unit of billing period duration.
|
|
5913
|
+
*/
|
|
5914
|
+
duration_unit: 'day' | 'month';
|
|
5915
|
+
}
|
|
5916
|
+
}
|
|
5917
|
+
|
|
5104
5918
|
export interface NewFloatingUnitWithProrationPrice {
|
|
5105
5919
|
/**
|
|
5106
5920
|
* The cadence to bill for this price on.
|
|
@@ -5138,6 +5952,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5138
5952
|
*/
|
|
5139
5953
|
billed_in_advance?: boolean | null;
|
|
5140
5954
|
|
|
5955
|
+
/**
|
|
5956
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5957
|
+
* months.
|
|
5958
|
+
*/
|
|
5959
|
+
billing_cycle_configuration?: NewFloatingUnitWithProrationPrice.BillingCycleConfiguration | null;
|
|
5960
|
+
|
|
5141
5961
|
/**
|
|
5142
5962
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
5143
5963
|
*/
|
|
@@ -5159,6 +5979,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5159
5979
|
*/
|
|
5160
5980
|
invoice_grouping_key?: string | null;
|
|
5161
5981
|
|
|
5982
|
+
/**
|
|
5983
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5984
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5985
|
+
*/
|
|
5986
|
+
invoicing_cycle_configuration?: NewFloatingUnitWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
5987
|
+
|
|
5162
5988
|
/**
|
|
5163
5989
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5164
5990
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5167,6 +5993,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5167
5993
|
metadata?: Record<string, string | null> | null;
|
|
5168
5994
|
}
|
|
5169
5995
|
|
|
5996
|
+
export namespace NewFloatingUnitWithProrationPrice {
|
|
5997
|
+
/**
|
|
5998
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5999
|
+
* months.
|
|
6000
|
+
*/
|
|
6001
|
+
export interface BillingCycleConfiguration {
|
|
6002
|
+
/**
|
|
6003
|
+
* The duration of the billing period.
|
|
6004
|
+
*/
|
|
6005
|
+
duration: number;
|
|
6006
|
+
|
|
6007
|
+
/**
|
|
6008
|
+
* The unit of billing period duration.
|
|
6009
|
+
*/
|
|
6010
|
+
duration_unit: 'day' | 'month';
|
|
6011
|
+
}
|
|
6012
|
+
|
|
6013
|
+
/**
|
|
6014
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6015
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6016
|
+
*/
|
|
6017
|
+
export interface InvoicingCycleConfiguration {
|
|
6018
|
+
/**
|
|
6019
|
+
* The duration of the billing period.
|
|
6020
|
+
*/
|
|
6021
|
+
duration: number;
|
|
6022
|
+
|
|
6023
|
+
/**
|
|
6024
|
+
* The unit of billing period duration.
|
|
6025
|
+
*/
|
|
6026
|
+
duration_unit: 'day' | 'month';
|
|
6027
|
+
}
|
|
6028
|
+
}
|
|
6029
|
+
|
|
5170
6030
|
export interface NewFloatingGroupedAllocationPrice {
|
|
5171
6031
|
/**
|
|
5172
6032
|
* The cadence to bill for this price on.
|
|
@@ -5204,6 +6064,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5204
6064
|
*/
|
|
5205
6065
|
billed_in_advance?: boolean | null;
|
|
5206
6066
|
|
|
6067
|
+
/**
|
|
6068
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
6069
|
+
* months.
|
|
6070
|
+
*/
|
|
6071
|
+
billing_cycle_configuration?: NewFloatingGroupedAllocationPrice.BillingCycleConfiguration | null;
|
|
6072
|
+
|
|
5207
6073
|
/**
|
|
5208
6074
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
5209
6075
|
*/
|
|
@@ -5225,6 +6091,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5225
6091
|
*/
|
|
5226
6092
|
invoice_grouping_key?: string | null;
|
|
5227
6093
|
|
|
6094
|
+
/**
|
|
6095
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6096
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6097
|
+
*/
|
|
6098
|
+
invoicing_cycle_configuration?: NewFloatingGroupedAllocationPrice.InvoicingCycleConfiguration | null;
|
|
6099
|
+
|
|
5228
6100
|
/**
|
|
5229
6101
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5230
6102
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5233,6 +6105,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5233
6105
|
metadata?: Record<string, string | null> | null;
|
|
5234
6106
|
}
|
|
5235
6107
|
|
|
6108
|
+
export namespace NewFloatingGroupedAllocationPrice {
|
|
6109
|
+
/**
|
|
6110
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
6111
|
+
* months.
|
|
6112
|
+
*/
|
|
6113
|
+
export interface BillingCycleConfiguration {
|
|
6114
|
+
/**
|
|
6115
|
+
* The duration of the billing period.
|
|
6116
|
+
*/
|
|
6117
|
+
duration: number;
|
|
6118
|
+
|
|
6119
|
+
/**
|
|
6120
|
+
* The unit of billing period duration.
|
|
6121
|
+
*/
|
|
6122
|
+
duration_unit: 'day' | 'month';
|
|
6123
|
+
}
|
|
6124
|
+
|
|
6125
|
+
/**
|
|
6126
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6127
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6128
|
+
*/
|
|
6129
|
+
export interface InvoicingCycleConfiguration {
|
|
6130
|
+
/**
|
|
6131
|
+
* The duration of the billing period.
|
|
6132
|
+
*/
|
|
6133
|
+
duration: number;
|
|
6134
|
+
|
|
6135
|
+
/**
|
|
6136
|
+
* The unit of billing period duration.
|
|
6137
|
+
*/
|
|
6138
|
+
duration_unit: 'day' | 'month';
|
|
6139
|
+
}
|
|
6140
|
+
}
|
|
6141
|
+
|
|
5236
6142
|
export interface NewFloatingBulkWithProrationPrice {
|
|
5237
6143
|
bulk_with_proration_config: Record<string, unknown>;
|
|
5238
6144
|
|
|
@@ -5270,6 +6176,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5270
6176
|
*/
|
|
5271
6177
|
billed_in_advance?: boolean | null;
|
|
5272
6178
|
|
|
6179
|
+
/**
|
|
6180
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
6181
|
+
* months.
|
|
6182
|
+
*/
|
|
6183
|
+
billing_cycle_configuration?: NewFloatingBulkWithProrationPrice.BillingCycleConfiguration | null;
|
|
6184
|
+
|
|
5273
6185
|
/**
|
|
5274
6186
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
5275
6187
|
*/
|
|
@@ -5291,6 +6203,12 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5291
6203
|
*/
|
|
5292
6204
|
invoice_grouping_key?: string | null;
|
|
5293
6205
|
|
|
6206
|
+
/**
|
|
6207
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6208
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6209
|
+
*/
|
|
6210
|
+
invoicing_cycle_configuration?: NewFloatingBulkWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
6211
|
+
|
|
5294
6212
|
/**
|
|
5295
6213
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5296
6214
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5298,6 +6216,40 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5298
6216
|
*/
|
|
5299
6217
|
metadata?: Record<string, string | null> | null;
|
|
5300
6218
|
}
|
|
6219
|
+
|
|
6220
|
+
export namespace NewFloatingBulkWithProrationPrice {
|
|
6221
|
+
/**
|
|
6222
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
6223
|
+
* months.
|
|
6224
|
+
*/
|
|
6225
|
+
export interface BillingCycleConfiguration {
|
|
6226
|
+
/**
|
|
6227
|
+
* The duration of the billing period.
|
|
6228
|
+
*/
|
|
6229
|
+
duration: number;
|
|
6230
|
+
|
|
6231
|
+
/**
|
|
6232
|
+
* The unit of billing period duration.
|
|
6233
|
+
*/
|
|
6234
|
+
duration_unit: 'day' | 'month';
|
|
6235
|
+
}
|
|
6236
|
+
|
|
6237
|
+
/**
|
|
6238
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6239
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6240
|
+
*/
|
|
6241
|
+
export interface InvoicingCycleConfiguration {
|
|
6242
|
+
/**
|
|
6243
|
+
* The duration of the billing period.
|
|
6244
|
+
*/
|
|
6245
|
+
duration: number;
|
|
6246
|
+
|
|
6247
|
+
/**
|
|
6248
|
+
* The unit of billing period duration.
|
|
6249
|
+
*/
|
|
6250
|
+
duration_unit: 'day' | 'month';
|
|
6251
|
+
}
|
|
6252
|
+
}
|
|
5301
6253
|
}
|
|
5302
6254
|
|
|
5303
6255
|
export interface AddAdjustment {
|