@sp-api-sdk/orders-api-v0 1.13.0 → 1.13.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/dist/cjs/src/api-model/api/orders-v0-api.js +9 -9
- package/dist/cjs/src/api-model/models/address.js +4 -9
- package/dist/cjs/src/api-model/models/order-item.js +4 -9
- package/dist/cjs/src/api-model/models/order.js +30 -55
- package/dist/cjs/src/api-model/models/regulated-information-field.js +4 -9
- package/dist/cjs/src/api-model/models/shipment-status.js +5 -6
- package/dist/cjs/src/api-model/models/tax-collection.js +6 -16
- package/dist/cjs/src/api-model/models/verification-status.js +7 -8
- package/dist/es/src/api-model/api/orders-v0-api.js +9 -9
- package/dist/es/src/api-model/models/address.js +4 -9
- package/dist/es/src/api-model/models/order-item.js +4 -9
- package/dist/es/src/api-model/models/order.js +30 -55
- package/dist/es/src/api-model/models/regulated-information-field.js +4 -9
- package/dist/es/src/api-model/models/shipment-status.js +5 -6
- package/dist/es/src/api-model/models/tax-collection.js +6 -16
- package/dist/es/src/api-model/models/verification-status.js +7 -8
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +28 -28
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +2 -2
- package/dist/types/src/api-model/models/address.d.ts +18 -21
- package/dist/types/src/api-model/models/automated-shipping-settings.d.ts +3 -3
- package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-info.d.ts +5 -5
- package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +2 -2
- package/dist/types/src/api-model/models/buyer-tax-info.d.ts +3 -3
- package/dist/types/src/api-model/models/buyer-tax-information.d.ts +4 -4
- package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-address-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-items-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-orders-response.d.ts +2 -2
- package/dist/types/src/api-model/models/item-buyer-info.d.ts +5 -5
- package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +1 -1
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/money.d.ts +2 -2
- package/dist/types/src/api-model/models/order-address.d.ts +2 -2
- package/dist/types/src/api-model/models/order-buyer-info.d.ts +6 -6
- package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +6 -6
- package/dist/types/src/api-model/models/order-item.d.ts +39 -42
- package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +3 -3
- package/dist/types/src/api-model/models/order-items-list.d.ts +3 -3
- package/dist/types/src/api-model/models/order-regulated-info.d.ts +4 -4
- package/dist/types/src/api-model/models/order.d.ts +81 -96
- package/dist/types/src/api-model/models/orders-list.d.ts +4 -4
- package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +2 -2
- package/dist/types/src/api-model/models/points-granted-detail.d.ts +2 -2
- package/dist/types/src/api-model/models/product-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-information-field.d.ts +9 -12
- package/dist/types/src/api-model/models/regulated-information.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +6 -6
- package/dist/types/src/api-model/models/rejection-reason.d.ts +2 -2
- package/dist/types/src/api-model/models/shipment-status.d.ts +6 -5
- package/dist/types/src/api-model/models/tax-classification.d.ts +2 -2
- package/dist/types/src/api-model/models/tax-collection.d.ts +10 -16
- package/dist/types/src/api-model/models/update-shipment-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-shipment-status-request.d.ts +3 -3
- package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +3 -3
- package/dist/types/src/api-model/models/update-verification-status-request.d.ts +1 -1
- package/dist/types/src/api-model/models/verification-status.d.ts +8 -7
- package/package.json +2 -2
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { GetOrderAddressResponse } from '../models';
|
|
@@ -32,21 +32,21 @@ export declare const OrdersV0ApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
33
33
|
* @throws {RequiredError}
|
|
34
34
|
*/
|
|
35
|
-
getOrder: (orderId: string, options?:
|
|
35
|
+
getOrder: (orderId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
36
|
/**
|
|
37
37
|
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
38
38
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
getOrderAddress: (orderId: string, options?:
|
|
42
|
+
getOrderAddress: (orderId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
44
|
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
45
45
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
getOrderBuyerInfo: (orderId: string, options?:
|
|
49
|
+
getOrderBuyerInfo: (orderId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
50
|
/**
|
|
51
51
|
* Returns detailed order item information for the order indicated by the specified order ID. If NextToken is provided, it\'s used to retrieve the next page of order items. Note: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
52
52
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -54,7 +54,7 @@ export declare const OrdersV0ApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
57
|
-
getOrderItems: (orderId: string, nextToken?: string | undefined, options?:
|
|
57
|
+
getOrderItems: (orderId: string, nextToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
58
|
/**
|
|
59
59
|
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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 Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -62,14 +62,14 @@ export declare const OrdersV0ApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
getOrderItemsBuyerInfo: (orderId: string, nextToken?: string | undefined, options?:
|
|
65
|
+
getOrderItemsBuyerInfo: (orderId: string, nextToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
66
|
/**
|
|
67
67
|
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
68
68
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
69
69
|
* @param {*} [options] Override http request option.
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
*/
|
|
72
|
-
getOrderRegulatedInfo: (orderId: string, options?:
|
|
72
|
+
getOrderRegulatedInfo: (orderId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
73
|
/**
|
|
74
74
|
* 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.0167 | 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.
|
|
75
75
|
* @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.
|
|
@@ -92,7 +92,7 @@ export declare const OrdersV0ApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
*/
|
|
95
|
-
getOrders: (marketplaceIds: Array<string>, createdAfter?: string | undefined, createdBefore?: string | undefined, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, orderStatuses?: string[] | undefined, fulfillmentChannels?: string[] | undefined, paymentMethods?: string[] | undefined, buyerEmail?: string | undefined, sellerOrderId?: string | undefined, maxResultsPerPage?: number | undefined, easyShipShipmentStatuses?: string[] | undefined, nextToken?: string | undefined, amazonOrderIds?: string[] | undefined, actualFulfillmentSupplySourceId?: string | undefined, isISPU?: boolean | undefined, storeChainStoreId?: string | undefined, options?:
|
|
95
|
+
getOrders: (marketplaceIds: Array<string>, createdAfter?: string | undefined, createdBefore?: string | undefined, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, orderStatuses?: string[] | undefined, fulfillmentChannels?: string[] | undefined, paymentMethods?: string[] | undefined, buyerEmail?: string | undefined, sellerOrderId?: string | undefined, maxResultsPerPage?: number | undefined, easyShipShipmentStatuses?: string[] | undefined, nextToken?: string | undefined, amazonOrderIds?: string[] | undefined, actualFulfillmentSupplySourceId?: string | undefined, isISPU?: boolean | undefined, storeChainStoreId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
96
|
/**
|
|
97
97
|
* Update the shipment status. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 15 | |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.
|
|
98
98
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -100,7 +100,7 @@ export declare const OrdersV0ApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
updateShipmentStatus: (orderId: string, payload: UpdateShipmentStatusRequest, options?:
|
|
103
|
+
updateShipmentStatus: (orderId: string, payload: UpdateShipmentStatusRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
104
|
/**
|
|
105
105
|
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
106
106
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -108,7 +108,7 @@ export declare const OrdersV0ApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
*/
|
|
111
|
-
updateVerificationStatus: (orderId: string, payload: UpdateVerificationStatusRequest, options?:
|
|
111
|
+
updateVerificationStatus: (orderId: string, payload: UpdateVerificationStatusRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
112
|
};
|
|
113
113
|
/**
|
|
114
114
|
* OrdersV0Api - functional programming interface
|
|
@@ -121,21 +121,21 @@ export declare const OrdersV0ApiFp: (configuration?: Configuration | undefined)
|
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
getOrder(orderId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderResponse>>;
|
|
124
|
+
getOrder(orderId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderResponse>>;
|
|
125
125
|
/**
|
|
126
126
|
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
127
127
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
129
129
|
* @throws {RequiredError}
|
|
130
130
|
*/
|
|
131
|
-
getOrderAddress(orderId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderAddressResponse>>;
|
|
131
|
+
getOrderAddress(orderId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderAddressResponse>>;
|
|
132
132
|
/**
|
|
133
133
|
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
134
134
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
getOrderBuyerInfo(orderId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderBuyerInfoResponse>>;
|
|
138
|
+
getOrderBuyerInfo(orderId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderBuyerInfoResponse>>;
|
|
139
139
|
/**
|
|
140
140
|
* Returns detailed order item information for the order indicated by the specified order ID. If NextToken is provided, it\'s used to retrieve the next page of order items. Note: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
141
141
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -143,7 +143,7 @@ export declare const OrdersV0ApiFp: (configuration?: Configuration | undefined)
|
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
*/
|
|
146
|
-
getOrderItems(orderId: string, nextToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderItemsResponse>>;
|
|
146
|
+
getOrderItems(orderId: string, nextToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderItemsResponse>>;
|
|
147
147
|
/**
|
|
148
148
|
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
149
149
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -151,14 +151,14 @@ export declare const OrdersV0ApiFp: (configuration?: Configuration | undefined)
|
|
|
151
151
|
* @param {*} [options] Override http request option.
|
|
152
152
|
* @throws {RequiredError}
|
|
153
153
|
*/
|
|
154
|
-
getOrderItemsBuyerInfo(orderId: string, nextToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderItemsBuyerInfoResponse>>;
|
|
154
|
+
getOrderItemsBuyerInfo(orderId: string, nextToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderItemsBuyerInfoResponse>>;
|
|
155
155
|
/**
|
|
156
156
|
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
157
157
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
160
160
|
*/
|
|
161
|
-
getOrderRegulatedInfo(orderId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderRegulatedInfoResponse>>;
|
|
161
|
+
getOrderRegulatedInfo(orderId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrderRegulatedInfoResponse>>;
|
|
162
162
|
/**
|
|
163
163
|
* 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.0167 | 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.
|
|
164
164
|
* @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,7 +181,7 @@ export declare const OrdersV0ApiFp: (configuration?: Configuration | undefined)
|
|
|
181
181
|
* @param {*} [options] Override http request option.
|
|
182
182
|
* @throws {RequiredError}
|
|
183
183
|
*/
|
|
184
|
-
getOrders(marketplaceIds: Array<string>, createdAfter?: string | undefined, createdBefore?: string | undefined, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, orderStatuses?: string[] | undefined, fulfillmentChannels?: string[] | undefined, paymentMethods?: string[] | undefined, buyerEmail?: string | undefined, sellerOrderId?: string | undefined, maxResultsPerPage?: number | undefined, easyShipShipmentStatuses?: string[] | undefined, nextToken?: string | undefined, amazonOrderIds?: string[] | undefined, actualFulfillmentSupplySourceId?: string | undefined, isISPU?: boolean | undefined, storeChainStoreId?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrdersResponse>>;
|
|
184
|
+
getOrders(marketplaceIds: Array<string>, createdAfter?: string | undefined, createdBefore?: string | undefined, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, orderStatuses?: string[] | undefined, fulfillmentChannels?: string[] | undefined, paymentMethods?: string[] | undefined, buyerEmail?: string | undefined, sellerOrderId?: string | undefined, maxResultsPerPage?: number | undefined, easyShipShipmentStatuses?: string[] | undefined, nextToken?: string | undefined, amazonOrderIds?: string[] | undefined, actualFulfillmentSupplySourceId?: string | undefined, isISPU?: boolean | undefined, storeChainStoreId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOrdersResponse>>;
|
|
185
185
|
/**
|
|
186
186
|
* Update the shipment status. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 15 | |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.
|
|
187
187
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -189,7 +189,7 @@ export declare const OrdersV0ApiFp: (configuration?: Configuration | undefined)
|
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
updateShipmentStatus(orderId: string, payload: UpdateShipmentStatusRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
192
|
+
updateShipmentStatus(orderId: string, payload: UpdateShipmentStatusRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
193
193
|
/**
|
|
194
194
|
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
195
195
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -197,7 +197,7 @@ export declare const OrdersV0ApiFp: (configuration?: Configuration | undefined)
|
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
*/
|
|
200
|
-
updateVerificationStatus(orderId: string, payload: UpdateVerificationStatusRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
200
|
+
updateVerificationStatus(orderId: string, payload: UpdateVerificationStatusRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
201
201
|
};
|
|
202
202
|
/**
|
|
203
203
|
* OrdersV0Api - factory interface
|
|
@@ -539,7 +539,7 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
539
539
|
* @throws {RequiredError}
|
|
540
540
|
* @memberof OrdersV0Api
|
|
541
541
|
*/
|
|
542
|
-
getOrder(requestParameters: OrdersV0ApiGetOrderRequest, options?:
|
|
542
|
+
getOrder(requestParameters: OrdersV0ApiGetOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderResponse, any>>;
|
|
543
543
|
/**
|
|
544
544
|
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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
545
|
* @param {OrdersV0ApiGetOrderAddressRequest} requestParameters Request parameters.
|
|
@@ -547,7 +547,7 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
547
547
|
* @throws {RequiredError}
|
|
548
548
|
* @memberof OrdersV0Api
|
|
549
549
|
*/
|
|
550
|
-
getOrderAddress(requestParameters: OrdersV0ApiGetOrderAddressRequest, options?:
|
|
550
|
+
getOrderAddress(requestParameters: OrdersV0ApiGetOrderAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderAddressResponse, any>>;
|
|
551
551
|
/**
|
|
552
552
|
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
553
553
|
* @param {OrdersV0ApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
|
|
@@ -555,7 +555,7 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
555
555
|
* @throws {RequiredError}
|
|
556
556
|
* @memberof OrdersV0Api
|
|
557
557
|
*/
|
|
558
|
-
getOrderBuyerInfo(requestParameters: OrdersV0ApiGetOrderBuyerInfoRequest, options?:
|
|
558
|
+
getOrderBuyerInfo(requestParameters: OrdersV0ApiGetOrderBuyerInfoRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderBuyerInfoResponse, any>>;
|
|
559
559
|
/**
|
|
560
560
|
* Returns detailed order item information for the order indicated by the specified order ID. If NextToken is provided, it\'s used to retrieve the next page of order items. Note: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
561
561
|
* @param {OrdersV0ApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
@@ -563,7 +563,7 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
563
563
|
* @throws {RequiredError}
|
|
564
564
|
* @memberof OrdersV0Api
|
|
565
565
|
*/
|
|
566
|
-
getOrderItems(requestParameters: OrdersV0ApiGetOrderItemsRequest, options?:
|
|
566
|
+
getOrderItems(requestParameters: OrdersV0ApiGetOrderItemsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderItemsResponse, any>>;
|
|
567
567
|
/**
|
|
568
568
|
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
569
569
|
* @param {OrdersV0ApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
|
|
@@ -571,7 +571,7 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
571
571
|
* @throws {RequiredError}
|
|
572
572
|
* @memberof OrdersV0Api
|
|
573
573
|
*/
|
|
574
|
-
getOrderItemsBuyerInfo(requestParameters: OrdersV0ApiGetOrderItemsBuyerInfoRequest, options?:
|
|
574
|
+
getOrderItemsBuyerInfo(requestParameters: OrdersV0ApiGetOrderItemsBuyerInfoRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderItemsBuyerInfoResponse, any>>;
|
|
575
575
|
/**
|
|
576
576
|
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
577
577
|
* @param {OrdersV0ApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
|
|
@@ -579,7 +579,7 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
579
579
|
* @throws {RequiredError}
|
|
580
580
|
* @memberof OrdersV0Api
|
|
581
581
|
*/
|
|
582
|
-
getOrderRegulatedInfo(requestParameters: OrdersV0ApiGetOrderRegulatedInfoRequest, options?:
|
|
582
|
+
getOrderRegulatedInfo(requestParameters: OrdersV0ApiGetOrderRegulatedInfoRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderRegulatedInfoResponse, any>>;
|
|
583
583
|
/**
|
|
584
584
|
* 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.0167 | 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.
|
|
585
585
|
* @param {OrdersV0ApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -587,7 +587,7 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
587
587
|
* @throws {RequiredError}
|
|
588
588
|
* @memberof OrdersV0Api
|
|
589
589
|
*/
|
|
590
|
-
getOrders(requestParameters: OrdersV0ApiGetOrdersRequest, options?:
|
|
590
|
+
getOrders(requestParameters: OrdersV0ApiGetOrdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrdersResponse, any>>;
|
|
591
591
|
/**
|
|
592
592
|
* Update the shipment status. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 15 | |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.
|
|
593
593
|
* @param {OrdersV0ApiUpdateShipmentStatusRequest} requestParameters Request parameters.
|
|
@@ -595,7 +595,7 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
595
595
|
* @throws {RequiredError}
|
|
596
596
|
* @memberof OrdersV0Api
|
|
597
597
|
*/
|
|
598
|
-
updateShipmentStatus(requestParameters: OrdersV0ApiUpdateShipmentStatusRequest, options?:
|
|
598
|
+
updateShipmentStatus(requestParameters: OrdersV0ApiUpdateShipmentStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
599
599
|
/**
|
|
600
600
|
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
601
601
|
* @param {OrdersV0ApiUpdateVerificationStatusRequest} requestParameters Request parameters.
|
|
@@ -603,5 +603,5 @@ export declare class OrdersV0Api extends BaseAPI {
|
|
|
603
603
|
* @throws {RequiredError}
|
|
604
604
|
* @memberof OrdersV0Api
|
|
605
605
|
*/
|
|
606
|
-
updateVerificationStatus(requestParameters: OrdersV0ApiUpdateVerificationStatusRequest, options?:
|
|
606
|
+
updateVerificationStatus(requestParameters: OrdersV0ApiUpdateVerificationStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
607
607
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
|
-
import { AxiosInstance } from 'axios';
|
|
13
|
+
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface RequestArgs {
|
|
31
31
|
url: string;
|
|
32
|
-
options:
|
|
32
|
+
options: AxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
13
|
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance } from 'axios';
|
|
14
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -20,85 +20,82 @@ export interface Address {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Address
|
|
22
22
|
*/
|
|
23
|
-
Name: string;
|
|
23
|
+
'Name': string;
|
|
24
24
|
/**
|
|
25
25
|
* The street address.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Address
|
|
28
28
|
*/
|
|
29
|
-
AddressLine1?: string;
|
|
29
|
+
'AddressLine1'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Additional street address information, if required.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Address
|
|
34
34
|
*/
|
|
35
|
-
AddressLine2?: string;
|
|
35
|
+
'AddressLine2'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* Additional street address information, if required.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof Address
|
|
40
40
|
*/
|
|
41
|
-
AddressLine3?: string;
|
|
41
|
+
'AddressLine3'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* The city
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof Address
|
|
46
46
|
*/
|
|
47
|
-
City?: string;
|
|
47
|
+
'City'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The county.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof Address
|
|
52
52
|
*/
|
|
53
|
-
County?: string;
|
|
53
|
+
'County'?: string;
|
|
54
54
|
/**
|
|
55
55
|
* The district.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof Address
|
|
58
58
|
*/
|
|
59
|
-
District?: string;
|
|
59
|
+
'District'?: string;
|
|
60
60
|
/**
|
|
61
61
|
* The state or region.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof Address
|
|
64
64
|
*/
|
|
65
|
-
StateOrRegion?: string;
|
|
65
|
+
'StateOrRegion'?: string;
|
|
66
66
|
/**
|
|
67
67
|
* The municipality.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof Address
|
|
70
70
|
*/
|
|
71
|
-
Municipality?: string;
|
|
71
|
+
'Municipality'?: string;
|
|
72
72
|
/**
|
|
73
73
|
* The postal code.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof Address
|
|
76
76
|
*/
|
|
77
|
-
PostalCode?: string;
|
|
77
|
+
'PostalCode'?: string;
|
|
78
78
|
/**
|
|
79
79
|
* The country code. A two-character country code, in ISO 3166-1 alpha-2 format.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof Address
|
|
82
82
|
*/
|
|
83
|
-
CountryCode?: string;
|
|
83
|
+
'CountryCode'?: string;
|
|
84
84
|
/**
|
|
85
85
|
* The phone number. Not returned for Fulfillment by Amazon (FBA) orders.
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof Address
|
|
88
88
|
*/
|
|
89
|
-
Phone?: string;
|
|
89
|
+
'Phone'?: string;
|
|
90
90
|
/**
|
|
91
91
|
* The address type of the shipping address.
|
|
92
92
|
* @type {string}
|
|
93
93
|
* @memberof Address
|
|
94
94
|
*/
|
|
95
|
-
AddressType?: AddressAddressTypeEnum;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* @export
|
|
99
|
-
* @enum {string}
|
|
100
|
-
*/
|
|
101
|
-
export declare enum AddressAddressTypeEnum {
|
|
102
|
-
Residential = "Residential",
|
|
103
|
-
Commercial = "Commercial"
|
|
95
|
+
'AddressType'?: AddressAddressTypeEnum;
|
|
104
96
|
}
|
|
97
|
+
export declare const AddressAddressTypeEnum: {
|
|
98
|
+
readonly Residential: "Residential";
|
|
99
|
+
readonly Commercial: "Commercial";
|
|
100
|
+
};
|
|
101
|
+
export declare type AddressAddressTypeEnum = typeof AddressAddressTypeEnum[keyof typeof AddressAddressTypeEnum];
|
|
@@ -20,17 +20,17 @@ export interface AutomatedShippingSettings {
|
|
|
20
20
|
* @type {boolean}
|
|
21
21
|
* @memberof AutomatedShippingSettings
|
|
22
22
|
*/
|
|
23
|
-
HasAutomatedShippingSettings?: boolean;
|
|
23
|
+
'HasAutomatedShippingSettings'?: boolean;
|
|
24
24
|
/**
|
|
25
25
|
* Auto-generated carrier for SSA orders.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AutomatedShippingSettings
|
|
28
28
|
*/
|
|
29
|
-
AutomatedCarrier?: string;
|
|
29
|
+
'AutomatedCarrier'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Auto-generated ship method for SSA orders.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AutomatedShippingSettings
|
|
34
34
|
*/
|
|
35
|
-
AutomatedShipMethod?: string;
|
|
35
|
+
'AutomatedShipMethod'?: string;
|
|
36
36
|
}
|
|
@@ -21,29 +21,29 @@ export interface BuyerInfo {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof BuyerInfo
|
|
23
23
|
*/
|
|
24
|
-
BuyerEmail?: string;
|
|
24
|
+
'BuyerEmail'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* The name of the buyer.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof BuyerInfo
|
|
29
29
|
*/
|
|
30
|
-
BuyerName?: string;
|
|
30
|
+
'BuyerName'?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The county of the buyer.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof BuyerInfo
|
|
35
35
|
*/
|
|
36
|
-
BuyerCounty?: string;
|
|
36
|
+
'BuyerCounty'?: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {BuyerTaxInfo}
|
|
40
40
|
* @memberof BuyerInfo
|
|
41
41
|
*/
|
|
42
|
-
BuyerTaxInfo?: BuyerTaxInfo;
|
|
42
|
+
'BuyerTaxInfo'?: BuyerTaxInfo;
|
|
43
43
|
/**
|
|
44
44
|
* The purchase order (PO) number entered by the buyer at checkout. Returned only for orders where the buyer entered a PO number at checkout.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof BuyerInfo
|
|
47
47
|
*/
|
|
48
|
-
PurchaseOrderNumber?: string;
|
|
48
|
+
'PurchaseOrderNumber'?: string;
|
|
49
49
|
}
|
|
@@ -20,11 +20,11 @@ export interface BuyerRequestedCancel {
|
|
|
20
20
|
* @type {boolean}
|
|
21
21
|
* @memberof BuyerRequestedCancel
|
|
22
22
|
*/
|
|
23
|
-
IsBuyerRequestedCancel?: boolean;
|
|
23
|
+
'IsBuyerRequestedCancel'?: boolean;
|
|
24
24
|
/**
|
|
25
25
|
* The reason that the buyer requested cancellation.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof BuyerRequestedCancel
|
|
28
28
|
*/
|
|
29
|
-
BuyerCancelReason?: string;
|
|
29
|
+
'BuyerCancelReason'?: string;
|
|
30
30
|
}
|
|
@@ -21,17 +21,17 @@ export interface BuyerTaxInfo {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof BuyerTaxInfo
|
|
23
23
|
*/
|
|
24
|
-
CompanyLegalName?: string;
|
|
24
|
+
'CompanyLegalName'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* The country or region imposing the tax.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof BuyerTaxInfo
|
|
29
29
|
*/
|
|
30
|
-
TaxingRegion?: string;
|
|
30
|
+
'TaxingRegion'?: string;
|
|
31
31
|
/**
|
|
32
32
|
* A list of tax classifications that apply to the order.
|
|
33
33
|
* @type {Array<TaxClassification>}
|
|
34
34
|
* @memberof BuyerTaxInfo
|
|
35
35
|
*/
|
|
36
|
-
TaxClassifications?: Array<TaxClassification>;
|
|
36
|
+
'TaxClassifications'?: Array<TaxClassification>;
|
|
37
37
|
}
|
|
@@ -20,23 +20,23 @@ export interface BuyerTaxInformation {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof BuyerTaxInformation
|
|
22
22
|
*/
|
|
23
|
-
BuyerLegalCompanyName?: string;
|
|
23
|
+
'BuyerLegalCompanyName'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Business buyer\'s address.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof BuyerTaxInformation
|
|
28
28
|
*/
|
|
29
|
-
BuyerBusinessAddress?: string;
|
|
29
|
+
'BuyerBusinessAddress'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Business buyer\'s tax registration ID.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof BuyerTaxInformation
|
|
34
34
|
*/
|
|
35
|
-
BuyerTaxRegistrationId?: string;
|
|
35
|
+
'BuyerTaxRegistrationId'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* Business buyer\'s tax office.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof BuyerTaxInformation
|
|
40
40
|
*/
|
|
41
|
-
BuyerTaxOffice?: string;
|
|
41
|
+
'BuyerTaxOffice'?: string;
|
|
42
42
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetOrderAddressResponse {
|
|
|
21
21
|
* @type {OrderAddress}
|
|
22
22
|
* @memberof GetOrderAddressResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: OrderAddress;
|
|
24
|
+
'payload'?: OrderAddress;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetOrderAddressResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetOrderBuyerInfoResponse {
|
|
|
21
21
|
* @type {OrderBuyerInfo}
|
|
22
22
|
* @memberof GetOrderBuyerInfoResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: OrderBuyerInfo;
|
|
24
|
+
'payload'?: OrderBuyerInfo;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetOrderBuyerInfoResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetOrderItemsBuyerInfoResponse {
|
|
|
21
21
|
* @type {OrderItemsBuyerInfoList}
|
|
22
22
|
* @memberof GetOrderItemsBuyerInfoResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: OrderItemsBuyerInfoList;
|
|
24
|
+
'payload'?: OrderItemsBuyerInfoList;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetOrderItemsBuyerInfoResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetOrderItemsResponse {
|
|
|
21
21
|
* @type {OrderItemsList}
|
|
22
22
|
* @memberof GetOrderItemsResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: OrderItemsList;
|
|
24
|
+
'payload'?: OrderItemsList;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetOrderItemsResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetOrderRegulatedInfoResponse {
|
|
|
21
21
|
* @type {OrderRegulatedInfo}
|
|
22
22
|
* @memberof GetOrderRegulatedInfoResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: OrderRegulatedInfo;
|
|
24
|
+
'payload'?: OrderRegulatedInfo;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetOrderRegulatedInfoResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetOrderResponse {
|
|
|
21
21
|
* @type {Order}
|
|
22
22
|
* @memberof GetOrderResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: Order;
|
|
24
|
+
'payload'?: Order;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetOrderResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|