@epilot/pricing-client 2.1.7 → 2.2.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.
package/dist/index.js CHANGED
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
package/dist/openapi.d.ts CHANGED
@@ -262,6 +262,22 @@ declare namespace Components {
262
262
  * The quantity of products being purchased.
263
263
  */
264
264
  quantity?: number;
265
+ price_mappings?: /**
266
+ * example:
267
+ * [
268
+ * {
269
+ * "price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
270
+ * "frequency_unit": "weekly",
271
+ * "value": 1000.245,
272
+ * "name": "avg consumption",
273
+ * "metadata": {
274
+ * "journey_title": "energy journey",
275
+ * "step_name": "avg consumption picker"
276
+ * }
277
+ * }
278
+ * ]
279
+ */
280
+ PriceInputMappings;
265
281
  /**
266
282
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
267
283
  */
@@ -756,6 +772,22 @@ declare namespace Components {
756
772
  * The quantity of products being purchased.
757
773
  */
758
774
  quantity?: number;
775
+ price_mappings?: /**
776
+ * example:
777
+ * [
778
+ * {
779
+ * "price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
780
+ * "frequency_unit": "weekly",
781
+ * "value": 1000.245,
782
+ * "name": "avg consumption",
783
+ * "metadata": {
784
+ * "journey_title": "energy journey",
785
+ * "step_name": "avg consumption picker"
786
+ * }
787
+ * }
788
+ * ]
789
+ */
790
+ PriceInputMappings;
759
791
  /**
760
792
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
761
793
  */
@@ -1319,7 +1351,7 @@ declare namespace Components {
1319
1351
  *
1320
1352
  */
1321
1353
  OrderStatus;
1322
- line_items?: /* Tracks a set of product prices, quantities, (discounts) and taxes. */ PriceItems;
1354
+ line_items?: /* A valid set of product prices, quantities, (discounts) and taxes from a client. */ PriceItemsDto;
1323
1355
  /**
1324
1356
  * type of source, e.g. journey or manual
1325
1357
  * example:
@@ -1549,6 +1581,14 @@ declare namespace Components {
1549
1581
  * The renewal period duration unit
1550
1582
  */
1551
1583
  renewal_duration_unit?: "weeks" | "months" | "years";
1584
+ /**
1585
+ * The flag for prices that can be influenced by external variables such as user input.
1586
+ */
1587
+ variable_price?: boolean;
1588
+ /**
1589
+ * The unit of measurement used for display purposes and possibly for calculations when the price is variable.
1590
+ */
1591
+ unit?: /* The unit of measurement used for display purposes and possibly for calculations when the price is variable. */ ("kw" | "kwh" | "m" | "m2" | "l") | string;
1552
1592
  /**
1553
1593
  * The price creation date
1554
1594
  */
@@ -1590,6 +1630,57 @@ declare namespace Components {
1590
1630
  */
1591
1631
  _tags?: string[];
1592
1632
  }
1633
+ /**
1634
+ * example:
1635
+ * {
1636
+ * "price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
1637
+ * "frequency_unit": "weekly",
1638
+ * "value": 1000.245,
1639
+ * "name": "avg consumption",
1640
+ * "metadata": {
1641
+ * "journey_title": "energy journey",
1642
+ * "step_name": "avg consumption picker"
1643
+ * }
1644
+ * }
1645
+ */
1646
+ export interface PriceInputMapping {
1647
+ price_id?: string;
1648
+ frequency_unit?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly" | "one_time";
1649
+ name?: string;
1650
+ value?: number;
1651
+ metadata?: {
1652
+ [name: string]: string;
1653
+ };
1654
+ }
1655
+ /**
1656
+ * example:
1657
+ * [
1658
+ * {
1659
+ * "price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
1660
+ * "frequency_unit": "weekly",
1661
+ * "value": 1000.245,
1662
+ * "name": "avg consumption",
1663
+ * "metadata": {
1664
+ * "journey_title": "energy journey",
1665
+ * "step_name": "avg consumption picker"
1666
+ * }
1667
+ * }
1668
+ * ]
1669
+ */
1670
+ export type PriceInputMappings = /**
1671
+ * example:
1672
+ * {
1673
+ * "price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
1674
+ * "frequency_unit": "weekly",
1675
+ * "value": 1000.245,
1676
+ * "name": "avg consumption",
1677
+ * "metadata": {
1678
+ * "journey_title": "energy journey",
1679
+ * "step_name": "avg consumption picker"
1680
+ * }
1681
+ * }
1682
+ */
1683
+ PriceInputMapping[];
1593
1684
  /**
1594
1685
  * Represents a price item
1595
1686
  * example:
@@ -1703,6 +1794,22 @@ declare namespace Components {
1703
1794
  * The quantity of products being purchased.
1704
1795
  */
1705
1796
  quantity?: number;
1797
+ price_mappings?: /**
1798
+ * example:
1799
+ * [
1800
+ * {
1801
+ * "price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
1802
+ * "frequency_unit": "weekly",
1803
+ * "value": 1000.245,
1804
+ * "name": "avg consumption",
1805
+ * "metadata": {
1806
+ * "journey_title": "energy journey",
1807
+ * "step_name": "avg consumption picker"
1808
+ * }
1809
+ * }
1810
+ * ]
1811
+ */
1812
+ PriceInputMappings;
1706
1813
  /**
1707
1814
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
1708
1815
  */
@@ -1967,6 +2074,14 @@ declare namespace Components {
1967
2074
  * The renewal period duration unit
1968
2075
  */
1969
2076
  renewal_duration_unit?: "weeks" | "months" | "years";
2077
+ /**
2078
+ * The flag for prices that can be influenced by external variables such as user input.
2079
+ */
2080
+ variable_price?: boolean;
2081
+ /**
2082
+ * The unit of measurement used for display purposes and possibly for calculations when the price is variable.
2083
+ */
2084
+ unit?: /* The unit of measurement used for display purposes and possibly for calculations when the price is variable. */ ("kw" | "kwh" | "m" | "m2" | "l") | string;
1970
2085
  /**
1971
2086
  * The price creation date
1972
2087
  */
package/dist/openapi.json CHANGED
@@ -191,6 +191,147 @@
191
191
  }
192
192
  ]
193
193
  }
194
+ },
195
+ "Order with Simple Prices and Dynamic Pricing": {
196
+ "value": {
197
+ "status": "quote",
198
+ "source_type": "manual",
199
+ "expires_at": "2022-06-30T16:17:00.000Z",
200
+ "line_items": [
201
+ {
202
+ "price_id": "632b18b5-3f50-4231-b8d5-f8c33a392ed0",
203
+ "product_id": "3d1c9987-a7ae-4c1c-a7ef-e12caccab4e0",
204
+ "price_mappings": [
205
+ {
206
+ "price_id": "632b18b5-3f50-4231-b8d5-f8c33a392ed0",
207
+ "frequency_unit": "yearly",
208
+ "value": 12000,
209
+ "name": "Estimated consumption",
210
+ "metadata": {
211
+ "journey_title": "P&G",
212
+ "step_name": "Number Inputs"
213
+ }
214
+ }
215
+ ],
216
+ "quantity": 16
217
+ }
218
+ ],
219
+ "currency": "EUR",
220
+ "payment_method": [
221
+ {
222
+ "type": "IBAN",
223
+ "details": {}
224
+ }
225
+ ],
226
+ "billing_contact": {
227
+ "$relation": [
228
+ {
229
+ "entity_id": "1834a54e-b68f-4f7f-a98a-fe16f11bc2a5",
230
+ "_tags": []
231
+ }
232
+ ]
233
+ },
234
+ "billing_first_name": "Joao",
235
+ "billing_last_name": "Pinho",
236
+ "billing_email": "j.pinho@epilot.cloud",
237
+ "billing_company_name": "epilot cloud",
238
+ "billing_address": [
239
+ {
240
+ "_tags": [],
241
+ "street": "Im Media Park",
242
+ "street_number": "8a",
243
+ "postal_code": "52000",
244
+ "city": "Cologne",
245
+ "country": "DE",
246
+ "additional_info": ""
247
+ }
248
+ ],
249
+ "delivery_address": [],
250
+ "dates": [
251
+ {
252
+ "_tags": [
253
+ "Instalation Date"
254
+ ],
255
+ "dates": "",
256
+ "value": "2022-06-30T16:29:00.000Z"
257
+ }
258
+ ]
259
+ }
260
+ },
261
+ "Order with Composite Prices and Dynamic Pricing": {
262
+ "value": {
263
+ "status": "quote",
264
+ "source_type": "manual",
265
+ "expires_at": "2022-06-30T16:17:00.000Z",
266
+ "line_items": [
267
+ {
268
+ "price_id": "b3900bf3-020c-4c58-8af9-32f2682929e3",
269
+ "product_id": "924f6881-7ae3-4e2e-a1dd-2d81b8fa2e32",
270
+ "price_mappings": [
271
+ {
272
+ "price_id": "6dc88d6f-ba33-45ee-b5d0-62641344a0d9",
273
+ "frequency_unit": "yearly",
274
+ "value": 12000,
275
+ "name": "Estimated consumption",
276
+ "metadata": {
277
+ "journey_title": "P&G",
278
+ "step_name": "Number Inputs"
279
+ }
280
+ },
281
+ {
282
+ "price_id": "60eb12cd-703d-4d41-9265-577ff657bfc9",
283
+ "value": 10,
284
+ "name": "Distance to power meter",
285
+ "metadata": {
286
+ "journey_title": "P&G",
287
+ "step_name": "Number Inputs"
288
+ }
289
+ }
290
+ ],
291
+ "quantity": 1
292
+ }
293
+ ],
294
+ "currency": "EUR",
295
+ "payment_method": [
296
+ {
297
+ "type": "IBAN",
298
+ "details": {}
299
+ }
300
+ ],
301
+ "billing_contact": {
302
+ "$relation": [
303
+ {
304
+ "entity_id": "1834a54e-b68f-4f7f-a98a-fe16f11bc2a5",
305
+ "_tags": []
306
+ }
307
+ ]
308
+ },
309
+ "billing_first_name": "Joao",
310
+ "billing_last_name": "Pinho",
311
+ "billing_email": "j.pinho@epilot.cloud",
312
+ "billing_company_name": "epilot cloud",
313
+ "billing_address": [
314
+ {
315
+ "_tags": [],
316
+ "street": "Im Media Park",
317
+ "street_number": "8a",
318
+ "postal_code": "52000",
319
+ "city": "Cologne",
320
+ "country": "DE",
321
+ "additional_info": ""
322
+ }
323
+ ],
324
+ "delivery_address": [],
325
+ "dates": [
326
+ {
327
+ "_tags": [
328
+ "Instalation Date"
329
+ ],
330
+ "dates": "",
331
+ "value": "2022-06-30T16:29:00.000Z"
332
+ }
333
+ ]
334
+ }
194
335
  }
