Skip to content

Commit

Permalink
feat: update resources to schema v5.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Jun 20, 2024
1 parent 466936d commit 0b386a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 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": "5.4.2",
"version": "5.4.3",
"contact": {
"name": "API Support",
"url": "https://commercelayer.io",
Expand Down Expand Up @@ -74450,7 +74450,7 @@
},
"country_code": {
"type": "string",
"description": "The international 2-letter country code as defined by the ISO 3166-1 standard, automatically inherited from the order's shipping address.",
"description": "The international 2-letter country code as defined by the ISO 3166-1 standard, automatically inherited from the order's shipping or billing addresses.",
"example": "IT",
"nullable": true
},
Expand Down Expand Up @@ -94038,6 +94038,12 @@
"example": true,
"nullable": false
},
"_cancel": {
"type": "boolean",
"description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered).",
"example": true,
"nullable": false
},
"_on_hold": {
"type": "boolean",
"description": "Send this attribute if you want to put this shipment on hold.",
Expand Down
2 changes: 1 addition & 1 deletion src/commercelayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Debug from './debug'
const debug = Debug('commercelayer')

// Autogenerated schema version number, do not remove this line
const OPEN_API_SCHEMA_VERSION = '5.4.2'
const OPEN_API_SCHEMA_VERSION = '5.4.3'
export { OPEN_API_SCHEMA_VERSION }


Expand Down
1 change: 1 addition & 0 deletions src/resources/shipments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ interface ShipmentUpdate extends ResourceUpdate {

number?: string
_upcoming?: boolean
_cancel?: boolean
_on_hold?: boolean
_picking?: boolean
_packing?: boolean
Expand Down

0 comments on commit 0b386a0

Please sign in to comment.