@sp-api-sdk/orders-api-v0 1.12.3 → 1.14.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.
Files changed (76) hide show
  1. package/dist/cjs/src/api-model/api/orders-v0-api.js +45 -45
  2. package/dist/cjs/src/api-model/models/address.js +4 -9
  3. package/dist/cjs/src/api-model/models/index.js +2 -0
  4. package/dist/cjs/src/api-model/models/order-item.js +4 -9
  5. package/dist/cjs/src/api-model/models/order-items-inner.js +15 -0
  6. package/dist/cjs/src/api-model/models/order.js +30 -55
  7. package/dist/cjs/src/api-model/models/regulated-information-field.js +4 -9
  8. package/dist/cjs/src/api-model/models/regulated-order-verification-status.js +0 -13
  9. package/dist/cjs/src/api-model/models/shipment-status.js +5 -6
  10. package/dist/cjs/src/api-model/models/tax-collection.js +6 -16
  11. package/dist/cjs/src/api-model/models/update-verification-status-request-body.js +0 -10
  12. package/dist/cjs/src/api-model/models/verification-status.js +28 -0
  13. package/dist/cjs/src/client.js +19 -12
  14. package/dist/es/src/api-model/api/orders-v0-api.js +45 -45
  15. package/dist/es/src/api-model/models/address.js +4 -9
  16. package/dist/es/src/api-model/models/index.js +2 -0
  17. package/dist/es/src/api-model/models/order-item.js +4 -9
  18. package/dist/es/src/api-model/models/order-items-inner.js +14 -0
  19. package/dist/es/src/api-model/models/order.js +30 -55
  20. package/dist/es/src/api-model/models/regulated-information-field.js +4 -9
  21. package/dist/es/src/api-model/models/regulated-order-verification-status.js +1 -12
  22. package/dist/es/src/api-model/models/shipment-status.js +5 -6
  23. package/dist/es/src/api-model/models/tax-collection.js +6 -16
  24. package/dist/es/src/api-model/models/update-verification-status-request-body.js +1 -9
  25. package/dist/es/src/api-model/models/verification-status.js +25 -0
  26. package/dist/es/src/client.js +19 -12
  27. package/dist/types/src/api-model/api/orders-v0-api.d.ts +70 -70
  28. package/dist/types/src/api-model/base.d.ts +2 -2
  29. package/dist/types/src/api-model/common.d.ts +7 -7
  30. package/dist/types/src/api-model/models/address.d.ts +18 -21
  31. package/dist/types/src/api-model/models/automated-shipping-settings.d.ts +3 -3
  32. package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +1 -1
  33. package/dist/types/src/api-model/models/buyer-info.d.ts +5 -5
  34. package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +3 -3
  35. package/dist/types/src/api-model/models/buyer-tax-info.d.ts +3 -3
  36. package/dist/types/src/api-model/models/buyer-tax-information.d.ts +4 -4
  37. package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +1 -1
  38. package/dist/types/src/api-model/models/get-order-address-response.d.ts +2 -2
  39. package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +2 -2
  40. package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +2 -2
  41. package/dist/types/src/api-model/models/get-order-items-response.d.ts +2 -2
  42. package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +2 -2
  43. package/dist/types/src/api-model/models/get-order-response.d.ts +2 -2
  44. package/dist/types/src/api-model/models/get-orders-response.d.ts +2 -2
  45. package/dist/types/src/api-model/models/index.d.ts +2 -0
  46. package/dist/types/src/api-model/models/item-buyer-info.d.ts +5 -5
  47. package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +1 -1
  48. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  49. package/dist/types/src/api-model/models/money.d.ts +2 -2
  50. package/dist/types/src/api-model/models/order-address.d.ts +2 -2
  51. package/dist/types/src/api-model/models/order-buyer-info.d.ts +6 -6
  52. package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +6 -6
  53. package/dist/types/src/api-model/models/order-item.d.ts +39 -42
  54. package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +3 -3
  55. package/dist/types/src/api-model/models/order-items-inner.d.ts +30 -0
  56. package/dist/types/src/api-model/models/order-items-list.d.ts +3 -3
  57. package/dist/types/src/api-model/models/order-regulated-info.d.ts +4 -4
  58. package/dist/types/src/api-model/models/order.d.ts +86 -95
  59. package/dist/types/src/api-model/models/orders-list.d.ts +4 -4
  60. package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +2 -2
  61. package/dist/types/src/api-model/models/points-granted-detail.d.ts +2 -2
  62. package/dist/types/src/api-model/models/product-info-detail.d.ts +1 -1
  63. package/dist/types/src/api-model/models/regulated-information-field.d.ts +9 -12
  64. package/dist/types/src/api-model/models/regulated-information.d.ts +1 -1
  65. package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +9 -19
  66. package/dist/types/src/api-model/models/rejection-reason.d.ts +2 -2
  67. package/dist/types/src/api-model/models/shipment-status.d.ts +6 -5
  68. package/dist/types/src/api-model/models/tax-classification.d.ts +2 -2
  69. package/dist/types/src/api-model/models/tax-collection.d.ts +10 -16
  70. package/dist/types/src/api-model/models/update-shipment-status-error-response.d.ts +1 -1
  71. package/dist/types/src/api-model/models/update-shipment-status-request.d.ts +5 -4
  72. package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +1 -1
  73. package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +6 -13
  74. package/dist/types/src/api-model/models/update-verification-status-request.d.ts +1 -1
  75. package/dist/types/src/api-model/models/verification-status.d.ts +24 -0
  76. package/package.json +4 -4
