@scaleleap/amazon-mws-api-sdk
Advanced tools
Comparing version 1.6.2 to 1.7.0
@@ -6,2 +6,13 @@ # Changelog | ||
# [1.7.0](https://github.com/ScaleLeap/amazon-mws-api-sdk/compare/v1.6.2...v1.7.0) (2020-07-29) | ||
### Features | ||
* create createScheduledPackage ([b144b8a](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/b144b8a7d2186acaf2aa42197ed36e234421633d)) | ||
* fixed missing parameters from creaetScheduledPackage ([0d06b79](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/0d06b79495ba3c116184e6d17f6860cad2c21fd6)) | ||
* init easyShip with getServiceStatus ([c5a97f1](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/c5a97f18bc5ac80b5712e6f49b76cfe195067d5d)) | ||
* made easyShip ([5162b9c](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/5162b9c8ce033c9d4d8ff6b9ee70cc54548f1be5)) | ||
* made getScheduledPackage ([e97ed56](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/e97ed5664e38470c7207cd61837a8003a8713e50)) | ||
## [1.6.2](https://github.com/ScaleLeap/amazon-mws-api-sdk/compare/v1.6.1...v1.6.2) (2020-07-29) | ||
@@ -8,0 +19,0 @@ |
@@ -28,3 +28,4 @@ import { AmazonMarketplace } from '@scaleleap/amazon-marketplaces'; | ||
FulfillmentInboundShipment = "FulfillmentInboundShipment", | ||
FulfillmentOutboundShipment = "FulfillmentOutboundShipment" | ||
FulfillmentOutboundShipment = "FulfillmentOutboundShipment", | ||
EasyShip = "EasyShip" | ||
} | ||
@@ -45,2 +46,3 @@ export interface ResourceActions { | ||
[Resource.FulfillmentOutboundShipment]: 'GetFulfillmentPreview' | 'CreateFulfillmentOrder' | 'UpdateFulfillmentOrder' | 'ListAllFulfillmentOrders' | 'GetFulfillmentOrder' | 'ListAllFulfillmentOrdersByNextToken' | 'GetPackageTrackingDetails' | 'CancelFulfillmentOrder' | 'ListReturnReasonCodes' | 'CreateFulfillmentReturn' | 'GetServiceStatus'; | ||
[Resource.EasyShip]: 'ListPickupSlots' | 'CreateScheduledPackage' | 'UpdateScheduledPackages' | 'GetScheduledPackage' | 'GetServiceStatus'; | ||
} | ||
@@ -47,0 +49,0 @@ export interface Request { |
@@ -29,2 +29,3 @@ "use strict"; | ||
Resource["FulfillmentOutboundShipment"] = "FulfillmentOutboundShipment"; | ||
Resource["EasyShip"] = "EasyShip"; | ||
})(Resource = exports.Resource || (exports.Resource = {})); | ||
@@ -31,0 +32,0 @@ /** |
export * from './error'; | ||
export * from './http'; | ||
export * from './mws'; | ||
export * from './sections/easy-ship'; | ||
export * from './sections/feeds'; | ||
@@ -5,0 +6,0 @@ export * from './sections/finances/finances'; |
@@ -16,2 +16,3 @@ "use strict"; | ||
__exportStar(require("./mws"), exports); | ||
__exportStar(require("./sections/easy-ship"), exports); | ||
__exportStar(require("./sections/feeds"), exports); | ||
@@ -18,0 +19,0 @@ __exportStar(require("./sections/finances/finances"), exports); |
import { HttpClient } from './http'; | ||
import { EasyShip } from './sections/easy-ship'; | ||
import { Feeds } from './sections/feeds'; | ||
@@ -17,2 +18,3 @@ import { Finances } from './sections/finances/finances'; | ||
private httpClient; | ||
private _easyShip; | ||
private _feeds; | ||
@@ -32,2 +34,3 @@ private _finances; | ||
constructor(httpClient: HttpClient); | ||
get easyShip(): EasyShip; | ||
get sellers(): Sellers; | ||
@@ -34,0 +37,0 @@ get orders(): Orders; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MWS = void 0; | ||
const easy_ship_1 = require("./sections/easy-ship"); | ||
const feeds_1 = require("./sections/feeds"); | ||
@@ -21,2 +22,8 @@ const finances_1 = require("./sections/finances/finances"); | ||
} | ||
get easyShip() { | ||
if (!this._easyShip) { | ||
this._easyShip = new easy_ship_1.EasyShip(this.httpClient); | ||
} | ||
return this._easyShip; | ||
} | ||
get sellers() { | ||
@@ -23,0 +30,0 @@ if (!this._sellers) { |
@@ -22,3 +22,3 @@ { | ||
"homepage": "https://github.com/ScaleLeap/amazon-mws-api-sdk/#readme", | ||
"version": "1.6.2", | ||
"version": "1.7.0", | ||
"main": "lib/index.js", | ||
@@ -25,0 +25,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
976389
103
16628