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.
@@ -2029,20 +2029,11 @@ export declare namespace SubscriptionCreateParams {
2029
2029
  * Only available if discount_type is `amount`.
2030
2030
  */
2031
2031
  amount_discount?: string | null;
2032
- /**
2033
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2034
- * this can be a subset of prices.
2035
- */
2036
- applies_to_price_ids?: Array<string> | null;
2037
2032
  /**
2038
2033
  * Only available if discount_type is `percentage`. This is a number between 0
2039
2034
  * and 1.
2040
2035
  */
2041
2036
  percentage_discount?: number | null;
2042
- /**
2043
- * Only available if discount_type is `trial`
2044
- */
2045
- trial_amount_discount?: string | null;
2046
2037
  /**
2047
2038
  * Only available if discount_type is `usage`. Number of usage units that this
2048
2039
  * discount is for
@@ -2101,20 +2092,11 @@ export declare namespace SubscriptionCreateParams {
2101
2092
  * Only available if discount_type is `amount`.
2102
2093
  */
2103
2094
  amount_discount?: string | null;
2104
- /**
2105
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2106
- * this can be a subset of prices.
2107
- */
2108
- applies_to_price_ids?: Array<string> | null;
2109
2095
  /**
2110
2096
  * Only available if discount_type is `percentage`. This is a number between 0
2111
2097
  * and 1.
2112
2098
  */
2113
2099
  percentage_discount?: number | null;
2114
- /**
2115
- * Only available if discount_type is `trial`
2116
- */
2117
- trial_amount_discount?: string | null;
2118
2100
  /**
2119
2101
  * Only available if discount_type is `usage`. Number of usage units that this
2120
2102
  * discount is for
@@ -2190,20 +2172,11 @@ export declare namespace SubscriptionCreateParams {
2190
2172
  * Only available if discount_type is `amount`.
2191
2173
  */
2192
2174
  amount_discount?: string | null;
2193
- /**
2194
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2195
- * this can be a subset of prices.
2196
- */
2197
- applies_to_price_ids?: Array<string> | null;
2198
2175
  /**
2199
2176
  * Only available if discount_type is `percentage`. This is a number between 0
2200
2177
  * and 1.
2201
2178
  */
2202
2179
  percentage_discount?: number | null;
2203
- /**
2204
- * Only available if discount_type is `trial`
2205
- */
2206
- trial_amount_discount?: string | null;
2207
2180
  /**
2208
2181
  * Only available if discount_type is `usage`. Number of usage units that this
2209
2182
  * discount is for
@@ -2273,20 +2246,11 @@ export declare namespace SubscriptionCreateParams {
2273
2246
  * Only available if discount_type is `amount`.
2274
2247
  */
2275
2248
  amount_discount?: string | null;
2276
- /**
2277
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2278
- * this can be a subset of prices.
2279
- */
2280
- applies_to_price_ids?: Array<string> | null;
2281
2249
  /**
2282
2250
  * Only available if discount_type is `percentage`. This is a number between 0
2283
2251
  * and 1.
2284
2252
  */
2285
2253
  percentage_discount?: number | null;
2286
- /**
2287
- * Only available if discount_type is `trial`
2288
- */
2289
- trial_amount_discount?: string | null;
2290
2254
  /**
2291
2255
  * Only available if discount_type is `usage`. Number of usage units that this
2292
2256
  * discount is for
@@ -2361,20 +2325,11 @@ export declare namespace SubscriptionCreateParams {
2361
2325
  * Only available if discount_type is `amount`.
2362
2326
  */
2363
2327
  amount_discount?: string | null;
2364
- /**
2365
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2366
- * this can be a subset of prices.
2367
- */
2368
- applies_to_price_ids?: Array<string> | null;
2369
2328
  /**
2370
2329
  * Only available if discount_type is `percentage`. This is a number between 0
2371
2330
  * and 1.
2372
2331
  */
2373
2332
  percentage_discount?: number | null;
2374
- /**
2375
- * Only available if discount_type is `trial`
2376
- */
2377
- trial_amount_discount?: string | null;
2378
2333
  /**
2379
2334
  * Only available if discount_type is `usage`. Number of usage units that this
2380
2335
  * discount is for
@@ -2432,20 +2387,11 @@ export declare namespace SubscriptionCreateParams {
2432
2387
  * Only available if discount_type is `amount`.
2433
2388
  */
2434
2389
  amount_discount?: string | null;
2435
- /**
2436
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2437
- * this can be a subset of prices.
2438
- */
2439
- applies_to_price_ids?: Array<string> | null;
2440
2390
  /**
2441
2391
  * Only available if discount_type is `percentage`. This is a number between 0
2442
2392
  * and 1.
2443
2393
  */
2444
2394
  percentage_discount?: number | null;
2445
- /**
2446
- * Only available if discount_type is `trial`
2447
- */
2448
- trial_amount_discount?: string | null;
2449
2395
  /**
2450
2396
  * Only available if discount_type is `usage`. Number of usage units that this
2451
2397
  * discount is for
@@ -2516,20 +2462,11 @@ export declare namespace SubscriptionCreateParams {
2516
2462
  * Only available if discount_type is `amount`.
2517
2463
  */
2518
2464
  amount_discount?: string | null;
2519
- /**
2520
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2521
- * this can be a subset of prices.
2522
- */
2523
- applies_to_price_ids?: Array<string> | null;
2524
2465
  /**
2525
2466
  * Only available if discount_type is `percentage`. This is a number between 0
2526
2467
  * and 1.
2527
2468
  */
2528
2469
  percentage_discount?: number | null;
2529
- /**
2530
- * Only available if discount_type is `trial`
2531
- */
2532
- trial_amount_discount?: string | null;
2533
2470
  /**
2534
2471
  * Only available if discount_type is `usage`. Number of usage units that this
2535
2472
  * discount is for
@@ -2595,20 +2532,11 @@ export declare namespace SubscriptionCreateParams {
2595
2532
  * Only available if discount_type is `amount`.
2596
2533
  */
2597
2534
  amount_discount?: string | null;
2598
- /**
2599
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2600
- * this can be a subset of prices.
2601
- */
2602
- applies_to_price_ids?: Array<string> | null;
2603
2535
  /**
2604
2536
  * Only available if discount_type is `percentage`. This is a number between 0
2605
2537
  * and 1.
2606
2538
  */
2607
2539
  percentage_discount?: number | null;
2608
- /**
2609
- * Only available if discount_type is `trial`
2610
- */
2611
- trial_amount_discount?: string | null;
2612
2540
  /**
2613
2541
  * Only available if discount_type is `usage`. Number of usage units that this
2614
2542
  * discount is for
@@ -2656,20 +2584,11 @@ export declare namespace SubscriptionCreateParams {
2656
2584
  * Only available if discount_type is `amount`.
2657
2585
  */
2658
2586
  amount_discount?: string | null;
2659
- /**
2660
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2661
- * this can be a subset of prices.
2662
- */
2663
- applies_to_price_ids?: Array<string> | null;
2664
2587
  /**
2665
2588
  * Only available if discount_type is `percentage`. This is a number between 0
2666
2589
  * and 1.
2667
2590
  */
2668
2591
  percentage_discount?: number | null;
2669
- /**
2670
- * Only available if discount_type is `trial`
2671
- */
2672
- trial_amount_discount?: string | null;
2673
2592
  /**
2674
2593
  * Only available if discount_type is `usage`. Number of usage units that this
2675
2594
  * discount is for
@@ -2717,20 +2636,11 @@ export declare namespace SubscriptionCreateParams {
2717
2636
  * Only available if discount_type is `amount`.
2718
2637
  */
2719
2638
  amount_discount?: string | null;
2720
- /**
2721
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2722
- * this can be a subset of prices.
2723
- */
2724
- applies_to_price_ids?: Array<string> | null;
2725
2639
  /**
2726
2640
  * Only available if discount_type is `percentage`. This is a number between 0
2727
2641
  * and 1.
2728
2642
  */
2729
2643
  percentage_discount?: number | null;
2730
- /**
2731
- * Only available if discount_type is `trial`
2732
- */
2733
- trial_amount_discount?: string | null;
2734
2644
  /**
2735
2645
  * Only available if discount_type is `usage`. Number of usage units that this
2736
2646
  * discount is for
@@ -2778,20 +2688,11 @@ export declare namespace SubscriptionCreateParams {
2778
2688
  * Only available if discount_type is `amount`.
2779
2689
  */
2780
2690
  amount_discount?: string | null;
2781
- /**
2782
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2783
- * this can be a subset of prices.
2784
- */
2785
- applies_to_price_ids?: Array<string> | null;
2786
2691
  /**
2787
2692
  * Only available if discount_type is `percentage`. This is a number between 0
2788
2693
  * and 1.
2789
2694
  */
2790
2695
  percentage_discount?: number | null;
2791
- /**
2792
- * Only available if discount_type is `trial`
2793
- */
2794
- trial_amount_discount?: string | null;
2795
2696
  /**
2796
2697
  * Only available if discount_type is `usage`. Number of usage units that this
2797
2698
  * discount is for
@@ -2839,20 +2740,11 @@ export declare namespace SubscriptionCreateParams {
2839
2740
  * Only available if discount_type is `amount`.
2840
2741
  */
2841
2742
  amount_discount?: string | null;
2842
- /**
2843
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2844
- * this can be a subset of prices.
2845
- */
2846
- applies_to_price_ids?: Array<string> | null;
2847
2743
  /**
2848
2744
  * Only available if discount_type is `percentage`. This is a number between 0
2849
2745
  * and 1.
2850
2746
  */
2851
2747
  percentage_discount?: number | null;
2852
- /**
2853
- * Only available if discount_type is `trial`
2854
- */
2855
- trial_amount_discount?: string | null;
2856
2748
  /**
2857
2749
  * Only available if discount_type is `usage`. Number of usage units that this
2858
2750
  * discount is for
@@ -2900,20 +2792,11 @@ export declare namespace SubscriptionCreateParams {
2900
2792
  * Only available if discount_type is `amount`.
2901
2793
  */
2902
2794
  amount_discount?: string | null;
2903
- /**
2904
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2905
- * this can be a subset of prices.
2906
- */
2907
- applies_to_price_ids?: Array<string> | null;
2908
2795
  /**
2909
2796
  * Only available if discount_type is `percentage`. This is a number between 0
2910
2797
  * and 1.
2911
2798
  */
2912
2799
  percentage_discount?: number | null;
2913
- /**
2914
- * Only available if discount_type is `trial`
2915
- */
2916
- trial_amount_discount?: string | null;
2917
2800
  /**
2918
2801
  * Only available if discount_type is `usage`. Number of usage units that this
2919
2802
  * discount is for
@@ -2961,20 +2844,11 @@ export declare namespace SubscriptionCreateParams {
2961
2844
  * Only available if discount_type is `amount`.
2962
2845
  */
2963
2846
  amount_discount?: string | null;
2964
- /**
2965
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
2966
- * this can be a subset of prices.
2967
- */
2968
- applies_to_price_ids?: Array<string> | null;
2969
2847
  /**
2970
2848
  * Only available if discount_type is `percentage`. This is a number between 0
2971
2849
  * and 1.
2972
2850
  */
2973
2851
  percentage_discount?: number | null;
2974
- /**
2975
- * Only available if discount_type is `trial`
2976
- */
2977
- trial_amount_discount?: string | null;
2978
2852
  /**
2979
2853
  * Only available if discount_type is `usage`. Number of usage units that this
2980
2854
  * discount is for
@@ -3022,20 +2896,11 @@ export declare namespace SubscriptionCreateParams {
3022
2896
  * Only available if discount_type is `amount`.
3023
2897
  */
3024
2898
  amount_discount?: string | null;
3025
- /**
3026
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3027
- * this can be a subset of prices.
3028
- */
3029
- applies_to_price_ids?: Array<string> | null;
3030
2899
  /**
3031
2900
  * Only available if discount_type is `percentage`. This is a number between 0
3032
2901
  * and 1.
3033
2902
  */
3034
2903
  percentage_discount?: number | null;
3035
- /**
3036
- * Only available if discount_type is `trial`
3037
- */
3038
- trial_amount_discount?: string | null;
3039
2904
  /**
3040
2905
  * Only available if discount_type is `usage`. Number of usage units that this
3041
2906
  * discount is for
@@ -3083,20 +2948,11 @@ export declare namespace SubscriptionCreateParams {
3083
2948
  * Only available if discount_type is `amount`.
3084
2949
  */
3085
2950
  amount_discount?: string | null;
3086
- /**
3087
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3088
- * this can be a subset of prices.
3089
- */
3090
- applies_to_price_ids?: Array<string> | null;
3091
2951
  /**
3092
2952
  * Only available if discount_type is `percentage`. This is a number between 0
3093
2953
  * and 1.
3094
2954
  */
3095
2955
  percentage_discount?: number | null;
3096
- /**
3097
- * Only available if discount_type is `trial`
3098
- */
3099
- trial_amount_discount?: string | null;
3100
2956
  /**
3101
2957
  * Only available if discount_type is `usage`. Number of usage units that this
3102
2958
  * discount is for
@@ -3144,20 +3000,11 @@ export declare namespace SubscriptionCreateParams {
3144
3000
  * Only available if discount_type is `amount`.
3145
3001
  */
3146
3002
  amount_discount?: string | null;
3147
- /**
3148
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3149
- * this can be a subset of prices.
3150
- */
3151
- applies_to_price_ids?: Array<string> | null;
3152
3003
  /**
3153
3004
  * Only available if discount_type is `percentage`. This is a number between 0
3154
3005
  * and 1.
3155
3006
  */
3156
3007
  percentage_discount?: number | null;
3157
- /**
3158
- * Only available if discount_type is `trial`
3159
- */
3160
- trial_amount_discount?: string | null;
3161
3008
  /**
3162
3009
  * Only available if discount_type is `usage`. Number of usage units that this
3163
3010
  * discount is for
@@ -3205,20 +3052,11 @@ export declare namespace SubscriptionCreateParams {
3205
3052
  * Only available if discount_type is `amount`.
3206
3053
  */
3207
3054
  amount_discount?: string | null;
3208
- /**
3209
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3210
- * this can be a subset of prices.
3211
- */
3212
- applies_to_price_ids?: Array<string> | null;
3213
3055
  /**
3214
3056
  * Only available if discount_type is `percentage`. This is a number between 0
3215
3057
  * and 1.
3216
3058
  */
3217
3059
  percentage_discount?: number | null;
3218
- /**
3219
- * Only available if discount_type is `trial`
3220
- */
3221
- trial_amount_discount?: string | null;
3222
3060
  /**
3223
3061
  * Only available if discount_type is `usage`. Number of usage units that this
3224
3062
  * discount is for
@@ -3266,20 +3104,11 @@ export declare namespace SubscriptionCreateParams {
3266
3104
  * Only available if discount_type is `amount`.
3267
3105
  */
3268
3106
  amount_discount?: string | null;
3269
- /**
3270
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
3271
- * this can be a subset of prices.
3272
- */
3273
- applies_to_price_ids?: Array<string> | null;
3274
3107
  /**
3275
3108
  * Only available if discount_type is `percentage`. This is a number between 0
3276
3109
  * and 1.
3277
3110
  */
3278
3111
  percentage_discount?: number | null;
3279
- /**
3280
- * Only available if discount_type is `trial`
3281
- */
3282
- trial_amount_discount?: string | null;
3283
3112
  /**
3284
3113
  * Only available if discount_type is `usage`. Number of usage units that this
3285
3114
  * discount is for
@@ -5974,20 +5803,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
5974
5803
  * Only available if discount_type is `amount`.
5975
5804
  */
5976
5805
  amount_discount?: string | null;
5977
- /**
5978
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
5979
- * this can be a subset of prices.
5980
- */
5981
- applies_to_price_ids?: Array<string> | null;
5982
5806
  /**
5983
5807
  * Only available if discount_type is `percentage`. This is a number between 0
5984
5808
  * and 1.
5985
5809
  */
5986
5810
  percentage_discount?: number | null;
5987
- /**
5988
- * Only available if discount_type is `trial`
5989
- */
5990
- trial_amount_discount?: string | null;
5991
5811
  /**
5992
5812
  * Only available if discount_type is `usage`. Number of usage units that this
5993
5813
  * discount is for
@@ -6046,20 +5866,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6046
5866
  * Only available if discount_type is `amount`.
6047
5867
  */
6048
5868
  amount_discount?: string | null;
6049
- /**
6050
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6051
- * this can be a subset of prices.
6052
- */
6053
- applies_to_price_ids?: Array<string> | null;
6054
5869
  /**
6055
5870
  * Only available if discount_type is `percentage`. This is a number between 0
6056
5871
  * and 1.
6057
5872
  */
6058
5873
  percentage_discount?: number | null;
6059
- /**
6060
- * Only available if discount_type is `trial`
6061
- */
6062
- trial_amount_discount?: string | null;
6063
5874
  /**
6064
5875
  * Only available if discount_type is `usage`. Number of usage units that this
6065
5876
  * discount is for
@@ -6135,20 +5946,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6135
5946
  * Only available if discount_type is `amount`.
6136
5947
  */
6137
5948
  amount_discount?: string | null;
6138
- /**
6139
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6140
- * this can be a subset of prices.
6141
- */
6142
- applies_to_price_ids?: Array<string> | null;
6143
5949
  /**
6144
5950
  * Only available if discount_type is `percentage`. This is a number between 0
6145
5951
  * and 1.
6146
5952
  */
6147
5953
  percentage_discount?: number | null;
6148
- /**
6149
- * Only available if discount_type is `trial`
6150
- */
6151
- trial_amount_discount?: string | null;
6152
5954
  /**
6153
5955
  * Only available if discount_type is `usage`. Number of usage units that this
6154
5956
  * discount is for
@@ -6218,20 +6020,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6218
6020
  * Only available if discount_type is `amount`.
6219
6021
  */
6220
6022
  amount_discount?: string | null;
6221
- /**
6222
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6223
- * this can be a subset of prices.
6224
- */
6225
- applies_to_price_ids?: Array<string> | null;
6226
6023
  /**
6227
6024
  * Only available if discount_type is `percentage`. This is a number between 0
6228
6025
  * and 1.
6229
6026
  */
6230
6027
  percentage_discount?: number | null;
6231
- /**
6232
- * Only available if discount_type is `trial`
6233
- */
6234
- trial_amount_discount?: string | null;
6235
6028
  /**
6236
6029
  * Only available if discount_type is `usage`. Number of usage units that this
6237
6030
  * discount is for
@@ -6306,20 +6099,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6306
6099
  * Only available if discount_type is `amount`.
6307
6100
  */
6308
6101
  amount_discount?: string | null;
6309
- /**
6310
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6311
- * this can be a subset of prices.
6312
- */
6313
- applies_to_price_ids?: Array<string> | null;
6314
6102
  /**
6315
6103
  * Only available if discount_type is `percentage`. This is a number between 0
6316
6104
  * and 1.
6317
6105
  */
6318
6106
  percentage_discount?: number | null;
6319
- /**
6320
- * Only available if discount_type is `trial`
6321
- */
6322
- trial_amount_discount?: string | null;
6323
6107
  /**
6324
6108
  * Only available if discount_type is `usage`. Number of usage units that this
6325
6109
  * discount is for
@@ -6377,20 +6161,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6377
6161
  * Only available if discount_type is `amount`.
6378
6162
  */
6379
6163
  amount_discount?: string | null;
6380
- /**
6381
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6382
- * this can be a subset of prices.
6383
- */
6384
- applies_to_price_ids?: Array<string> | null;
6385
6164
  /**
6386
6165
  * Only available if discount_type is `percentage`. This is a number between 0
6387
6166
  * and 1.
6388
6167
  */
6389
6168
  percentage_discount?: number | null;
6390
- /**
6391
- * Only available if discount_type is `trial`
6392
- */
6393
- trial_amount_discount?: string | null;
6394
6169
  /**
6395
6170
  * Only available if discount_type is `usage`. Number of usage units that this
6396
6171
  * discount is for
@@ -6461,20 +6236,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6461
6236
  * Only available if discount_type is `amount`.
6462
6237
  */
6463
6238
  amount_discount?: string | null;
6464
- /**
6465
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6466
- * this can be a subset of prices.
6467
- */
6468
- applies_to_price_ids?: Array<string> | null;
6469
6239
  /**
6470
6240
  * Only available if discount_type is `percentage`. This is a number between 0
6471
6241
  * and 1.
6472
6242
  */
6473
6243
  percentage_discount?: number | null;
6474
- /**
6475
- * Only available if discount_type is `trial`
6476
- */
6477
- trial_amount_discount?: string | null;
6478
6244
  /**
6479
6245
  * Only available if discount_type is `usage`. Number of usage units that this
6480
6246
  * discount is for
@@ -6540,20 +6306,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6540
6306
  * Only available if discount_type is `amount`.
6541
6307
  */
6542
6308
  amount_discount?: string | null;
6543
- /**
6544
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6545
- * this can be a subset of prices.
6546
- */
6547
- applies_to_price_ids?: Array<string> | null;
6548
6309
  /**
6549
6310
  * Only available if discount_type is `percentage`. This is a number between 0
6550
6311
  * and 1.
6551
6312
  */
6552
6313
  percentage_discount?: number | null;
6553
- /**
6554
- * Only available if discount_type is `trial`
6555
- */
6556
- trial_amount_discount?: string | null;
6557
6314
  /**
6558
6315
  * Only available if discount_type is `usage`. Number of usage units that this
6559
6316
  * discount is for
@@ -6601,20 +6358,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6601
6358
  * Only available if discount_type is `amount`.
6602
6359
  */
6603
6360
  amount_discount?: string | null;
6604
- /**
6605
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6606
- * this can be a subset of prices.
6607
- */
6608
- applies_to_price_ids?: Array<string> | null;
6609
6361
  /**
6610
6362
  * Only available if discount_type is `percentage`. This is a number between 0
6611
6363
  * and 1.
6612
6364
  */
6613
6365
  percentage_discount?: number | null;
6614
- /**
6615
- * Only available if discount_type is `trial`
6616
- */
6617
- trial_amount_discount?: string | null;
6618
6366
  /**
6619
6367
  * Only available if discount_type is `usage`. Number of usage units that this
6620
6368
  * discount is for
@@ -6662,20 +6410,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6662
6410
  * Only available if discount_type is `amount`.
6663
6411
  */
6664
6412
  amount_discount?: string | null;
6665
- /**
6666
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6667
- * this can be a subset of prices.
6668
- */
6669
- applies_to_price_ids?: Array<string> | null;
6670
6413
  /**
6671
6414
  * Only available if discount_type is `percentage`. This is a number between 0
6672
6415
  * and 1.
6673
6416
  */
6674
6417
  percentage_discount?: number | null;
6675
- /**
6676
- * Only available if discount_type is `trial`
6677
- */
6678
- trial_amount_discount?: string | null;
6679
6418
  /**
6680
6419
  * Only available if discount_type is `usage`. Number of usage units that this
6681
6420
  * discount is for
@@ -6723,20 +6462,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6723
6462
  * Only available if discount_type is `amount`.
6724
6463
  */
6725
6464
  amount_discount?: string | null;
6726
- /**
6727
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6728
- * this can be a subset of prices.
6729
- */
6730
- applies_to_price_ids?: Array<string> | null;
6731
6465
  /**
6732
6466
  * Only available if discount_type is `percentage`. This is a number between 0
6733
6467
  * and 1.
6734
6468
  */
6735
6469
  percentage_discount?: number | null;
6736
- /**
6737
- * Only available if discount_type is `trial`
6738
- */
6739
- trial_amount_discount?: string | null;
6740
6470
  /**
6741
6471
  * Only available if discount_type is `usage`. Number of usage units that this
6742
6472
  * discount is for
@@ -6784,20 +6514,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6784
6514
  * Only available if discount_type is `amount`.
6785
6515
  */
6786
6516
  amount_discount?: string | null;
6787
- /**
6788
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6789
- * this can be a subset of prices.
6790
- */
6791
- applies_to_price_ids?: Array<string> | null;
6792
6517
  /**
6793
6518
  * Only available if discount_type is `percentage`. This is a number between 0
6794
6519
  * and 1.
6795
6520
  */
6796
6521
  percentage_discount?: number | null;
6797
- /**
6798
- * Only available if discount_type is `trial`
6799
- */
6800
- trial_amount_discount?: string | null;
6801
6522
  /**
6802
6523
  * Only available if discount_type is `usage`. Number of usage units that this
6803
6524
  * discount is for
@@ -6845,20 +6566,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6845
6566
  * Only available if discount_type is `amount`.
6846
6567
  */
6847
6568
  amount_discount?: string | null;
6848
- /**
6849
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6850
- * this can be a subset of prices.
6851
- */
6852
- applies_to_price_ids?: Array<string> | null;
6853
6569
  /**
6854
6570
  * Only available if discount_type is `percentage`. This is a number between 0
6855
6571
  * and 1.
6856
6572
  */
6857
6573
  percentage_discount?: number | null;
6858
- /**
6859
- * Only available if discount_type is `trial`
6860
- */
6861
- trial_amount_discount?: string | null;
6862
6574
  /**
6863
6575
  * Only available if discount_type is `usage`. Number of usage units that this
6864
6576
  * discount is for
@@ -6906,20 +6618,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6906
6618
  * Only available if discount_type is `amount`.
6907
6619
  */
6908
6620
  amount_discount?: string | null;
6909
- /**
6910
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6911
- * this can be a subset of prices.
6912
- */
6913
- applies_to_price_ids?: Array<string> | null;
6914
6621
  /**
6915
6622
  * Only available if discount_type is `percentage`. This is a number between 0
6916
6623
  * and 1.
6917
6624
  */
6918
6625
  percentage_discount?: number | null;
6919
- /**
6920
- * Only available if discount_type is `trial`
6921
- */
6922
- trial_amount_discount?: string | null;
6923
6626
  /**
6924
6627
  * Only available if discount_type is `usage`. Number of usage units that this
6925
6628
  * discount is for
@@ -6967,20 +6670,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
6967
6670
  * Only available if discount_type is `amount`.
6968
6671
  */
6969
6672
  amount_discount?: string | null;
6970
- /**
6971
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
6972
- * this can be a subset of prices.
6973
- */
6974
- applies_to_price_ids?: Array<string> | null;
6975
6673
  /**
6976
6674
  * Only available if discount_type is `percentage`. This is a number between 0
6977
6675
  * and 1.
6978
6676
  */
6979
6677
  percentage_discount?: number | null;
6980
- /**
6981
- * Only available if discount_type is `trial`
6982
- */
6983
- trial_amount_discount?: string | null;
6984
6678
  /**
6985
6679
  * Only available if discount_type is `usage`. Number of usage units that this
6986
6680
  * discount is for
@@ -7028,20 +6722,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
7028
6722
  * Only available if discount_type is `amount`.
7029
6723
  */
7030
6724
  amount_discount?: string | null;
7031
- /**
7032
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7033
- * this can be a subset of prices.
7034
- */
7035
- applies_to_price_ids?: Array<string> | null;
7036
6725
  /**
7037
6726
  * Only available if discount_type is `percentage`. This is a number between 0
7038
6727
  * and 1.
7039
6728
  */
7040
6729
  percentage_discount?: number | null;
7041
- /**
7042
- * Only available if discount_type is `trial`
7043
- */
7044
- trial_amount_discount?: string | null;
7045
6730
  /**
7046
6731
  * Only available if discount_type is `usage`. Number of usage units that this
7047
6732
  * discount is for
@@ -7089,20 +6774,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
7089
6774
  * Only available if discount_type is `amount`.
7090
6775
  */
7091
6776
  amount_discount?: string | null;
7092
- /**
7093
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7094
- * this can be a subset of prices.
7095
- */
7096
- applies_to_price_ids?: Array<string> | null;
7097
6777
  /**
7098
6778
  * Only available if discount_type is `percentage`. This is a number between 0
7099
6779
  * and 1.
7100
6780
  */
7101
6781
  percentage_discount?: number | null;
7102
- /**
7103
- * Only available if discount_type is `trial`
7104
- */
7105
- trial_amount_discount?: string | null;
7106
6782
  /**
7107
6783
  * Only available if discount_type is `usage`. Number of usage units that this
7108
6784
  * discount is for
@@ -7150,20 +6826,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
7150
6826
  * Only available if discount_type is `amount`.
7151
6827
  */
7152
6828
  amount_discount?: string | null;
7153
- /**
7154
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7155
- * this can be a subset of prices.
7156
- */
7157
- applies_to_price_ids?: Array<string> | null;
7158
6829
  /**
7159
6830
  * Only available if discount_type is `percentage`. This is a number between 0
7160
6831
  * and 1.
7161
6832
  */
7162
6833
  percentage_discount?: number | null;
7163
- /**
7164
- * Only available if discount_type is `trial`
7165
- */
7166
- trial_amount_discount?: string | null;
7167
6834
  /**
7168
6835
  * Only available if discount_type is `usage`. Number of usage units that this
7169
6836
  * discount is for
@@ -7211,20 +6878,11 @@ export declare namespace SubscriptionSchedulePlanChangeParams {
7211
6878
  * Only available if discount_type is `amount`.
7212
6879
  */
7213
6880
  amount_discount?: string | null;
7214
- /**
7215
- * List of price_ids that this discount applies to. For plan/plan phase discounts,
7216
- * this can be a subset of prices.
7217
- */
7218
- applies_to_price_ids?: Array<string> | null;
7219
6881
  /**
7220
6882
  * Only available if discount_type is `percentage`. This is a number between 0
7221
6883
  * and 1.
7222
6884
  */
7223
6885
  percentage_discount?: number | null;
7224
- /**
7225
- * Only available if discount_type is `trial`
7226
- */
7227
- trial_amount_discount?: string | null;
7228
6886
  /**
7229
6887
  * Only available if discount_type is `usage`. Number of usage units that this
7230
6888
  * discount is for