@sp-api-sdk/fba-inbound-eligibility-api-v1
Advanced tools
Comparing version 1.9.7 to 1.9.8
@@ -38,2 +38,5 @@ "use strict"; | ||
class BaseAPI { | ||
basePath; | ||
axios; | ||
configuration; | ||
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) { | ||
@@ -57,8 +60,9 @@ this.basePath = basePath; | ||
class RequiredError extends Error { | ||
field; | ||
name = "RequiredError"; | ||
constructor(field, msg) { | ||
super(msg); | ||
this.field = field; | ||
this.name = "RequiredError"; | ||
} | ||
} | ||
exports.RequiredError = RequiredError; |
@@ -18,2 +18,51 @@ "use strict"; | ||
class Configuration { | ||
/** | ||
* parameter for apiKey security | ||
* @param name security name | ||
* @memberof Configuration | ||
*/ | ||
apiKey; | ||
/** | ||
* parameter for basic security | ||
* | ||
* @type {string} | ||
* @memberof Configuration | ||
*/ | ||
username; | ||
/** | ||
* parameter for basic security | ||
* | ||
* @type {string} | ||
* @memberof Configuration | ||
*/ | ||
password; | ||
/** | ||
* parameter for oauth2 security | ||
* @param name security name | ||
* @param scopes oauth2 scope | ||
* @memberof Configuration | ||
*/ | ||
accessToken; | ||
/** | ||
* override base path | ||
* | ||
* @type {string} | ||
* @memberof Configuration | ||
*/ | ||
basePath; | ||
/** | ||
* base options for axios calls | ||
* | ||
* @type {any} | ||
* @memberof Configuration | ||
*/ | ||
baseOptions; | ||
/** | ||
* The FormData constructor that will be used to create multipart form data | ||
* requests. You can inject this here so that execution environments that | ||
* do not support the FormData class can still run the generated client. | ||
* | ||
* @type {new () => FormData} | ||
*/ | ||
formDataCtor; | ||
constructor(param = {}) { | ||
@@ -20,0 +69,0 @@ this.apiKey = param.apiKey; |
@@ -34,2 +34,5 @@ /* tslint:disable */ | ||
export class BaseAPI { | ||
basePath; | ||
axios; | ||
configuration; | ||
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) { | ||
@@ -52,7 +55,8 @@ this.basePath = basePath; | ||
export class RequiredError extends Error { | ||
field; | ||
name = "RequiredError"; | ||
constructor(field, msg) { | ||
super(msg); | ||
this.field = field; | ||
this.name = "RequiredError"; | ||
} | ||
} |
@@ -15,2 +15,51 @@ /* tslint:disable */ | ||
export class Configuration { | ||
/** | ||
* parameter for apiKey security | ||
* @param name security name | ||
* @memberof Configuration | ||
*/ | ||
apiKey; | ||
/** | ||
* parameter for basic security | ||
* | ||
* @type {string} | ||
* @memberof Configuration | ||
*/ | ||
username; | ||
/** | ||
* parameter for basic security | ||
* | ||
* @type {string} | ||
* @memberof Configuration | ||
*/ | ||
password; | ||
/** | ||
* parameter for oauth2 security | ||
* @param name security name | ||
* @param scopes oauth2 scope | ||
* @memberof Configuration | ||
*/ | ||
accessToken; | ||
/** | ||
* override base path | ||
* | ||
* @type {string} | ||
* @memberof Configuration | ||
*/ | ||
basePath; | ||
/** | ||
* base options for axios calls | ||
* | ||
* @type {any} | ||
* @memberof Configuration | ||
*/ | ||
baseOptions; | ||
/** | ||
* The FormData constructor that will be used to create multipart form data | ||
* requests. You can inject this here so that execution environments that | ||
* do not support the FormData class can still run the generated client. | ||
* | ||
* @type {new () => FormData} | ||
*/ | ||
formDataCtor; | ||
constructor(param = {}) { | ||
@@ -17,0 +66,0 @@ this.apiKey = param.apiKey; |
@@ -5,3 +5,3 @@ { | ||
"description": "With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for items before shipping them to Amazon's fulfillment centers. With this API you can find out if an item is eligible for inbound shipment to Amazon's fulfillment centers in a specific marketplace. You can also find out if an item is eligible for using the manufacturer barcode for FBA inventory tracking. Sellers can use this information to inform their decisions about which items to ship Amazon's fulfillment centers.", | ||
"version": "1.9.7", | ||
"version": "1.9.8", | ||
"main": "dist/cjs/index.js", | ||
@@ -30,3 +30,3 @@ "module": "dist/es/index.js", | ||
"dependencies": { | ||
"@sp-api-sdk/common": "^1.9.19", | ||
"@sp-api-sdk/common": "^1.9.20", | ||
"axios": "^0.27.2" | ||
@@ -56,3 +56,3 @@ }, | ||
}, | ||
"gitHead": "51c491e1ac6ad46d8cfae56568f17b350fc9e367" | ||
"gitHead": "e8ea8ef5b7745f2c4413bd7dd8eefa1b31cee128" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80649
1679
Updated@sp-api-sdk/common@^1.9.20