195
336
  },
196
337
  "schema": {
@@ -1415,6 +1556,30 @@
1415
1556
  "years"
1416
1557
  ]
1417
1558
  },
1559
+ "variable_price": {
1560
+ "description": "The flag for prices that can be influenced by external variables such as user input.",
1561
+ "type": "boolean"
1562
+ },
1563
+ "unit": {
1564
+ "description": "The unit of measurement used for display purposes and possibly for calculations when the price is variable.",
1565
+ "anyOf": [
1566
+ {
1567
+ "type": "string",
1568
+ "description": "built-in units",
1569
+ "enum": [
1570
+ "kw",
1571
+ "kwh",
1572
+ "m",
1573
+ "m2",
1574
+ "l"
1575
+ ]
1576
+ },
1577
+ {
1578
+ "type": "string",
1579
+ "description": "user custom unit"
1580
+ }
1581
+ ]
1582
+ },
1418
1583
  "_created_at": {
1419
1584
  "description": "The price creation date",
1420
1585
  "type": "string"
@@ -1566,6 +1731,65 @@
1566
1731
  ]
1567
1732
  }
1568
1733
  },
1734
+ "PriceInputMappings": {
1735
+ "type": "array",
1736
+ "items": {
1737
+ "$ref": "#/components/schemas/PriceInputMapping"
1738
+ },
1739
+ "example": [
1740
+ {
1741
+ "price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
1742
+ "frequency_unit": "weekly",
1743
+ "value": 1000.245,
1744
+ "name": "avg consumption",
1745
+ "metadata": {
1746
+ "journey_title": "energy journey",
1747
+ "step_name": "avg consumption picker"
1748
+ }
1749
+ }
1750
+ ]
1751
+ },
1752
+ "PriceInputMapping": {
1753
+ "type": "object",
1754
+ "properties": {
1755
+ "price_id": {
1756
+ "type": "string"
1757
+ },
1758
+ "frequency_unit": {
1759
+ "type": "string",
1760
+ "enum": [
1761
+ "weekly",
1762
+ "monthly",
1763
+ "every_quarter",
1764
+ "every_6_months",
1765
+ "yearly",
1766
+ "one_time"
1767
+ ]
1768
+ },
1769
+ "name": {
1770
+ "type": "string"
1771
+ },
1772
+ "value": {
1773
+ "type": "number"
1774
+ },
1775
+ "metadata": {
1776
+ "type": "object",
1777
+ "additionalProperties": {
1778
+ "type": "string"
1779
+ }
1780
+ }
1781
+ },
1782
+ "example": {
1783
+ "price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
1784
+ "frequency_unit": "weekly",
1785
+ "value": 1000.245,
1786
+ "name": "avg consumption",
1787
+ "metadata": {
1788
+ "journey_title": "energy journey",
1789
+ "step_name": "avg consumption picker"
1790
+ }
1791
+ }
1792
+ },
1569
1793
  "CatalogSearch": {
1570
1794
  "description": "A catalog search payload",
1571
1795
  "type": "object",
@@ -1867,6 +2091,9 @@
1867
2091
  "type": "integer",
1868
2092
  "description": "The quantity of products being purchased."
1869
2093
  },
