orb-billing 4.29.0 → 4.30.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.
@@ -2415,23 +2415,12 @@ export namespace SubscriptionCreateParams {
2415
2415
  */
2416
2416
  amount_discount?: string | null;
2417
2417
 
2418
- /**
2419
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2420
- * this can be a subset of prices.
2421
- */
2422
- applies_to_price_ids?: Array<string> | null;
2423
-
2424
2418
  /**
2425
2419
  * Only available if discount_type is `percentage`. This is a number between 0
2426
2420
  * and 1.
2427
2421
  */
2428
2422
  percentage_discount?: number | null;
2429
2423
 
2430
- /**
2431
- * Only available if discount_type is `trial`
2432
- */
2433
- trial_amount_discount?: string | null;
2434
-
2435
2424
  /**
2436
2425
  * Only available if discount_type is `usage`. Number of usage units that this
2437
2426
  * discount is for
@@ -2504,23 +2493,12 @@ export namespace SubscriptionCreateParams {
2504
2493
  */
2505
2494
  amount_discount?: string | null;
2506
2495
 
2507
- /**
2508
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2509
- * this can be a subset of prices.
2510
- */
2511
- applies_to_price_ids?: Array<string> | null;
2512
-
2513
2496
  /**
2514
2497
  * Only available if discount_type is `percentage`. This is a number between 0
2515
2498
  * and 1.
2516
2499
  */
2517
2500
  percentage_discount?: number | null;
2518
2501
 
2519
- /**
2520
- * Only available if discount_type is `trial`
2521
- */
2522
- trial_amount_discount?: string | null;
2523
-
2524
2502
  /**
2525
2503
  * Only available if discount_type is `usage`. Number of usage units that this
2526
2504
  * discount is for
@@ -2613,23 +2591,12 @@ export namespace SubscriptionCreateParams {
2613
2591
  */
2614
2592
  amount_discount?: string | null;
2615
2593
 
2616
- /**
2617
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2618
- * this can be a subset of prices.
2619
- */
2620
- applies_to_price_ids?: Array<string> | null;
2621
-
2622
2594
  /**
2623
2595
  * Only available if discount_type is `percentage`. This is a number between 0
2624
2596
  * and 1.
2625
2597
  */
2626
2598
  percentage_discount?: number | null;
2627
2599
 
2628
- /**
2629
- * Only available if discount_type is `trial`
2630
- */
2631
- trial_amount_discount?: string | null;
2632
-
2633
2600
  /**
2634
2601
  * Only available if discount_type is `usage`. Number of usage units that this
2635
2602
  * discount is for
@@ -2715,23 +2682,12 @@ export namespace SubscriptionCreateParams {
2715
2682
  */
2716
2683
  amount_discount?: string | null;
2717
2684
 
2718
- /**
2719
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2720
- * this can be a subset of prices.
2721
- */
2722
- applies_to_price_ids?: Array<string> | null;
2723
-
2724
2685
  /**
2725
2686
  * Only available if discount_type is `percentage`. This is a number between 0
2726
2687
  * and 1.
2727
2688
  */
2728
2689
  percentage_discount?: number | null;
2729
2690
 
2730
- /**
2731
- * Only available if discount_type is `trial`
2732
- */
2733
- trial_amount_discount?: string | null;
2734
-
2735
2691
  /**
2736
2692
  * Only available if discount_type is `usage`. Number of usage units that this
2737
2693
  * discount is for
@@ -2823,23 +2779,12 @@ export namespace SubscriptionCreateParams {
2823
2779
  */
2824
2780
  amount_discount?: string | null;
2825
2781
 
2826
- /**
2827
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2828
- * this can be a subset of prices.
2829
- */
2830
- applies_to_price_ids?: Array<string> | null;
2831
-
2832
2782
  /**
2833
2783
  * Only available if discount_type is `percentage`. This is a number between 0
2834
2784
  * and 1.
2835
2785
  */
2836
2786
  percentage_discount?: number | null;
2837
2787
 
2838
- /**
2839
- * Only available if discount_type is `trial`
2840
- */
2841
- trial_amount_discount?: string | null;
2842
-
2843
2788
  /**
2844
2789
  * Only available if discount_type is `usage`. Number of usage units that this
2845
2790
  * discount is for
@@ -2911,23 +2856,12 @@ export namespace SubscriptionCreateParams {
2911
2856
  */
2912
2857
  amount_discount?: string | null;
2913
2858
 
2914
- /**
2915
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2916
- * this can be a subset of prices.
2917
- */
2918
- applies_to_price_ids?: Array<string> | null;
2919
-
2920
2859
  /**
2921
2860
  * Only available if discount_type is `percentage`. This is a number between 0
2922
2861
  * and 1.
2923
2862
  */
2924
2863
  percentage_discount?: number | null;
2925
2864
 
2926
- /**
2927
- * Only available if discount_type is `trial`
2928
- */
2929
- trial_amount_discount?: string | null;
2930
-
2931
2865
  /**
2932
2866
  * Only available if discount_type is `usage`. Number of usage units that this
2933
2867
  * discount is for
@@ -3014,23 +2948,12 @@ export namespace SubscriptionCreateParams {
3014
2948
  */
3015
2949
  amount_discount?: string | null;
3016
2950
 
3017
- /**
3018
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3019
- * this can be a subset of prices.
3020
- */
3021
- applies_to_price_ids?: Array<string> | null;
3022
-
3023
2951
  /**
3024
2952
  * Only available if discount_type is `percentage`. This is a number between 0
3025
2953
  * and 1.
3026
2954
  */
3027
2955
  percentage_discount?: number | null;
3028
2956
 
3029
- /**
3030
- * Only available if discount_type is `trial`
3031
- */
3032
- trial_amount_discount?: string | null;
3033
-
3034
2957
  /**
3035
2958
  * Only available if discount_type is `usage`. Number of usage units that this
3036
2959
  * discount is for
@@ -3111,23 +3034,12 @@ export namespace SubscriptionCreateParams {
3111
3034
  */
3112
3035
  amount_discount?: string | null;
3113
3036
 
3114
- /**
3115
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3116
- * this can be a subset of prices.
3117
- */
3118
- applies_to_price_ids?: Array<string> | null;
3119
-
3120
3037
  /**
3121
3038
  * Only available if discount_type is `percentage`. This is a number between 0
3122
3039
  * and 1.
3123
3040
  */
3124
3041
  percentage_discount?: number | null;
3125
3042
 
3126
- /**
3127
- * Only available if discount_type is `trial`
3128
- */
3129
- trial_amount_discount?: string | null;
3130
-
3131
3043
  /**
3132
3044
  * Only available if discount_type is `usage`. Number of usage units that this
3133
3045
  * discount is for
@@ -3187,23 +3099,12 @@ export namespace SubscriptionCreateParams {
3187
3099
  */
3188
3100
  amount_discount?: string | null;
3189
3101
 
3190
- /**
3191
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3192
- * this can be a subset of prices.
3193
- */
3194
- applies_to_price_ids?: Array<string> | null;
3195
-
3196
3102
  /**
3197
3103
  * Only available if discount_type is `percentage`. This is a number between 0
3198
3104
  * and 1.
3199
3105
  */
3200
3106
  percentage_discount?: number | null;
3201
3107
 
3202
- /**
3203
- * Only available if discount_type is `trial`
3204
- */
3205
- trial_amount_discount?: string | null;
3206
-
3207
3108
  /**
3208
3109
  * Only available if discount_type is `usage`. Number of usage units that this
3209
3110
  * discount is for
@@ -3263,23 +3164,12 @@ export namespace SubscriptionCreateParams {
3263
3164
  */
3264
3165
  amount_discount?: string | null;
3265
3166
 
3266
- /**
3267
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3268
- * this can be a subset of prices.
3269
- */
3270
- applies_to_price_ids?: Array<string> | null;
3271
-
3272
3167
  /**
3273
3168
  * Only available if discount_type is `percentage`. This is a number between 0
3274
3169
  * and 1.
3275
3170
  */
3276
3171
  percentage_discount?: number | null;
3277
3172
 
3278
- /**
3279
- * Only available if discount_type is `trial`
3280
- */
3281
- trial_amount_discount?: string | null;
3282
-
3283
3173
  /**
3284
3174
  * Only available if discount_type is `usage`. Number of usage units that this
3285
3175
  * discount is for
@@ -3339,23 +3229,12 @@ export namespace SubscriptionCreateParams {
3339
3229
  */
3340
3230
  amount_discount?: string | null;
3341
3231
 
3342
- /**
3343
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3344
- * this can be a subset of prices.
3345
- */
3346
- applies_to_price_ids?: Array<string> | null;
3347
-
3348
3232
  /**
3349
3233
  * Only available if discount_type is `percentage`. This is a number between 0
3350
3234
  * and 1.
3351
3235
  */
3352
3236
  percentage_discount?: number | null;
3353
3237
 
3354
- /**
3355
- * Only available if discount_type is `trial`
3356
- */
3357
- trial_amount_discount?: string | null;
3358
-
3359
3238
  /**
3360
3239
  * Only available if discount_type is `usage`. Number of usage units that this
3361
3240
  * discount is for
@@ -3415,23 +3294,12 @@ export namespace SubscriptionCreateParams {
3415
3294
  */
3416
3295
  amount_discount?: string | null;
3417
3296
 
3418
- /**
3419
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3420
- * this can be a subset of prices.
3421
- */
3422
- applies_to_price_ids?: Array<string> | null;
3423
-
3424
3297
  /**
3425
3298
  * Only available if discount_type is `percentage`. This is a number between 0
3426
3299
  * and 1.
3427
3300
  */
3428
3301
  percentage_discount?: number | null;
3429
3302
 
3430
- /**
3431
- * Only available if discount_type is `trial`
3432
- */
3433
- trial_amount_discount?: string | null;
3434
-
3435
3303
  /**
3436
3304
  * Only available if discount_type is `usage`. Number of usage units that this
3437
3305
  * discount is for
@@ -3491,23 +3359,12 @@ export namespace SubscriptionCreateParams {
3491
3359
  */
3492
3360
  amount_discount?: string | null;
3493
3361
 
3494
- /**
3495
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3496
- * this can be a subset of prices.
3497
- */
3498
- applies_to_price_ids?: Array<string> | null;
3499
-
3500
3362
  /**
3501
3363
  * Only available if discount_type is `percentage`. This is a number between 0
3502
3364
  * and 1.
3503
3365
  */
3504
3366
  percentage_discount?: number | null;
3505
3367
 
3506
- /**
3507
- * Only available if discount_type is `trial`
3508
- */
3509
- trial_amount_discount?: string | null;
3510
-
3511
3368
  /**
3512
3369
  * Only available if discount_type is `usage`. Number of usage units that this
3513
3370
  * discount is for
@@ -3567,23 +3424,12 @@ export namespace SubscriptionCreateParams {
3567
3424
  */
3568
3425
  amount_discount?: string | null;
3569
3426
 
3570
- /**
3571
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3572
- * this can be a subset of prices.
3573
- */
3574
- applies_to_price_ids?: Array<string> | null;
3575
-
3576
3427
  /**
3577
3428
  * Only available if discount_type is `percentage`. This is a number between 0
3578
3429
  * and 1.
3579
3430
  */
3580
3431
  percentage_discount?: number | null;
3581
3432
 
3582
- /**
3583
- * Only available if discount_type is `trial`
3584
- */
3585
- trial_amount_discount?: string | null;
3586
-
3587
3433
  /**
3588
3434
  * Only available if discount_type is `usage`. Number of usage units that this
3589
3435
  * discount is for
@@ -3643,23 +3489,12 @@ export namespace SubscriptionCreateParams {
3643
3489
  */
3644
3490
  amount_discount?: string | null;
3645
3491
 
3646
- /**
3647
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3648
- * this can be a subset of prices.
3649
- */
3650
- applies_to_price_ids?: Array<string> | null;
3651
-
3652
3492
  /**
3653
3493
  * Only available if discount_type is `percentage`. This is a number between 0
3654
3494
  * and 1.
3655
3495
  */
3656
3496
  percentage_discount?: number | null;
3657
3497
 
3658
- /**
3659
- * Only available if discount_type is `trial`
3660
- */
3661
- trial_amount_discount?: string | null;
3662
-
3663
3498
  /**
3664
3499
  * Only available if discount_type is `usage`. Number of usage units that this
3665
3500
  * discount is for
@@ -3719,23 +3554,12 @@ export namespace SubscriptionCreateParams {
3719
3554
  */
3720
3555
  amount_discount?: string | null;
3721
3556
 
3722
- /**
3723
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3724
- * this can be a subset of prices.
3725
- */
3726
- applies_to_price_ids?: Array<string> | null;
3727
-
3728
3557
  /**
3729
3558
  * Only available if discount_type is `percentage`. This is a number between 0
3730
3559
  * and 1.
3731
3560
  */
3732
3561
  percentage_discount?: number | null;
3733
3562
 
3734
- /**
3735
- * Only available if discount_type is `trial`
3736
- */
3737
- trial_amount_discount?: string | null;
3738
-
3739
3563
  /**
3740
3564
  * Only available if discount_type is `usage`. Number of usage units that this
3741
3565
  * discount is for
@@ -3795,23 +3619,12 @@ export namespace SubscriptionCreateParams {
3795
3619
  */
3796
3620
  amount_discount?: string | null;
3797
3621
 
3798
- /**
3799
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3800
- * this can be a subset of prices.
3801
- */
3802
- applies_to_price_ids?: Array<string> | null;
3803
-
3804
3622
  /**
3805
3623
  * Only available if discount_type is `percentage`. This is a number between 0
3806
3624
  * and 1.
3807
3625
  */
3808
3626
  percentage_discount?: number | null;
3809
3627
 
3810
- /**
3811
- * Only available if discount_type is `trial`
3812
- */
3813
- trial_amount_discount?: string | null;
3814
-
3815
3628
  /**
3816
3629
  * Only available if discount_type is `usage`. Number of usage units that this
3817
3630
  * discount is for
@@ -3871,23 +3684,12 @@ export namespace SubscriptionCreateParams {
3871
3684
  */
3872
3685
  amount_discount?: string | null;
3873
3686
 
3874
- /**
3875
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3876
- * this can be a subset of prices.
3877
- */
3878
- applies_to_price_ids?: Array<string> | null;
3879
-
3880
3687
  /**
3881
3688
  * Only available if discount_type is `percentage`. This is a number between 0
3882
3689
  * and 1.
3883
3690
  */
3884
3691
  percentage_discount?: number | null;
3885
3692
 
3886
- /**
3887
- * Only available if discount_type is `trial`
3888
- */
3889
- trial_amount_discount?: string | null;
3890
-
3891
3693
  /**
3892
3694
  * Only available if discount_type is `usage`. Number of usage units that this
3893
3695
  * discount is for
@@ -3947,23 +3749,12 @@ export namespace SubscriptionCreateParams {
3947
3749
  */
3948
3750
  amount_discount?: string | null;
3949
3751
 
3950
- /**
3951
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3952
- * this can be a subset of prices.
3953
- */
3954
- applies_to_price_ids?: Array<string> | null;
3955
-
3956
3752
  /**
3957
3753
  * Only available if discount_type is `percentage`. This is a number between 0
3958
3754
  * and 1.
3959
3755
  */
3960
3756
  percentage_discount?: number | null;
3961
3757
 
3962
- /**
3963
- * Only available if discount_type is `trial`
3964
- */
3965
- trial_amount_discount?: string | null;
3966
-
3967
3758
  /**
3968
3759
  * Only available if discount_type is `usage`. Number of usage units that this
3969
3760
  * discount is for
@@ -7271,23 +7062,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
7271
7062
  */
7272
7063
  amount_discount?: string | null;
7273
7064
 
7274
- /**
7275
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7276
- * this can be a subset of prices.
7277
- */
7278
- applies_to_price_ids?: Array<string> | null;
7279
-
7280
7065
  /**
7281
7066
  * Only available if discount_type is `percentage`. This is a number between 0
7282
7067
  * and 1.
7283
7068
  */
7284
7069
  percentage_discount?: number | null;
7285
7070
 
7286
- /**
7287
- * Only available if discount_type is `trial`
7288
- */
7289
- trial_amount_discount?: string | null;
7290
-
7291
7071
  /**
7292
7072
  * Only available if discount_type is `usage`. Number of usage units that this
7293
7073
  * discount is for
@@ -7360,23 +7140,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
7360
7140
  */
7361
7141
  amount_discount?: string | null;
7362
7142
 
7363
- /**
7364
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7365
- * this can be a subset of prices.
7366
- */
7367
- applies_to_price_ids?: Array<string> | null;
7368
-
7369
7143
  /**
7370
7144
  * Only available if discount_type is `percentage`. This is a number between 0
7371
7145
  * and 1.
7372
7146
  */
7373
7147
  percentage_discount?: number | null;
7374
7148
 
7375
- /**
7376
- * Only available if discount_type is `trial`
7377
- */
7378
- trial_amount_discount?: string | null;
7379
-
7380
7149
  /**
7381
7150
  * Only available if discount_type is `usage`. Number of usage units that this
7382
7151
  * discount is for
@@ -7469,23 +7238,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
7469
7238
  */
7470
7239
  amount_discount?: string | null;
7471
7240
 
7472
- /**
7473
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7474
- * this can be a subset of prices.
7475
- */
7476
- applies_to_price_ids?: Array<string> | null;
7477
-
7478
7241
  /**
7479
7242
  * Only available if discount_type is `percentage`. This is a number between 0
7480
7243
  * and 1.
7481
7244
  */
7482
7245
  percentage_discount?: number | null;
7483
7246
 
7484
- /**
7485
- * Only available if discount_type is `trial`
7486
- */
7487
- trial_amount_discount?: string | null;
7488
-
7489
7247
  /**
7490
7248
  * Only available if discount_type is `usage`. Number of usage units that this
7491
7249
  * discount is for
@@ -7571,23 +7329,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
7571
7329
  */
7572
7330
  amount_discount?: string | null;
7573
7331
 
7574
- /**
7575
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7576
- * this can be a subset of prices.
7577
- */
7578
- applies_to_price_ids?: Array<string> | null;
7579
-
7580
7332
  /**
7581
7333
  * Only available if discount_type is `percentage`. This is a number between 0
7582
7334
  * and 1.
7583
7335
  */
7584
7336
  percentage_discount?: number | null;
7585
7337
 
7586
- /**
7587
- * Only available if discount_type is `trial`
7588
- */
7589
- trial_amount_discount?: string | null;
7590
-
7591
7338
  /**
7592
7339
  * Only available if discount_type is `usage`. Number of usage units that this
7593
7340
  * discount is for
@@ -7679,23 +7426,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
7679
7426
  */
7680
7427
  amount_discount?: string | null;
7681
7428
 
7682
- /**
7683
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7684
- * this can be a subset of prices.
7685
- */
7686
- applies_to_price_ids?: Array<string> | null;
7687
-
7688
7429
  /**
7689
7430
  * Only available if discount_type is `percentage`. This is a number between 0
7690
7431
  * and 1.
7691
7432
  */
7692
7433
  percentage_discount?: number | null;
7693
7434
 
7694
- /**
7695
- * Only available if discount_type is `trial`
7696
- */
7697
- trial_amount_discount?: string | null;
7698
-
7699
7435
  /**
7700
7436
  * Only available if discount_type is `usage`. Number of usage units that this
7701
7437
  * discount is for
@@ -7767,23 +7503,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
7767
7503
  */
7768
7504
  amount_discount?: string | null;
7769
7505
 
7770
- /**
7771
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7772
- * this can be a subset of prices.
7773
- */
7774
- applies_to_price_ids?: Array<string> | null;
7775
-
7776
7506
  /**
7777
7507
  * Only available if discount_type is `percentage`. This is a number between 0
7778
7508
  * and 1.
7779
7509
  */
7780
7510
  percentage_discount?: number | null;
7781
7511
 
7782
- /**
7783
- * Only available if discount_type is `trial`
7784
- */
7785
- trial_amount_discount?: string | null;
7786
-
7787
7512
  /**
7788
7513
  * Only available if discount_type is `usage`. Number of usage units that this
7789
7514
  * discount is for
@@ -7870,23 +7595,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
7870
7595
  */
7871
7596
  amount_discount?: string | null;
7872
7597
 
7873
- /**
7874
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7875
- * this can be a subset of prices.
7876
- */
7877
- applies_to_price_ids?: Array<string> | null;
7878
-
7879
7598
  /**
7880
7599
  * Only available if discount_type is `percentage`. This is a number between 0
7881
7600
  * and 1.
7882
7601
  */
7883
7602
  percentage_discount?: number | null;
7884
7603
 
7885
- /**
7886
- * Only available if discount_type is `trial`
7887
- */
7888
- trial_amount_discount?: string | null;
7889
-
7890
7604
  /**
7891
7605
  * Only available if discount_type is `usage`. Number of usage units that this
7892
7606
  * discount is for
@@ -7967,23 +7681,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
7967
7681
  */
7968
7682
  amount_discount?: string | null;
7969
7683
 
7970
- /**
7971
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7972
- * this can be a subset of prices.
7973
- */
7974
- applies_to_price_ids?: Array<string> | null;
7975
-
7976
7684
  /**
7977
7685
  * Only available if discount_type is `percentage`. This is a number between 0
7978
7686
  * and 1.
7979
7687
  */
7980
7688
  percentage_discount?: number | null;
7981
7689
 
7982
- /**
7983
- * Only available if discount_type is `trial`
7984
- */
7985
- trial_amount_discount?: string | null;
7986
-
7987
7690
  /**
7988
7691
  * Only available if discount_type is `usage`. Number of usage units that this
7989
7692
  * discount is for
@@ -8043,23 +7746,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8043
7746
  */
8044
7747
  amount_discount?: string | null;
8045
7748
 
8046
- /**
8047
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8048
- * this can be a subset of prices.
8049
- */
8050
- applies_to_price_ids?: Array<string> | null;
8051
-
8052
7749
  /**
8053
7750
  * Only available if discount_type is `percentage`. This is a number between 0
8054
7751
  * and 1.
8055
7752
  */
8056
7753
  percentage_discount?: number | null;
8057
7754
 
8058
- /**
8059
- * Only available if discount_type is `trial`
8060
- */
8061
- trial_amount_discount?: string | null;
8062
-
8063
7755
  /**
8064
7756
  * Only available if discount_type is `usage`. Number of usage units that this
8065
7757
  * discount is for
@@ -8119,23 +7811,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8119
7811
  */
8120
7812
  amount_discount?: string | null;
8121
7813
 
8122
- /**
8123
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8124
- * this can be a subset of prices.
8125
- */
8126
- applies_to_price_ids?: Array<string> | null;
8127
-
8128
7814
  /**
8129
7815
  * Only available if discount_type is `percentage`. This is a number between 0
8130
7816
  * and 1.
8131
7817
  */
8132
7818
  percentage_discount?: number | null;
8133
7819
 
8134
- /**
8135
- * Only available if discount_type is `trial`
8136
- */
8137
- trial_amount_discount?: string | null;
8138
-
8139
7820
  /**
8140
7821
  * Only available if discount_type is `usage`. Number of usage units that this
8141
7822
  * discount is for
@@ -8195,23 +7876,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8195
7876
  */
8196
7877
  amount_discount?: string | null;
8197
7878
 
8198
- /**
8199
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8200
- * this can be a subset of prices.
8201
- */
8202
- applies_to_price_ids?: Array<string> | null;
8203
-
8204
7879
  /**
8205
7880
  * Only available if discount_type is `percentage`. This is a number between 0
8206
7881
  * and 1.
8207
7882
  */
8208
7883
  percentage_discount?: number | null;
8209
7884
 
8210
- /**
8211
- * Only available if discount_type is `trial`
8212
- */
8213
- trial_amount_discount?: string | null;
8214
-
8215
7885
  /**
8216
7886
  * Only available if discount_type is `usage`. Number of usage units that this
8217
7887
  * discount is for
@@ -8271,23 +7941,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8271
7941
  */
8272
7942
  amount_discount?: string | null;
8273
7943
 
8274
- /**
8275
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8276
- * this can be a subset of prices.
8277
- */
8278
- applies_to_price_ids?: Array<string> | null;
8279
-
8280
7944
  /**
8281
7945
  * Only available if discount_type is `percentage`. This is a number between 0
8282
7946
  * and 1.
8283
7947
  */
8284
7948
  percentage_discount?: number | null;
8285
7949
 
8286
- /**
8287
- * Only available if discount_type is `trial`
8288
- */
8289
- trial_amount_discount?: string | null;
8290
-
8291
7950
  /**
8292
7951
  * Only available if discount_type is `usage`. Number of usage units that this
8293
7952
  * discount is for
@@ -8347,23 +8006,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8347
8006
  */
8348
8007
  amount_discount?: string | null;
8349
8008
 
8350
- /**
8351
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8352
- * this can be a subset of prices.
8353
- */
8354
- applies_to_price_ids?: Array<string> | null;
8355
-
8356
8009
  /**
8357
8010
  * Only available if discount_type is `percentage`. This is a number between 0
8358
8011
  * and 1.
8359
8012
  */
8360
8013
  percentage_discount?: number | null;
8361
8014
 
8362
- /**
8363
- * Only available if discount_type is `trial`
8364
- */
8365
- trial_amount_discount?: string | null;
8366
-
8367
8015
  /**
8368
8016
  * Only available if discount_type is `usage`. Number of usage units that this
8369
8017
  * discount is for
@@ -8423,23 +8071,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8423
8071
  */
8424
8072
  amount_discount?: string | null;
8425
8073
 
8426
- /**
8427
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8428
- * this can be a subset of prices.
8429
- */
8430
- applies_to_price_ids?: Array<string> | null;
8431
-
8432
8074
  /**
8433
8075
  * Only available if discount_type is `percentage`. This is a number between 0
8434
8076
  * and 1.
8435
8077
  */
8436
8078
  percentage_discount?: number | null;
8437
8079
 
8438
- /**
8439
- * Only available if discount_type is `trial`
8440
- */
8441
- trial_amount_discount?: string | null;
8442
-
8443
8080
  /**
8444
8081
  * Only available if discount_type is `usage`. Number of usage units that this
8445
8082
  * discount is for
@@ -8499,23 +8136,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8499
8136
  */
8500
8137
  amount_discount?: string | null;
8501
8138
 
8502
- /**
8503
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8504
- * this can be a subset of prices.
8505
- */
8506
- applies_to_price_ids?: Array<string> | null;
8507
-
8508
8139
  /**
8509
8140
  * Only available if discount_type is `percentage`. This is a number between 0
8510
8141
  * and 1.
8511
8142
  */
8512
8143
  percentage_discount?: number | null;
8513
8144
 
8514
- /**
8515
- * Only available if discount_type is `trial`
8516
- */
8517
- trial_amount_discount?: string | null;
8518
-
8519
8145
  /**
8520
8146
  * Only available if discount_type is `usage`. Number of usage units that this
8521
8147
  * discount is for
@@ -8575,23 +8201,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8575
8201
  */
8576
8202
  amount_discount?: string | null;
8577
8203
 
8578
- /**
8579
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8580
- * this can be a subset of prices.
8581
- */
8582
- applies_to_price_ids?: Array<string> | null;
8583
-
8584
8204
  /**
8585
8205
  * Only available if discount_type is `percentage`. This is a number between 0
8586
8206
  * and 1.
8587
8207
  */
8588
8208
  percentage_discount?: number | null;
8589
8209
 
8590
- /**
8591
- * Only available if discount_type is `trial`
8592
- */
8593
- trial_amount_discount?: string | null;
8594
-
8595
8210
  /**
8596
8211
  * Only available if discount_type is `usage`. Number of usage units that this
8597
8212
  * discount is for
@@ -8651,23 +8266,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8651
8266
  */
8652
8267
  amount_discount?: string | null;
8653
8268
 
8654
- /**
8655
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8656
- * this can be a subset of prices.
8657
- */
8658
- applies_to_price_ids?: Array<string> | null;
8659
-
8660
8269
  /**
8661
8270
  * Only available if discount_type is `percentage`. This is a number between 0
8662
8271
  * and 1.
8663
8272
  */
8664
8273
  percentage_discount?: number | null;
8665
8274
 
8666
- /**
8667
- * Only available if discount_type is `trial`
8668
- */
8669
- trial_amount_discount?: string | null;
8670
-
8671
8275
  /**
8672
8276
  * Only available if discount_type is `usage`. Number of usage units that this
8673
8277
  * discount is for
@@ -8727,23 +8331,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8727
8331
  */
8728
8332
  amount_discount?: string | null;
8729
8333
 
8730
- /**
8731
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8732
- * this can be a subset of prices.
8733
- */
8734
- applies_to_price_ids?: Array<string> | null;
8735
-
8736
8334
  /**
8737
8335
  * Only available if discount_type is `percentage`. This is a number between 0
8738
8336
  * and 1.
8739
8337
  */
8740
8338
  percentage_discount?: number | null;
8741
8339
 
8742
- /**
8743
- * Only available if discount_type is `trial`
8744
- */
8745
- trial_amount_discount?: string | null;
8746
-
8747
8340
  /**
8748
8341
  * Only available if discount_type is `usage`. Number of usage units that this
8749
8342
  * discount is for
@@ -8803,23 +8396,12 @@ export namespace SubscriptionSchedulePlanChangeParams {
8803
8396
  */
8804
8397
  amount_discount?: string | null;
8805
8398
 
8806
- /**
8807
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
8808
- * this can be a subset of prices.
8809
- */
8810
- applies_to_price_ids?: Array<string> | null;
8811
-
8812
8399
  /**
8813
8400
  * Only available if discount_type is `percentage`. This is a number between 0
8814
8401
  * and 1.
8815
8402
  */
8816
8403
  percentage_discount?: number | null;
8817
8404
 
8818
- /**
8819
- * Only available if discount_type is `trial`
8820
- */
8821
- trial_amount_discount?: string | null;
8822
-
8823
8405
  /**
8824
8406
  * Only available if discount_type is `usage`. Number of usage units that this
8825
8407
  * discount is for