@@ -28,319 +28,310 @@ export interface Order {
28
28
  * @type {string}
29
29
  * @memberof Order
30
30
  */
31
- AmazonOrderId: string;
31
+ 'AmazonOrderId': string;
32
32
  /**
33
33
  * A seller-defined order identifier.
34
34
  * @type {string}
35
35
  * @memberof Order
36
36
  */
37
- SellerOrderId?: string;
37
+ 'SellerOrderId'?: string;
38
38
  /**
39
39
  * The date when the order was created.
40
40
  * @type {string}
41
41
  * @memberof Order
42
42
  */
43
- PurchaseDate: string;
43
+ 'PurchaseDate': string;
44
44
  /**
45
45
  * The date when the order was last updated. Note: LastUpdateDate is returned with an incorrect date for orders that were last updated before 2009-04-01.
46
46
  * @type {string}
47
47
  * @memberof Order
48
48
  */
49
- LastUpdateDate: string;
49
+ 'LastUpdateDate': string;
50
50
  /**
51
51
  * The current order status.
52
52
  * @type {string}
53
53
  * @memberof Order
54
54
  */
55
- OrderStatus: OrderOrderStatusEnum;
55
+ 'OrderStatus': OrderOrderStatusEnum;
56
56
  /**
57
57
  * Whether the order was fulfilled by Amazon (AFN) or by the seller (MFN).
58
58
  * @type {string}
59
59
  * @memberof Order
60
60
  */
61
- FulfillmentChannel?: OrderFulfillmentChannelEnum;
61
+ 'FulfillmentChannel'?: OrderFulfillmentChannelEnum;
62
62
  /**
63
63
  * The sales channel of the first item in the order.
64
64
  * @type {string}
65
65
  * @memberof Order
66
66
  */
67
- SalesChannel?: string;
67
+ 'SalesChannel'?: string;
68
68
  /**
69
69
  * The order channel of the first item in the order.
70
70
  * @type {string}
71
71
  * @memberof Order
72
72
  */
73
- OrderChannel?: string;
73
+ 'OrderChannel'?: string;
74
74
  /**
75
75
  * The shipment service level of the order.
76
76
  * @type {string}
77
77
  * @memberof Order
78
78
  */
79
- ShipServiceLevel?: string;
79
+ 'ShipServiceLevel'?: string;
80
80
  /**
81
81
  *
82
82
  * @type {Money}
83
83
  * @memberof Order
84
84
  */
85
- OrderTotal?: Money;
85
+ 'OrderTotal'?: Money;
86
86
  /**
87
87
  * The number of items shipped.
88
88
  * @type {number}
89
89
  * @memberof Order
90
90
  */
91
- NumberOfItemsShipped?: number;
91
+ 'NumberOfItemsShipped'?: number;
92
92
  /**
93
93
  * The number of items unshipped.
94
94
  * @type {number}
95
95
  * @memberof Order
96
96
  */
97
- NumberOfItemsUnshipped?: number;
97
+ 'NumberOfItemsUnshipped'?: number;
98
98
  /**
99
99
  * A list of payment execution detail items.
100
100
  * @type {Array<PaymentExecutionDetailItem>}
101
101
  * @memberof Order
102
102
  */
103
- PaymentExecutionDetail?: Array<PaymentExecutionDetailItem>;
103
+ 'PaymentExecutionDetail'?: Array<PaymentExecutionDetailItem>;
104
104
  /**
105
105
  * The payment method for the order. This property is limited to Cash On Delivery (COD) and Convenience Store (CVS) payment methods. Unless you need the specific COD payment information provided by the PaymentExecutionDetailItem object, we recommend using the PaymentMethodDetails property to get payment method information.
106
106
  * @type {string}
107
107
  * @memberof Order
108
108
  */
109
- PaymentMethod?: OrderPaymentMethodEnum;
109
+ 'PaymentMethod'?: OrderPaymentMethodEnum;
110
110
  /**
111
111
  * A list of payment method detail items.
112
112
  * @type {Array<string>}
113
113
  * @memberof Order
114
114
  */
115
- PaymentMethodDetails?: Array<string>;
115
+ 'PaymentMethodDetails'?: Array<string>;
116
116
  /**
117
117
  * The identifier for the marketplace where the order was placed.
118
118
  * @type {string}
119
119
  * @memberof Order
120
120
  */
121
- MarketplaceId?: string;
121
+ 'MarketplaceId'?: string;
122
122
  /**
123
123
  * The shipment service level category of the order. Possible values: Expedited, FreeEconomy, NextDay, SameDay, SecondDay, Scheduled, Standard.
124
124
  * @type {string}
125
125
  * @memberof Order
126
126
  */
127
- ShipmentServiceLevelCategory?: string;
127
+ 'ShipmentServiceLevelCategory'?: string;
128
128
  /**
129
129
  * The status of the Amazon Easy Ship order. This property is included only for Amazon Easy Ship orders. Possible values: PendingPickUp, LabelCanceled, PickedUp, OutForDelivery, Damaged, Delivered, RejectedByBuyer, Undeliverable, ReturnedToSeller, ReturningToSeller.
130
130
  * @type {string}
131
131
  * @memberof Order
132
132
  */
133
- EasyShipShipmentStatus?: string;
133
+ 'EasyShipShipmentStatus'?: string;
134
134
  /**
135
135
  * Custom ship label for Checkout by Amazon (CBA).
136
136
  * @type {string}
137
137
  * @memberof Order
138
138
  */
139
- CbaDisplayableShippingLabel?: string;
139
+ 'CbaDisplayableShippingLabel'?: string;
140
140
  /**
141
141
  * The type of the order.
142
142
  * @type {string}
143
143
  * @memberof Order
144
144
  */
145
- OrderType?: OrderOrderTypeEnum;
145
+ 'OrderType'?: OrderOrderTypeEnum;
146
146
  /**
147
147
  * The start of the time period within which you have committed to ship the order. In ISO 8601 date time format. Returned only for seller-fulfilled orders. Note: EarliestShipDate might not be returned for orders placed before February 1, 2013.
148
148
  * @type {string}
149
149
  * @memberof Order
150
150
  */
151
- EarliestShipDate?: string;
151
+ 'EarliestShipDate'?: string;
152
152
  /**
153
153
  * The end of the time period within which you have committed to ship the order. In ISO 8601 date time format. Returned only for seller-fulfilled orders. Note: LatestShipDate might not be returned for orders placed before February 1, 2013.
154
154
  * @type {string}
155
155
  * @memberof Order
156
156
  */
157
- LatestShipDate?: string;
157
+ 'LatestShipDate'?: string;
158
158
  /**
159
159
  * The start of the time period within which you have committed to fulfill the order. In ISO 8601 date time format. Returned only for seller-fulfilled orders.
160
160
  * @type {string}
161
161
  * @memberof Order
162
162
  */
163
- EarliestDeliveryDate?: string;
163
+ 'EarliestDeliveryDate'?: string;
164
164
  /**
165
165
  * The end of the time period within which you have committed to fulfill the order. In ISO 8601 date time format. Returned only for seller-fulfilled orders that do not have a PendingAvailability, Pending, or Canceled status.
166
166
  * @type {string}
167
167
  * @memberof Order
168
168
  */
169
- LatestDeliveryDate?: string;
169
+ 'LatestDeliveryDate'?: string;
170
170
  /**
171
171
  * When true, the order is an Amazon Business order. An Amazon Business order is an order where the buyer is a Verified Business Buyer.
172
172
  * @type {boolean}
173
173
  * @memberof Order
174
174
  */
175
- IsBusinessOrder?: boolean;
175
+ 'IsBusinessOrder'?: boolean;
176
176
  /**
177
177
  * When true, the order is a seller-fulfilled Amazon Prime order.
178
178
  * @type {boolean}
179
179
  * @memberof Order
180
180
  */
181
- IsPrime?: boolean;
181
+ 'IsPrime'?: boolean;
182
182
  /**
183
183
  * When true, the order has a Premium Shipping Service Level Agreement. For more information about Premium Shipping orders, see \"Premium Shipping Options\" in the Seller Central Help for your marketplace.
184
184
  * @type {boolean}
185
185
  * @memberof Order
186
186
  */
187
- IsPremiumOrder?: boolean;
187
+ 'IsPremiumOrder'?: boolean;
188
188
  /**
189
189
  * When true, the order is a GlobalExpress order.
190
190
  * @type {boolean}
191
191
  * @memberof Order
192
192
  */
193
- IsGlobalExpressEnabled?: boolean;
193
+ 'IsGlobalExpressEnabled'?: boolean;
194
194
  /**
195
195
  * The order ID value for the order that is being replaced. Returned only if IsReplacementOrder = true.
196
196
  * @type {string}
197
197
  * @memberof Order
198
198
  */
199
- ReplacedOrderId?: string;
199
+ 'ReplacedOrderId'?: string;
200
200
  /**
201
201
  * When true, this is a replacement order.
202
202
  * @type {boolean}
203
203
  * @memberof Order
204
204
  */
205
- IsReplacementOrder?: boolean;
205
+ 'IsReplacementOrder'?: boolean;
206
206
  /**
207
207
  * Indicates the date by which the seller must respond to the buyer with an estimated ship date. Returned only for Sourcing on Demand orders.
208
208
  * @type {string}
209
209
  * @memberof Order
210
210
  */
211
- PromiseResponseDueDate?: string;
211
+ 'PromiseResponseDueDate'?: string;
212
212
  /**
213
213
  * When true, the estimated ship date is set for the order. Returned only for Sourcing on Demand orders.
214
214
  * @type {boolean}
215
215
  * @memberof Order
216
216
  */
217
- IsEstimatedShipDateSet?: boolean;
217
+ 'IsEstimatedShipDateSet'?: boolean;
218
218
  /**
219
219
  * When true, the item within this order was bought and re-sold by Amazon Business EU SARL (ABEU). By buying and instantly re-selling your items, ABEU becomes the seller of record, making your inventory available for sale to customers who would not otherwise purchase from a third-party seller.
220
220
  * @type {boolean}
221
221
  * @memberof Order
222
222
  */
223
- IsSoldByAB?: boolean;
223
+ 'IsSoldByAB'?: boolean;
224
224
  /**
225
225
  * When true, the item within this order was bought and re-sold by Amazon Business EU SARL (ABEU). By buying and instantly re-selling your items, ABEU becomes the seller of record, making your inventory available for sale to customers who would not otherwise purchase from a third-party seller.
226
226
  * @type {boolean}
227
227
  * @memberof Order
228
228
  */
229
- IsIBA?: boolean;
229
+ 'IsIBA'?: boolean;
230
230
  /**
231
231
  *
232
232
  * @type {Address}
233
233
  * @memberof Order
234
234
  */
235
- DefaultShipFromLocationAddress?: Address;
235
+ 'DefaultShipFromLocationAddress'?: Address;
236
236
  /**
237
237
  * The buyer\'s invoicing preference. Available only in the TR marketplace.
238
238
  * @type {string}
239
239
  * @memberof Order
240
240
  */
241
- BuyerInvoicePreference?: OrderBuyerInvoicePreferenceEnum;
241
+ 'BuyerInvoicePreference'?: OrderBuyerInvoicePreferenceEnum;
242
242
  /**
243
243
  *
244
244
  * @type {BuyerTaxInformation}
245
245
  * @memberof Order
246
246
  */
247
- BuyerTaxInformation?: BuyerTaxInformation;
247
+ 'BuyerTaxInformation'?: BuyerTaxInformation;
248
248
  /**
249
249
  *
250
250
  * @type {FulfillmentInstruction}
251
251
  * @memberof Order
252
252
  */
253
- FulfillmentInstruction?: FulfillmentInstruction;
253
+ 'FulfillmentInstruction'?: FulfillmentInstruction;
254
254
  /**
255
255
  * When true, this order is marked to be picked up from a store rather than delivered.
256
256
  * @type {boolean}
257
257
  * @memberof Order
258
258
  */
259
- IsISPU?: boolean;
259
+ 'IsISPU'?: boolean;
260
+ /**
261
+ * When true, this order is marked to be delivered to an Access Point. The access location is chosen by the customer. Access Points include Amazon Hub Lockers, Amazon Hub Counters, and pickup points operated by carriers.
262
+ * @type {boolean}
263
+ * @memberof Order
264
+ */
265
+ 'IsAccessPointOrder'?: boolean;
260
266
  /**
261
267
  *
262
268
  * @type {MarketplaceTaxInfo}
263
269
  * @memberof Order
264
270
  */
265
- MarketplaceTaxInfo?: MarketplaceTaxInfo;
271
+ 'MarketplaceTaxInfo'?: MarketplaceTaxInfo;
266
272
  /**
267
273
  * The seller’s friendly name registered in the marketplace.
268
274
  * @type {string}
269
275
  * @memberof Order
270
276
  */
271
- SellerDisplayName?: string;
277
+ 'SellerDisplayName'?: string;
272
278
  /**
273
279
  *
274
280
  * @type {Address}
275
281
  * @memberof Order
276
282
  */
277
- ShippingAddress?: Address;
283
+ 'ShippingAddress'?: Address;
278
284
  /**
279
285
  *
280
286
  * @type {BuyerInfo}
281
287
  * @memberof Order
282
288
  */
283
- BuyerInfo?: BuyerInfo;
289
+ 'BuyerInfo'?: BuyerInfo;
284
290
  /**
285
291
  *
286
292
  * @type {AutomatedShippingSettings}
287
293
  * @memberof Order
288
294
  */
289
- AutomatedShippingSettings?: AutomatedShippingSettings;
295
+ 'AutomatedShippingSettings'?: AutomatedShippingSettings;
290
296
  /**
291
297
  * Whether the order contains regulated items which may require additional approval steps before being fulfilled.
292
298
  * @type {boolean}
293
299
  * @memberof Order
294
300
  */
295
- HasRegulatedItems?: boolean;
296
- }
297
- /**
298
- * @export
299
- * @enum {string}
300
- */
301
- export declare enum OrderOrderStatusEnum {
302
- Pending = "Pending",
303
- Unshipped = "Unshipped",
304
- PartiallyShipped = "PartiallyShipped",
305
- Shipped = "Shipped",
306
- Canceled = "Canceled",
307
- Unfulfillable = "Unfulfillable",
308
- InvoiceUnconfirmed = "InvoiceUnconfirmed",
309
- PendingAvailability = "PendingAvailability"
310
- }
311
- /**
312
- * @export
313
- * @enum {string}
314
- */
315
- export declare enum OrderFulfillmentChannelEnum {
316
- Mfn = "MFN",
317
- Afn = "AFN"
318
- }
319
- /**
320
- * @export
321
- * @enum {string}
322
- */
323
- export declare enum OrderPaymentMethodEnum {
324
- Cod = "COD",
325
- Cvs = "CVS",
326
- Other = "Other"
327
- }
328
- /**
329
- * @export
330
- * @enum {string}
331
- */
332
- export declare enum OrderOrderTypeEnum {
333
- StandardOrder = "StandardOrder",
334
- LongLeadTimeOrder = "LongLeadTimeOrder",
335
- Preorder = "Preorder",
336
- BackOrder = "BackOrder",
337
- SourcingOnDemandOrder = "SourcingOnDemandOrder"
338
- }
339
- /**
340
- * @export
341
- * @enum {string}
342
- */
343
- export declare enum OrderBuyerInvoicePreferenceEnum {
344
- Individual = "INDIVIDUAL",
345
- Business = "BUSINESS"
301
+ 'HasRegulatedItems'?: boolean;
346
302
  }
