@dotdev/apparel21-sdk
Advanced tools
Comparing version 0.0.44 to 0.0.45
@@ -5,15 +5,20 @@ # Changelog | ||
### [0.0.45](https://gitlab.com/dotdevv/packages/apparel21-sdk/compare/v0.0.44...v0.0.45) (2023-03-17) | ||
### Features | ||
* add the new nonReturnable attribute to the order detail object ([882acea](https://gitlab.com/dotdevv/packages/apparel21-sdk/commit/882acea69976cc9d0166f20b9042f9dc8a7239bb)) | ||
### [0.0.44](https://gitlab.com/dotdevv/packages/apparel21-sdk/compare/v0.0.43...v0.0.44) (2022-11-21) | ||
### Bug Fixes | ||
* incorrect response type ([9fc99d7](https://gitlab.com/dotdevv/packages/apparel21-sdk/commit/9fc99d7e5cb2e56e758a53c501b7f50fabec14de)) | ||
- incorrect response type ([9fc99d7](https://gitlab.com/dotdevv/packages/apparel21-sdk/commit/9fc99d7e5cb2e56e758a53c501b7f50fabec14de)) | ||
### [0.0.43](https://gitlab.com/dotdevv/packages/apparel21-sdk/compare/v0.0.42...v0.0.43) (2022-11-18) | ||
### Features | ||
* add ProductsSimpleWithPagination method ([59b6131](https://gitlab.com/dotdevv/packages/apparel21-sdk/commit/59b6131ba9b261ff4403f6dd2d56d6794139f997)) | ||
- add ProductsSimpleWithPagination method ([59b6131](https://gitlab.com/dotdevv/packages/apparel21-sdk/commit/59b6131ba9b261ff4403f6dd2d56d6794139f997)) | ||
@@ -20,0 +25,0 @@ ### [0.0.42](https://gitlab.com/dotdevv/packages/apparel21-sdk/compare/v0.0.41...v0.0.42) (2022-11-09) |
@@ -281,2 +281,5 @@ import currency from 'currency.js'; | ||
}[]; | ||
quantityTaken?: string; | ||
quantityPacked?: string; | ||
nonReturnable?: string; | ||
}; | ||
@@ -283,0 +286,0 @@ export declare type OrderDetailInput = { |
@@ -42,3 +42,3 @@ import { Module } from './Module'; | ||
* @param {number} id: product id | ||
* @param {Object} query: query object to filter products | ||
* @param options | ||
*/ | ||
@@ -45,0 +45,0 @@ getProduct: (id: number, options?: { |
@@ -51,3 +51,3 @@ "use strict"; | ||
return { | ||
total: Number(ProductsSimple["$"].TotalRows), | ||
total: Number(ProductsSimple['$'].TotalRows), | ||
products: ProductsSimple.ProductSimple | ||
@@ -78,3 +78,3 @@ ? products_1.formatProductsSimple(ProductsSimple.ProductSimple) | ||
* @param {number} id: product id | ||
* @param {Object} query: query object to filter products | ||
* @param options | ||
*/ | ||
@@ -81,0 +81,0 @@ this.getProduct = async (id, options = {}) => { |
@@ -69,2 +69,3 @@ "use strict"; | ||
status: orderDetail.Status?.[0], | ||
nonReturnable: orderDetail.NonReturnable?.[0], | ||
})), | ||
@@ -71,0 +72,0 @@ selectedFreightOption: { |
{ | ||
"name": "@dotdev/apparel21-sdk", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "description": "Apparel21 Interface Library", |
Sorry, the diff of this file is not supported yet
225476
3454