@sp-api-sdk/orders-api-v0 1.9.2 → 1.11.1
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.
- package/README.md +2 -2
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/src/api-model/api/orders-v0-api.js +140 -19
- package/dist/cjs/src/api-model/api.js +1 -1
- package/dist/cjs/src/api-model/base.js +1 -1
- package/dist/cjs/src/api-model/index.js +3 -3
- package/dist/cjs/src/api-model/models/buyer-requested-cancel.js +15 -0
- package/dist/cjs/src/api-model/models/get-order-regulated-info-response.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +43 -33
- package/dist/cjs/src/api-model/models/order-regulated-info.js +15 -0
- package/dist/cjs/src/api-model/models/regulated-information-field.js +25 -0
- package/dist/cjs/src/api-model/models/regulated-information.js +15 -0
- package/dist/cjs/src/api-model/models/regulated-order-verification-status.js +28 -0
- package/dist/cjs/src/api-model/models/rejection-reason.js +15 -0
- package/dist/cjs/src/api-model/models/update-verification-status-error-response.js +15 -0
- package/dist/cjs/src/api-model/models/update-verification-status-request-body.js +25 -0
- package/dist/cjs/src/api-model/models/update-verification-status-request.js +15 -0
- package/dist/cjs/src/client.js +12 -0
- package/dist/es/src/api-model/api/orders-v0-api.js +139 -18
- package/dist/es/src/api-model/models/buyer-requested-cancel.js +14 -0
- package/dist/es/src/api-model/models/get-order-regulated-info-response.js +14 -0
- package/dist/es/src/api-model/models/index.js +10 -0
- package/dist/es/src/api-model/models/order-regulated-info.js +14 -0
- package/dist/es/src/api-model/models/regulated-information-field.js +22 -0
- package/dist/es/src/api-model/models/regulated-information.js +14 -0
- package/dist/es/src/api-model/models/regulated-order-verification-status.js +25 -0
- package/dist/es/src/api-model/models/rejection-reason.js +14 -0
- package/dist/es/src/api-model/models/update-verification-status-error-response.js +14 -0
- package/dist/es/src/api-model/models/update-verification-status-request-body.js +22 -0
- package/dist/es/src/api-model/models/update-verification-status-request.js +14 -0
- package/dist/es/src/client.js +12 -0
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +115 -20
- package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +30 -0
- package/dist/types/src/api-model/models/buyer-tax-information.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +31 -0
- package/dist/types/src/api-model/models/index.d.ts +10 -0
- package/dist/types/src/api-model/models/order-item.d.ts +7 -0
- package/dist/types/src/api-model/models/order-regulated-info.d.ts +44 -0
- package/dist/types/src/api-model/models/order.d.ts +13 -1
- package/dist/types/src/api-model/models/regulated-information-field.d.ts +50 -0
- package/dist/types/src/api-model/models/regulated-information.d.ts +25 -0
- package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +66 -0
- package/dist/types/src/api-model/models/rejection-reason.d.ts +30 -0
- package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +24 -0
- package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +44 -0
- package/dist/types/src/api-model/models/update-verification-status-request.d.ts +25 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ The Selling Partner API for Orders helps you programmatically retrieve order inf
|
|
|
7
7
|
|
|
8
8
|
## Documentation
|
|
9
9
|
|
|
10
|
-
Learn more about this Selling Partner API by visiting the [official documentation](https://
|
|
10
|
+
Learn more about this Selling Partner API by visiting the [official documentation](https://developer-docs.amazon.com/sp-api/docs).
|
|
11
11
|
|
|
12
12
|
Also, see the [generated documentation](https://bizon.github.io/selling-partner-api-sdk/modules/_sp_api_sdk_orders_api_v0.html) for this API client.
|
|
13
13
|
|
|
@@ -62,7 +62,7 @@ const client = new OrdersApiClient({
|
|
|
62
62
|
})
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
The rate limits used for each route are specified in the [API documentation](https://
|
|
65
|
+
The rate limits used for each route are specified in the [API documentation](https://developer-docs.amazon.com/sp-api/docs).
|
|
66
66
|
|
|
67
67
|
## License
|
|
68
68
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./src/client"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./src/error"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./src/api-model/models"), exports);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrdersV0Api = exports.OrdersV0ApiFactory = exports.OrdersV0ApiFp = exports.OrdersV0ApiAxiosParamCreator = void 0;
|
|
17
17
|
const tslib_1 = require("tslib");
|
|
18
|
-
const axios_1 =
|
|
18
|
+
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
19
19
|
// Some imports not used depending on template conditions
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
const common_1 = require("../common");
|
|
@@ -56,7 +56,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
56
56
|
};
|
|
57
57
|
},
|
|
58
58
|
/**
|
|
59
|
-
* Returns the shipping address for the specified order. **
|
|
59
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
60
60
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
@@ -84,7 +84,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
84
84
|
};
|
|
85
85
|
},
|
|
86
86
|
/**
|
|
87
|
-
* Returns buyer information for the specified order. **
|
|
87
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
88
88
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
@@ -144,7 +144,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
144
144
|
};
|
|
145
145
|
},
|
|
146
146
|
/**
|
|
147
|
-
* Returns buyer information for the order items in the specified order. **
|
|
147
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
148
148
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
149
149
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
@@ -175,15 +175,43 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
175
175
|
options: localVarRequestOptions,
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
|
+
/**
|
|
179
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
180
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
getOrderRegulatedInfo: async (orderId, options = {}) => {
|
|
185
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
186
|
+
(0, common_1.assertParamExists)('getOrderRegulatedInfo', 'orderId', orderId);
|
|
187
|
+
const localVarPath = `/orders/v0/orders/{orderId}/regulatedInfo`
|
|
188
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
189
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
190
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
191
|
+
let baseOptions;
|
|
192
|
+
if (configuration) {
|
|
193
|
+
baseOptions = configuration.baseOptions;
|
|
194
|
+
}
|
|
195
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
196
|
+
const localVarHeaderParameter = {};
|
|
197
|
+
const localVarQueryParameter = {};
|
|
198
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
199
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
201
|
+
return {
|
|
202
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
203
|
+
options: localVarRequestOptions,
|
|
204
|
+
};
|
|
205
|
+
},
|
|
178
206
|
/**
|
|
179
207
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
180
|
-
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://
|
|
208
|
+
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of marketplaceId values.
|
|
181
209
|
* @param {string} [createdAfter] A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format.
|
|
182
210
|
* @param {string} [createdBefore] A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
|
|
183
211
|
* @param {string} [lastUpdatedAfter] A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
184
212
|
* @param {string} [lastUpdatedBefore] A date used for selecting orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
185
213
|
* @param {Array<string>} [orderStatuses] A list of OrderStatus values used to filter the results. Possible values: PendingAvailability (This status is available for pre-orders only. The order has been placed, payment has not been authorized, and the release date of the item is in the future.); Pending (The order has been placed but payment has not been authorized); Unshipped (Payment has been authorized and the order is ready for shipment, but no items in the order have been shipped); PartiallyShipped (One or more, but not all, items in the order have been shipped); Shipped (All items in the order have been shipped); InvoiceUnconfirmed (All items in the order have been shipped. The seller has not yet given confirmation to Amazon that the invoice has been shipped to the buyer.); Canceled (The order has been canceled); and Unfulfillable (The order cannot be fulfilled. This state applies only to Multi-Channel Fulfillment orders.).
|
|
186
|
-
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values:
|
|
214
|
+
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values: AFN (Fulfillment by Amazon); MFN (Fulfilled by the seller).
|
|
187
215
|
* @param {Array<string>} [paymentMethods] A list of payment method values. Used to select orders paid using the specified payment methods. Possible values: COD (Cash on delivery); CVS (Convenience store payment); Other (Any payment method other than COD or CVS).
|
|
188
216
|
* @param {string} [buyerEmail] The email address of a buyer. Used to select orders that contain the specified email address.
|
|
189
217
|
* @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If SellerOrderId is specified, then FulfillmentChannels, OrderStatuses, PaymentMethod, LastUpdatedAfter, LastUpdatedBefore, and BuyerEmail cannot be specified.
|
|
@@ -302,6 +330,39 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
302
330
|
options: localVarRequestOptions,
|
|
303
331
|
};
|
|
304
332
|
},
|
|
333
|
+
/**
|
|
334
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
335
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
336
|
+
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
updateVerificationStatus: async (orderId, payload, options = {}) => {
|
|
341
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
342
|
+
(0, common_1.assertParamExists)('updateVerificationStatus', 'orderId', orderId);
|
|
343
|
+
// verify required parameter 'payload' is not null or undefined
|
|
344
|
+
(0, common_1.assertParamExists)('updateVerificationStatus', 'payload', payload);
|
|
345
|
+
const localVarPath = `/orders/v0/orders/{orderId}/regulatedInfo`
|
|
346
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
347
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
348
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
349
|
+
let baseOptions;
|
|
350
|
+
if (configuration) {
|
|
351
|
+
baseOptions = configuration.baseOptions;
|
|
352
|
+
}
|
|
353
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
354
|
+
const localVarHeaderParameter = {};
|
|
355
|
+
const localVarQueryParameter = {};
|
|
356
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
358
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
360
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(payload, localVarRequestOptions, configuration);
|
|
361
|
+
return {
|
|
362
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
363
|
+
options: localVarRequestOptions,
|
|
364
|
+
};
|
|
365
|
+
},
|
|
305
366
|
};
|
|
306
367
|
};
|
|
307
368
|
exports.OrdersV0ApiAxiosParamCreator = OrdersV0ApiAxiosParamCreator;
|
|
@@ -323,7 +384,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
323
384
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
324
385
|
},
|
|
325
386
|
/**
|
|
326
|
-
* Returns the shipping address for the specified order. **
|
|
387
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
327
388
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
328
389
|
* @param {*} [options] Override http request option.
|
|
329
390
|
* @throws {RequiredError}
|
|
@@ -333,7 +394,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
333
394
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
334
395
|
},
|
|
335
396
|
/**
|
|
336
|
-
* Returns buyer information for the specified order. **
|
|
397
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
337
398
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
338
399
|
* @param {*} [options] Override http request option.
|
|
339
400
|
* @throws {RequiredError}
|
|
@@ -354,7 +415,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
354
415
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
355
416
|
},
|
|
356
417
|
/**
|
|
357
|
-
* Returns buyer information for the order items in the specified order. **
|
|
418
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
358
419
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
359
420
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
360
421
|
* @param {*} [options] Override http request option.
|
|
@@ -364,15 +425,25 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
364
425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderItemsBuyerInfo(orderId, nextToken, options);
|
|
365
426
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
366
427
|
},
|
|
428
|
+
/**
|
|
429
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
430
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
async getOrderRegulatedInfo(orderId, options) {
|
|
435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderRegulatedInfo(orderId, options);
|
|
436
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
437
|
+
},
|
|
367
438
|
/**
|
|
368
439
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
369
|
-
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://
|
|
440
|
+
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of marketplaceId values.
|
|
370
441
|
* @param {string} [createdAfter] A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format.
|
|
371
442
|
* @param {string} [createdBefore] A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
|
|
372
443
|
* @param {string} [lastUpdatedAfter] A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
373
444
|
* @param {string} [lastUpdatedBefore] A date used for selecting orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
374
445
|
* @param {Array<string>} [orderStatuses] A list of OrderStatus values used to filter the results. Possible values: PendingAvailability (This status is available for pre-orders only. The order has been placed, payment has not been authorized, and the release date of the item is in the future.); Pending (The order has been placed but payment has not been authorized); Unshipped (Payment has been authorized and the order is ready for shipment, but no items in the order have been shipped); PartiallyShipped (One or more, but not all, items in the order have been shipped); Shipped (All items in the order have been shipped); InvoiceUnconfirmed (All items in the order have been shipped. The seller has not yet given confirmation to Amazon that the invoice has been shipped to the buyer.); Canceled (The order has been canceled); and Unfulfillable (The order cannot be fulfilled. This state applies only to Multi-Channel Fulfillment orders.).
|
|
375
|
-
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values:
|
|
446
|
+
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values: AFN (Fulfillment by Amazon); MFN (Fulfilled by the seller).
|
|
376
447
|
* @param {Array<string>} [paymentMethods] A list of payment method values. Used to select orders paid using the specified payment methods. Possible values: COD (Cash on delivery); CVS (Convenience store payment); Other (Any payment method other than COD or CVS).
|
|
377
448
|
* @param {string} [buyerEmail] The email address of a buyer. Used to select orders that contain the specified email address.
|
|
378
449
|
* @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If SellerOrderId is specified, then FulfillmentChannels, OrderStatuses, PaymentMethod, LastUpdatedAfter, LastUpdatedBefore, and BuyerEmail cannot be specified.
|
|
@@ -401,6 +472,17 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
401
472
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipmentStatus(orderId, payload, options);
|
|
402
473
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
403
474
|
},
|
|
475
|
+
/**
|
|
476
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
477
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
478
|
+
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
479
|
+
* @param {*} [options] Override http request option.
|
|
480
|
+
* @throws {RequiredError}
|
|
481
|
+
*/
|
|
482
|
+
async updateVerificationStatus(orderId, payload, options) {
|
|
483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateVerificationStatus(orderId, payload, options);
|
|
484
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
485
|
+
},
|
|
404
486
|
};
|
|
405
487
|
};
|
|
406
488
|
exports.OrdersV0ApiFp = OrdersV0ApiFp;
|
|
@@ -421,7 +503,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
421
503
|
return localVarFp.getOrder(orderId, options).then((request) => request(axios, basePath));
|
|
422
504
|
},
|
|
423
505
|
/**
|
|
424
|
-
* Returns the shipping address for the specified order. **
|
|
506
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
425
507
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
426
508
|
* @param {*} [options] Override http request option.
|
|
427
509
|
* @throws {RequiredError}
|
|
@@ -430,7 +512,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
430
512
|
return localVarFp.getOrderAddress(orderId, options).then((request) => request(axios, basePath));
|
|
431
513
|
},
|
|
432
514
|
/**
|
|
433
|
-
* Returns buyer information for the specified order. **
|
|
515
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
434
516
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
435
517
|
* @param {*} [options] Override http request option.
|
|
436
518
|
* @throws {RequiredError}
|
|
@@ -449,7 +531,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
449
531
|
return localVarFp.getOrderItems(orderId, nextToken, options).then((request) => request(axios, basePath));
|
|
450
532
|
},
|
|
451
533
|
/**
|
|
452
|
-
* Returns buyer information for the order items in the specified order. **
|
|
534
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
453
535
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
454
536
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
455
537
|
* @param {*} [options] Override http request option.
|
|
@@ -458,15 +540,24 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
458
540
|
getOrderItemsBuyerInfo(orderId, nextToken, options) {
|
|
459
541
|
return localVarFp.getOrderItemsBuyerInfo(orderId, nextToken, options).then((request) => request(axios, basePath));
|
|
460
542
|
},
|
|
543
|
+
/**
|
|
544
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
545
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
*/
|
|
549
|
+
getOrderRegulatedInfo(orderId, options) {
|
|
550
|
+
return localVarFp.getOrderRegulatedInfo(orderId, options).then((request) => request(axios, basePath));
|
|
551
|
+
},
|
|
461
552
|
/**
|
|
462
553
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
463
|
-
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://
|
|
554
|
+
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of marketplaceId values.
|
|
464
555
|
* @param {string} [createdAfter] A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format.
|
|
465
556
|
* @param {string} [createdBefore] A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
|
|
466
557
|
* @param {string} [lastUpdatedAfter] A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
467
558
|
* @param {string} [lastUpdatedBefore] A date used for selecting orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
468
559
|
* @param {Array<string>} [orderStatuses] A list of OrderStatus values used to filter the results. Possible values: PendingAvailability (This status is available for pre-orders only. The order has been placed, payment has not been authorized, and the release date of the item is in the future.); Pending (The order has been placed but payment has not been authorized); Unshipped (Payment has been authorized and the order is ready for shipment, but no items in the order have been shipped); PartiallyShipped (One or more, but not all, items in the order have been shipped); Shipped (All items in the order have been shipped); InvoiceUnconfirmed (All items in the order have been shipped. The seller has not yet given confirmation to Amazon that the invoice has been shipped to the buyer.); Canceled (The order has been canceled); and Unfulfillable (The order cannot be fulfilled. This state applies only to Multi-Channel Fulfillment orders.).
|
|
469
|
-
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values:
|
|
560
|
+
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values: AFN (Fulfillment by Amazon); MFN (Fulfilled by the seller).
|
|
470
561
|
* @param {Array<string>} [paymentMethods] A list of payment method values. Used to select orders paid using the specified payment methods. Possible values: COD (Cash on delivery); CVS (Convenience store payment); Other (Any payment method other than COD or CVS).
|
|
471
562
|
* @param {string} [buyerEmail] The email address of a buyer. Used to select orders that contain the specified email address.
|
|
472
563
|
* @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If SellerOrderId is specified, then FulfillmentChannels, OrderStatuses, PaymentMethod, LastUpdatedAfter, LastUpdatedBefore, and BuyerEmail cannot be specified.
|
|
@@ -493,6 +584,16 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
493
584
|
updateShipmentStatus(orderId, payload, options) {
|
|
494
585
|
return localVarFp.updateShipmentStatus(orderId, payload, options).then((request) => request(axios, basePath));
|
|
495
586
|
},
|
|
587
|
+
/**
|
|
588
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
589
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
590
|
+
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
591
|
+
* @param {*} [options] Override http request option.
|
|
592
|
+
* @throws {RequiredError}
|
|
593
|
+
*/
|
|
594
|
+
updateVerificationStatus(orderId, payload, options) {
|
|
595
|
+
return localVarFp.updateVerificationStatus(orderId, payload, options).then((request) => request(axios, basePath));
|
|
596
|
+
},
|
|
496
597
|
};
|
|
497
598
|
};
|
|
498
599
|
exports.OrdersV0ApiFactory = OrdersV0ApiFactory;
|
|
@@ -514,7 +615,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
514
615
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
515
616
|
}
|
|
516
617
|
/**
|
|
517
|
-
* Returns the shipping address for the specified order. **
|
|
618
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
518
619
|
* @param {OrdersV0ApiGetOrderAddressRequest} requestParameters Request parameters.
|
|
519
620
|
* @param {*} [options] Override http request option.
|
|
520
621
|
* @throws {RequiredError}
|
|
@@ -524,7 +625,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
524
625
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderAddress(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
525
626
|
}
|
|
526
627
|
/**
|
|
527
|
-
* Returns buyer information for the specified order. **
|
|
628
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
528
629
|
* @param {OrdersV0ApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
|
|
529
630
|
* @param {*} [options] Override http request option.
|
|
530
631
|
* @throws {RequiredError}
|
|
@@ -544,7 +645,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
544
645
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderItems(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
545
646
|
}
|
|
546
647
|
/**
|
|
547
|
-
* Returns buyer information for the order items in the specified order. **
|
|
648
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
548
649
|
* @param {OrdersV0ApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
|
|
549
650
|
* @param {*} [options] Override http request option.
|
|
550
651
|
* @throws {RequiredError}
|
|
@@ -553,6 +654,16 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
553
654
|
getOrderItemsBuyerInfo(requestParameters, options) {
|
|
554
655
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderItemsBuyerInfo(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
555
656
|
}
|
|
657
|
+
/**
|
|
658
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
659
|
+
* @param {OrdersV0ApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
|
|
660
|
+
* @param {*} [options] Override http request option.
|
|
661
|
+
* @throws {RequiredError}
|
|
662
|
+
* @memberof OrdersV0Api
|
|
663
|
+
*/
|
|
664
|
+
getOrderRegulatedInfo(requestParameters, options) {
|
|
665
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderRegulatedInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
666
|
+
}
|
|
556
667
|
/**
|
|
557
668
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
558
669
|
* @param {OrdersV0ApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -573,5 +684,15 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
573
684
|
updateShipmentStatus(requestParameters, options) {
|
|
574
685
|
return (0, exports.OrdersV0ApiFp)(this.configuration).updateShipmentStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
575
686
|
}
|
|
687
|
+
/**
|
|
688
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
689
|
+
* @param {OrdersV0ApiUpdateVerificationStatusRequest} requestParameters Request parameters.
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
* @memberof OrdersV0Api
|
|
693
|
+
*/
|
|
694
|
+
updateVerificationStatus(requestParameters, options) {
|
|
695
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).updateVerificationStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
696
|
+
}
|
|
576
697
|
}
|
|
577
698
|
exports.OrdersV0Api = OrdersV0Api;
|
|
@@ -17,7 +17,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
|
|
|
17
17
|
const tslib_1 = require("tslib");
|
|
18
18
|
// Some imports not used depending on template conditions
|
|
19
19
|
// @ts-ignore
|
|
20
|
-
const axios_1 =
|
|
20
|
+
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
21
21
|
exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
const tslib_1 = require("tslib");
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
tslib_1.__exportStar(require("./api"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./configuration"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,36 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./address"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./automated-shipping-settings"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./buyer-customized-info-detail"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./buyer-info"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./buyer-requested-cancel"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./buyer-tax-info"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./buyer-tax-information"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./fulfillment-instruction"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./get-order-address-response"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./get-order-buyer-info-response"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./get-order-items-buyer-info-response"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./get-order-items-response"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./get-order-regulated-info-response"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./get-order-response"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./get-orders-response"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./item-buyer-info"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./marketplace-tax-info"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./model-error"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./money"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./order"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./order-address"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./order-buyer-info"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./order-item"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./order-item-buyer-info"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./order-items-buyer-info-list"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./order-items-list"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./order-regulated-info"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./orders-list"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./payment-execution-detail-item"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./points-granted-detail"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./product-info-detail"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./regulated-information"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./regulated-information-field"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./regulated-order-verification-status"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./rejection-reason"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./shipment-status"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./tax-classification"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./tax-collection"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./update-shipment-status-error-response"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./update-shipment-status-request"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./update-verification-status-error-response"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./update-verification-status-request"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./update-verification-status-request-body"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RegulatedInformationFieldFieldTypeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var RegulatedInformationFieldFieldTypeEnum;
|
|
22
|
+
(function (RegulatedInformationFieldFieldTypeEnum) {
|
|
23
|
+
RegulatedInformationFieldFieldTypeEnum["Text"] = "Text";
|
|
24
|
+
RegulatedInformationFieldFieldTypeEnum["FileAttachment"] = "FileAttachment";
|
|
25
|
+
})(RegulatedInformationFieldFieldTypeEnum = exports.RegulatedInformationFieldFieldTypeEnum || (exports.RegulatedInformationFieldFieldTypeEnum = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|