@openmeter/client 1.0.0-beta-facf3b09ebaf → 1.0.0-beta-a1c4a5081142
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/dist/models/types.d.ts +2 -2
- package/package.json +1 -1
package/dist/models/types.d.ts
CHANGED
|
@@ -2752,7 +2752,7 @@ export interface RateCard {
|
|
|
2752
2752
|
billing_cadence?: string;
|
|
2753
2753
|
/** The price of the rate card. */
|
|
2754
2754
|
price: PriceFree | PriceFlat | PriceUnit | PriceGraduated | PriceVolume;
|
|
2755
|
-
/** Unit conversion configuration for the rate card. Synthesized on read for plans authored with v1 dynamic or package prices: dynamic prices map to a unit price with a multiply unit config, and package prices map to a unit price with a divide unit config.
|
|
2755
|
+
/** Unit conversion configuration for the rate card. Synthesized on read for plans authored with v1 dynamic or package prices: dynamic prices map to a unit price with a multiply unit config, and package prices map to a unit price with a divide unit config. Accepted on create and update only when the UnitConfig feature is enabled on the deployment; otherwise rejected. */
|
|
2756
2756
|
unit_config?: UnitConfig;
|
|
2757
2757
|
/** The payment term of the rate card. In advance payment term can only be used for flat prices. */
|
|
2758
2758
|
payment_term: 'in_advance' | 'in_arrears';
|
|
@@ -3314,7 +3314,7 @@ export interface RateCardInput {
|
|
|
3314
3314
|
billing_cadence?: string;
|
|
3315
3315
|
/** The price of the rate card. */
|
|
3316
3316
|
price: PriceFree | PriceFlat | PriceUnit | PriceGraduated | PriceVolume;
|
|
3317
|
-
/** Unit conversion configuration for the rate card. Synthesized on read for plans authored with v1 dynamic or package prices: dynamic prices map to a unit price with a multiply unit config, and package prices map to a unit price with a divide unit config.
|
|
3317
|
+
/** Unit conversion configuration for the rate card. Synthesized on read for plans authored with v1 dynamic or package prices: dynamic prices map to a unit price with a multiply unit config, and package prices map to a unit price with a divide unit config. Accepted on create and update only when the UnitConfig feature is enabled on the deployment; otherwise rejected. */
|
|
3318
3318
|
unit_config?: UnitConfigInput;
|
|
3319
3319
|
/** The payment term of the rate card. In advance payment term can only be used for flat prices. */
|
|
3320
3320
|
payment_term?: 'in_advance' | 'in_arrears';
|