303
+ export declare const OrderOrderStatusEnum: {
304
+ readonly Pending: "Pending";
305
+ readonly Unshipped: "Unshipped";
306
+ readonly PartiallyShipped: "PartiallyShipped";
307
+ readonly Shipped: "Shipped";
308
+ readonly Canceled: "Canceled";
309
+ readonly Unfulfillable: "Unfulfillable";
310
+ readonly InvoiceUnconfirmed: "InvoiceUnconfirmed";
311
+ readonly PendingAvailability: "PendingAvailability";
312
+ };
313
+ export declare type OrderOrderStatusEnum = typeof OrderOrderStatusEnum[keyof typeof OrderOrderStatusEnum];
314
+ export declare const OrderFulfillmentChannelEnum: {
315
+ readonly Mfn: "MFN";
316
+ readonly Afn: "AFN";
317
+ };
318
+ export declare type OrderFulfillmentChannelEnum = typeof OrderFulfillmentChannelEnum[keyof typeof OrderFulfillmentChannelEnum];
319
+ export declare const OrderPaymentMethodEnum: {
320
+ readonly Cod: "COD";
321
+ readonly Cvs: "CVS";
322
+ readonly Other: "Other";
323
+ };
324
+ export declare type OrderPaymentMethodEnum = typeof OrderPaymentMethodEnum[keyof typeof OrderPaymentMethodEnum];
325
+ export declare const OrderOrderTypeEnum: {
326
+ readonly StandardOrder: "StandardOrder";
327
+ readonly LongLeadTimeOrder: "LongLeadTimeOrder";
328
+ readonly Preorder: "Preorder";
329
+ readonly BackOrder: "BackOrder";
330
+ readonly SourcingOnDemandOrder: "SourcingOnDemandOrder";
331
+ };
332
+ export declare type OrderOrderTypeEnum = typeof OrderOrderTypeEnum[keyof typeof OrderOrderTypeEnum];
333
+ export declare const OrderBuyerInvoicePreferenceEnum: {
334
+ readonly Individual: "INDIVIDUAL";
335
+ readonly Business: "BUSINESS";
336
+ };
337
+ export declare type OrderBuyerInvoicePreferenceEnum = typeof OrderBuyerInvoicePreferenceEnum[keyof typeof OrderBuyerInvoicePreferenceEnum];
@@ -21,23 +21,23 @@ export interface OrdersList {
21
21
  * @type {Array<Order>}
22
22
  * @memberof OrdersList
23
23
  */
24
- Orders: Array<Order>;
24
+ 'Orders': Array<Order>;
25
25
  /**
26
26
  * When present and not empty, pass this string token in the next request to return the next response page.
27
27
  * @type {string}
28
28
  * @memberof OrdersList
29
29
  */
30
- NextToken?: string;
30
+ 'NextToken'?: string;
31
31
  /**
32
32
  * A date used for selecting orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. All dates must be in ISO 8601 format.
33
33
  * @type {string}
34
34
  * @memberof OrdersList
35
35
  */
36
- LastUpdatedBefore?: string;
36
+ 'LastUpdatedBefore'?: string;
37
37
  /**
38
38
  * A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
39
39
  * @type {string}
40
40
  * @memberof OrdersList
41
41
  */
42
- CreatedBefore?: string;
42
+ 'CreatedBefore'?: string;
43
43
  }
