orb-billing 4.56.0 → 4.57.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.
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAM3C,iDAAsD;AAEtD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiQG;IACH,MAAM,CACJ,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAkBD,IAAI,CACF,QAAsD,EAAE,EACxD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,EAAE,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,IAAI,CAAC,kBAAkB,cAAc,4BAA4B,EAAE;YACrF,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,WAAW,CACT,cAAsB,EACtB,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,cAAc,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;CACF;AAED,MAAM,OAAO,iBAAkB,SAAQ,IAAkB;CAAG;AAE5D,MAAM,OAAO,sCAAuC,SAAQ,IAAuC;CAAG;AAo2pBtG,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AACpD,aAAa,CAAC,sCAAsC,GAAG,sCAAsC,CAAC"}
@@ -311,19 +311,15 @@ export namespace CostListResponse {
311
311
  export namespace Data {
312
312
  export interface PerPriceCost {
313
313
  /**
314
- * The Price resource represents a price that can be billed on a subscription,
315
- * resulting in a charge on an invoice in the form of an invoice line item. Prices
316
- * take a quantity and determine an amount to bill.
317
- *
318
- * Orb supports a few different pricing models out of the box. Each of these models
319
- * is serialized differently in a given Price object. The model_type field
320
- * determines the key for the configuration object that is present.
321
- *
322
- * For more on the types of prices, see
323
- * [the core concepts documentation](/core-concepts#plan-and-price)
314
+ * The price object
324
315
  */
325
316
  price: PricesAPI.Price;
326
317
 
318
+ /**
319
+ * The price the cost is associated with
320
+ */
321
+ price_id: string;
322
+
327
323
  /**
328
324
  * Price's contributions for the timeframe, excluding any minimums and discounts.
329
325
  */
@@ -368,19 +364,15 @@ export namespace CostListByExternalIDResponse {
368
364
  export namespace Data {
369
365
  export interface PerPriceCost {
370
366
  /**
371
- * The Price resource represents a price that can be billed on a subscription,
372
- * resulting in a charge on an invoice in the form of an invoice line item. Prices
373
- * take a quantity and determine an amount to bill.
374
- *
375
- * Orb supports a few different pricing models out of the box. Each of these models
376
- * is serialized differently in a given Price object. The model_type field
377
- * determines the key for the configuration object that is present.
378
- *
379
- * For more on the types of prices, see
380
- * [the core concepts documentation](/core-concepts#plan-and-price)
367
+ * The price object
381
368
  */
382
369
  price: PricesAPI.Price;
383
370
 
371
+ /**
372
+ * The price the cost is associated with
373
+ */
374
+ price_id: string;
375
+
384
376
  /**
385
377
  * Price's contributions for the timeframe, excluding any minimums and discounts.
386
378
  */
@@ -500,6 +500,7 @@ export interface PlanCreateParams {
500
500
  | PlanCreateParams.NewPlanMaxGroupTieredPackagePrice
501
501
  | PlanCreateParams.NewPlanScalableMatrixWithUnitPricingPrice
502
502
  | PlanCreateParams.NewPlanScalableMatrixWithTieredPricingPrice
503
+ | PlanCreateParams.NewPlanCumulativeGroupedBulkPrice
503
504
  >;
504
505
 
505
506
  /**
@@ -3413,6 +3414,119 @@ export namespace PlanCreateParams {
3413
3414
  duration_unit: 'day' | 'month';
3414
3415
  }
3415
3416
  }
3417
+
3418
+ export interface NewPlanCumulativeGroupedBulkPrice {
3419
+ /**
3420
+ * The cadence to bill for this price on.
3421
+ */
3422
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3423
+
3424
+ cumulative_grouped_bulk_config: Record<string, unknown>;
3425
+
3426
+ /**
3427
+ * The id of the item the plan will be associated with.
3428
+ */
3429
+ item_id: string;
3430
+
3431
+ model_type: 'cumulative_grouped_bulk';
3432
+
3433
+ /**
3434
+ * The name of the price.
3435
+ */
3436
+ name: string;
3437
+
3438
+ /**
3439
+ * The id of the billable metric for the price. Only needed if the price is
3440
+ * usage-based.
3441
+ */
3442
+ billable_metric_id?: string | null;
3443
+
3444
+ /**
3445
+ * If the Price represents a fixed cost, the price will be billed in-advance if
3446
+ * this is true, and in-arrears if this is false.
3447
+ */
3448
+ billed_in_advance?: boolean | null;
3449
+
3450
+ /**
3451
+ * For custom cadence: specifies the duration of the billing period in days or
3452
+ * months.
3453
+ */
3454
+ billing_cycle_configuration?: NewPlanCumulativeGroupedBulkPrice.BillingCycleConfiguration | null;
3455
+
3456
+ /**
3457
+ * The per unit conversion rate of the price currency to the invoicing currency.
3458
+ */
3459
+ conversion_rate?: number | null;
3460
+
3461
+ /**
3462
+ * An ISO 4217 currency string, or custom pricing unit identifier, in which this
3463
+ * price is billed.
3464
+ */
3465
+ currency?: string | null;
3466
+
3467
+ /**
3468
+ * An alias for the price.
3469
+ */
3470
+ external_price_id?: string | null;
3471
+
3472
+ /**
3473
+ * If the Price represents a fixed cost, this represents the quantity of units
3474
+ * applied.
3475
+ */
3476
+ fixed_price_quantity?: number | null;
3477
+
3478
+ /**
3479
+ * The property used to group this price on an invoice
3480
+ */
3481
+ invoice_grouping_key?: string | null;
3482
+
3483
+ /**
3484
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
3485
+ * If unspecified, a single invoice is produced per billing cycle.
3486
+ */
3487
+ invoicing_cycle_configuration?: NewPlanCumulativeGroupedBulkPrice.InvoicingCycleConfiguration | null;
3488
+
3489
+ /**
3490
+ * User-specified key/value pairs for the resource. Individual keys can be removed
3491
+ * by setting the value to `null`, and the entire metadata mapping can be cleared
3492
+ * by setting `metadata` to `null`.
3493
+ */
3494
+ metadata?: Record<string, string | null> | null;
3495
+ }
3496
+
3497
+ export namespace NewPlanCumulativeGroupedBulkPrice {
3498
+ /**
3499
+ * For custom cadence: specifies the duration of the billing period in days or
3500
+ * months.
3501
+ */
3502
+ export interface BillingCycleConfiguration {
3503
+ /**
3504
+ * The duration of the billing period.
3505
+ */
3506
+ duration: number;
3507
+
3508
+ /**
3509
+ * The unit of billing period duration.
3510
+ */
3511
+ duration_unit: 'day' | 'month';
3512
+ }
3513
+
3514
+ /**
3515
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
3516
+ * If unspecified, a single invoice is produced per billing cycle.
3517
+ */
3518
+ export interface InvoicingCycleConfiguration {
3519
+ /**
3520
+ * The duration of the billing period.
3521
+ */
3522
+ duration: number;
3523
+
3524
+ /**
3525
+ * The unit of billing period duration.
3526
+ */
3527
+ duration_unit: 'day' | 'month';
3528
+ }
3529
+ }
3416
3530
  }
3417
3531
 
3418
3532
  export interface PlanUpdateParams {
@@ -149,7 +149,8 @@ export type Price =
149
149
  | Price.GroupedTieredPackagePrice
150
150
  | Price.MaxGroupTieredPackagePrice
151
151
  | Price.ScalableMatrixWithUnitPricingPrice
152
- | Price.ScalableMatrixWithTieredPricingPrice;
152
+ | Price.ScalableMatrixWithTieredPricingPrice
153
+ | Price.CumulativeGroupedBulkPrice;
153
154
 
154
155
  export namespace Price {
155
156
  export interface UnitPrice {
@@ -3546,6 +3547,124 @@ export namespace Price {
3546
3547
  dimensional_price_group_id: string;
3547
3548
  }
3548
3549
  }
3550
+
3551
+ export interface CumulativeGroupedBulkPrice {
3552
+ id: string;
3553
+
3554
+ billable_metric: CumulativeGroupedBulkPrice.BillableMetric | null;
3555
+
3556
+ billing_cycle_configuration: CumulativeGroupedBulkPrice.BillingCycleConfiguration;
3557
+
3558
+ cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
3559
+
3560
+ conversion_rate: number | null;
3561
+
3562
+ created_at: string;
3563
+
3564
+ credit_allocation: CumulativeGroupedBulkPrice.CreditAllocation | null;
3565
+
3566
+ cumulative_grouped_bulk_config: Record<string, unknown>;
3567
+
3568
+ currency: string;
3569
+
3570
+ discount: Shared.Discount | null;
3571
+
3572
+ external_price_id: string | null;
3573
+
3574
+ fixed_price_quantity: number | null;
3575
+
3576
+ invoicing_cycle_configuration: CumulativeGroupedBulkPrice.InvoicingCycleConfiguration | null;
3577
+
3578
+ item: CumulativeGroupedBulkPrice.Item;
3579
+
3580
+ maximum: CumulativeGroupedBulkPrice.Maximum | null;
3581
+
3582
+ maximum_amount: string | null;
3583
+
3584
+ /**
3585
+ * User specified key-value pairs for the resource. If not present, this defaults
3586
+ * to an empty dictionary. Individual keys can be removed by setting the value to
3587
+ * `null`, and the entire metadata mapping can be cleared by setting `metadata` to
3588
+ * `null`.
3589
+ */
3590
+ metadata: Record<string, string>;
3591
+
3592
+ minimum: CumulativeGroupedBulkPrice.Minimum | null;
3593
+
3594
+ minimum_amount: string | null;
3595
+
3596
+ model_type: 'cumulative_grouped_bulk';
3597
+
3598
+ name: string;
3599
+
3600
+ plan_phase_order: number | null;
3601
+
3602
+ price_type: 'usage_price' | 'fixed_price';
3603
+
3604
+ dimensional_price_configuration?: CumulativeGroupedBulkPrice.DimensionalPriceConfiguration | null;
3605
+ }
3606
+
3607
+ export namespace CumulativeGroupedBulkPrice {
3608
+ export interface BillableMetric {
3609
+ id: string;
3610
+ }
3611
+
3612
+ export interface BillingCycleConfiguration {
3613
+ duration: number;
3614
+
3615
+ duration_unit: 'day' | 'month';
3616
+ }
3617
+
3618
+ export interface CreditAllocation {
3619
+ allows_rollover: boolean;
3620
+
3621
+ currency: string;
3622
+ }
3623
+
3624
+ export interface InvoicingCycleConfiguration {
3625
+ duration: number;
3626
+
3627
+ duration_unit: 'day' | 'month';
3628
+ }
3629
+
3630
+ export interface Item {
3631
+ id: string;
3632
+
3633
+ name: string;
3634
+ }
3635
+
3636
+ export interface Maximum {
3637
+ /**
3638
+ * List of price_ids that this maximum amount applies to. For plan/plan phase
3639
+ * maximums, this can be a subset of prices.
3640
+ */
3641
+ applies_to_price_ids: Array<string>;
3642
+
3643
+ /**
3644
+ * Maximum amount applied
3645
+ */
3646
+ maximum_amount: string;
3647
+ }
3648
+
3649
+ export interface Minimum {
3650
+ /**
3651
+ * List of price_ids that this minimum amount applies to. For plan/plan phase
3652
+ * minimums, this can be a subset of prices.
3653
+ */
3654
+ applies_to_price_ids: Array<string>;
3655
+
3656
+ /**
3657
+ * Minimum amount applied
3658
+ */
3659
+ minimum_amount: string;
3660
+ }
3661
+
3662
+ export interface DimensionalPriceConfiguration {
3663
+ dimension_values: Array<string>;
3664
+
3665
+ dimensional_price_group_id: string;
3666
+ }
3667
+ }
3549
3668
  }
3550
3669
 
3551
3670
  export interface PriceEvaluateResponse {
@@ -3579,7 +3698,8 @@ export type PriceCreateParams =
3579
3698
  | PriceCreateParams.NewFloatingBulkWithProrationPrice
3580
3699
  | PriceCreateParams.NewFloatingGroupedTieredPackagePrice
3581
3700
  | PriceCreateParams.NewFloatingScalableMatrixWithUnitPricingPrice
3582
- | PriceCreateParams.NewFloatingScalableMatrixWithTieredPricingPrice;
3701
+ | PriceCreateParams.NewFloatingScalableMatrixWithTieredPricingPrice
3702
+ | PriceCreateParams.NewFloatingCumulativeGroupedBulkPrice;
3583
3703
 
3584
3704
  export declare namespace PriceCreateParams {
3585
3705
  export interface NewFloatingUnitPrice {
@@ -6814,6 +6934,118 @@ export declare namespace PriceCreateParams {
6814
6934
  duration_unit: 'day' | 'month';
6815
6935
  }
6816
6936
  }
6937
+
6938
+ export interface NewFloatingCumulativeGroupedBulkPrice {
6939
+ /**
6940
+ * The cadence to bill for this price on.
6941
+ */
6942
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
6943
+
6944
+ cumulative_grouped_bulk_config: Record<string, unknown>;
6945
+
6946
+ /**
6947
+ * An ISO 4217 currency string for which this price is billed in.
6948
+ */
6949
+ currency: string;
6950
+
6951
+ /**
6952
+ * The id of the item the plan will be associated with.
6953
+ */
6954
+ item_id: string;
6955
+
6956
+ model_type: 'cumulative_grouped_bulk';
6957
+
6958
+ /**
6959
+ * The name of the price.
6960
+ */
6961
+ name: string;
6962
+
6963
+ /**
6964
+ * The id of the billable metric for the price. Only needed if the price is
6965
+ * usage-based.
6966
+ */
6967
+ billable_metric_id?: string | null;
6968
+
6969
+ /**
6970
+ * If the Price represents a fixed cost, the price will be billed in-advance if
6971
+ * this is true, and in-arrears if this is false.
6972
+ */
6973
+ billed_in_advance?: boolean | null;
6974
+
6975
+ /**
6976
+ * For custom cadence: specifies the duration of the billing period in days or
6977
+ * months.
6978
+ */
6979
+ billing_cycle_configuration?: NewFloatingCumulativeGroupedBulkPrice.BillingCycleConfiguration | null;
6980
+
6981
+ /**
6982
+ * The per unit conversion rate of the price currency to the invoicing currency.
6983
+ */
6984
+ conversion_rate?: number | null;
6985
+
6986
+ /**
6987
+ * An alias for the price.
6988
+ */
6989
+ external_price_id?: string | null;
6990
+
6991
+ /**
6992
+ * If the Price represents a fixed cost, this represents the quantity of units
6993
+ * applied.
6994
+ */
6995
+ fixed_price_quantity?: number | null;
6996
+
6997
+ /**
6998
+ * The property used to group this price on an invoice
6999
+ */
7000
+ invoice_grouping_key?: string | null;
7001
+
7002
+ /**
7003
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
7004
+ * If unspecified, a single invoice is produced per billing cycle.
7005
+ */
7006
+ invoicing_cycle_configuration?: NewFloatingCumulativeGroupedBulkPrice.InvoicingCycleConfiguration | null;
7007
+
7008
+ /**
7009
+ * User-specified key/value pairs for the resource. Individual keys can be removed
7010
+ * by setting the value to `null`, and the entire metadata mapping can be cleared
7011
+ * by setting `metadata` to `null`.
7012
+ */
7013
+ metadata?: Record<string, string | null> | null;
7014
+ }
7015
+
7016
+ export namespace NewFloatingCumulativeGroupedBulkPrice {
7017
+ /**
7018
+ * For custom cadence: specifies the duration of the billing period in days or
7019
+ * months.
7020
+ */
7021
+ export interface BillingCycleConfiguration {
7022
+ /**
7023
+ * The duration of the billing period.
7024
+ */
7025
+ duration: number;
7026
+
7027
+ /**
7028
+ * The unit of billing period duration.
7029
+ */
7030
+ duration_unit: 'day' | 'month';
7031
+ }
7032
+
7033
+ /**
7034
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
7035
+ * If unspecified, a single invoice is produced per billing cycle.
7036
+ */
7037
+ export interface InvoicingCycleConfiguration {
7038
+ /**
7039
+ * The duration of the billing period.
7040
+ */
7041
+ duration: number;
7042
+
7043
+ /**
7044
+ * The unit of billing period duration.
7045
+ */
7046
+ duration_unit: 'day' | 'month';
7047
+ }
7048
+ }
6817
7049
  }
6818
7050
 
6819
7051
  export interface PriceUpdateParams {
@@ -2999,19 +2999,15 @@ export namespace SubscriptionFetchCostsResponse {
2999
2999
  export namespace Data {
3000
3000
  export interface PerPriceCost {
3001
3001
  /**
3002
- * The Price resource represents a price that can be billed on a subscription,
3003
- * resulting in a charge on an invoice in the form of an invoice line item. Prices
3004
- * take a quantity and determine an amount to bill.
3005
- *
3006
- * Orb supports a few different pricing models out of the box. Each of these models
3007
- * is serialized differently in a given Price object. The model_type field
3008
- * determines the key for the configuration object that is present.
3009
- *
3010
- * For more on the types of prices, see
3011
- * [the core concepts documentation](/core-concepts#plan-and-price)
3002
+ * The price object
3012
3003
  */
3013
3004
  price: PricesAPI.Price;
3014
3005
 
3006
+ /**
3007
+ * The price the cost is associated with
3008
+ */
3009
+ price_id: string;
3010
+
3015
3011
  /**
3016
3012
  * Price's contributions for the timeframe, excluding any minimums and discounts.
3017
3013
  */
@@ -13239,6 +13235,13 @@ export interface SubscriptionCancelParams {
13239
13235
  */
13240
13236
  cancel_option: 'end_of_subscription_term' | 'immediate' | 'requested_date';
13241
13237
 
13238
+ /**
13239
+ * If false, this request will fail if it would void an issued invoice or create a
13240
+ * credit note. Consider using this as a safety mechanism if you do not expect
13241
+ * existing invoices to be changed.
13242
+ */
13243
+ allow_invoice_credit_or_void?: boolean | null;
13244
+
13242
13245
  /**
13243
13246
  * The date that the cancellation should take effect. This parameter can only be
13244
13247
  * passed if the `cancel_option` is `requested_date`.
@@ -13337,6 +13340,13 @@ export interface SubscriptionPriceIntervalsParams {
13337
13340
  */
13338
13341
  add_adjustments?: Array<SubscriptionPriceIntervalsParams.AddAdjustment>;
13339
13342
 
13343
+ /**
13344
+ * If false, this request will fail if it would void an issued invoice or create a
13345
+ * credit note. Consider using this as a safety mechanism if you do not expect
13346
+ * existing invoices to be changed.
13347
+ */
13348
+ allow_invoice_credit_or_void?: boolean | null;
13349
+
13340
13350
  /**
13341
13351
  * A list of price intervals to edit on the subscription.
13342
13352
  */
@@ -13429,6 +13439,7 @@ export namespace SubscriptionPriceIntervalsParams {
13429
13439
  | Add.NewFloatingGroupedTieredPackagePrice
13430
13440
  | Add.NewFloatingScalableMatrixWithUnitPricingPrice
13431
13441
  | Add.NewFloatingScalableMatrixWithTieredPricingPrice
13442
+ | Add.NewFloatingCumulativeGroupedBulkPrice
13432
13443
  | null;
13433
13444
 
13434
13445
  /**
@@ -16738,6 +16749,118 @@ export namespace SubscriptionPriceIntervalsParams {
16738
16749
  duration_unit: 'day' | 'month';
16739
16750
  }
16740
16751
  }
16752
+
16753
+ export interface NewFloatingCumulativeGroupedBulkPrice {
16754
+ /**
16755
+ * The cadence to bill for this price on.
16756
+ */
16757
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
16758
+
16759
+ cumulative_grouped_bulk_config: Record<string, unknown>;
16760
+
16761
+ /**
16762
+ * An ISO 4217 currency string for which this price is billed in.
16763
+ */
16764
+ currency: string;
16765
+
16766
+ /**
16767
+ * The id of the item the plan will be associated with.
16768
+ */
16769
+ item_id: string;
16770
+
16771
+ model_type: 'cumulative_grouped_bulk';
16772
+
16773
+ /**
16774
+ * The name of the price.
16775
+ */
16776
+ name: string;
16777
+
16778
+ /**
16779
+ * The id of the billable metric for the price. Only needed if the price is
16780
+ * usage-based.
16781
+ */
16782
+ billable_metric_id?: string | null;
16783
+
16784
+ /**
16785
+ * If the Price represents a fixed cost, the price will be billed in-advance if
16786
+ * this is true, and in-arrears if this is false.
16787
+ */
16788
+ billed_in_advance?: boolean | null;
16789
+
16790
+ /**
16791
+ * For custom cadence: specifies the duration of the billing period in days or
16792
+ * months.
16793
+ */
16794
+ billing_cycle_configuration?: NewFloatingCumulativeGroupedBulkPrice.BillingCycleConfiguration | null;
16795
+
16796
+ /**
16797
+ * The per unit conversion rate of the price currency to the invoicing currency.
16798
+ */
16799
+ conversion_rate?: number | null;
16800
+
16801
+ /**
16802
+ * An alias for the price.
16803
+ */
16804
+ external_price_id?: string | null;
16805
+
16806
+ /**
16807
+ * If the Price represents a fixed cost, this represents the quantity of units
16808
+ * applied.
16809
+ */
16810
+ fixed_price_quantity?: number | null;
16811
+
16812
+ /**
16813
+ * The property used to group this price on an invoice
16814
+ */
16815
+ invoice_grouping_key?: string | null;
16816
+
16817
+ /**
16818
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
16819
+ * If unspecified, a single invoice is produced per billing cycle.
16820
+ */
16821
+ invoicing_cycle_configuration?: NewFloatingCumulativeGroupedBulkPrice.InvoicingCycleConfiguration | null;
16822
+
16823
+ /**
16824
+ * User-specified key/value pairs for the resource. Individual keys can be removed
16825
+ * by setting the value to `null`, and the entire metadata mapping can be cleared
16826
+ * by setting `metadata` to `null`.
16827
+ */
16828
+ metadata?: Record<string, string | null> | null;
16829
+ }
16830
+
16831
+ export namespace NewFloatingCumulativeGroupedBulkPrice {
16832
+ /**
16833
+ * For custom cadence: specifies the duration of the billing period in days or
16834
+ * months.
16835
+ */
16836
+ export interface BillingCycleConfiguration {
16837
+ /**
16838
+ * The duration of the billing period.
16839
+ */
16840
+ duration: number;
16841
+
16842
+ /**
16843
+ * The unit of billing period duration.
16844
+ */
16845
+ duration_unit: 'day' | 'month';
16846
+ }
16847
+
16848
+ /**
16849
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
16850
+ * If unspecified, a single invoice is produced per billing cycle.
16851
+ */
16852
+ export interface InvoicingCycleConfiguration {
16853
+ /**
16854
+ * The duration of the billing period.
16855
+ */
16856
+ duration: number;
16857
+
16858
+ /**
16859
+ * The unit of billing period duration.
16860
+ */
16861
+ duration_unit: 'day' | 'month';
16862
+ }
16863
+ }
16741
16864
  }
16742
16865
 
16743
16866
  export interface AddAdjustment {
@@ -22216,6 +22339,13 @@ export namespace SubscriptionSchedulePlanChangeParams {
22216
22339
  }
22217
22340
 
22218
22341
  export interface SubscriptionTriggerPhaseParams {
22342
+ /**
22343
+ * If false, this request will fail if it would void an issued invoice or create a
22344
+ * credit note. Consider using this as a safety mechanism if you do not expect
22345
+ * existing invoices to be changed.
22346
+ */
22347
+ allow_invoice_credit_or_void?: boolean | null;
22348
+
22219
22349
  /**
22220
22350
  * The date on which the phase change should take effect. If not provided, defaults
22221
22351
  * to today in the customer's timezone.
@@ -22238,6 +22368,13 @@ export interface SubscriptionUpdateFixedFeeQuantityParams {
22238
22368
 
22239
22369
  quantity: number;
22240
22370
 
22371
+ /**
22372
+ * If false, this request will fail if it would void an issued invoice or create a
22373
+ * credit note. Consider using this as a safety mechanism if you do not expect
22374
+ * existing invoices to be changed.
22375
+ */
22376
+ allow_invoice_credit_or_void?: boolean | null;
22377
+
22241
22378
  /**
22242
22379
  * Determines when the change takes effect. Note that if `effective_date` is
22243
22380
  * specified, this defaults to `effective_date`. Otherwise, this defaults to
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '4.56.0'; // x-release-please-version
1
+ export const VERSION = '4.57.0'; // x-release-please-version