@sp-api-sdk/notifications-api-v1
Advanced tools
Comparing version 1.13.7 to 1.13.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": "The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner's business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subscriptions, and more. For more information, see the Notifications Use Case Guide.", | ||
"version": "1.13.7", | ||
"version": "1.13.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
279006
4345
Updated@sp-api-sdk/common@^1.9.20