2094
+ "price_mappings": {
2095
+ "$ref": "#/components/schemas/PriceInputMappings"
2096
+ },
1870
2097
  "description": {
1871
2098
  "type": "string",
1872
2099
  "description": "An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name."
@@ -2142,7 +2369,7 @@
2142
2369
  "$ref": "#/components/schemas/OrderStatus"
2143
2370
  },
2144
2371
  "line_items": {
2145
- "$ref": "#/components/schemas/PriceItems"
2372
+ "$ref": "#/components/schemas/PriceItemsDto"
2146
2373
  },
2147
2374
  "source_type": {
2148
2375
  "type": "string",
@@ -2973,12 +3200,6 @@
2973
3200
  "value": {
2974
3201
  "mode": "create_order",
2975
3202
  "cart": {
2976
- "metadata": [
2977
- {
2978
- "key": "journey-id",
2979
- "value": "8d0a2235-97ce-42d0-88a3-e374634ca44e"
2980
- }
2981
- ],
2982
3203
  "customer": {
2983
3204
  "first_name": "john",
2984
3205
  "last_name": "doe",
@@ -3005,20 +3226,15 @@
3005
3226
  },
3006
3227
  "line_items": [
3007
3228
  {
3008
- "quantity": 1,
3009
- "product": "b7185fb7-b10f-4875-bda7-288631446555",
3010
- "price": "df240bab-9f71-4a9a-a9e1-59f18827dbf9"
3229
+ "quantity": 3,
3230
+ "product_id": "b7185fb7-b10f-4875-bda7-288631446555",
3231
+ "price_id": "df240bab-9f71-4a9a-a9e1-59f18827dbf9"
3011
3232
  },
3012
3233
  {
3013
- "quantity": 1,
3014
- "product": "zzzzzz-b10f-4875-bda7-288631446555",
3015
- "price": "zzzzz-9f71-4a9a-a9e1-59f18827dbf9"
3234
+ "quantity": 2,
3235
+ "product_id": "607d2952-8f3e-484f-a82b-4880528b7f55",
3236
+ "price_id": "7b028fdf-0b0a-4077-a8f1-d0cbbd14b7cf"
3016
3237
  }
3017
- ],
3018
- "files": [
3019
- "xf240bab-9f71-4a9a-a9e1-59f18827dbf9",
3020
- "yf240bab-9f71-4a9a-a9e1-59f18827dbf9",
3021
- "zf240bab-9f71-4a9a-a9e1-59f18827dbf9"
3022
3238
  ]
3023
3239
  }
3024
3240
  }
package/package-lock.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "2.1.7",
3
+ "version": "2.2.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@epilot/pricing-client",
9
- "version": "2.1.5",
9
+ "version": "2.1.8",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
+ "@dazn/lambda-powertools-correlation-ids": "^1.28.1",
12
13
  "buffer": "^6.0.3",
13
14
  "https-browserify": "^1.0.0",
14
- "openapi-client-axios": "^5.1.1",
15
+ "openapi-client-axios": "^5.3.0",
15
16
  "stream-http": "^3.1.1",
16
17
  "url": "^0.11.0",
17
18
  "util": "^0.12.3"
@@ -590,6 +591,11 @@
590
591
  "node": ">=0.1.95"
591
592
  }
