@sp-api-sdk/product-fees-api-v0
Advanced tools
Comparing version 2.0.7 to 2.1.0
@@ -146,3 +146,5 @@ "use strict"; | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyFeesEstimateForASIN(asin, body, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0; | ||
const localVarOperationServerBasePath = base_1.operationServerMap['FeesApi.getMyFeesEstimateForASIN']?.[localVarOperationServerIndex]?.url; | ||
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); | ||
}, | ||
@@ -158,3 +160,5 @@ /** | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyFeesEstimateForSKU(sellerSKU, body, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0; | ||
const localVarOperationServerBasePath = base_1.operationServerMap['FeesApi.getMyFeesEstimateForSKU']?.[localVarOperationServerIndex]?.url; | ||
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); | ||
}, | ||
@@ -169,3 +173,5 @@ /** | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyFeesEstimates(body, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0; | ||
const localVarOperationServerBasePath = base_1.operationServerMap['FeesApi.getMyFeesEstimates']?.[localVarOperationServerIndex]?.url; | ||
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); | ||
}, | ||
@@ -172,0 +178,0 @@ }; |
@@ -19,3 +19,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0; | ||
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0; | ||
const axios_1 = __importDefault(require("axios")); | ||
@@ -47,3 +47,3 @@ exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, ""); | ||
this.configuration = configuration; | ||
this.basePath = configuration.basePath || this.basePath; | ||
this.basePath = configuration.basePath ?? basePath; | ||
} | ||
@@ -69,1 +69,6 @@ } | ||
exports.RequiredError = RequiredError; | ||
/** | ||
* | ||
* @export | ||
*/ | ||
exports.operationServerMap = {}; |
@@ -141,3 +141,3 @@ "use strict"; | ||
return (axios = globalAxios, basePath = BASE_PATH) => { | ||
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url }; | ||
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url }; | ||
return axios.request(axiosRequestArgs); | ||
@@ -144,0 +144,0 @@ }; |
@@ -53,2 +53,9 @@ "use strict"; | ||
/** | ||
* override server index | ||
* | ||
* @type {number} | ||
* @memberof Configuration | ||
*/ | ||
serverIndex; | ||
/** | ||
* base options for axios calls | ||
@@ -74,2 +81,3 @@ * | ||
this.basePath = param.basePath; | ||
this.serverIndex = param.serverIndex; | ||
this.baseOptions = param.baseOptions; | ||
@@ -76,0 +84,0 @@ this.formDataCtor = param.formDataCtor; |
@@ -19,3 +19,3 @@ /* tslint:disable */ | ||
// @ts-ignore | ||
import { BASE_PATH, BaseAPI } from '../base'; | ||
import { BASE_PATH, BaseAPI, operationServerMap } from '../base'; | ||
/** | ||
@@ -140,3 +140,5 @@ * FeesApi - axios parameter creator | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyFeesEstimateForASIN(asin, body, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0; | ||
const localVarOperationServerBasePath = operationServerMap['FeesApi.getMyFeesEstimateForASIN']?.[localVarOperationServerIndex]?.url; | ||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); | ||
}, | ||
@@ -152,3 +154,5 @@ /** | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyFeesEstimateForSKU(sellerSKU, body, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0; | ||
const localVarOperationServerBasePath = operationServerMap['FeesApi.getMyFeesEstimateForSKU']?.[localVarOperationServerIndex]?.url; | ||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); | ||
}, | ||
@@ -163,3 +167,5 @@ /** | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyFeesEstimates(body, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0; | ||
const localVarOperationServerBasePath = operationServerMap['FeesApi.getMyFeesEstimates']?.[localVarOperationServerIndex]?.url; | ||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); | ||
}, | ||
@@ -166,0 +172,0 @@ }; |
@@ -40,3 +40,3 @@ /* tslint:disable */ | ||
this.configuration = configuration; | ||
this.basePath = configuration.basePath || this.basePath; | ||
this.basePath = configuration.basePath ?? basePath; | ||
} | ||
@@ -60,1 +60,6 @@ } | ||
} | ||
/** | ||
* | ||
* @export | ||
*/ | ||
export const operationServerMap = {}; |
@@ -130,5 +130,5 @@ /* tslint:disable */ | ||
return (axios = globalAxios, basePath = BASE_PATH) => { | ||
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url }; | ||
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url }; | ||
return axios.request(axiosRequestArgs); | ||
}; | ||
}; |
@@ -50,2 +50,9 @@ /* tslint:disable */ | ||
/** | ||
* override server index | ||
* | ||
* @type {number} | ||
* @memberof Configuration | ||
*/ | ||
serverIndex; | ||
/** | ||
* base options for axios calls | ||
@@ -71,2 +78,3 @@ * | ||
this.basePath = param.basePath; | ||
this.serverIndex = param.serverIndex; | ||
this.baseOptions = param.baseOptions; | ||
@@ -73,0 +81,0 @@ this.formDataCtor = param.formDataCtor; |
@@ -13,9 +13,9 @@ /** | ||
import type { Configuration } from '../configuration'; | ||
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; | ||
import globalAxios from 'axios'; | ||
import { RequestArgs, BaseAPI } from '../base'; | ||
import { FeesEstimateByIdRequest } from '../models'; | ||
import { FeesEstimateResult } from '../models'; | ||
import { GetMyFeesEstimateRequest } from '../models'; | ||
import { GetMyFeesEstimateResponse } from '../models'; | ||
import { type RequestArgs, BaseAPI } from '../base'; | ||
import type { FeesEstimateByIdRequest } from '../models'; | ||
import type { FeesEstimateResult } from '../models'; | ||
import type { GetMyFeesEstimateRequest } from '../models'; | ||
import type { GetMyFeesEstimateResponse } from '../models'; | ||
/** | ||
@@ -33,3 +33,3 @@ * FeesApi - axios parameter creator | ||
*/ | ||
getMyFeesEstimateForASIN: (asin: string, body: GetMyFeesEstimateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
getMyFeesEstimateForASIN: (asin: string, body: GetMyFeesEstimateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -42,3 +42,3 @@ * Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). You can call `getMyFeesEstimateForSKU` for an item on behalf of a selling partner before the selling partner sets the item\'s price. The selling partner can then take any estimated fees into account. Each fees estimate request must include an original identifier. This identifier is included in the fees estimate so that you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When sellers use the `getMyFeesEstimateForSKU` operation with their `SellerSKU`, they get accurate fees based on real item measurements, but only after they\'ve sent their items to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). | ||
*/ | ||
getMyFeesEstimateForSKU: (sellerSKU: string, body: GetMyFeesEstimateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
getMyFeesEstimateForSKU: (sellerSKU: string, body: GetMyFeesEstimateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -50,3 +50,3 @@ * Returns the estimated fees for a list of products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). | ||
*/ | ||
getMyFeesEstimates: (body: Array<FeesEstimateByIdRequest>, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
getMyFeesEstimates: (body: Array<FeesEstimateByIdRequest>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>; | ||
}; | ||
@@ -65,3 +65,3 @@ /** | ||
*/ | ||
getMyFeesEstimateForASIN(asin: string, body: GetMyFeesEstimateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMyFeesEstimateResponse>>; | ||
getMyFeesEstimateForASIN(asin: string, body: GetMyFeesEstimateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMyFeesEstimateResponse>>; | ||
/** | ||
@@ -74,3 +74,3 @@ * Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). You can call `getMyFeesEstimateForSKU` for an item on behalf of a selling partner before the selling partner sets the item\'s price. The selling partner can then take any estimated fees into account. Each fees estimate request must include an original identifier. This identifier is included in the fees estimate so that you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When sellers use the `getMyFeesEstimateForSKU` operation with their `SellerSKU`, they get accurate fees based on real item measurements, but only after they\'ve sent their items to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). | ||
*/ | ||
getMyFeesEstimateForSKU(sellerSKU: string, body: GetMyFeesEstimateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMyFeesEstimateResponse>>; | ||
getMyFeesEstimateForSKU(sellerSKU: string, body: GetMyFeesEstimateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMyFeesEstimateResponse>>; | ||
/** | ||
@@ -82,3 +82,3 @@ * Returns the estimated fees for a list of products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). | ||
*/ | ||
getMyFeesEstimates(body: Array<FeesEstimateByIdRequest>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FeesEstimateResult>>>; | ||
getMyFeesEstimates(body: Array<FeesEstimateByIdRequest>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FeesEstimateResult>>>; | ||
}; | ||
@@ -96,3 +96,3 @@ /** | ||
*/ | ||
getMyFeesEstimateForASIN(requestParameters: FeesApiGetMyFeesEstimateForASINRequest, options?: AxiosRequestConfig): AxiosPromise<GetMyFeesEstimateResponse>; | ||
getMyFeesEstimateForASIN(requestParameters: FeesApiGetMyFeesEstimateForASINRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetMyFeesEstimateResponse>; | ||
/** | ||
@@ -104,3 +104,3 @@ * Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). You can call `getMyFeesEstimateForSKU` for an item on behalf of a selling partner before the selling partner sets the item\'s price. The selling partner can then take any estimated fees into account. Each fees estimate request must include an original identifier. This identifier is included in the fees estimate so that you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When sellers use the `getMyFeesEstimateForSKU` operation with their `SellerSKU`, they get accurate fees based on real item measurements, but only after they\'ve sent their items to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). | ||
*/ | ||
getMyFeesEstimateForSKU(requestParameters: FeesApiGetMyFeesEstimateForSKURequest, options?: AxiosRequestConfig): AxiosPromise<GetMyFeesEstimateResponse>; | ||
getMyFeesEstimateForSKU(requestParameters: FeesApiGetMyFeesEstimateForSKURequest, options?: RawAxiosRequestConfig): AxiosPromise<GetMyFeesEstimateResponse>; | ||
/** | ||
@@ -112,3 +112,3 @@ * Returns the estimated fees for a list of products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). | ||
*/ | ||
getMyFeesEstimates(requestParameters: FeesApiGetMyFeesEstimatesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<FeesEstimateResult>>; | ||
getMyFeesEstimates(requestParameters: FeesApiGetMyFeesEstimatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<FeesEstimateResult>>; | ||
}; | ||
@@ -180,3 +180,3 @@ /** | ||
*/ | ||
getMyFeesEstimateForASIN(requestParameters: FeesApiGetMyFeesEstimateForASINRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetMyFeesEstimateResponse, any>>; | ||
getMyFeesEstimateForASIN(requestParameters: FeesApiGetMyFeesEstimateForASINRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetMyFeesEstimateResponse, any>>; | ||
/** | ||
@@ -189,3 +189,3 @@ * Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). You can call `getMyFeesEstimateForSKU` for an item on behalf of a selling partner before the selling partner sets the item\'s price. The selling partner can then take any estimated fees into account. Each fees estimate request must include an original identifier. This identifier is included in the fees estimate so that you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When sellers use the `getMyFeesEstimateForSKU` operation with their `SellerSKU`, they get accurate fees based on real item measurements, but only after they\'ve sent their items to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). | ||
*/ | ||
getMyFeesEstimateForSKU(requestParameters: FeesApiGetMyFeesEstimateForSKURequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetMyFeesEstimateResponse, any>>; | ||
getMyFeesEstimateForSKU(requestParameters: FeesApiGetMyFeesEstimateForSKURequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetMyFeesEstimateResponse, any>>; | ||
/** | ||
@@ -198,3 +198,3 @@ * Returns the estimated fees for a list of products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). | ||
*/ | ||
getMyFeesEstimates(requestParameters: FeesApiGetMyFeesEstimatesRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<FeesEstimateResult[], any>>; | ||
getMyFeesEstimates(requestParameters: FeesApiGetMyFeesEstimatesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<FeesEstimateResult[], any>>; | ||
} |
@@ -13,3 +13,3 @@ /** | ||
import type { Configuration } from './configuration'; | ||
import type { AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios'; | ||
export declare const BASE_PATH: string; | ||
@@ -33,3 +33,3 @@ /** | ||
url: string; | ||
options: AxiosRequestConfig; | ||
options: RawAxiosRequestConfig; | ||
} | ||
@@ -57,1 +57,13 @@ /** | ||
} | ||
interface ServerMap { | ||
[key: string]: { | ||
url: string; | ||
description: string; | ||
}[]; | ||
} | ||
/** | ||
* | ||
* @export | ||
*/ | ||
export declare const operationServerMap: ServerMap; | ||
export {}; |
@@ -18,2 +18,3 @@ /** | ||
basePath?: string; | ||
serverIndex?: number; | ||
baseOptions?: any; | ||
@@ -58,2 +59,9 @@ formDataCtor?: new () => any; | ||
/** | ||
* override server index | ||
* | ||
* @type {number} | ||
* @memberof Configuration | ||
*/ | ||
serverIndex?: number; | ||
/** | ||
* base options for axios calls | ||
@@ -60,0 +68,0 @@ * |
@@ -12,4 +12,4 @@ /** | ||
*/ | ||
import { IncludedFeeDetail } from './included-fee-detail'; | ||
import { MoneyType } from './money-type'; | ||
import type { IncludedFeeDetail } from './included-fee-detail'; | ||
import type { MoneyType } from './money-type'; | ||
/** | ||
@@ -16,0 +16,0 @@ * The type of fee, fee amount, and other details. |
@@ -12,4 +12,4 @@ /** | ||
*/ | ||
import { FeesEstimateRequest } from './fees-estimate-request'; | ||
import { IdType } from './id-type'; | ||
import type { FeesEstimateRequest } from './fees-estimate-request'; | ||
import type { IdType } from './id-type'; | ||
/** | ||
@@ -16,0 +16,0 @@ * A product, marketplace, and proposed price used to request estimated fees. |
@@ -12,5 +12,5 @@ /** | ||
*/ | ||
import { IdType } from './id-type'; | ||
import { OptionalFulfillmentProgram } from './optional-fulfillment-program'; | ||
import { PriceToEstimateFees } from './price-to-estimate-fees'; | ||
import type { IdType } from './id-type'; | ||
import type { OptionalFulfillmentProgram } from './optional-fulfillment-program'; | ||
import type { PriceToEstimateFees } from './price-to-estimate-fees'; | ||
/** | ||
@@ -17,0 +17,0 @@ * An item identifier, marketplace, time of request, and other details that identify an estimate. |
@@ -12,4 +12,4 @@ /** | ||
*/ | ||
import { OptionalFulfillmentProgram } from './optional-fulfillment-program'; | ||
import { PriceToEstimateFees } from './price-to-estimate-fees'; | ||
import type { OptionalFulfillmentProgram } from './optional-fulfillment-program'; | ||
import type { PriceToEstimateFees } from './price-to-estimate-fees'; | ||
/** | ||
@@ -16,0 +16,0 @@ * A product, marketplace, and proposed price used to request estimated fees. |
@@ -12,5 +12,5 @@ /** | ||
*/ | ||
import { FeesEstimate } from './fees-estimate'; | ||
import { FeesEstimateError } from './fees-estimate-error'; | ||
import { FeesEstimateIdentifier } from './fees-estimate-identifier'; | ||
import type { FeesEstimate } from './fees-estimate'; | ||
import type { FeesEstimateError } from './fees-estimate-error'; | ||
import type { FeesEstimateIdentifier } from './fees-estimate-identifier'; | ||
/** | ||
@@ -17,0 +17,0 @@ * An item identifier and the estimated fees for the item. |
@@ -12,4 +12,4 @@ /** | ||
*/ | ||
import { FeeDetail } from './fee-detail'; | ||
import { MoneyType } from './money-type'; | ||
import type { FeeDetail } from './fee-detail'; | ||
import type { MoneyType } from './money-type'; | ||
/** | ||
@@ -16,0 +16,0 @@ * The total estimated fees for an item and a list of details. |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { FeesEstimateRequest } from './fees-estimate-request'; | ||
import type { FeesEstimateRequest } from './fees-estimate-request'; | ||
/** | ||
@@ -15,0 +15,0 @@ * Request schema. |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { GetMyFeesEstimateResult } from './get-my-fees-estimate-result'; | ||
import type { GetMyFeesEstimateResult } from './get-my-fees-estimate-result'; | ||
/** | ||
@@ -15,0 +15,0 @@ * |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { FeesEstimateResult } from './fees-estimate-result'; | ||
import type { FeesEstimateResult } from './fees-estimate-result'; | ||
/** | ||
@@ -15,0 +15,0 @@ * Response schema. |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { MoneyType } from './money-type'; | ||
import type { MoneyType } from './money-type'; | ||
/** | ||
@@ -15,0 +15,0 @@ * The type of fee, fee amount, and other details. |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { MoneyType } from './money-type'; | ||
import type { MoneyType } from './money-type'; | ||
/** | ||
@@ -15,0 +15,0 @@ * |
@@ -12,4 +12,4 @@ /** | ||
*/ | ||
import { MoneyType } from './money-type'; | ||
import { Points } from './points'; | ||
import type { MoneyType } from './money-type'; | ||
import type { Points } from './points'; | ||
/** | ||
@@ -16,0 +16,0 @@ * Price information for an item, used to estimate fees. |
@@ -5,3 +5,3 @@ { | ||
"description": "The Selling Partner API for Product Fees lets you programmatically retrieve estimated fees for a product. You can then account for those fees in your pricing.", | ||
"version": "2.0.7", | ||
"version": "2.1.0", | ||
"main": "dist/cjs/index.js", | ||
@@ -22,4 +22,4 @@ "module": "dist/es/index.js", | ||
"dependencies": { | ||
"@sp-api-sdk/common": "2.0.7", | ||
"axios": "^1.6.8" | ||
"@sp-api-sdk/common": "2.0.8", | ||
"axios": "^1.7.0" | ||
}, | ||
@@ -45,3 +45,3 @@ "repository": { | ||
], | ||
"gitHead": "556cf5234c43b36ddaffa12f795a925b1c7fc63b" | ||
"gitHead": "5a245a25a9f1765c825e2178668d4b0f4e44689b" | ||
} |
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
161347
3181
+ Added@sp-api-sdk/auth@2.0.8(transitive)
+ Added@sp-api-sdk/common@2.0.8(transitive)
- Removed@sp-api-sdk/auth@2.0.7(transitive)
- Removed@sp-api-sdk/common@2.0.7(transitive)
Updated@sp-api-sdk/common@2.0.8
Updatedaxios@^1.7.0