@epilot/pricing-client 3.48.0 → 3.48.2

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
@@ -745,17 +745,6 @@ declare namespace Components {
745
745
  * EUR
746
746
  */
747
747
  Currency;
748
- /**
749
- * The price snapshot data.
750
- */
751
- _price?: /* The price snapshot data. */ /**
752
- * The price entity schema for simple pricing
753
- * example:
754
- * {
755
- * "$ref": "#/components/examples/price"
756
- * }
757
- */
758
- Price | /* The composite price entity */ CompositePrice;
759
748
  /**
760
749
  * The taxes applied to the price item.
761
750
  */
@@ -1736,17 +1725,6 @@ declare namespace Components {
1736
1725
  * EUR
1737
1726
  */
1738
1727
  Currency;
1739
- /**
1740
- * The price snapshot data.
1741
- */
1742
- _price?: /* The price snapshot data. */ /**
1743
- * The price entity schema for simple pricing
1744
- * example:
1745
- * {
1746
- * "$ref": "#/components/examples/price"
1747
- * }
1748
- */
1749
- Price | /* The composite price entity */ CompositePrice;
1750
1728
  /**
1751
1729
  * The taxes applied to the price item.
1752
1730
  */
@@ -1852,6 +1830,10 @@ declare namespace Components {
1852
1830
  */
1853
1831
  PriceItem[];
1854
1832
  total_details?: /* The total details with tax (and discount) aggregated totals. */ TotalDetails;
1833
+ /**
1834
+ * The price snapshot data.
1835
+ */
1836
+ _price?: /* The price snapshot data. */ /* The composite price entity */ CompositePrice;
1855
1837
  }
1856
1838
  /**
1857
1839
  * Represents a composite price input to the pricing library.
@@ -4211,17 +4193,6 @@ declare namespace Components {
4211
4193
  * EUR
4212
4194
  */
4213
4195
  Currency;
4214
- /**
4215
- * The price snapshot data.
4216
- */
4217
- _price?: /* The price snapshot data. */ /**
4218
- * The price entity schema for simple pricing
4219
- * example:
4220
- * {
4221
- * "$ref": "#/components/examples/price"
4222
- * }
4223
- */
4224
- Price | /* The composite price entity */ CompositePrice;
4225
4196
  /**
4226
4197
  * The taxes applied to the price item.
4227
4198
  */
@@ -4264,6 +4235,17 @@ declare namespace Components {
4264
4235
  tiers_details?: TierDetails[];
4265
4236
  get_ag?: PriceGetAg;
4266
4237
  dynamic_tariff?: PriceDynamicTariff;
4238
+ /**
4239
+ * The price snapshot data.
4240
+ */
4241
+ _price?: /* The price snapshot data. */ /**
4242
+ * The price entity schema for simple pricing
4243
+ * example:
4244
+ * {
4245
+ * "$ref": "#/components/examples/price"
4246
+ * }
4247
+ */
4248
+ Price;
4267
4249
  }
4268
4250
  /**
4269
4251
  * Represents a price input to the pricing library.
@@ -4943,7 +4925,7 @@ declare namespace Components {
4943
4925
  * Type of product recommendation
4944
4926
  */
4945
4927
  type?: "change" | "cross-sell" | "up-sell";
4946
- offer?: Offer[];
4928
+ offers?: Offer[];
4947
4929
  }
4948
4930
  /**
4949
4931
  * Product recommendations request payload
package/dist/openapi.json CHANGED
@@ -3285,7 +3285,7 @@
3285
3285
  }
3286
3286
  },
3287
3287
  "CompositePrice": {
3288
- "oneOf": [
3288
+ "anyOf": [
3289
3289
  {
3290
3290
  "$ref": "#/components/schemas/NonHydratedCompositePrice"
3291
3291
  },
@@ -5068,6 +5068,14 @@
5068
5068
  "total_details": {
5069
5069
  "$ref": "#/components/schemas/TotalDetails"
5070
5070
  },
5071
+ "_price": {
5072
+ "description": "The price snapshot data.",
5073
+ "anyOf": [
5074
+ {
5075
+ "$ref": "#/components/schemas/CompositePrice"
5076
+ }
5077
+ ]
5078
+ },
5071
5079
  "_coupons": {
5072
5080
  "type": "array",
5073
5081
  "description": "The coupons applicable to the composite price item + related (cashback) amounts",
@@ -5222,17 +5230,6 @@
5222
5230
  "currency": {
5223
5231
  "$ref": "#/components/schemas/Currency"
5224
5232
  },
5225
- "_price": {
5226
- "description": "The price snapshot data.",
5227
- "anyOf": [
5228
- {
5229
- "$ref": "#/components/schemas/Price"
5230
- },
5231
- {
5232
- "$ref": "#/components/schemas/CompositePrice"
5233
- }
5234
- ]
5235
- },
5236
5233
  "taxes": {
5237
5234
  "type": "array",
5238
5235
  "description": "The taxes applied to the price item.",
@@ -5416,6 +5413,14 @@
5416
5413
  },
5417
5414
  "dynamic_tariff": {
5418
5415
  "$ref": "#/components/schemas/PriceDynamicTariff"
5416
+ },
5417
+ "_price": {
5418
+ "description": "The price snapshot data.",
5419
+ "anyOf": [
5420
+ {
5421
+ "$ref": "#/components/schemas/Price"
5422
+ }
5423
+ ]
5419
5424
  }
5420
5425
  },
5421
5426
  "required": [
@@ -6890,7 +6895,7 @@
6890
6895
  "up-sell"
6891
6896
  ]
6892
6897
  },
6893
- "offer": {
6898
+ "offers": {
6894
6899
  "type": "array",
6895
6900
  "items": {
6896
6901
  "$ref": "#/components/schemas/Offer"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.48.0",
3
+ "version": "3.48.2",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",