592
593
  },
594
+ "node_modules/@dazn/lambda-powertools-correlation-ids": {
595
+ "version": "1.28.1",
596
+ "resolved": "https://registry.npmjs.org/@dazn/lambda-powertools-correlation-ids/-/lambda-powertools-correlation-ids-1.28.1.tgz",
597
+ "integrity": "sha512-/RZUT5ZlVcQxsWi+OolEwXUIsXHqffNeZ+eY4Je23s9VcztuqHuHeyrlJh1m5Kg76EsvQTq+5b1xvjf3J/6A1Q=="
598
+ },
593
599
  "node_modules/@discoveryjs/json-ext": {
594
600
  "version": "0.5.2",
595
601
  "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.2.tgz",
@@ -7216,14 +7222,14 @@
7216
7222
  }
7217
7223
  },
7218
7224
  "node_modules/openapi-client-axios": {
7219
- "version": "5.1.2",
7220
- "resolved": "https://registry.npmjs.org/openapi-client-axios/-/openapi-client-axios-5.1.2.tgz",
7221
- "integrity": "sha512-asLM6/X34tLvl+cjHFt20r+hfzOr6b/ktignqR+33bm30kCsXP/mmhYRkFjXKN79dGyqplv+qk0HMdGNaVOCig==",
7225
+ "version": "5.3.0",
7226
+ "resolved": "https://registry.npmjs.org/openapi-client-axios/-/openapi-client-axios-5.3.0.tgz",
7227
+ "integrity": "sha512-8DaXw/Lms0EUE0MUW8c4G4EjBnbyAoGSgjqaorSBpkleZB26+h3XDqZWvsHaL0oohAe0f7yLhXd96iVFu+6MzA==",
7222
7228
  "dependencies": {
7223
7229
  "@apidevtools/json-schema-ref-parser": "^9.0.7",
7224
7230
  "bath-es5": "^3.0.3",
7225
7231
  "copy-anything": "^3.0.2",
7226
- "openapi-types": "^10.0.0"
7232
+ "openapi-types": "^12.0.2"
7227
7233
  },
7228
7234
  "peerDependencies": {
7229
7235
  "axios": "^0.25.0",
@@ -7321,9 +7327,9 @@
7321
7327
  }
7322
7328
  },
