@epilot/pricing-client 3.47.7 → 3.47.8

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/openapi.d.ts CHANGED
@@ -456,6 +456,10 @@ declare namespace Components {
456
456
  * The id of the price.
457
457
  */
458
458
  price_id?: string;
459
+ /**
460
+ * The flag for prices that contain price components.
461
+ */
462
+ is_composite_price?: boolean;
459
463
  /**
460
464
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
461
465
  */
@@ -744,6 +748,10 @@ declare namespace Components {
744
748
  * The id of the price.
745
749
  */
746
750
  price_id?: string;
751
+ /**
752
+ * The flag for prices that contain price components.
753
+ */
754
+ is_composite_price?: boolean;
747
755
  /**
748
756
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
749
757
  */
@@ -897,6 +905,10 @@ declare namespace Components {
897
905
  * The id of the price.
898
906
  */
899
907
  price_id?: string;
908
+ /**
909
+ * The flag for prices that contain price components.
910
+ */
911
+ is_composite_price?: boolean;
900
912
  /**
901
913
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
902
914
  */
@@ -1552,6 +1564,10 @@ declare namespace Components {
1552
1564
  * The id of the price.
1553
1565
  */
1554
1566
  price_id?: string;
1567
+ /**
1568
+ * The flag for prices that contain price components.
1569
+ */
1570
+ is_composite_price?: boolean;
1555
1571
  /**
1556
1572
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
1557
1573
  */
@@ -1852,6 +1868,10 @@ declare namespace Components {
1852
1868
  * The id of the price.
1853
1869
  */
1854
1870
  price_id?: string;
1871
+ /**
1872
+ * The flag for prices that contain price components.
1873
+ */
1874
+ is_composite_price?: true;
1855
1875
  /**
1856
1876
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
1857
1877
  */
@@ -2015,10 +2035,6 @@ declare namespace Components {
2015
2035
  * The coupons applicable to the price item
2016
2036
  */
2017
2037
  _coupons?: (CouponItem)[];
2018
- /**
2019
- * The flag for prices that contain price components.
2020
- */
2021
- is_composite_price?: true;
2022
2038
  /**
2023
2039
  * Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
2024
2040
  */
@@ -3823,6 +3839,10 @@ declare namespace Components {
3823
3839
  * The id of the price.
3824
3840
  */
3825
3841
  price_id?: string;
3842
+ /**
3843
+ * The flag for prices that contain price components.
3844
+ */
3845
+ is_composite_price?: boolean;
3826
3846
  /**
3827
3847
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
3828
3848
  */
@@ -4133,6 +4153,10 @@ declare namespace Components {
4133
4153
  * The id of the price.
4134
4154
  */
4135
4155
  price_id?: string;
4156
+ /**
4157
+ * The flag for prices that contain price components.
4158
+ */
4159
+ is_composite_price?: false;
4136
4160
  /**
4137
4161
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
4138
4162
  */
@@ -4324,10 +4348,6 @@ declare namespace Components {
4324
4348
  * The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
4325
4349
  */
4326
4350
  unit_amount_decimal?: string;
4327
- /**
4328
- * The flag for prices that contain price components.
4329
- */
4330
- is_composite_price?: false;
4331
4351
  /**
4332
4352
  * Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.
4333
4353
  * - `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity
package/dist/openapi.json CHANGED
@@ -4357,6 +4357,10 @@
4357
4357
  "type": "string",
4358
4358
  "description": "The id of the price."
4359
4359
  },
4360
+ "is_composite_price": {
4361
+ "description": "The flag for prices that contain price components.",
4362
+ "type": "boolean"
4363
+ },
4360
4364
  "description": {
4361
4365
  "type": "string",
4362
4366
  "description": "An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.47.7",
3
+ "version": "3.47.8",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",