@sp-api-sdk/sales-api-v1 3.0.5 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.GetOrderMetricsFirstDayOfWeekEnum = exports.GetOrderMetricsBuyerTypeEnum = exports.GetOrderMetricsGranularityEnum = exports.SalesApi = exports.SalesApiFactory = exports.SalesApiFp = exports.SalesApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.GetOrderMetricsAmazonProgramEnum = exports.GetOrderMetricsFirstDayOfWeekEnum = exports.GetOrderMetricsBuyerTypeEnum = exports.GetOrderMetricsGranularityEnum = exports.SalesApi = exports.SalesApiFactory = exports.SalesApiFp = exports.SalesApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -40,10 +40,11 @@ const SalesApiAxiosParamCreator = function (configuration) {
|
|
|
40
40
|
* @param {GetOrderMetricsFirstDayOfWeekEnum} [firstDayOfWeek] Specifies the day that the week starts on when granularity=Week, either Monday or Sunday. Default: Monday. Example: Sunday, if you want the week to start on a Sunday.
|
|
41
41
|
* @param {string} [asin] Filters the results by the ASIN that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all ASINs. Example: B0792R1RSN, if you want the response to include order metrics for only ASIN B0792R1RSN.
|
|
42
42
|
* @param {string} [sku] Filters the results by the SKU that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all SKUs. Example: TestSKU, if you want the response to include order metrics for only SKU TestSKU.
|
|
43
|
+
* @param {GetOrderMetricsAmazonProgramEnum} [amazonProgram] Filters the results by the Amazon program that you specify. Do not include this filter if you want the response to include order metrics for all programs. **Example:** `AmazonHaul` returns order metrics for the Amazon Haul program only.
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
getOrderMetrics: async (marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, options = {}) => {
|
|
47
|
+
getOrderMetrics: async (marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, amazonProgram, options = {}) => {
|
|
47
48
|
// verify required parameter 'marketplaceIds' is not null or undefined
|
|
48
49
|
(0, common_1.assertParamExists)('getOrderMetrics', 'marketplaceIds', marketplaceIds);
|
|
49
50
|
// verify required parameter 'interval' is not null or undefined
|
|
@@ -87,6 +88,9 @@ const SalesApiAxiosParamCreator = function (configuration) {
|
|
|
87
88
|
if (sku !== undefined) {
|
|
88
89
|
localVarQueryParameter['sku'] = sku;
|
|
89
90
|
}
|
|
91
|
+
if (amazonProgram !== undefined) {
|
|
92
|
+
localVarQueryParameter['amazonProgram'] = amazonProgram;
|
|
93
|
+
}
|
|
90
94
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
91
95
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
96
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -116,11 +120,12 @@ const SalesApiFp = function (configuration) {
|
|
|
116
120
|
* @param {GetOrderMetricsFirstDayOfWeekEnum} [firstDayOfWeek] Specifies the day that the week starts on when granularity=Week, either Monday or Sunday. Default: Monday. Example: Sunday, if you want the week to start on a Sunday.
|
|
117
121
|
* @param {string} [asin] Filters the results by the ASIN that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all ASINs. Example: B0792R1RSN, if you want the response to include order metrics for only ASIN B0792R1RSN.
|
|
118
122
|
* @param {string} [sku] Filters the results by the SKU that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all SKUs. Example: TestSKU, if you want the response to include order metrics for only SKU TestSKU.
|
|
123
|
+
* @param {GetOrderMetricsAmazonProgramEnum} [amazonProgram] Filters the results by the Amazon program that you specify. Do not include this filter if you want the response to include order metrics for all programs. **Example:** `AmazonHaul` returns order metrics for the Amazon Haul program only.
|
|
119
124
|
* @param {*} [options] Override http request option.
|
|
120
125
|
* @throws {RequiredError}
|
|
121
126
|
*/
|
|
122
|
-
async getOrderMetrics(marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, options) {
|
|
123
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderMetrics(marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, options);
|
|
127
|
+
async getOrderMetrics(marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, amazonProgram, options) {
|
|
128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderMetrics(marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, amazonProgram, options);
|
|
124
129
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
125
130
|
const localVarOperationServerBasePath = base_1.operationServerMap['SalesApi.getOrderMetrics']?.[localVarOperationServerIndex]?.url;
|
|
126
131
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -142,7 +147,7 @@ const SalesApiFactory = function (configuration, basePath, axios) {
|
|
|
142
147
|
* @throws {RequiredError}
|
|
143
148
|
*/
|
|
144
149
|
getOrderMetrics(requestParameters, options) {
|
|
145
|
-
return localVarFp.getOrderMetrics(requestParameters.marketplaceIds, requestParameters.interval, requestParameters.granularity, requestParameters.granularityTimeZone, requestParameters.buyerType, requestParameters.fulfillmentNetwork, requestParameters.firstDayOfWeek, requestParameters.asin, requestParameters.sku, options).then((request) => request(axios, basePath));
|
|
150
|
+
return localVarFp.getOrderMetrics(requestParameters.marketplaceIds, requestParameters.interval, requestParameters.granularity, requestParameters.granularityTimeZone, requestParameters.buyerType, requestParameters.fulfillmentNetwork, requestParameters.firstDayOfWeek, requestParameters.asin, requestParameters.sku, requestParameters.amazonProgram, options).then((request) => request(axios, basePath));
|
|
146
151
|
},
|
|
147
152
|
};
|
|
148
153
|
};
|
|
@@ -162,7 +167,7 @@ class SalesApi extends base_1.BaseAPI {
|
|
|
162
167
|
* @memberof SalesApi
|
|
163
168
|
*/
|
|
164
169
|
getOrderMetrics(requestParameters, options) {
|
|
165
|
-
return (0, exports.SalesApiFp)(this.configuration).getOrderMetrics(requestParameters.marketplaceIds, requestParameters.interval, requestParameters.granularity, requestParameters.granularityTimeZone, requestParameters.buyerType, requestParameters.fulfillmentNetwork, requestParameters.firstDayOfWeek, requestParameters.asin, requestParameters.sku, options).then((request) => request(this.axios, this.basePath));
|
|
170
|
+
return (0, exports.SalesApiFp)(this.configuration).getOrderMetrics(requestParameters.marketplaceIds, requestParameters.interval, requestParameters.granularity, requestParameters.granularityTimeZone, requestParameters.buyerType, requestParameters.fulfillmentNetwork, requestParameters.firstDayOfWeek, requestParameters.asin, requestParameters.sku, requestParameters.amazonProgram, options).then((request) => request(this.axios, this.basePath));
|
|
166
171
|
}
|
|
167
172
|
}
|
|
168
173
|
exports.SalesApi = SalesApi;
|
|
@@ -192,3 +197,9 @@ exports.GetOrderMetricsFirstDayOfWeekEnum = {
|
|
|
192
197
|
Monday: 'Monday',
|
|
193
198
|
Sunday: 'Sunday'
|
|
194
199
|
};
|
|
200
|
+
/**
|
|
201
|
+
* @export
|
|
202
|
+
*/
|
|
203
|
+
exports.GetOrderMetricsAmazonProgramEnum = {
|
|
204
|
+
AmazonHaul: 'AmazonHaul'
|
|
205
|
+
};
|
|
@@ -34,10 +34,11 @@ export const SalesApiAxiosParamCreator = function (configuration) {
|
|
|
34
34
|
* @param {GetOrderMetricsFirstDayOfWeekEnum} [firstDayOfWeek] Specifies the day that the week starts on when granularity=Week, either Monday or Sunday. Default: Monday. Example: Sunday, if you want the week to start on a Sunday.
|
|
35
35
|
* @param {string} [asin] Filters the results by the ASIN that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all ASINs. Example: B0792R1RSN, if you want the response to include order metrics for only ASIN B0792R1RSN.
|
|
36
36
|
* @param {string} [sku] Filters the results by the SKU that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all SKUs. Example: TestSKU, if you want the response to include order metrics for only SKU TestSKU.
|
|
37
|
+
* @param {GetOrderMetricsAmazonProgramEnum} [amazonProgram] Filters the results by the Amazon program that you specify. Do not include this filter if you want the response to include order metrics for all programs. **Example:** `AmazonHaul` returns order metrics for the Amazon Haul program only.
|
|
37
38
|
* @param {*} [options] Override http request option.
|
|
38
39
|
* @throws {RequiredError}
|
|
39
40
|
*/
|
|
40
|
-
getOrderMetrics: async (marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, options = {}) => {
|
|
41
|
+
getOrderMetrics: async (marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, amazonProgram, options = {}) => {
|
|
41
42
|
// verify required parameter 'marketplaceIds' is not null or undefined
|
|
42
43
|
assertParamExists('getOrderMetrics', 'marketplaceIds', marketplaceIds);
|
|
43
44
|
// verify required parameter 'interval' is not null or undefined
|
|
@@ -81,6 +82,9 @@ export const SalesApiAxiosParamCreator = function (configuration) {
|
|
|
81
82
|
if (sku !== undefined) {
|
|
82
83
|
localVarQueryParameter['sku'] = sku;
|
|
83
84
|
}
|
|
85
|
+
if (amazonProgram !== undefined) {
|
|
86
|
+
localVarQueryParameter['amazonProgram'] = amazonProgram;
|
|
87
|
+
}
|
|
84
88
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
89
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
90
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -109,11 +113,12 @@ export const SalesApiFp = function (configuration) {
|
|
|
109
113
|
* @param {GetOrderMetricsFirstDayOfWeekEnum} [firstDayOfWeek] Specifies the day that the week starts on when granularity=Week, either Monday or Sunday. Default: Monday. Example: Sunday, if you want the week to start on a Sunday.
|
|
110
114
|
* @param {string} [asin] Filters the results by the ASIN that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all ASINs. Example: B0792R1RSN, if you want the response to include order metrics for only ASIN B0792R1RSN.
|
|
111
115
|
* @param {string} [sku] Filters the results by the SKU that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all SKUs. Example: TestSKU, if you want the response to include order metrics for only SKU TestSKU.
|
|
116
|
+
* @param {GetOrderMetricsAmazonProgramEnum} [amazonProgram] Filters the results by the Amazon program that you specify. Do not include this filter if you want the response to include order metrics for all programs. **Example:** `AmazonHaul` returns order metrics for the Amazon Haul program only.
|
|
112
117
|
* @param {*} [options] Override http request option.
|
|
113
118
|
* @throws {RequiredError}
|
|
114
119
|
*/
|
|
115
|
-
async getOrderMetrics(marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, options) {
|
|
116
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderMetrics(marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, options);
|
|
120
|
+
async getOrderMetrics(marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, amazonProgram, options) {
|
|
121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderMetrics(marketplaceIds, interval, granularity, granularityTimeZone, buyerType, fulfillmentNetwork, firstDayOfWeek, asin, sku, amazonProgram, options);
|
|
117
122
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
118
123
|
const localVarOperationServerBasePath = operationServerMap['SalesApi.getOrderMetrics']?.[localVarOperationServerIndex]?.url;
|
|
119
124
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -134,7 +139,7 @@ export const SalesApiFactory = function (configuration, basePath, axios) {
|
|
|
134
139
|
* @throws {RequiredError}
|
|
135
140
|
*/
|
|
136
141
|
getOrderMetrics(requestParameters, options) {
|
|
137
|
-
return localVarFp.getOrderMetrics(requestParameters.marketplaceIds, requestParameters.interval, requestParameters.granularity, requestParameters.granularityTimeZone, requestParameters.buyerType, requestParameters.fulfillmentNetwork, requestParameters.firstDayOfWeek, requestParameters.asin, requestParameters.sku, options).then((request) => request(axios, basePath));
|
|
142
|
+
return localVarFp.getOrderMetrics(requestParameters.marketplaceIds, requestParameters.interval, requestParameters.granularity, requestParameters.granularityTimeZone, requestParameters.buyerType, requestParameters.fulfillmentNetwork, requestParameters.firstDayOfWeek, requestParameters.asin, requestParameters.sku, requestParameters.amazonProgram, options).then((request) => request(axios, basePath));
|
|
138
143
|
},
|
|
139
144
|
};
|
|
140
145
|
};
|
|
@@ -153,7 +158,7 @@ export class SalesApi extends BaseAPI {
|
|
|
153
158
|
* @memberof SalesApi
|
|
154
159
|
*/
|
|
155
160
|
getOrderMetrics(requestParameters, options) {
|
|
156
|
-
return SalesApiFp(this.configuration).getOrderMetrics(requestParameters.marketplaceIds, requestParameters.interval, requestParameters.granularity, requestParameters.granularityTimeZone, requestParameters.buyerType, requestParameters.fulfillmentNetwork, requestParameters.firstDayOfWeek, requestParameters.asin, requestParameters.sku, options).then((request) => request(this.axios, this.basePath));
|
|
161
|
+
return SalesApiFp(this.configuration).getOrderMetrics(requestParameters.marketplaceIds, requestParameters.interval, requestParameters.granularity, requestParameters.granularityTimeZone, requestParameters.buyerType, requestParameters.fulfillmentNetwork, requestParameters.firstDayOfWeek, requestParameters.asin, requestParameters.sku, requestParameters.amazonProgram, options).then((request) => request(this.axios, this.basePath));
|
|
157
162
|
}
|
|
158
163
|
}
|
|
159
164
|
/**
|
|
@@ -182,3 +187,9 @@ export const GetOrderMetricsFirstDayOfWeekEnum = {
|
|
|
182
187
|
Monday: 'Monday',
|
|
183
188
|
Sunday: 'Sunday'
|
|
184
189
|
};
|
|
190
|
+
/**
|
|
191
|
+
* @export
|
|
192
|
+
*/
|
|
193
|
+
export const GetOrderMetricsAmazonProgramEnum = {
|
|
194
|
+
AmazonHaul: 'AmazonHaul'
|
|
195
|
+
};
|
|
@@ -30,10 +30,11 @@ export declare const SalesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
30
30
|
* @param {GetOrderMetricsFirstDayOfWeekEnum} [firstDayOfWeek] Specifies the day that the week starts on when granularity=Week, either Monday or Sunday. Default: Monday. Example: Sunday, if you want the week to start on a Sunday.
|
|
31
31
|
* @param {string} [asin] Filters the results by the ASIN that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all ASINs. Example: B0792R1RSN, if you want the response to include order metrics for only ASIN B0792R1RSN.
|
|
32
32
|
* @param {string} [sku] Filters the results by the SKU that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all SKUs. Example: TestSKU, if you want the response to include order metrics for only SKU TestSKU.
|
|
33
|
+
* @param {GetOrderMetricsAmazonProgramEnum} [amazonProgram] Filters the results by the Amazon program that you specify. Do not include this filter if you want the response to include order metrics for all programs. **Example:** `AmazonHaul` returns order metrics for the Amazon Haul program only.
|
|
33
34
|
* @param {*} [options] Override http request option.
|
|
34
35
|
* @throws {RequiredError}
|
|
35
36
|
*/
|
|
36
|
-
getOrderMetrics: (marketplaceIds: Array<string>, interval: string, granularity: GetOrderMetricsGranularityEnum, granularityTimeZone?: string, buyerType?: GetOrderMetricsBuyerTypeEnum, fulfillmentNetwork?: string, firstDayOfWeek?: GetOrderMetricsFirstDayOfWeekEnum, asin?: string, sku?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
getOrderMetrics: (marketplaceIds: Array<string>, interval: string, granularity: GetOrderMetricsGranularityEnum, granularityTimeZone?: string, buyerType?: GetOrderMetricsBuyerTypeEnum, fulfillmentNetwork?: string, firstDayOfWeek?: GetOrderMetricsFirstDayOfWeekEnum, asin?: string, sku?: string, amazonProgram?: GetOrderMetricsAmazonProgramEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
38
|
};
|
|
38
39
|
/**
|
|
39
40
|
* SalesApi - functional programming interface
|
|
@@ -51,10 +52,11 @@ export declare const SalesApiFp: (configuration?: Configuration) => {
|
|
|
51
52
|
* @param {GetOrderMetricsFirstDayOfWeekEnum} [firstDayOfWeek] Specifies the day that the week starts on when granularity=Week, either Monday or Sunday. Default: Monday. Example: Sunday, if you want the week to start on a Sunday.
|
|
52
53
|
* @param {string} [asin] Filters the results by the ASIN that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all ASINs. Example: B0792R1RSN, if you want the response to include order metrics for only ASIN B0792R1RSN.
|
|
53
54
|
* @param {string} [sku] Filters the results by the SKU that you specify. Specifying both ASIN and SKU returns an error. Do not include this filter if you want the response to include order metrics for all SKUs. Example: TestSKU, if you want the response to include order metrics for only SKU TestSKU.
|
|
55
|
+
* @param {GetOrderMetricsAmazonProgramEnum} [amazonProgram] Filters the results by the Amazon program that you specify. Do not include this filter if you want the response to include order metrics for all programs. **Example:** `AmazonHaul` returns order metrics for the Amazon Haul program only.
|
|
54
56
|
* @param {*} [options] Override http request option.
|
|
55
57
|
* @throws {RequiredError}
|
|
56
58
|
*/
|
|
57
|
-
getOrderMetrics(marketplaceIds: Array<string>, interval: string, granularity: GetOrderMetricsGranularityEnum, granularityTimeZone?: string, buyerType?: GetOrderMetricsBuyerTypeEnum, fulfillmentNetwork?: string, firstDayOfWeek?: GetOrderMetricsFirstDayOfWeekEnum, asin?: string, sku?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderMetricsResponse>>;
|
|
59
|
+
getOrderMetrics(marketplaceIds: Array<string>, interval: string, granularity: GetOrderMetricsGranularityEnum, granularityTimeZone?: string, buyerType?: GetOrderMetricsBuyerTypeEnum, fulfillmentNetwork?: string, firstDayOfWeek?: GetOrderMetricsFirstDayOfWeekEnum, asin?: string, sku?: string, amazonProgram?: GetOrderMetricsAmazonProgramEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderMetricsResponse>>;
|
|
58
60
|
};
|
|
59
61
|
/**
|
|
60
62
|
* SalesApi - factory interface
|
|
@@ -129,6 +131,12 @@ export interface SalesApiGetOrderMetricsRequest {
|
|
|
129
131
|
* @memberof SalesApiGetOrderMetrics
|
|
130
132
|
*/
|
|
131
133
|
readonly sku?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Filters the results by the Amazon program that you specify. Do not include this filter if you want the response to include order metrics for all programs. **Example:** `AmazonHaul` returns order metrics for the Amazon Haul program only.
|
|
136
|
+
* @type {'AmazonHaul'}
|
|
137
|
+
* @memberof SalesApiGetOrderMetrics
|
|
138
|
+
*/
|
|
139
|
+
readonly amazonProgram?: GetOrderMetricsAmazonProgramEnum;
|
|
132
140
|
}
|
|
133
141
|
/**
|
|
134
142
|
* SalesApi - object-oriented interface
|
|
@@ -175,3 +183,10 @@ export declare const GetOrderMetricsFirstDayOfWeekEnum: {
|
|
|
175
183
|
readonly Sunday: "Sunday";
|
|
176
184
|
};
|
|
177
185
|
export type GetOrderMetricsFirstDayOfWeekEnum = typeof GetOrderMetricsFirstDayOfWeekEnum[keyof typeof GetOrderMetricsFirstDayOfWeekEnum];
|
|
186
|
+
/**
|
|
187
|
+
* @export
|
|
188
|
+
*/
|
|
189
|
+
export declare const GetOrderMetricsAmazonProgramEnum: {
|
|
190
|
+
readonly AmazonHaul: "AmazonHaul";
|
|
191
|
+
};
|
|
192
|
+
export type GetOrderMetricsAmazonProgramEnum = typeof GetOrderMetricsAmazonProgramEnum[keyof typeof GetOrderMetricsAmazonProgramEnum];
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/sales-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Sales provides APIs related to sales performance.",
|
|
5
|
-
"version": "3.0
|
|
5
|
+
"version": "3.1.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.15",
|
|
22
|
+
"axios": "^1.10.0"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"sales api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "b36600f33d62a2b6c3a9035968a93bc83e9838a9"
|
|
44
44
|
}
|