7323
7329
  "node_modules/openapi-client-axios/node_modules/openapi-types": {
7324
- "version": "10.0.0",
7325
- "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-10.0.0.tgz",
7326
- "integrity": "sha512-Y8xOCT2eiKGYDzMW9R4x5cmfc3vGaaI4EL2pwhDmodWw1HlK18YcZ4uJxc7Rdp7/gGzAygzH9SXr6GKYIXbRcQ=="
7330
+ "version": "12.0.2",
7331
+ "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.0.2.tgz",
7332
+ "integrity": "sha512-GuTo7FyZjOIWVhIhQSWJVaws6A82sWIGyQogxxYBYKZ0NBdyP2CYSIgOwFfSB+UVoPExk/YzFpyYitHS8KVZtA=="
7327
7333
  },
7328
7334
  "node_modules/openapi-schema-validator": {
7329
7335
  "version": "7.2.3",
@@ -11211,6 +11217,11 @@
11211
11217
  "minimist": "^1.2.0"
11212
11218
  }
11213
11219
  },
11220
+ "@dazn/lambda-powertools-correlation-ids": {
11221
+ "version": "1.28.1",
11222
+ "resolved": "https://registry.npmjs.org/@dazn/lambda-powertools-correlation-ids/-/lambda-powertools-correlation-ids-1.28.1.tgz",
11223
+ "integrity": "sha512-/RZUT5ZlVcQxsWi+OolEwXUIsXHqffNeZ+eY4Je23s9VcztuqHuHeyrlJh1m5Kg76EsvQTq+5b1xvjf3J/6A1Q=="
11224
+ },
11214
11225
  "@discoveryjs/json-ext": {
11215
11226
  "version": "0.5.2",
11216
11227
  "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.2.tgz",
@@ -16459,20 +16470,20 @@
16459
16470
  }
