@sp-api-sdk/amazon-warehousing-and-distribution-api-2024-05-09 2.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.
Files changed (225) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +97 -0
  3. package/dist/cjs/api-model/api/awd-api.js +346 -0
  4. package/dist/cjs/api-model/api.js +30 -0
  5. package/dist/cjs/api-model/base.js +71 -0
  6. package/dist/cjs/api-model/common.js +145 -0
  7. package/dist/cjs/api-model/configuration.js +99 -0
  8. package/dist/cjs/api-model/index.js +32 -0
  9. package/dist/cjs/api-model/models/address.js +15 -0
  10. package/dist/cjs/api-model/models/carrier-code-type.js +24 -0
  11. package/dist/cjs/api-model/models/carrier-code.js +15 -0
  12. package/dist/cjs/api-model/models/dimension-unit-of-measurement.js +25 -0
  13. package/dist/cjs/api-model/models/distribution-package-contents.js +15 -0
  14. package/dist/cjs/api-model/models/distribution-package-quantity.js +15 -0
  15. package/dist/cjs/api-model/models/distribution-package-type.js +25 -0
  16. package/dist/cjs/api-model/models/distribution-package.js +15 -0
  17. package/dist/cjs/api-model/models/error-list.js +15 -0
  18. package/dist/cjs/api-model/models/expiration-details.js +15 -0
  19. package/dist/cjs/api-model/models/format-type.js +24 -0
  20. package/dist/cjs/api-model/models/inbound-eligibility-status.js +25 -0
  21. package/dist/cjs/api-model/models/inbound-eligibility.js +15 -0
  22. package/dist/cjs/api-model/models/inbound-order-creation-data.js +15 -0
  23. package/dist/cjs/api-model/models/inbound-order-reference.js +15 -0
  24. package/dist/cjs/api-model/models/inbound-order.js +15 -0
  25. package/dist/cjs/api-model/models/inbound-packages.js +15 -0
  26. package/dist/cjs/api-model/models/inbound-preferences.js +15 -0
  27. package/dist/cjs/api-model/models/inbound-shipment-status.js +30 -0
  28. package/dist/cjs/api-model/models/inbound-shipment-summary.js +15 -0
  29. package/dist/cjs/api-model/models/inbound-shipment.js +15 -0
  30. package/dist/cjs/api-model/models/inbound-status.js +29 -0
  31. package/dist/cjs/api-model/models/index.js +81 -0
  32. package/dist/cjs/api-model/models/inventory-details-visibility.js +25 -0
  33. package/dist/cjs/api-model/models/inventory-details.js +15 -0
  34. package/dist/cjs/api-model/models/inventory-listing.js +15 -0
  35. package/dist/cjs/api-model/models/inventory-quantity.js +15 -0
  36. package/dist/cjs/api-model/models/inventory-summary.js +15 -0
  37. package/dist/cjs/api-model/models/inventory-unit-of-measurement.js +26 -0
  38. package/dist/cjs/api-model/models/label-owner.js +25 -0
  39. package/dist/cjs/api-model/models/label-status.js +27 -0
  40. package/dist/cjs/api-model/models/measurement-data.js +15 -0
  41. package/dist/cjs/api-model/models/model-error.js +15 -0
  42. package/dist/cjs/api-model/models/order-attribute.js +15 -0
  43. package/dist/cjs/api-model/models/order-ineligibility-reason.js +15 -0
  44. package/dist/cjs/api-model/models/order-preference-value.js +25 -0
  45. package/dist/cjs/api-model/models/order-preference.js +24 -0
  46. package/dist/cjs/api-model/models/outbound-execution-error.js +15 -0
  47. package/dist/cjs/api-model/models/outbound-listing.js +15 -0
  48. package/dist/cjs/api-model/models/outbound-order-creation-data.js +15 -0
  49. package/dist/cjs/api-model/models/outbound-order-reference.js +15 -0
  50. package/dist/cjs/api-model/models/outbound-order.js +15 -0
  51. package/dist/cjs/api-model/models/outbound-shipment-status.js +31 -0
  52. package/dist/cjs/api-model/models/outbound-shipment.js +15 -0
  53. package/dist/cjs/api-model/models/outbound-status.js +32 -0
  54. package/dist/cjs/api-model/models/package-dimensions.js +15 -0
  55. package/dist/cjs/api-model/models/package-volume.js +15 -0
  56. package/dist/cjs/api-model/models/package-weight.js +15 -0
  57. package/dist/cjs/api-model/models/page-type.js +26 -0
  58. package/dist/cjs/api-model/models/prep-details.js +15 -0
  59. package/dist/cjs/api-model/models/prep-instruction.js +15 -0
  60. package/dist/cjs/api-model/models/prep-owner.js +25 -0
  61. package/dist/cjs/api-model/models/product-attribute.js +15 -0
  62. package/dist/cjs/api-model/models/product-quantity.js +15 -0
  63. package/dist/cjs/api-model/models/shipment-labels.js +15 -0
  64. package/dist/cjs/api-model/models/shipment-listing.js +15 -0
  65. package/dist/cjs/api-model/models/shipment-sortable-field.js +25 -0
  66. package/dist/cjs/api-model/models/sku-eligibility.js +15 -0
  67. package/dist/cjs/api-model/models/sku-ineligibility-reason.js +15 -0
  68. package/dist/cjs/api-model/models/sku-quantities-visibility.js +25 -0
  69. package/dist/cjs/api-model/models/sku-quantity.js +15 -0
  70. package/dist/cjs/api-model/models/sort-order.js +25 -0
  71. package/dist/cjs/api-model/models/tracking-details.js +15 -0
  72. package/dist/cjs/api-model/models/transportation-details.js +15 -0
  73. package/dist/cjs/api-model/models/volume-unit-of-measurement.js +26 -0
  74. package/dist/cjs/api-model/models/weight-unit-of-measurement.js +25 -0
  75. package/dist/cjs/client.js +35 -0
  76. package/dist/cjs/index.js +19 -0
  77. package/dist/es/api-model/api/awd-api.js +336 -0
  78. package/dist/es/api-model/api.js +14 -0
  79. package/dist/es/api-model/base.js +63 -0
  80. package/dist/es/api-model/common.js +133 -0
  81. package/dist/es/api-model/configuration.js +95 -0
  82. package/dist/es/api-model/index.js +16 -0
  83. package/dist/es/api-model/models/address.js +14 -0
  84. package/dist/es/api-model/models/carrier-code-type.js +21 -0
  85. package/dist/es/api-model/models/carrier-code.js +14 -0
  86. package/dist/es/api-model/models/dimension-unit-of-measurement.js +22 -0
  87. package/dist/es/api-model/models/distribution-package-contents.js +14 -0
  88. package/dist/es/api-model/models/distribution-package-quantity.js +14 -0
  89. package/dist/es/api-model/models/distribution-package-type.js +22 -0
  90. package/dist/es/api-model/models/distribution-package.js +14 -0
  91. package/dist/es/api-model/models/error-list.js +14 -0
  92. package/dist/es/api-model/models/expiration-details.js +14 -0
  93. package/dist/es/api-model/models/format-type.js +21 -0
  94. package/dist/es/api-model/models/inbound-eligibility-status.js +22 -0
  95. package/dist/es/api-model/models/inbound-eligibility.js +14 -0
  96. package/dist/es/api-model/models/inbound-order-creation-data.js +14 -0
  97. package/dist/es/api-model/models/inbound-order-reference.js +14 -0
  98. package/dist/es/api-model/models/inbound-order.js +14 -0
  99. package/dist/es/api-model/models/inbound-packages.js +14 -0
  100. package/dist/es/api-model/models/inbound-preferences.js +14 -0
  101. package/dist/es/api-model/models/inbound-shipment-status.js +27 -0
  102. package/dist/es/api-model/models/inbound-shipment-summary.js +14 -0
  103. package/dist/es/api-model/models/inbound-shipment.js +14 -0
  104. package/dist/es/api-model/models/inbound-status.js +26 -0
  105. package/dist/es/api-model/models/index.js +65 -0
  106. package/dist/es/api-model/models/inventory-details-visibility.js +22 -0
  107. package/dist/es/api-model/models/inventory-details.js +14 -0
  108. package/dist/es/api-model/models/inventory-listing.js +14 -0
  109. package/dist/es/api-model/models/inventory-quantity.js +14 -0
  110. package/dist/es/api-model/models/inventory-summary.js +14 -0
  111. package/dist/es/api-model/models/inventory-unit-of-measurement.js +23 -0
  112. package/dist/es/api-model/models/label-owner.js +22 -0
  113. package/dist/es/api-model/models/label-status.js +24 -0
  114. package/dist/es/api-model/models/measurement-data.js +14 -0
  115. package/dist/es/api-model/models/model-error.js +14 -0
  116. package/dist/es/api-model/models/order-attribute.js +14 -0
  117. package/dist/es/api-model/models/order-ineligibility-reason.js +14 -0
  118. package/dist/es/api-model/models/order-preference-value.js +22 -0
  119. package/dist/es/api-model/models/order-preference.js +21 -0
  120. package/dist/es/api-model/models/outbound-execution-error.js +14 -0
  121. package/dist/es/api-model/models/outbound-listing.js +14 -0
  122. package/dist/es/api-model/models/outbound-order-creation-data.js +14 -0
  123. package/dist/es/api-model/models/outbound-order-reference.js +14 -0
  124. package/dist/es/api-model/models/outbound-order.js +14 -0
  125. package/dist/es/api-model/models/outbound-shipment-status.js +28 -0
  126. package/dist/es/api-model/models/outbound-shipment.js +14 -0
  127. package/dist/es/api-model/models/outbound-status.js +29 -0
  128. package/dist/es/api-model/models/package-dimensions.js +14 -0
  129. package/dist/es/api-model/models/package-volume.js +14 -0
  130. package/dist/es/api-model/models/package-weight.js +14 -0
  131. package/dist/es/api-model/models/page-type.js +23 -0
  132. package/dist/es/api-model/models/prep-details.js +14 -0
  133. package/dist/es/api-model/models/prep-instruction.js +14 -0
  134. package/dist/es/api-model/models/prep-owner.js +22 -0
  135. package/dist/es/api-model/models/product-attribute.js +14 -0
  136. package/dist/es/api-model/models/product-quantity.js +14 -0
  137. package/dist/es/api-model/models/shipment-labels.js +14 -0
  138. package/dist/es/api-model/models/shipment-listing.js +14 -0
  139. package/dist/es/api-model/models/shipment-sortable-field.js +22 -0
  140. package/dist/es/api-model/models/sku-eligibility.js +14 -0
  141. package/dist/es/api-model/models/sku-ineligibility-reason.js +14 -0
  142. package/dist/es/api-model/models/sku-quantities-visibility.js +22 -0
  143. package/dist/es/api-model/models/sku-quantity.js +14 -0
  144. package/dist/es/api-model/models/sort-order.js +22 -0
  145. package/dist/es/api-model/models/tracking-details.js +14 -0
  146. package/dist/es/api-model/models/transportation-details.js +14 -0
  147. package/dist/es/api-model/models/volume-unit-of-measurement.js +23 -0
  148. package/dist/es/api-model/models/weight-unit-of-measurement.js +22 -0
  149. package/dist/es/client.js +31 -0
  150. package/dist/es/index.js +3 -0
  151. package/dist/types/api-model/api/awd-api.d.ts +311 -0
  152. package/dist/types/api-model/api.d.ts +12 -0
  153. package/dist/types/api-model/base.d.ts +66 -0
  154. package/dist/types/api-model/common.d.ts +65 -0
  155. package/dist/types/api-model/configuration.d.ts +91 -0
  156. package/dist/types/api-model/index.d.ts +14 -0
  157. package/dist/types/api-model/models/address.d.ts +84 -0
  158. package/dist/types/api-model/models/carrier-code-type.d.ts +20 -0
  159. package/dist/types/api-model/models/carrier-code.d.ts +31 -0
  160. package/dist/types/api-model/models/dimension-unit-of-measurement.d.ts +21 -0
  161. package/dist/types/api-model/models/distribution-package-contents.d.ts +32 -0
  162. package/dist/types/api-model/models/distribution-package-quantity.d.ts +31 -0
  163. package/dist/types/api-model/models/distribution-package-type.d.ts +21 -0
  164. package/dist/types/api-model/models/distribution-package.d.ts +39 -0
  165. package/dist/types/api-model/models/error-list.d.ts +24 -0
  166. package/dist/types/api-model/models/expiration-details.d.ts +30 -0
  167. package/dist/types/api-model/models/format-type.d.ts +20 -0
  168. package/dist/types/api-model/models/inbound-eligibility-status.d.ts +21 -0
  169. package/dist/types/api-model/models/inbound-eligibility.d.ts +45 -0
  170. package/dist/types/api-model/models/inbound-order-creation-data.d.ts +51 -0
  171. package/dist/types/api-model/models/inbound-order-reference.d.ts +30 -0
  172. package/dist/types/api-model/models/inbound-order.d.ts +89 -0
  173. package/dist/types/api-model/models/inbound-packages.d.ts +25 -0
  174. package/dist/types/api-model/models/inbound-preferences.d.ts +24 -0
  175. package/dist/types/api-model/models/inbound-shipment-status.d.ts +26 -0
  176. package/dist/types/api-model/models/inbound-shipment-summary.d.ts +55 -0
  177. package/dist/types/api-model/models/inbound-shipment.d.ts +120 -0
  178. package/dist/types/api-model/models/inbound-status.d.ts +25 -0
  179. package/dist/types/api-model/models/index.d.ts +65 -0
  180. package/dist/types/api-model/models/inventory-details-visibility.d.ts +21 -0
  181. package/dist/types/api-model/models/inventory-details.d.ts +30 -0
  182. package/dist/types/api-model/models/inventory-listing.d.ts +31 -0
  183. package/dist/types/api-model/models/inventory-quantity.d.ts +31 -0
  184. package/dist/types/api-model/models/inventory-summary.d.ts +50 -0
  185. package/dist/types/api-model/models/inventory-unit-of-measurement.d.ts +22 -0
  186. package/dist/types/api-model/models/label-owner.d.ts +21 -0
  187. package/dist/types/api-model/models/label-status.d.ts +23 -0
  188. package/dist/types/api-model/models/measurement-data.d.ts +39 -0
  189. package/dist/types/api-model/models/model-error.d.ts +36 -0
  190. package/dist/types/api-model/models/order-attribute.d.ts +32 -0
  191. package/dist/types/api-model/models/order-ineligibility-reason.d.ts +30 -0
  192. package/dist/types/api-model/models/order-preference-value.d.ts +21 -0
  193. package/dist/types/api-model/models/order-preference.d.ts +20 -0
  194. package/dist/types/api-model/models/outbound-execution-error.d.ts +36 -0
  195. package/dist/types/api-model/models/outbound-listing.d.ts +31 -0
  196. package/dist/types/api-model/models/outbound-order-creation-data.d.ts +39 -0
  197. package/dist/types/api-model/models/outbound-order-reference.d.ts +24 -0
  198. package/dist/types/api-model/models/outbound-order.d.ts +108 -0
  199. package/dist/types/api-model/models/outbound-shipment-status.d.ts +27 -0
  200. package/dist/types/api-model/models/outbound-shipment.d.ts +76 -0
  201. package/dist/types/api-model/models/outbound-status.d.ts +28 -0
  202. package/dist/types/api-model/models/package-dimensions.d.ts +43 -0
  203. package/dist/types/api-model/models/package-volume.d.ts +31 -0
  204. package/dist/types/api-model/models/package-weight.d.ts +31 -0
  205. package/dist/types/api-model/models/page-type.d.ts +22 -0
  206. package/dist/types/api-model/models/prep-details.d.ts +45 -0
  207. package/dist/types/api-model/models/prep-instruction.d.ts +31 -0
  208. package/dist/types/api-model/models/prep-owner.d.ts +21 -0
  209. package/dist/types/api-model/models/product-attribute.d.ts +30 -0
  210. package/dist/types/api-model/models/product-quantity.d.ts +50 -0
  211. package/dist/types/api-model/models/shipment-labels.d.ts +31 -0
  212. package/dist/types/api-model/models/shipment-listing.d.ts +31 -0
  213. package/dist/types/api-model/models/shipment-sortable-field.d.ts +21 -0
  214. package/dist/types/api-model/models/sku-eligibility.d.ts +39 -0
  215. package/dist/types/api-model/models/sku-ineligibility-reason.d.ts +30 -0
  216. package/dist/types/api-model/models/sku-quantities-visibility.d.ts +21 -0
  217. package/dist/types/api-model/models/sku-quantity.d.ts +37 -0
  218. package/dist/types/api-model/models/sort-order.d.ts +21 -0
  219. package/dist/types/api-model/models/tracking-details.d.ts +37 -0
  220. package/dist/types/api-model/models/transportation-details.d.ts +25 -0
  221. package/dist/types/api-model/models/volume-unit-of-measurement.d.ts +22 -0
  222. package/dist/types/api-model/models/weight-unit-of-measurement.d.ts +21 -0
  223. package/dist/types/client.d.ts +6 -0
  224. package/dist/types/index.d.ts +3 -0
  225. package/package.json +44 -0
