@sp-api-sdk/feeds-api-2021-06-30
Version:
The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
45 lines (44 loc) • 1.21 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Feeds
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
*
* The version of the OpenAPI document: 2021-06-30
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import globalAxios from 'axios';
export const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
export const COLLECTION_FORMATS = {
csv: ",",
ssv: " ",
tsv: "\t",
pipes: "|",
};
export class BaseAPI {
basePath;
axios;
configuration;
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
this.basePath = basePath;
this.axios = axios;
if (configuration) {
this.configuration = configuration;
this.basePath = configuration.basePath ?? basePath;
}
}
}
;
export class RequiredError extends Error {
field;
constructor(field, msg) {
super(msg);
this.field = field;
this.name = "RequiredError";
}
}
export const operationServerMap = {};