Skip to content

Commit e813a96

Browse files
committed
feat: update resources to schema v7.9.8
1 parent 7dcc72a commit e813a96

File tree

8 files changed

+151
-57
lines changed

8 files changed

+151
-57
lines changed

gen/openapi.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.1.0",
33
"info": {
44
"title": "Commerce Layer API",
5-
"version": "7.9.6",
5+
"version": "7.9.8",
66
"contact": {
77
"name": "API Support",
88
"url": "https://commercelayer.io",
@@ -80819,6 +80819,11 @@
8081980819
"description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.",
8082080820
"example": true
8082180821
},
80822+
"_reset_restocked_quantity": {
80823+
"type": "boolean",
80824+
"description": "Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.",
80825+
"example": true
80826+
},
8082280827
"unit_amount_cents": {
8082380828
"type": "integer",
8082480829
"description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.",
@@ -81095,6 +81100,12 @@
8109581100
"example": true,
8109681101
"nullable": false
8109781102
},
81103+
"_reset_restocked_quantity": {
81104+
"type": "boolean",
81105+
"description": "Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.",
81106+
"example": true,
81107+
"nullable": false
81108+
},
8109881109
"unit_amount_cents": {
8109981110
"type": "integer",
8110081111
"description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.",
@@ -94631,6 +94642,12 @@
9463194642
"example": 5000,
9463294643
"nullable": true
9463394644
},
94645+
"addresses_avs_check": {
94646+
"type": "boolean",
94647+
"description": "Indicates if AVS checking will be enforced during payment workflow by passing specific attributes, default is true.",
94648+
"example": true,
94649+
"nullable": true
94650+
},
9463494651
"addresses_phone_required": {
9463594652
"type": "boolean",
9463694653
"description": "Indicates if the phone attribute is required for addresses, default is true.",
@@ -94697,6 +94714,12 @@
9469794714
"example": true,
9469894715
"nullable": true
9469994716
},
94717+
"orders_validate_shipping_stock": {
94718+
"type": "boolean",
94719+
"description": "Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.",
94720+
"example": false,
94721+
"nullable": true
94722+
},
9470094723
"bundles_max_items_count": {
9470194724
"type": "integer",
9470294725
"description": "The maximum number of SKUs allowed for bundles, default is 10.",
@@ -94841,6 +94864,12 @@
9484194864
"example": false,
9484294865
"nullable": true
9484394866
},
94867+
"external_prices_errors": {
94868+
"type": "boolean",
94869+
"description": "Enables raising of API errors in case of external price failure, default is true.",
94870+
"example": true,
94871+
"nullable": true
94872+
},
9484494873
"created_at": {
9484594874
"type": "string",
9484694875
"description": "Time at which the resource was created.",

gen/resources.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23589,6 +23589,17 @@
2358923589
"sortable": false,
2359023590
"example": "true"
2359123591
},
23592+
"orders_validate_shipping_stock": {
23593+
"type": "boolean",
23594+
"default": false,
23595+
"desc": "Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.",
23596+
"creatable": false,
23597+
"updatable": false,
23598+
"fetchable": true,
23599+
"filterable": false,
23600+
"sortable": false,
23601+
"example": "false"
23602+
},
2359223603
"bundles_max_items_count": {
2359323604
"type": "integer",
2359423605
"default": 10,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@semantic-release/git": "^10.0.1",
4343
"@types/debug": "^4.1.12",
4444
"@types/jest": "^29.5.14",
45-
"@types/node": "^24.7.0",
45+
"@types/node": "^24.7.2",
4646
"dotenv": "^16.6.1",
4747
"eslint": "^8.57.1",
4848
"jest": "^29.7.0",

0 commit comments

Comments
 (0)