@sp-api-sdk/orders-api-v0 1.18.7 → 1.19.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.
- package/dist/cjs/src/api-model/api/orders-v0-api.js +221 -6
- package/dist/cjs/src/api-model/base.js +5 -1
- package/dist/cjs/src/api-model/configuration.js +49 -0
- package/dist/cjs/src/api-model/models/approval-support-data-element.js +15 -0
- package/dist/cjs/src/api-model/models/confirm-shipment-error-response.js +15 -0
- package/dist/cjs/src/api-model/models/confirm-shipment-order-item.js +15 -0
- package/dist/cjs/src/api-model/models/confirm-shipment-request.js +19 -0
- package/dist/cjs/src/api-model/models/get-order-approvals-response.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +18 -0
- package/dist/cjs/src/api-model/models/item-approval-action-changes.js +15 -0
- package/dist/cjs/src/api-model/models/item-approval-action.js +21 -0
- package/dist/cjs/src/api-model/models/item-approval-context.js +15 -0
- package/dist/cjs/src/api-model/models/item-approval-status.js +29 -0
- package/dist/cjs/src/api-model/models/item-approval-type.js +24 -0
- package/dist/cjs/src/api-model/models/item-approval.js +25 -0
- package/dist/cjs/src/api-model/models/item-identifier.js +21 -0
- package/dist/cjs/src/api-model/models/order-approvals-response.js +15 -0
- package/dist/cjs/src/api-model/models/order-item-approval-request.js +15 -0
- package/dist/cjs/src/api-model/models/order-item-approvals.js +15 -0
- package/dist/cjs/src/api-model/models/package-detail.js +15 -0
- package/dist/cjs/src/api-model/models/update-items-approvals-error-response.js +15 -0
- package/dist/cjs/src/api-model/models/update-order-approvals-request.js +15 -0
- package/dist/cjs/src/client.js +21 -0
- package/dist/es/src/api-model/api/orders-v0-api.js +221 -6
- package/dist/es/src/api-model/base.js +5 -1
- package/dist/es/src/api-model/configuration.js +49 -0
- package/dist/es/src/api-model/models/approval-support-data-element.js +14 -0
- package/dist/es/src/api-model/models/confirm-shipment-error-response.js +14 -0
- package/dist/es/src/api-model/models/confirm-shipment-order-item.js +14 -0
- package/dist/es/src/api-model/models/confirm-shipment-request.js +16 -0
- package/dist/es/src/api-model/models/get-order-approvals-response.js +14 -0
- package/dist/es/src/api-model/models/index.js +18 -0
- package/dist/es/src/api-model/models/item-approval-action-changes.js +14 -0
- package/dist/es/src/api-model/models/item-approval-action.js +18 -0
- package/dist/es/src/api-model/models/item-approval-context.js +14 -0
- package/dist/es/src/api-model/models/item-approval-status.js +26 -0
- package/dist/es/src/api-model/models/item-approval-type.js +21 -0
- package/dist/es/src/api-model/models/item-approval.js +22 -0
- package/dist/es/src/api-model/models/item-identifier.js +18 -0
- package/dist/es/src/api-model/models/order-approvals-response.js +14 -0
- package/dist/es/src/api-model/models/order-item-approval-request.js +14 -0
- package/dist/es/src/api-model/models/order-item-approvals.js +14 -0
- package/dist/es/src/api-model/models/package-detail.js +14 -0
- package/dist/es/src/api-model/models/update-items-approvals-error-response.js +14 -0
- package/dist/es/src/api-model/models/update-order-approvals-request.js +14 -0
- package/dist/es/src/client.js +21 -0
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +197 -3
- package/dist/types/src/api-model/models/approval-support-data-element.d.ts +30 -0
- package/dist/types/src/api-model/models/confirm-shipment-error-response.d.ts +24 -0
- package/dist/types/src/api-model/models/confirm-shipment-order-item.d.ts +36 -0
- package/dist/types/src/api-model/models/confirm-shipment-request.d.ts +41 -0
- package/dist/types/src/api-model/models/get-order-approvals-response.d.ts +31 -0
- package/dist/types/src/api-model/models/index.d.ts +18 -0
- package/dist/types/src/api-model/models/item-approval-action-changes.d.ts +38 -0
- package/dist/types/src/api-model/models/item-approval-action.d.ts +43 -0
- package/dist/types/src/api-model/models/item-approval-context.d.ts +39 -0
- package/dist/types/src/api-model/models/item-approval-status.d.ts +25 -0
- package/dist/types/src/api-model/models/item-approval-type.d.ts +20 -0
- package/dist/types/src/api-model/models/item-approval.d.ts +72 -0
- package/dist/types/src/api-model/models/item-identifier.d.ts +36 -0
- package/dist/types/src/api-model/models/order-approvals-response.d.ts +31 -0
- package/dist/types/src/api-model/models/order-item-approval-request.d.ts +31 -0
- package/dist/types/src/api-model/models/order-item-approvals.d.ts +45 -0
- package/dist/types/src/api-model/models/order-item.d.ts +13 -0
- package/dist/types/src/api-model/models/order.d.ts +14 -0
- package/dist/types/src/api-model/models/package-detail.d.ts +67 -0
- package/dist/types/src/api-model/models/update-items-approvals-error-response.d.ts +24 -0
- package/dist/types/src/api-model/models/update-order-approvals-request.d.ts +31 -0
- package/package.json +3 -3
|
@@ -12,6 +12,55 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
export class Configuration {
|
|
15
|
+
/**
|
|
16
|
+
* parameter for apiKey security
|
|
17
|
+
* @param name security name
|
|
18
|
+
* @memberof Configuration
|
|
19
|
+
*/
|
|
20
|
+
apiKey;
|
|
21
|
+
/**
|
|
22
|
+
* parameter for basic security
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
username;
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
password;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for oauth2 security
|
|
37
|
+
* @param name security name
|
|
38
|
+
* @param scopes oauth2 scope
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
accessToken;
|
|
42
|
+
/**
|
|
43
|
+
* override base path
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Configuration
|
|
47
|
+
*/
|
|
48
|
+
basePath;
|
|
49
|
+
/**
|
|
50
|
+
* base options for axios calls
|
|
51
|
+
*
|
|
52
|
+
* @type {any}
|
|
53
|
+
* @memberof Configuration
|
|
54
|
+
*/
|
|
55
|
+
baseOptions;
|
|
56
|
+
/**
|
|
57
|
+
* The FormData constructor that will be used to create multipart form data
|
|
58
|
+
* requests. You can inject this here so that execution environments that
|
|
59
|
+
* do not support the FormData class can still run the generated client.
|
|
60
|
+
*
|
|
61
|
+
* @type {new () => FormData}
|
|
62
|
+
*/
|
|
63
|
+
formDataCtor;
|
|
15
64
|
constructor(param = {}) {
|
|
16
65
|
this.apiKey = param.apiKey;
|
|
17
66
|
this.username = param.username;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const ConfirmShipmentRequestCodCollectionMethodEnum = {
|
|
15
|
+
DirectPayment: 'DirectPayment'
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -1,34 +1,50 @@
|
|
|
1
1
|
export * from './address';
|
|
2
|
+
export * from './approval-support-data-element';
|
|
2
3
|
export * from './automated-shipping-settings';
|
|
3
4
|
export * from './buyer-customized-info-detail';
|
|
4
5
|
export * from './buyer-info';
|
|
5
6
|
export * from './buyer-requested-cancel';
|
|
6
7
|
export * from './buyer-tax-info';
|
|
7
8
|
export * from './buyer-tax-information';
|
|
9
|
+
export * from './confirm-shipment-error-response';
|
|
10
|
+
export * from './confirm-shipment-order-item';
|
|
11
|
+
export * from './confirm-shipment-request';
|
|
8
12
|
export * from './easy-ship-shipment-status';
|
|
9
13
|
export * from './electronic-invoice-status';
|
|
10
14
|
export * from './fulfillment-instruction';
|
|
11
15
|
export * from './get-order-address-response';
|
|
16
|
+
export * from './get-order-approvals-response';
|
|
12
17
|
export * from './get-order-buyer-info-response';
|
|
13
18
|
export * from './get-order-items-buyer-info-response';
|
|
14
19
|
export * from './get-order-items-response';
|
|
15
20
|
export * from './get-order-regulated-info-response';
|
|
16
21
|
export * from './get-order-response';
|
|
17
22
|
export * from './get-orders-response';
|
|
23
|
+
export * from './item-approval';
|
|
24
|
+
export * from './item-approval-action';
|
|
25
|
+
export * from './item-approval-action-changes';
|
|
26
|
+
export * from './item-approval-context';
|
|
27
|
+
export * from './item-approval-status';
|
|
28
|
+
export * from './item-approval-type';
|
|
18
29
|
export * from './item-buyer-info';
|
|
30
|
+
export * from './item-identifier';
|
|
19
31
|
export * from './marketplace-tax-info';
|
|
20
32
|
export * from './model-error';
|
|
21
33
|
export * from './money';
|
|
22
34
|
export * from './order';
|
|
23
35
|
export * from './order-address';
|
|
36
|
+
export * from './order-approvals-response';
|
|
24
37
|
export * from './order-buyer-info';
|
|
25
38
|
export * from './order-item';
|
|
39
|
+
export * from './order-item-approval-request';
|
|
40
|
+
export * from './order-item-approvals';
|
|
26
41
|
export * from './order-item-buyer-info';
|
|
27
42
|
export * from './order-items-buyer-info-list';
|
|
28
43
|
export * from './order-items-inner';
|
|
29
44
|
export * from './order-items-list';
|
|
30
45
|
export * from './order-regulated-info';
|
|
31
46
|
export * from './orders-list';
|
|
47
|
+
export * from './package-detail';
|
|
32
48
|
export * from './payment-execution-detail-item';
|
|
33
49
|
export * from './points-granted-detail';
|
|
34
50
|
export * from './product-info-detail';
|
|
@@ -39,6 +55,8 @@ export * from './rejection-reason';
|
|
|
39
55
|
export * from './shipment-status';
|
|
40
56
|
export * from './tax-classification';
|
|
41
57
|
export * from './tax-collection';
|
|
58
|
+
export * from './update-items-approvals-error-response';
|
|
59
|
+
export * from './update-order-approvals-request';
|
|
42
60
|
export * from './update-shipment-status-error-response';
|
|
43
61
|
export * from './update-shipment-status-request';
|
|
44
62
|
export * from './update-verification-status-error-response';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const ItemApprovalActionActionTypeEnum = {
|
|
15
|
+
Approve: 'APPROVE',
|
|
16
|
+
Decline: 'DECLINE',
|
|
17
|
+
ApproveWithChanges: 'APPROVE_WITH_CHANGES'
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Defines the possible status of an order item approval.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const ItemApprovalStatus = {
|
|
20
|
+
PendingSellingPartnerApproval: 'PENDING_SELLING_PARTNER_APPROVAL',
|
|
21
|
+
ProcessingSellingPartnerApproval: 'PROCESSING_SELLING_PARTNER_APPROVAL',
|
|
22
|
+
PendingAmazonApproval: 'PENDING_AMAZON_APPROVAL',
|
|
23
|
+
Approved: 'APPROVED',
|
|
24
|
+
ApprovedWithChanges: 'APPROVED_WITH_CHANGES',
|
|
25
|
+
Declined: 'DECLINED'
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Defines the approval process types available for order items.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const ItemApprovalType = {
|
|
20
|
+
LeonardiApproval: 'LEONARDI_APPROVAL'
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const ItemApprovalActorEnum = {
|
|
15
|
+
SellingPartner: 'SELLING_PARTNER',
|
|
16
|
+
Amazon: 'AMAZON'
|
|
17
|
+
};
|
|
18
|
+
export const ItemApprovalApprovalActionProcessStatusEnum = {
|
|
19
|
+
Processing: 'PROCESSING',
|
|
20
|
+
Success: 'SUCCESS',
|
|
21
|
+
Error: 'ERROR'
|
|
22
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const ItemIdentifierIdentifierTypeEnum = {
|
|
15
|
+
Asin: 'ASIN',
|
|
16
|
+
SellerSku: 'SELLER_SKU',
|
|
17
|
+
ExternalId: 'EXTERNAL_ID'
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
package/dist/es/src/client.js
CHANGED
|
@@ -64,6 +64,27 @@ export const clientRateLimits = [
|
|
|
64
64
|
rate: 0.5,
|
|
65
65
|
burst: 30,
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
method: 'get',
|
|
69
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
70
|
+
urlRegex: new RegExp('^/orders/v0/orders/[^/]*/approvals$'),
|
|
71
|
+
rate: 0.5,
|
|
72
|
+
burst: 30,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
method: 'post',
|
|
76
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
77
|
+
urlRegex: new RegExp('^/orders/v0/orders/[^/]*/approvals$'),
|
|
78
|
+
rate: 5,
|
|
79
|
+
burst: 15,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
method: 'post',
|
|
83
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
84
|
+
urlRegex: new RegExp('^/orders/v0/orders/[^/]*/shipmentConfirmation$'),
|
|
85
|
+
rate: 2,
|
|
86
|
+
burst: 10,
|
|
87
|
+
},
|
|
67
88
|
];
|
|
68
89
|
export class OrdersApiClient extends OrdersV0Api {
|
|
69
90
|
constructor(configuration) {
|