@epilot/pricing-client 3.11.3-0 → 3.12.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/openapi.d.ts CHANGED
@@ -2412,6 +2412,17 @@ declare namespace Components {
2412
2412
  * Total of all items taxes, with same recurrence.
2413
2413
  */
2414
2414
  amount_tax?: number;
2415
+ /**
2416
+ * Currency
2417
+ */
2418
+ currency?: /**
2419
+ * Three-letter ISO currency code, in lowercase. Must be a supported currency.
2420
+ * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
2421
+ *
2422
+ * example:
2423
+ * EUR
2424
+ */
2425
+ Currency;
2415
2426
  }
2416
2427
  /**
2417
2428
  * An amount associated with a specific recurrence.
package/dist/openapi.json CHANGED
@@ -2885,6 +2885,10 @@
2885
2885
  "amount_tax": {
2886
2886
  "type": "integer",
2887
2887
  "description": "Total of all items taxes, with same recurrence."
2888
+ },
2889
+ "currency": {
2890
+ "$ref": "#/components/schemas/Currency",
2891
+ "description": "Currency"
2888
2892
  }
2889
2893
  },
2890
2894
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.11.3-0",
3
+ "version": "3.12.0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,7 +23,8 @@
23
23
  "scripts": {
24
24
  "test": "jest",
25
25
  "bundle-definition": "webpack",
26
- "openapi": "node ../../scripts/update-openapi.js /Users/juanjoseguevara/Desktop/code/pricing-api/lambda/ApiHandlerFunction/openapi.yml",
26
+ "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/pricing-api.yaml",
27
+ "openapi:local": "node ../../scripts/update-openapi.js ../../../pricing-api/lambda/ApiHandlerFunction/openapi.yml",
27
28
  "typegen": "echo '/* eslint-disable */' > src/openapi.d.ts && typegen ./src/openapi.json >> src/openapi.d.ts",
28
29
  "build": "tsc && npm run bundle-definition",
29
30
  "build:watch": "npm run build && tsc -w",