@sp-api-sdk/solicitations-api-v1
Advanced tools
Comparing version
@@ -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 Solicitations API you can build applications that send non-critical solicitations to buyers. You can get a list of solicitation types that are available for an order that you specify, then call an operation that sends a solicitation to the buyer for that order. Buyers cannot respond to solicitations sent by this API, and these solicitations do not appear in the Messaging section of Seller Central or in the recipient's Message Center. The Solicitations API returns responses that are formed according to the JSON Hypertext Application Language (HAL) standard.", | ||
"version": "1.10.7", | ||
"version": "1.10.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" | ||
} |
128026
1.82%2353
4.72%Updated