@sp-api-sdk/vendor-direct-fulfillment-orders-api-v1 4.0.16 → 5.0.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/README.md +4 -4
- package/dist/index.cjs +528 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1088 -0
- package/dist/index.d.ts +1088 -0
- package/dist/index.js +480 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/vendor-direct-fulfillment-orders-api.js +0 -288
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/acknowledgement-status.js +0 -15
- package/dist/cjs/api-model/models/address.js +0 -15
- package/dist/cjs/api-model/models/get-order-response.js +0 -15
- package/dist/cjs/api-model/models/get-orders-response.js +0 -15
- package/dist/cjs/api-model/models/gift-details.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -42
- package/dist/cjs/api-model/models/item-quantity.js +0 -19
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/money.js +0 -15
- package/dist/cjs/api-model/models/order-acknowledgement-item.js +0 -15
- package/dist/cjs/api-model/models/order-details-tax-total.js +0 -15
- package/dist/cjs/api-model/models/order-details.js +0 -22
- package/dist/cjs/api-model/models/order-item-acknowledgement.js +0 -15
- package/dist/cjs/api-model/models/order-item-tax-details.js +0 -15
- package/dist/cjs/api-model/models/order-item.js +0 -15
- package/dist/cjs/api-model/models/order-list.js +0 -15
- package/dist/cjs/api-model/models/order.js +0 -15
- package/dist/cjs/api-model/models/pagination.js +0 -15
- package/dist/cjs/api-model/models/party-identification.js +0 -15
- package/dist/cjs/api-model/models/scheduled-delivery-shipment.js +0 -15
- package/dist/cjs/api-model/models/shipment-dates.js +0 -15
- package/dist/cjs/api-model/models/shipment-details.js +0 -15
- package/dist/cjs/api-model/models/submit-acknowledgement-request.js +0 -15
- package/dist/cjs/api-model/models/submit-acknowledgement-response.js +0 -15
- package/dist/cjs/api-model/models/tax-details.js +0 -25
- package/dist/cjs/api-model/models/tax-registration-details.js +0 -20
- package/dist/cjs/api-model/models/transaction-id.js +0 -15
- package/dist/cjs/client.js +0 -35
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/vendor-direct-fulfillment-orders-api.js +0 -278
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/acknowledgement-status.js +0 -14
- package/dist/es/api-model/models/address.js +0 -14
- package/dist/es/api-model/models/get-order-response.js +0 -14
- package/dist/es/api-model/models/get-orders-response.js +0 -14
- package/dist/es/api-model/models/gift-details.js +0 -14
- package/dist/es/api-model/models/index.js +0 -26
- package/dist/es/api-model/models/item-quantity.js +0 -16
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/money.js +0 -14
- package/dist/es/api-model/models/order-acknowledgement-item.js +0 -14
- package/dist/es/api-model/models/order-details-tax-total.js +0 -14
- package/dist/es/api-model/models/order-details.js +0 -19
- package/dist/es/api-model/models/order-item-acknowledgement.js +0 -14
- package/dist/es/api-model/models/order-item-tax-details.js +0 -14
- package/dist/es/api-model/models/order-item.js +0 -14
- package/dist/es/api-model/models/order-list.js +0 -14
- package/dist/es/api-model/models/order.js +0 -14
- package/dist/es/api-model/models/pagination.js +0 -14
- package/dist/es/api-model/models/party-identification.js +0 -14
- package/dist/es/api-model/models/scheduled-delivery-shipment.js +0 -14
- package/dist/es/api-model/models/shipment-dates.js +0 -14
- package/dist/es/api-model/models/shipment-details.js +0 -14
- package/dist/es/api-model/models/submit-acknowledgement-request.js +0 -14
- package/dist/es/api-model/models/submit-acknowledgement-response.js +0 -14
- package/dist/es/api-model/models/tax-details.js +0 -22
- package/dist/es/api-model/models/tax-registration-details.js +0 -17
- package/dist/es/api-model/models/transaction-id.js +0 -14
- package/dist/es/client.js +0 -31
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api/vendor-direct-fulfillment-orders-api.d.ts +0 -204
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/acknowledgement-status.d.ts +0 -24
- package/dist/types/api-model/models/address.d.ts +0 -64
- package/dist/types/api-model/models/get-order-response.d.ts +0 -22
- package/dist/types/api-model/models/get-orders-response.d.ts +0 -22
- package/dist/types/api-model/models/gift-details.d.ts +0 -24
- package/dist/types/api-model/models/index.d.ts +0 -26
- package/dist/types/api-model/models/item-quantity.d.ts +0 -28
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/money.d.ts +0 -24
- package/dist/types/api-model/models/order-acknowledgement-item.d.ts +0 -38
- package/dist/types/api-model/models/order-details-tax-total.d.ts +0 -21
- package/dist/types/api-model/models/order-details.d.ts +0 -50
- package/dist/types/api-model/models/order-item-acknowledgement.d.ts +0 -30
- package/dist/types/api-model/models/order-item-tax-details.d.ts +0 -21
- package/dist/types/api-model/models/order-item.d.ts +0 -43
- package/dist/types/api-model/models/order-list.d.ts +0 -23
- package/dist/types/api-model/models/order.d.ts +0 -22
- package/dist/types/api-model/models/pagination.d.ts +0 -20
- package/dist/types/api-model/models/party-identification.d.ts +0 -24
- package/dist/types/api-model/models/scheduled-delivery-shipment.d.ts +0 -28
- package/dist/types/api-model/models/shipment-dates.d.ts +0 -24
- package/dist/types/api-model/models/shipment-details.d.ts +0 -42
- package/dist/types/api-model/models/submit-acknowledgement-request.d.ts +0 -21
- package/dist/types/api-model/models/submit-acknowledgement-response.d.ts +0 -22
- package/dist/types/api-model/models/tax-details.d.ts +0 -37
- package/dist/types/api-model/models/tax-registration-details.d.ts +0 -35
- package/dist/types/api-model/models/transaction-id.d.ts +0 -20
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,1088 @@
|
|
|
1
|
+
import { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
|
|
2
|
+
import * as axios from 'axios';
|
|
3
|
+
import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
7
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
8
|
+
*
|
|
9
|
+
* The version of the OpenAPI document: v1
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
+
* https://openapi-generator.tech
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*/
|
|
16
|
+
interface AWSv4Configuration {
|
|
17
|
+
options?: {
|
|
18
|
+
region?: string;
|
|
19
|
+
service?: string;
|
|
20
|
+
};
|
|
21
|
+
credentials?: {
|
|
22
|
+
accessKeyId?: string;
|
|
23
|
+
secretAccessKey?: string;
|
|
24
|
+
sessionToken?: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
interface ConfigurationParameters {
|
|
28
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
|
+
username?: string;
|
|
30
|
+
password?: string;
|
|
31
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
32
|
+
awsv4?: AWSv4Configuration;
|
|
33
|
+
basePath?: string;
|
|
34
|
+
serverIndex?: number;
|
|
35
|
+
baseOptions?: any;
|
|
36
|
+
formDataCtor?: new () => any;
|
|
37
|
+
}
|
|
38
|
+
declare class Configuration {
|
|
39
|
+
/**
|
|
40
|
+
* parameter for apiKey security
|
|
41
|
+
* @param name security name
|
|
42
|
+
*/
|
|
43
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
44
|
+
/**
|
|
45
|
+
* parameter for basic security
|
|
46
|
+
*/
|
|
47
|
+
username?: string;
|
|
48
|
+
/**
|
|
49
|
+
* parameter for basic security
|
|
50
|
+
*/
|
|
51
|
+
password?: string;
|
|
52
|
+
/**
|
|
53
|
+
* parameter for oauth2 security
|
|
54
|
+
* @param name security name
|
|
55
|
+
* @param scopes oauth2 scope
|
|
56
|
+
*/
|
|
57
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
58
|
+
/**
|
|
59
|
+
* parameter for aws4 signature security
|
|
60
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
61
|
+
* @param {string} options.region - aws region
|
|
62
|
+
* @param {string} options.service - name of the service.
|
|
63
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
64
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
65
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
66
|
+
* @memberof Configuration
|
|
67
|
+
*/
|
|
68
|
+
awsv4?: AWSv4Configuration;
|
|
69
|
+
/**
|
|
70
|
+
* override base path
|
|
71
|
+
*/
|
|
72
|
+
basePath?: string;
|
|
73
|
+
/**
|
|
74
|
+
* override server index
|
|
75
|
+
*/
|
|
76
|
+
serverIndex?: number;
|
|
77
|
+
/**
|
|
78
|
+
* base options for axios calls
|
|
79
|
+
*/
|
|
80
|
+
baseOptions?: any;
|
|
81
|
+
/**
|
|
82
|
+
* The FormData constructor that will be used to create multipart form data
|
|
83
|
+
* requests. You can inject this here so that execution environments that
|
|
84
|
+
* do not support the FormData class can still run the generated client.
|
|
85
|
+
*
|
|
86
|
+
* @type {new () => FormData}
|
|
87
|
+
*/
|
|
88
|
+
formDataCtor?: new () => any;
|
|
89
|
+
constructor(param?: ConfigurationParameters);
|
|
90
|
+
/**
|
|
91
|
+
* Check if the given MIME is a JSON MIME.
|
|
92
|
+
* JSON MIME examples:
|
|
93
|
+
* application/json
|
|
94
|
+
* application/json; charset=UTF8
|
|
95
|
+
* APPLICATION/JSON
|
|
96
|
+
* application/vnd.company+json
|
|
97
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
98
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
99
|
+
*/
|
|
100
|
+
isJsonMime(mime: string): boolean;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
105
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
106
|
+
*
|
|
107
|
+
* The version of the OpenAPI document: v1
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
111
|
+
* https://openapi-generator.tech
|
|
112
|
+
* Do not edit the class manually.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
interface RequestArgs {
|
|
116
|
+
url: string;
|
|
117
|
+
options: RawAxiosRequestConfig;
|
|
118
|
+
}
|
|
119
|
+
declare class BaseAPI {
|
|
120
|
+
protected basePath: string;
|
|
121
|
+
protected axios: AxiosInstance;
|
|
122
|
+
protected configuration: Configuration | undefined;
|
|
123
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
128
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
129
|
+
*
|
|
130
|
+
* The version of the OpenAPI document: v1
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
134
|
+
* https://openapi-generator.tech
|
|
135
|
+
* Do not edit the class manually.
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* Status of acknowledgement.
|
|
139
|
+
*/
|
|
140
|
+
interface AcknowledgementStatus {
|
|
141
|
+
/**
|
|
142
|
+
* Acknowledgement code is a unique two digit value which indicates the status of the acknowledgement. For a list of acknowledgement codes that Amazon supports, see the Vendor Direct Fulfillment APIs Use Case Guide.
|
|
143
|
+
*/
|
|
144
|
+
'code'?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Reason for the acknowledgement code.
|
|
147
|
+
*/
|
|
148
|
+
'description'?: string;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
153
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
154
|
+
*
|
|
155
|
+
* The version of the OpenAPI document: v1
|
|
156
|
+
*
|
|
157
|
+
*
|
|
158
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
159
|
+
* https://openapi-generator.tech
|
|
160
|
+
* Do not edit the class manually.
|
|
161
|
+
*/
|
|
162
|
+
/**
|
|
163
|
+
* Address of the party.
|
|
164
|
+
*/
|
|
165
|
+
interface Address {
|
|
166
|
+
/**
|
|
167
|
+
* The name of the person, business or institution at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
168
|
+
*/
|
|
169
|
+
'name': string;
|
|
170
|
+
/**
|
|
171
|
+
* The attention name of the person at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
172
|
+
*/
|
|
173
|
+
'attention'?: string;
|
|
174
|
+
/**
|
|
175
|
+
* First line of the address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
176
|
+
*/
|
|
177
|
+
'addressLine1': string;
|
|
178
|
+
/**
|
|
179
|
+
* Additional address information, if required. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
180
|
+
*/
|
|
181
|
+
'addressLine2'?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Additional address information, if required. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
184
|
+
*/
|
|
185
|
+
'addressLine3'?: string;
|
|
186
|
+
/**
|
|
187
|
+
* The city where the person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
188
|
+
*/
|
|
189
|
+
'city'?: string;
|
|
190
|
+
/**
|
|
191
|
+
* The county where person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
192
|
+
*/
|
|
193
|
+
'county'?: string;
|
|
194
|
+
/**
|
|
195
|
+
* The district where person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
196
|
+
*/
|
|
197
|
+
'district'?: string;
|
|
198
|
+
/**
|
|
199
|
+
* The state or region where person, business or institution is located.
|
|
200
|
+
*/
|
|
201
|
+
'stateOrRegion': string;
|
|
202
|
+
/**
|
|
203
|
+
* The postal code of that address. It conatins a series of letters or digits or both, sometimes including spaces or punctuation.
|
|
204
|
+
*/
|
|
205
|
+
'postalCode'?: string;
|
|
206
|
+
/**
|
|
207
|
+
* The two digit country code. In ISO 3166-1 alpha-2 format.
|
|
208
|
+
*/
|
|
209
|
+
'countryCode': string;
|
|
210
|
+
/**
|
|
211
|
+
* The phone number of the person, business or institution located at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
|
|
212
|
+
*/
|
|
213
|
+
'phone'?: string;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
218
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
219
|
+
*
|
|
220
|
+
* The version of the OpenAPI document: v1
|
|
221
|
+
*
|
|
222
|
+
*
|
|
223
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
224
|
+
* https://openapi-generator.tech
|
|
225
|
+
* Do not edit the class manually.
|
|
226
|
+
*/
|
|
227
|
+
/**
|
|
228
|
+
* An amount of money, including units in the form of currency.
|
|
229
|
+
*/
|
|
230
|
+
interface Money {
|
|
231
|
+
/**
|
|
232
|
+
* Three digit currency code in ISO 4217 format. String of length 3.
|
|
233
|
+
*/
|
|
234
|
+
'currencyCode'?: string;
|
|
235
|
+
/**
|
|
236
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
|
|
237
|
+
*/
|
|
238
|
+
'amount'?: string;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
243
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
244
|
+
*
|
|
245
|
+
* The version of the OpenAPI document: v1
|
|
246
|
+
*
|
|
247
|
+
*
|
|
248
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
249
|
+
* https://openapi-generator.tech
|
|
250
|
+
* Do not edit the class manually.
|
|
251
|
+
*/
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* The tax details for the order. _Note:_ Amazon calculates tax on the list price (Amazon retail price).
|
|
255
|
+
*/
|
|
256
|
+
interface TaxDetails {
|
|
257
|
+
/**
|
|
258
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
|
|
259
|
+
*/
|
|
260
|
+
'taxRate'?: string;
|
|
261
|
+
'taxAmount': Money;
|
|
262
|
+
'taxableAmount'?: Money;
|
|
263
|
+
/**
|
|
264
|
+
* Tax type.
|
|
265
|
+
*/
|
|
266
|
+
'type'?: TaxDetailsTypeEnum;
|
|
267
|
+
}
|
|
268
|
+
declare const TaxDetailsTypeEnum: {
|
|
269
|
+
readonly Consumption: "CONSUMPTION";
|
|
270
|
+
readonly Gst: "GST";
|
|
271
|
+
readonly MwSt: "MwSt.";
|
|
272
|
+
readonly Pst: "PST";
|
|
273
|
+
readonly Total: "TOTAL";
|
|
274
|
+
readonly Tva: "TVA";
|
|
275
|
+
readonly Vat: "VAT";
|
|
276
|
+
};
|
|
277
|
+
type TaxDetailsTypeEnum = typeof TaxDetailsTypeEnum[keyof typeof TaxDetailsTypeEnum];
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
281
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
282
|
+
*
|
|
283
|
+
* The version of the OpenAPI document: v1
|
|
284
|
+
*
|
|
285
|
+
*
|
|
286
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
287
|
+
* https://openapi-generator.tech
|
|
288
|
+
* Do not edit the class manually.
|
|
289
|
+
*/
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* The total Tax object within shipment that relates to the order.
|
|
293
|
+
*/
|
|
294
|
+
interface OrderDetailsTaxTotal {
|
|
295
|
+
/**
|
|
296
|
+
* A list of tax line items.
|
|
297
|
+
*/
|
|
298
|
+
'taxLineItem'?: Array<TaxDetails>;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
303
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
304
|
+
*
|
|
305
|
+
* The version of the OpenAPI document: v1
|
|
306
|
+
*
|
|
307
|
+
*
|
|
308
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
309
|
+
* https://openapi-generator.tech
|
|
310
|
+
* Do not edit the class manually.
|
|
311
|
+
*/
|
|
312
|
+
/**
|
|
313
|
+
* Gift details for the item.
|
|
314
|
+
*/
|
|
315
|
+
interface GiftDetails {
|
|
316
|
+
/**
|
|
317
|
+
* Gift message to be printed in shipment.
|
|
318
|
+
*/
|
|
319
|
+
'giftMessage'?: string;
|
|
320
|
+
/**
|
|
321
|
+
* Gift wrap identifier for the gift wrapping, if any.
|
|
322
|
+
*/
|
|
323
|
+
'giftWrapId'?: string;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
328
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
329
|
+
*
|
|
330
|
+
* The version of the OpenAPI document: v1
|
|
331
|
+
*
|
|
332
|
+
*
|
|
333
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
334
|
+
* https://openapi-generator.tech
|
|
335
|
+
* Do not edit the class manually.
|
|
336
|
+
*/
|
|
337
|
+
/**
|
|
338
|
+
* Details of quantity ordered.
|
|
339
|
+
*/
|
|
340
|
+
interface ItemQuantity {
|
|
341
|
+
/**
|
|
342
|
+
* Acknowledged quantity. This value should not be zero.
|
|
343
|
+
*/
|
|
344
|
+
'amount'?: number;
|
|
345
|
+
/**
|
|
346
|
+
* Unit of measure for the acknowledged quantity.
|
|
347
|
+
*/
|
|
348
|
+
'unitOfMeasure'?: ItemQuantityUnitOfMeasureEnum;
|
|
349
|
+
}
|
|
350
|
+
declare const ItemQuantityUnitOfMeasureEnum: {
|
|
351
|
+
readonly Each: "Each";
|
|
352
|
+
};
|
|
353
|
+
type ItemQuantityUnitOfMeasureEnum = typeof ItemQuantityUnitOfMeasureEnum[keyof typeof ItemQuantityUnitOfMeasureEnum];
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
357
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
358
|
+
*
|
|
359
|
+
* The version of the OpenAPI document: v1
|
|
360
|
+
*
|
|
361
|
+
*
|
|
362
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
363
|
+
* https://openapi-generator.tech
|
|
364
|
+
* Do not edit the class manually.
|
|
365
|
+
*/
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Total tax details for the line item.
|
|
369
|
+
*/
|
|
370
|
+
interface OrderItemTaxDetails {
|
|
371
|
+
/**
|
|
372
|
+
* A list of tax line items.
|
|
373
|
+
*/
|
|
374
|
+
'taxLineItem'?: Array<TaxDetails>;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
379
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
380
|
+
*
|
|
381
|
+
* The version of the OpenAPI document: v1
|
|
382
|
+
*
|
|
383
|
+
*
|
|
384
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
385
|
+
* https://openapi-generator.tech
|
|
386
|
+
* Do not edit the class manually.
|
|
387
|
+
*/
|
|
388
|
+
/**
|
|
389
|
+
* Dates for the scheduled delivery shipments.
|
|
390
|
+
*/
|
|
391
|
+
interface ScheduledDeliveryShipment {
|
|
392
|
+
/**
|
|
393
|
+
* Scheduled delivery service type.
|
|
394
|
+
*/
|
|
395
|
+
'scheduledDeliveryServiceType'?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Earliest nominated delivery date for the scheduled delivery.
|
|
398
|
+
*/
|
|
399
|
+
'earliestNominatedDeliveryDate'?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Latest nominated delivery date for the scheduled delivery.
|
|
402
|
+
*/
|
|
403
|
+
'latestNominatedDeliveryDate'?: string;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
408
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
409
|
+
*
|
|
410
|
+
* The version of the OpenAPI document: v1
|
|
411
|
+
*
|
|
412
|
+
*
|
|
413
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
414
|
+
* https://openapi-generator.tech
|
|
415
|
+
* Do not edit the class manually.
|
|
416
|
+
*/
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* An item within an order
|
|
420
|
+
*/
|
|
421
|
+
interface OrderItem {
|
|
422
|
+
/**
|
|
423
|
+
* Numbering of the item on the purchase order. The first item will be 1, the second 2, and so on.
|
|
424
|
+
*/
|
|
425
|
+
'itemSequenceNumber': string;
|
|
426
|
+
/**
|
|
427
|
+
* Buyer\'s standard identification number (ASIN) of an item.
|
|
428
|
+
*/
|
|
429
|
+
'buyerProductIdentifier'?: string;
|
|
430
|
+
/**
|
|
431
|
+
* The vendor selected product identification of the item.
|
|
432
|
+
*/
|
|
433
|
+
'vendorProductIdentifier'?: string;
|
|
434
|
+
/**
|
|
435
|
+
* Title for the item.
|
|
436
|
+
*/
|
|
437
|
+
'title'?: string;
|
|
438
|
+
'orderedQuantity': ItemQuantity;
|
|
439
|
+
'scheduledDeliveryShipment'?: ScheduledDeliveryShipment;
|
|
440
|
+
'giftDetails'?: GiftDetails;
|
|
441
|
+
'netPrice': Money;
|
|
442
|
+
'taxDetails'?: OrderItemTaxDetails;
|
|
443
|
+
'totalPrice'?: Money;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
448
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
449
|
+
*
|
|
450
|
+
* The version of the OpenAPI document: v1
|
|
451
|
+
*
|
|
452
|
+
*
|
|
453
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
454
|
+
* https://openapi-generator.tech
|
|
455
|
+
* Do not edit the class manually.
|
|
456
|
+
*/
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Tax registration details of the entity.
|
|
460
|
+
*/
|
|
461
|
+
interface TaxRegistrationDetails {
|
|
462
|
+
/**
|
|
463
|
+
* Tax registration type for the entity.
|
|
464
|
+
*/
|
|
465
|
+
'taxRegistrationType'?: TaxRegistrationDetailsTaxRegistrationTypeEnum;
|
|
466
|
+
/**
|
|
467
|
+
* Tax registration number for the party. For example, VAT ID.
|
|
468
|
+
*/
|
|
469
|
+
'taxRegistrationNumber': string;
|
|
470
|
+
'taxRegistrationAddress'?: Address;
|
|
471
|
+
/**
|
|
472
|
+
* Tax registration message that can be used for additional tax related details.
|
|
473
|
+
*/
|
|
474
|
+
'taxRegistrationMessages'?: string;
|
|
475
|
+
}
|
|
476
|
+
declare const TaxRegistrationDetailsTaxRegistrationTypeEnum: {
|
|
477
|
+
readonly Vat: "VAT";
|
|
478
|
+
readonly Gst: "GST";
|
|
479
|
+
};
|
|
480
|
+
type TaxRegistrationDetailsTaxRegistrationTypeEnum = typeof TaxRegistrationDetailsTaxRegistrationTypeEnum[keyof typeof TaxRegistrationDetailsTaxRegistrationTypeEnum];
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
484
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
485
|
+
*
|
|
486
|
+
* The version of the OpenAPI document: v1
|
|
487
|
+
*
|
|
488
|
+
*
|
|
489
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
490
|
+
* https://openapi-generator.tech
|
|
491
|
+
* Do not edit the class manually.
|
|
492
|
+
*/
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Name, address and tax details of a party.
|
|
496
|
+
*/
|
|
497
|
+
interface PartyIdentification {
|
|
498
|
+
/**
|
|
499
|
+
* Assigned identification for the party. For example, warehouse code or vendor code. Please refer to specific party for more details.
|
|
500
|
+
*/
|
|
501
|
+
'partyId': string;
|
|
502
|
+
'address'?: Address;
|
|
503
|
+
'taxInfo'?: TaxRegistrationDetails;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
508
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
509
|
+
*
|
|
510
|
+
* The version of the OpenAPI document: v1
|
|
511
|
+
*
|
|
512
|
+
*
|
|
513
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
514
|
+
* https://openapi-generator.tech
|
|
515
|
+
* Do not edit the class manually.
|
|
516
|
+
*/
|
|
517
|
+
/**
|
|
518
|
+
* Shipment dates.
|
|
519
|
+
*/
|
|
520
|
+
interface ShipmentDates {
|
|
521
|
+
/**
|
|
522
|
+
* Time by which the vendor is required to ship the order.
|
|
523
|
+
*/
|
|
524
|
+
'requiredShipDate': string;
|
|
525
|
+
/**
|
|
526
|
+
* Delivery date promised to the Amazon customer.
|
|
527
|
+
*/
|
|
528
|
+
'promisedDeliveryDate'?: string;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
533
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
534
|
+
*
|
|
535
|
+
* The version of the OpenAPI document: v1
|
|
536
|
+
*
|
|
537
|
+
*
|
|
538
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
539
|
+
* https://openapi-generator.tech
|
|
540
|
+
* Do not edit the class manually.
|
|
541
|
+
*/
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Shipment details required for the shipment.
|
|
545
|
+
*/
|
|
546
|
+
interface ShipmentDetails {
|
|
547
|
+
/**
|
|
548
|
+
* When true, this is a priority shipment.
|
|
549
|
+
*/
|
|
550
|
+
'isPriorityShipment': boolean;
|
|
551
|
+
/**
|
|
552
|
+
* When true, this order is part of a scheduled delivery program.
|
|
553
|
+
*/
|
|
554
|
+
'isScheduledDeliveryShipment'?: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* When true, a packing slip is required to be sent to the customer.
|
|
557
|
+
*/
|
|
558
|
+
'isPslipRequired': boolean;
|
|
559
|
+
/**
|
|
560
|
+
* When true, the order contain a gift. Include the gift message and gift wrap information.
|
|
561
|
+
*/
|
|
562
|
+
'isGift'?: boolean;
|
|
563
|
+
/**
|
|
564
|
+
* Ship method to be used for shipping the order. Amazon defines ship method codes indicating the shipping carrier and shipment service level. To see the full list of ship methods in use, including both the code and the friendly name, search the \'Help\' section on Vendor Central for \'ship methods\'.
|
|
565
|
+
*/
|
|
566
|
+
'shipMethod': string;
|
|
567
|
+
'shipmentDates': ShipmentDates;
|
|
568
|
+
/**
|
|
569
|
+
* Message to customer for order status.
|
|
570
|
+
*/
|
|
571
|
+
'messageToCustomer': string;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
576
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
577
|
+
*
|
|
578
|
+
* The version of the OpenAPI document: v1
|
|
579
|
+
*
|
|
580
|
+
*
|
|
581
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
582
|
+
* https://openapi-generator.tech
|
|
583
|
+
* Do not edit the class manually.
|
|
584
|
+
*/
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Details of an order.
|
|
588
|
+
*/
|
|
589
|
+
interface OrderDetails {
|
|
590
|
+
/**
|
|
591
|
+
* The customer order number.
|
|
592
|
+
*/
|
|
593
|
+
'customerOrderNumber': string;
|
|
594
|
+
/**
|
|
595
|
+
* The date the order was placed. This field is expected to be in ISO-8601 date/time format, for example:2018-07-16T23:00:00Z/ 2018-07-16T23:00:00-05:00 /2018-07-16T23:00:00-08:00. If no time zone is specified, UTC should be assumed.
|
|
596
|
+
*/
|
|
597
|
+
'orderDate': string;
|
|
598
|
+
/**
|
|
599
|
+
* Current status of the order.
|
|
600
|
+
*/
|
|
601
|
+
'orderStatus'?: OrderDetailsOrderStatusEnum;
|
|
602
|
+
'shipmentDetails': ShipmentDetails;
|
|
603
|
+
'taxTotal'?: OrderDetailsTaxTotal;
|
|
604
|
+
'sellingParty': PartyIdentification;
|
|
605
|
+
'shipFromParty': PartyIdentification;
|
|
606
|
+
'shipToParty': Address;
|
|
607
|
+
'billToParty': PartyIdentification;
|
|
608
|
+
/**
|
|
609
|
+
* A list of items in this purchase order.
|
|
610
|
+
*/
|
|
611
|
+
'items': Array<OrderItem>;
|
|
612
|
+
}
|
|
613
|
+
declare const OrderDetailsOrderStatusEnum: {
|
|
614
|
+
readonly New: "NEW";
|
|
615
|
+
readonly Shipped: "SHIPPED";
|
|
616
|
+
readonly Accepted: "ACCEPTED";
|
|
617
|
+
readonly Cancelled: "CANCELLED";
|
|
618
|
+
};
|
|
619
|
+
type OrderDetailsOrderStatusEnum = typeof OrderDetailsOrderStatusEnum[keyof typeof OrderDetailsOrderStatusEnum];
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
623
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
624
|
+
*
|
|
625
|
+
* The version of the OpenAPI document: v1
|
|
626
|
+
*
|
|
627
|
+
*
|
|
628
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
629
|
+
* https://openapi-generator.tech
|
|
630
|
+
* Do not edit the class manually.
|
|
631
|
+
*/
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Represents a purchase order.
|
|
635
|
+
*/
|
|
636
|
+
interface Order {
|
|
637
|
+
/**
|
|
638
|
+
* The purchase order number for this order. Formatting Notes: alpha-numeric code.
|
|
639
|
+
*/
|
|
640
|
+
'purchaseOrderNumber': string;
|
|
641
|
+
'orderDetails'?: OrderDetails;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
646
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
647
|
+
*
|
|
648
|
+
* The version of the OpenAPI document: v1
|
|
649
|
+
*
|
|
650
|
+
*
|
|
651
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
652
|
+
* https://openapi-generator.tech
|
|
653
|
+
* Do not edit the class manually.
|
|
654
|
+
*/
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* The response schema for the getOrder operation.
|
|
658
|
+
*/
|
|
659
|
+
interface GetOrderResponse {
|
|
660
|
+
'payload'?: Order;
|
|
661
|
+
/**
|
|
662
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
663
|
+
*/
|
|
664
|
+
'errors'?: Array<Error>;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
669
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
670
|
+
*
|
|
671
|
+
* The version of the OpenAPI document: v1
|
|
672
|
+
*
|
|
673
|
+
*
|
|
674
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
675
|
+
* https://openapi-generator.tech
|
|
676
|
+
* Do not edit the class manually.
|
|
677
|
+
*/
|
|
678
|
+
/**
|
|
679
|
+
* The pagination elements required to retrieve the remaining data.
|
|
680
|
+
*/
|
|
681
|
+
interface Pagination {
|
|
682
|
+
/**
|
|
683
|
+
* A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more order items to return.
|
|
684
|
+
*/
|
|
685
|
+
'nextToken'?: string;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
690
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
691
|
+
*
|
|
692
|
+
* The version of the OpenAPI document: v1
|
|
693
|
+
*
|
|
694
|
+
*
|
|
695
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
696
|
+
* https://openapi-generator.tech
|
|
697
|
+
* Do not edit the class manually.
|
|
698
|
+
*/
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* A list of purchase orders returned as response.
|
|
702
|
+
*/
|
|
703
|
+
interface OrderList {
|
|
704
|
+
'pagination'?: Pagination;
|
|
705
|
+
/**
|
|
706
|
+
* Represents a purchase order within the OrderList.
|
|
707
|
+
*/
|
|
708
|
+
'orders'?: Array<Order>;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
713
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
714
|
+
*
|
|
715
|
+
* The version of the OpenAPI document: v1
|
|
716
|
+
*
|
|
717
|
+
*
|
|
718
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
719
|
+
* https://openapi-generator.tech
|
|
720
|
+
* Do not edit the class manually.
|
|
721
|
+
*/
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* The response schema for the getOrders operation.
|
|
725
|
+
*/
|
|
726
|
+
interface GetOrdersResponse {
|
|
727
|
+
'payload'?: OrderList;
|
|
728
|
+
/**
|
|
729
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
730
|
+
*/
|
|
731
|
+
'errors'?: Array<Error>;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
736
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
737
|
+
*
|
|
738
|
+
* The version of the OpenAPI document: v1
|
|
739
|
+
*
|
|
740
|
+
*
|
|
741
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
742
|
+
* https://openapi-generator.tech
|
|
743
|
+
* Do not edit the class manually.
|
|
744
|
+
*/
|
|
745
|
+
/**
|
|
746
|
+
* Error response returned when the request is unsuccessful.
|
|
747
|
+
*/
|
|
748
|
+
interface ModelError {
|
|
749
|
+
/**
|
|
750
|
+
* An error code that identifies the type of error that occurred.
|
|
751
|
+
*/
|
|
752
|
+
'code': string;
|
|
753
|
+
/**
|
|
754
|
+
* A message that describes the error condition.
|
|
755
|
+
*/
|
|
756
|
+
'message': string;
|
|
757
|
+
/**
|
|
758
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
759
|
+
*/
|
|
760
|
+
'details'?: string;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
765
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
766
|
+
*
|
|
767
|
+
* The version of the OpenAPI document: v1
|
|
768
|
+
*
|
|
769
|
+
*
|
|
770
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
771
|
+
* https://openapi-generator.tech
|
|
772
|
+
* Do not edit the class manually.
|
|
773
|
+
*/
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Details of an individual item within the order being acknowledged.
|
|
777
|
+
*/
|
|
778
|
+
interface OrderItemAcknowledgement {
|
|
779
|
+
/**
|
|
780
|
+
* Line item sequence number for the item.
|
|
781
|
+
*/
|
|
782
|
+
'itemSequenceNumber': string;
|
|
783
|
+
/**
|
|
784
|
+
* Buyer\'s standard identification number (ASIN) of an item.
|
|
785
|
+
*/
|
|
786
|
+
'buyerProductIdentifier'?: string;
|
|
787
|
+
/**
|
|
788
|
+
* The vendor selected product identification of the item. Should be the same as was provided in the purchase order.
|
|
789
|
+
*/
|
|
790
|
+
'vendorProductIdentifier'?: string;
|
|
791
|
+
'acknowledgedQuantity': ItemQuantity;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
796
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
797
|
+
*
|
|
798
|
+
* The version of the OpenAPI document: v1
|
|
799
|
+
*
|
|
800
|
+
*
|
|
801
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
802
|
+
* https://openapi-generator.tech
|
|
803
|
+
* Do not edit the class manually.
|
|
804
|
+
*/
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Details of an individual order being acknowledged.
|
|
808
|
+
*/
|
|
809
|
+
interface OrderAcknowledgementItem {
|
|
810
|
+
/**
|
|
811
|
+
* The purchase order number for this order. Formatting Notes: alpha-numeric code.
|
|
812
|
+
*/
|
|
813
|
+
'purchaseOrderNumber': string;
|
|
814
|
+
/**
|
|
815
|
+
* The vendor\'s order number for this order.
|
|
816
|
+
*/
|
|
817
|
+
'vendorOrderNumber': string;
|
|
818
|
+
/**
|
|
819
|
+
* The date and time when the order is acknowledged, in ISO-8601 date/time format. For example: 2018-07-16T23:00:00Z / 2018-07-16T23:00:00-05:00 / 2018-07-16T23:00:00-08:00.
|
|
820
|
+
*/
|
|
821
|
+
'acknowledgementDate': string;
|
|
822
|
+
'acknowledgementStatus': AcknowledgementStatus;
|
|
823
|
+
'sellingParty': PartyIdentification;
|
|
824
|
+
'shipFromParty': PartyIdentification;
|
|
825
|
+
/**
|
|
826
|
+
* Item details including acknowledged quantity.
|
|
827
|
+
*/
|
|
828
|
+
'itemAcknowledgements': Array<OrderItemAcknowledgement>;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
833
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
834
|
+
*
|
|
835
|
+
* The version of the OpenAPI document: v1
|
|
836
|
+
*
|
|
837
|
+
*
|
|
838
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
839
|
+
* https://openapi-generator.tech
|
|
840
|
+
* Do not edit the class manually.
|
|
841
|
+
*/
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* The request schema for the submitAcknowledgement operation.
|
|
845
|
+
*/
|
|
846
|
+
interface SubmitAcknowledgementRequest {
|
|
847
|
+
/**
|
|
848
|
+
* A list of one or more purchase orders.
|
|
849
|
+
*/
|
|
850
|
+
'orderAcknowledgements'?: Array<OrderAcknowledgementItem>;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
855
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
856
|
+
*
|
|
857
|
+
* The version of the OpenAPI document: v1
|
|
858
|
+
*
|
|
859
|
+
*
|
|
860
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
861
|
+
* https://openapi-generator.tech
|
|
862
|
+
* Do not edit the class manually.
|
|
863
|
+
*/
|
|
864
|
+
/**
|
|
865
|
+
* Response containing the transaction ID.
|
|
866
|
+
*/
|
|
867
|
+
interface TransactionId {
|
|
868
|
+
/**
|
|
869
|
+
* GUID assigned by Amazon to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction.
|
|
870
|
+
*/
|
|
871
|
+
'transactionId'?: string;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* Selling Partner API for Direct Fulfillment Orders
|
|
876
|
+
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
|
|
877
|
+
*
|
|
878
|
+
* The version of the OpenAPI document: v1
|
|
879
|
+
*
|
|
880
|
+
*
|
|
881
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
882
|
+
* https://openapi-generator.tech
|
|
883
|
+
* Do not edit the class manually.
|
|
884
|
+
*/
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* The response schema for the submitAcknowledgement operation.
|
|
888
|
+
*/
|
|
889
|
+
interface SubmitAcknowledgementResponse {
|
|
890
|
+
'payload'?: TransactionId;
|
|
891
|
+
/**
|
|
892
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
893
|
+
*/
|
|
894
|
+
'errors'?: Array<Error>;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* VendorDirectFulfillmentOrdersApi - axios parameter creator
|
|
899
|
+
*/
|
|
900
|
+
declare const VendorDirectFulfillmentOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
901
|
+
/**
|
|
902
|
+
* Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
903
|
+
* @param {string} purchaseOrderNumber The order identifier for the purchase order that you want. Formatting Notes: alpha-numeric code.
|
|
904
|
+
* @param {*} [options] Override http request option.
|
|
905
|
+
* @throws {RequiredError}
|
|
906
|
+
*/
|
|
907
|
+
getOrder: (purchaseOrderNumber: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
908
|
+
/**
|
|
909
|
+
* Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
910
|
+
* @param {string} createdAfter Purchase orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.
|
|
911
|
+
* @param {string} createdBefore Purchase orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.
|
|
912
|
+
* @param {string} [shipFromPartyId] The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
|
|
913
|
+
* @param {GetOrdersStatusEnum} [status] Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
|
|
914
|
+
* @param {number} [limit] The limit to the number of purchase orders returned.
|
|
915
|
+
* @param {GetOrdersSortOrderEnum} [sortOrder] Sort the list in ascending or descending order by order creation date.
|
|
916
|
+
* @param {string} [nextToken] Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.
|
|
917
|
+
* @param {boolean} [includeDetails] When true, returns the complete purchase order details. Otherwise, only purchase order numbers are returned.
|
|
918
|
+
* @param {*} [options] Override http request option.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
*/
|
|
921
|
+
getOrders: (createdAfter: string, createdBefore: string, shipFromPartyId?: string, status?: GetOrdersStatusEnum, limit?: number, sortOrder?: GetOrdersSortOrderEnum, nextToken?: string, includeDetails?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
922
|
+
/**
|
|
923
|
+
* Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
924
|
+
* @param {SubmitAcknowledgementRequest} body The request body containing the acknowledgement to an order.
|
|
925
|
+
* @param {*} [options] Override http request option.
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
*/
|
|
928
|
+
submitAcknowledgement: (body: SubmitAcknowledgementRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* VendorDirectFulfillmentOrdersApi - functional programming interface
|
|
932
|
+
*/
|
|
933
|
+
declare const VendorDirectFulfillmentOrdersApiFp: (configuration?: Configuration) => {
|
|
934
|
+
/**
|
|
935
|
+
* Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
936
|
+
* @param {string} purchaseOrderNumber The order identifier for the purchase order that you want. Formatting Notes: alpha-numeric code.
|
|
937
|
+
* @param {*} [options] Override http request option.
|
|
938
|
+
* @throws {RequiredError}
|
|
939
|
+
*/
|
|
940
|
+
getOrder(purchaseOrderNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderResponse>>;
|
|
941
|
+
/**
|
|
942
|
+
* Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
943
|
+
* @param {string} createdAfter Purchase orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.
|
|
944
|
+
* @param {string} createdBefore Purchase orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.
|
|
945
|
+
* @param {string} [shipFromPartyId] The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
|
|
946
|
+
* @param {GetOrdersStatusEnum} [status] Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
|
|
947
|
+
* @param {number} [limit] The limit to the number of purchase orders returned.
|
|
948
|
+
* @param {GetOrdersSortOrderEnum} [sortOrder] Sort the list in ascending or descending order by order creation date.
|
|
949
|
+
* @param {string} [nextToken] Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.
|
|
950
|
+
* @param {boolean} [includeDetails] When true, returns the complete purchase order details. Otherwise, only purchase order numbers are returned.
|
|
951
|
+
* @param {*} [options] Override http request option.
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
*/
|
|
954
|
+
getOrders(createdAfter: string, createdBefore: string, shipFromPartyId?: string, status?: GetOrdersStatusEnum, limit?: number, sortOrder?: GetOrdersSortOrderEnum, nextToken?: string, includeDetails?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrdersResponse>>;
|
|
955
|
+
/**
|
|
956
|
+
* Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
957
|
+
* @param {SubmitAcknowledgementRequest} body The request body containing the acknowledgement to an order.
|
|
958
|
+
* @param {*} [options] Override http request option.
|
|
959
|
+
* @throws {RequiredError}
|
|
960
|
+
*/
|
|
961
|
+
submitAcknowledgement(body: SubmitAcknowledgementRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAcknowledgementResponse>>;
|
|
962
|
+
};
|
|
963
|
+
/**
|
|
964
|
+
* VendorDirectFulfillmentOrdersApi - factory interface
|
|
965
|
+
*/
|
|
966
|
+
declare const VendorDirectFulfillmentOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
967
|
+
/**
|
|
968
|
+
* Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
969
|
+
* @param {VendorDirectFulfillmentOrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
970
|
+
* @param {*} [options] Override http request option.
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
*/
|
|
973
|
+
getOrder(requestParameters: VendorDirectFulfillmentOrdersApiGetOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderResponse>;
|
|
974
|
+
/**
|
|
975
|
+
* Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
976
|
+
* @param {VendorDirectFulfillmentOrdersApiGetOrdersRequest} requestParameters Request parameters.
|
|
977
|
+
* @param {*} [options] Override http request option.
|
|
978
|
+
* @throws {RequiredError}
|
|
979
|
+
*/
|
|
980
|
+
getOrders(requestParameters: VendorDirectFulfillmentOrdersApiGetOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrdersResponse>;
|
|
981
|
+
/**
|
|
982
|
+
* Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
983
|
+
* @param {VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest} requestParameters Request parameters.
|
|
984
|
+
* @param {*} [options] Override http request option.
|
|
985
|
+
* @throws {RequiredError}
|
|
986
|
+
*/
|
|
987
|
+
submitAcknowledgement(requestParameters: VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitAcknowledgementResponse>;
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* Request parameters for getOrder operation in VendorDirectFulfillmentOrdersApi.
|
|
991
|
+
*/
|
|
992
|
+
interface VendorDirectFulfillmentOrdersApiGetOrderRequest {
|
|
993
|
+
/**
|
|
994
|
+
* The order identifier for the purchase order that you want. Formatting Notes: alpha-numeric code.
|
|
995
|
+
*/
|
|
996
|
+
readonly purchaseOrderNumber: string;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* Request parameters for getOrders operation in VendorDirectFulfillmentOrdersApi.
|
|
1000
|
+
*/
|
|
1001
|
+
interface VendorDirectFulfillmentOrdersApiGetOrdersRequest {
|
|
1002
|
+
/**
|
|
1003
|
+
* Purchase orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.
|
|
1004
|
+
*/
|
|
1005
|
+
readonly createdAfter: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Purchase orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.
|
|
1008
|
+
*/
|
|
1009
|
+
readonly createdBefore: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
|
|
1012
|
+
*/
|
|
1013
|
+
readonly shipFromPartyId?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
|
|
1016
|
+
*/
|
|
1017
|
+
readonly status?: GetOrdersStatusEnum;
|
|
1018
|
+
/**
|
|
1019
|
+
* The limit to the number of purchase orders returned.
|
|
1020
|
+
*/
|
|
1021
|
+
readonly limit?: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* Sort the list in ascending or descending order by order creation date.
|
|
1024
|
+
*/
|
|
1025
|
+
readonly sortOrder?: GetOrdersSortOrderEnum;
|
|
1026
|
+
/**
|
|
1027
|
+
* Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.
|
|
1028
|
+
*/
|
|
1029
|
+
readonly nextToken?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* When true, returns the complete purchase order details. Otherwise, only purchase order numbers are returned.
|
|
1032
|
+
*/
|
|
1033
|
+
readonly includeDetails?: boolean;
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Request parameters for submitAcknowledgement operation in VendorDirectFulfillmentOrdersApi.
|
|
1037
|
+
*/
|
|
1038
|
+
interface VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest {
|
|
1039
|
+
/**
|
|
1040
|
+
* The request body containing the acknowledgement to an order.
|
|
1041
|
+
*/
|
|
1042
|
+
readonly body: SubmitAcknowledgementRequest;
|
|
1043
|
+
}
|
|
1044
|
+
/**
|
|
1045
|
+
* VendorDirectFulfillmentOrdersApi - object-oriented interface
|
|
1046
|
+
*/
|
|
1047
|
+
declare class VendorDirectFulfillmentOrdersApi extends BaseAPI {
|
|
1048
|
+
/**
|
|
1049
|
+
* Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1050
|
+
* @param {VendorDirectFulfillmentOrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
1051
|
+
* @param {*} [options] Override http request option.
|
|
1052
|
+
* @throws {RequiredError}
|
|
1053
|
+
*/
|
|
1054
|
+
getOrder(requestParameters: VendorDirectFulfillmentOrdersApiGetOrderRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetOrderResponse, any, {}>>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1057
|
+
* @param {VendorDirectFulfillmentOrdersApiGetOrdersRequest} requestParameters Request parameters.
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
getOrders(requestParameters: VendorDirectFulfillmentOrdersApiGetOrdersRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetOrdersResponse, any, {}>>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
1064
|
+
* @param {VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest} requestParameters Request parameters.
|
|
1065
|
+
* @param {*} [options] Override http request option.
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
*/
|
|
1068
|
+
submitAcknowledgement(requestParameters: VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<SubmitAcknowledgementResponse, any, {}>>;
|
|
1069
|
+
}
|
|
1070
|
+
declare const GetOrdersStatusEnum: {
|
|
1071
|
+
readonly New: "NEW";
|
|
1072
|
+
readonly Shipped: "SHIPPED";
|
|
1073
|
+
readonly Accepted: "ACCEPTED";
|
|
1074
|
+
readonly Cancelled: "CANCELLED";
|
|
1075
|
+
};
|
|
1076
|
+
type GetOrdersStatusEnum = typeof GetOrdersStatusEnum[keyof typeof GetOrdersStatusEnum];
|
|
1077
|
+
declare const GetOrdersSortOrderEnum: {
|
|
1078
|
+
readonly Asc: "ASC";
|
|
1079
|
+
readonly Desc: "DESC";
|
|
1080
|
+
};
|
|
1081
|
+
type GetOrdersSortOrderEnum = typeof GetOrdersSortOrderEnum[keyof typeof GetOrdersSortOrderEnum];
|
|
1082
|
+
|
|
1083
|
+
declare const clientRateLimits: RateLimit[];
|
|
1084
|
+
declare class VendorDirectFulfillmentOrdersApiClient extends VendorDirectFulfillmentOrdersApi {
|
|
1085
|
+
constructor(configuration: ClientConfiguration);
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export { type AcknowledgementStatus, type Address, type GetOrderResponse, type GetOrdersResponse, GetOrdersSortOrderEnum, GetOrdersStatusEnum, type GiftDetails, type ItemQuantity, ItemQuantityUnitOfMeasureEnum, type ModelError, type Money, type Order, type OrderAcknowledgementItem, type OrderDetails, OrderDetailsOrderStatusEnum, type OrderDetailsTaxTotal, type OrderItem, type OrderItemAcknowledgement, type OrderItemTaxDetails, type OrderList, type Pagination, type PartyIdentification, type ScheduledDeliveryShipment, type ShipmentDates, type ShipmentDetails, type SubmitAcknowledgementRequest, type SubmitAcknowledgementResponse, type TaxDetails, TaxDetailsTypeEnum, type TaxRegistrationDetails, TaxRegistrationDetailsTaxRegistrationTypeEnum, type TransactionId, VendorDirectFulfillmentOrdersApi, VendorDirectFulfillmentOrdersApiAxiosParamCreator, VendorDirectFulfillmentOrdersApiClient, VendorDirectFulfillmentOrdersApiFactory, VendorDirectFulfillmentOrdersApiFp, type VendorDirectFulfillmentOrdersApiGetOrderRequest, type VendorDirectFulfillmentOrdersApiGetOrdersRequest, type VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest, clientRateLimits };
|