@sp-api-sdk/fulfillment-inbound-api-2024-03-20 3.3.10 → 4.1.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 (455) hide show
  1. package/README.md +7 -8
  2. package/dist/index.cjs +3628 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +5200 -0
  5. package/dist/index.d.ts +5200 -0
  6. package/dist/index.js +3582 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +26 -12
  9. package/dist/cjs/api-model/api/fulfillment-inbound-api.js +0 -3131
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/address-input.js +0 -15
  16. package/dist/cjs/api-model/models/address.js +0 -15
  17. package/dist/cjs/api-model/models/all-owners-constraint.js +0 -22
  18. package/dist/cjs/api-model/models/appointment-slot-time.js +0 -15
  19. package/dist/cjs/api-model/models/appointment-slot.js +0 -15
  20. package/dist/cjs/api-model/models/box-content-information-source.js +0 -24
  21. package/dist/cjs/api-model/models/box-input.js +0 -15
  22. package/dist/cjs/api-model/models/box-requirements.js +0 -15
  23. package/dist/cjs/api-model/models/box-update-input.js +0 -15
  24. package/dist/cjs/api-model/models/box.js +0 -15
  25. package/dist/cjs/api-model/models/cancel-inbound-plan-response.js +0 -15
  26. package/dist/cjs/api-model/models/cancel-self-ship-appointment-request.js +0 -15
  27. package/dist/cjs/api-model/models/cancel-self-ship-appointment-response.js +0 -15
  28. package/dist/cjs/api-model/models/carrier-appointment.js +0 -15
  29. package/dist/cjs/api-model/models/carrier.js +0 -15
  30. package/dist/cjs/api-model/models/compliance-detail.js +0 -15
  31. package/dist/cjs/api-model/models/confirm-delivery-window-options-response.js +0 -15
  32. package/dist/cjs/api-model/models/confirm-packing-option-response.js +0 -15
  33. package/dist/cjs/api-model/models/confirm-placement-option-response.js +0 -15
  34. package/dist/cjs/api-model/models/confirm-shipment-content-update-preview-response.js +0 -15
  35. package/dist/cjs/api-model/models/confirm-transportation-options-request.js +0 -15
  36. package/dist/cjs/api-model/models/confirm-transportation-options-response.js +0 -15
  37. package/dist/cjs/api-model/models/contact-information.js +0 -15
  38. package/dist/cjs/api-model/models/content-update-preview.js +0 -15
  39. package/dist/cjs/api-model/models/create-inbound-plan-request.js +0 -15
  40. package/dist/cjs/api-model/models/create-inbound-plan-response.js +0 -15
  41. package/dist/cjs/api-model/models/create-marketplace-item-labels-request.js +0 -15
  42. package/dist/cjs/api-model/models/create-marketplace-item-labels-response.js +0 -15
  43. package/dist/cjs/api-model/models/currency.js +0 -15
  44. package/dist/cjs/api-model/models/custom-placement-input.js +0 -15
  45. package/dist/cjs/api-model/models/dates.js +0 -15
  46. package/dist/cjs/api-model/models/delivery-window-option.js +0 -15
  47. package/dist/cjs/api-model/models/dimensions.js +0 -15
  48. package/dist/cjs/api-model/models/document-download.js +0 -15
  49. package/dist/cjs/api-model/models/error-list.js +0 -15
  50. package/dist/cjs/api-model/models/freight-information.js +0 -15
  51. package/dist/cjs/api-model/models/generate-delivery-window-options-response.js +0 -15
  52. package/dist/cjs/api-model/models/generate-packing-options-response.js +0 -15
  53. package/dist/cjs/api-model/models/generate-placement-options-request.js +0 -15
  54. package/dist/cjs/api-model/models/generate-placement-options-response.js +0 -15
  55. package/dist/cjs/api-model/models/generate-self-ship-appointment-slots-request.js +0 -15
  56. package/dist/cjs/api-model/models/generate-self-ship-appointment-slots-response.js +0 -15
  57. package/dist/cjs/api-model/models/generate-shipment-content-update-previews-request.js +0 -15
  58. package/dist/cjs/api-model/models/generate-shipment-content-update-previews-response.js +0 -15
  59. package/dist/cjs/api-model/models/generate-transportation-options-request.js +0 -15
  60. package/dist/cjs/api-model/models/generate-transportation-options-response.js +0 -15
  61. package/dist/cjs/api-model/models/get-delivery-challan-document-response.js +0 -15
  62. package/dist/cjs/api-model/models/get-self-ship-appointment-slots-response.js +0 -15
  63. package/dist/cjs/api-model/models/inbound-operation-status.js +0 -15
  64. package/dist/cjs/api-model/models/inbound-plan-summary.js +0 -15
  65. package/dist/cjs/api-model/models/inbound-plan.js +0 -15
  66. package/dist/cjs/api-model/models/incentive.js +0 -15
  67. package/dist/cjs/api-model/models/index.js +0 -156
  68. package/dist/cjs/api-model/models/item-input.js +0 -15
  69. package/dist/cjs/api-model/models/item-label-page-type.js +0 -32
  70. package/dist/cjs/api-model/models/item.js +0 -15
  71. package/dist/cjs/api-model/models/label-owner.js +0 -24
  72. package/dist/cjs/api-model/models/label-print-type.js +0 -23
  73. package/dist/cjs/api-model/models/list-delivery-window-options-response.js +0 -15
  74. package/dist/cjs/api-model/models/list-inbound-plan-boxes-response.js +0 -15
  75. package/dist/cjs/api-model/models/list-inbound-plan-items-response.js +0 -15
  76. package/dist/cjs/api-model/models/list-inbound-plan-pallets-response.js +0 -15
  77. package/dist/cjs/api-model/models/list-inbound-plans-response.js +0 -15
  78. package/dist/cjs/api-model/models/list-item-compliance-details-response.js +0 -15
  79. package/dist/cjs/api-model/models/list-packing-group-boxes-response.js +0 -15
  80. package/dist/cjs/api-model/models/list-packing-group-items-response.js +0 -15
  81. package/dist/cjs/api-model/models/list-packing-options-response.js +0 -15
  82. package/dist/cjs/api-model/models/list-placement-options-response.js +0 -15
  83. package/dist/cjs/api-model/models/list-prep-details-response.js +0 -15
  84. package/dist/cjs/api-model/models/list-shipment-boxes-response.js +0 -15
  85. package/dist/cjs/api-model/models/list-shipment-content-update-previews-response.js +0 -15
  86. package/dist/cjs/api-model/models/list-shipment-items-response.js +0 -15
  87. package/dist/cjs/api-model/models/list-shipment-pallets-response.js +0 -15
  88. package/dist/cjs/api-model/models/list-transportation-options-response.js +0 -15
  89. package/dist/cjs/api-model/models/ltl-tracking-detail-input.js +0 -15
  90. package/dist/cjs/api-model/models/ltl-tracking-detail.js +0 -15
  91. package/dist/cjs/api-model/models/model-error.js +0 -15
  92. package/dist/cjs/api-model/models/msku-prep-detail-input.js +0 -15
  93. package/dist/cjs/api-model/models/msku-prep-detail.js +0 -15
  94. package/dist/cjs/api-model/models/msku-quantity.js +0 -15
  95. package/dist/cjs/api-model/models/operation-problem.js +0 -15
  96. package/dist/cjs/api-model/models/operation-status.js +0 -24
  97. package/dist/cjs/api-model/models/owner-constraint.js +0 -24
  98. package/dist/cjs/api-model/models/package-grouping-input.js +0 -15
  99. package/dist/cjs/api-model/models/packing-configuration.js +0 -15
  100. package/dist/cjs/api-model/models/packing-option-summary.js +0 -15
  101. package/dist/cjs/api-model/models/packing-option.js +0 -15
  102. package/dist/cjs/api-model/models/pagination.js +0 -15
  103. package/dist/cjs/api-model/models/pallet-input.js +0 -15
  104. package/dist/cjs/api-model/models/pallet.js +0 -15
  105. package/dist/cjs/api-model/models/placement-option-summary.js +0 -15
  106. package/dist/cjs/api-model/models/placement-option.js +0 -15
  107. package/dist/cjs/api-model/models/prep-category.js +0 -35
  108. package/dist/cjs/api-model/models/prep-instruction.js +0 -15
  109. package/dist/cjs/api-model/models/prep-owner.js +0 -24
  110. package/dist/cjs/api-model/models/prep-type.js +0 -37
  111. package/dist/cjs/api-model/models/quote.js +0 -15
  112. package/dist/cjs/api-model/models/reason-comment.js +0 -30
  113. package/dist/cjs/api-model/models/region.js +0 -15
  114. package/dist/cjs/api-model/models/requested-updates.js +0 -15
  115. package/dist/cjs/api-model/models/schedule-self-ship-appointment-request.js +0 -15
  116. package/dist/cjs/api-model/models/schedule-self-ship-appointment-response.js +0 -15
  117. package/dist/cjs/api-model/models/selected-delivery-window.js +0 -15
  118. package/dist/cjs/api-model/models/self-ship-appointment-details.js +0 -15
  119. package/dist/cjs/api-model/models/self-ship-appointment-slots-availability.js +0 -15
  120. package/dist/cjs/api-model/models/set-packing-information-request.js +0 -15
  121. package/dist/cjs/api-model/models/set-packing-information-response.js +0 -15
  122. package/dist/cjs/api-model/models/set-prep-details-request.js +0 -15
  123. package/dist/cjs/api-model/models/set-prep-details-response.js +0 -15
  124. package/dist/cjs/api-model/models/shipment-destination.js +0 -15
  125. package/dist/cjs/api-model/models/shipment-source.js +0 -15
  126. package/dist/cjs/api-model/models/shipment-summary.js +0 -15
  127. package/dist/cjs/api-model/models/shipment-transportation-configuration.js +0 -15
  128. package/dist/cjs/api-model/models/shipment.js +0 -15
  129. package/dist/cjs/api-model/models/shipping-configuration.js +0 -15
  130. package/dist/cjs/api-model/models/shipping-requirements.js +0 -15
  131. package/dist/cjs/api-model/models/spd-tracking-detail-input.js +0 -15
  132. package/dist/cjs/api-model/models/spd-tracking-detail.js +0 -15
  133. package/dist/cjs/api-model/models/spd-tracking-item-input.js +0 -15
  134. package/dist/cjs/api-model/models/spd-tracking-item.js +0 -15
  135. package/dist/cjs/api-model/models/stackability.js +0 -23
  136. package/dist/cjs/api-model/models/tax-details.js +0 -15
  137. package/dist/cjs/api-model/models/tax-rate.js +0 -15
  138. package/dist/cjs/api-model/models/tracking-details-input.js +0 -15
  139. package/dist/cjs/api-model/models/tracking-details.js +0 -15
  140. package/dist/cjs/api-model/models/transportation-option.js +0 -15
  141. package/dist/cjs/api-model/models/transportation-selection.js +0 -15
  142. package/dist/cjs/api-model/models/unit-of-measurement.js +0 -23
  143. package/dist/cjs/api-model/models/unit-of-weight.js +0 -23
  144. package/dist/cjs/api-model/models/update-inbound-plan-name-request.js +0 -15
  145. package/dist/cjs/api-model/models/update-item-compliance-details-request.js +0 -15
  146. package/dist/cjs/api-model/models/update-item-compliance-details-response.js +0 -15
  147. package/dist/cjs/api-model/models/update-shipment-name-request.js +0 -15
  148. package/dist/cjs/api-model/models/update-shipment-source-address-request.js +0 -15
  149. package/dist/cjs/api-model/models/update-shipment-source-address-response.js +0 -15
  150. package/dist/cjs/api-model/models/update-shipment-tracking-details-request.js +0 -15
  151. package/dist/cjs/api-model/models/update-shipment-tracking-details-response.js +0 -15
  152. package/dist/cjs/api-model/models/weight-range.js +0 -15
  153. package/dist/cjs/api-model/models/weight.js +0 -15
  154. package/dist/cjs/api-model/models/window-input.js +0 -15
  155. package/dist/cjs/api-model/models/window.js +0 -15
  156. package/dist/cjs/client.js +0 -13
  157. package/dist/cjs/index.js +0 -19
  158. package/dist/es/api-model/api/fulfillment-inbound-api.js +0 -3121
  159. package/dist/es/api-model/api.js +0 -14
  160. package/dist/es/api-model/base.js +0 -44
  161. package/dist/es/api-model/common.js +0 -110
  162. package/dist/es/api-model/configuration.js +0 -94
  163. package/dist/es/api-model/index.js +0 -16
  164. package/dist/es/api-model/models/address-input.js +0 -14
  165. package/dist/es/api-model/models/address.js +0 -14
  166. package/dist/es/api-model/models/all-owners-constraint.js +0 -19
  167. package/dist/es/api-model/models/appointment-slot-time.js +0 -14
  168. package/dist/es/api-model/models/appointment-slot.js +0 -14
  169. package/dist/es/api-model/models/box-content-information-source.js +0 -21
  170. package/dist/es/api-model/models/box-input.js +0 -14
  171. package/dist/es/api-model/models/box-requirements.js +0 -14
  172. package/dist/es/api-model/models/box-update-input.js +0 -14
  173. package/dist/es/api-model/models/box.js +0 -14
  174. package/dist/es/api-model/models/cancel-inbound-plan-response.js +0 -14
  175. package/dist/es/api-model/models/cancel-self-ship-appointment-request.js +0 -14
  176. package/dist/es/api-model/models/cancel-self-ship-appointment-response.js +0 -14
  177. package/dist/es/api-model/models/carrier-appointment.js +0 -14
  178. package/dist/es/api-model/models/carrier.js +0 -14
  179. package/dist/es/api-model/models/compliance-detail.js +0 -14
  180. package/dist/es/api-model/models/confirm-delivery-window-options-response.js +0 -14
  181. package/dist/es/api-model/models/confirm-packing-option-response.js +0 -14
  182. package/dist/es/api-model/models/confirm-placement-option-response.js +0 -14
  183. package/dist/es/api-model/models/confirm-shipment-content-update-preview-response.js +0 -14
  184. package/dist/es/api-model/models/confirm-transportation-options-request.js +0 -14
  185. package/dist/es/api-model/models/confirm-transportation-options-response.js +0 -14
  186. package/dist/es/api-model/models/contact-information.js +0 -14
  187. package/dist/es/api-model/models/content-update-preview.js +0 -14
  188. package/dist/es/api-model/models/create-inbound-plan-request.js +0 -14
  189. package/dist/es/api-model/models/create-inbound-plan-response.js +0 -14
  190. package/dist/es/api-model/models/create-marketplace-item-labels-request.js +0 -14
  191. package/dist/es/api-model/models/create-marketplace-item-labels-response.js +0 -14
  192. package/dist/es/api-model/models/currency.js +0 -14
  193. package/dist/es/api-model/models/custom-placement-input.js +0 -14
  194. package/dist/es/api-model/models/dates.js +0 -14
  195. package/dist/es/api-model/models/delivery-window-option.js +0 -14
  196. package/dist/es/api-model/models/dimensions.js +0 -14
  197. package/dist/es/api-model/models/document-download.js +0 -14
  198. package/dist/es/api-model/models/error-list.js +0 -14
  199. package/dist/es/api-model/models/freight-information.js +0 -14
  200. package/dist/es/api-model/models/generate-delivery-window-options-response.js +0 -14
  201. package/dist/es/api-model/models/generate-packing-options-response.js +0 -14
  202. package/dist/es/api-model/models/generate-placement-options-request.js +0 -14
  203. package/dist/es/api-model/models/generate-placement-options-response.js +0 -14
  204. package/dist/es/api-model/models/generate-self-ship-appointment-slots-request.js +0 -14
  205. package/dist/es/api-model/models/generate-self-ship-appointment-slots-response.js +0 -14
  206. package/dist/es/api-model/models/generate-shipment-content-update-previews-request.js +0 -14
  207. package/dist/es/api-model/models/generate-shipment-content-update-previews-response.js +0 -14
  208. package/dist/es/api-model/models/generate-transportation-options-request.js +0 -14
  209. package/dist/es/api-model/models/generate-transportation-options-response.js +0 -14
  210. package/dist/es/api-model/models/get-delivery-challan-document-response.js +0 -14
  211. package/dist/es/api-model/models/get-self-ship-appointment-slots-response.js +0 -14
  212. package/dist/es/api-model/models/inbound-operation-status.js +0 -14
  213. package/dist/es/api-model/models/inbound-plan-summary.js +0 -14
  214. package/dist/es/api-model/models/inbound-plan.js +0 -14
  215. package/dist/es/api-model/models/incentive.js +0 -14
  216. package/dist/es/api-model/models/index.js +0 -140
  217. package/dist/es/api-model/models/item-input.js +0 -14
  218. package/dist/es/api-model/models/item-label-page-type.js +0 -29
  219. package/dist/es/api-model/models/item.js +0 -14
  220. package/dist/es/api-model/models/label-owner.js +0 -21
  221. package/dist/es/api-model/models/label-print-type.js +0 -20
  222. package/dist/es/api-model/models/list-delivery-window-options-response.js +0 -14
  223. package/dist/es/api-model/models/list-inbound-plan-boxes-response.js +0 -14
  224. package/dist/es/api-model/models/list-inbound-plan-items-response.js +0 -14
  225. package/dist/es/api-model/models/list-inbound-plan-pallets-response.js +0 -14
  226. package/dist/es/api-model/models/list-inbound-plans-response.js +0 -14
  227. package/dist/es/api-model/models/list-item-compliance-details-response.js +0 -14
  228. package/dist/es/api-model/models/list-packing-group-boxes-response.js +0 -14
  229. package/dist/es/api-model/models/list-packing-group-items-response.js +0 -14
  230. package/dist/es/api-model/models/list-packing-options-response.js +0 -14
  231. package/dist/es/api-model/models/list-placement-options-response.js +0 -14
  232. package/dist/es/api-model/models/list-prep-details-response.js +0 -14
  233. package/dist/es/api-model/models/list-shipment-boxes-response.js +0 -14
  234. package/dist/es/api-model/models/list-shipment-content-update-previews-response.js +0 -14
  235. package/dist/es/api-model/models/list-shipment-items-response.js +0 -14
  236. package/dist/es/api-model/models/list-shipment-pallets-response.js +0 -14
  237. package/dist/es/api-model/models/list-transportation-options-response.js +0 -14
  238. package/dist/es/api-model/models/ltl-tracking-detail-input.js +0 -14
  239. package/dist/es/api-model/models/ltl-tracking-detail.js +0 -14
  240. package/dist/es/api-model/models/model-error.js +0 -14
  241. package/dist/es/api-model/models/msku-prep-detail-input.js +0 -14
  242. package/dist/es/api-model/models/msku-prep-detail.js +0 -14
  243. package/dist/es/api-model/models/msku-quantity.js +0 -14
  244. package/dist/es/api-model/models/operation-problem.js +0 -14
  245. package/dist/es/api-model/models/operation-status.js +0 -21
  246. package/dist/es/api-model/models/owner-constraint.js +0 -21
  247. package/dist/es/api-model/models/package-grouping-input.js +0 -14
  248. package/dist/es/api-model/models/packing-configuration.js +0 -14
  249. package/dist/es/api-model/models/packing-option-summary.js +0 -14
  250. package/dist/es/api-model/models/packing-option.js +0 -14
  251. package/dist/es/api-model/models/pagination.js +0 -14
  252. package/dist/es/api-model/models/pallet-input.js +0 -14
  253. package/dist/es/api-model/models/pallet.js +0 -14
  254. package/dist/es/api-model/models/placement-option-summary.js +0 -14
  255. package/dist/es/api-model/models/placement-option.js +0 -14
  256. package/dist/es/api-model/models/prep-category.js +0 -32
  257. package/dist/es/api-model/models/prep-instruction.js +0 -14
  258. package/dist/es/api-model/models/prep-owner.js +0 -21
  259. package/dist/es/api-model/models/prep-type.js +0 -34
  260. package/dist/es/api-model/models/quote.js +0 -14
  261. package/dist/es/api-model/models/reason-comment.js +0 -27
  262. package/dist/es/api-model/models/region.js +0 -14
  263. package/dist/es/api-model/models/requested-updates.js +0 -14
  264. package/dist/es/api-model/models/schedule-self-ship-appointment-request.js +0 -14
  265. package/dist/es/api-model/models/schedule-self-ship-appointment-response.js +0 -14
  266. package/dist/es/api-model/models/selected-delivery-window.js +0 -14
  267. package/dist/es/api-model/models/self-ship-appointment-details.js +0 -14
  268. package/dist/es/api-model/models/self-ship-appointment-slots-availability.js +0 -14
  269. package/dist/es/api-model/models/set-packing-information-request.js +0 -14
  270. package/dist/es/api-model/models/set-packing-information-response.js +0 -14
  271. package/dist/es/api-model/models/set-prep-details-request.js +0 -14
  272. package/dist/es/api-model/models/set-prep-details-response.js +0 -14
  273. package/dist/es/api-model/models/shipment-destination.js +0 -14
  274. package/dist/es/api-model/models/shipment-source.js +0 -14
  275. package/dist/es/api-model/models/shipment-summary.js +0 -14
  276. package/dist/es/api-model/models/shipment-transportation-configuration.js +0 -14
  277. package/dist/es/api-model/models/shipment.js +0 -14
  278. package/dist/es/api-model/models/shipping-configuration.js +0 -14
  279. package/dist/es/api-model/models/shipping-requirements.js +0 -14
  280. package/dist/es/api-model/models/spd-tracking-detail-input.js +0 -14
  281. package/dist/es/api-model/models/spd-tracking-detail.js +0 -14
  282. package/dist/es/api-model/models/spd-tracking-item-input.js +0 -14
  283. package/dist/es/api-model/models/spd-tracking-item.js +0 -14
  284. package/dist/es/api-model/models/stackability.js +0 -20
  285. package/dist/es/api-model/models/tax-details.js +0 -14
  286. package/dist/es/api-model/models/tax-rate.js +0 -14
  287. package/dist/es/api-model/models/tracking-details-input.js +0 -14
  288. package/dist/es/api-model/models/tracking-details.js +0 -14
  289. package/dist/es/api-model/models/transportation-option.js +0 -14
  290. package/dist/es/api-model/models/transportation-selection.js +0 -14
  291. package/dist/es/api-model/models/unit-of-measurement.js +0 -20
  292. package/dist/es/api-model/models/unit-of-weight.js +0 -20
  293. package/dist/es/api-model/models/update-inbound-plan-name-request.js +0 -14
  294. package/dist/es/api-model/models/update-item-compliance-details-request.js +0 -14
  295. package/dist/es/api-model/models/update-item-compliance-details-response.js +0 -14
  296. package/dist/es/api-model/models/update-shipment-name-request.js +0 -14
  297. package/dist/es/api-model/models/update-shipment-source-address-request.js +0 -14
  298. package/dist/es/api-model/models/update-shipment-source-address-response.js +0 -14
  299. package/dist/es/api-model/models/update-shipment-tracking-details-request.js +0 -14
  300. package/dist/es/api-model/models/update-shipment-tracking-details-response.js +0 -14
  301. package/dist/es/api-model/models/weight-range.js +0 -14
  302. package/dist/es/api-model/models/weight.js +0 -14
  303. package/dist/es/api-model/models/window-input.js +0 -14
  304. package/dist/es/api-model/models/window.js +0 -14
  305. package/dist/es/client.js +0 -9
  306. package/dist/es/index.js +0 -3
  307. package/dist/types/api-model/api/fulfillment-inbound-api.d.ts +0 -2231
  308. package/dist/types/api-model/api.d.ts +0 -12
  309. package/dist/types/api-model/base.d.ts +0 -42
  310. package/dist/types/api-model/common.d.ts +0 -34
  311. package/dist/types/api-model/configuration.d.ts +0 -98
  312. package/dist/types/api-model/index.d.ts +0 -14
  313. package/dist/types/api-model/models/address-input.d.ts +0 -60
  314. package/dist/types/api-model/models/address.d.ts +0 -60
  315. package/dist/types/api-model/models/all-owners-constraint.d.ts +0 -18
  316. package/dist/types/api-model/models/appointment-slot-time.d.ts +0 -24
  317. package/dist/types/api-model/models/appointment-slot.d.ts +0 -22
  318. package/dist/types/api-model/models/box-content-information-source.d.ts +0 -20
  319. package/dist/types/api-model/models/box-input.d.ts +0 -31
  320. package/dist/types/api-model/models/box-requirements.d.ts +0 -18
  321. package/dist/types/api-model/models/box-update-input.d.ts +0 -35
  322. package/dist/types/api-model/models/box.d.ts +0 -53
  323. package/dist/types/api-model/models/cancel-inbound-plan-response.d.ts +0 -20
  324. package/dist/types/api-model/models/cancel-self-ship-appointment-request.d.ts +0 -18
  325. package/dist/types/api-model/models/cancel-self-ship-appointment-response.d.ts +0 -20
  326. package/dist/types/api-model/models/carrier-appointment.d.ts +0 -24
  327. package/dist/types/api-model/models/carrier.d.ts +0 -24
  328. package/dist/types/api-model/models/compliance-detail.d.ts +0 -30
  329. package/dist/types/api-model/models/confirm-delivery-window-options-response.d.ts +0 -20
  330. package/dist/types/api-model/models/confirm-packing-option-response.d.ts +0 -20
  331. package/dist/types/api-model/models/confirm-placement-option-response.d.ts +0 -20
  332. package/dist/types/api-model/models/confirm-shipment-content-update-preview-response.d.ts +0 -20
  333. package/dist/types/api-model/models/confirm-transportation-options-request.d.ts +0 -21
  334. package/dist/types/api-model/models/confirm-transportation-options-response.d.ts +0 -20
  335. package/dist/types/api-model/models/contact-information.d.ts +0 -28
  336. package/dist/types/api-model/models/content-update-preview.d.ts +0 -28
  337. package/dist/types/api-model/models/create-inbound-plan-request.d.ts +0 -31
  338. package/dist/types/api-model/models/create-inbound-plan-response.d.ts +0 -24
  339. package/dist/types/api-model/models/create-marketplace-item-labels-request.d.ts +0 -41
  340. package/dist/types/api-model/models/create-marketplace-item-labels-response.d.ts +0 -21
  341. package/dist/types/api-model/models/currency.d.ts +0 -24
  342. package/dist/types/api-model/models/custom-placement-input.d.ts +0 -25
  343. package/dist/types/api-model/models/dates.d.ts +0 -18
  344. package/dist/types/api-model/models/delivery-window-option.d.ts +0 -36
  345. package/dist/types/api-model/models/dimensions.d.ts +0 -30
  346. package/dist/types/api-model/models/document-download.d.ts +0 -28
  347. package/dist/types/api-model/models/error-list.d.ts +0 -20
  348. package/dist/types/api-model/models/freight-information.d.ts +0 -22
  349. package/dist/types/api-model/models/generate-delivery-window-options-response.d.ts +0 -20
  350. package/dist/types/api-model/models/generate-packing-options-response.d.ts +0 -20
  351. package/dist/types/api-model/models/generate-placement-options-request.d.ts +0 -21
  352. package/dist/types/api-model/models/generate-placement-options-response.d.ts +0 -20
  353. package/dist/types/api-model/models/generate-self-ship-appointment-slots-request.d.ts +0 -24
  354. package/dist/types/api-model/models/generate-self-ship-appointment-slots-response.d.ts +0 -20
  355. package/dist/types/api-model/models/generate-shipment-content-update-previews-request.d.ts +0 -26
  356. package/dist/types/api-model/models/generate-shipment-content-update-previews-response.d.ts +0 -20
  357. package/dist/types/api-model/models/generate-transportation-options-request.d.ts +0 -25
  358. package/dist/types/api-model/models/generate-transportation-options-response.d.ts +0 -20
  359. package/dist/types/api-model/models/get-delivery-challan-document-response.d.ts +0 -18
  360. package/dist/types/api-model/models/get-self-ship-appointment-slots-response.d.ts +0 -20
  361. package/dist/types/api-model/models/inbound-operation-status.d.ts +0 -31
  362. package/dist/types/api-model/models/inbound-plan-summary.d.ts +0 -42
  363. package/dist/types/api-model/models/inbound-plan.d.ts +0 -57
  364. package/dist/types/api-model/models/incentive.d.ts +0 -30
  365. package/dist/types/api-model/models/index.d.ts +0 -140
  366. package/dist/types/api-model/models/item-input.d.ts +0 -36
  367. package/dist/types/api-model/models/item-label-page-type.d.ts +0 -28
  368. package/dist/types/api-model/models/item.d.ts +0 -49
  369. package/dist/types/api-model/models/label-owner.d.ts +0 -20
  370. package/dist/types/api-model/models/label-print-type.d.ts +0 -19
  371. package/dist/types/api-model/models/list-delivery-window-options-response.d.ts +0 -23
  372. package/dist/types/api-model/models/list-inbound-plan-boxes-response.d.ts +0 -23
  373. package/dist/types/api-model/models/list-inbound-plan-items-response.d.ts +0 -23
  374. package/dist/types/api-model/models/list-inbound-plan-pallets-response.d.ts +0 -23
  375. package/dist/types/api-model/models/list-inbound-plans-response.d.ts +0 -23
  376. package/dist/types/api-model/models/list-item-compliance-details-response.d.ts +0 -21
  377. package/dist/types/api-model/models/list-packing-group-boxes-response.d.ts +0 -23
  378. package/dist/types/api-model/models/list-packing-group-items-response.d.ts +0 -23
  379. package/dist/types/api-model/models/list-packing-options-response.d.ts +0 -23
  380. package/dist/types/api-model/models/list-placement-options-response.d.ts +0 -23
  381. package/dist/types/api-model/models/list-prep-details-response.d.ts +0 -21
  382. package/dist/types/api-model/models/list-shipment-boxes-response.d.ts +0 -23
  383. package/dist/types/api-model/models/list-shipment-content-update-previews-response.d.ts +0 -23
  384. package/dist/types/api-model/models/list-shipment-items-response.d.ts +0 -23
  385. package/dist/types/api-model/models/list-shipment-pallets-response.d.ts +0 -23
  386. package/dist/types/api-model/models/list-transportation-options-response.d.ts +0 -23
  387. package/dist/types/api-model/models/ltl-tracking-detail-input.d.ts +0 -24
  388. package/dist/types/api-model/models/ltl-tracking-detail.d.ts +0 -24
  389. package/dist/types/api-model/models/model-error.d.ts +0 -28
  390. package/dist/types/api-model/models/msku-prep-detail-input.d.ts +0 -27
  391. package/dist/types/api-model/models/msku-prep-detail.d.ts +0 -32
  392. package/dist/types/api-model/models/msku-quantity.d.ts +0 -24
  393. package/dist/types/api-model/models/operation-problem.d.ts +0 -32
  394. package/dist/types/api-model/models/operation-status.d.ts +0 -20
  395. package/dist/types/api-model/models/owner-constraint.d.ts +0 -20
  396. package/dist/types/api-model/models/package-grouping-input.d.ts +0 -29
  397. package/dist/types/api-model/models/packing-configuration.d.ts +0 -28
  398. package/dist/types/api-model/models/packing-option-summary.d.ts +0 -24
  399. package/dist/types/api-model/models/packing-option.d.ts +0 -51
  400. package/dist/types/api-model/models/pagination.d.ts +0 -20
  401. package/dist/types/api-model/models/pallet-input.d.ts +0 -26
  402. package/dist/types/api-model/models/pallet.d.ts +0 -30
  403. package/dist/types/api-model/models/placement-option-summary.d.ts +0 -24
  404. package/dist/types/api-model/models/placement-option.d.ts +0 -41
  405. package/dist/types/api-model/models/prep-category.d.ts +0 -31
  406. package/dist/types/api-model/models/prep-instruction.d.ts +0 -26
  407. package/dist/types/api-model/models/prep-owner.d.ts +0 -20
  408. package/dist/types/api-model/models/prep-type.d.ts +0 -33
  409. package/dist/types/api-model/models/quote.d.ts +0 -26
  410. package/dist/types/api-model/models/reason-comment.d.ts +0 -26
  411. package/dist/types/api-model/models/region.d.ts +0 -28
  412. package/dist/types/api-model/models/requested-updates.d.ts +0 -26
  413. package/dist/types/api-model/models/schedule-self-ship-appointment-request.d.ts +0 -18
  414. package/dist/types/api-model/models/schedule-self-ship-appointment-response.d.ts +0 -18
  415. package/dist/types/api-model/models/selected-delivery-window.d.ts +0 -36
  416. package/dist/types/api-model/models/self-ship-appointment-details.d.ts +0 -26
  417. package/dist/types/api-model/models/self-ship-appointment-slots-availability.d.ts +0 -25
  418. package/dist/types/api-model/models/set-packing-information-request.d.ts +0 -21
  419. package/dist/types/api-model/models/set-packing-information-response.d.ts +0 -20
  420. package/dist/types/api-model/models/set-prep-details-request.d.ts +0 -25
  421. package/dist/types/api-model/models/set-prep-details-response.d.ts +0 -20
  422. package/dist/types/api-model/models/shipment-destination.d.ts +0 -26
  423. package/dist/types/api-model/models/shipment-source.d.ts +0 -22
  424. package/dist/types/api-model/models/shipment-summary.d.ts +0 -24
  425. package/dist/types/api-model/models/shipment-transportation-configuration.d.ts +0 -31
  426. package/dist/types/api-model/models/shipment.d.ts +0 -63
  427. package/dist/types/api-model/models/shipping-configuration.d.ts +0 -24
  428. package/dist/types/api-model/models/shipping-requirements.d.ts +0 -24
  429. package/dist/types/api-model/models/spd-tracking-detail-input.d.ts +0 -21
  430. package/dist/types/api-model/models/spd-tracking-detail.d.ts +0 -21
  431. package/dist/types/api-model/models/spd-tracking-item-input.d.ts +0 -24
  432. package/dist/types/api-model/models/spd-tracking-item.d.ts +0 -28
  433. package/dist/types/api-model/models/stackability.d.ts +0 -19
  434. package/dist/types/api-model/models/tax-details.d.ts +0 -27
  435. package/dist/types/api-model/models/tax-rate.d.ts +0 -28
  436. package/dist/types/api-model/models/tracking-details-input.d.ts +0 -20
  437. package/dist/types/api-model/models/tracking-details.d.ts +0 -20
  438. package/dist/types/api-model/models/transportation-option.d.ts +0 -42
  439. package/dist/types/api-model/models/transportation-selection.d.ts +0 -26
  440. package/dist/types/api-model/models/unit-of-measurement.d.ts +0 -19
  441. package/dist/types/api-model/models/unit-of-weight.d.ts +0 -19
  442. package/dist/types/api-model/models/update-inbound-plan-name-request.d.ts +0 -20
  443. package/dist/types/api-model/models/update-item-compliance-details-request.d.ts +0 -22
  444. package/dist/types/api-model/models/update-item-compliance-details-response.d.ts +0 -20
  445. package/dist/types/api-model/models/update-shipment-name-request.d.ts +0 -20
  446. package/dist/types/api-model/models/update-shipment-source-address-request.d.ts +0 -18
  447. package/dist/types/api-model/models/update-shipment-source-address-response.d.ts +0 -20
  448. package/dist/types/api-model/models/update-shipment-tracking-details-request.d.ts +0 -18
  449. package/dist/types/api-model/models/update-shipment-tracking-details-response.d.ts +0 -20
  450. package/dist/types/api-model/models/weight-range.d.ts +0 -26
  451. package/dist/types/api-model/models/weight.d.ts +0 -22
  452. package/dist/types/api-model/models/window-input.d.ts +0 -20
  453. package/dist/types/api-model/models/window.d.ts +0 -28
  454. package/dist/types/client.d.ts +0 -6
  455. package/dist/types/index.d.ts +0 -3