@@ -21,11 +21,11 @@ export interface PaymentExecutionDetailItem {
21
21
  * @type {Money}
22
22
  * @memberof PaymentExecutionDetailItem
23
23
  */
24
- Payment: Money;
24
+ 'Payment': Money;
25
25
  /**
26
26
  * A sub-payment method for a COD order. Possible values: * COD - Cash On Delivery. * GC - Gift Card. * PointsAccount - Amazon Points.
27
27
  * @type {string}
28
28
  * @memberof PaymentExecutionDetailItem
29
29
  */
30
- PaymentMethod: string;
30
+ 'PaymentMethod': string;
31
31
  }
@@ -21,11 +21,11 @@ export interface PointsGrantedDetail {
21
21
  * @type {number}
22
22
  * @memberof PointsGrantedDetail
23
23
  */
24
- PointsNumber?: number;
24
+ 'PointsNumber'?: number;
25
25
  /**
26
26
  *
27
27
  * @type {Money}
28
28
  * @memberof PointsGrantedDetail
29
29
  */
30
- PointsMonetaryValue?: Money;
30
+ 'PointsMonetaryValue'?: Money;
31
31
  }
@@ -20,5 +20,5 @@ export interface ProductInfoDetail {
20
20
  * @type {number}
21
21
  * @memberof ProductInfoDetail
22
22
  */
23
- NumberOfItems?: number;
23
+ 'NumberOfItems'?: number;
24
24
  }
