diff --git a/gen/openapi.json b/gen/openapi.json index bc228ee9..1ae88b8c 100644 --- a/gen/openapi.json +++ b/gen/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Commerce Layer API", - "version": "5.3.1", + "version": "5.3.2", "contact": { "name": "API Support", "url": "https://commercelayer.io", @@ -104146,6 +104146,11 @@ "attributes": { "type": "object", "properties": { + "number": { + "type": "string", + "description": "Unique identifier for the stock transfer (numeric).", + "example": "1234" + }, "sku_code": { "type": "string", "description": "The code of the associated SKU.", @@ -104346,6 +104351,12 @@ "attributes": { "type": "object", "properties": { + "number": { + "type": "string", + "description": "Unique identifier for the stock transfer (numeric).", + "example": "1234", + "nullable": true + }, "sku_code": { "type": "string", "description": "The code of the associated SKU.", diff --git a/src/commercelayer.ts b/src/commercelayer.ts index 73920a4f..1778e71a 100644 --- a/src/commercelayer.ts +++ b/src/commercelayer.ts @@ -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.3.1' +const OPEN_API_SCHEMA_VERSION = '5.3.2' export { OPEN_API_SCHEMA_VERSION } diff --git a/src/resources/stock_transfers.ts b/src/resources/stock_transfers.ts index d02b389a..36e9f475 100644 --- a/src/resources/stock_transfers.ts +++ b/src/resources/stock_transfers.ts @@ -38,6 +38,7 @@ interface StockTransfer extends Resource { interface StockTransferCreate extends ResourceCreate { + number?: string sku_code?: string quantity: number @@ -52,6 +53,7 @@ interface StockTransferCreate extends ResourceCreate { interface StockTransferUpdate extends ResourceUpdate { + number?: string sku_code?: string _upcoming?: boolean _on_hold?: boolean