package/dist/index.js ADDED
@@ -0,0 +1,3582 @@
1
+ import { createAxiosInstance } from "@sp-api-sdk/common";
2
+ import globalAxios from "axios";
3
+ //#region src/api-model/base.ts
4
+ const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
5
+ var BaseAPI = class {
6
+ basePath;
7
+ axios;
8
+ configuration;
9
+ constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
10
+ this.basePath = basePath;
11
+ this.axios = axios;
12
+ if (configuration) {
13
+ this.configuration = configuration;
14
+ this.basePath = configuration.basePath ?? basePath;
15
+ }
16
+ }
17
+ };
18
+ var RequiredError = class extends Error {
19
+ field;
20
+ constructor(field, msg) {
21
+ super(msg);
22
+ this.field = field;
23
+ this.name = "RequiredError";
24
+ }
25
+ };
26
+ const operationServerMap = {};
27
+ //#endregion
28
+ //#region src/api-model/common.ts
29
+ const DUMMY_BASE_URL = "https://example.com";
30
+ /**
31
+ *
32
+ * @throws {RequiredError}
33
+ */
34
+ const assertParamExists = function(functionName, paramName, paramValue) {
35
+ if (paramValue === null || paramValue === void 0) throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
36
+ };
37
+ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
38
+ if (parameter == null) return;
39
+ if (typeof parameter === "object") if (Array.isArray(parameter) || parameter instanceof Set) parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
40
+ else Object.keys(parameter).forEach((currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`));
41
+ else if (urlSearchParams.has(key)) urlSearchParams.append(key, parameter);
42
+ else urlSearchParams.set(key, parameter);
43
+ }
44
+ const setSearchParams = function(url, ...objects) {
45
+ const searchParams = new URLSearchParams(url.search);
46
+ setFlattenedQueryParams(searchParams, objects);
47
+ url.search = searchParams.toString();
48
+ };
49
+ /**
50
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
51
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
52
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
53
+ */
54
+ const replaceWithSerializableTypeIfNeeded = function(key, value) {
55
+ if (value instanceof Set) return Array.from(value);
56
+ else return value;
57
+ };
58
+ const serializeDataIfNeeded = function(value, requestOptions, configuration) {
59
+ const nonString = typeof value !== "string";
60
+ return (nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString) ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
61
+ };
62
+ const toPathString = function(url) {
63
+ return url.pathname + url.search + url.hash;
64
+ };
65
+ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, configuration) {
66
+ return (axios = globalAxios, basePath = BASE_PATH) => {
67
+ const axiosRequestArgs = {
68
+ ...axiosArgs.options,
69
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url
70
+ };
71
+ return axios.request(axiosRequestArgs);
72
+ };
73
+ };
74
+ //#endregion
75
+ //#region src/api-model/api/fulfillment-inbound-api.ts
76
+ /**
77
+ * FulfillmentInboundApi - axios parameter creator
78
+ */
79
+ const FulfillmentInboundApiAxiosParamCreator = function(configuration) {
80
+ return {
81
+ /**
82
+ * Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments.
83
+ * @param {string} inboundPlanId Identifier of an inbound plan.
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ cancelInboundPlan: async (inboundPlanId, options = {}) => {
88
+ assertParamExists("cancelInboundPlan", "inboundPlanId", inboundPlanId);
89
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/cancellation`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
90
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
91
+ let baseOptions;
92
+ if (configuration) baseOptions = configuration.baseOptions;
93
+ const localVarRequestOptions = {
94
+ method: "PUT",
95
+ ...baseOptions,
96
+ ...options
97
+ };
98
+ const localVarHeaderParameter = {};
99
+ const localVarQueryParameter = {};
100
+ localVarHeaderParameter["Accept"] = "application/json";
101
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
102
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103
+ localVarRequestOptions.headers = {
104
+ ...localVarHeaderParameter,
105
+ ...headersFromBaseOptions,
106
+ ...options.headers
107
+ };
108
+ return {
109
+ url: toPathString(localVarUrlObj),
110
+ options: localVarRequestOptions
111
+ };
112
+ },
113
+ /**
114
+ * Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
115
+ * @param {string} inboundPlanId Identifier of an inbound plan.
116
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
117
+ * @param {CancelSelfShipAppointmentRequest} body The body of the request to `cancelSelfShipAppointment`.
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ cancelSelfShipAppointment: async (inboundPlanId, shipmentId, body, options = {}) => {
122
+ assertParamExists("cancelSelfShipAppointment", "inboundPlanId", inboundPlanId);
123
+ assertParamExists("cancelSelfShipAppointment", "shipmentId", shipmentId);
124
+ assertParamExists("cancelSelfShipAppointment", "body", body);
125
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentCancellation`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
126
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127
+ let baseOptions;
128
+ if (configuration) baseOptions = configuration.baseOptions;
129
+ const localVarRequestOptions = {
130
+ method: "PUT",
131
+ ...baseOptions,
132
+ ...options
133
+ };
134
+ const localVarHeaderParameter = {};
135
+ const localVarQueryParameter = {};
136
+ localVarHeaderParameter["Content-Type"] = "application/json";
137
+ localVarHeaderParameter["Accept"] = "application/json";
138
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
139
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
140
+ localVarRequestOptions.headers = {
141
+ ...localVarHeaderParameter,
142
+ ...headersFromBaseOptions,
143
+ ...options.headers
144
+ };
145
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
146
+ return {
147
+ url: toPathString(localVarUrlObj),
148
+ options: localVarRequestOptions
149
+ };
150
+ },
151
+ /**
152
+ * Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation.
153
+ * @param {string} inboundPlanId Identifier of an inbound plan.
154
+ * @param {string} shipmentId The shipment to confirm the delivery window option for.
155
+ * @param {string} deliveryWindowOptionId The id of the delivery window option to be confirmed.
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ confirmDeliveryWindowOptions: async (inboundPlanId, shipmentId, deliveryWindowOptionId, options = {}) => {
160
+ assertParamExists("confirmDeliveryWindowOptions", "inboundPlanId", inboundPlanId);
161
+ assertParamExists("confirmDeliveryWindowOptions", "shipmentId", shipmentId);
162
+ assertParamExists("confirmDeliveryWindowOptions", "deliveryWindowOptionId", deliveryWindowOptionId);
163
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions/{deliveryWindowOptionId}/confirmation`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId))).replace("{deliveryWindowOptionId}", encodeURIComponent(String(deliveryWindowOptionId)));
164
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
165
+ let baseOptions;
166
+ if (configuration) baseOptions = configuration.baseOptions;
167
+ const localVarRequestOptions = {
168
+ method: "POST",
169
+ ...baseOptions,
170
+ ...options
171
+ };
172
+ const localVarHeaderParameter = {};
173
+ const localVarQueryParameter = {};
174
+ localVarHeaderParameter["Accept"] = "application/json";
175
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
177
+ localVarRequestOptions.headers = {
178
+ ...localVarHeaderParameter,
179
+ ...headersFromBaseOptions,
180
+ ...options.headers
181
+ };
182
+ return {
183
+ url: toPathString(localVarUrlObj),
184
+ options: localVarRequestOptions
185
+ };
186
+ },
187
+ /**
188
+ * Confirms the packing option for an inbound plan.
189
+ * @param {string} inboundPlanId Identifier of an inbound plan.
190
+ * @param {string} packingOptionId Identifier of a packing option.
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ confirmPackingOption: async (inboundPlanId, packingOptionId, options = {}) => {
195
+ assertParamExists("confirmPackingOption", "inboundPlanId", inboundPlanId);
196
+ assertParamExists("confirmPackingOption", "packingOptionId", packingOptionId);
197
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions/{packingOptionId}/confirmation`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{packingOptionId}", encodeURIComponent(String(packingOptionId)));
198
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
199
+ let baseOptions;
200
+ if (configuration) baseOptions = configuration.baseOptions;
201
+ const localVarRequestOptions = {
202
+ method: "POST",
203
+ ...baseOptions,
204
+ ...options
205
+ };
206
+ const localVarHeaderParameter = {};
207
+ const localVarQueryParameter = {};
208
+ localVarHeaderParameter["Accept"] = "application/json";
209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
211
+ localVarRequestOptions.headers = {
212
+ ...localVarHeaderParameter,
213
+ ...headersFromBaseOptions,
214
+ ...options.headers
215
+ };
216
+ return {
217
+ url: toPathString(localVarUrlObj),
218
+ options: localVarRequestOptions
219
+ };
220
+ },
221
+ /**
222
+ * Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.
223
+ * @param {string} inboundPlanId Identifier of an inbound plan.
224
+ * @param {string} placementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ confirmPlacementOption: async (inboundPlanId, placementOptionId, options = {}) => {
229
+ assertParamExists("confirmPlacementOption", "inboundPlanId", inboundPlanId);
230
+ assertParamExists("confirmPlacementOption", "placementOptionId", placementOptionId);
231
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions/{placementOptionId}/confirmation`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{placementOptionId}", encodeURIComponent(String(placementOptionId)));
232
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
233
+ let baseOptions;
234
+ if (configuration) baseOptions = configuration.baseOptions;
235
+ const localVarRequestOptions = {
236
+ method: "POST",
237
+ ...baseOptions,
238
+ ...options
239
+ };
240
+ const localVarHeaderParameter = {};
241
+ const localVarQueryParameter = {};
242
+ localVarHeaderParameter["Accept"] = "application/json";
243
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
244
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
245
+ localVarRequestOptions.headers = {
246
+ ...localVarHeaderParameter,
247
+ ...headersFromBaseOptions,
248
+ ...options.headers
249
+ };
250
+ return {
251
+ url: toPathString(localVarUrlObj),
252
+ options: localVarRequestOptions
253
+ };
254
+ },
255
+ /**
256
+ * Confirm a shipment content update preview and accept the changes in transportation cost.
257
+ * @param {string} inboundPlanId Identifier of an inbound plan.
258
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
259
+ * @param {string} contentUpdatePreviewId Identifier of a content update preview.
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ confirmShipmentContentUpdatePreview: async (inboundPlanId, shipmentId, contentUpdatePreviewId, options = {}) => {
264
+ assertParamExists("confirmShipmentContentUpdatePreview", "inboundPlanId", inboundPlanId);
265
+ assertParamExists("confirmShipmentContentUpdatePreview", "shipmentId", shipmentId);
266
+ assertParamExists("confirmShipmentContentUpdatePreview", "contentUpdatePreviewId", contentUpdatePreviewId);
267
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews/{contentUpdatePreviewId}/confirmation`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId))).replace("{contentUpdatePreviewId}", encodeURIComponent(String(contentUpdatePreviewId)));
268
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
269
+ let baseOptions;
270
+ if (configuration) baseOptions = configuration.baseOptions;
271
+ const localVarRequestOptions = {
272
+ method: "POST",
273
+ ...baseOptions,
274
+ ...options
275
+ };
276
+ const localVarHeaderParameter = {};
277
+ const localVarQueryParameter = {};
278
+ localVarHeaderParameter["Accept"] = "application/json";
279
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
280
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
281
+ localVarRequestOptions.headers = {
282
+ ...localVarHeaderParameter,
283
+ ...headersFromBaseOptions,
284
+ ...options.headers
285
+ };
286
+ return {
287
+ url: toPathString(localVarUrlObj),
288
+ options: localVarRequestOptions
289
+ };
290
+ },
291
+ /**
292
+ * Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan.
293
+ * @param {string} inboundPlanId Identifier of an inbound plan.
294
+ * @param {ConfirmTransportationOptionsRequest} body The body of the request to `confirmTransportationOptions`.
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ */
298
+ confirmTransportationOptions: async (inboundPlanId, body, options = {}) => {
299
+ assertParamExists("confirmTransportationOptions", "inboundPlanId", inboundPlanId);
300
+ assertParamExists("confirmTransportationOptions", "body", body);
301
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions/confirmation`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
302
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
303
+ let baseOptions;
304
+ if (configuration) baseOptions = configuration.baseOptions;
305
+ const localVarRequestOptions = {
306
+ method: "POST",
307
+ ...baseOptions,
308
+ ...options
309
+ };
310
+ const localVarHeaderParameter = {};
311
+ const localVarQueryParameter = {};
312
+ localVarHeaderParameter["Content-Type"] = "application/json";
313
+ localVarHeaderParameter["Accept"] = "application/json";
314
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
315
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
316
+ localVarRequestOptions.headers = {
317
+ ...localVarHeaderParameter,
318
+ ...headersFromBaseOptions,
319
+ ...options.headers
320
+ };
321
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
322
+ return {
323
+ url: toPathString(localVarUrlObj),
324
+ options: localVarRequestOptions
325
+ };
326
+ },
327
+ /**
328
+ * Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon\'s fufillment network.
329
+ * @param {CreateInboundPlanRequest} body The body of the request to `createInboundPlan`.
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ */
333
+ createInboundPlan: async (body, options = {}) => {
334
+ assertParamExists("createInboundPlan", "body", body);
335
+ const localVarUrlObj = new URL(`/inbound/fba/2024-03-20/inboundPlans`, DUMMY_BASE_URL);
336
+ let baseOptions;
337
+ if (configuration) baseOptions = configuration.baseOptions;
338
+ const localVarRequestOptions = {
339
+ method: "POST",
340
+ ...baseOptions,
341
+ ...options
342
+ };
343
+ const localVarHeaderParameter = {};
344
+ const localVarQueryParameter = {};
345
+ localVarHeaderParameter["Content-Type"] = "application/json";
346
+ localVarHeaderParameter["Accept"] = "application/json";
347
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
348
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
349
+ localVarRequestOptions.headers = {
350
+ ...localVarHeaderParameter,
351
+ ...headersFromBaseOptions,
352
+ ...options.headers
353
+ };
354
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
355
+ return {
356
+ url: toPathString(localVarUrlObj),
357
+ options: localVarRequestOptions
358
+ };
359
+ },
360
+ /**
361
+ * For a given marketplace - creates labels for a list of MSKUs.
362
+ * @param {CreateMarketplaceItemLabelsRequest} body The body of the request to `createMarketplaceItemLabels`.
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ createMarketplaceItemLabels: async (body, options = {}) => {
367
+ assertParamExists("createMarketplaceItemLabels", "body", body);
368
+ const localVarUrlObj = new URL(`/inbound/fba/2024-03-20/items/labels`, DUMMY_BASE_URL);
369
+ let baseOptions;
370
+ if (configuration) baseOptions = configuration.baseOptions;
371
+ const localVarRequestOptions = {
372
+ method: "POST",
373
+ ...baseOptions,
374
+ ...options
375
+ };
376
+ const localVarHeaderParameter = {};
377
+ const localVarQueryParameter = {};
378
+ localVarHeaderParameter["Content-Type"] = "application/json";
379
+ localVarHeaderParameter["Accept"] = "application/json";
380
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
381
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
382
+ localVarRequestOptions.headers = {
383
+ ...localVarHeaderParameter,
384
+ ...headersFromBaseOptions,
385
+ ...options.headers
386
+ };
387
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
388
+ return {
389
+ url: toPathString(localVarUrlObj),
390
+ options: localVarRequestOptions
391
+ };
392
+ },
393
+ /**
394
+ * Generates available delivery window options for a given shipment.
395
+ * @param {string} inboundPlanId Identifier of an inbound plan.
396
+ * @param {string} shipmentId The shipment to generate delivery window options for.
397
+ * @param {*} [options] Override http request option.
398
+ * @throws {RequiredError}
399
+ */
400
+ generateDeliveryWindowOptions: async (inboundPlanId, shipmentId, options = {}) => {
401
+ assertParamExists("generateDeliveryWindowOptions", "inboundPlanId", inboundPlanId);
402
+ assertParamExists("generateDeliveryWindowOptions", "shipmentId", shipmentId);
403
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
404
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
405
+ let baseOptions;
406
+ if (configuration) baseOptions = configuration.baseOptions;
407
+ const localVarRequestOptions = {
408
+ method: "POST",
409
+ ...baseOptions,
410
+ ...options
411
+ };
412
+ const localVarHeaderParameter = {};
413
+ const localVarQueryParameter = {};
414
+ localVarHeaderParameter["Accept"] = "application/json";
415
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
416
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
417
+ localVarRequestOptions.headers = {
418
+ ...localVarHeaderParameter,
419
+ ...headersFromBaseOptions,
420
+ ...options.headers
421
+ };
422
+ return {
423
+ url: toPathString(localVarUrlObj),
424
+ options: localVarRequestOptions
425
+ };
426
+ },
427
+ /**
428
+ * Generates available packing options for the inbound plan.
429
+ * @param {string} inboundPlanId Identifier of an inbound plan.
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ */
433
+ generatePackingOptions: async (inboundPlanId, options = {}) => {
434
+ assertParamExists("generatePackingOptions", "inboundPlanId", inboundPlanId);
435
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
436
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
437
+ let baseOptions;
438
+ if (configuration) baseOptions = configuration.baseOptions;
439
+ const localVarRequestOptions = {
440
+ method: "POST",
441
+ ...baseOptions,
442
+ ...options
443
+ };
444
+ const localVarHeaderParameter = {};
445
+ const localVarQueryParameter = {};
446
+ localVarHeaderParameter["Accept"] = "application/json";
447
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
448
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
449
+ localVarRequestOptions.headers = {
450
+ ...localVarHeaderParameter,
451
+ ...headersFromBaseOptions,
452
+ ...options.headers
453
+ };
454
+ return {
455
+ url: toPathString(localVarUrlObj),
456
+ options: localVarRequestOptions
457
+ };
458
+ },
459
+ /**
460
+ * Generates placement options for the inbound plan.
461
+ * @param {string} inboundPlanId Identifier of an inbound plan.
462
+ * @param {GeneratePlacementOptionsRequest} body The body of the request to `generatePlacementOptions`.
463
+ * @param {*} [options] Override http request option.
464
+ * @throws {RequiredError}
465
+ */
466
+ generatePlacementOptions: async (inboundPlanId, body, options = {}) => {
467
+ assertParamExists("generatePlacementOptions", "inboundPlanId", inboundPlanId);
468
+ assertParamExists("generatePlacementOptions", "body", body);
469
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
470
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
471
+ let baseOptions;
472
+ if (configuration) baseOptions = configuration.baseOptions;
473
+ const localVarRequestOptions = {
474
+ method: "POST",
475
+ ...baseOptions,
476
+ ...options
477
+ };
478
+ const localVarHeaderParameter = {};
479
+ const localVarQueryParameter = {};
480
+ localVarHeaderParameter["Content-Type"] = "application/json";
481
+ localVarHeaderParameter["Accept"] = "application/json";
482
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
483
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
484
+ localVarRequestOptions.headers = {
485
+ ...localVarHeaderParameter,
486
+ ...headersFromBaseOptions,
487
+ ...options.headers
488
+ };
489
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
490
+ return {
491
+ url: toPathString(localVarUrlObj),
492
+ options: localVarRequestOptions
493
+ };
494
+ },
495
+ /**
496
+ * Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
497
+ * @param {string} inboundPlanId Identifier of an inbound plan.
498
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
499
+ * @param {GenerateSelfShipAppointmentSlotsRequest} body The body of the request to `generateSelfShipAppointmentSlots`.
500
+ * @param {*} [options] Override http request option.
501
+ * @throws {RequiredError}
502
+ */
503
+ generateSelfShipAppointmentSlots: async (inboundPlanId, shipmentId, body, options = {}) => {
504
+ assertParamExists("generateSelfShipAppointmentSlots", "inboundPlanId", inboundPlanId);
505
+ assertParamExists("generateSelfShipAppointmentSlots", "shipmentId", shipmentId);
506
+ assertParamExists("generateSelfShipAppointmentSlots", "body", body);
507
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
508
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
509
+ let baseOptions;
510
+ if (configuration) baseOptions = configuration.baseOptions;
511
+ const localVarRequestOptions = {
512
+ method: "POST",
513
+ ...baseOptions,
514
+ ...options
515
+ };
516
+ const localVarHeaderParameter = {};
517
+ const localVarQueryParameter = {};
518
+ localVarHeaderParameter["Content-Type"] = "application/json";
519
+ localVarHeaderParameter["Accept"] = "application/json";
520
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
521
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
522
+ localVarRequestOptions.headers = {
523
+ ...localVarHeaderParameter,
524
+ ...headersFromBaseOptions,
525
+ ...options.headers
526
+ };
527
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
528
+ return {
529
+ url: toPathString(localVarUrlObj),
530
+ options: localVarRequestOptions
531
+ };
532
+ },
533
+ /**
534
+ * Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation.
535
+ * @param {string} inboundPlanId Identifier of an inbound plan.
536
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
537
+ * @param {GenerateShipmentContentUpdatePreviewsRequest} body The body of the request to `generateShipmentContentUpdatePreviews`.
538
+ * @param {*} [options] Override http request option.
539
+ * @throws {RequiredError}
540
+ */
541
+ generateShipmentContentUpdatePreviews: async (inboundPlanId, shipmentId, body, options = {}) => {
542
+ assertParamExists("generateShipmentContentUpdatePreviews", "inboundPlanId", inboundPlanId);
543
+ assertParamExists("generateShipmentContentUpdatePreviews", "shipmentId", shipmentId);
544
+ assertParamExists("generateShipmentContentUpdatePreviews", "body", body);
545
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
546
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
547
+ let baseOptions;
548
+ if (configuration) baseOptions = configuration.baseOptions;
549
+ const localVarRequestOptions = {
550
+ method: "POST",
551
+ ...baseOptions,
552
+ ...options
553
+ };
554
+ const localVarHeaderParameter = {};
555
+ const localVarQueryParameter = {};
556
+ localVarHeaderParameter["Content-Type"] = "application/json";
557
+ localVarHeaderParameter["Accept"] = "application/json";
558
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
559
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
560
+ localVarRequestOptions.headers = {
561
+ ...localVarHeaderParameter,
562
+ ...headersFromBaseOptions,
563
+ ...options.headers
564
+ };
565
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
566
+ return {
567
+ url: toPathString(localVarUrlObj),
568
+ options: localVarRequestOptions
569
+ };
570
+ },
571
+ /**
572
+ * Generates available transportation options for a given placement option.
573
+ * @param {string} inboundPlanId Identifier of an inbound plan.
574
+ * @param {GenerateTransportationOptionsRequest} body The body of the request to `generateTransportationOptions`.
575
+ * @param {*} [options] Override http request option.
576
+ * @throws {RequiredError}
577
+ */
578
+ generateTransportationOptions: async (inboundPlanId, body, options = {}) => {
579
+ assertParamExists("generateTransportationOptions", "inboundPlanId", inboundPlanId);
580
+ assertParamExists("generateTransportationOptions", "body", body);
581
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
582
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
583
+ let baseOptions;
584
+ if (configuration) baseOptions = configuration.baseOptions;
585
+ const localVarRequestOptions = {
586
+ method: "POST",
587
+ ...baseOptions,
588
+ ...options
589
+ };
590
+ const localVarHeaderParameter = {};
591
+ const localVarQueryParameter = {};
592
+ localVarHeaderParameter["Content-Type"] = "application/json";
593
+ localVarHeaderParameter["Accept"] = "application/json";
594
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
595
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
596
+ localVarRequestOptions.headers = {
597
+ ...localVarHeaderParameter,
598
+ ...headersFromBaseOptions,
599
+ ...options.headers
600
+ };
601
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
602
+ return {
603
+ url: toPathString(localVarUrlObj),
604
+ options: localVarRequestOptions
605
+ };
606
+ },
607
+ /**
608
+ * Provide delivery challan document for PCP transportation in IN marketplace.
609
+ * @param {string} inboundPlanId Identifier of an inbound plan.
610
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
611
+ * @param {*} [options] Override http request option.
612
+ * @throws {RequiredError}
613
+ */
614
+ getDeliveryChallanDocument: async (inboundPlanId, shipmentId, options = {}) => {
615
+ assertParamExists("getDeliveryChallanDocument", "inboundPlanId", inboundPlanId);
616
+ assertParamExists("getDeliveryChallanDocument", "shipmentId", shipmentId);
617
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryChallanDocument`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
618
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
619
+ let baseOptions;
620
+ if (configuration) baseOptions = configuration.baseOptions;
621
+ const localVarRequestOptions = {
622
+ method: "GET",
623
+ ...baseOptions,
624
+ ...options
625
+ };
626
+ const localVarHeaderParameter = {};
627
+ const localVarQueryParameter = {};
628
+ localVarHeaderParameter["Accept"] = "application/json";
629
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
630
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
631
+ localVarRequestOptions.headers = {
632
+ ...localVarHeaderParameter,
633
+ ...headersFromBaseOptions,
634
+ ...options.headers
635
+ };
636
+ return {
637
+ url: toPathString(localVarUrlObj),
638
+ options: localVarRequestOptions
639
+ };
640
+ },
641
+ /**
642
+ * Gets the status of the processing of an asynchronous API call.
643
+ * @param {string} operationId Identifier of an asynchronous operation.
644
+ * @param {*} [options] Override http request option.
645
+ * @throws {RequiredError}
646
+ */
647
+ getInboundOperationStatus: async (operationId, options = {}) => {
648
+ assertParamExists("getInboundOperationStatus", "operationId", operationId);
649
+ const localVarPath = `/inbound/fba/2024-03-20/operations/{operationId}`.replace("{operationId}", encodeURIComponent(String(operationId)));
650
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
651
+ let baseOptions;
652
+ if (configuration) baseOptions = configuration.baseOptions;
653
+ const localVarRequestOptions = {
654
+ method: "GET",
655
+ ...baseOptions,
656
+ ...options
657
+ };
658
+ const localVarHeaderParameter = {};
659
+ const localVarQueryParameter = {};
660
+ localVarHeaderParameter["Accept"] = "application/json";
661
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
662
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
663
+ localVarRequestOptions.headers = {
664
+ ...localVarHeaderParameter,
665
+ ...headersFromBaseOptions,
666
+ ...options.headers
667
+ };
668
+ return {
669
+ url: toPathString(localVarUrlObj),
670
+ options: localVarRequestOptions
671
+ };
672
+ },
673
+ /**
674
+ * Fetches the top level information about an inbound plan.
675
+ * @param {string} inboundPlanId Identifier of an inbound plan.
676
+ * @param {*} [options] Override http request option.
677
+ * @throws {RequiredError}
678
+ */
679
+ getInboundPlan: async (inboundPlanId, options = {}) => {
680
+ assertParamExists("getInboundPlan", "inboundPlanId", inboundPlanId);
681
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
682
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
683
+ let baseOptions;
684
+ if (configuration) baseOptions = configuration.baseOptions;
685
+ const localVarRequestOptions = {
686
+ method: "GET",
687
+ ...baseOptions,
688
+ ...options
689
+ };
690
+ const localVarHeaderParameter = {};
691
+ const localVarQueryParameter = {};
692
+ localVarHeaderParameter["Accept"] = "application/json";
693
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
694
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
695
+ localVarRequestOptions.headers = {
696
+ ...localVarHeaderParameter,
697
+ ...headersFromBaseOptions,
698
+ ...options.headers
699
+ };
700
+ return {
701
+ url: toPathString(localVarUrlObj),
702
+ options: localVarRequestOptions
703
+ };
704
+ },
705
+ /**
706
+ * Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
707
+ * @param {string} inboundPlanId Identifier of an inbound plan.
708
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
709
+ * @param {number} [pageSize] The number of self ship appointment slots to return in the response matching the given query.
710
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
711
+ * @param {*} [options] Override http request option.
712
+ * @throws {RequiredError}
713
+ */
714
+ getSelfShipAppointmentSlots: async (inboundPlanId, shipmentId, pageSize, paginationToken, options = {}) => {
715
+ assertParamExists("getSelfShipAppointmentSlots", "inboundPlanId", inboundPlanId);
716
+ assertParamExists("getSelfShipAppointmentSlots", "shipmentId", shipmentId);
717
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
718
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
719
+ let baseOptions;
720
+ if (configuration) baseOptions = configuration.baseOptions;
721
+ const localVarRequestOptions = {
722
+ method: "GET",
723
+ ...baseOptions,
724
+ ...options
725
+ };
726
+ const localVarHeaderParameter = {};
727
+ const localVarQueryParameter = {};
728
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
729
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
730
+ localVarHeaderParameter["Accept"] = "application/json";
731
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
732
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
733
+ localVarRequestOptions.headers = {
734
+ ...localVarHeaderParameter,
735
+ ...headersFromBaseOptions,
736
+ ...options.headers
737
+ };
738
+ return {
739
+ url: toPathString(localVarUrlObj),
740
+ options: localVarRequestOptions
741
+ };
742
+ },
743
+ /**
744
+ * Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment.
745
+ * @param {string} inboundPlanId Identifier of an inbound plan.
746
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
747
+ * @param {*} [options] Override http request option.
748
+ * @throws {RequiredError}
749
+ */
750
+ getShipment: async (inboundPlanId, shipmentId, options = {}) => {
751
+ assertParamExists("getShipment", "inboundPlanId", inboundPlanId);
752
+ assertParamExists("getShipment", "shipmentId", shipmentId);
753
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
754
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
755
+ let baseOptions;
756
+ if (configuration) baseOptions = configuration.baseOptions;
757
+ const localVarRequestOptions = {
758
+ method: "GET",
759
+ ...baseOptions,
760
+ ...options
761
+ };
762
+ const localVarHeaderParameter = {};
763
+ const localVarQueryParameter = {};
764
+ localVarHeaderParameter["Accept"] = "application/json";
765
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
766
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
767
+ localVarRequestOptions.headers = {
768
+ ...localVarHeaderParameter,
769
+ ...headersFromBaseOptions,
770
+ ...options.headers
771
+ };
772
+ return {
773
+ url: toPathString(localVarUrlObj),
774
+ options: localVarRequestOptions
775
+ };
776
+ },
777
+ /**
778
+ * Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.
779
+ * @param {string} inboundPlanId Identifier of an inbound plan.
780
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
781
+ * @param {string} contentUpdatePreviewId Identifier of a content update preview.
782
+ * @param {*} [options] Override http request option.
783
+ * @throws {RequiredError}
784
+ */
785
+ getShipmentContentUpdatePreview: async (inboundPlanId, shipmentId, contentUpdatePreviewId, options = {}) => {
786
+ assertParamExists("getShipmentContentUpdatePreview", "inboundPlanId", inboundPlanId);
787
+ assertParamExists("getShipmentContentUpdatePreview", "shipmentId", shipmentId);
788
+ assertParamExists("getShipmentContentUpdatePreview", "contentUpdatePreviewId", contentUpdatePreviewId);
789
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews/{contentUpdatePreviewId}`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId))).replace("{contentUpdatePreviewId}", encodeURIComponent(String(contentUpdatePreviewId)));
790
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
791
+ let baseOptions;
792
+ if (configuration) baseOptions = configuration.baseOptions;
793
+ const localVarRequestOptions = {
794
+ method: "GET",
795
+ ...baseOptions,
796
+ ...options
797
+ };
798
+ const localVarHeaderParameter = {};
799
+ const localVarQueryParameter = {};
800
+ localVarHeaderParameter["Accept"] = "application/json";
801
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
802
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
803
+ localVarRequestOptions.headers = {
804
+ ...localVarHeaderParameter,
805
+ ...headersFromBaseOptions,
806
+ ...options.headers
807
+ };
808
+ return {
809
+ url: toPathString(localVarUrlObj),
810
+ options: localVarRequestOptions
811
+ };
812
+ },
813
+ /**
814
+ * Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available.
815
+ * @param {string} inboundPlanId Identifier of an inbound plan.
816
+ * @param {string} shipmentId The shipment to get delivery window options for.
817
+ * @param {number} [pageSize] The number of delivery window options to return in the response matching the given query.
818
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
819
+ * @param {*} [options] Override http request option.
820
+ * @throws {RequiredError}
821
+ */
822
+ listDeliveryWindowOptions: async (inboundPlanId, shipmentId, pageSize, paginationToken, options = {}) => {
823
+ assertParamExists("listDeliveryWindowOptions", "inboundPlanId", inboundPlanId);
824
+ assertParamExists("listDeliveryWindowOptions", "shipmentId", shipmentId);
825
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
826
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
827
+ let baseOptions;
828
+ if (configuration) baseOptions = configuration.baseOptions;
829
+ const localVarRequestOptions = {
830
+ method: "GET",
831
+ ...baseOptions,
832
+ ...options
833
+ };
834
+ const localVarHeaderParameter = {};
835
+ const localVarQueryParameter = {};
836
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
837
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
838
+ localVarHeaderParameter["Accept"] = "application/json";
839
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
840
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
841
+ localVarRequestOptions.headers = {
842
+ ...localVarHeaderParameter,
843
+ ...headersFromBaseOptions,
844
+ ...options.headers
845
+ };
846
+ return {
847
+ url: toPathString(localVarUrlObj),
848
+ options: localVarRequestOptions
849
+ };
850
+ },
851
+ /**
852
+ * Provides a paginated list of box packages in an inbound plan.
853
+ * @param {string} inboundPlanId Identifier of an inbound plan.
854
+ * @param {number} [pageSize] The number of boxes to return in the response matching the given query.
855
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
856
+ * @param {*} [options] Override http request option.
857
+ * @throws {RequiredError}
858
+ */
859
+ listInboundPlanBoxes: async (inboundPlanId, pageSize, paginationToken, options = {}) => {
860
+ assertParamExists("listInboundPlanBoxes", "inboundPlanId", inboundPlanId);
861
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/boxes`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
862
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
863
+ let baseOptions;
864
+ if (configuration) baseOptions = configuration.baseOptions;
865
+ const localVarRequestOptions = {
866
+ method: "GET",
867
+ ...baseOptions,
868
+ ...options
869
+ };
870
+ const localVarHeaderParameter = {};
871
+ const localVarQueryParameter = {};
872
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
873
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
874
+ localVarHeaderParameter["Accept"] = "application/json";
875
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
876
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
877
+ localVarRequestOptions.headers = {
878
+ ...localVarHeaderParameter,
879
+ ...headersFromBaseOptions,
880
+ ...options.headers
881
+ };
882
+ return {
883
+ url: toPathString(localVarUrlObj),
884
+ options: localVarRequestOptions
885
+ };
886
+ },
887
+ /**
888
+ * Provides a paginated list of item packages in an inbound plan.
889
+ * @param {string} inboundPlanId Identifier of an inbound plan.
890
+ * @param {number} [pageSize] The number of items to return in the response matching the given query.
891
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
892
+ * @param {*} [options] Override http request option.
893
+ * @throws {RequiredError}
894
+ */
895
+ listInboundPlanItems: async (inboundPlanId, pageSize, paginationToken, options = {}) => {
896
+ assertParamExists("listInboundPlanItems", "inboundPlanId", inboundPlanId);
897
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/items`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
898
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
899
+ let baseOptions;
900
+ if (configuration) baseOptions = configuration.baseOptions;
901
+ const localVarRequestOptions = {
902
+ method: "GET",
903
+ ...baseOptions,
904
+ ...options
905
+ };
906
+ const localVarHeaderParameter = {};
907
+ const localVarQueryParameter = {};
908
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
909
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
910
+ localVarHeaderParameter["Accept"] = "application/json";
911
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
912
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
913
+ localVarRequestOptions.headers = {
914
+ ...localVarHeaderParameter,
915
+ ...headersFromBaseOptions,
916
+ ...options.headers
917
+ };
918
+ return {
919
+ url: toPathString(localVarUrlObj),
920
+ options: localVarRequestOptions
921
+ };
922
+ },
923
+ /**
924
+ * Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.
925
+ * @param {string} inboundPlanId Identifier of an inbound plan.
926
+ * @param {number} [pageSize] The number of pallets to return in the response matching the given query.
927
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
928
+ * @param {*} [options] Override http request option.
929
+ * @throws {RequiredError}
930
+ */
931
+ listInboundPlanPallets: async (inboundPlanId, pageSize, paginationToken, options = {}) => {
932
+ assertParamExists("listInboundPlanPallets", "inboundPlanId", inboundPlanId);
933
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/pallets`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
934
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
935
+ let baseOptions;
936
+ if (configuration) baseOptions = configuration.baseOptions;
937
+ const localVarRequestOptions = {
938
+ method: "GET",
939
+ ...baseOptions,
940
+ ...options
941
+ };
942
+ const localVarHeaderParameter = {};
943
+ const localVarQueryParameter = {};
944
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
945
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
946
+ localVarHeaderParameter["Accept"] = "application/json";
947
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
948
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
949
+ localVarRequestOptions.headers = {
950
+ ...localVarHeaderParameter,
951
+ ...headersFromBaseOptions,
952
+ ...options.headers
953
+ };
954
+ return {
955
+ url: toPathString(localVarUrlObj),
956
+ options: localVarRequestOptions
957
+ };
958
+ },
959
+ /**
960
+ * Provides a list of inbound plans with minimal information.
961
+ * @param {number} [pageSize] The number of inbound plans to return in the response matching the given query.
962
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
963
+ * @param {ListInboundPlansStatusEnum} [status] The status of an inbound plan.
964
+ * @param {ListInboundPlansSortByEnum} [sortBy] Sort by field.
965
+ * @param {ListInboundPlansSortOrderEnum} [sortOrder] The sort order.
966
+ * @param {*} [options] Override http request option.
967
+ * @throws {RequiredError}
968
+ */
969
+ listInboundPlans: async (pageSize, paginationToken, status, sortBy, sortOrder, options = {}) => {
970
+ const localVarUrlObj = new URL(`/inbound/fba/2024-03-20/inboundPlans`, DUMMY_BASE_URL);
971
+ let baseOptions;
972
+ if (configuration) baseOptions = configuration.baseOptions;
973
+ const localVarRequestOptions = {
974
+ method: "GET",
975
+ ...baseOptions,
976
+ ...options
977
+ };
978
+ const localVarHeaderParameter = {};
979
+ const localVarQueryParameter = {};
980
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
981
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
982
+ if (status !== void 0) localVarQueryParameter["status"] = status;
983
+ if (sortBy !== void 0) localVarQueryParameter["sortBy"] = sortBy;
984
+ if (sortOrder !== void 0) localVarQueryParameter["sortOrder"] = sortOrder;
985
+ localVarHeaderParameter["Accept"] = "application/json";
986
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
987
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
988
+ localVarRequestOptions.headers = {
989
+ ...localVarHeaderParameter,
990
+ ...headersFromBaseOptions,
991
+ ...options.headers
992
+ };
993
+ return {
994
+ url: toPathString(localVarUrlObj),
995
+ options: localVarRequestOptions
996
+ };
997
+ },
998
+ /**
999
+ * List the inbound compliance details for MSKUs in a given marketplace. **Note:** MSKUs that contain certain characters must be encoded. For more information, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). The following characters must be double percent encoded: - `%` - `+` - `,` **Examples:** An MSKU value of `test%msku` is encoded as `test%2525msku`. An MSKU value of `test,msku` is encoded as `test%252Cmsku`.
1000
+ * @param {Array<string>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
1001
+ * @param {string} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
1002
+ * @param {*} [options] Override http request option.
1003
+ * @throws {RequiredError}
1004
+ */
1005
+ listItemComplianceDetails: async (mskus, marketplaceId, options = {}) => {
1006
+ assertParamExists("listItemComplianceDetails", "mskus", mskus);
1007
+ assertParamExists("listItemComplianceDetails", "marketplaceId", marketplaceId);
1008
+ const localVarUrlObj = new URL(`/inbound/fba/2024-03-20/items/compliance`, DUMMY_BASE_URL);
1009
+ let baseOptions;
1010
+ if (configuration) baseOptions = configuration.baseOptions;
1011
+ const localVarRequestOptions = {
1012
+ method: "GET",
1013
+ ...baseOptions,
1014
+ ...options
1015
+ };
1016
+ const localVarHeaderParameter = {};
1017
+ const localVarQueryParameter = {};
1018
+ if (mskus) localVarQueryParameter["mskus"] = mskus;
1019
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
1020
+ localVarHeaderParameter["Accept"] = "application/json";
1021
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1022
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1023
+ localVarRequestOptions.headers = {
1024
+ ...localVarHeaderParameter,
1025
+ ...headersFromBaseOptions,
1026
+ ...options.headers
1027
+ };
1028
+ return {
1029
+ url: toPathString(localVarUrlObj),
1030
+ options: localVarRequestOptions
1031
+ };
1032
+ },
1033
+ /**
1034
+ * Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits.
1035
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1036
+ * @param {string} packingGroupId Identifier of a packing group.
1037
+ * @param {number} [pageSize] The number of packing group boxes to return in the response matching the given query.
1038
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1039
+ * @param {*} [options] Override http request option.
1040
+ * @throws {RequiredError}
1041
+ */
1042
+ listPackingGroupBoxes: async (inboundPlanId, packingGroupId, pageSize, paginationToken, options = {}) => {
1043
+ assertParamExists("listPackingGroupBoxes", "inboundPlanId", inboundPlanId);
1044
+ assertParamExists("listPackingGroupBoxes", "packingGroupId", packingGroupId);
1045
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingGroups/{packingGroupId}/boxes`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{packingGroupId}", encodeURIComponent(String(packingGroupId)));
1046
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1047
+ let baseOptions;
1048
+ if (configuration) baseOptions = configuration.baseOptions;
1049
+ const localVarRequestOptions = {
1050
+ method: "GET",
1051
+ ...baseOptions,
1052
+ ...options
1053
+ };
1054
+ const localVarHeaderParameter = {};
1055
+ const localVarQueryParameter = {};
1056
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1057
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1058
+ localVarHeaderParameter["Accept"] = "application/json";
1059
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1060
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1061
+ localVarRequestOptions.headers = {
1062
+ ...localVarHeaderParameter,
1063
+ ...headersFromBaseOptions,
1064
+ ...options.headers
1065
+ };
1066
+ return {
1067
+ url: toPathString(localVarUrlObj),
1068
+ options: localVarRequestOptions
1069
+ };
1070
+ },
1071
+ /**
1072
+ * Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed.
1073
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1074
+ * @param {string} packingGroupId Identifier of a packing group.
1075
+ * @param {number} [pageSize] The number of packing group items to return in the response matching the given query.
1076
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1077
+ * @param {*} [options] Override http request option.
1078
+ * @throws {RequiredError}
1079
+ */
1080
+ listPackingGroupItems: async (inboundPlanId, packingGroupId, pageSize, paginationToken, options = {}) => {
1081
+ assertParamExists("listPackingGroupItems", "inboundPlanId", inboundPlanId);
1082
+ assertParamExists("listPackingGroupItems", "packingGroupId", packingGroupId);
1083
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingGroups/{packingGroupId}/items`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{packingGroupId}", encodeURIComponent(String(packingGroupId)));
1084
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1085
+ let baseOptions;
1086
+ if (configuration) baseOptions = configuration.baseOptions;
1087
+ const localVarRequestOptions = {
1088
+ method: "GET",
1089
+ ...baseOptions,
1090
+ ...options
1091
+ };
1092
+ const localVarHeaderParameter = {};
1093
+ const localVarQueryParameter = {};
1094
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1095
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1096
+ localVarHeaderParameter["Accept"] = "application/json";
1097
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1098
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1099
+ localVarRequestOptions.headers = {
1100
+ ...localVarHeaderParameter,
1101
+ ...headersFromBaseOptions,
1102
+ ...options.headers
1103
+ };
1104
+ return {
1105
+ url: toPathString(localVarUrlObj),
1106
+ options: localVarRequestOptions
1107
+ };
1108
+ },
1109
+ /**
1110
+ * Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.
1111
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1112
+ * @param {number} [pageSize] The number of packing options to return in the response matching the given query.
1113
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1114
+ * @param {*} [options] Override http request option.
1115
+ * @throws {RequiredError}
1116
+ */
1117
+ listPackingOptions: async (inboundPlanId, pageSize, paginationToken, options = {}) => {
1118
+ assertParamExists("listPackingOptions", "inboundPlanId", inboundPlanId);
1119
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
1120
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1121
+ let baseOptions;
1122
+ if (configuration) baseOptions = configuration.baseOptions;
1123
+ const localVarRequestOptions = {
1124
+ method: "GET",
1125
+ ...baseOptions,
1126
+ ...options
1127
+ };
1128
+ const localVarHeaderParameter = {};
1129
+ const localVarQueryParameter = {};
1130
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1131
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1132
+ localVarHeaderParameter["Accept"] = "application/json";
1133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1135
+ localVarRequestOptions.headers = {
1136
+ ...localVarHeaderParameter,
1137
+ ...headersFromBaseOptions,
1138
+ ...options.headers
1139
+ };
1140
+ return {
1141
+ url: toPathString(localVarUrlObj),
1142
+ options: localVarRequestOptions
1143
+ };
1144
+ },
1145
+ /**
1146
+ * Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.
1147
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1148
+ * @param {number} [pageSize] The number of placement options to return in the response matching the given query.
1149
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1150
+ * @param {*} [options] Override http request option.
1151
+ * @throws {RequiredError}
1152
+ */
1153
+ listPlacementOptions: async (inboundPlanId, pageSize, paginationToken, options = {}) => {
1154
+ assertParamExists("listPlacementOptions", "inboundPlanId", inboundPlanId);
1155
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
1156
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1157
+ let baseOptions;
1158
+ if (configuration) baseOptions = configuration.baseOptions;
1159
+ const localVarRequestOptions = {
1160
+ method: "GET",
1161
+ ...baseOptions,
1162
+ ...options
1163
+ };
1164
+ const localVarHeaderParameter = {};
1165
+ const localVarQueryParameter = {};
1166
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1167
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1168
+ localVarHeaderParameter["Accept"] = "application/json";
1169
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1171
+ localVarRequestOptions.headers = {
1172
+ ...localVarHeaderParameter,
1173
+ ...headersFromBaseOptions,
1174
+ ...options.headers
1175
+ };
1176
+ return {
1177
+ url: toPathString(localVarUrlObj),
1178
+ options: localVarRequestOptions
1179
+ };
1180
+ },
1181
+ /**
1182
+ * Get preparation details for a list of MSKUs in a specified marketplace.\\n\\n**Note:** MSKUs that contain certain characters must be encoded. For more information, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).\\n\\nThe following characters must be double percent encoded:\\n\\n- `%`\\n- `+`\\n- `,`\\n\\n**Examples:** An MSKU value of `test%msku` is encoded as `test%2525msku`. An MSKU value of `test,msku` is encoded as `test%252Cmsku`.
1183
+ * @param {string} marketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
1184
+ * @param {Array<string>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
1185
+ * @param {*} [options] Override http request option.
1186
+ * @throws {RequiredError}
1187
+ */
1188
+ listPrepDetails: async (marketplaceId, mskus, options = {}) => {
1189
+ assertParamExists("listPrepDetails", "marketplaceId", marketplaceId);
1190
+ assertParamExists("listPrepDetails", "mskus", mskus);
1191
+ const localVarUrlObj = new URL(`/inbound/fba/2024-03-20/items/prepDetails`, DUMMY_BASE_URL);
1192
+ let baseOptions;
1193
+ if (configuration) baseOptions = configuration.baseOptions;
1194
+ const localVarRequestOptions = {
1195
+ method: "GET",
1196
+ ...baseOptions,
1197
+ ...options
1198
+ };
1199
+ const localVarHeaderParameter = {};
1200
+ const localVarQueryParameter = {};
1201
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
1202
+ if (mskus) localVarQueryParameter["mskus"] = mskus;
1203
+ localVarHeaderParameter["Accept"] = "application/json";
1204
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1205
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1206
+ localVarRequestOptions.headers = {
1207
+ ...localVarHeaderParameter,
1208
+ ...headersFromBaseOptions,
1209
+ ...options.headers
1210
+ };
1211
+ return {
1212
+ url: toPathString(localVarUrlObj),
1213
+ options: localVarRequestOptions
1214
+ };
1215
+ },
1216
+ /**
1217
+ * Provides a paginated list of box packages in a shipment.
1218
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1219
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1220
+ * @param {number} [pageSize] The number of boxes to return in the response matching the given query.
1221
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1222
+ * @param {*} [options] Override http request option.
1223
+ * @throws {RequiredError}
1224
+ */
1225
+ listShipmentBoxes: async (inboundPlanId, shipmentId, pageSize, paginationToken, options = {}) => {
1226
+ assertParamExists("listShipmentBoxes", "inboundPlanId", inboundPlanId);
1227
+ assertParamExists("listShipmentBoxes", "shipmentId", shipmentId);
1228
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/boxes`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
1229
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1230
+ let baseOptions;
1231
+ if (configuration) baseOptions = configuration.baseOptions;
1232
+ const localVarRequestOptions = {
1233
+ method: "GET",
1234
+ ...baseOptions,
1235
+ ...options
1236
+ };
1237
+ const localVarHeaderParameter = {};
1238
+ const localVarQueryParameter = {};
1239
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1240
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1241
+ localVarHeaderParameter["Accept"] = "application/json";
1242
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1243
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1244
+ localVarRequestOptions.headers = {
1245
+ ...localVarHeaderParameter,
1246
+ ...headersFromBaseOptions,
1247
+ ...options.headers
1248
+ };
1249
+ return {
1250
+ url: toPathString(localVarUrlObj),
1251
+ options: localVarRequestOptions
1252
+ };
1253
+ },
1254
+ /**
1255
+ * Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.
1256
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1257
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1258
+ * @param {number} [pageSize] The number of content update previews to return.
1259
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1260
+ * @param {*} [options] Override http request option.
1261
+ * @throws {RequiredError}
1262
+ */
1263
+ listShipmentContentUpdatePreviews: async (inboundPlanId, shipmentId, pageSize, paginationToken, options = {}) => {
1264
+ assertParamExists("listShipmentContentUpdatePreviews", "inboundPlanId", inboundPlanId);
1265
+ assertParamExists("listShipmentContentUpdatePreviews", "shipmentId", shipmentId);
1266
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
1267
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1268
+ let baseOptions;
1269
+ if (configuration) baseOptions = configuration.baseOptions;
1270
+ const localVarRequestOptions = {
1271
+ method: "GET",
1272
+ ...baseOptions,
1273
+ ...options
1274
+ };
1275
+ const localVarHeaderParameter = {};
1276
+ const localVarQueryParameter = {};
1277
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1278
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1279
+ localVarHeaderParameter["Accept"] = "application/json";
1280
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1281
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1282
+ localVarRequestOptions.headers = {
1283
+ ...localVarHeaderParameter,
1284
+ ...headersFromBaseOptions,
1285
+ ...options.headers
1286
+ };
1287
+ return {
1288
+ url: toPathString(localVarUrlObj),
1289
+ options: localVarRequestOptions
1290
+ };
1291
+ },
1292
+ /**
1293
+ * Provides a paginated list of item packages in a shipment.
1294
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1295
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1296
+ * @param {number} [pageSize] The number of items to return in the response matching the given query.
1297
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1298
+ * @param {*} [options] Override http request option.
1299
+ * @throws {RequiredError}
1300
+ */
1301
+ listShipmentItems: async (inboundPlanId, shipmentId, pageSize, paginationToken, options = {}) => {
1302
+ assertParamExists("listShipmentItems", "inboundPlanId", inboundPlanId);
1303
+ assertParamExists("listShipmentItems", "shipmentId", shipmentId);
1304
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/items`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
1305
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1306
+ let baseOptions;
1307
+ if (configuration) baseOptions = configuration.baseOptions;
1308
+ const localVarRequestOptions = {
1309
+ method: "GET",
1310
+ ...baseOptions,
1311
+ ...options
1312
+ };
1313
+ const localVarHeaderParameter = {};
1314
+ const localVarQueryParameter = {};
1315
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1316
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1317
+ localVarHeaderParameter["Accept"] = "application/json";
1318
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1319
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1320
+ localVarRequestOptions.headers = {
1321
+ ...localVarHeaderParameter,
1322
+ ...headersFromBaseOptions,
1323
+ ...options.headers
1324
+ };
1325
+ return {
1326
+ url: toPathString(localVarUrlObj),
1327
+ options: localVarRequestOptions
1328
+ };
1329
+ },
1330
+ /**
1331
+ * Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.
1332
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1333
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1334
+ * @param {number} [pageSize] The number of pallets to return in the response matching the given query.
1335
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1336
+ * @param {*} [options] Override http request option.
1337
+ * @throws {RequiredError}
1338
+ */
1339
+ listShipmentPallets: async (inboundPlanId, shipmentId, pageSize, paginationToken, options = {}) => {
1340
+ assertParamExists("listShipmentPallets", "inboundPlanId", inboundPlanId);
1341
+ assertParamExists("listShipmentPallets", "shipmentId", shipmentId);
1342
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/pallets`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
1343
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1344
+ let baseOptions;
1345
+ if (configuration) baseOptions = configuration.baseOptions;
1346
+ const localVarRequestOptions = {
1347
+ method: "GET",
1348
+ ...baseOptions,
1349
+ ...options
1350
+ };
1351
+ const localVarHeaderParameter = {};
1352
+ const localVarQueryParameter = {};
1353
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1354
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1355
+ localVarHeaderParameter["Accept"] = "application/json";
1356
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1357
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1358
+ localVarRequestOptions.headers = {
1359
+ ...localVarHeaderParameter,
1360
+ ...headersFromBaseOptions,
1361
+ ...options.headers
1362
+ };
1363
+ return {
1364
+ url: toPathString(localVarUrlObj),
1365
+ options: localVarRequestOptions
1366
+ };
1367
+ },
1368
+ /**
1369
+ * Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available.
1370
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1371
+ * @param {number} [pageSize] The number of transportation options to return in the response matching the given query.
1372
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1373
+ * @param {string} [placementOptionId] The placement option to get transportation options for. Either &#x60;placementOptionId&#x60; or &#x60;shipmentId&#x60; must be specified.
1374
+ * @param {string} [shipmentId] The shipment to get transportation options for. Either &#x60;placementOptionId&#x60; or &#x60;shipmentId&#x60; must be specified.
1375
+ * @param {*} [options] Override http request option.
1376
+ * @throws {RequiredError}
1377
+ */
1378
+ listTransportationOptions: async (inboundPlanId, pageSize, paginationToken, placementOptionId, shipmentId, options = {}) => {
1379
+ assertParamExists("listTransportationOptions", "inboundPlanId", inboundPlanId);
1380
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
1381
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1382
+ let baseOptions;
1383
+ if (configuration) baseOptions = configuration.baseOptions;
1384
+ const localVarRequestOptions = {
1385
+ method: "GET",
1386
+ ...baseOptions,
1387
+ ...options
1388
+ };
1389
+ const localVarHeaderParameter = {};
1390
+ const localVarQueryParameter = {};
1391
+ if (pageSize !== void 0) localVarQueryParameter["pageSize"] = pageSize;
1392
+ if (paginationToken !== void 0) localVarQueryParameter["paginationToken"] = paginationToken;
1393
+ if (placementOptionId !== void 0) localVarQueryParameter["placementOptionId"] = placementOptionId;
1394
+ if (shipmentId !== void 0) localVarQueryParameter["shipmentId"] = shipmentId;
1395
+ localVarHeaderParameter["Accept"] = "application/json";
1396
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1397
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1398
+ localVarRequestOptions.headers = {
1399
+ ...localVarHeaderParameter,
1400
+ ...headersFromBaseOptions,
1401
+ ...options.headers
1402
+ };
1403
+ return {
1404
+ url: toPathString(localVarUrlObj),
1405
+ options: localVarRequestOptions
1406
+ };
1407
+ },
1408
+ /**
1409
+ * Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
1410
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1411
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1412
+ * @param {string} slotId An identifier to a self-ship appointment slot.
1413
+ * @param {ScheduleSelfShipAppointmentRequest} body The body of the request to &#x60;scheduleSelfShipAppointment&#x60;.
1414
+ * @param {*} [options] Override http request option.
1415
+ * @throws {RequiredError}
1416
+ */
1417
+ scheduleSelfShipAppointment: async (inboundPlanId, shipmentId, slotId, body, options = {}) => {
1418
+ assertParamExists("scheduleSelfShipAppointment", "inboundPlanId", inboundPlanId);
1419
+ assertParamExists("scheduleSelfShipAppointment", "shipmentId", shipmentId);
1420
+ assertParamExists("scheduleSelfShipAppointment", "slotId", slotId);
1421
+ assertParamExists("scheduleSelfShipAppointment", "body", body);
1422
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots/{slotId}/schedule`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId))).replace("{slotId}", encodeURIComponent(String(slotId)));
1423
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1424
+ let baseOptions;
1425
+ if (configuration) baseOptions = configuration.baseOptions;
1426
+ const localVarRequestOptions = {
1427
+ method: "POST",
1428
+ ...baseOptions,
1429
+ ...options
1430
+ };
1431
+ const localVarHeaderParameter = {};
1432
+ const localVarQueryParameter = {};
1433
+ localVarHeaderParameter["Content-Type"] = "application/json";
1434
+ localVarHeaderParameter["Accept"] = "application/json";
1435
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1436
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1437
+ localVarRequestOptions.headers = {
1438
+ ...localVarHeaderParameter,
1439
+ ...headersFromBaseOptions,
1440
+ ...options.headers
1441
+ };
1442
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1443
+ return {
1444
+ url: toPathString(localVarUrlObj),
1445
+ options: localVarRequestOptions
1446
+ };
1447
+ },
1448
+ /**
1449
+ * Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates.
1450
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1451
+ * @param {SetPackingInformationRequest} body The body of the request to &#x60;setPackingInformation&#x60;.
1452
+ * @param {*} [options] Override http request option.
1453
+ * @throws {RequiredError}
1454
+ */
1455
+ setPackingInformation: async (inboundPlanId, body, options = {}) => {
1456
+ assertParamExists("setPackingInformation", "inboundPlanId", inboundPlanId);
1457
+ assertParamExists("setPackingInformation", "body", body);
1458
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingInformation`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
1459
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1460
+ let baseOptions;
1461
+ if (configuration) baseOptions = configuration.baseOptions;
1462
+ const localVarRequestOptions = {
1463
+ method: "POST",
1464
+ ...baseOptions,
1465
+ ...options
1466
+ };
1467
+ const localVarHeaderParameter = {};
1468
+ const localVarQueryParameter = {};
1469
+ localVarHeaderParameter["Content-Type"] = "application/json";
1470
+ localVarHeaderParameter["Accept"] = "application/json";
1471
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1472
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1473
+ localVarRequestOptions.headers = {
1474
+ ...localVarHeaderParameter,
1475
+ ...headersFromBaseOptions,
1476
+ ...options.headers
1477
+ };
1478
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1479
+ return {
1480
+ url: toPathString(localVarUrlObj),
1481
+ options: localVarRequestOptions
1482
+ };
1483
+ },
1484
+ /**
1485
+ * Set the preparation details for a list of MSKUs in a specified marketplace.
1486
+ * @param {SetPrepDetailsRequest} body The body of the request to &#x60;setPrepDetails&#x60;.
1487
+ * @param {*} [options] Override http request option.
1488
+ * @throws {RequiredError}
1489
+ */
1490
+ setPrepDetails: async (body, options = {}) => {
1491
+ assertParamExists("setPrepDetails", "body", body);
1492
+ const localVarUrlObj = new URL(`/inbound/fba/2024-03-20/items/prepDetails`, DUMMY_BASE_URL);
1493
+ let baseOptions;
1494
+ if (configuration) baseOptions = configuration.baseOptions;
1495
+ const localVarRequestOptions = {
1496
+ method: "POST",
1497
+ ...baseOptions,
1498
+ ...options
1499
+ };
1500
+ const localVarHeaderParameter = {};
1501
+ const localVarQueryParameter = {};
1502
+ localVarHeaderParameter["Content-Type"] = "application/json";
1503
+ localVarHeaderParameter["Accept"] = "application/json";
1504
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1505
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1506
+ localVarRequestOptions.headers = {
1507
+ ...localVarHeaderParameter,
1508
+ ...headersFromBaseOptions,
1509
+ ...options.headers
1510
+ };
1511
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1512
+ return {
1513
+ url: toPathString(localVarUrlObj),
1514
+ options: localVarRequestOptions
1515
+ };
1516
+ },
1517
+ /**
1518
+ * Updates the name of an existing inbound plan.
1519
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1520
+ * @param {UpdateInboundPlanNameRequest} body The body of the request to &#x60;updateInboundPlanName&#x60;.
1521
+ * @param {*} [options] Override http request option.
1522
+ * @throws {RequiredError}
1523
+ */
1524
+ updateInboundPlanName: async (inboundPlanId, body, options = {}) => {
1525
+ assertParamExists("updateInboundPlanName", "inboundPlanId", inboundPlanId);
1526
+ assertParamExists("updateInboundPlanName", "body", body);
1527
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/name`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId)));
1528
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1529
+ let baseOptions;
1530
+ if (configuration) baseOptions = configuration.baseOptions;
1531
+ const localVarRequestOptions = {
1532
+ method: "PUT",
1533
+ ...baseOptions,
1534
+ ...options
1535
+ };
1536
+ const localVarHeaderParameter = {};
1537
+ const localVarQueryParameter = {};
1538
+ localVarHeaderParameter["Content-Type"] = "application/json";
1539
+ localVarHeaderParameter["Accept"] = "application/json";
1540
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1541
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1542
+ localVarRequestOptions.headers = {
1543
+ ...localVarHeaderParameter,
1544
+ ...headersFromBaseOptions,
1545
+ ...options.headers
1546
+ };
1547
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1548
+ return {
1549
+ url: toPathString(localVarUrlObj),
1550
+ options: localVarRequestOptions
1551
+ };
1552
+ },
1553
+ /**
1554
+ * Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation.
1555
+ * @param {string} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
1556
+ * @param {UpdateItemComplianceDetailsRequest} body The body of the request to &#x60;updateItemComplianceDetails&#x60;.
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ */
1560
+ updateItemComplianceDetails: async (marketplaceId, body, options = {}) => {
1561
+ assertParamExists("updateItemComplianceDetails", "marketplaceId", marketplaceId);
1562
+ assertParamExists("updateItemComplianceDetails", "body", body);
1563
+ const localVarUrlObj = new URL(`/inbound/fba/2024-03-20/items/compliance`, DUMMY_BASE_URL);
1564
+ let baseOptions;
1565
+ if (configuration) baseOptions = configuration.baseOptions;
1566
+ const localVarRequestOptions = {
1567
+ method: "PUT",
1568
+ ...baseOptions,
1569
+ ...options
1570
+ };
1571
+ const localVarHeaderParameter = {};
1572
+ const localVarQueryParameter = {};
1573
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
1574
+ localVarHeaderParameter["Content-Type"] = "application/json";
1575
+ localVarHeaderParameter["Accept"] = "application/json";
1576
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1577
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1578
+ localVarRequestOptions.headers = {
1579
+ ...localVarHeaderParameter,
1580
+ ...headersFromBaseOptions,
1581
+ ...options.headers
1582
+ };
1583
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1584
+ return {
1585
+ url: toPathString(localVarUrlObj),
1586
+ options: localVarRequestOptions
1587
+ };
1588
+ },
1589
+ /**
1590
+ * Updates the name of an existing shipment.
1591
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1592
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1593
+ * @param {UpdateShipmentNameRequest} body The body of the request to &#x60;updateShipmentName&#x60;.
1594
+ * @param {*} [options] Override http request option.
1595
+ * @throws {RequiredError}
1596
+ */
1597
+ updateShipmentName: async (inboundPlanId, shipmentId, body, options = {}) => {
1598
+ assertParamExists("updateShipmentName", "inboundPlanId", inboundPlanId);
1599
+ assertParamExists("updateShipmentName", "shipmentId", shipmentId);
1600
+ assertParamExists("updateShipmentName", "body", body);
1601
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/name`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
1602
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1603
+ let baseOptions;
1604
+ if (configuration) baseOptions = configuration.baseOptions;
1605
+ const localVarRequestOptions = {
1606
+ method: "PUT",
1607
+ ...baseOptions,
1608
+ ...options
1609
+ };
1610
+ const localVarHeaderParameter = {};
1611
+ const localVarQueryParameter = {};
1612
+ localVarHeaderParameter["Content-Type"] = "application/json";
1613
+ localVarHeaderParameter["Accept"] = "application/json";
1614
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1615
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1616
+ localVarRequestOptions.headers = {
1617
+ ...localVarHeaderParameter,
1618
+ ...headersFromBaseOptions,
1619
+ ...options.headers
1620
+ };
1621
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1622
+ return {
1623
+ url: toPathString(localVarUrlObj),
1624
+ options: localVarRequestOptions
1625
+ };
1626
+ },
1627
+ /**
1628
+ * Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address.
1629
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1630
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1631
+ * @param {UpdateShipmentSourceAddressRequest} body The body of the request to &#x60;updateShipmentSourceAddress&#x60;.
1632
+ * @param {*} [options] Override http request option.
1633
+ * @throws {RequiredError}
1634
+ */
1635
+ updateShipmentSourceAddress: async (inboundPlanId, shipmentId, body, options = {}) => {
1636
+ assertParamExists("updateShipmentSourceAddress", "inboundPlanId", inboundPlanId);
1637
+ assertParamExists("updateShipmentSourceAddress", "shipmentId", shipmentId);
1638
+ assertParamExists("updateShipmentSourceAddress", "body", body);
1639
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/sourceAddress`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
1640
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1641
+ let baseOptions;
1642
+ if (configuration) baseOptions = configuration.baseOptions;
1643
+ const localVarRequestOptions = {
1644
+ method: "PUT",
1645
+ ...baseOptions,
1646
+ ...options
1647
+ };
1648
+ const localVarHeaderParameter = {};
1649
+ const localVarQueryParameter = {};
1650
+ localVarHeaderParameter["Content-Type"] = "application/json";
1651
+ localVarHeaderParameter["Accept"] = "application/json";
1652
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1653
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1654
+ localVarRequestOptions.headers = {
1655
+ ...localVarHeaderParameter,
1656
+ ...headersFromBaseOptions,
1657
+ ...options.headers
1658
+ };
1659
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1660
+ return {
1661
+ url: toPathString(localVarUrlObj),
1662
+ options: localVarRequestOptions
1663
+ };
1664
+ },
1665
+ /**
1666
+ * Updates a shipment\'s tracking details.
1667
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1668
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1669
+ * @param {UpdateShipmentTrackingDetailsRequest} body The body of the request to &#x60;updateShipmentTrackingDetails&#x60;.
1670
+ * @param {*} [options] Override http request option.
1671
+ * @throws {RequiredError}
1672
+ */
1673
+ updateShipmentTrackingDetails: async (inboundPlanId, shipmentId, body, options = {}) => {
1674
+ assertParamExists("updateShipmentTrackingDetails", "inboundPlanId", inboundPlanId);
1675
+ assertParamExists("updateShipmentTrackingDetails", "shipmentId", shipmentId);
1676
+ assertParamExists("updateShipmentTrackingDetails", "body", body);
1677
+ const localVarPath = `/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/trackingDetails`.replace("{inboundPlanId}", encodeURIComponent(String(inboundPlanId))).replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
1678
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1679
+ let baseOptions;
1680
+ if (configuration) baseOptions = configuration.baseOptions;
1681
+ const localVarRequestOptions = {
1682
+ method: "PUT",
1683
+ ...baseOptions,
1684
+ ...options
1685
+ };
1686
+ const localVarHeaderParameter = {};
1687
+ const localVarQueryParameter = {};
1688
+ localVarHeaderParameter["Content-Type"] = "application/json";
1689
+ localVarHeaderParameter["Accept"] = "application/json";
1690
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1691
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1692
+ localVarRequestOptions.headers = {
1693
+ ...localVarHeaderParameter,
1694
+ ...headersFromBaseOptions,
1695
+ ...options.headers
1696
+ };
1697
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1698
+ return {
1699
+ url: toPathString(localVarUrlObj),
1700
+ options: localVarRequestOptions
1701
+ };
1702
+ }
1703
+ };
1704
+ };
1705
+ /**
1706
+ * FulfillmentInboundApi - functional programming interface
1707
+ */
1708
+ const FulfillmentInboundApiFp = function(configuration) {
1709
+ const localVarAxiosParamCreator = FulfillmentInboundApiAxiosParamCreator(configuration);
1710
+ return {
1711
+ /**
1712
+ * Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments.
1713
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1714
+ * @param {*} [options] Override http request option.
1715
+ * @throws {RequiredError}
1716
+ */
1717
+ async cancelInboundPlan(inboundPlanId, options) {
1718
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelInboundPlan(inboundPlanId, options);
1719
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1720
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.cancelInboundPlan"]?.[localVarOperationServerIndex]?.url;
1721
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1722
+ },
1723
+ /**
1724
+ * Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
1725
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1726
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1727
+ * @param {CancelSelfShipAppointmentRequest} body The body of the request to &#x60;cancelSelfShipAppointment&#x60;.
1728
+ * @param {*} [options] Override http request option.
1729
+ * @throws {RequiredError}
1730
+ */
1731
+ async cancelSelfShipAppointment(inboundPlanId, shipmentId, body, options) {
1732
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSelfShipAppointment(inboundPlanId, shipmentId, body, options);
1733
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1734
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.cancelSelfShipAppointment"]?.[localVarOperationServerIndex]?.url;
1735
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1736
+ },
1737
+ /**
1738
+ * Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation.
1739
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1740
+ * @param {string} shipmentId The shipment to confirm the delivery window option for.
1741
+ * @param {string} deliveryWindowOptionId The id of the delivery window option to be confirmed.
1742
+ * @param {*} [options] Override http request option.
1743
+ * @throws {RequiredError}
1744
+ */
1745
+ async confirmDeliveryWindowOptions(inboundPlanId, shipmentId, deliveryWindowOptionId, options) {
1746
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmDeliveryWindowOptions(inboundPlanId, shipmentId, deliveryWindowOptionId, options);
1747
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1748
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.confirmDeliveryWindowOptions"]?.[localVarOperationServerIndex]?.url;
1749
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1750
+ },
1751
+ /**
1752
+ * Confirms the packing option for an inbound plan.
1753
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1754
+ * @param {string} packingOptionId Identifier of a packing option.
1755
+ * @param {*} [options] Override http request option.
1756
+ * @throws {RequiredError}
1757
+ */
1758
+ async confirmPackingOption(inboundPlanId, packingOptionId, options) {
1759
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmPackingOption(inboundPlanId, packingOptionId, options);
1760
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1761
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.confirmPackingOption"]?.[localVarOperationServerIndex]?.url;
1762
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1763
+ },
1764
+ /**
1765
+ * Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.
1766
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1767
+ * @param {string} placementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
1768
+ * @param {*} [options] Override http request option.
1769
+ * @throws {RequiredError}
1770
+ */
1771
+ async confirmPlacementOption(inboundPlanId, placementOptionId, options) {
1772
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmPlacementOption(inboundPlanId, placementOptionId, options);
1773
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1774
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.confirmPlacementOption"]?.[localVarOperationServerIndex]?.url;
1775
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1776
+ },
1777
+ /**
1778
+ * Confirm a shipment content update preview and accept the changes in transportation cost.
1779
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1780
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1781
+ * @param {string} contentUpdatePreviewId Identifier of a content update preview.
1782
+ * @param {*} [options] Override http request option.
1783
+ * @throws {RequiredError}
1784
+ */
1785
+ async confirmShipmentContentUpdatePreview(inboundPlanId, shipmentId, contentUpdatePreviewId, options) {
1786
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmShipmentContentUpdatePreview(inboundPlanId, shipmentId, contentUpdatePreviewId, options);
1787
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1788
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.confirmShipmentContentUpdatePreview"]?.[localVarOperationServerIndex]?.url;
1789
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1790
+ },
1791
+ /**
1792
+ * Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan.
1793
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1794
+ * @param {ConfirmTransportationOptionsRequest} body The body of the request to &#x60;confirmTransportationOptions&#x60;.
1795
+ * @param {*} [options] Override http request option.
1796
+ * @throws {RequiredError}
1797
+ */
1798
+ async confirmTransportationOptions(inboundPlanId, body, options) {
1799
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmTransportationOptions(inboundPlanId, body, options);
1800
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1801
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.confirmTransportationOptions"]?.[localVarOperationServerIndex]?.url;
1802
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1803
+ },
1804
+ /**
1805
+ * Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon\'s fufillment network.
1806
+ * @param {CreateInboundPlanRequest} body The body of the request to &#x60;createInboundPlan&#x60;.
1807
+ * @param {*} [options] Override http request option.
1808
+ * @throws {RequiredError}
1809
+ */
1810
+ async createInboundPlan(body, options) {
1811
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createInboundPlan(body, options);
1812
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1813
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.createInboundPlan"]?.[localVarOperationServerIndex]?.url;
1814
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1815
+ },
1816
+ /**
1817
+ * For a given marketplace - creates labels for a list of MSKUs.
1818
+ * @param {CreateMarketplaceItemLabelsRequest} body The body of the request to &#x60;createMarketplaceItemLabels&#x60;.
1819
+ * @param {*} [options] Override http request option.
1820
+ * @throws {RequiredError}
1821
+ */
1822
+ async createMarketplaceItemLabels(body, options) {
1823
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createMarketplaceItemLabels(body, options);
1824
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1825
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.createMarketplaceItemLabels"]?.[localVarOperationServerIndex]?.url;
1826
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1827
+ },
1828
+ /**
1829
+ * Generates available delivery window options for a given shipment.
1830
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1831
+ * @param {string} shipmentId The shipment to generate delivery window options for.
1832
+ * @param {*} [options] Override http request option.
1833
+ * @throws {RequiredError}
1834
+ */
1835
+ async generateDeliveryWindowOptions(inboundPlanId, shipmentId, options) {
1836
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateDeliveryWindowOptions(inboundPlanId, shipmentId, options);
1837
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1838
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.generateDeliveryWindowOptions"]?.[localVarOperationServerIndex]?.url;
1839
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1840
+ },
1841
+ /**
1842
+ * Generates available packing options for the inbound plan.
1843
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1844
+ * @param {*} [options] Override http request option.
1845
+ * @throws {RequiredError}
1846
+ */
1847
+ async generatePackingOptions(inboundPlanId, options) {
1848
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePackingOptions(inboundPlanId, options);
1849
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1850
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.generatePackingOptions"]?.[localVarOperationServerIndex]?.url;
1851
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1852
+ },
1853
+ /**
1854
+ * Generates placement options for the inbound plan.
1855
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1856
+ * @param {GeneratePlacementOptionsRequest} body The body of the request to &#x60;generatePlacementOptions&#x60;.
1857
+ * @param {*} [options] Override http request option.
1858
+ * @throws {RequiredError}
1859
+ */
1860
+ async generatePlacementOptions(inboundPlanId, body, options) {
1861
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generatePlacementOptions(inboundPlanId, body, options);
1862
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1863
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.generatePlacementOptions"]?.[localVarOperationServerIndex]?.url;
1864
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1865
+ },
1866
+ /**
1867
+ * Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
1868
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1869
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1870
+ * @param {GenerateSelfShipAppointmentSlotsRequest} body The body of the request to &#x60;generateSelfShipAppointmentSlots&#x60;.
1871
+ * @param {*} [options] Override http request option.
1872
+ * @throws {RequiredError}
1873
+ */
1874
+ async generateSelfShipAppointmentSlots(inboundPlanId, shipmentId, body, options) {
1875
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateSelfShipAppointmentSlots(inboundPlanId, shipmentId, body, options);
1876
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1877
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.generateSelfShipAppointmentSlots"]?.[localVarOperationServerIndex]?.url;
1878
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1879
+ },
1880
+ /**
1881
+ * Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation.
1882
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1883
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1884
+ * @param {GenerateShipmentContentUpdatePreviewsRequest} body The body of the request to &#x60;generateShipmentContentUpdatePreviews&#x60;.
1885
+ * @param {*} [options] Override http request option.
1886
+ * @throws {RequiredError}
1887
+ */
1888
+ async generateShipmentContentUpdatePreviews(inboundPlanId, shipmentId, body, options) {
1889
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateShipmentContentUpdatePreviews(inboundPlanId, shipmentId, body, options);
1890
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1891
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.generateShipmentContentUpdatePreviews"]?.[localVarOperationServerIndex]?.url;
1892
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1893
+ },
1894
+ /**
1895
+ * Generates available transportation options for a given placement option.
1896
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1897
+ * @param {GenerateTransportationOptionsRequest} body The body of the request to &#x60;generateTransportationOptions&#x60;.
1898
+ * @param {*} [options] Override http request option.
1899
+ * @throws {RequiredError}
1900
+ */
1901
+ async generateTransportationOptions(inboundPlanId, body, options) {
1902
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateTransportationOptions(inboundPlanId, body, options);
1903
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1904
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.generateTransportationOptions"]?.[localVarOperationServerIndex]?.url;
1905
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1906
+ },
1907
+ /**
1908
+ * Provide delivery challan document for PCP transportation in IN marketplace.
1909
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1910
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1911
+ * @param {*} [options] Override http request option.
1912
+ * @throws {RequiredError}
1913
+ */
1914
+ async getDeliveryChallanDocument(inboundPlanId, shipmentId, options) {
1915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDeliveryChallanDocument(inboundPlanId, shipmentId, options);
1916
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1917
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getDeliveryChallanDocument"]?.[localVarOperationServerIndex]?.url;
1918
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1919
+ },
1920
+ /**
1921
+ * Gets the status of the processing of an asynchronous API call.
1922
+ * @param {string} operationId Identifier of an asynchronous operation.
1923
+ * @param {*} [options] Override http request option.
1924
+ * @throws {RequiredError}
1925
+ */
1926
+ async getInboundOperationStatus(operationId, options) {
1927
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundOperationStatus(operationId, options);
1928
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1929
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getInboundOperationStatus"]?.[localVarOperationServerIndex]?.url;
1930
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1931
+ },
1932
+ /**
1933
+ * Fetches the top level information about an inbound plan.
1934
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1935
+ * @param {*} [options] Override http request option.
1936
+ * @throws {RequiredError}
1937
+ */
1938
+ async getInboundPlan(inboundPlanId, options) {
1939
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundPlan(inboundPlanId, options);
1940
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1941
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getInboundPlan"]?.[localVarOperationServerIndex]?.url;
1942
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1943
+ },
1944
+ /**
1945
+ * Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
1946
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1947
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1948
+ * @param {number} [pageSize] The number of self ship appointment slots to return in the response matching the given query.
1949
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1950
+ * @param {*} [options] Override http request option.
1951
+ * @throws {RequiredError}
1952
+ */
1953
+ async getSelfShipAppointmentSlots(inboundPlanId, shipmentId, pageSize, paginationToken, options) {
1954
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSelfShipAppointmentSlots(inboundPlanId, shipmentId, pageSize, paginationToken, options);
1955
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1956
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getSelfShipAppointmentSlots"]?.[localVarOperationServerIndex]?.url;
1957
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1958
+ },
1959
+ /**
1960
+ * Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment.
1961
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1962
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1963
+ * @param {*} [options] Override http request option.
1964
+ * @throws {RequiredError}
1965
+ */
1966
+ async getShipment(inboundPlanId, shipmentId, options) {
1967
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getShipment(inboundPlanId, shipmentId, options);
1968
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1969
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getShipment"]?.[localVarOperationServerIndex]?.url;
1970
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1971
+ },
1972
+ /**
1973
+ * Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.
1974
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1975
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1976
+ * @param {string} contentUpdatePreviewId Identifier of a content update preview.
1977
+ * @param {*} [options] Override http request option.
1978
+ * @throws {RequiredError}
1979
+ */
1980
+ async getShipmentContentUpdatePreview(inboundPlanId, shipmentId, contentUpdatePreviewId, options) {
1981
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentContentUpdatePreview(inboundPlanId, shipmentId, contentUpdatePreviewId, options);
1982
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1983
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getShipmentContentUpdatePreview"]?.[localVarOperationServerIndex]?.url;
1984
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1985
+ },
1986
+ /**
1987
+ * Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available.
1988
+ * @param {string} inboundPlanId Identifier of an inbound plan.
1989
+ * @param {string} shipmentId The shipment to get delivery window options for.
1990
+ * @param {number} [pageSize] The number of delivery window options to return in the response matching the given query.
1991
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1992
+ * @param {*} [options] Override http request option.
1993
+ * @throws {RequiredError}
1994
+ */
1995
+ async listDeliveryWindowOptions(inboundPlanId, shipmentId, pageSize, paginationToken, options) {
1996
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDeliveryWindowOptions(inboundPlanId, shipmentId, pageSize, paginationToken, options);
1997
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1998
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listDeliveryWindowOptions"]?.[localVarOperationServerIndex]?.url;
1999
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2000
+ },
2001
+ /**
2002
+ * Provides a paginated list of box packages in an inbound plan.
2003
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2004
+ * @param {number} [pageSize] The number of boxes to return in the response matching the given query.
2005
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2006
+ * @param {*} [options] Override http request option.
2007
+ * @throws {RequiredError}
2008
+ */
2009
+ async listInboundPlanBoxes(inboundPlanId, pageSize, paginationToken, options) {
2010
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInboundPlanBoxes(inboundPlanId, pageSize, paginationToken, options);
2011
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2012
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listInboundPlanBoxes"]?.[localVarOperationServerIndex]?.url;
2013
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2014
+ },
2015
+ /**
2016
+ * Provides a paginated list of item packages in an inbound plan.
2017
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2018
+ * @param {number} [pageSize] The number of items to return in the response matching the given query.
2019
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2020
+ * @param {*} [options] Override http request option.
2021
+ * @throws {RequiredError}
2022
+ */
2023
+ async listInboundPlanItems(inboundPlanId, pageSize, paginationToken, options) {
2024
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInboundPlanItems(inboundPlanId, pageSize, paginationToken, options);
2025
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2026
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listInboundPlanItems"]?.[localVarOperationServerIndex]?.url;
2027
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2028
+ },
2029
+ /**
2030
+ * Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.
2031
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2032
+ * @param {number} [pageSize] The number of pallets to return in the response matching the given query.
2033
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2034
+ * @param {*} [options] Override http request option.
2035
+ * @throws {RequiredError}
2036
+ */
2037
+ async listInboundPlanPallets(inboundPlanId, pageSize, paginationToken, options) {
2038
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInboundPlanPallets(inboundPlanId, pageSize, paginationToken, options);
2039
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2040
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listInboundPlanPallets"]?.[localVarOperationServerIndex]?.url;
2041
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2042
+ },
2043
+ /**
2044
+ * Provides a list of inbound plans with minimal information.
2045
+ * @param {number} [pageSize] The number of inbound plans to return in the response matching the given query.
2046
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2047
+ * @param {ListInboundPlansStatusEnum} [status] The status of an inbound plan.
2048
+ * @param {ListInboundPlansSortByEnum} [sortBy] Sort by field.
2049
+ * @param {ListInboundPlansSortOrderEnum} [sortOrder] The sort order.
2050
+ * @param {*} [options] Override http request option.
2051
+ * @throws {RequiredError}
2052
+ */
2053
+ async listInboundPlans(pageSize, paginationToken, status, sortBy, sortOrder, options) {
2054
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInboundPlans(pageSize, paginationToken, status, sortBy, sortOrder, options);
2055
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2056
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listInboundPlans"]?.[localVarOperationServerIndex]?.url;
2057
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2058
+ },
2059
+ /**
2060
+ * List the inbound compliance details for MSKUs in a given marketplace. **Note:** MSKUs that contain certain characters must be encoded. For more information, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). The following characters must be double percent encoded: - `%` - `+` - `,` **Examples:** An MSKU value of `test%msku` is encoded as `test%2525msku`. An MSKU value of `test,msku` is encoded as `test%252Cmsku`.
2061
+ * @param {Array<string>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
2062
+ * @param {string} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
2063
+ * @param {*} [options] Override http request option.
2064
+ * @throws {RequiredError}
2065
+ */
2066
+ async listItemComplianceDetails(mskus, marketplaceId, options) {
2067
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listItemComplianceDetails(mskus, marketplaceId, options);
2068
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2069
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listItemComplianceDetails"]?.[localVarOperationServerIndex]?.url;
2070
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2071
+ },
2072
+ /**
2073
+ * Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits.
2074
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2075
+ * @param {string} packingGroupId Identifier of a packing group.
2076
+ * @param {number} [pageSize] The number of packing group boxes to return in the response matching the given query.
2077
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2078
+ * @param {*} [options] Override http request option.
2079
+ * @throws {RequiredError}
2080
+ */
2081
+ async listPackingGroupBoxes(inboundPlanId, packingGroupId, pageSize, paginationToken, options) {
2082
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPackingGroupBoxes(inboundPlanId, packingGroupId, pageSize, paginationToken, options);
2083
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2084
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listPackingGroupBoxes"]?.[localVarOperationServerIndex]?.url;
2085
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2086
+ },
2087
+ /**
2088
+ * Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed.
2089
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2090
+ * @param {string} packingGroupId Identifier of a packing group.
2091
+ * @param {number} [pageSize] The number of packing group items to return in the response matching the given query.
2092
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2093
+ * @param {*} [options] Override http request option.
2094
+ * @throws {RequiredError}
2095
+ */
2096
+ async listPackingGroupItems(inboundPlanId, packingGroupId, pageSize, paginationToken, options) {
2097
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPackingGroupItems(inboundPlanId, packingGroupId, pageSize, paginationToken, options);
2098
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2099
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listPackingGroupItems"]?.[localVarOperationServerIndex]?.url;
2100
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2101
+ },
2102
+ /**
2103
+ * Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.
2104
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2105
+ * @param {number} [pageSize] The number of packing options to return in the response matching the given query.
2106
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2107
+ * @param {*} [options] Override http request option.
2108
+ * @throws {RequiredError}
2109
+ */
2110
+ async listPackingOptions(inboundPlanId, pageSize, paginationToken, options) {
2111
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPackingOptions(inboundPlanId, pageSize, paginationToken, options);
2112
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2113
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listPackingOptions"]?.[localVarOperationServerIndex]?.url;
2114
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2115
+ },
2116
+ /**
2117
+ * Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.
2118
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2119
+ * @param {number} [pageSize] The number of placement options to return in the response matching the given query.
2120
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2121
+ * @param {*} [options] Override http request option.
2122
+ * @throws {RequiredError}
2123
+ */
2124
+ async listPlacementOptions(inboundPlanId, pageSize, paginationToken, options) {
2125
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPlacementOptions(inboundPlanId, pageSize, paginationToken, options);
2126
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2127
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listPlacementOptions"]?.[localVarOperationServerIndex]?.url;
2128
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2129
+ },
2130
+ /**
2131
+ * Get preparation details for a list of MSKUs in a specified marketplace.\\n\\n**Note:** MSKUs that contain certain characters must be encoded. For more information, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).\\n\\nThe following characters must be double percent encoded:\\n\\n- `%`\\n- `+`\\n- `,`\\n\\n**Examples:** An MSKU value of `test%msku` is encoded as `test%2525msku`. An MSKU value of `test,msku` is encoded as `test%252Cmsku`.
2132
+ * @param {string} marketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
2133
+ * @param {Array<string>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
2134
+ * @param {*} [options] Override http request option.
2135
+ * @throws {RequiredError}
2136
+ */
2137
+ async listPrepDetails(marketplaceId, mskus, options) {
2138
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPrepDetails(marketplaceId, mskus, options);
2139
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2140
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listPrepDetails"]?.[localVarOperationServerIndex]?.url;
2141
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2142
+ },
2143
+ /**
2144
+ * Provides a paginated list of box packages in a shipment.
2145
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2146
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2147
+ * @param {number} [pageSize] The number of boxes to return in the response matching the given query.
2148
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2149
+ * @param {*} [options] Override http request option.
2150
+ * @throws {RequiredError}
2151
+ */
2152
+ async listShipmentBoxes(inboundPlanId, shipmentId, pageSize, paginationToken, options) {
2153
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listShipmentBoxes(inboundPlanId, shipmentId, pageSize, paginationToken, options);
2154
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2155
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listShipmentBoxes"]?.[localVarOperationServerIndex]?.url;
2156
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2157
+ },
2158
+ /**
2159
+ * Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.
2160
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2161
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2162
+ * @param {number} [pageSize] The number of content update previews to return.
2163
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2164
+ * @param {*} [options] Override http request option.
2165
+ * @throws {RequiredError}
2166
+ */
2167
+ async listShipmentContentUpdatePreviews(inboundPlanId, shipmentId, pageSize, paginationToken, options) {
2168
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listShipmentContentUpdatePreviews(inboundPlanId, shipmentId, pageSize, paginationToken, options);
2169
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2170
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listShipmentContentUpdatePreviews"]?.[localVarOperationServerIndex]?.url;
2171
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2172
+ },
2173
+ /**
2174
+ * Provides a paginated list of item packages in a shipment.
2175
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2176
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2177
+ * @param {number} [pageSize] The number of items to return in the response matching the given query.
2178
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2179
+ * @param {*} [options] Override http request option.
2180
+ * @throws {RequiredError}
2181
+ */
2182
+ async listShipmentItems(inboundPlanId, shipmentId, pageSize, paginationToken, options) {
2183
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listShipmentItems(inboundPlanId, shipmentId, pageSize, paginationToken, options);
2184
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2185
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listShipmentItems"]?.[localVarOperationServerIndex]?.url;
2186
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2187
+ },
2188
+ /**
2189
+ * Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.
2190
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2191
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2192
+ * @param {number} [pageSize] The number of pallets to return in the response matching the given query.
2193
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2194
+ * @param {*} [options] Override http request option.
2195
+ * @throws {RequiredError}
2196
+ */
2197
+ async listShipmentPallets(inboundPlanId, shipmentId, pageSize, paginationToken, options) {
2198
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listShipmentPallets(inboundPlanId, shipmentId, pageSize, paginationToken, options);
2199
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2200
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listShipmentPallets"]?.[localVarOperationServerIndex]?.url;
2201
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2202
+ },
2203
+ /**
2204
+ * Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available.
2205
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2206
+ * @param {number} [pageSize] The number of transportation options to return in the response matching the given query.
2207
+ * @param {string} [paginationToken] A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2208
+ * @param {string} [placementOptionId] The placement option to get transportation options for. Either &#x60;placementOptionId&#x60; or &#x60;shipmentId&#x60; must be specified.
2209
+ * @param {string} [shipmentId] The shipment to get transportation options for. Either &#x60;placementOptionId&#x60; or &#x60;shipmentId&#x60; must be specified.
2210
+ * @param {*} [options] Override http request option.
2211
+ * @throws {RequiredError}
2212
+ */
2213
+ async listTransportationOptions(inboundPlanId, pageSize, paginationToken, placementOptionId, shipmentId, options) {
2214
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTransportationOptions(inboundPlanId, pageSize, paginationToken, placementOptionId, shipmentId, options);
2215
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2216
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.listTransportationOptions"]?.[localVarOperationServerIndex]?.url;
2217
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2218
+ },
2219
+ /**
2220
+ * Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
2221
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2222
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2223
+ * @param {string} slotId An identifier to a self-ship appointment slot.
2224
+ * @param {ScheduleSelfShipAppointmentRequest} body The body of the request to &#x60;scheduleSelfShipAppointment&#x60;.
2225
+ * @param {*} [options] Override http request option.
2226
+ * @throws {RequiredError}
2227
+ */
2228
+ async scheduleSelfShipAppointment(inboundPlanId, shipmentId, slotId, body, options) {
2229
+ const localVarAxiosArgs = await localVarAxiosParamCreator.scheduleSelfShipAppointment(inboundPlanId, shipmentId, slotId, body, options);
2230
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2231
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.scheduleSelfShipAppointment"]?.[localVarOperationServerIndex]?.url;
2232
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2233
+ },
2234
+ /**
2235
+ * Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates.
2236
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2237
+ * @param {SetPackingInformationRequest} body The body of the request to &#x60;setPackingInformation&#x60;.
2238
+ * @param {*} [options] Override http request option.
2239
+ * @throws {RequiredError}
2240
+ */
2241
+ async setPackingInformation(inboundPlanId, body, options) {
2242
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setPackingInformation(inboundPlanId, body, options);
2243
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2244
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.setPackingInformation"]?.[localVarOperationServerIndex]?.url;
2245
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2246
+ },
2247
+ /**
2248
+ * Set the preparation details for a list of MSKUs in a specified marketplace.
2249
+ * @param {SetPrepDetailsRequest} body The body of the request to &#x60;setPrepDetails&#x60;.
2250
+ * @param {*} [options] Override http request option.
2251
+ * @throws {RequiredError}
2252
+ */
2253
+ async setPrepDetails(body, options) {
2254
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setPrepDetails(body, options);
2255
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2256
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.setPrepDetails"]?.[localVarOperationServerIndex]?.url;
2257
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2258
+ },
2259
+ /**
2260
+ * Updates the name of an existing inbound plan.
2261
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2262
+ * @param {UpdateInboundPlanNameRequest} body The body of the request to &#x60;updateInboundPlanName&#x60;.
2263
+ * @param {*} [options] Override http request option.
2264
+ * @throws {RequiredError}
2265
+ */
2266
+ async updateInboundPlanName(inboundPlanId, body, options) {
2267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateInboundPlanName(inboundPlanId, body, options);
2268
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2269
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.updateInboundPlanName"]?.[localVarOperationServerIndex]?.url;
2270
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2271
+ },
2272
+ /**
2273
+ * Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation.
2274
+ * @param {string} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
2275
+ * @param {UpdateItemComplianceDetailsRequest} body The body of the request to &#x60;updateItemComplianceDetails&#x60;.
2276
+ * @param {*} [options] Override http request option.
2277
+ * @throws {RequiredError}
2278
+ */
2279
+ async updateItemComplianceDetails(marketplaceId, body, options) {
2280
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateItemComplianceDetails(marketplaceId, body, options);
2281
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2282
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.updateItemComplianceDetails"]?.[localVarOperationServerIndex]?.url;
2283
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2284
+ },
2285
+ /**
2286
+ * Updates the name of an existing shipment.
2287
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2288
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2289
+ * @param {UpdateShipmentNameRequest} body The body of the request to &#x60;updateShipmentName&#x60;.
2290
+ * @param {*} [options] Override http request option.
2291
+ * @throws {RequiredError}
2292
+ */
2293
+ async updateShipmentName(inboundPlanId, shipmentId, body, options) {
2294
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipmentName(inboundPlanId, shipmentId, body, options);
2295
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2296
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.updateShipmentName"]?.[localVarOperationServerIndex]?.url;
2297
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2298
+ },
2299
+ /**
2300
+ * Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address.
2301
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2302
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2303
+ * @param {UpdateShipmentSourceAddressRequest} body The body of the request to &#x60;updateShipmentSourceAddress&#x60;.
2304
+ * @param {*} [options] Override http request option.
2305
+ * @throws {RequiredError}
2306
+ */
2307
+ async updateShipmentSourceAddress(inboundPlanId, shipmentId, body, options) {
2308
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipmentSourceAddress(inboundPlanId, shipmentId, body, options);
2309
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2310
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.updateShipmentSourceAddress"]?.[localVarOperationServerIndex]?.url;
2311
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2312
+ },
2313
+ /**
2314
+ * Updates a shipment\'s tracking details.
2315
+ * @param {string} inboundPlanId Identifier of an inbound plan.
2316
+ * @param {string} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2317
+ * @param {UpdateShipmentTrackingDetailsRequest} body The body of the request to &#x60;updateShipmentTrackingDetails&#x60;.
2318
+ * @param {*} [options] Override http request option.
2319
+ * @throws {RequiredError}
2320
+ */
2321
+ async updateShipmentTrackingDetails(inboundPlanId, shipmentId, body, options) {
2322
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipmentTrackingDetails(inboundPlanId, shipmentId, body, options);
2323
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2324
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.updateShipmentTrackingDetails"]?.[localVarOperationServerIndex]?.url;
2325
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2326
+ }
2327
+ };
2328
+ };
2329
+ /**
2330
+ * FulfillmentInboundApi - factory interface
2331
+ */
2332
+ const FulfillmentInboundApiFactory = function(configuration, basePath, axios) {
2333
+ const localVarFp = FulfillmentInboundApiFp(configuration);
2334
+ return {
2335
+ /**
2336
+ * Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments.
2337
+ * @param {FulfillmentInboundApiCancelInboundPlanRequest} requestParameters Request parameters.
2338
+ * @param {*} [options] Override http request option.
2339
+ * @throws {RequiredError}
2340
+ */
2341
+ cancelInboundPlan(requestParameters, options) {
2342
+ return localVarFp.cancelInboundPlan(requestParameters.inboundPlanId, options).then((request) => request(axios, basePath));
2343
+ },
2344
+ /**
2345
+ * Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
2346
+ * @param {FulfillmentInboundApiCancelSelfShipAppointmentRequest} requestParameters Request parameters.
2347
+ * @param {*} [options] Override http request option.
2348
+ * @throws {RequiredError}
2349
+ */
2350
+ cancelSelfShipAppointment(requestParameters, options) {
2351
+ return localVarFp.cancelSelfShipAppointment(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));
2352
+ },
2353
+ /**
2354
+ * Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation.
2355
+ * @param {FulfillmentInboundApiConfirmDeliveryWindowOptionsRequest} requestParameters Request parameters.
2356
+ * @param {*} [options] Override http request option.
2357
+ * @throws {RequiredError}
2358
+ */
2359
+ confirmDeliveryWindowOptions(requestParameters, options) {
2360
+ return localVarFp.confirmDeliveryWindowOptions(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.deliveryWindowOptionId, options).then((request) => request(axios, basePath));
2361
+ },
2362
+ /**
2363
+ * Confirms the packing option for an inbound plan.
2364
+ * @param {FulfillmentInboundApiConfirmPackingOptionRequest} requestParameters Request parameters.
2365
+ * @param {*} [options] Override http request option.
2366
+ * @throws {RequiredError}
2367
+ */
2368
+ confirmPackingOption(requestParameters, options) {
2369
+ return localVarFp.confirmPackingOption(requestParameters.inboundPlanId, requestParameters.packingOptionId, options).then((request) => request(axios, basePath));
2370
+ },
2371
+ /**
2372
+ * Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.
2373
+ * @param {FulfillmentInboundApiConfirmPlacementOptionRequest} requestParameters Request parameters.
2374
+ * @param {*} [options] Override http request option.
2375
+ * @throws {RequiredError}
2376
+ */
2377
+ confirmPlacementOption(requestParameters, options) {
2378
+ return localVarFp.confirmPlacementOption(requestParameters.inboundPlanId, requestParameters.placementOptionId, options).then((request) => request(axios, basePath));
2379
+ },
2380
+ /**
2381
+ * Confirm a shipment content update preview and accept the changes in transportation cost.
2382
+ * @param {FulfillmentInboundApiConfirmShipmentContentUpdatePreviewRequest} requestParameters Request parameters.
2383
+ * @param {*} [options] Override http request option.
2384
+ * @throws {RequiredError}
2385
+ */
2386
+ confirmShipmentContentUpdatePreview(requestParameters, options) {
2387
+ return localVarFp.confirmShipmentContentUpdatePreview(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.contentUpdatePreviewId, options).then((request) => request(axios, basePath));
2388
+ },
2389
+ /**
2390
+ * Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan.
2391
+ * @param {FulfillmentInboundApiConfirmTransportationOptionsRequest} requestParameters Request parameters.
2392
+ * @param {*} [options] Override http request option.
2393
+ * @throws {RequiredError}
2394
+ */
2395
+ confirmTransportationOptions(requestParameters, options) {
2396
+ return localVarFp.confirmTransportationOptions(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(axios, basePath));
2397
+ },
2398
+ /**
2399
+ * Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon\'s fufillment network.
2400
+ * @param {FulfillmentInboundApiCreateInboundPlanRequest} requestParameters Request parameters.
2401
+ * @param {*} [options] Override http request option.
2402
+ * @throws {RequiredError}
2403
+ */
2404
+ createInboundPlan(requestParameters, options) {
2405
+ return localVarFp.createInboundPlan(requestParameters.body, options).then((request) => request(axios, basePath));
2406
+ },
2407
+ /**
2408
+ * For a given marketplace - creates labels for a list of MSKUs.
2409
+ * @param {FulfillmentInboundApiCreateMarketplaceItemLabelsRequest} requestParameters Request parameters.
2410
+ * @param {*} [options] Override http request option.
2411
+ * @throws {RequiredError}
2412
+ */
2413
+ createMarketplaceItemLabels(requestParameters, options) {
2414
+ return localVarFp.createMarketplaceItemLabels(requestParameters.body, options).then((request) => request(axios, basePath));
2415
+ },
2416
+ /**
2417
+ * Generates available delivery window options for a given shipment.
2418
+ * @param {FulfillmentInboundApiGenerateDeliveryWindowOptionsRequest} requestParameters Request parameters.
2419
+ * @param {*} [options] Override http request option.
2420
+ * @throws {RequiredError}
2421
+ */
2422
+ generateDeliveryWindowOptions(requestParameters, options) {
2423
+ return localVarFp.generateDeliveryWindowOptions(requestParameters.inboundPlanId, requestParameters.shipmentId, options).then((request) => request(axios, basePath));
2424
+ },
2425
+ /**
2426
+ * Generates available packing options for the inbound plan.
2427
+ * @param {FulfillmentInboundApiGeneratePackingOptionsRequest} requestParameters Request parameters.
2428
+ * @param {*} [options] Override http request option.
2429
+ * @throws {RequiredError}
2430
+ */
2431
+ generatePackingOptions(requestParameters, options) {
2432
+ return localVarFp.generatePackingOptions(requestParameters.inboundPlanId, options).then((request) => request(axios, basePath));
2433
+ },
2434
+ /**
2435
+ * Generates placement options for the inbound plan.
2436
+ * @param {FulfillmentInboundApiGeneratePlacementOptionsRequest} requestParameters Request parameters.
2437
+ * @param {*} [options] Override http request option.
2438
+ * @throws {RequiredError}
2439
+ */
2440
+ generatePlacementOptions(requestParameters, options) {
2441
+ return localVarFp.generatePlacementOptions(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(axios, basePath));
2442
+ },
2443
+ /**
2444
+ * Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
2445
+ * @param {FulfillmentInboundApiGenerateSelfShipAppointmentSlotsRequest} requestParameters Request parameters.
2446
+ * @param {*} [options] Override http request option.
2447
+ * @throws {RequiredError}
2448
+ */
2449
+ generateSelfShipAppointmentSlots(requestParameters, options) {
2450
+ return localVarFp.generateSelfShipAppointmentSlots(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));
2451
+ },
2452
+ /**
2453
+ * Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation.
2454
+ * @param {FulfillmentInboundApiGenerateShipmentContentUpdatePreviewsRequest} requestParameters Request parameters.
2455
+ * @param {*} [options] Override http request option.
2456
+ * @throws {RequiredError}
2457
+ */
2458
+ generateShipmentContentUpdatePreviews(requestParameters, options) {
2459
+ return localVarFp.generateShipmentContentUpdatePreviews(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));
2460
+ },
2461
+ /**
2462
+ * Generates available transportation options for a given placement option.
2463
+ * @param {FulfillmentInboundApiGenerateTransportationOptionsRequest} requestParameters Request parameters.
2464
+ * @param {*} [options] Override http request option.
2465
+ * @throws {RequiredError}
2466
+ */
2467
+ generateTransportationOptions(requestParameters, options) {
2468
+ return localVarFp.generateTransportationOptions(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(axios, basePath));
2469
+ },
2470
+ /**
2471
+ * Provide delivery challan document for PCP transportation in IN marketplace.
2472
+ * @param {FulfillmentInboundApiGetDeliveryChallanDocumentRequest} requestParameters Request parameters.
2473
+ * @param {*} [options] Override http request option.
2474
+ * @throws {RequiredError}
2475
+ */
2476
+ getDeliveryChallanDocument(requestParameters, options) {
2477
+ return localVarFp.getDeliveryChallanDocument(requestParameters.inboundPlanId, requestParameters.shipmentId, options).then((request) => request(axios, basePath));
2478
+ },
2479
+ /**
2480
+ * Gets the status of the processing of an asynchronous API call.
2481
+ * @param {FulfillmentInboundApiGetInboundOperationStatusRequest} requestParameters Request parameters.
2482
+ * @param {*} [options] Override http request option.
2483
+ * @throws {RequiredError}
2484
+ */
2485
+ getInboundOperationStatus(requestParameters, options) {
2486
+ return localVarFp.getInboundOperationStatus(requestParameters.operationId, options).then((request) => request(axios, basePath));
2487
+ },
2488
+ /**
2489
+ * Fetches the top level information about an inbound plan.
2490
+ * @param {FulfillmentInboundApiGetInboundPlanRequest} requestParameters Request parameters.
2491
+ * @param {*} [options] Override http request option.
2492
+ * @throws {RequiredError}
2493
+ */
2494
+ getInboundPlan(requestParameters, options) {
2495
+ return localVarFp.getInboundPlan(requestParameters.inboundPlanId, options).then((request) => request(axios, basePath));
2496
+ },
2497
+ /**
2498
+ * Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
2499
+ * @param {FulfillmentInboundApiGetSelfShipAppointmentSlotsRequest} requestParameters Request parameters.
2500
+ * @param {*} [options] Override http request option.
2501
+ * @throws {RequiredError}
2502
+ */
2503
+ getSelfShipAppointmentSlots(requestParameters, options) {
2504
+ return localVarFp.getSelfShipAppointmentSlots(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2505
+ },
2506
+ /**
2507
+ * Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment.
2508
+ * @param {FulfillmentInboundApiGetShipmentRequest} requestParameters Request parameters.
2509
+ * @param {*} [options] Override http request option.
2510
+ * @throws {RequiredError}
2511
+ */
2512
+ getShipment(requestParameters, options) {
2513
+ return localVarFp.getShipment(requestParameters.inboundPlanId, requestParameters.shipmentId, options).then((request) => request(axios, basePath));
2514
+ },
2515
+ /**
2516
+ * Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.
2517
+ * @param {FulfillmentInboundApiGetShipmentContentUpdatePreviewRequest} requestParameters Request parameters.
2518
+ * @param {*} [options] Override http request option.
2519
+ * @throws {RequiredError}
2520
+ */
2521
+ getShipmentContentUpdatePreview(requestParameters, options) {
2522
+ return localVarFp.getShipmentContentUpdatePreview(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.contentUpdatePreviewId, options).then((request) => request(axios, basePath));
2523
+ },
2524
+ /**
2525
+ * Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available.
2526
+ * @param {FulfillmentInboundApiListDeliveryWindowOptionsRequest} requestParameters Request parameters.
2527
+ * @param {*} [options] Override http request option.
2528
+ * @throws {RequiredError}
2529
+ */
2530
+ listDeliveryWindowOptions(requestParameters, options) {
2531
+ return localVarFp.listDeliveryWindowOptions(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2532
+ },
2533
+ /**
2534
+ * Provides a paginated list of box packages in an inbound plan.
2535
+ * @param {FulfillmentInboundApiListInboundPlanBoxesRequest} requestParameters Request parameters.
2536
+ * @param {*} [options] Override http request option.
2537
+ * @throws {RequiredError}
2538
+ */
2539
+ listInboundPlanBoxes(requestParameters, options) {
2540
+ return localVarFp.listInboundPlanBoxes(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2541
+ },
2542
+ /**
2543
+ * Provides a paginated list of item packages in an inbound plan.
2544
+ * @param {FulfillmentInboundApiListInboundPlanItemsRequest} requestParameters Request parameters.
2545
+ * @param {*} [options] Override http request option.
2546
+ * @throws {RequiredError}
2547
+ */
2548
+ listInboundPlanItems(requestParameters, options) {
2549
+ return localVarFp.listInboundPlanItems(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2550
+ },
2551
+ /**
2552
+ * Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.
2553
+ * @param {FulfillmentInboundApiListInboundPlanPalletsRequest} requestParameters Request parameters.
2554
+ * @param {*} [options] Override http request option.
2555
+ * @throws {RequiredError}
2556
+ */
2557
+ listInboundPlanPallets(requestParameters, options) {
2558
+ return localVarFp.listInboundPlanPallets(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2559
+ },
2560
+ /**
2561
+ * Provides a list of inbound plans with minimal information.
2562
+ * @param {FulfillmentInboundApiListInboundPlansRequest} requestParameters Request parameters.
2563
+ * @param {*} [options] Override http request option.
2564
+ * @throws {RequiredError}
2565
+ */
2566
+ listInboundPlans(requestParameters = {}, options) {
2567
+ return localVarFp.listInboundPlans(requestParameters.pageSize, requestParameters.paginationToken, requestParameters.status, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
2568
+ },
2569
+ /**
2570
+ * List the inbound compliance details for MSKUs in a given marketplace. **Note:** MSKUs that contain certain characters must be encoded. For more information, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). The following characters must be double percent encoded: - `%` - `+` - `,` **Examples:** An MSKU value of `test%msku` is encoded as `test%2525msku`. An MSKU value of `test,msku` is encoded as `test%252Cmsku`.
2571
+ * @param {FulfillmentInboundApiListItemComplianceDetailsRequest} requestParameters Request parameters.
2572
+ * @param {*} [options] Override http request option.
2573
+ * @throws {RequiredError}
2574
+ */
2575
+ listItemComplianceDetails(requestParameters, options) {
2576
+ return localVarFp.listItemComplianceDetails(requestParameters.mskus, requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
2577
+ },
2578
+ /**
2579
+ * Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits.
2580
+ * @param {FulfillmentInboundApiListPackingGroupBoxesRequest} requestParameters Request parameters.
2581
+ * @param {*} [options] Override http request option.
2582
+ * @throws {RequiredError}
2583
+ */
2584
+ listPackingGroupBoxes(requestParameters, options) {
2585
+ return localVarFp.listPackingGroupBoxes(requestParameters.inboundPlanId, requestParameters.packingGroupId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2586
+ },
2587
+ /**
2588
+ * Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed.
2589
+ * @param {FulfillmentInboundApiListPackingGroupItemsRequest} requestParameters Request parameters.
2590
+ * @param {*} [options] Override http request option.
2591
+ * @throws {RequiredError}
2592
+ */
2593
+ listPackingGroupItems(requestParameters, options) {
2594
+ return localVarFp.listPackingGroupItems(requestParameters.inboundPlanId, requestParameters.packingGroupId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2595
+ },
2596
+ /**
2597
+ * Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.
2598
+ * @param {FulfillmentInboundApiListPackingOptionsRequest} requestParameters Request parameters.
2599
+ * @param {*} [options] Override http request option.
2600
+ * @throws {RequiredError}
2601
+ */
2602
+ listPackingOptions(requestParameters, options) {
2603
+ return localVarFp.listPackingOptions(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2604
+ },
2605
+ /**
2606
+ * Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.
2607
+ * @param {FulfillmentInboundApiListPlacementOptionsRequest} requestParameters Request parameters.
2608
+ * @param {*} [options] Override http request option.
2609
+ * @throws {RequiredError}
2610
+ */
2611
+ listPlacementOptions(requestParameters, options) {
2612
+ return localVarFp.listPlacementOptions(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2613
+ },
2614
+ /**
2615
+ * Get preparation details for a list of MSKUs in a specified marketplace.\\n\\n**Note:** MSKUs that contain certain characters must be encoded. For more information, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).\\n\\nThe following characters must be double percent encoded:\\n\\n- `%`\\n- `+`\\n- `,`\\n\\n**Examples:** An MSKU value of `test%msku` is encoded as `test%2525msku`. An MSKU value of `test,msku` is encoded as `test%252Cmsku`.
2616
+ * @param {FulfillmentInboundApiListPrepDetailsRequest} requestParameters Request parameters.
2617
+ * @param {*} [options] Override http request option.
2618
+ * @throws {RequiredError}
2619
+ */
2620
+ listPrepDetails(requestParameters, options) {
2621
+ return localVarFp.listPrepDetails(requestParameters.marketplaceId, requestParameters.mskus, options).then((request) => request(axios, basePath));
2622
+ },
2623
+ /**
2624
+ * Provides a paginated list of box packages in a shipment.
2625
+ * @param {FulfillmentInboundApiListShipmentBoxesRequest} requestParameters Request parameters.
2626
+ * @param {*} [options] Override http request option.
2627
+ * @throws {RequiredError}
2628
+ */
2629
+ listShipmentBoxes(requestParameters, options) {
2630
+ return localVarFp.listShipmentBoxes(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2631
+ },
2632
+ /**
2633
+ * Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.
2634
+ * @param {FulfillmentInboundApiListShipmentContentUpdatePreviewsRequest} requestParameters Request parameters.
2635
+ * @param {*} [options] Override http request option.
2636
+ * @throws {RequiredError}
2637
+ */
2638
+ listShipmentContentUpdatePreviews(requestParameters, options) {
2639
+ return localVarFp.listShipmentContentUpdatePreviews(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2640
+ },
2641
+ /**
2642
+ * Provides a paginated list of item packages in a shipment.
2643
+ * @param {FulfillmentInboundApiListShipmentItemsRequest} requestParameters Request parameters.
2644
+ * @param {*} [options] Override http request option.
2645
+ * @throws {RequiredError}
2646
+ */
2647
+ listShipmentItems(requestParameters, options) {
2648
+ return localVarFp.listShipmentItems(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2649
+ },
2650
+ /**
2651
+ * Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.
2652
+ * @param {FulfillmentInboundApiListShipmentPalletsRequest} requestParameters Request parameters.
2653
+ * @param {*} [options] Override http request option.
2654
+ * @throws {RequiredError}
2655
+ */
2656
+ listShipmentPallets(requestParameters, options) {
2657
+ return localVarFp.listShipmentPallets(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(axios, basePath));
2658
+ },
2659
+ /**
2660
+ * Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available.
2661
+ * @param {FulfillmentInboundApiListTransportationOptionsRequest} requestParameters Request parameters.
2662
+ * @param {*} [options] Override http request option.
2663
+ * @throws {RequiredError}
2664
+ */
2665
+ listTransportationOptions(requestParameters, options) {
2666
+ return localVarFp.listTransportationOptions(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, requestParameters.placementOptionId, requestParameters.shipmentId, options).then((request) => request(axios, basePath));
2667
+ },
2668
+ /**
2669
+ * Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
2670
+ * @param {FulfillmentInboundApiScheduleSelfShipAppointmentRequest} requestParameters Request parameters.
2671
+ * @param {*} [options] Override http request option.
2672
+ * @throws {RequiredError}
2673
+ */
2674
+ scheduleSelfShipAppointment(requestParameters, options) {
2675
+ return localVarFp.scheduleSelfShipAppointment(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.slotId, requestParameters.body, options).then((request) => request(axios, basePath));
2676
+ },
2677
+ /**
2678
+ * Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates.
2679
+ * @param {FulfillmentInboundApiSetPackingInformationRequest} requestParameters Request parameters.
2680
+ * @param {*} [options] Override http request option.
2681
+ * @throws {RequiredError}
2682
+ */
2683
+ setPackingInformation(requestParameters, options) {
2684
+ return localVarFp.setPackingInformation(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(axios, basePath));
2685
+ },
2686
+ /**
2687
+ * Set the preparation details for a list of MSKUs in a specified marketplace.
2688
+ * @param {FulfillmentInboundApiSetPrepDetailsRequest} requestParameters Request parameters.
2689
+ * @param {*} [options] Override http request option.
2690
+ * @throws {RequiredError}
2691
+ */
2692
+ setPrepDetails(requestParameters, options) {
2693
+ return localVarFp.setPrepDetails(requestParameters.body, options).then((request) => request(axios, basePath));
2694
+ },
2695
+ /**
2696
+ * Updates the name of an existing inbound plan.
2697
+ * @param {FulfillmentInboundApiUpdateInboundPlanNameRequest} requestParameters Request parameters.
2698
+ * @param {*} [options] Override http request option.
2699
+ * @throws {RequiredError}
2700
+ */
2701
+ updateInboundPlanName(requestParameters, options) {
2702
+ return localVarFp.updateInboundPlanName(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(axios, basePath));
2703
+ },
2704
+ /**
2705
+ * Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation.
2706
+ * @param {FulfillmentInboundApiUpdateItemComplianceDetailsRequest} requestParameters Request parameters.
2707
+ * @param {*} [options] Override http request option.
2708
+ * @throws {RequiredError}
2709
+ */
2710
+ updateItemComplianceDetails(requestParameters, options) {
2711
+ return localVarFp.updateItemComplianceDetails(requestParameters.marketplaceId, requestParameters.body, options).then((request) => request(axios, basePath));
2712
+ },
2713
+ /**
2714
+ * Updates the name of an existing shipment.
2715
+ * @param {FulfillmentInboundApiUpdateShipmentNameRequest} requestParameters Request parameters.
2716
+ * @param {*} [options] Override http request option.
2717
+ * @throws {RequiredError}
2718
+ */
2719
+ updateShipmentName(requestParameters, options) {
2720
+ return localVarFp.updateShipmentName(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));
2721
+ },
2722
+ /**
2723
+ * Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address.
2724
+ * @param {FulfillmentInboundApiUpdateShipmentSourceAddressRequest} requestParameters Request parameters.
2725
+ * @param {*} [options] Override http request option.
2726
+ * @throws {RequiredError}
2727
+ */
2728
+ updateShipmentSourceAddress(requestParameters, options) {
2729
+ return localVarFp.updateShipmentSourceAddress(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));
2730
+ },
2731
+ /**
2732
+ * Updates a shipment\'s tracking details.
2733
+ * @param {FulfillmentInboundApiUpdateShipmentTrackingDetailsRequest} requestParameters Request parameters.
2734
+ * @param {*} [options] Override http request option.
2735
+ * @throws {RequiredError}
2736
+ */
2737
+ updateShipmentTrackingDetails(requestParameters, options) {
2738
+ return localVarFp.updateShipmentTrackingDetails(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));
2739
+ }
2740
+ };
2741
+ };
2742
+ /**
2743
+ * FulfillmentInboundApi - object-oriented interface
2744
+ */
2745
+ var FulfillmentInboundApi = class extends BaseAPI {
2746
+ /**
2747
+ * Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments.
2748
+ * @param {FulfillmentInboundApiCancelInboundPlanRequest} requestParameters Request parameters.
2749
+ * @param {*} [options] Override http request option.
2750
+ * @throws {RequiredError}
2751
+ */
2752
+ cancelInboundPlan(requestParameters, options) {
2753
+ return FulfillmentInboundApiFp(this.configuration).cancelInboundPlan(requestParameters.inboundPlanId, options).then((request) => request(this.axios, this.basePath));
2754
+ }
2755
+ /**
2756
+ * Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
2757
+ * @param {FulfillmentInboundApiCancelSelfShipAppointmentRequest} requestParameters Request parameters.
2758
+ * @param {*} [options] Override http request option.
2759
+ * @throws {RequiredError}
2760
+ */
2761
+ cancelSelfShipAppointment(requestParameters, options) {
2762
+ return FulfillmentInboundApiFp(this.configuration).cancelSelfShipAppointment(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2763
+ }
2764
+ /**
2765
+ * Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation.
2766
+ * @param {FulfillmentInboundApiConfirmDeliveryWindowOptionsRequest} requestParameters Request parameters.
2767
+ * @param {*} [options] Override http request option.
2768
+ * @throws {RequiredError}
2769
+ */
2770
+ confirmDeliveryWindowOptions(requestParameters, options) {
2771
+ return FulfillmentInboundApiFp(this.configuration).confirmDeliveryWindowOptions(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.deliveryWindowOptionId, options).then((request) => request(this.axios, this.basePath));
2772
+ }
2773
+ /**
2774
+ * Confirms the packing option for an inbound plan.
2775
+ * @param {FulfillmentInboundApiConfirmPackingOptionRequest} requestParameters Request parameters.
2776
+ * @param {*} [options] Override http request option.
2777
+ * @throws {RequiredError}
2778
+ */
2779
+ confirmPackingOption(requestParameters, options) {
2780
+ return FulfillmentInboundApiFp(this.configuration).confirmPackingOption(requestParameters.inboundPlanId, requestParameters.packingOptionId, options).then((request) => request(this.axios, this.basePath));
2781
+ }
2782
+ /**
2783
+ * Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.
2784
+ * @param {FulfillmentInboundApiConfirmPlacementOptionRequest} requestParameters Request parameters.
2785
+ * @param {*} [options] Override http request option.
2786
+ * @throws {RequiredError}
2787
+ */
2788
+ confirmPlacementOption(requestParameters, options) {
2789
+ return FulfillmentInboundApiFp(this.configuration).confirmPlacementOption(requestParameters.inboundPlanId, requestParameters.placementOptionId, options).then((request) => request(this.axios, this.basePath));
2790
+ }
2791
+ /**
2792
+ * Confirm a shipment content update preview and accept the changes in transportation cost.
2793
+ * @param {FulfillmentInboundApiConfirmShipmentContentUpdatePreviewRequest} requestParameters Request parameters.
2794
+ * @param {*} [options] Override http request option.
2795
+ * @throws {RequiredError}
2796
+ */
2797
+ confirmShipmentContentUpdatePreview(requestParameters, options) {
2798
+ return FulfillmentInboundApiFp(this.configuration).confirmShipmentContentUpdatePreview(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.contentUpdatePreviewId, options).then((request) => request(this.axios, this.basePath));
2799
+ }
2800
+ /**
2801
+ * Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan.
2802
+ * @param {FulfillmentInboundApiConfirmTransportationOptionsRequest} requestParameters Request parameters.
2803
+ * @param {*} [options] Override http request option.
2804
+ * @throws {RequiredError}
2805
+ */
2806
+ confirmTransportationOptions(requestParameters, options) {
2807
+ return FulfillmentInboundApiFp(this.configuration).confirmTransportationOptions(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2808
+ }
2809
+ /**
2810
+ * Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon\'s fufillment network.
2811
+ * @param {FulfillmentInboundApiCreateInboundPlanRequest} requestParameters Request parameters.
2812
+ * @param {*} [options] Override http request option.
2813
+ * @throws {RequiredError}
2814
+ */
2815
+ createInboundPlan(requestParameters, options) {
2816
+ return FulfillmentInboundApiFp(this.configuration).createInboundPlan(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2817
+ }
2818
+ /**
2819
+ * For a given marketplace - creates labels for a list of MSKUs.
2820
+ * @param {FulfillmentInboundApiCreateMarketplaceItemLabelsRequest} requestParameters Request parameters.
2821
+ * @param {*} [options] Override http request option.
2822
+ * @throws {RequiredError}
2823
+ */
2824
+ createMarketplaceItemLabels(requestParameters, options) {
2825
+ return FulfillmentInboundApiFp(this.configuration).createMarketplaceItemLabels(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2826
+ }
2827
+ /**
2828
+ * Generates available delivery window options for a given shipment.
2829
+ * @param {FulfillmentInboundApiGenerateDeliveryWindowOptionsRequest} requestParameters Request parameters.
2830
+ * @param {*} [options] Override http request option.
2831
+ * @throws {RequiredError}
2832
+ */
2833
+ generateDeliveryWindowOptions(requestParameters, options) {
2834
+ return FulfillmentInboundApiFp(this.configuration).generateDeliveryWindowOptions(requestParameters.inboundPlanId, requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
2835
+ }
2836
+ /**
2837
+ * Generates available packing options for the inbound plan.
2838
+ * @param {FulfillmentInboundApiGeneratePackingOptionsRequest} requestParameters Request parameters.
2839
+ * @param {*} [options] Override http request option.
2840
+ * @throws {RequiredError}
2841
+ */
2842
+ generatePackingOptions(requestParameters, options) {
2843
+ return FulfillmentInboundApiFp(this.configuration).generatePackingOptions(requestParameters.inboundPlanId, options).then((request) => request(this.axios, this.basePath));
2844
+ }
2845
+ /**
2846
+ * Generates placement options for the inbound plan.
2847
+ * @param {FulfillmentInboundApiGeneratePlacementOptionsRequest} requestParameters Request parameters.
2848
+ * @param {*} [options] Override http request option.
2849
+ * @throws {RequiredError}
2850
+ */
2851
+ generatePlacementOptions(requestParameters, options) {
2852
+ return FulfillmentInboundApiFp(this.configuration).generatePlacementOptions(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2853
+ }
2854
+ /**
2855
+ * Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
2856
+ * @param {FulfillmentInboundApiGenerateSelfShipAppointmentSlotsRequest} requestParameters Request parameters.
2857
+ * @param {*} [options] Override http request option.
2858
+ * @throws {RequiredError}
2859
+ */
2860
+ generateSelfShipAppointmentSlots(requestParameters, options) {
2861
+ return FulfillmentInboundApiFp(this.configuration).generateSelfShipAppointmentSlots(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2862
+ }
2863
+ /**
2864
+ * Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation.
2865
+ * @param {FulfillmentInboundApiGenerateShipmentContentUpdatePreviewsRequest} requestParameters Request parameters.
2866
+ * @param {*} [options] Override http request option.
2867
+ * @throws {RequiredError}
2868
+ */
2869
+ generateShipmentContentUpdatePreviews(requestParameters, options) {
2870
+ return FulfillmentInboundApiFp(this.configuration).generateShipmentContentUpdatePreviews(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2871
+ }
2872
+ /**
2873
+ * Generates available transportation options for a given placement option.
2874
+ * @param {FulfillmentInboundApiGenerateTransportationOptionsRequest} requestParameters Request parameters.
2875
+ * @param {*} [options] Override http request option.
2876
+ * @throws {RequiredError}
2877
+ */
2878
+ generateTransportationOptions(requestParameters, options) {
2879
+ return FulfillmentInboundApiFp(this.configuration).generateTransportationOptions(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2880
+ }
2881
+ /**
2882
+ * Provide delivery challan document for PCP transportation in IN marketplace.
2883
+ * @param {FulfillmentInboundApiGetDeliveryChallanDocumentRequest} requestParameters Request parameters.
2884
+ * @param {*} [options] Override http request option.
2885
+ * @throws {RequiredError}
2886
+ */
2887
+ getDeliveryChallanDocument(requestParameters, options) {
2888
+ return FulfillmentInboundApiFp(this.configuration).getDeliveryChallanDocument(requestParameters.inboundPlanId, requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
2889
+ }
2890
+ /**
2891
+ * Gets the status of the processing of an asynchronous API call.
2892
+ * @param {FulfillmentInboundApiGetInboundOperationStatusRequest} requestParameters Request parameters.
2893
+ * @param {*} [options] Override http request option.
2894
+ * @throws {RequiredError}
2895
+ */
2896
+ getInboundOperationStatus(requestParameters, options) {
2897
+ return FulfillmentInboundApiFp(this.configuration).getInboundOperationStatus(requestParameters.operationId, options).then((request) => request(this.axios, this.basePath));
2898
+ }
2899
+ /**
2900
+ * Fetches the top level information about an inbound plan.
2901
+ * @param {FulfillmentInboundApiGetInboundPlanRequest} requestParameters Request parameters.
2902
+ * @param {*} [options] Override http request option.
2903
+ * @throws {RequiredError}
2904
+ */
2905
+ getInboundPlan(requestParameters, options) {
2906
+ return FulfillmentInboundApiFp(this.configuration).getInboundPlan(requestParameters.inboundPlanId, options).then((request) => request(this.axios, this.basePath));
2907
+ }
2908
+ /**
2909
+ * Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
2910
+ * @param {FulfillmentInboundApiGetSelfShipAppointmentSlotsRequest} requestParameters Request parameters.
2911
+ * @param {*} [options] Override http request option.
2912
+ * @throws {RequiredError}
2913
+ */
2914
+ getSelfShipAppointmentSlots(requestParameters, options) {
2915
+ return FulfillmentInboundApiFp(this.configuration).getSelfShipAppointmentSlots(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
2916
+ }
2917
+ /**
2918
+ * Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment.
2919
+ * @param {FulfillmentInboundApiGetShipmentRequest} requestParameters Request parameters.
2920
+ * @param {*} [options] Override http request option.
2921
+ * @throws {RequiredError}
2922
+ */
2923
+ getShipment(requestParameters, options) {
2924
+ return FulfillmentInboundApiFp(this.configuration).getShipment(requestParameters.inboundPlanId, requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
2925
+ }
2926
+ /**
2927
+ * Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.
2928
+ * @param {FulfillmentInboundApiGetShipmentContentUpdatePreviewRequest} requestParameters Request parameters.
2929
+ * @param {*} [options] Override http request option.
2930
+ * @throws {RequiredError}
2931
+ */
2932
+ getShipmentContentUpdatePreview(requestParameters, options) {
2933
+ return FulfillmentInboundApiFp(this.configuration).getShipmentContentUpdatePreview(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.contentUpdatePreviewId, options).then((request) => request(this.axios, this.basePath));
2934
+ }
2935
+ /**
2936
+ * Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available.
2937
+ * @param {FulfillmentInboundApiListDeliveryWindowOptionsRequest} requestParameters Request parameters.
2938
+ * @param {*} [options] Override http request option.
2939
+ * @throws {RequiredError}
2940
+ */
2941
+ listDeliveryWindowOptions(requestParameters, options) {
2942
+ return FulfillmentInboundApiFp(this.configuration).listDeliveryWindowOptions(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
2943
+ }
2944
+ /**
2945
+ * Provides a paginated list of box packages in an inbound plan.
2946
+ * @param {FulfillmentInboundApiListInboundPlanBoxesRequest} requestParameters Request parameters.
2947
+ * @param {*} [options] Override http request option.
2948
+ * @throws {RequiredError}
2949
+ */
2950
+ listInboundPlanBoxes(requestParameters, options) {
2951
+ return FulfillmentInboundApiFp(this.configuration).listInboundPlanBoxes(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
2952
+ }
2953
+ /**
2954
+ * Provides a paginated list of item packages in an inbound plan.
2955
+ * @param {FulfillmentInboundApiListInboundPlanItemsRequest} requestParameters Request parameters.
2956
+ * @param {*} [options] Override http request option.
2957
+ * @throws {RequiredError}
2958
+ */
2959
+ listInboundPlanItems(requestParameters, options) {
2960
+ return FulfillmentInboundApiFp(this.configuration).listInboundPlanItems(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
2961
+ }
2962
+ /**
2963
+ * Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.
2964
+ * @param {FulfillmentInboundApiListInboundPlanPalletsRequest} requestParameters Request parameters.
2965
+ * @param {*} [options] Override http request option.
2966
+ * @throws {RequiredError}
2967
+ */
2968
+ listInboundPlanPallets(requestParameters, options) {
2969
+ return FulfillmentInboundApiFp(this.configuration).listInboundPlanPallets(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
2970
+ }
2971
+ /**
2972
+ * Provides a list of inbound plans with minimal information.
2973
+ * @param {FulfillmentInboundApiListInboundPlansRequest} requestParameters Request parameters.
2974
+ * @param {*} [options] Override http request option.
2975
+ * @throws {RequiredError}
2976
+ */
2977
+ listInboundPlans(requestParameters = {}, options) {
2978
+ return FulfillmentInboundApiFp(this.configuration).listInboundPlans(requestParameters.pageSize, requestParameters.paginationToken, requestParameters.status, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
2979
+ }
2980
+ /**
2981
+ * List the inbound compliance details for MSKUs in a given marketplace. **Note:** MSKUs that contain certain characters must be encoded. For more information, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). The following characters must be double percent encoded: - `%` - `+` - `,` **Examples:** An MSKU value of `test%msku` is encoded as `test%2525msku`. An MSKU value of `test,msku` is encoded as `test%252Cmsku`.
2982
+ * @param {FulfillmentInboundApiListItemComplianceDetailsRequest} requestParameters Request parameters.
2983
+ * @param {*} [options] Override http request option.
2984
+ * @throws {RequiredError}
2985
+ */
2986
+ listItemComplianceDetails(requestParameters, options) {
2987
+ return FulfillmentInboundApiFp(this.configuration).listItemComplianceDetails(requestParameters.mskus, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
2988
+ }
2989
+ /**
2990
+ * Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits.
2991
+ * @param {FulfillmentInboundApiListPackingGroupBoxesRequest} requestParameters Request parameters.
2992
+ * @param {*} [options] Override http request option.
2993
+ * @throws {RequiredError}
2994
+ */
2995
+ listPackingGroupBoxes(requestParameters, options) {
2996
+ return FulfillmentInboundApiFp(this.configuration).listPackingGroupBoxes(requestParameters.inboundPlanId, requestParameters.packingGroupId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
2997
+ }
2998
+ /**
2999
+ * Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed.
3000
+ * @param {FulfillmentInboundApiListPackingGroupItemsRequest} requestParameters Request parameters.
3001
+ * @param {*} [options] Override http request option.
3002
+ * @throws {RequiredError}
3003
+ */
3004
+ listPackingGroupItems(requestParameters, options) {
3005
+ return FulfillmentInboundApiFp(this.configuration).listPackingGroupItems(requestParameters.inboundPlanId, requestParameters.packingGroupId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
3006
+ }
3007
+ /**
3008
+ * Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.
3009
+ * @param {FulfillmentInboundApiListPackingOptionsRequest} requestParameters Request parameters.
3010
+ * @param {*} [options] Override http request option.
3011
+ * @throws {RequiredError}
3012
+ */
3013
+ listPackingOptions(requestParameters, options) {
3014
+ return FulfillmentInboundApiFp(this.configuration).listPackingOptions(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
3015
+ }
3016
+ /**
3017
+ * Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.
3018
+ * @param {FulfillmentInboundApiListPlacementOptionsRequest} requestParameters Request parameters.
3019
+ * @param {*} [options] Override http request option.
3020
+ * @throws {RequiredError}
3021
+ */
3022
+ listPlacementOptions(requestParameters, options) {
3023
+ return FulfillmentInboundApiFp(this.configuration).listPlacementOptions(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
3024
+ }
3025
+ /**
3026
+ * Get preparation details for a list of MSKUs in a specified marketplace.\\n\\n**Note:** MSKUs that contain certain characters must be encoded. For more information, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).\\n\\nThe following characters must be double percent encoded:\\n\\n- `%`\\n- `+`\\n- `,`\\n\\n**Examples:** An MSKU value of `test%msku` is encoded as `test%2525msku`. An MSKU value of `test,msku` is encoded as `test%252Cmsku`.
3027
+ * @param {FulfillmentInboundApiListPrepDetailsRequest} requestParameters Request parameters.
3028
+ * @param {*} [options] Override http request option.
3029
+ * @throws {RequiredError}
3030
+ */
3031
+ listPrepDetails(requestParameters, options) {
3032
+ return FulfillmentInboundApiFp(this.configuration).listPrepDetails(requestParameters.marketplaceId, requestParameters.mskus, options).then((request) => request(this.axios, this.basePath));
3033
+ }
3034
+ /**
3035
+ * Provides a paginated list of box packages in a shipment.
3036
+ * @param {FulfillmentInboundApiListShipmentBoxesRequest} requestParameters Request parameters.
3037
+ * @param {*} [options] Override http request option.
3038
+ * @throws {RequiredError}
3039
+ */
3040
+ listShipmentBoxes(requestParameters, options) {
3041
+ return FulfillmentInboundApiFp(this.configuration).listShipmentBoxes(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
3042
+ }
3043
+ /**
3044
+ * Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.
3045
+ * @param {FulfillmentInboundApiListShipmentContentUpdatePreviewsRequest} requestParameters Request parameters.
3046
+ * @param {*} [options] Override http request option.
3047
+ * @throws {RequiredError}
3048
+ */
3049
+ listShipmentContentUpdatePreviews(requestParameters, options) {
3050
+ return FulfillmentInboundApiFp(this.configuration).listShipmentContentUpdatePreviews(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
3051
+ }
3052
+ /**
3053
+ * Provides a paginated list of item packages in a shipment.
3054
+ * @param {FulfillmentInboundApiListShipmentItemsRequest} requestParameters Request parameters.
3055
+ * @param {*} [options] Override http request option.
3056
+ * @throws {RequiredError}
3057
+ */
3058
+ listShipmentItems(requestParameters, options) {
3059
+ return FulfillmentInboundApiFp(this.configuration).listShipmentItems(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
3060
+ }
3061
+ /**
3062
+ * Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.
3063
+ * @param {FulfillmentInboundApiListShipmentPalletsRequest} requestParameters Request parameters.
3064
+ * @param {*} [options] Override http request option.
3065
+ * @throws {RequiredError}
3066
+ */
3067
+ listShipmentPallets(requestParameters, options) {
3068
+ return FulfillmentInboundApiFp(this.configuration).listShipmentPallets(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.pageSize, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));
3069
+ }
3070
+ /**
3071
+ * Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available.
3072
+ * @param {FulfillmentInboundApiListTransportationOptionsRequest} requestParameters Request parameters.
3073
+ * @param {*} [options] Override http request option.
3074
+ * @throws {RequiredError}
3075
+ */
3076
+ listTransportationOptions(requestParameters, options) {
3077
+ return FulfillmentInboundApiFp(this.configuration).listTransportationOptions(requestParameters.inboundPlanId, requestParameters.pageSize, requestParameters.paginationToken, requestParameters.placementOptionId, requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
3078
+ }
3079
+ /**
3080
+ * Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN.
3081
+ * @param {FulfillmentInboundApiScheduleSelfShipAppointmentRequest} requestParameters Request parameters.
3082
+ * @param {*} [options] Override http request option.
3083
+ * @throws {RequiredError}
3084
+ */
3085
+ scheduleSelfShipAppointment(requestParameters, options) {
3086
+ return FulfillmentInboundApiFp(this.configuration).scheduleSelfShipAppointment(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.slotId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3087
+ }
3088
+ /**
3089
+ * Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates.
3090
+ * @param {FulfillmentInboundApiSetPackingInformationRequest} requestParameters Request parameters.
3091
+ * @param {*} [options] Override http request option.
3092
+ * @throws {RequiredError}
3093
+ */
3094
+ setPackingInformation(requestParameters, options) {
3095
+ return FulfillmentInboundApiFp(this.configuration).setPackingInformation(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3096
+ }
3097
+ /**
3098
+ * Set the preparation details for a list of MSKUs in a specified marketplace.
3099
+ * @param {FulfillmentInboundApiSetPrepDetailsRequest} requestParameters Request parameters.
3100
+ * @param {*} [options] Override http request option.
3101
+ * @throws {RequiredError}
3102
+ */
3103
+ setPrepDetails(requestParameters, options) {
3104
+ return FulfillmentInboundApiFp(this.configuration).setPrepDetails(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3105
+ }
3106
+ /**
3107
+ * Updates the name of an existing inbound plan.
3108
+ * @param {FulfillmentInboundApiUpdateInboundPlanNameRequest} requestParameters Request parameters.
3109
+ * @param {*} [options] Override http request option.
3110
+ * @throws {RequiredError}
3111
+ */
3112
+ updateInboundPlanName(requestParameters, options) {
3113
+ return FulfillmentInboundApiFp(this.configuration).updateInboundPlanName(requestParameters.inboundPlanId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3114
+ }
3115
+ /**
3116
+ * Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation.
3117
+ * @param {FulfillmentInboundApiUpdateItemComplianceDetailsRequest} requestParameters Request parameters.
3118
+ * @param {*} [options] Override http request option.
3119
+ * @throws {RequiredError}
3120
+ */
3121
+ updateItemComplianceDetails(requestParameters, options) {
3122
+ return FulfillmentInboundApiFp(this.configuration).updateItemComplianceDetails(requestParameters.marketplaceId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3123
+ }
3124
+ /**
3125
+ * Updates the name of an existing shipment.
3126
+ * @param {FulfillmentInboundApiUpdateShipmentNameRequest} requestParameters Request parameters.
3127
+ * @param {*} [options] Override http request option.
3128
+ * @throws {RequiredError}
3129
+ */
3130
+ updateShipmentName(requestParameters, options) {
3131
+ return FulfillmentInboundApiFp(this.configuration).updateShipmentName(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3132
+ }
3133
+ /**
3134
+ * Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address.
3135
+ * @param {FulfillmentInboundApiUpdateShipmentSourceAddressRequest} requestParameters Request parameters.
3136
+ * @param {*} [options] Override http request option.
3137
+ * @throws {RequiredError}
3138
+ */
3139
+ updateShipmentSourceAddress(requestParameters, options) {
3140
+ return FulfillmentInboundApiFp(this.configuration).updateShipmentSourceAddress(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3141
+ }
3142
+ /**
3143
+ * Updates a shipment\'s tracking details.
3144
+ * @param {FulfillmentInboundApiUpdateShipmentTrackingDetailsRequest} requestParameters Request parameters.
3145
+ * @param {*} [options] Override http request option.
3146
+ * @throws {RequiredError}
3147
+ */
3148
+ updateShipmentTrackingDetails(requestParameters, options) {
3149
+ return FulfillmentInboundApiFp(this.configuration).updateShipmentTrackingDetails(requestParameters.inboundPlanId, requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3150
+ }
3151
+ };
3152
+ const ListInboundPlansStatusEnum = {
3153
+ Active: "ACTIVE",
3154
+ Voided: "VOIDED",
3155
+ Shipped: "SHIPPED"
3156
+ };
3157
+ const ListInboundPlansSortByEnum = {
3158
+ LastUpdatedTime: "LAST_UPDATED_TIME",
3159
+ CreationTime: "CREATION_TIME"
3160
+ };
3161
+ const ListInboundPlansSortOrderEnum = {
3162
+ Asc: "ASC",
3163
+ Desc: "DESC"
3164
+ };
3165
+ //#endregion
3166
+ //#region src/api-model/configuration.ts
3167
+ var Configuration = class {
3168
+ /**
3169
+ * parameter for apiKey security
3170
+ * @param name security name
3171
+ */
3172
+ apiKey;
3173
+ /**
3174
+ * parameter for basic security
3175
+ */
3176
+ username;
3177
+ /**
3178
+ * parameter for basic security
3179
+ */
3180
+ password;
3181
+ /**
3182
+ * parameter for oauth2 security
3183
+ * @param name security name
3184
+ * @param scopes oauth2 scope
3185
+ */
3186
+ accessToken;
3187
+ /**
3188
+ * parameter for aws4 signature security
3189
+ * @param {Object} AWS4Signature - AWS4 Signature security
3190
+ * @param {string} options.region - aws region
3191
+ * @param {string} options.service - name of the service.
3192
+ * @param {string} credentials.accessKeyId - aws access key id
3193
+ * @param {string} credentials.secretAccessKey - aws access key
3194
+ * @param {string} credentials.sessionToken - aws session token
3195
+ * @memberof Configuration
3196
+ */
3197
+ awsv4;
3198
+ /**
3199
+ * override base path
3200
+ */
3201
+ basePath;
3202
+ /**
3203
+ * override server index
3204
+ */
3205
+ serverIndex;
3206
+ /**
3207
+ * base options for axios calls
3208
+ */
3209
+ baseOptions;
3210
+ /**
3211
+ * The FormData constructor that will be used to create multipart form data
3212
+ * requests. You can inject this here so that execution environments that
3213
+ * do not support the FormData class can still run the generated client.
3214
+ *
3215
+ * @type {new () => FormData}
3216
+ */
3217
+ formDataCtor;
3218
+ constructor(param = {}) {
3219
+ this.apiKey = param.apiKey;
3220
+ this.username = param.username;
3221
+ this.password = param.password;
3222
+ this.accessToken = param.accessToken;
3223
+ this.awsv4 = param.awsv4;
3224
+ this.basePath = param.basePath;
3225
+ this.serverIndex = param.serverIndex;
3226
+ this.baseOptions = {
3227
+ ...param.baseOptions,
3228
+ headers: { ...param.baseOptions?.headers }
3229
+ };
3230
+ this.formDataCtor = param.formDataCtor;
3231
+ }
3232
+ /**
3233
+ * Check if the given MIME is a JSON MIME.
3234
+ * JSON MIME examples:
3235
+ * application/json
3236
+ * application/json; charset=UTF8
3237
+ * APPLICATION/JSON
3238
+ * application/vnd.company+json
3239
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
3240
+ * @return True if the given MIME is JSON, false otherwise.
3241
+ */
3242
+ isJsonMime(mime) {
3243
+ return mime !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(mime);
3244
+ }
3245
+ };
3246
+ //#endregion
3247
+ //#region src/api-model/models/all-owners-constraint.ts
3248
+ /**
3249
+ * The Selling Partner API for FBA inbound operations.
3250
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3251
+ *
3252
+ * The version of the OpenAPI document: 2024-03-20
3253
+ *
3254
+ *
3255
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3256
+ * https://openapi-generator.tech
3257
+ * Do not edit the class manually.
3258
+ */
3259
+ /**
3260
+ * A constraint that applies to all owners. If no constraint is specified, defer to any individual owner constraints.
3261
+ */
3262
+ const AllOwnersConstraint = { MustMatch: "MUST_MATCH" };
3263
+ //#endregion
3264
+ //#region src/api-model/models/box-content-information-source.ts
3265
+ /**
3266
+ * The Selling Partner API for FBA inbound operations.
3267
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3268
+ *
3269
+ * The version of the OpenAPI document: 2024-03-20
3270
+ *
3271
+ *
3272
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3273
+ * https://openapi-generator.tech
3274
+ * Do not edit the class manually.
3275
+ */
3276
+ /**
3277
+ * Indication of how box content is meant to be provided.
3278
+ */
3279
+ const BoxContentInformationSource = {
3280
+ BoxContentProvided: "BOX_CONTENT_PROVIDED",
3281
+ ManualProcess: "MANUAL_PROCESS",
3282
+ Barcode2D: "BARCODE_2D"
3283
+ };
3284
+ //#endregion
3285
+ //#region src/api-model/models/item-label-page-type.ts
3286
+ /**
3287
+ * The Selling Partner API for FBA inbound operations.
3288
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3289
+ *
3290
+ * The version of the OpenAPI document: 2024-03-20
3291
+ *
3292
+ *
3293
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3294
+ * https://openapi-generator.tech
3295
+ * Do not edit the class manually.
3296
+ */
3297
+ /**
3298
+ * The page type to use to print the labels. Possible values: \'A4_21\', \'A4_24\', \'A4_24_64x33\', \'A4_24_66x35\', \'A4_24_70x36\', \'A4_24_70x37\', \'A4_24i\', \'A4_27\', \'A4_40_52x29\', \'A4_44_48x25\', \'Letter_30\'.
3299
+ */
3300
+ const ItemLabelPageType = {
3301
+ A421: "A4_21",
3302
+ A424: "A4_24",
3303
+ A42464x33: "A4_24_64x33",
3304
+ A42466x35: "A4_24_66x35",
3305
+ A42470x36: "A4_24_70x36",
3306
+ A42470x37: "A4_24_70x37",
3307
+ A424i: "A4_24i",
3308
+ A427: "A4_27",
3309
+ A44052x29: "A4_40_52x29",
3310
+ A44448x25: "A4_44_48x25",
3311
+ Letter30: "Letter_30"
3312
+ };
3313
+ //#endregion
3314
+ //#region src/api-model/models/label-owner.ts
3315
+ /**
3316
+ * The Selling Partner API for FBA inbound operations.
3317
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3318
+ *
3319
+ * The version of the OpenAPI document: 2024-03-20
3320
+ *
3321
+ *
3322
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3323
+ * https://openapi-generator.tech
3324
+ * Do not edit the class manually.
3325
+ */
3326
+ /**
3327
+ * Specifies who will label the items. Options include `AMAZON`, `SELLER` or `NONE`.
3328
+ */
3329
+ const LabelOwner = {
3330
+ Amazon: "AMAZON",
3331
+ Seller: "SELLER",
3332
+ None: "NONE"
3333
+ };
3334
+ //#endregion
3335
+ //#region src/api-model/models/label-print-type.ts
3336
+ /**
3337
+ * The Selling Partner API for FBA inbound operations.
3338
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3339
+ *
3340
+ * The version of the OpenAPI document: 2024-03-20
3341
+ *
3342
+ *
3343
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3344
+ * https://openapi-generator.tech
3345
+ * Do not edit the class manually.
3346
+ */
3347
+ /**
3348
+ * Indicates the type of print type for a given label.
3349
+ */
3350
+ const LabelPrintType = {
3351
+ StandardFormat: "STANDARD_FORMAT",
3352
+ ThermalPrinting: "THERMAL_PRINTING"
3353
+ };
3354
+ //#endregion
3355
+ //#region src/api-model/models/operation-status.ts
3356
+ /**
3357
+ * The Selling Partner API for FBA inbound operations.
3358
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3359
+ *
3360
+ * The version of the OpenAPI document: 2024-03-20
3361
+ *
3362
+ *
3363
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3364
+ * https://openapi-generator.tech
3365
+ * Do not edit the class manually.
3366
+ */
3367
+ /**
3368
+ * The status of an operation.
3369
+ */
3370
+ const OperationStatus = {
3371
+ Success: "SUCCESS",
3372
+ Failed: "FAILED",
3373
+ InProgress: "IN_PROGRESS"
3374
+ };
3375
+ //#endregion
3376
+ //#region src/api-model/models/owner-constraint.ts
3377
+ /**
3378
+ * The Selling Partner API for FBA inbound operations.
3379
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3380
+ *
3381
+ * The version of the OpenAPI document: 2024-03-20
3382
+ *
3383
+ *
3384
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3385
+ * https://openapi-generator.tech
3386
+ * Do not edit the class manually.
3387
+ */
3388
+ /**
3389
+ * A constraint that can apply to an individual owner. If no constraint is specified, both `AMAZON` and `SELLER` are acceptable.
3390
+ */
3391
+ const OwnerConstraint = {
3392
+ AmazonOnly: "AMAZON_ONLY",
3393
+ NoneOnly: "NONE_ONLY",
3394
+ SellerOnly: "SELLER_ONLY"
3395
+ };
3396
+ //#endregion
3397
+ //#region src/api-model/models/prep-category.ts
3398
+ /**
3399
+ * The Selling Partner API for FBA inbound operations.
3400
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3401
+ *
3402
+ * The version of the OpenAPI document: 2024-03-20
3403
+ *
3404
+ *
3405
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3406
+ * https://openapi-generator.tech
3407
+ * Do not edit the class manually.
3408
+ */
3409
+ /**
3410
+ * The preparation category for shipping an item to Amazon\'s fulfillment network.
3411
+ */
3412
+ const PrepCategory = {
3413
+ Adult: "ADULT",
3414
+ Baby: "BABY",
3415
+ FcProvided: "FC_PROVIDED",
3416
+ Fragile: "FRAGILE",
3417
+ Granular: "GRANULAR",
3418
+ Hanger: "HANGER",
3419
+ Liquid: "LIQUID",
3420
+ Perforated: "PERFORATED",
3421
+ Set: "SET",
3422
+ Sharp: "SHARP",
3423
+ Small: "SMALL",
3424
+ Textile: "TEXTILE",
3425
+ Unknown: "UNKNOWN",
3426
+ None: "NONE"
3427
+ };
3428
+ //#endregion
3429
+ //#region src/api-model/models/prep-owner.ts
3430
+ /**
3431
+ * The Selling Partner API for FBA inbound operations.
3432
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3433
+ *
3434
+ * The version of the OpenAPI document: 2024-03-20
3435
+ *
3436
+ *
3437
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3438
+ * https://openapi-generator.tech
3439
+ * Do not edit the class manually.
3440
+ */
3441
+ /**
3442
+ * The owner of the preparations, if special preparations are required.
3443
+ */
3444
+ const PrepOwner = {
3445
+ Amazon: "AMAZON",
3446
+ Seller: "SELLER",
3447
+ None: "NONE"
3448
+ };
3449
+ //#endregion
3450
+ //#region src/api-model/models/prep-type.ts
3451
+ /**
3452
+ * The Selling Partner API for FBA inbound operations.
3453
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3454
+ *
3455
+ * The version of the OpenAPI document: 2024-03-20
3456
+ *
3457
+ *
3458
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3459
+ * https://openapi-generator.tech
3460
+ * Do not edit the class manually.
3461
+ */
3462
+ /**
3463
+ * Preparation instructions for shipping an item to Amazon\'s fulfillment network. For more information about preparing items for shipment to Amazon\'s fulfillment network, refer to [Seller Central Help for your marketplace](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls).
3464
+ */
3465
+ const PrepType = {
3466
+ ItemBlackShrinkwrap: "ITEM_BLACK_SHRINKWRAP",
3467
+ ItemBlankstk: "ITEM_BLANKSTK",
3468
+ ItemBoxing: "ITEM_BOXING",
3469
+ ItemBubblewrap: "ITEM_BUBBLEWRAP",
3470
+ ItemCapSealing: "ITEM_CAP_SEALING",
3471
+ ItemDebundle: "ITEM_DEBUNDLE",
3472
+ ItemHangGarment: "ITEM_HANG_GARMENT",
3473
+ ItemLabeling: "ITEM_LABELING",
3474
+ ItemNoPrep: "ITEM_NO_PREP",
3475
+ ItemPolybagging: "ITEM_POLYBAGGING",
3476
+ ItemRmovhang: "ITEM_RMOVHANG",
3477
+ ItemSetcreat: "ITEM_SETCREAT",
3478
+ ItemSetstk: "ITEM_SETSTK",
3479
+ ItemSioc: "ITEM_SIOC",
3480
+ ItemSuffostk: "ITEM_SUFFOSTK",
3481
+ ItemTaping: "ITEM_TAPING"
3482
+ };
3483
+ //#endregion
3484
+ //#region src/api-model/models/reason-comment.ts
3485
+ /**
3486
+ * The Selling Partner API for FBA inbound operations.
3487
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3488
+ *
3489
+ * The version of the OpenAPI document: 2024-03-20
3490
+ *
3491
+ *
3492
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3493
+ * https://openapi-generator.tech
3494
+ * Do not edit the class manually.
3495
+ */
3496
+ /**
3497
+ * Reason for cancelling or rescheduling a self-ship appointment.
3498
+ */
3499
+ const ReasonComment = {
3500
+ AppointmentRequestedByMistake: "APPOINTMENT_REQUESTED_BY_MISTAKE",
3501
+ VehicleDelay: "VEHICLE_DELAY",
3502
+ SlotNotSuitable: "SLOT_NOT_SUITABLE",
3503
+ OutsideCarrierBusinessHours: "OUTSIDE_CARRIER_BUSINESS_HOURS",
3504
+ UnfavourableExternalConditions: "UNFAVOURABLE_EXTERNAL_CONDITIONS",
3505
+ ProcurementDelay: "PROCUREMENT_DELAY",
3506
+ ShippingPlanChanged: "SHIPPING_PLAN_CHANGED",
3507
+ IncreasedQuantity: "INCREASED_QUANTITY",
3508
+ Other: "OTHER"
3509
+ };
3510
+ //#endregion
3511
+ //#region src/api-model/models/stackability.ts
3512
+ /**
3513
+ * The Selling Partner API for FBA inbound operations.
3514
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3515
+ *
3516
+ * The version of the OpenAPI document: 2024-03-20
3517
+ *
3518
+ *
3519
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3520
+ * https://openapi-generator.tech
3521
+ * Do not edit the class manually.
3522
+ */
3523
+ /**
3524
+ * Indicates whether pallets will be stacked when carrier arrives for pick-up.
3525
+ */
3526
+ const Stackability = {
3527
+ Stackable: "STACKABLE",
3528
+ NonStackable: "NON_STACKABLE"
3529
+ };
3530
+ //#endregion
3531
+ //#region src/api-model/models/unit-of-measurement.ts
3532
+ /**
3533
+ * The Selling Partner API for FBA inbound operations.
3534
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3535
+ *
3536
+ * The version of the OpenAPI document: 2024-03-20
3537
+ *
3538
+ *
3539
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3540
+ * https://openapi-generator.tech
3541
+ * Do not edit the class manually.
3542
+ */
3543
+ /**
3544
+ * Unit of linear measure.
3545
+ */
3546
+ const UnitOfMeasurement = {
3547
+ In: "IN",
3548
+ Cm: "CM"
3549
+ };
3550
+ //#endregion
3551
+ //#region src/api-model/models/unit-of-weight.ts
3552
+ /**
3553
+ * The Selling Partner API for FBA inbound operations.
3554
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
3555
+ *
3556
+ * The version of the OpenAPI document: 2024-03-20
3557
+ *
3558
+ *
3559
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3560
+ * https://openapi-generator.tech
3561
+ * Do not edit the class manually.
3562
+ */
3563
+ /**
3564
+ * Unit of the weight being measured.
3565
+ */
3566
+ const UnitOfWeight = {
3567
+ Lb: "LB",
3568
+ Kg: "KG"
3569
+ };
3570
+ //#endregion
3571
+ //#region src/client.ts
3572
+ const clientRateLimits = [];
3573
+ var FulfillmentInboundApiClient = class extends FulfillmentInboundApi {
3574
+ constructor(configuration) {
3575
+ const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
3576
+ super(new Configuration(), endpoint, axios);
3577
+ }
3578
+ };
3579
+ //#endregion
3580
+ export { AllOwnersConstraint, BoxContentInformationSource, FulfillmentInboundApi, FulfillmentInboundApiAxiosParamCreator, FulfillmentInboundApiClient, FulfillmentInboundApiFactory, FulfillmentInboundApiFp, ItemLabelPageType, LabelOwner, LabelPrintType, ListInboundPlansSortByEnum, ListInboundPlansSortOrderEnum, ListInboundPlansStatusEnum, OperationStatus, OwnerConstraint, PrepCategory, PrepOwner, PrepType, ReasonComment, Stackability, UnitOfMeasurement, UnitOfWeight, clientRateLimits };
3581
+
3582
+ //# sourceMappingURL=index.js.map