Skip to content

Commit

Permalink
chore: add currency to recurrence amount + bump pricing-client version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Marques committed Sep 13, 2023
1 parent 3c9fe90 commit 1d5beee
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clients/pricing-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/pricing-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epilot/pricing-client",
"version": "3.11.3",
"version": "3.12.0",
"description": "Client for epilot Pricing APIs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
11 changes: 11 additions & 0 deletions clients/pricing-client/src/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2412,6 +2412,17 @@ declare namespace Components {
* Total of all items taxes, with same recurrence.
*/
amount_tax?: number;
/**
* Currency
*/
currency?: /**
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
* ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
*
* example:
* EUR
*/
Currency;
}
/**
* An amount associated with a specific recurrence.
Expand Down
4 changes: 4 additions & 0 deletions clients/pricing-client/src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2885,6 +2885,10 @@
"amount_tax": {
"type": "integer",
"description": "Total of all items taxes, with same recurrence."
},
"currency": {
"$ref": "#/components/schemas/Currency",
"description": "Currency"
}
},
"required": [
Expand Down

0 comments on commit 1d5beee

Please sign in to comment.