@epilot/pricing-client 2.2.1 → 2.3.1

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
@@ -800,6 +800,7 @@ declare namespace Components {
800
800
  * }
801
801
  */
802
802
  PriceItem[];
803
+ total_details?: /* The total details with tax (and discount) aggregated totals. */ TotalDetails;
803
804
  }
804
805
  /**
805
806
  * Represents a composite price input to the pricing library.
@@ -2195,7 +2196,14 @@ declare namespace Components {
2195
2196
  * "$ref": "#/components/examples/price-item"
2196
2197
  * }
2197
2198
  */
2198
- PriceItem)[];
2199
+ PriceItem | /**
2200
+ * Represents a composite price input to the pricing library.
2201
+ * example:
2202
+ * {
2203
+ * "$ref": "#/components/examples/price-item"
2204
+ * }
2205
+ */
2206
+ CompositePriceItem)[];
2199
2207
  /**
2200
2208
  * Total of all items before (discounts or) taxes are applied.
2201
2209
  */
package/dist/openapi.json CHANGED
@@ -2458,6 +2458,9 @@
2458
2458
  "items": {
2459
2459
  "$ref": "#/components/schemas/PriceItem"
2460
2460
  }
2461
+ },
2462
+ "total_details": {
2463
+ "$ref": "#/components/schemas/TotalDetails"
2461
2464
  }
2462
2465
  }
2463
2466
  },
@@ -2731,6 +2734,9 @@
2731
2734
  "oneOf": [
2732
2735
  {
2733
2736
  "$ref": "#/components/schemas/PriceItem"
2737
+ },
2738
+ {
2739
+ "$ref": "#/components/schemas/CompositePriceItem"
2734
2740
  }
2735
2741
  ]
2736
2742
  }