@@ -20,31 +20,28 @@ export interface RegulatedInformationField {
20
20
  * @type {string}
21
21
  * @memberof RegulatedInformationField
22
22
  */
23
- FieldId: string;
23
+ 'FieldId': string;
24
24
  /**
25
25
  * The human-readable name for the field.
26
26
  * @type {string}
27
27
  * @memberof RegulatedInformationField
28
28
  */
29
- FieldLabel: string;
29
+ 'FieldLabel': string;
30
30
  /**
31
31
  * The type of field the field.
32
32
  * @type {string}
33
33
  * @memberof RegulatedInformationField
34
34
  */
35
- FieldType: RegulatedInformationFieldFieldTypeEnum;
35
+ 'FieldType': RegulatedInformationFieldFieldTypeEnum;
36
36
  /**
37
37
  * The content of the field as collected in regulatory form. Note that FileAttachment type fields will contain an URL to download the attachment here.
38
38
  * @type {string}
39
39
  * @memberof RegulatedInformationField
40
40
  */
41
- FieldValue: string;
42
- }
43
- /**
44
- * @export
45
- * @enum {string}
46
- */
47
- export declare enum RegulatedInformationFieldFieldTypeEnum {
48
- Text = "Text",
49
- FileAttachment = "FileAttachment"
41
+ 'FieldValue': string;
50
42
  }