16460
16471
  },
16461
16472
  "openapi-client-axios": {
16462
- "version": "5.1.2",
16463
- "resolved": "https://registry.npmjs.org/openapi-client-axios/-/openapi-client-axios-5.1.2.tgz",
16464
- "integrity": "sha512-asLM6/X34tLvl+cjHFt20r+hfzOr6b/ktignqR+33bm30kCsXP/mmhYRkFjXKN79dGyqplv+qk0HMdGNaVOCig==",
16473
+ "version": "5.3.0",
16474
+ "resolved": "https://registry.npmjs.org/openapi-client-axios/-/openapi-client-axios-5.3.0.tgz",
16475
+ "integrity": "sha512-8DaXw/Lms0EUE0MUW8c4G4EjBnbyAoGSgjqaorSBpkleZB26+h3XDqZWvsHaL0oohAe0f7yLhXd96iVFu+6MzA==",
16465
16476
  "requires": {
16466
16477
  "@apidevtools/json-schema-ref-parser": "^9.0.7",
16467
16478
  "bath-es5": "^3.0.3",
16468
16479
  "copy-anything": "^3.0.2",
16469
- "openapi-types": "^10.0.0"
16480
+ "openapi-types": "^12.0.2"
16470
16481
  },
16471
16482
  "dependencies": {
16472
16483
  "openapi-types": {
16473
- "version": "10.0.0",
16474
- "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-10.0.0.tgz",
16475
- "integrity": "sha512-Y8xOCT2eiKGYDzMW9R4x5cmfc3vGaaI4EL2pwhDmodWw1HlK18YcZ4uJxc7Rdp7/gGzAygzH9SXr6GKYIXbRcQ=="
16484
+ "version": "12.0.2",
16485
+ "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.0.2.tgz",
16486
+ "integrity": "sha512-GuTo7FyZjOIWVhIhQSWJVaws6A82sWIGyQogxxYBYKZ0NBdyP2CYSIgOwFfSB+UVoPExk/YzFpyYitHS8KVZtA=="
16476
16487
  }
16477
16488
  }
16478
16489
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "2.1.7",
3
+ "version": "2.2.0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -47,9 +47,10 @@
47
47
  "axios": "^0.25.0"
48
48
  },
49
49
  "dependencies": {
50
+ "@dazn/lambda-powertools-correlation-ids": "^1.28.1",
50
51
  "buffer": "^6.0.3",
51
52
  "https-browserify": "^1.0.0",
52
- "openapi-client-axios": "^5.1.1",
53
+ "openapi-client-axios": "^5.3.0",
53
54
  "stream-http": "^3.1.1",
54
55
  "url": "^0.11.0",
55
56
  "util": "^0.12.3"
@@ -68,6 +69,5 @@
68
69
  "typescript": "^4.1.3",
69
70
  "webpack": "~5.18.0",
70
71
  "webpack-cli": "^4.4.0"
71
- },
72
- "gitHead": "285be30355d9fb0f7bcad0a07bfbff219268b6d4"
72
+ }
73
73
  }