orb-billing 4.24.0 → 4.25.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/core.d.ts +2 -1
- package/core.d.ts.map +1 -1
- package/core.js +16 -4
- package/core.js.map +1 -1
- package/core.mjs +13 -2
- package/core.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/subscriptions.d.ts +390 -6
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/core.ts +15 -3
- package/src/resources/subscriptions.ts +472 -8
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2141,6 +2141,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2141
2141
|
* by setting `metadata` to `null`.
|
|
2142
2142
|
*/
|
|
2143
2143
|
metadata?: Record<string, string | null> | null;
|
|
2144
|
+
/**
|
|
2145
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
2146
|
+
* in the same API call.
|
|
2147
|
+
*/
|
|
2148
|
+
reference_id?: string | null;
|
|
2144
2149
|
}
|
|
2145
2150
|
namespace NewSubscriptionUnitPrice {
|
|
2146
2151
|
interface UnitConfig {
|
|
@@ -2241,6 +2246,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2241
2246
|
* by setting `metadata` to `null`.
|
|
2242
2247
|
*/
|
|
2243
2248
|
metadata?: Record<string, string | null> | null;
|
|
2249
|
+
/**
|
|
2250
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
2251
|
+
* in the same API call.
|
|
2252
|
+
*/
|
|
2253
|
+
reference_id?: string | null;
|
|
2244
2254
|
}
|
|
2245
2255
|
namespace NewSubscriptionPackagePrice {
|
|
2246
2256
|
interface PackageConfig {
|
|
@@ -2346,6 +2356,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2346
2356
|
* by setting `metadata` to `null`.
|
|
2347
2357
|
*/
|
|
2348
2358
|
metadata?: Record<string, string | null> | null;
|
|
2359
|
+
/**
|
|
2360
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
2361
|
+
* in the same API call.
|
|
2362
|
+
*/
|
|
2363
|
+
reference_id?: string | null;
|
|
2349
2364
|
}
|
|
2350
2365
|
namespace NewSubscriptionMatrixPrice {
|
|
2351
2366
|
interface MatrixConfig {
|
|
@@ -2468,6 +2483,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2468
2483
|
* by setting `metadata` to `null`.
|
|
2469
2484
|
*/
|
|
2470
2485
|
metadata?: Record<string, string | null> | null;
|
|
2486
|
+
/**
|
|
2487
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
2488
|
+
* in the same API call.
|
|
2489
|
+
*/
|
|
2490
|
+
reference_id?: string | null;
|
|
2471
2491
|
}
|
|
2472
2492
|
namespace NewSubscriptionTieredPrice {
|
|
2473
2493
|
interface TieredConfig {
|
|
@@ -2584,6 +2604,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2584
2604
|
* by setting `metadata` to `null`.
|
|
2585
2605
|
*/
|
|
2586
2606
|
metadata?: Record<string, string | null> | null;
|
|
2607
|
+
/**
|
|
2608
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
2609
|
+
* in the same API call.
|
|
2610
|
+
*/
|
|
2611
|
+
reference_id?: string | null;
|
|
2587
2612
|
}
|
|
2588
2613
|
namespace NewSubscriptionTieredBpsPrice {
|
|
2589
2614
|
interface TieredBpsConfig {
|
|
@@ -2705,6 +2730,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2705
2730
|
* by setting `metadata` to `null`.
|
|
2706
2731
|
*/
|
|
2707
2732
|
metadata?: Record<string, string | null> | null;
|
|
2733
|
+
/**
|
|
2734
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
2735
|
+
* in the same API call.
|
|
2736
|
+
*/
|
|
2737
|
+
reference_id?: string | null;
|
|
2708
2738
|
}
|
|
2709
2739
|
namespace NewSubscriptionBpsPrice {
|
|
2710
2740
|
interface BpsConfig {
|
|
@@ -2809,6 +2839,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2809
2839
|
* by setting `metadata` to `null`.
|
|
2810
2840
|
*/
|
|
2811
2841
|
metadata?: Record<string, string | null> | null;
|
|
2842
|
+
/**
|
|
2843
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
2844
|
+
* in the same API call.
|
|
2845
|
+
*/
|
|
2846
|
+
reference_id?: string | null;
|
|
2812
2847
|
}
|
|
2813
2848
|
namespace NewSubscriptionBulkBpsPrice {
|
|
2814
2849
|
interface BulkBpsConfig {
|
|
@@ -2926,6 +2961,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2926
2961
|
* by setting `metadata` to `null`.
|
|
2927
2962
|
*/
|
|
2928
2963
|
metadata?: Record<string, string | null> | null;
|
|
2964
|
+
/**
|
|
2965
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
2966
|
+
* in the same API call.
|
|
2967
|
+
*/
|
|
2968
|
+
reference_id?: string | null;
|
|
2929
2969
|
}
|
|
2930
2970
|
namespace NewSubscriptionBulkPrice {
|
|
2931
2971
|
interface BulkConfig {
|
|
@@ -3038,6 +3078,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3038
3078
|
* by setting `metadata` to `null`.
|
|
3039
3079
|
*/
|
|
3040
3080
|
metadata?: Record<string, string | null> | null;
|
|
3081
|
+
/**
|
|
3082
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3083
|
+
* in the same API call.
|
|
3084
|
+
*/
|
|
3085
|
+
reference_id?: string | null;
|
|
3041
3086
|
}
|
|
3042
3087
|
namespace NewSubscriptionThresholdTotalAmountPrice {
|
|
3043
3088
|
/**
|
|
@@ -3132,6 +3177,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3132
3177
|
* by setting `metadata` to `null`.
|
|
3133
3178
|
*/
|
|
3134
3179
|
metadata?: Record<string, string | null> | null;
|
|
3180
|
+
/**
|
|
3181
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3182
|
+
* in the same API call.
|
|
3183
|
+
*/
|
|
3184
|
+
reference_id?: string | null;
|
|
3135
3185
|
}
|
|
3136
3186
|
namespace NewSubscriptionTieredPackagePrice {
|
|
3137
3187
|
/**
|
|
@@ -3226,6 +3276,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3226
3276
|
* by setting `metadata` to `null`.
|
|
3227
3277
|
*/
|
|
3228
3278
|
metadata?: Record<string, string | null> | null;
|
|
3279
|
+
/**
|
|
3280
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3281
|
+
* in the same API call.
|
|
3282
|
+
*/
|
|
3283
|
+
reference_id?: string | null;
|
|
3229
3284
|
}
|
|
3230
3285
|
namespace NewSubscriptionTieredWithMinimumPrice {
|
|
3231
3286
|
/**
|
|
@@ -3320,6 +3375,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3320
3375
|
* by setting `metadata` to `null`.
|
|
3321
3376
|
*/
|
|
3322
3377
|
metadata?: Record<string, string | null> | null;
|
|
3378
|
+
/**
|
|
3379
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3380
|
+
* in the same API call.
|
|
3381
|
+
*/
|
|
3382
|
+
reference_id?: string | null;
|
|
3323
3383
|
}
|
|
3324
3384
|
namespace NewSubscriptionUnitWithPercentPrice {
|
|
3325
3385
|
/**
|
|
@@ -3414,6 +3474,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3414
3474
|
* by setting `metadata` to `null`.
|
|
3415
3475
|
*/
|
|
3416
3476
|
metadata?: Record<string, string | null> | null;
|
|
3477
|
+
/**
|
|
3478
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3479
|
+
* in the same API call.
|
|
3480
|
+
*/
|
|
3481
|
+
reference_id?: string | null;
|
|
3417
3482
|
}
|
|
3418
3483
|
namespace NewSubscriptionPackageWithAllocationPrice {
|
|
3419
3484
|
/**
|
|
@@ -3508,6 +3573,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3508
3573
|
* by setting `metadata` to `null`.
|
|
3509
3574
|
*/
|
|
3510
3575
|
metadata?: Record<string, string | null> | null;
|
|
3576
|
+
/**
|
|
3577
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3578
|
+
* in the same API call.
|
|
3579
|
+
*/
|
|
3580
|
+
reference_id?: string | null;
|
|
3511
3581
|
}
|
|
3512
3582
|
namespace NewSubscriptionTierWithProrationPrice {
|
|
3513
3583
|
/**
|
|
@@ -3602,6 +3672,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3602
3672
|
* by setting `metadata` to `null`.
|
|
3603
3673
|
*/
|
|
3604
3674
|
metadata?: Record<string, string | null> | null;
|
|
3675
|
+
/**
|
|
3676
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3677
|
+
* in the same API call.
|
|
3678
|
+
*/
|
|
3679
|
+
reference_id?: string | null;
|
|
3605
3680
|
}
|
|
3606
3681
|
namespace NewSubscriptionUnitWithProrationPrice {
|
|
3607
3682
|
/**
|
|
@@ -3696,6 +3771,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3696
3771
|
* by setting `metadata` to `null`.
|
|
3697
3772
|
*/
|
|
3698
3773
|
metadata?: Record<string, string | null> | null;
|
|
3774
|
+
/**
|
|
3775
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3776
|
+
* in the same API call.
|
|
3777
|
+
*/
|
|
3778
|
+
reference_id?: string | null;
|
|
3699
3779
|
}
|
|
3700
3780
|
namespace NewSubscriptionGroupedAllocationPrice {
|
|
3701
3781
|
/**
|
|
@@ -3790,6 +3870,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3790
3870
|
* by setting `metadata` to `null`.
|
|
3791
3871
|
*/
|
|
3792
3872
|
metadata?: Record<string, string | null> | null;
|
|
3873
|
+
/**
|
|
3874
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3875
|
+
* in the same API call.
|
|
3876
|
+
*/
|
|
3877
|
+
reference_id?: string | null;
|
|
3793
3878
|
}
|
|
3794
3879
|
namespace NewSubscriptionGroupedWithProratedMinimumPrice {
|
|
3795
3880
|
/**
|
|
@@ -3884,6 +3969,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
3884
3969
|
* by setting `metadata` to `null`.
|
|
3885
3970
|
*/
|
|
3886
3971
|
metadata?: Record<string, string | null> | null;
|
|
3972
|
+
/**
|
|
3973
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3974
|
+
* in the same API call.
|
|
3975
|
+
*/
|
|
3976
|
+
reference_id?: string | null;
|
|
3887
3977
|
}
|
|
3888
3978
|
namespace NewSubscriptionBulkWithProrationPrice {
|
|
3889
3979
|
/**
|
|
@@ -5305,14 +5395,26 @@ export declare namespace SubscriptionCreateParams {
|
|
|
5305
5395
|
}
|
|
5306
5396
|
}
|
|
5307
5397
|
interface ReplacePrice {
|
|
5398
|
+
/**
|
|
5399
|
+
* The id of the price on the plan to replace in the subscription.
|
|
5400
|
+
*/
|
|
5401
|
+
replaces_price_id: string;
|
|
5402
|
+
/**
|
|
5403
|
+
* The external price id of the price to add to the subscription.
|
|
5404
|
+
*/
|
|
5405
|
+
external_price_id?: string | null;
|
|
5406
|
+
/**
|
|
5407
|
+
* The new quantity of the price, if the price is a fixed price.
|
|
5408
|
+
*/
|
|
5409
|
+
fixed_price_quantity?: number | null;
|
|
5308
5410
|
/**
|
|
5309
5411
|
* The definition of a new price to create and add to the subscription.
|
|
5310
5412
|
*/
|
|
5311
|
-
price
|
|
5413
|
+
price?: ReplacePrice.NewSubscriptionUnitPrice | ReplacePrice.NewSubscriptionPackagePrice | ReplacePrice.NewSubscriptionMatrixPrice | ReplacePrice.NewSubscriptionTieredPrice | ReplacePrice.NewSubscriptionTieredBpsPrice | ReplacePrice.NewSubscriptionBpsPrice | ReplacePrice.NewSubscriptionBulkBpsPrice | ReplacePrice.NewSubscriptionBulkPrice | ReplacePrice.NewSubscriptionThresholdTotalAmountPrice | ReplacePrice.NewSubscriptionTieredPackagePrice | ReplacePrice.NewSubscriptionTieredWithMinimumPrice | ReplacePrice.NewSubscriptionUnitWithPercentPrice | ReplacePrice.NewSubscriptionPackageWithAllocationPrice | ReplacePrice.NewSubscriptionTierWithProrationPrice | ReplacePrice.NewSubscriptionUnitWithProrationPrice | ReplacePrice.NewSubscriptionGroupedAllocationPrice | ReplacePrice.NewSubscriptionGroupedWithProratedMinimumPrice | ReplacePrice.NewSubscriptionBulkWithProrationPrice | null;
|
|
5312
5414
|
/**
|
|
5313
|
-
* The id of the price
|
|
5415
|
+
* The id of the price to add to the subscription.
|
|
5314
5416
|
*/
|
|
5315
|
-
|
|
5417
|
+
price_id?: string | null;
|
|
5316
5418
|
}
|
|
5317
5419
|
namespace ReplacePrice {
|
|
5318
5420
|
interface NewSubscriptionUnitPrice {
|
|
@@ -5378,6 +5480,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
5378
5480
|
* by setting `metadata` to `null`.
|
|
5379
5481
|
*/
|
|
5380
5482
|
metadata?: Record<string, string | null> | null;
|
|
5483
|
+
/**
|
|
5484
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5485
|
+
* in the same API call.
|
|
5486
|
+
*/
|
|
5487
|
+
reference_id?: string | null;
|
|
5381
5488
|
}
|
|
5382
5489
|
namespace NewSubscriptionUnitPrice {
|
|
5383
5490
|
interface UnitConfig {
|
|
@@ -5478,6 +5585,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
5478
5585
|
* by setting `metadata` to `null`.
|
|
5479
5586
|
*/
|
|
5480
5587
|
metadata?: Record<string, string | null> | null;
|
|
5588
|
+
/**
|
|
5589
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5590
|
+
* in the same API call.
|
|
5591
|
+
*/
|
|
5592
|
+
reference_id?: string | null;
|
|
5481
5593
|
}
|
|
5482
5594
|
namespace NewSubscriptionPackagePrice {
|
|
5483
5595
|
interface PackageConfig {
|
|
@@ -5583,6 +5695,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
5583
5695
|
* by setting `metadata` to `null`.
|
|
5584
5696
|
*/
|
|
5585
5697
|
metadata?: Record<string, string | null> | null;
|
|
5698
|
+
/**
|
|
5699
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5700
|
+
* in the same API call.
|
|
5701
|
+
*/
|
|
5702
|
+
reference_id?: string | null;
|
|
5586
5703
|
}
|
|
5587
5704
|
namespace NewSubscriptionMatrixPrice {
|
|
5588
5705
|
interface MatrixConfig {
|
|
@@ -5705,6 +5822,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
5705
5822
|
* by setting `metadata` to `null`.
|
|
5706
5823
|
*/
|
|
5707
5824
|
metadata?: Record<string, string | null> | null;
|
|
5825
|
+
/**
|
|
5826
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5827
|
+
* in the same API call.
|
|
5828
|
+
*/
|
|
5829
|
+
reference_id?: string | null;
|
|
5708
5830
|
}
|
|
5709
5831
|
namespace NewSubscriptionTieredPrice {
|
|
5710
5832
|
interface TieredConfig {
|
|
@@ -5821,6 +5943,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
5821
5943
|
* by setting `metadata` to `null`.
|
|
5822
5944
|
*/
|
|
5823
5945
|
metadata?: Record<string, string | null> | null;
|
|
5946
|
+
/**
|
|
5947
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5948
|
+
* in the same API call.
|
|
5949
|
+
*/
|
|
5950
|
+
reference_id?: string | null;
|
|
5824
5951
|
}
|
|
5825
5952
|
namespace NewSubscriptionTieredBpsPrice {
|
|
5826
5953
|
interface TieredBpsConfig {
|
|
@@ -5942,6 +6069,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
5942
6069
|
* by setting `metadata` to `null`.
|
|
5943
6070
|
*/
|
|
5944
6071
|
metadata?: Record<string, string | null> | null;
|
|
6072
|
+
/**
|
|
6073
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6074
|
+
* in the same API call.
|
|
6075
|
+
*/
|
|
6076
|
+
reference_id?: string | null;
|
|
5945
6077
|
}
|
|
5946
6078
|
namespace NewSubscriptionBpsPrice {
|
|
5947
6079
|
interface BpsConfig {
|
|
@@ -6046,6 +6178,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6046
6178
|
* by setting `metadata` to `null`.
|
|
6047
6179
|
*/
|
|
6048
6180
|
metadata?: Record<string, string | null> | null;
|
|
6181
|
+
/**
|
|
6182
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6183
|
+
* in the same API call.
|
|
6184
|
+
*/
|
|
6185
|
+
reference_id?: string | null;
|
|
6049
6186
|
}
|
|
6050
6187
|
namespace NewSubscriptionBulkBpsPrice {
|
|
6051
6188
|
interface BulkBpsConfig {
|
|
@@ -6163,6 +6300,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6163
6300
|
* by setting `metadata` to `null`.
|
|
6164
6301
|
*/
|
|
6165
6302
|
metadata?: Record<string, string | null> | null;
|
|
6303
|
+
/**
|
|
6304
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6305
|
+
* in the same API call.
|
|
6306
|
+
*/
|
|
6307
|
+
reference_id?: string | null;
|
|
6166
6308
|
}
|
|
6167
6309
|
namespace NewSubscriptionBulkPrice {
|
|
6168
6310
|
interface BulkConfig {
|
|
@@ -6275,6 +6417,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6275
6417
|
* by setting `metadata` to `null`.
|
|
6276
6418
|
*/
|
|
6277
6419
|
metadata?: Record<string, string | null> | null;
|
|
6420
|
+
/**
|
|
6421
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6422
|
+
* in the same API call.
|
|
6423
|
+
*/
|
|
6424
|
+
reference_id?: string | null;
|
|
6278
6425
|
}
|
|
6279
6426
|
namespace NewSubscriptionThresholdTotalAmountPrice {
|
|
6280
6427
|
/**
|
|
@@ -6369,6 +6516,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6369
6516
|
* by setting `metadata` to `null`.
|
|
6370
6517
|
*/
|
|
6371
6518
|
metadata?: Record<string, string | null> | null;
|
|
6519
|
+
/**
|
|
6520
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6521
|
+
* in the same API call.
|
|
6522
|
+
*/
|
|
6523
|
+
reference_id?: string | null;
|
|
6372
6524
|
}
|
|
6373
6525
|
namespace NewSubscriptionTieredPackagePrice {
|
|
6374
6526
|
/**
|
|
@@ -6463,6 +6615,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6463
6615
|
* by setting `metadata` to `null`.
|
|
6464
6616
|
*/
|
|
6465
6617
|
metadata?: Record<string, string | null> | null;
|
|
6618
|
+
/**
|
|
6619
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6620
|
+
* in the same API call.
|
|
6621
|
+
*/
|
|
6622
|
+
reference_id?: string | null;
|
|
6466
6623
|
}
|
|
6467
6624
|
namespace NewSubscriptionTieredWithMinimumPrice {
|
|
6468
6625
|
/**
|
|
@@ -6557,6 +6714,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6557
6714
|
* by setting `metadata` to `null`.
|
|
6558
6715
|
*/
|
|
6559
6716
|
metadata?: Record<string, string | null> | null;
|
|
6717
|
+
/**
|
|
6718
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6719
|
+
* in the same API call.
|
|
6720
|
+
*/
|
|
6721
|
+
reference_id?: string | null;
|
|
6560
6722
|
}
|
|
6561
6723
|
namespace NewSubscriptionUnitWithPercentPrice {
|
|
6562
6724
|
/**
|
|
@@ -6651,6 +6813,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6651
6813
|
* by setting `metadata` to `null`.
|
|
6652
6814
|
*/
|
|
6653
6815
|
metadata?: Record<string, string | null> | null;
|
|
6816
|
+
/**
|
|
6817
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6818
|
+
* in the same API call.
|
|
6819
|
+
*/
|
|
6820
|
+
reference_id?: string | null;
|
|
6654
6821
|
}
|
|
6655
6822
|
namespace NewSubscriptionPackageWithAllocationPrice {
|
|
6656
6823
|
/**
|
|
@@ -6745,6 +6912,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6745
6912
|
* by setting `metadata` to `null`.
|
|
6746
6913
|
*/
|
|
6747
6914
|
metadata?: Record<string, string | null> | null;
|
|
6915
|
+
/**
|
|
6916
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
6917
|
+
* in the same API call.
|
|
6918
|
+
*/
|
|
6919
|
+
reference_id?: string | null;
|
|
6748
6920
|
}
|
|
6749
6921
|
namespace NewSubscriptionTierWithProrationPrice {
|
|
6750
6922
|
/**
|
|
@@ -6839,6 +7011,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6839
7011
|
* by setting `metadata` to `null`.
|
|
6840
7012
|
*/
|
|
6841
7013
|
metadata?: Record<string, string | null> | null;
|
|
7014
|
+
/**
|
|
7015
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
7016
|
+
* in the same API call.
|
|
7017
|
+
*/
|
|
7018
|
+
reference_id?: string | null;
|
|
6842
7019
|
}
|
|
6843
7020
|
namespace NewSubscriptionUnitWithProrationPrice {
|
|
6844
7021
|
/**
|
|
@@ -6933,6 +7110,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
6933
7110
|
* by setting `metadata` to `null`.
|
|
6934
7111
|
*/
|
|
6935
7112
|
metadata?: Record<string, string | null> | null;
|
|
7113
|
+
/**
|
|
7114
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
7115
|
+
* in the same API call.
|
|
7116
|
+
*/
|
|
7117
|
+
reference_id?: string | null;
|
|
6936
7118
|
}
|
|
6937
7119
|
namespace NewSubscriptionGroupedAllocationPrice {
|
|
6938
7120
|
/**
|
|
@@ -7027,6 +7209,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
7027
7209
|
* by setting `metadata` to `null`.
|
|
7028
7210
|
*/
|
|
7029
7211
|
metadata?: Record<string, string | null> | null;
|
|
7212
|
+
/**
|
|
7213
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
7214
|
+
* in the same API call.
|
|
7215
|
+
*/
|
|
7216
|
+
reference_id?: string | null;
|
|
7030
7217
|
}
|
|
7031
7218
|
namespace NewSubscriptionGroupedWithProratedMinimumPrice {
|
|
7032
7219
|
/**
|
|
@@ -7121,6 +7308,11 @@ export declare namespace SubscriptionCreateParams {
|
|
|
7121
7308
|
* by setting `metadata` to `null`.
|
|
7122
7309
|
*/
|
|
7123
7310
|
metadata?: Record<string, string | null> | null;
|
|
7311
|
+
/**
|
|
7312
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
7313
|
+
* in the same API call.
|
|
7314
|
+
*/
|
|
7315
|
+
reference_id?: string | null;
|
|
7124
7316
|
}
|
|
7125
7317
|
namespace NewSubscriptionBulkWithProrationPrice {
|
|
7126
7318
|
/**
|
|
@@ -9972,6 +10164,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
9972
10164
|
* by setting `metadata` to `null`.
|
|
9973
10165
|
*/
|
|
9974
10166
|
metadata?: Record<string, string | null> | null;
|
|
10167
|
+
/**
|
|
10168
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
10169
|
+
* in the same API call.
|
|
10170
|
+
*/
|
|
10171
|
+
reference_id?: string | null;
|
|
9975
10172
|
}
|
|
9976
10173
|
namespace NewSubscriptionUnitPrice {
|
|
9977
10174
|
interface UnitConfig {
|
|
@@ -10072,6 +10269,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10072
10269
|
* by setting `metadata` to `null`.
|
|
10073
10270
|
*/
|
|
10074
10271
|
metadata?: Record<string, string | null> | null;
|
|
10272
|
+
/**
|
|
10273
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
10274
|
+
* in the same API call.
|
|
10275
|
+
*/
|
|
10276
|
+
reference_id?: string | null;
|
|
10075
10277
|
}
|
|
10076
10278
|
namespace NewSubscriptionPackagePrice {
|
|
10077
10279
|
interface PackageConfig {
|
|
@@ -10177,6 +10379,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10177
10379
|
* by setting `metadata` to `null`.
|
|
10178
10380
|
*/
|
|
10179
10381
|
metadata?: Record<string, string | null> | null;
|
|
10382
|
+
/**
|
|
10383
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
10384
|
+
* in the same API call.
|
|
10385
|
+
*/
|
|
10386
|
+
reference_id?: string | null;
|
|
10180
10387
|
}
|
|
10181
10388
|
namespace NewSubscriptionMatrixPrice {
|
|
10182
10389
|
interface MatrixConfig {
|
|
@@ -10299,6 +10506,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10299
10506
|
* by setting `metadata` to `null`.
|
|
10300
10507
|
*/
|
|
10301
10508
|
metadata?: Record<string, string | null> | null;
|
|
10509
|
+
/**
|
|
10510
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
10511
|
+
* in the same API call.
|
|
10512
|
+
*/
|
|
10513
|
+
reference_id?: string | null;
|
|
10302
10514
|
}
|
|
10303
10515
|
namespace NewSubscriptionTieredPrice {
|
|
10304
10516
|
interface TieredConfig {
|
|
@@ -10415,6 +10627,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10415
10627
|
* by setting `metadata` to `null`.
|
|
10416
10628
|
*/
|
|
10417
10629
|
metadata?: Record<string, string | null> | null;
|
|
10630
|
+
/**
|
|
10631
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
10632
|
+
* in the same API call.
|
|
10633
|
+
*/
|
|
10634
|
+
reference_id?: string | null;
|
|
10418
10635
|
}
|
|
10419
10636
|
namespace NewSubscriptionTieredBpsPrice {
|
|
10420
10637
|
interface TieredBpsConfig {
|
|
@@ -10536,6 +10753,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10536
10753
|
* by setting `metadata` to `null`.
|
|
10537
10754
|
*/
|
|
10538
10755
|
metadata?: Record<string, string | null> | null;
|
|
10756
|
+
/**
|
|
10757
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
10758
|
+
* in the same API call.
|
|
10759
|
+
*/
|
|
10760
|
+
reference_id?: string | null;
|
|
10539
10761
|
}
|
|
10540
10762
|
namespace NewSubscriptionBpsPrice {
|
|
10541
10763
|
interface BpsConfig {
|
|
@@ -10640,6 +10862,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10640
10862
|
* by setting `metadata` to `null`.
|
|
10641
10863
|
*/
|
|
10642
10864
|
metadata?: Record<string, string | null> | null;
|
|
10865
|
+
/**
|
|
10866
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
10867
|
+
* in the same API call.
|
|
10868
|
+
*/
|
|
10869
|
+
reference_id?: string | null;
|
|
10643
10870
|
}
|
|
10644
10871
|
namespace NewSubscriptionBulkBpsPrice {
|
|
10645
10872
|
interface BulkBpsConfig {
|
|
@@ -10757,6 +10984,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10757
10984
|
* by setting `metadata` to `null`.
|
|
10758
10985
|
*/
|
|
10759
10986
|
metadata?: Record<string, string | null> | null;
|
|
10987
|
+
/**
|
|
10988
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
10989
|
+
* in the same API call.
|
|
10990
|
+
*/
|
|
10991
|
+
reference_id?: string | null;
|
|
10760
10992
|
}
|
|
10761
10993
|
namespace NewSubscriptionBulkPrice {
|
|
10762
10994
|
interface BulkConfig {
|
|
@@ -10869,6 +11101,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10869
11101
|
* by setting `metadata` to `null`.
|
|
10870
11102
|
*/
|
|
10871
11103
|
metadata?: Record<string, string | null> | null;
|
|
11104
|
+
/**
|
|
11105
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11106
|
+
* in the same API call.
|
|
11107
|
+
*/
|
|
11108
|
+
reference_id?: string | null;
|
|
10872
11109
|
}
|
|
10873
11110
|
namespace NewSubscriptionThresholdTotalAmountPrice {
|
|
10874
11111
|
/**
|
|
@@ -10963,6 +11200,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
10963
11200
|
* by setting `metadata` to `null`.
|
|
10964
11201
|
*/
|
|
10965
11202
|
metadata?: Record<string, string | null> | null;
|
|
11203
|
+
/**
|
|
11204
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11205
|
+
* in the same API call.
|
|
11206
|
+
*/
|
|
11207
|
+
reference_id?: string | null;
|
|
10966
11208
|
}
|
|
10967
11209
|
namespace NewSubscriptionTieredPackagePrice {
|
|
10968
11210
|
/**
|
|
@@ -11057,6 +11299,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
11057
11299
|
* by setting `metadata` to `null`.
|
|
11058
11300
|
*/
|
|
11059
11301
|
metadata?: Record<string, string | null> | null;
|
|
11302
|
+
/**
|
|
11303
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11304
|
+
* in the same API call.
|
|
11305
|
+
*/
|
|
11306
|
+
reference_id?: string | null;
|
|
11060
11307
|
}
|
|
11061
11308
|
namespace NewSubscriptionTieredWithMinimumPrice {
|
|
11062
11309
|
/**
|
|
@@ -11151,6 +11398,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
11151
11398
|
* by setting `metadata` to `null`.
|
|
11152
11399
|
*/
|
|
11153
11400
|
metadata?: Record<string, string | null> | null;
|
|
11401
|
+
/**
|
|
11402
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11403
|
+
* in the same API call.
|
|
11404
|
+
*/
|
|
11405
|
+
reference_id?: string | null;
|
|
11154
11406
|
}
|
|
11155
11407
|
namespace NewSubscriptionUnitWithPercentPrice {
|
|
11156
11408
|
/**
|
|
@@ -11245,6 +11497,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
11245
11497
|
* by setting `metadata` to `null`.
|
|
11246
11498
|
*/
|
|
11247
11499
|
metadata?: Record<string, string | null> | null;
|
|
11500
|
+
/**
|
|
11501
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11502
|
+
* in the same API call.
|
|
11503
|
+
*/
|
|
11504
|
+
reference_id?: string | null;
|
|
11248
11505
|
}
|
|
11249
11506
|
namespace NewSubscriptionPackageWithAllocationPrice {
|
|
11250
11507
|
/**
|
|
@@ -11339,6 +11596,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
11339
11596
|
* by setting `metadata` to `null`.
|
|
11340
11597
|
*/
|
|
11341
11598
|
metadata?: Record<string, string | null> | null;
|
|
11599
|
+
/**
|
|
11600
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11601
|
+
* in the same API call.
|
|
11602
|
+
*/
|
|
11603
|
+
reference_id?: string | null;
|
|
11342
11604
|
}
|
|
11343
11605
|
namespace NewSubscriptionTierWithProrationPrice {
|
|
11344
11606
|
/**
|
|
@@ -11433,6 +11695,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
11433
11695
|
* by setting `metadata` to `null`.
|
|
11434
11696
|
*/
|
|
11435
11697
|
metadata?: Record<string, string | null> | null;
|
|
11698
|
+
/**
|
|
11699
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11700
|
+
* in the same API call.
|
|
11701
|
+
*/
|
|
11702
|
+
reference_id?: string | null;
|
|
11436
11703
|
}
|
|
11437
11704
|
namespace NewSubscriptionUnitWithProrationPrice {
|
|
11438
11705
|
/**
|
|
@@ -11527,6 +11794,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
11527
11794
|
* by setting `metadata` to `null`.
|
|
11528
11795
|
*/
|
|
11529
11796
|
metadata?: Record<string, string | null> | null;
|
|
11797
|
+
/**
|
|
11798
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11799
|
+
* in the same API call.
|
|
11800
|
+
*/
|
|
11801
|
+
reference_id?: string | null;
|
|
11530
11802
|
}
|
|
11531
11803
|
namespace NewSubscriptionGroupedAllocationPrice {
|
|
11532
11804
|
/**
|
|
@@ -11621,6 +11893,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
11621
11893
|
* by setting `metadata` to `null`.
|
|
11622
11894
|
*/
|
|
11623
11895
|
metadata?: Record<string, string | null> | null;
|
|
11896
|
+
/**
|
|
11897
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11898
|
+
* in the same API call.
|
|
11899
|
+
*/
|
|
11900
|
+
reference_id?: string | null;
|
|
11624
11901
|
}
|
|
11625
11902
|
namespace NewSubscriptionGroupedWithProratedMinimumPrice {
|
|
11626
11903
|
/**
|
|
@@ -11715,6 +11992,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
11715
11992
|
* by setting `metadata` to `null`.
|
|
11716
11993
|
*/
|
|
11717
11994
|
metadata?: Record<string, string | null> | null;
|
|
11995
|
+
/**
|
|
11996
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
11997
|
+
* in the same API call.
|
|
11998
|
+
*/
|
|
11999
|
+
reference_id?: string | null;
|
|
11718
12000
|
}
|
|
11719
12001
|
namespace NewSubscriptionBulkWithProrationPrice {
|
|
11720
12002
|
/**
|
|
@@ -13116,14 +13398,26 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13116
13398
|
}
|
|
13117
13399
|
}
|
|
13118
13400
|
interface ReplacePrice {
|
|
13401
|
+
/**
|
|
13402
|
+
* The id of the price on the plan to replace in the subscription.
|
|
13403
|
+
*/
|
|
13404
|
+
replaces_price_id: string;
|
|
13405
|
+
/**
|
|
13406
|
+
* The external price id of the price to add to the subscription.
|
|
13407
|
+
*/
|
|
13408
|
+
external_price_id?: string | null;
|
|
13409
|
+
/**
|
|
13410
|
+
* The new quantity of the price, if the price is a fixed price.
|
|
13411
|
+
*/
|
|
13412
|
+
fixed_price_quantity?: number | null;
|
|
13119
13413
|
/**
|
|
13120
13414
|
* The definition of a new price to create and add to the subscription.
|
|
13121
13415
|
*/
|
|
13122
|
-
price
|
|
13416
|
+
price?: ReplacePrice.NewSubscriptionUnitPrice | ReplacePrice.NewSubscriptionPackagePrice | ReplacePrice.NewSubscriptionMatrixPrice | ReplacePrice.NewSubscriptionTieredPrice | ReplacePrice.NewSubscriptionTieredBpsPrice | ReplacePrice.NewSubscriptionBpsPrice | ReplacePrice.NewSubscriptionBulkBpsPrice | ReplacePrice.NewSubscriptionBulkPrice | ReplacePrice.NewSubscriptionThresholdTotalAmountPrice | ReplacePrice.NewSubscriptionTieredPackagePrice | ReplacePrice.NewSubscriptionTieredWithMinimumPrice | ReplacePrice.NewSubscriptionUnitWithPercentPrice | ReplacePrice.NewSubscriptionPackageWithAllocationPrice | ReplacePrice.NewSubscriptionTierWithProrationPrice | ReplacePrice.NewSubscriptionUnitWithProrationPrice | ReplacePrice.NewSubscriptionGroupedAllocationPrice | ReplacePrice.NewSubscriptionGroupedWithProratedMinimumPrice | ReplacePrice.NewSubscriptionBulkWithProrationPrice | null;
|
|
13123
13417
|
/**
|
|
13124
|
-
* The id of the price
|
|
13418
|
+
* The id of the price to add to the subscription.
|
|
13125
13419
|
*/
|
|
13126
|
-
|
|
13420
|
+
price_id?: string | null;
|
|
13127
13421
|
}
|
|
13128
13422
|
namespace ReplacePrice {
|
|
13129
13423
|
interface NewSubscriptionUnitPrice {
|
|
@@ -13189,6 +13483,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13189
13483
|
* by setting `metadata` to `null`.
|
|
13190
13484
|
*/
|
|
13191
13485
|
metadata?: Record<string, string | null> | null;
|
|
13486
|
+
/**
|
|
13487
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
13488
|
+
* in the same API call.
|
|
13489
|
+
*/
|
|
13490
|
+
reference_id?: string | null;
|
|
13192
13491
|
}
|
|
13193
13492
|
namespace NewSubscriptionUnitPrice {
|
|
13194
13493
|
interface UnitConfig {
|
|
@@ -13289,6 +13588,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13289
13588
|
* by setting `metadata` to `null`.
|
|
13290
13589
|
*/
|
|
13291
13590
|
metadata?: Record<string, string | null> | null;
|
|
13591
|
+
/**
|
|
13592
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
13593
|
+
* in the same API call.
|
|
13594
|
+
*/
|
|
13595
|
+
reference_id?: string | null;
|
|
13292
13596
|
}
|
|
13293
13597
|
namespace NewSubscriptionPackagePrice {
|
|
13294
13598
|
interface PackageConfig {
|
|
@@ -13394,6 +13698,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13394
13698
|
* by setting `metadata` to `null`.
|
|
13395
13699
|
*/
|
|
13396
13700
|
metadata?: Record<string, string | null> | null;
|
|
13701
|
+
/**
|
|
13702
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
13703
|
+
* in the same API call.
|
|
13704
|
+
*/
|
|
13705
|
+
reference_id?: string | null;
|
|
13397
13706
|
}
|
|
13398
13707
|
namespace NewSubscriptionMatrixPrice {
|
|
13399
13708
|
interface MatrixConfig {
|
|
@@ -13516,6 +13825,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13516
13825
|
* by setting `metadata` to `null`.
|
|
13517
13826
|
*/
|
|
13518
13827
|
metadata?: Record<string, string | null> | null;
|
|
13828
|
+
/**
|
|
13829
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
13830
|
+
* in the same API call.
|
|
13831
|
+
*/
|
|
13832
|
+
reference_id?: string | null;
|
|
13519
13833
|
}
|
|
13520
13834
|
namespace NewSubscriptionTieredPrice {
|
|
13521
13835
|
interface TieredConfig {
|
|
@@ -13632,6 +13946,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13632
13946
|
* by setting `metadata` to `null`.
|
|
13633
13947
|
*/
|
|
13634
13948
|
metadata?: Record<string, string | null> | null;
|
|
13949
|
+
/**
|
|
13950
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
13951
|
+
* in the same API call.
|
|
13952
|
+
*/
|
|
13953
|
+
reference_id?: string | null;
|
|
13635
13954
|
}
|
|
13636
13955
|
namespace NewSubscriptionTieredBpsPrice {
|
|
13637
13956
|
interface TieredBpsConfig {
|
|
@@ -13753,6 +14072,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13753
14072
|
* by setting `metadata` to `null`.
|
|
13754
14073
|
*/
|
|
13755
14074
|
metadata?: Record<string, string | null> | null;
|
|
14075
|
+
/**
|
|
14076
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14077
|
+
* in the same API call.
|
|
14078
|
+
*/
|
|
14079
|
+
reference_id?: string | null;
|
|
13756
14080
|
}
|
|
13757
14081
|
namespace NewSubscriptionBpsPrice {
|
|
13758
14082
|
interface BpsConfig {
|
|
@@ -13857,6 +14181,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13857
14181
|
* by setting `metadata` to `null`.
|
|
13858
14182
|
*/
|
|
13859
14183
|
metadata?: Record<string, string | null> | null;
|
|
14184
|
+
/**
|
|
14185
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14186
|
+
* in the same API call.
|
|
14187
|
+
*/
|
|
14188
|
+
reference_id?: string | null;
|
|
13860
14189
|
}
|
|
13861
14190
|
namespace NewSubscriptionBulkBpsPrice {
|
|
13862
14191
|
interface BulkBpsConfig {
|
|
@@ -13974,6 +14303,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
13974
14303
|
* by setting `metadata` to `null`.
|
|
13975
14304
|
*/
|
|
13976
14305
|
metadata?: Record<string, string | null> | null;
|
|
14306
|
+
/**
|
|
14307
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14308
|
+
* in the same API call.
|
|
14309
|
+
*/
|
|
14310
|
+
reference_id?: string | null;
|
|
13977
14311
|
}
|
|
13978
14312
|
namespace NewSubscriptionBulkPrice {
|
|
13979
14313
|
interface BulkConfig {
|
|
@@ -14086,6 +14420,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14086
14420
|
* by setting `metadata` to `null`.
|
|
14087
14421
|
*/
|
|
14088
14422
|
metadata?: Record<string, string | null> | null;
|
|
14423
|
+
/**
|
|
14424
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14425
|
+
* in the same API call.
|
|
14426
|
+
*/
|
|
14427
|
+
reference_id?: string | null;
|
|
14089
14428
|
}
|
|
14090
14429
|
namespace NewSubscriptionThresholdTotalAmountPrice {
|
|
14091
14430
|
/**
|
|
@@ -14180,6 +14519,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14180
14519
|
* by setting `metadata` to `null`.
|
|
14181
14520
|
*/
|
|
14182
14521
|
metadata?: Record<string, string | null> | null;
|
|
14522
|
+
/**
|
|
14523
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14524
|
+
* in the same API call.
|
|
14525
|
+
*/
|
|
14526
|
+
reference_id?: string | null;
|
|
14183
14527
|
}
|
|
14184
14528
|
namespace NewSubscriptionTieredPackagePrice {
|
|
14185
14529
|
/**
|
|
@@ -14274,6 +14618,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14274
14618
|
* by setting `metadata` to `null`.
|
|
14275
14619
|
*/
|
|
14276
14620
|
metadata?: Record<string, string | null> | null;
|
|
14621
|
+
/**
|
|
14622
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14623
|
+
* in the same API call.
|
|
14624
|
+
*/
|
|
14625
|
+
reference_id?: string | null;
|
|
14277
14626
|
}
|
|
14278
14627
|
namespace NewSubscriptionTieredWithMinimumPrice {
|
|
14279
14628
|
/**
|
|
@@ -14368,6 +14717,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14368
14717
|
* by setting `metadata` to `null`.
|
|
14369
14718
|
*/
|
|
14370
14719
|
metadata?: Record<string, string | null> | null;
|
|
14720
|
+
/**
|
|
14721
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14722
|
+
* in the same API call.
|
|
14723
|
+
*/
|
|
14724
|
+
reference_id?: string | null;
|
|
14371
14725
|
}
|
|
14372
14726
|
namespace NewSubscriptionUnitWithPercentPrice {
|
|
14373
14727
|
/**
|
|
@@ -14462,6 +14816,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14462
14816
|
* by setting `metadata` to `null`.
|
|
14463
14817
|
*/
|
|
14464
14818
|
metadata?: Record<string, string | null> | null;
|
|
14819
|
+
/**
|
|
14820
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14821
|
+
* in the same API call.
|
|
14822
|
+
*/
|
|
14823
|
+
reference_id?: string | null;
|
|
14465
14824
|
}
|
|
14466
14825
|
namespace NewSubscriptionPackageWithAllocationPrice {
|
|
14467
14826
|
/**
|
|
@@ -14556,6 +14915,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14556
14915
|
* by setting `metadata` to `null`.
|
|
14557
14916
|
*/
|
|
14558
14917
|
metadata?: Record<string, string | null> | null;
|
|
14918
|
+
/**
|
|
14919
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
14920
|
+
* in the same API call.
|
|
14921
|
+
*/
|
|
14922
|
+
reference_id?: string | null;
|
|
14559
14923
|
}
|
|
14560
14924
|
namespace NewSubscriptionTierWithProrationPrice {
|
|
14561
14925
|
/**
|
|
@@ -14650,6 +15014,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14650
15014
|
* by setting `metadata` to `null`.
|
|
14651
15015
|
*/
|
|
14652
15016
|
metadata?: Record<string, string | null> | null;
|
|
15017
|
+
/**
|
|
15018
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
15019
|
+
* in the same API call.
|
|
15020
|
+
*/
|
|
15021
|
+
reference_id?: string | null;
|
|
14653
15022
|
}
|
|
14654
15023
|
namespace NewSubscriptionUnitWithProrationPrice {
|
|
14655
15024
|
/**
|
|
@@ -14744,6 +15113,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14744
15113
|
* by setting `metadata` to `null`.
|
|
14745
15114
|
*/
|
|
14746
15115
|
metadata?: Record<string, string | null> | null;
|
|
15116
|
+
/**
|
|
15117
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
15118
|
+
* in the same API call.
|
|
15119
|
+
*/
|
|
15120
|
+
reference_id?: string | null;
|
|
14747
15121
|
}
|
|
14748
15122
|
namespace NewSubscriptionGroupedAllocationPrice {
|
|
14749
15123
|
/**
|
|
@@ -14838,6 +15212,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14838
15212
|
* by setting `metadata` to `null`.
|
|
14839
15213
|
*/
|
|
14840
15214
|
metadata?: Record<string, string | null> | null;
|
|
15215
|
+
/**
|
|
15216
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
15217
|
+
* in the same API call.
|
|
15218
|
+
*/
|
|
15219
|
+
reference_id?: string | null;
|
|
14841
15220
|
}
|
|
14842
15221
|
namespace NewSubscriptionGroupedWithProratedMinimumPrice {
|
|
14843
15222
|
/**
|
|
@@ -14932,6 +15311,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
|
|
|
14932
15311
|
* by setting `metadata` to `null`.
|
|
14933
15312
|
*/
|
|
14934
15313
|
metadata?: Record<string, string | null> | null;
|
|
15314
|
+
/**
|
|
15315
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
15316
|
+
* in the same API call.
|
|
15317
|
+
*/
|
|
15318
|
+
reference_id?: string | null;
|
|
14935
15319
|
}
|
|
14936
15320
|
namespace NewSubscriptionBulkWithProrationPrice {
|
|
14937
15321
|
/**
|