Skip to content

Commit

Permalink
feat: update resources to schema v4.20.0 (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti authored Nov 29, 2023
1 parent a85bb9e commit 2776d61
Show file tree
Hide file tree
Showing 5 changed files with 1,444 additions and 421 deletions.
12 changes: 9 additions & 3 deletions gen/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "Commerce Layer API",
"version": "4.19.0",
"version": "4.20.0",
"contact": {
"name": "API Support",
"url": "https://commercelayer.io",
Expand Down Expand Up @@ -64846,6 +64846,12 @@
"example": 4,
"nullable": false
},
"_external_price": {
"type": "boolean",
"description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
"example": true,
"nullable": true
},
"currency_code": {
"type": "string",
"description": "The international 3-letter currency code as defined by the ISO 4217 standard, automatically inherited from the order's market.",
Expand Down Expand Up @@ -65413,7 +65419,7 @@
},
"_external_price": {
"type": "boolean",
"description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source.",
"description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
"example": true
},
"_update_quantity": {
Expand Down Expand Up @@ -65719,7 +65725,7 @@
},
"_external_price": {
"type": "boolean",
"description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source.",
"description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
"example": true,
"nullable": false
},
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.8",
"@types/lodash": "^4.14.201",
"@types/node": "^20.9.1",
"@types/jest": "^29.5.10",
"@types/lodash": "^4.14.202",
"@types/node": "^20.10.0",
"dotenv": "^16.3.1",
"eslint": "^8.53.0",
"eslint": "^8.54.0",
"inflector-js": "^1.0.1",
"jest": "^29.7.0",
"json-typescript": "^1.1.2",
Expand All @@ -56,7 +56,7 @@
"minimize-js": "^1.4.0",
"semantic-release": "^22.0.8",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"typescript": "^5.3.2"
},
"repository": "github:commercelayer/commercelayer-sdk",
"bugs": "https://github.com/commercelayer/commercelayer-sdk/issues",
Expand Down
Loading

0 comments on commit 2776d61

Please sign in to comment.