@@ -0,0 +1,120 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Address } from './address';
13
+ import type { CarrierCode } from './carrier-code';
14
+ import type { DistributionPackageQuantity } from './distribution-package-quantity';
15
+ import type { InboundShipmentStatus } from './inbound-shipment-status';
16
+ import type { InventoryQuantity } from './inventory-quantity';
17
+ import type { SkuQuantity } from './sku-quantity';
18
+ /**
19
+ * Represents an AWD inbound shipment.
20
+ * @export
21
+ * @interface InboundShipment
22
+ */
23
+ export interface InboundShipment {
24
+ /**
25
+ *
26
+ * @type {CarrierCode}
27
+ * @memberof InboundShipment
28
+ */
29
+ 'carrierCode'?: CarrierCode;
30
+ /**
31
+ * Timestamp when the shipment was created. The date is returned in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
32
+ * @type {string}
33
+ * @memberof InboundShipment
34
+ */
35
+ 'createdAt'?: string;
36
+ /**
37
+ *
38
+ * @type {Address}
39
+ * @memberof InboundShipment
40
+ */
41
+ 'destinationAddress': Address;
42
+ /**
43
+ * Client-provided reference ID that can correlate this shipment to client resources. For example, to map this shipment to an internal bookkeeping order record.
44
+ * @type {string}
45
+ * @memberof InboundShipment
46
+ */
47
+ 'externalReferenceId'?: string;
48
+ /**
49
+ * The AWD inbound order ID that this inbound shipment belongs to.
50
+ * @type {string}
51
+ * @memberof InboundShipment
52
+ */
53
+ 'orderId': string;
54
+ /**
55
+ *
56
+ * @type {Address}
57
+ * @memberof InboundShipment
58
+ */
59
+ 'originAddress': Address;
60
+ /**
61
+ * Quantity received (at the receiving end) as part of this shipment.
62
+ * @type {Array<InventoryQuantity>}
63
+ * @memberof InboundShipment
64
+ */
65
+ 'receivedQuantity'?: Array<InventoryQuantity>;
66
+ /**
67
+ * Timestamp when the shipment will be shipped.
68
+ * @type {string}
69
+ * @memberof InboundShipment
70
+ */
71
+ 'shipBy'?: string;
72
+ /**
73
+ * Packages that are part of this shipment.
74
+ * @type {Array<DistributionPackageQuantity>}
75
+ * @memberof InboundShipment
76
+ */
77
+ 'shipmentContainerQuantities': Array<DistributionPackageQuantity>;
78
+ /**
79
+ * Unique shipment ID.
80
+ * @type {string}
81
+ * @memberof InboundShipment
82
+ */
83
+ 'shipmentId': string;
84
+ /**
85
+ * Quantity details at SKU level for the shipment. This attribute will only appear if the skuQuantities parameter in the request is set to SHOW.
86
+ * @type {Array<SkuQuantity>}
87
+ * @memberof InboundShipment
88
+ */
89
+ 'shipmentSkuQuantities'?: Array<SkuQuantity>;
90
+ /**
91
+ * Assigned region where the order will be shipped. This can differ from what was passed as preference. AWD currently supports following region IDs: [us-west, us-east]
92
+ * @type {string}
93
+ * @memberof InboundShipment
94
+ */
95
+ 'destinationRegion'?: string;
96
+ /**
97
+ *
98
+ * @type {InboundShipmentStatus}
99
+ * @memberof InboundShipment
100
+ */
101
+ 'shipmentStatus': InboundShipmentStatus;
102
+ /**
103
+ * Carrier-unique tracking ID for this shipment.
104
+ * @type {string}
105
+ * @memberof InboundShipment
106
+ */
107
+ 'trackingId'?: string;
108
+ /**
109
+ * Timestamp when the shipment was updated. The date is returned in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
110
+ * @type {string}
111
+ * @memberof InboundShipment
112
+ */
113
+ 'updatedAt'?: string;
114
+ /**
115
+ * An AWD-provided reference ID that you can use to interact with the warehouse. For example, a carrier appointment booking.
116
+ * @type {string}
117
+ * @memberof InboundShipment
118
+ */
119
+ 'warehouseReferenceId'?: string;
120
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The supported statuses for an inbound order.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const InboundStatus: {
18
+ readonly Draft: "DRAFT";
19
+ readonly Validating: "VALIDATING";
20
+ readonly Confirmed: "CONFIRMED";
21
+ readonly Closed: "CLOSED";
22
+ readonly Expired: "EXPIRED";
23
+ readonly Cancelled: "CANCELLED";
24
+ };
25
+ export type InboundStatus = typeof InboundStatus[keyof typeof InboundStatus];
@@ -0,0 +1,65 @@
1
+ export * from './address';
2
+ export * from './carrier-code';
3
+ export * from './carrier-code-type';
4
+ export * from './dimension-unit-of-measurement';
5
+ export * from './distribution-package';
6
+ export * from './distribution-package-contents';
7
+ export * from './distribution-package-quantity';
8
+ export * from './distribution-package-type';
9
+ export * from './error-list';
10
+ export * from './expiration-details';
11
+ export * from './format-type';
12
+ export * from './inbound-eligibility';
13
+ export * from './inbound-eligibility-status';
14
+ export * from './inbound-order';
15
+ export * from './inbound-order-creation-data';
16
+ export * from './inbound-order-reference';
17
+ export * from './inbound-packages';
18
+ export * from './inbound-preferences';
19
+ export * from './inbound-shipment';
20
+ export * from './inbound-shipment-status';
21
+ export * from './inbound-shipment-summary';
22
+ export * from './inbound-status';
23
+ export * from './inventory-details';
24
+ export * from './inventory-details-visibility';
25
+ export * from './inventory-listing';
26
+ export * from './inventory-quantity';
27
+ export * from './inventory-summary';
28
+ export * from './inventory-unit-of-measurement';
29
+ export * from './label-owner';
30
+ export * from './label-status';
31
+ export * from './measurement-data';
32
+ export * from './model-error';
33
+ export * from './order-attribute';
34
+ export * from './order-ineligibility-reason';
35
+ export * from './order-preference';
36
+ export * from './order-preference-value';
37
+ export * from './outbound-execution-error';
38
+ export * from './outbound-listing';
39
+ export * from './outbound-order';
40
+ export * from './outbound-order-creation-data';
41
+ export * from './outbound-order-reference';
42
+ export * from './outbound-shipment';
43
+ export * from './outbound-shipment-status';
44
+ export * from './outbound-status';
45
+ export * from './package-dimensions';
46
+ export * from './package-volume';
47
+ export * from './package-weight';
48
+ export * from './page-type';
49
+ export * from './prep-details';
50
+ export * from './prep-instruction';
51
+ export * from './prep-owner';
52
+ export * from './product-attribute';
53
+ export * from './product-quantity';
54
+ export * from './shipment-labels';
55
+ export * from './shipment-listing';
56
+ export * from './shipment-sortable-field';
57
+ export * from './sku-eligibility';
58
+ export * from './sku-ineligibility-reason';
59
+ export * from './sku-quantities-visibility';
60
+ export * from './sku-quantity';
61
+ export * from './sort-order';
62
+ export * from './tracking-details';
63
+ export * from './transportation-details';
64
+ export * from './volume-unit-of-measurement';
65
+ export * from './weight-unit-of-measurement';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Enum to specify if returned summaries should include additional summarized inventory details and quantities.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const InventoryDetailsVisibility: {
18
+ readonly Show: "SHOW";
19
+ readonly Hide: "HIDE";
20
+ };
21
+ export type InventoryDetailsVisibility = typeof InventoryDetailsVisibility[keyof typeof InventoryDetailsVisibility];
@@ -0,0 +1,30 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Additional inventory details. This object is only displayed if the details parameter in the request is set to `SHOW`.
14
+ * @export
15
+ * @interface InventoryDetails
16
+ */
17
+ export interface InventoryDetails {
18
+ /**
19
+ * Quantity that is available for downstream channel replenishment.
20
+ * @type {number}
21
+ * @memberof InventoryDetails
22
+ */
23
+ 'availableDistributableQuantity'?: number;
24
+ /**
25
+ * Quantity that is reserved for a downstream channel replenishment order that is being prepared for shipment.
26
+ * @type {number}
27
+ * @memberof InventoryDetails
28
+ */
29
+ 'reservedDistributableQuantity'?: number;
30
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { InventorySummary } from './inventory-summary';
13
+ /**
14
+ * AWD inventory payload.
15
+ * @export
16
+ * @interface InventoryListing
17
+ */
18
+ export interface InventoryListing {
19
+ /**
20
+ * List of inventory summaries.
21
+ * @type {Array<InventorySummary>}
22
+ * @memberof InventoryListing
23
+ */
24
+ 'inventory': Array<InventorySummary>;
25
+ /**
26
+ * A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
27
+ * @type {string}
28
+ * @memberof InventoryListing
29
+ */
30
+ 'nextToken'?: string;
31
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { InventoryUnitOfMeasurement } from './inventory-unit-of-measurement';
13
+ /**
14
+ * Quantity of inventory with an associated measurement unit context.
15
+ * @export
16
+ * @interface InventoryQuantity
17
+ */
18
+ export interface InventoryQuantity {
19
+ /**
20
+ * Quantity of the respective inventory.
21
+ * @type {number}
22
+ * @memberof InventoryQuantity
23
+ */
24
+ 'quantity': number;
25
+ /**
26
+ *
27
+ * @type {InventoryUnitOfMeasurement}
28
+ * @memberof InventoryQuantity
29
+ */
30
+ 'unitOfMeasurement': InventoryUnitOfMeasurement;
31
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ExpirationDetails } from './expiration-details';
13
+ import type { InventoryDetails } from './inventory-details';
14
+ /**
15
+ * Summary of inventory per SKU.
16
+ * @export
17
+ * @interface InventorySummary
18
+ */
19
+ export interface InventorySummary {
20
+ /**
21
+ * The expiration details of the inventory. This object will only appear if the `details` parameter in the request is set to `SHOW`.
22
+ * @type {Array<ExpirationDetails>}
23
+ * @memberof InventorySummary
24
+ */
25
+ 'expirationDetails'?: Array<ExpirationDetails>;
26
+ /**
27
+ *
28
+ * @type {InventoryDetails}
29
+ * @memberof InventorySummary
30
+ */
31
+ 'inventoryDetails'?: InventoryDetails;
32
+ /**
33
+ * The seller or merchant SKU.
34
+ * @type {string}
35
+ * @memberof InventorySummary
36
+ */
37
+ 'sku': string;
38
+ /**
39
+ * Total quantity that is in-transit from the seller and has not yet been received at an AWD Distribution Center
40
+ * @type {number}
41
+ * @memberof InventorySummary
42
+ */
43
+ 'totalInboundQuantity'?: number;
44
+ /**
45
+ * Total quantity that is present in AWD distribution centers.
46
+ * @type {number}
47
+ * @memberof InventorySummary
48
+ */
49
+ 'totalOnhandQuantity'?: number;
50
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Unit of measurement for the inventory.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const InventoryUnitOfMeasurement: {
18
+ readonly ProductUnits: "PRODUCT_UNITS";
19
+ readonly Cases: "CASES";
20
+ readonly Pallets: "PALLETS";
21
+ };
22
+ export type InventoryUnitOfMeasurement = typeof InventoryUnitOfMeasurement[keyof typeof InventoryUnitOfMeasurement];
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The entity that labels the products.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const LabelOwner: {
18
+ readonly Amazon: "AMAZON";
19
+ readonly Self: "SELF";
20
+ };
21
+ export type LabelOwner = typeof LabelOwner[keyof typeof LabelOwner];
@@ -0,0 +1,23 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The status of your label.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const LabelStatus: {
18
+ readonly Generating: "GENERATING";
19
+ readonly Generated: "GENERATED";
20
+ readonly GenerationFailed: "GENERATION_FAILED";
21
+ readonly NotReady: "NOT_READY";
22
+ };
23
+ export type LabelStatus = typeof LabelStatus[keyof typeof LabelStatus];
@@ -0,0 +1,39 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PackageDimensions } from './package-dimensions';
13
+ import type { PackageVolume } from './package-volume';
14
+ import type { PackageWeight } from './package-weight';
15
+ /**
16
+ * Package weight and dimension.
17
+ * @export
18
+ * @interface MeasurementData
19
+ */
20
+ export interface MeasurementData {
21
+ /**
22
+ *
23
+ * @type {PackageDimensions}
24
+ * @memberof MeasurementData
25
+ */
26
+ 'dimensions'?: PackageDimensions;
27
+ /**
28
+ *
29
+ * @type {PackageVolume}
30
+ * @memberof MeasurementData
31
+ */
32
+ 'volume'?: PackageVolume;
33
+ /**
34
+ *
35
+ * @type {PackageWeight}
36
+ * @memberof MeasurementData
37
+ */
38
+ 'weight': PackageWeight;
39
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Error response returned when the request is unsuccessful.
14
+ * @export
15
+ * @interface ModelError
16
+ */
17
+ export interface ModelError {
18
+ /**
19
+ * An error code that identifies the type of error that occurred.
20
+ * @type {string}
21
+ * @memberof ModelError
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Additional details that can help the caller understand or fix the issue.
26
+ * @type {string}
27
+ * @memberof ModelError
28
+ */
29
+ 'details'?: string;
30
+ /**
31
+ * A message that describes the error condition.
32
+ * @type {string}
33
+ * @memberof ModelError
34
+ */
35
+ 'message': string;
36
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { OrderPreference } from './order-preference';
13
+ import type { OrderPreferenceValue } from './order-preference-value';
14
+ /**
15
+ * Consists of the order preference and corresponding preference value.
16
+ * @export
17
+ * @interface OrderAttribute
18
+ */
19
+ export interface OrderAttribute {
20
+ /**
21
+ *
22
+ * @type {OrderPreference}
23
+ * @memberof OrderAttribute
24
+ */
25
+ 'orderPreference': OrderPreference;
26
+ /**
27
+ *
28
+ * @type {OrderPreferenceValue}
29
+ * @memberof OrderAttribute
30
+ */
31
+ 'orderPreferenceValue': OrderPreferenceValue;
32
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Represents one ineligibility reason for the order (there can be multiple reasons).
14
+ * @export
15
+ * @interface OrderIneligibilityReason
16
+ */
17
+ export interface OrderIneligibilityReason {
18
+ /**
19
+ * Code for the order ineligibility.
20
+ * @type {string}
21
+ * @memberof OrderIneligibilityReason
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Description detailing the ineligibility reason of the order.
26
+ * @type {string}
27
+ * @memberof OrderIneligibilityReason
28
+ */
29
+ 'description': string;
30
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Value for the order preference.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const OrderPreferenceValue: {
18
+ readonly Set: "SET";
19
+ readonly Unset: "UNSET";
20
+ };
21
+ export type OrderPreferenceValue = typeof OrderPreferenceValue[keyof typeof OrderPreferenceValue];
@@ -0,0 +1,20 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Supported preferences for the distribution order.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const OrderPreference: {
18
+ readonly PartialOrder: "PARTIAL_ORDER";
19
+ };
20
+ export type OrderPreference = typeof OrderPreference[keyof typeof OrderPreference];
@@ -0,0 +1,36 @@
1
+ /**
2
+ * The Selling Partner API for Amazon Warehousing and Distribution
3
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
4
+ *
5
+ * The version of the OpenAPI document: 2024-05-09
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Execution errors associated with the outbound order. This field will be populated if the order failed validation.
14
+ * @export
15
+ * @interface OutboundExecutionError
16
+ */
17
+ export interface OutboundExecutionError {
18
+ /**
19
+ * Failure code details for the error.
20
+ * @type {string}
21
+ * @memberof OutboundExecutionError
22
+ */
23
+ 'failureCode': string;
24
+ /**
25
+ * Failure reasons for the error.
26
+ * @type {Array<string>}
27
+ * @memberof OutboundExecutionError
28
+ */
29
+ 'failureReasons': Array<string>;
30
+ /**
31
+ * MSKU associated with the error.
32
+ * @type {string}
33
+ * @memberof OutboundExecutionError
34
+ */
35
+ 'sku'?: string;
36
+ }