43
+ export declare const RegulatedInformationFieldFieldTypeEnum: {
44
+ readonly Text: "Text";
45
+ readonly FileAttachment: "FileAttachment";
46
+ };
47
+ export declare type RegulatedInformationFieldFieldTypeEnum = typeof RegulatedInformationFieldFieldTypeEnum[keyof typeof RegulatedInformationFieldFieldTypeEnum];
@@ -21,5 +21,5 @@ export interface RegulatedInformation {
21
21
  * @type {Array<RegulatedInformationField>}
22
22
  * @memberof RegulatedInformation
23
23
  */
24
- Fields: Array<RegulatedInformationField>;
24
+ 'Fields': Array<RegulatedInformationField>;
25
25
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { RejectionReason } from './rejection-reason';
13
+ import { VerificationStatus } from './verification-status';
13
14
  /**
14
15
  * The verification status of the order along with associated approval or rejection metadata.
15
16
  * @export
@@ -17,50 +18,39 @@ import { RejectionReason } from './rejection-reason';
17
18
  */
18
19
  export interface RegulatedOrderVerificationStatus {
19
20
  /**
20
- * The verification status of the order.
21
- * @type {string}
21
+ *
22
+ * @type {VerificationStatus}
22
23
  * @memberof RegulatedOrderVerificationStatus
23
24
  */
24
- Status: RegulatedOrderVerificationStatusStatusEnum;
25
+ 'Status': VerificationStatus;
25
26
  /**
26
27
  * Whether the regulated information provided in the order requires a review by the merchant.
27
28
  * @type {boolean}
28
29
  * @memberof RegulatedOrderVerificationStatus
29
30
  */
30
- RequiresMerchantAction: boolean;
31
+ 'RequiresMerchantAction': boolean;
31
32
  /**
32
33
  * A list of valid rejection reasons that may be used to reject the order\'s regulated information.
33
34
  * @type {Array<RejectionReason>}
34
35
  * @memberof RegulatedOrderVerificationStatus
35
36
  */
36
- ValidRejectionReasons: Array<RejectionReason>;
37
+ 'ValidRejectionReasons': Array<RejectionReason>;
37
38
  /**
38
39
  *
39
40
  * @type {RejectionReason}
40
41
  * @memberof RegulatedOrderVerificationStatus
41
42
  */
42
- RejectionReason?: RejectionReason;
43
+ 'RejectionReason'?: RejectionReason;
43
44
  /**
44
45
  * The date the order was reviewed. In ISO 8601 date time format.
45
46
  * @type {string}
46
47
  * @memberof RegulatedOrderVerificationStatus
47
48
  */
48
- ReviewDate?: string;
49
+ 'ReviewDate'?: string;
49
50
  /**
50
51
  * The identifier for the order\'s regulated information reviewer.
51
52
  * @type {string}
52
53
  * @memberof RegulatedOrderVerificationStatus
53
54
  */
54
- ExternalReviewerId?: string;
55
- }
56
- /**
57
- * @export
58
- * @enum {string}
59
- */
60
- export declare enum RegulatedOrderVerificationStatusStatusEnum {
61
- Pending = "Pending",
62
- Approved = "Approved",
63
- Rejected = "Rejected",
64
- Expired = "Expired",
65
- Cancelled = "Cancelled"
55
+ 'ExternalReviewerId'?: string;
66
56
  }
@@ -20,11 +20,11 @@ export interface RejectionReason {
20
20
  * @type {string}
21
21
  * @memberof RejectionReason
22
22
  */
23
- RejectionReasonId: string;
23
+ 'RejectionReasonId': string;
24
24
  /**
25
25
  * The human-readable description of this rejection reason.
26
26
  * @type {string}
27
27
  * @memberof RejectionReason
28
28
  */
29
- RejectionReasonDescription: string;
29
+ 'RejectionReasonDescription': string;
30
30
  }
@@ -14,8 +14,9 @@
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
17
- export declare enum ShipmentStatus {
18
- ReadyForPickup = "ReadyForPickup",
19
- PickedUp = "PickedUp",
20
- RefusedPickup = "RefusedPickup"
21
- }
17
+ export declare const ShipmentStatus: {
18
+ readonly ReadyForPickup: "ReadyForPickup";
19
+ readonly PickedUp: "PickedUp";
20
+ readonly RefusedPickup: "RefusedPickup";
21
+ };
22
+ export declare type ShipmentStatus = typeof ShipmentStatus[keyof typeof ShipmentStatus];
@@ -20,11 +20,11 @@ export interface TaxClassification {
20
20
  * @type {string}
21
21
  * @memberof TaxClassification
22
22
  */
23
- Name?: string;
23
+ 'Name'?: string;
24
24
  /**
25
25
  * The buyer\'s tax identifier.
26
26
  * @type {string}
27
27
  * @memberof TaxClassification
28
28
  */
29
- Value?: string;
29
+ 'Value'?: string;
30
30
  }
@@ -20,25 +20,19 @@ export interface TaxCollection {
20
20
  * @type {string}
21
21
  * @memberof TaxCollection
22
22
  */
23
- Model?: TaxCollectionModelEnum;
23
+ 'Model'?: TaxCollectionModelEnum;
24
24
  /**
25
25
  * The party responsible for withholding the taxes and remitting them to the taxing authority.
26
26
  * @type {string}
27
27
  * @memberof TaxCollection
28
28
  */
29
- ResponsibleParty?: TaxCollectionResponsiblePartyEnum;
30
- }
31
- /**
32
- * @export
33
- * @enum {string}
34
- */
35
- export declare enum TaxCollectionModelEnum {
36
- MarketplaceFacilitator = "MarketplaceFacilitator"
37
- }
38
- /**
39
- * @export
40
- * @enum {string}
41
- */
42
- export declare enum TaxCollectionResponsiblePartyEnum {
43
- AmazonServicesInc = "Amazon Services, Inc."
29
+ 'ResponsibleParty'?: TaxCollectionResponsiblePartyEnum;
44
30
  }
31
+ export declare const TaxCollectionModelEnum: {
32
+ readonly MarketplaceFacilitator: "MarketplaceFacilitator";
33
+ };
34
+ export declare type TaxCollectionModelEnum = typeof TaxCollectionModelEnum[keyof typeof TaxCollectionModelEnum];
35
+ export declare const TaxCollectionResponsiblePartyEnum: {
36
+ readonly AmazonServicesInc: "Amazon Services, Inc.";
37
+ };
38
+ export declare type TaxCollectionResponsiblePartyEnum = typeof TaxCollectionResponsiblePartyEnum[keyof typeof TaxCollectionResponsiblePartyEnum];