@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.7.0 → 5.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 (299) hide show
  1. package/README.md +7 -8
  2. package/dist/index.cjs +1575 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +2984 -0
  5. package/dist/index.d.ts +2984 -0
  6. package/dist/index.js +1529 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +26 -12
  9. package/dist/cjs/api-model/api/fulfillment-outbound-api.js +0 -963
  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/additional-location-info.js +0 -47
  16. package/dist/cjs/api-model/models/address.js +0 -15
  17. package/dist/cjs/api-model/models/amount.js +0 -19
  18. package/dist/cjs/api-model/models/cancel-fulfillment-order-response.js +0 -15
  19. package/dist/cjs/api-model/models/codsettings.js +0 -15
  20. package/dist/cjs/api-model/models/create-fulfillment-order-item.js +0 -15
  21. package/dist/cjs/api-model/models/create-fulfillment-order-request.js +0 -15
  22. package/dist/cjs/api-model/models/create-fulfillment-order-response.js +0 -15
  23. package/dist/cjs/api-model/models/create-fulfillment-return-request.js +0 -15
  24. package/dist/cjs/api-model/models/create-fulfillment-return-response.js +0 -15
  25. package/dist/cjs/api-model/models/create-fulfillment-return-result.js +0 -15
  26. package/dist/cjs/api-model/models/create-return-item.js +0 -15
  27. package/dist/cjs/api-model/models/current-status.js +0 -39
  28. package/dist/cjs/api-model/models/date-range.js +0 -15
  29. package/dist/cjs/api-model/models/delivery-document.js +0 -15
  30. package/dist/cjs/api-model/models/delivery-information.js +0 -15
  31. package/dist/cjs/api-model/models/delivery-message.js +0 -15
  32. package/dist/cjs/api-model/models/delivery-offer.js +0 -15
  33. package/dist/cjs/api-model/models/delivery-policy.js +0 -15
  34. package/dist/cjs/api-model/models/delivery-preferences.js +0 -15
  35. package/dist/cjs/api-model/models/delivery-window.js +0 -15
  36. package/dist/cjs/api-model/models/destination.js +0 -15
  37. package/dist/cjs/api-model/models/drop-off-location.js +0 -26
  38. package/dist/cjs/api-model/models/event-code.js +0 -56
  39. package/dist/cjs/api-model/models/feature-settings.js +0 -20
  40. package/dist/cjs/api-model/models/feature-sku.js +0 -15
  41. package/dist/cjs/api-model/models/feature.js +0 -15
  42. package/dist/cjs/api-model/models/fee.js +0 -22
  43. package/dist/cjs/api-model/models/fulfillment-action.js +0 -23
  44. package/dist/cjs/api-model/models/fulfillment-order-item.js +0 -15
  45. package/dist/cjs/api-model/models/fulfillment-order-status.js +0 -30
  46. package/dist/cjs/api-model/models/fulfillment-order.js +0 -15
  47. package/dist/cjs/api-model/models/fulfillment-policy.js +0 -24
  48. package/dist/cjs/api-model/models/fulfillment-preview-item.js +0 -20
  49. package/dist/cjs/api-model/models/fulfillment-preview-shipment.js +0 -15
  50. package/dist/cjs/api-model/models/fulfillment-preview.js +0 -15
  51. package/dist/cjs/api-model/models/fulfillment-return-item-status.js +0 -23
  52. package/dist/cjs/api-model/models/fulfillment-shipment-item.js +0 -15
  53. package/dist/cjs/api-model/models/fulfillment-shipment-package.js +0 -15
  54. package/dist/cjs/api-model/models/fulfillment-shipment.js +0 -22
  55. package/dist/cjs/api-model/models/get-delivery-offers-product.js +0 -15
  56. package/dist/cjs/api-model/models/get-delivery-offers-request.js +0 -15
  57. package/dist/cjs/api-model/models/get-delivery-offers-response.js +0 -15
  58. package/dist/cjs/api-model/models/get-delivery-offers-result.js +0 -15
  59. package/dist/cjs/api-model/models/get-delivery-offers-terms.js +0 -15
  60. package/dist/cjs/api-model/models/get-feature-inventory-response.js +0 -15
  61. package/dist/cjs/api-model/models/get-feature-inventory-result.js +0 -15
  62. package/dist/cjs/api-model/models/get-feature-sku-response.js +0 -15
  63. package/dist/cjs/api-model/models/get-feature-sku-result.js +0 -15
  64. package/dist/cjs/api-model/models/get-features-response.js +0 -15
  65. package/dist/cjs/api-model/models/get-features-result.js +0 -15
  66. package/dist/cjs/api-model/models/get-fulfillment-order-response.js +0 -15
  67. package/dist/cjs/api-model/models/get-fulfillment-order-result.js +0 -15
  68. package/dist/cjs/api-model/models/get-fulfillment-preview-item.js +0 -15
  69. package/dist/cjs/api-model/models/get-fulfillment-preview-request.js +0 -15
  70. package/dist/cjs/api-model/models/get-fulfillment-preview-response.js +0 -15
  71. package/dist/cjs/api-model/models/get-fulfillment-preview-result.js +0 -15
  72. package/dist/cjs/api-model/models/get-package-tracking-details-response.js +0 -15
  73. package/dist/cjs/api-model/models/index.js +0 -104
  74. package/dist/cjs/api-model/models/invalid-item-reason-code.js +0 -25
  75. package/dist/cjs/api-model/models/invalid-item-reason.js +0 -15
  76. package/dist/cjs/api-model/models/invalid-return-item.js +0 -15
  77. package/dist/cjs/api-model/models/list-all-fulfillment-orders-response.js +0 -15
  78. package/dist/cjs/api-model/models/list-all-fulfillment-orders-result.js +0 -15
  79. package/dist/cjs/api-model/models/list-return-reason-codes-response.js +0 -15
  80. package/dist/cjs/api-model/models/list-return-reason-codes-result.js +0 -15
  81. package/dist/cjs/api-model/models/locker-details.js +0 -15
  82. package/dist/cjs/api-model/models/model-error.js +0 -15
  83. package/dist/cjs/api-model/models/money.js +0 -15
  84. package/dist/cjs/api-model/models/origin.js +0 -15
  85. package/dist/cjs/api-model/models/package-tracking-details.js +0 -15
  86. package/dist/cjs/api-model/models/payment-information.js +0 -15
  87. package/dist/cjs/api-model/models/product-identifier.js +0 -15
  88. package/dist/cjs/api-model/models/reason-code-details.js +0 -15
  89. package/dist/cjs/api-model/models/return-authorization.js +0 -15
  90. package/dist/cjs/api-model/models/return-item-disposition.js +0 -26
  91. package/dist/cjs/api-model/models/return-item.js +0 -15
  92. package/dist/cjs/api-model/models/scheduled-delivery-info.js +0 -15
  93. package/dist/cjs/api-model/models/shipping-speed-category.js +0 -25
  94. package/dist/cjs/api-model/models/submit-fulfillment-order-status-update-request.js +0 -15
  95. package/dist/cjs/api-model/models/submit-fulfillment-order-status-update-response.js +0 -15
  96. package/dist/cjs/api-model/models/tracking-address.js +0 -15
  97. package/dist/cjs/api-model/models/tracking-event.js +0 -15
  98. package/dist/cjs/api-model/models/unfulfillable-preview-item.js +0 -15
  99. package/dist/cjs/api-model/models/update-fulfillment-order-item.js +0 -15
  100. package/dist/cjs/api-model/models/update-fulfillment-order-request.js +0 -15
  101. package/dist/cjs/api-model/models/update-fulfillment-order-response.js +0 -15
  102. package/dist/cjs/api-model/models/variable-precision-address.js +0 -15
  103. package/dist/cjs/api-model/models/weight.js +0 -22
  104. package/dist/cjs/client.js +0 -105
  105. package/dist/cjs/index.js +0 -19
  106. package/dist/es/api-model/api/fulfillment-outbound-api.js +0 -953
  107. package/dist/es/api-model/api.js +0 -14
  108. package/dist/es/api-model/base.js +0 -44
  109. package/dist/es/api-model/common.js +0 -110
  110. package/dist/es/api-model/configuration.js +0 -94
  111. package/dist/es/api-model/index.js +0 -16
  112. package/dist/es/api-model/models/additional-location-info.js +0 -44
  113. package/dist/es/api-model/models/address.js +0 -14
  114. package/dist/es/api-model/models/amount.js +0 -16
  115. package/dist/es/api-model/models/cancel-fulfillment-order-response.js +0 -14
  116. package/dist/es/api-model/models/codsettings.js +0 -14
  117. package/dist/es/api-model/models/create-fulfillment-order-item.js +0 -14
  118. package/dist/es/api-model/models/create-fulfillment-order-request.js +0 -14
  119. package/dist/es/api-model/models/create-fulfillment-order-response.js +0 -14
  120. package/dist/es/api-model/models/create-fulfillment-return-request.js +0 -14
  121. package/dist/es/api-model/models/create-fulfillment-return-response.js +0 -14
  122. package/dist/es/api-model/models/create-fulfillment-return-result.js +0 -14
  123. package/dist/es/api-model/models/create-return-item.js +0 -14
  124. package/dist/es/api-model/models/current-status.js +0 -36
  125. package/dist/es/api-model/models/date-range.js +0 -14
  126. package/dist/es/api-model/models/delivery-document.js +0 -14
  127. package/dist/es/api-model/models/delivery-information.js +0 -14
  128. package/dist/es/api-model/models/delivery-message.js +0 -14
  129. package/dist/es/api-model/models/delivery-offer.js +0 -14
  130. package/dist/es/api-model/models/delivery-policy.js +0 -14
  131. package/dist/es/api-model/models/delivery-preferences.js +0 -14
  132. package/dist/es/api-model/models/delivery-window.js +0 -14
  133. package/dist/es/api-model/models/destination.js +0 -14
  134. package/dist/es/api-model/models/drop-off-location.js +0 -23
  135. package/dist/es/api-model/models/event-code.js +0 -53
  136. package/dist/es/api-model/models/feature-settings.js +0 -17
  137. package/dist/es/api-model/models/feature-sku.js +0 -14
  138. package/dist/es/api-model/models/feature.js +0 -14
  139. package/dist/es/api-model/models/fee.js +0 -19
  140. package/dist/es/api-model/models/fulfillment-action.js +0 -20
  141. package/dist/es/api-model/models/fulfillment-order-item.js +0 -14
  142. package/dist/es/api-model/models/fulfillment-order-status.js +0 -27
  143. package/dist/es/api-model/models/fulfillment-order.js +0 -14
  144. package/dist/es/api-model/models/fulfillment-policy.js +0 -21
  145. package/dist/es/api-model/models/fulfillment-preview-item.js +0 -17
  146. package/dist/es/api-model/models/fulfillment-preview-shipment.js +0 -14
  147. package/dist/es/api-model/models/fulfillment-preview.js +0 -14
  148. package/dist/es/api-model/models/fulfillment-return-item-status.js +0 -20
  149. package/dist/es/api-model/models/fulfillment-shipment-item.js +0 -14
  150. package/dist/es/api-model/models/fulfillment-shipment-package.js +0 -14
  151. package/dist/es/api-model/models/fulfillment-shipment.js +0 -19
  152. package/dist/es/api-model/models/get-delivery-offers-product.js +0 -14
  153. package/dist/es/api-model/models/get-delivery-offers-request.js +0 -14
  154. package/dist/es/api-model/models/get-delivery-offers-response.js +0 -14
  155. package/dist/es/api-model/models/get-delivery-offers-result.js +0 -14
  156. package/dist/es/api-model/models/get-delivery-offers-terms.js +0 -14
  157. package/dist/es/api-model/models/get-feature-inventory-response.js +0 -14
  158. package/dist/es/api-model/models/get-feature-inventory-result.js +0 -14
  159. package/dist/es/api-model/models/get-feature-sku-response.js +0 -14
  160. package/dist/es/api-model/models/get-feature-sku-result.js +0 -14
  161. package/dist/es/api-model/models/get-features-response.js +0 -14
  162. package/dist/es/api-model/models/get-features-result.js +0 -14
  163. package/dist/es/api-model/models/get-fulfillment-order-response.js +0 -14
  164. package/dist/es/api-model/models/get-fulfillment-order-result.js +0 -14
  165. package/dist/es/api-model/models/get-fulfillment-preview-item.js +0 -14
  166. package/dist/es/api-model/models/get-fulfillment-preview-request.js +0 -14
  167. package/dist/es/api-model/models/get-fulfillment-preview-response.js +0 -14
  168. package/dist/es/api-model/models/get-fulfillment-preview-result.js +0 -14
  169. package/dist/es/api-model/models/get-package-tracking-details-response.js +0 -14
  170. package/dist/es/api-model/models/index.js +0 -88
  171. package/dist/es/api-model/models/invalid-item-reason-code.js +0 -22
  172. package/dist/es/api-model/models/invalid-item-reason.js +0 -14
  173. package/dist/es/api-model/models/invalid-return-item.js +0 -14
  174. package/dist/es/api-model/models/list-all-fulfillment-orders-response.js +0 -14
  175. package/dist/es/api-model/models/list-all-fulfillment-orders-result.js +0 -14
  176. package/dist/es/api-model/models/list-return-reason-codes-response.js +0 -14
  177. package/dist/es/api-model/models/list-return-reason-codes-result.js +0 -14
  178. package/dist/es/api-model/models/locker-details.js +0 -14
  179. package/dist/es/api-model/models/model-error.js +0 -14
  180. package/dist/es/api-model/models/money.js +0 -14
  181. package/dist/es/api-model/models/origin.js +0 -14
  182. package/dist/es/api-model/models/package-tracking-details.js +0 -14
  183. package/dist/es/api-model/models/payment-information.js +0 -14
  184. package/dist/es/api-model/models/product-identifier.js +0 -14
  185. package/dist/es/api-model/models/reason-code-details.js +0 -14
  186. package/dist/es/api-model/models/return-authorization.js +0 -14
  187. package/dist/es/api-model/models/return-item-disposition.js +0 -23
  188. package/dist/es/api-model/models/return-item.js +0 -14
  189. package/dist/es/api-model/models/scheduled-delivery-info.js +0 -14
  190. package/dist/es/api-model/models/shipping-speed-category.js +0 -22
  191. package/dist/es/api-model/models/submit-fulfillment-order-status-update-request.js +0 -14
  192. package/dist/es/api-model/models/submit-fulfillment-order-status-update-response.js +0 -14
  193. package/dist/es/api-model/models/tracking-address.js +0 -14
  194. package/dist/es/api-model/models/tracking-event.js +0 -14
  195. package/dist/es/api-model/models/unfulfillable-preview-item.js +0 -14
  196. package/dist/es/api-model/models/update-fulfillment-order-item.js +0 -14
  197. package/dist/es/api-model/models/update-fulfillment-order-request.js +0 -14
  198. package/dist/es/api-model/models/update-fulfillment-order-response.js +0 -14
  199. package/dist/es/api-model/models/variable-precision-address.js +0 -14
  200. package/dist/es/api-model/models/weight.js +0 -19
  201. package/dist/es/client.js +0 -101
  202. package/dist/es/index.js +0 -3
  203. package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +0 -645
  204. package/dist/types/api-model/api.d.ts +0 -12
  205. package/dist/types/api-model/base.d.ts +0 -42
  206. package/dist/types/api-model/common.d.ts +0 -34
  207. package/dist/types/api-model/configuration.d.ts +0 -98
  208. package/dist/types/api-model/index.d.ts +0 -14
  209. package/dist/types/api-model/models/additional-location-info.d.ts +0 -43
  210. package/dist/types/api-model/models/address.d.ts +0 -56
  211. package/dist/types/api-model/models/amount.d.ts +0 -28
  212. package/dist/types/api-model/models/cancel-fulfillment-order-response.d.ts +0 -20
  213. package/dist/types/api-model/models/codsettings.d.ts +0 -25
  214. package/dist/types/api-model/models/create-fulfillment-order-item.d.ts +0 -44
  215. package/dist/types/api-model/models/create-fulfillment-order-request.d.ts +0 -73
  216. package/dist/types/api-model/models/create-fulfillment-order-response.d.ts +0 -20
  217. package/dist/types/api-model/models/create-fulfillment-return-request.d.ts +0 -21
  218. package/dist/types/api-model/models/create-fulfillment-return-response.d.ts +0 -22
  219. package/dist/types/api-model/models/create-fulfillment-return-result.d.ts +0 -31
  220. package/dist/types/api-model/models/create-return-item.d.ts +0 -36
  221. package/dist/types/api-model/models/current-status.d.ts +0 -35
  222. package/dist/types/api-model/models/date-range.d.ts +0 -24
  223. package/dist/types/api-model/models/delivery-document.d.ts +0 -24
  224. package/dist/types/api-model/models/delivery-information.d.ts +0 -23
  225. package/dist/types/api-model/models/delivery-message.d.ts +0 -24
  226. package/dist/types/api-model/models/delivery-offer.d.ts +0 -24
  227. package/dist/types/api-model/models/delivery-policy.d.ts +0 -18
  228. package/dist/types/api-model/models/delivery-preferences.d.ts +0 -22
  229. package/dist/types/api-model/models/delivery-window.d.ts +0 -24
  230. package/dist/types/api-model/models/destination.d.ts +0 -22
  231. package/dist/types/api-model/models/drop-off-location.d.ts +0 -37
  232. package/dist/types/api-model/models/event-code.d.ts +0 -52
  233. package/dist/types/api-model/models/feature-settings.d.ts +0 -29
  234. package/dist/types/api-model/models/feature-sku.d.ts +0 -36
  235. package/dist/types/api-model/models/feature.d.ts +0 -28
  236. package/dist/types/api-model/models/fee.d.ts +0 -29
  237. package/dist/types/api-model/models/fulfillment-action.d.ts +0 -19
  238. package/dist/types/api-model/models/fulfillment-order-item.d.ts +0 -64
  239. package/dist/types/api-model/models/fulfillment-order-status.d.ts +0 -26
  240. package/dist/types/api-model/models/fulfillment-order.d.ts +0 -67
  241. package/dist/types/api-model/models/fulfillment-policy.d.ts +0 -20
  242. package/dist/types/api-model/models/fulfillment-preview-item.d.ts +0 -39
  243. package/dist/types/api-model/models/fulfillment-preview-shipment.d.ts +0 -41
  244. package/dist/types/api-model/models/fulfillment-preview.d.ts +0 -58
  245. package/dist/types/api-model/models/fulfillment-return-item-status.d.ts +0 -19
  246. package/dist/types/api-model/models/fulfillment-shipment-item.d.ts +0 -40
  247. package/dist/types/api-model/models/fulfillment-shipment-package.d.ts +0 -40
  248. package/dist/types/api-model/models/fulfillment-shipment.d.ts +0 -57
  249. package/dist/types/api-model/models/get-delivery-offers-product.d.ts +0 -20
  250. package/dist/types/api-model/models/get-delivery-offers-request.d.ts +0 -20
  251. package/dist/types/api-model/models/get-delivery-offers-response.d.ts +0 -22
  252. package/dist/types/api-model/models/get-delivery-offers-result.d.ts +0 -21
  253. package/dist/types/api-model/models/get-delivery-offers-terms.d.ts +0 -20
  254. package/dist/types/api-model/models/get-feature-inventory-response.d.ts +0 -22
  255. package/dist/types/api-model/models/get-feature-inventory-result.d.ts +0 -33
  256. package/dist/types/api-model/models/get-feature-sku-response.d.ts +0 -22
  257. package/dist/types/api-model/models/get-feature-sku-result.d.ts +0 -48
  258. package/dist/types/api-model/models/get-features-response.d.ts +0 -22
  259. package/dist/types/api-model/models/get-features-result.d.ts +0 -21
  260. package/dist/types/api-model/models/get-fulfillment-order-response.d.ts +0 -22
  261. package/dist/types/api-model/models/get-fulfillment-order-result.d.ts +0 -43
  262. package/dist/types/api-model/models/get-fulfillment-preview-item.d.ts +0 -30
  263. package/dist/types/api-model/models/get-fulfillment-preview-request.d.ts +0 -45
  264. package/dist/types/api-model/models/get-fulfillment-preview-response.d.ts +0 -22
  265. package/dist/types/api-model/models/get-fulfillment-preview-result.d.ts +0 -21
  266. package/dist/types/api-model/models/get-package-tracking-details-response.d.ts +0 -22
  267. package/dist/types/api-model/models/index.d.ts +0 -88
  268. package/dist/types/api-model/models/invalid-item-reason-code.d.ts +0 -21
  269. package/dist/types/api-model/models/invalid-item-reason.d.ts +0 -22
  270. package/dist/types/api-model/models/invalid-return-item.d.ts +0 -26
  271. package/dist/types/api-model/models/list-all-fulfillment-orders-response.d.ts +0 -22
  272. package/dist/types/api-model/models/list-all-fulfillment-orders-result.d.ts +0 -25
  273. package/dist/types/api-model/models/list-return-reason-codes-response.d.ts +0 -22
  274. package/dist/types/api-model/models/list-return-reason-codes-result.d.ts +0 -21
  275. package/dist/types/api-model/models/locker-details.d.ts +0 -24
  276. package/dist/types/api-model/models/model-error.d.ts +0 -28
  277. package/dist/types/api-model/models/money.d.ts +0 -24
  278. package/dist/types/api-model/models/origin.d.ts +0 -20
  279. package/dist/types/api-model/models/package-tracking-details.d.ts +0 -69
  280. package/dist/types/api-model/models/payment-information.d.ts +0 -28
  281. package/dist/types/api-model/models/product-identifier.d.ts +0 -20
  282. package/dist/types/api-model/models/reason-code-details.d.ts +0 -28
  283. package/dist/types/api-model/models/return-authorization.d.ts +0 -34
  284. package/dist/types/api-model/models/return-item-disposition.d.ts +0 -22
  285. package/dist/types/api-model/models/return-item.d.ts +0 -56
  286. package/dist/types/api-model/models/scheduled-delivery-info.d.ts +0 -25
  287. package/dist/types/api-model/models/shipping-speed-category.d.ts +0 -21
  288. package/dist/types/api-model/models/submit-fulfillment-order-status-update-request.d.ts +0 -18
  289. package/dist/types/api-model/models/submit-fulfillment-order-status-update-response.d.ts +0 -20
  290. package/dist/types/api-model/models/tracking-address.d.ts +0 -28
  291. package/dist/types/api-model/models/tracking-event.d.ts +0 -28
  292. package/dist/types/api-model/models/unfulfillable-preview-item.d.ts +0 -32
  293. package/dist/types/api-model/models/update-fulfillment-order-item.d.ts +0 -48
  294. package/dist/types/api-model/models/update-fulfillment-order-request.d.ts +0 -58
  295. package/dist/types/api-model/models/update-fulfillment-order-response.d.ts +0 -20
  296. package/dist/types/api-model/models/variable-precision-address.d.ts +0 -48
  297. package/dist/types/api-model/models/weight.d.ts +0 -31
  298. package/dist/types/client.d.ts +0 -6
  299. package/dist/types/index.d.ts +0 -3
package/dist/index.cjs ADDED
@@ -0,0 +1,1575 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region \0rolldown/runtime.js
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
+ get: ((k) => from[k]).bind(null, key),
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
+ value: mod,
21
+ enumerable: true
22
+ }) : target, mod));
23
+ //#endregion
24
+ let _sp_api_sdk_common = require("@sp-api-sdk/common");
25
+ let axios = require("axios");
26
+ axios = __toESM(axios, 1);
27
+ //#region src/api-model/base.ts
28
+ const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
29
+ var BaseAPI = class {
30
+ basePath;
31
+ axios;
32
+ configuration;
33
+ constructor(configuration, basePath = BASE_PATH, axios$16 = axios.default) {
34
+ this.basePath = basePath;
35
+ this.axios = axios$16;
36
+ if (configuration) {
37
+ this.configuration = configuration;
38
+ this.basePath = configuration.basePath ?? basePath;
39
+ }
40
+ }
41
+ };
42
+ var RequiredError = class extends Error {
43
+ field;
44
+ constructor(field, msg) {
45
+ super(msg);
46
+ this.field = field;
47
+ this.name = "RequiredError";
48
+ }
49
+ };
50
+ const operationServerMap = {};
51
+ //#endregion
52
+ //#region src/api-model/common.ts
53
+ const DUMMY_BASE_URL = "https://example.com";
54
+ /**
55
+ *
56
+ * @throws {RequiredError}
57
+ */
58
+ const assertParamExists = function(functionName, paramName, paramValue) {
59
+ if (paramValue === null || paramValue === void 0) throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
60
+ };
61
+ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
62
+ if (parameter == null) return;
63
+ if (typeof parameter === "object") if (Array.isArray(parameter) || parameter instanceof Set) parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
64
+ else Object.keys(parameter).forEach((currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`));
65
+ else if (urlSearchParams.has(key)) urlSearchParams.append(key, parameter);
66
+ else urlSearchParams.set(key, parameter);
67
+ }
68
+ const setSearchParams = function(url, ...objects) {
69
+ const searchParams = new URLSearchParams(url.search);
70
+ setFlattenedQueryParams(searchParams, objects);
71
+ url.search = searchParams.toString();
72
+ };
73
+ /**
74
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
75
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
76
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
77
+ */
78
+ const replaceWithSerializableTypeIfNeeded = function(key, value) {
79
+ if (value instanceof Set) return Array.from(value);
80
+ else return value;
81
+ };
82
+ const serializeDataIfNeeded = function(value, requestOptions, configuration) {
83
+ const nonString = typeof value !== "string";
84
+ return (nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString) ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
85
+ };
86
+ const toPathString = function(url) {
87
+ return url.pathname + url.search + url.hash;
88
+ };
89
+ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, configuration) {
90
+ return (axios = globalAxios, basePath = BASE_PATH) => {
91
+ const axiosRequestArgs = {
92
+ ...axiosArgs.options,
93
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url
94
+ };
95
+ return axios.request(axiosRequestArgs);
96
+ };
97
+ };
98
+ //#endregion
99
+ //#region src/api-model/api/fulfillment-outbound-api.ts
100
+ /**
101
+ * FulfillmentOutboundApi - axios parameter creator
102
+ */
103
+ const FulfillmentOutboundApiAxiosParamCreator = function(configuration) {
104
+ return {
105
+ /**
106
+ * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
107
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ cancelFulfillmentOrder: async (sellerFulfillmentOrderId, options = {}) => {
112
+ assertParamExists("cancelFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
113
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/cancel`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
114
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
115
+ let baseOptions;
116
+ if (configuration) baseOptions = configuration.baseOptions;
117
+ const localVarRequestOptions = {
118
+ method: "PUT",
119
+ ...baseOptions,
120
+ ...options
121
+ };
122
+ const localVarHeaderParameter = {};
123
+ const localVarQueryParameter = {};
124
+ localVarHeaderParameter["Accept"] = "application/json";
125
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
126
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127
+ localVarRequestOptions.headers = {
128
+ ...localVarHeaderParameter,
129
+ ...headersFromBaseOptions,
130
+ ...options.headers
131
+ };
132
+ return {
133
+ url: toPathString(localVarUrlObj),
134
+ options: localVarRequestOptions
135
+ };
136
+ },
137
+ /**
138
+ * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
139
+ * @param {CreateFulfillmentOrderRequest} body CreateFulfillmentOrderRequest parameter
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ createFulfillmentOrder: async (body, options = {}) => {
144
+ assertParamExists("createFulfillmentOrder", "body", body);
145
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/fulfillmentOrders`, DUMMY_BASE_URL);
146
+ let baseOptions;
147
+ if (configuration) baseOptions = configuration.baseOptions;
148
+ const localVarRequestOptions = {
149
+ method: "POST",
150
+ ...baseOptions,
151
+ ...options
152
+ };
153
+ const localVarHeaderParameter = {};
154
+ const localVarQueryParameter = {};
155
+ localVarHeaderParameter["Content-Type"] = "application/json";
156
+ localVarHeaderParameter["Accept"] = "application/json";
157
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
158
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
159
+ localVarRequestOptions.headers = {
160
+ ...localVarHeaderParameter,
161
+ ...headersFromBaseOptions,
162
+ ...options.headers
163
+ };
164
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
165
+ return {
166
+ url: toPathString(localVarUrlObj),
167
+ options: localVarRequestOptions
168
+ };
169
+ },
170
+ /**
171
+ * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
172
+ * @param {string} sellerFulfillmentOrderId An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct &#x60;sellerFulfillmentOrderId&#x60; value based on the buyer\&#39;s request to return items.
173
+ * @param {CreateFulfillmentReturnRequest} body The request body of the &#x60;createFulfillmentReturn&#x60; operation.
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ createFulfillmentReturn: async (sellerFulfillmentOrderId, body, options = {}) => {
178
+ assertParamExists("createFulfillmentReturn", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
179
+ assertParamExists("createFulfillmentReturn", "body", body);
180
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/return`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
181
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
182
+ let baseOptions;
183
+ if (configuration) baseOptions = configuration.baseOptions;
184
+ const localVarRequestOptions = {
185
+ method: "PUT",
186
+ ...baseOptions,
187
+ ...options
188
+ };
189
+ const localVarHeaderParameter = {};
190
+ const localVarQueryParameter = {};
191
+ localVarHeaderParameter["Content-Type"] = "application/json";
192
+ localVarHeaderParameter["Accept"] = "application/json,payload";
193
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
194
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
195
+ localVarRequestOptions.headers = {
196
+ ...localVarHeaderParameter,
197
+ ...headersFromBaseOptions,
198
+ ...options.headers
199
+ };
200
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
201
+ return {
202
+ url: toPathString(localVarUrlObj),
203
+ options: localVarRequestOptions
204
+ };
205
+ },
206
+ /**
207
+ * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
208
+ * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ deliveryOffers: async (body, options = {}) => {
213
+ assertParamExists("deliveryOffers", "body", body);
214
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/deliveryOffers`, DUMMY_BASE_URL);
215
+ let baseOptions;
216
+ if (configuration) baseOptions = configuration.baseOptions;
217
+ const localVarRequestOptions = {
218
+ method: "POST",
219
+ ...baseOptions,
220
+ ...options
221
+ };
222
+ const localVarHeaderParameter = {};
223
+ const localVarQueryParameter = {};
224
+ localVarHeaderParameter["Content-Type"] = "application/json";
225
+ localVarHeaderParameter["Accept"] = "application/json,payload";
226
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
227
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
228
+ localVarRequestOptions.headers = {
229
+ ...localVarHeaderParameter,
230
+ ...headersFromBaseOptions,
231
+ ...options.headers
232
+ };
233
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
234
+ return {
235
+ url: toPathString(localVarUrlObj),
236
+ options: localVarRequestOptions
237
+ };
238
+ },
239
+ /**
240
+ * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
241
+ * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
242
+ * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
243
+ * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of &#x60;null&#x60; will return the first page.
244
+ * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format &#x60;yyyy-MM-ddTHH:mm:ss.sssZ&#x60;
245
+ * @param {*} [options] Override http request option.
246
+ * @throws {RequiredError}
247
+ */
248
+ getFeatureInventory: async (marketplaceId, featureName, nextToken, queryStartDate, options = {}) => {
249
+ assertParamExists("getFeatureInventory", "marketplaceId", marketplaceId);
250
+ assertParamExists("getFeatureInventory", "featureName", featureName);
251
+ const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}`.replace("{featureName}", encodeURIComponent(String(featureName)));
252
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
253
+ let baseOptions;
254
+ if (configuration) baseOptions = configuration.baseOptions;
255
+ const localVarRequestOptions = {
256
+ method: "GET",
257
+ ...baseOptions,
258
+ ...options
259
+ };
260
+ const localVarHeaderParameter = {};
261
+ const localVarQueryParameter = {};
262
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
263
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
264
+ if (queryStartDate !== void 0) localVarQueryParameter["queryStartDate"] = queryStartDate instanceof Date ? queryStartDate.toISOString() : queryStartDate;
265
+ localVarHeaderParameter["Accept"] = "application/json,payload";
266
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
267
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
268
+ localVarRequestOptions.headers = {
269
+ ...localVarHeaderParameter,
270
+ ...headersFromBaseOptions,
271
+ ...options.headers
272
+ };
273
+ return {
274
+ url: toPathString(localVarUrlObj),
275
+ options: localVarRequestOptions
276
+ };
277
+ },
278
+ /**
279
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
280
+ * @param {string} marketplaceId The marketplace for which to return the count.
281
+ * @param {string} featureName The name of the feature.
282
+ * @param {string} sellerSku Used to identify an item in the given marketplace. &#x60;sellerSku&#x60; is qualified by the seller\&#39;s &#x60;sellerId&#x60;, which is included with every operation that you submit.
283
+ * @param {*} [options] Override http request option.
284
+ * @throws {RequiredError}
285
+ */
286
+ getFeatureSKU: async (marketplaceId, featureName, sellerSku, options = {}) => {
287
+ assertParamExists("getFeatureSKU", "marketplaceId", marketplaceId);
288
+ assertParamExists("getFeatureSKU", "featureName", featureName);
289
+ assertParamExists("getFeatureSKU", "sellerSku", sellerSku);
290
+ const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}/{sellerSku}`.replace("{featureName}", encodeURIComponent(String(featureName))).replace("{sellerSku}", encodeURIComponent(String(sellerSku)));
291
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
292
+ let baseOptions;
293
+ if (configuration) baseOptions = configuration.baseOptions;
294
+ const localVarRequestOptions = {
295
+ method: "GET",
296
+ ...baseOptions,
297
+ ...options
298
+ };
299
+ const localVarHeaderParameter = {};
300
+ const localVarQueryParameter = {};
301
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
302
+ localVarHeaderParameter["Accept"] = "application/json,payload";
303
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
304
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
305
+ localVarRequestOptions.headers = {
306
+ ...localVarHeaderParameter,
307
+ ...headersFromBaseOptions,
308
+ ...options.headers
309
+ };
310
+ return {
311
+ url: toPathString(localVarUrlObj),
312
+ options: localVarRequestOptions
313
+ };
314
+ },
315
+ /**
316
+ * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
317
+ * @param {string} marketplaceId The marketplace for which to return the list of features.
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ */
321
+ getFeatures: async (marketplaceId, options = {}) => {
322
+ assertParamExists("getFeatures", "marketplaceId", marketplaceId);
323
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/features`, DUMMY_BASE_URL);
324
+ let baseOptions;
325
+ if (configuration) baseOptions = configuration.baseOptions;
326
+ const localVarRequestOptions = {
327
+ method: "GET",
328
+ ...baseOptions,
329
+ ...options
330
+ };
331
+ const localVarHeaderParameter = {};
332
+ const localVarQueryParameter = {};
333
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
334
+ localVarHeaderParameter["Accept"] = "application/json,payload";
335
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
336
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
337
+ localVarRequestOptions.headers = {
338
+ ...localVarHeaderParameter,
339
+ ...headersFromBaseOptions,
340
+ ...options.headers
341
+ };
342
+ return {
343
+ url: toPathString(localVarUrlObj),
344
+ options: localVarRequestOptions
345
+ };
346
+ },
347
+ /**
348
+ * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
349
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
350
+ * @param {*} [options] Override http request option.
351
+ * @throws {RequiredError}
352
+ */
353
+ getFulfillmentOrder: async (sellerFulfillmentOrderId, options = {}) => {
354
+ assertParamExists("getFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
355
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
356
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
357
+ let baseOptions;
358
+ if (configuration) baseOptions = configuration.baseOptions;
359
+ const localVarRequestOptions = {
360
+ method: "GET",
361
+ ...baseOptions,
362
+ ...options
363
+ };
364
+ const localVarHeaderParameter = {};
365
+ const localVarQueryParameter = {};
366
+ localVarHeaderParameter["Accept"] = "application/json,payload";
367
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
368
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
369
+ localVarRequestOptions.headers = {
370
+ ...localVarHeaderParameter,
371
+ ...headersFromBaseOptions,
372
+ ...options.headers
373
+ };
374
+ return {
375
+ url: toPathString(localVarUrlObj),
376
+ options: localVarRequestOptions
377
+ };
378
+ },
379
+ /**
380
+ * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
381
+ * @param {GetFulfillmentPreviewRequest} body GetFulfillmentPreviewRequest parameter
382
+ * @param {*} [options] Override http request option.
383
+ * @throws {RequiredError}
384
+ */
385
+ getFulfillmentPreview: async (body, options = {}) => {
386
+ assertParamExists("getFulfillmentPreview", "body", body);
387
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/fulfillmentOrders/preview`, DUMMY_BASE_URL);
388
+ let baseOptions;
389
+ if (configuration) baseOptions = configuration.baseOptions;
390
+ const localVarRequestOptions = {
391
+ method: "POST",
392
+ ...baseOptions,
393
+ ...options
394
+ };
395
+ const localVarHeaderParameter = {};
396
+ const localVarQueryParameter = {};
397
+ localVarHeaderParameter["Content-Type"] = "application/json";
398
+ localVarHeaderParameter["Accept"] = "application/json,payload";
399
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
400
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
401
+ localVarRequestOptions.headers = {
402
+ ...localVarHeaderParameter,
403
+ ...headersFromBaseOptions,
404
+ ...options.headers
405
+ };
406
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
407
+ return {
408
+ url: toPathString(localVarUrlObj),
409
+ options: localVarRequestOptions
410
+ };
411
+ },
412
+ /**
413
+ * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
414
+ * @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
415
+ * @param {*} [options] Override http request option.
416
+ * @throws {RequiredError}
417
+ */
418
+ getPackageTrackingDetails: async (packageNumber, options = {}) => {
419
+ assertParamExists("getPackageTrackingDetails", "packageNumber", packageNumber);
420
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/tracking`, DUMMY_BASE_URL);
421
+ let baseOptions;
422
+ if (configuration) baseOptions = configuration.baseOptions;
423
+ const localVarRequestOptions = {
424
+ method: "GET",
425
+ ...baseOptions,
426
+ ...options
427
+ };
428
+ const localVarHeaderParameter = {};
429
+ const localVarQueryParameter = {};
430
+ if (packageNumber !== void 0) localVarQueryParameter["packageNumber"] = packageNumber;
431
+ localVarHeaderParameter["Accept"] = "application/json,payload";
432
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
433
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
434
+ localVarRequestOptions.headers = {
435
+ ...localVarHeaderParameter,
436
+ ...headersFromBaseOptions,
437
+ ...options.headers
438
+ };
439
+ return {
440
+ url: toPathString(localVarUrlObj),
441
+ options: localVarRequestOptions
442
+ };
443
+ },
444
+ /**
445
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
446
+ * @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
447
+ * @param {string} [nextToken] A string token returned in the response to your previous request.
448
+ * @param {*} [options] Override http request option.
449
+ * @throws {RequiredError}
450
+ */
451
+ listAllFulfillmentOrders: async (queryStartDate, nextToken, options = {}) => {
452
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/fulfillmentOrders`, DUMMY_BASE_URL);
453
+ let baseOptions;
454
+ if (configuration) baseOptions = configuration.baseOptions;
455
+ const localVarRequestOptions = {
456
+ method: "GET",
457
+ ...baseOptions,
458
+ ...options
459
+ };
460
+ const localVarHeaderParameter = {};
461
+ const localVarQueryParameter = {};
462
+ if (queryStartDate !== void 0) localVarQueryParameter["queryStartDate"] = queryStartDate instanceof Date ? queryStartDate.toISOString() : queryStartDate;
463
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
464
+ localVarHeaderParameter["Accept"] = "application/json,payload";
465
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
466
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
467
+ localVarRequestOptions.headers = {
468
+ ...localVarHeaderParameter,
469
+ ...headersFromBaseOptions,
470
+ ...options.headers
471
+ };
472
+ return {
473
+ url: toPathString(localVarUrlObj),
474
+ options: localVarRequestOptions
475
+ };
476
+ },
477
+ /**
478
+ * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
479
+ * @param {string} sellerSku The seller SKU for which return reason codes are required.
480
+ * @param {string} [marketplaceId] The marketplace for which the seller wants return reason codes.
481
+ * @param {string} [sellerFulfillmentOrderId] The identifier assigned to the item by the seller when the fulfillment order was created. The service uses this value to determine the marketplace for which the seller wants return reason codes.
482
+ * @param {string} [language] The language that the &#x60;TranslatedDescription&#x60; property of the &#x60;ReasonCodeDetails&#x60; response object should be translated into.
483
+ * @param {*} [options] Override http request option.
484
+ * @throws {RequiredError}
485
+ */
486
+ listReturnReasonCodes: async (sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options = {}) => {
487
+ assertParamExists("listReturnReasonCodes", "sellerSku", sellerSku);
488
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/returnReasonCodes`, DUMMY_BASE_URL);
489
+ let baseOptions;
490
+ if (configuration) baseOptions = configuration.baseOptions;
491
+ const localVarRequestOptions = {
492
+ method: "GET",
493
+ ...baseOptions,
494
+ ...options
495
+ };
496
+ const localVarHeaderParameter = {};
497
+ const localVarQueryParameter = {};
498
+ if (sellerSku !== void 0) localVarQueryParameter["sellerSku"] = sellerSku;
499
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
500
+ if (sellerFulfillmentOrderId !== void 0) localVarQueryParameter["sellerFulfillmentOrderId"] = sellerFulfillmentOrderId;
501
+ if (language !== void 0) localVarQueryParameter["language"] = language;
502
+ localVarHeaderParameter["Accept"] = "application/json,payload";
503
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
504
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
505
+ localVarRequestOptions.headers = {
506
+ ...localVarHeaderParameter,
507
+ ...headersFromBaseOptions,
508
+ ...options.headers
509
+ };
510
+ return {
511
+ url: toPathString(localVarUrlObj),
512
+ options: localVarRequestOptions
513
+ };
514
+ },
515
+ /**
516
+ * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
517
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
518
+ * @param {SubmitFulfillmentOrderStatusUpdateRequest} body The identifier assigned to the item by the seller when the fulfillment order was created.
519
+ * @param {*} [options] Override http request option.
520
+ * @throws {RequiredError}
521
+ */
522
+ submitFulfillmentOrderStatusUpdate: async (sellerFulfillmentOrderId, body, options = {}) => {
523
+ assertParamExists("submitFulfillmentOrderStatusUpdate", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
524
+ assertParamExists("submitFulfillmentOrderStatusUpdate", "body", body);
525
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/status`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
526
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
527
+ let baseOptions;
528
+ if (configuration) baseOptions = configuration.baseOptions;
529
+ const localVarRequestOptions = {
530
+ method: "PUT",
531
+ ...baseOptions,
532
+ ...options
533
+ };
534
+ const localVarHeaderParameter = {};
535
+ const localVarQueryParameter = {};
536
+ localVarHeaderParameter["Content-Type"] = "application/json";
537
+ localVarHeaderParameter["Accept"] = "application/json";
538
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
539
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
540
+ localVarRequestOptions.headers = {
541
+ ...localVarHeaderParameter,
542
+ ...headersFromBaseOptions,
543
+ ...options.headers
544
+ };
545
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
546
+ return {
547
+ url: toPathString(localVarUrlObj),
548
+ options: localVarRequestOptions
549
+ };
550
+ },
551
+ /**
552
+ * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
553
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
554
+ * @param {UpdateFulfillmentOrderRequest} body The request body of the &#x60;updateFulfillmentOrder&#x60; operation.
555
+ * @param {*} [options] Override http request option.
556
+ * @throws {RequiredError}
557
+ */
558
+ updateFulfillmentOrder: async (sellerFulfillmentOrderId, body, options = {}) => {
559
+ assertParamExists("updateFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
560
+ assertParamExists("updateFulfillmentOrder", "body", body);
561
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
562
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
563
+ let baseOptions;
564
+ if (configuration) baseOptions = configuration.baseOptions;
565
+ const localVarRequestOptions = {
566
+ method: "PUT",
567
+ ...baseOptions,
568
+ ...options
569
+ };
570
+ const localVarHeaderParameter = {};
571
+ const localVarQueryParameter = {};
572
+ localVarHeaderParameter["Content-Type"] = "application/json";
573
+ localVarHeaderParameter["Accept"] = "application/json";
574
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
575
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
576
+ localVarRequestOptions.headers = {
577
+ ...localVarHeaderParameter,
578
+ ...headersFromBaseOptions,
579
+ ...options.headers
580
+ };
581
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
582
+ return {
583
+ url: toPathString(localVarUrlObj),
584
+ options: localVarRequestOptions
585
+ };
586
+ }
587
+ };
588
+ };
589
+ /**
590
+ * FulfillmentOutboundApi - functional programming interface
591
+ */
592
+ const FulfillmentOutboundApiFp = function(configuration) {
593
+ const localVarAxiosParamCreator = FulfillmentOutboundApiAxiosParamCreator(configuration);
594
+ return {
595
+ /**
596
+ * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
597
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
598
+ * @param {*} [options] Override http request option.
599
+ * @throws {RequiredError}
600
+ */
601
+ async cancelFulfillmentOrder(sellerFulfillmentOrderId, options) {
602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelFulfillmentOrder(sellerFulfillmentOrderId, options);
603
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
604
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.cancelFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
605
+ return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
606
+ },
607
+ /**
608
+ * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
609
+ * @param {CreateFulfillmentOrderRequest} body CreateFulfillmentOrderRequest parameter
610
+ * @param {*} [options] Override http request option.
611
+ * @throws {RequiredError}
612
+ */
613
+ async createFulfillmentOrder(body, options) {
614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentOrder(body, options);
615
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
616
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.createFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
617
+ return (axios$2, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$2, localVarOperationServerBasePath || basePath);
618
+ },
619
+ /**
620
+ * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
621
+ * @param {string} sellerFulfillmentOrderId An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct &#x60;sellerFulfillmentOrderId&#x60; value based on the buyer\&#39;s request to return items.
622
+ * @param {CreateFulfillmentReturnRequest} body The request body of the &#x60;createFulfillmentReturn&#x60; operation.
623
+ * @param {*} [options] Override http request option.
624
+ * @throws {RequiredError}
625
+ */
626
+ async createFulfillmentReturn(sellerFulfillmentOrderId, body, options) {
627
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentReturn(sellerFulfillmentOrderId, body, options);
628
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
629
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.createFulfillmentReturn"]?.[localVarOperationServerIndex]?.url;
630
+ return (axios$3, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$3, localVarOperationServerBasePath || basePath);
631
+ },
632
+ /**
633
+ * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
634
+ * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
635
+ * @param {*} [options] Override http request option.
636
+ * @throws {RequiredError}
637
+ */
638
+ async deliveryOffers(body, options) {
639
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOffers(body, options);
640
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
641
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.deliveryOffers"]?.[localVarOperationServerIndex]?.url;
642
+ return (axios$4, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$4, localVarOperationServerBasePath || basePath);
643
+ },
644
+ /**
645
+ * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
646
+ * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
647
+ * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
648
+ * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of &#x60;null&#x60; will return the first page.
649
+ * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format &#x60;yyyy-MM-ddTHH:mm:ss.sssZ&#x60;
650
+ * @param {*} [options] Override http request option.
651
+ * @throws {RequiredError}
652
+ */
653
+ async getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options) {
654
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options);
655
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
656
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatureInventory"]?.[localVarOperationServerIndex]?.url;
657
+ return (axios$5, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$5, localVarOperationServerBasePath || basePath);
658
+ },
659
+ /**
660
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
661
+ * @param {string} marketplaceId The marketplace for which to return the count.
662
+ * @param {string} featureName The name of the feature.
663
+ * @param {string} sellerSku Used to identify an item in the given marketplace. &#x60;sellerSku&#x60; is qualified by the seller\&#39;s &#x60;sellerId&#x60;, which is included with every operation that you submit.
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ */
667
+ async getFeatureSKU(marketplaceId, featureName, sellerSku, options) {
668
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureSKU(marketplaceId, featureName, sellerSku, options);
669
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
670
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatureSKU"]?.[localVarOperationServerIndex]?.url;
671
+ return (axios$6, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$6, localVarOperationServerBasePath || basePath);
672
+ },
673
+ /**
674
+ * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
675
+ * @param {string} marketplaceId The marketplace for which to return the list of features.
676
+ * @param {*} [options] Override http request option.
677
+ * @throws {RequiredError}
678
+ */
679
+ async getFeatures(marketplaceId, options) {
680
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatures(marketplaceId, options);
681
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
682
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatures"]?.[localVarOperationServerIndex]?.url;
683
+ return (axios$7, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$7, localVarOperationServerBasePath || basePath);
684
+ },
685
+ /**
686
+ * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
687
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ */
691
+ async getFulfillmentOrder(sellerFulfillmentOrderId, options) {
692
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentOrder(sellerFulfillmentOrderId, options);
693
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
694
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
695
+ return (axios$8, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$8, localVarOperationServerBasePath || basePath);
696
+ },
697
+ /**
698
+ * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
699
+ * @param {GetFulfillmentPreviewRequest} body GetFulfillmentPreviewRequest parameter
700
+ * @param {*} [options] Override http request option.
701
+ * @throws {RequiredError}
702
+ */
703
+ async getFulfillmentPreview(body, options) {
704
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentPreview(body, options);
705
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
706
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFulfillmentPreview"]?.[localVarOperationServerIndex]?.url;
707
+ return (axios$9, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$9, localVarOperationServerBasePath || basePath);
708
+ },
709
+ /**
710
+ * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
711
+ * @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ */
715
+ async getPackageTrackingDetails(packageNumber, options) {
716
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
717
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
718
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getPackageTrackingDetails"]?.[localVarOperationServerIndex]?.url;
719
+ return (axios$10, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$10, localVarOperationServerBasePath || basePath);
720
+ },
721
+ /**
722
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
723
+ * @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
724
+ * @param {string} [nextToken] A string token returned in the response to your previous request.
725
+ * @param {*} [options] Override http request option.
726
+ * @throws {RequiredError}
727
+ */
728
+ async listAllFulfillmentOrders(queryStartDate, nextToken, options) {
729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAllFulfillmentOrders(queryStartDate, nextToken, options);
730
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
731
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.listAllFulfillmentOrders"]?.[localVarOperationServerIndex]?.url;
732
+ return (axios$11, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$11, localVarOperationServerBasePath || basePath);
733
+ },
734
+ /**
735
+ * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
736
+ * @param {string} sellerSku The seller SKU for which return reason codes are required.
737
+ * @param {string} [marketplaceId] The marketplace for which the seller wants return reason codes.
738
+ * @param {string} [sellerFulfillmentOrderId] The identifier assigned to the item by the seller when the fulfillment order was created. The service uses this value to determine the marketplace for which the seller wants return reason codes.
739
+ * @param {string} [language] The language that the &#x60;TranslatedDescription&#x60; property of the &#x60;ReasonCodeDetails&#x60; response object should be translated into.
740
+ * @param {*} [options] Override http request option.
741
+ * @throws {RequiredError}
742
+ */
743
+ async listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options) {
744
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options);
745
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
746
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.listReturnReasonCodes"]?.[localVarOperationServerIndex]?.url;
747
+ return (axios$12, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$12, localVarOperationServerBasePath || basePath);
748
+ },
749
+ /**
750
+ * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
751
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
752
+ * @param {SubmitFulfillmentOrderStatusUpdateRequest} body The identifier assigned to the item by the seller when the fulfillment order was created.
753
+ * @param {*} [options] Override http request option.
754
+ * @throws {RequiredError}
755
+ */
756
+ async submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options) {
757
+ const localVarAxiosArgs = await localVarAxiosParamCreator.submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options);
758
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
759
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.submitFulfillmentOrderStatusUpdate"]?.[localVarOperationServerIndex]?.url;
760
+ return (axios$13, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$13, localVarOperationServerBasePath || basePath);
761
+ },
762
+ /**
763
+ * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
764
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
765
+ * @param {UpdateFulfillmentOrderRequest} body The request body of the &#x60;updateFulfillmentOrder&#x60; operation.
766
+ * @param {*} [options] Override http request option.
767
+ * @throws {RequiredError}
768
+ */
769
+ async updateFulfillmentOrder(sellerFulfillmentOrderId, body, options) {
770
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateFulfillmentOrder(sellerFulfillmentOrderId, body, options);
771
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
772
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.updateFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
773
+ return (axios$14, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$14, localVarOperationServerBasePath || basePath);
774
+ }
775
+ };
776
+ };
777
+ /**
778
+ * FulfillmentOutboundApi - factory interface
779
+ */
780
+ const FulfillmentOutboundApiFactory = function(configuration, basePath, axios$15) {
781
+ const localVarFp = FulfillmentOutboundApiFp(configuration);
782
+ return {
783
+ /**
784
+ * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
785
+ * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
786
+ * @param {*} [options] Override http request option.
787
+ * @throws {RequiredError}
788
+ */
789
+ cancelFulfillmentOrder(requestParameters, options) {
790
+ return localVarFp.cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(axios$15, basePath));
791
+ },
792
+ /**
793
+ * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
794
+ * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
795
+ * @param {*} [options] Override http request option.
796
+ * @throws {RequiredError}
797
+ */
798
+ createFulfillmentOrder(requestParameters, options) {
799
+ return localVarFp.createFulfillmentOrder(requestParameters.body, options).then((request) => request(axios$15, basePath));
800
+ },
801
+ /**
802
+ * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
803
+ * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
804
+ * @param {*} [options] Override http request option.
805
+ * @throws {RequiredError}
806
+ */
807
+ createFulfillmentReturn(requestParameters, options) {
808
+ return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios$15, basePath));
809
+ },
810
+ /**
811
+ * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
812
+ * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
813
+ * @param {*} [options] Override http request option.
814
+ * @throws {RequiredError}
815
+ */
816
+ deliveryOffers(requestParameters, options) {
817
+ return localVarFp.deliveryOffers(requestParameters.body, options).then((request) => request(axios$15, basePath));
818
+ },
819
+ /**
820
+ * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
821
+ * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
822
+ * @param {*} [options] Override http request option.
823
+ * @throws {RequiredError}
824
+ */
825
+ getFeatureInventory(requestParameters, options) {
826
+ return localVarFp.getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(axios$15, basePath));
827
+ },
828
+ /**
829
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
830
+ * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
831
+ * @param {*} [options] Override http request option.
832
+ * @throws {RequiredError}
833
+ */
834
+ getFeatureSKU(requestParameters, options) {
835
+ return localVarFp.getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(axios$15, basePath));
836
+ },
837
+ /**
838
+ * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
839
+ * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
840
+ * @param {*} [options] Override http request option.
841
+ * @throws {RequiredError}
842
+ */
843
+ getFeatures(requestParameters, options) {
844
+ return localVarFp.getFeatures(requestParameters.marketplaceId, options).then((request) => request(axios$15, basePath));
845
+ },
846
+ /**
847
+ * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
848
+ * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
849
+ * @param {*} [options] Override http request option.
850
+ * @throws {RequiredError}
851
+ */
852
+ getFulfillmentOrder(requestParameters, options) {
853
+ return localVarFp.getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(axios$15, basePath));
854
+ },
855
+ /**
856
+ * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
857
+ * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ getFulfillmentPreview(requestParameters, options) {
862
+ return localVarFp.getFulfillmentPreview(requestParameters.body, options).then((request) => request(axios$15, basePath));
863
+ },
864
+ /**
865
+ * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
866
+ * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
867
+ * @param {*} [options] Override http request option.
868
+ * @throws {RequiredError}
869
+ */
870
+ getPackageTrackingDetails(requestParameters, options) {
871
+ return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(axios$15, basePath));
872
+ },
873
+ /**
874
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
875
+ * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
876
+ * @param {*} [options] Override http request option.
877
+ * @throws {RequiredError}
878
+ */
879
+ listAllFulfillmentOrders(requestParameters = {}, options) {
880
+ return localVarFp.listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(axios$15, basePath));
881
+ },
882
+ /**
883
+ * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
884
+ * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
885
+ * @param {*} [options] Override http request option.
886
+ * @throws {RequiredError}
887
+ */
888
+ listReturnReasonCodes(requestParameters, options) {
889
+ return localVarFp.listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(axios$15, basePath));
890
+ },
891
+ /**
892
+ * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
893
+ * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
894
+ * @param {*} [options] Override http request option.
895
+ * @throws {RequiredError}
896
+ */
897
+ submitFulfillmentOrderStatusUpdate(requestParameters, options) {
898
+ return localVarFp.submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios$15, basePath));
899
+ },
900
+ /**
901
+ * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
902
+ * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
903
+ * @param {*} [options] Override http request option.
904
+ * @throws {RequiredError}
905
+ */
906
+ updateFulfillmentOrder(requestParameters, options) {
907
+ return localVarFp.updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios$15, basePath));
908
+ }
909
+ };
910
+ };
911
+ /**
912
+ * FulfillmentOutboundApi - object-oriented interface
913
+ */
914
+ var FulfillmentOutboundApi = class extends BaseAPI {
915
+ /**
916
+ * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
917
+ * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
918
+ * @param {*} [options] Override http request option.
919
+ * @throws {RequiredError}
920
+ */
921
+ cancelFulfillmentOrder(requestParameters, options) {
922
+ return FulfillmentOutboundApiFp(this.configuration).cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
923
+ }
924
+ /**
925
+ * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
926
+ * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
927
+ * @param {*} [options] Override http request option.
928
+ * @throws {RequiredError}
929
+ */
930
+ createFulfillmentOrder(requestParameters, options) {
931
+ return FulfillmentOutboundApiFp(this.configuration).createFulfillmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
932
+ }
933
+ /**
934
+ * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
935
+ * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
936
+ * @param {*} [options] Override http request option.
937
+ * @throws {RequiredError}
938
+ */
939
+ createFulfillmentReturn(requestParameters, options) {
940
+ return FulfillmentOutboundApiFp(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
941
+ }
942
+ /**
943
+ * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
944
+ * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
945
+ * @param {*} [options] Override http request option.
946
+ * @throws {RequiredError}
947
+ */
948
+ deliveryOffers(requestParameters, options) {
949
+ return FulfillmentOutboundApiFp(this.configuration).deliveryOffers(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
950
+ }
951
+ /**
952
+ * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
953
+ * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
954
+ * @param {*} [options] Override http request option.
955
+ * @throws {RequiredError}
956
+ */
957
+ getFeatureInventory(requestParameters, options) {
958
+ return FulfillmentOutboundApiFp(this.configuration).getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(this.axios, this.basePath));
959
+ }
960
+ /**
961
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
962
+ * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
963
+ * @param {*} [options] Override http request option.
964
+ * @throws {RequiredError}
965
+ */
966
+ getFeatureSKU(requestParameters, options) {
967
+ return FulfillmentOutboundApiFp(this.configuration).getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(this.axios, this.basePath));
968
+ }
969
+ /**
970
+ * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
971
+ * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
972
+ * @param {*} [options] Override http request option.
973
+ * @throws {RequiredError}
974
+ */
975
+ getFeatures(requestParameters, options) {
976
+ return FulfillmentOutboundApiFp(this.configuration).getFeatures(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
977
+ }
978
+ /**
979
+ * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
980
+ * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
981
+ * @param {*} [options] Override http request option.
982
+ * @throws {RequiredError}
983
+ */
984
+ getFulfillmentOrder(requestParameters, options) {
985
+ return FulfillmentOutboundApiFp(this.configuration).getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
986
+ }
987
+ /**
988
+ * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
989
+ * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
990
+ * @param {*} [options] Override http request option.
991
+ * @throws {RequiredError}
992
+ */
993
+ getFulfillmentPreview(requestParameters, options) {
994
+ return FulfillmentOutboundApiFp(this.configuration).getFulfillmentPreview(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
995
+ }
996
+ /**
997
+ * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
998
+ * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
999
+ * @param {*} [options] Override http request option.
1000
+ * @throws {RequiredError}
1001
+ */
1002
+ getPackageTrackingDetails(requestParameters, options) {
1003
+ return FulfillmentOutboundApiFp(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
1004
+ }
1005
+ /**
1006
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
1007
+ * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
1008
+ * @param {*} [options] Override http request option.
1009
+ * @throws {RequiredError}
1010
+ */
1011
+ listAllFulfillmentOrders(requestParameters = {}, options) {
1012
+ return FulfillmentOutboundApiFp(this.configuration).listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
1013
+ }
1014
+ /**
1015
+ * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1016
+ * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
1017
+ * @param {*} [options] Override http request option.
1018
+ * @throws {RequiredError}
1019
+ */
1020
+ listReturnReasonCodes(requestParameters, options) {
1021
+ return FulfillmentOutboundApiFp(this.configuration).listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
1022
+ }
1023
+ /**
1024
+ * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
1025
+ * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
1026
+ * @param {*} [options] Override http request option.
1027
+ * @throws {RequiredError}
1028
+ */
1029
+ submitFulfillmentOrderStatusUpdate(requestParameters, options) {
1030
+ return FulfillmentOutboundApiFp(this.configuration).submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1031
+ }
1032
+ /**
1033
+ * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1034
+ * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
1035
+ * @param {*} [options] Override http request option.
1036
+ * @throws {RequiredError}
1037
+ */
1038
+ updateFulfillmentOrder(requestParameters, options) {
1039
+ return FulfillmentOutboundApiFp(this.configuration).updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1040
+ }
1041
+ };
1042
+ //#endregion
1043
+ //#region src/api-model/configuration.ts
1044
+ var Configuration = class {
1045
+ /**
1046
+ * parameter for apiKey security
1047
+ * @param name security name
1048
+ */
1049
+ apiKey;
1050
+ /**
1051
+ * parameter for basic security
1052
+ */
1053
+ username;
1054
+ /**
1055
+ * parameter for basic security
1056
+ */
1057
+ password;
1058
+ /**
1059
+ * parameter for oauth2 security
1060
+ * @param name security name
1061
+ * @param scopes oauth2 scope
1062
+ */
1063
+ accessToken;
1064
+ /**
1065
+ * parameter for aws4 signature security
1066
+ * @param {Object} AWS4Signature - AWS4 Signature security
1067
+ * @param {string} options.region - aws region
1068
+ * @param {string} options.service - name of the service.
1069
+ * @param {string} credentials.accessKeyId - aws access key id
1070
+ * @param {string} credentials.secretAccessKey - aws access key
1071
+ * @param {string} credentials.sessionToken - aws session token
1072
+ * @memberof Configuration
1073
+ */
1074
+ awsv4;
1075
+ /**
1076
+ * override base path
1077
+ */
1078
+ basePath;
1079
+ /**
1080
+ * override server index
1081
+ */
1082
+ serverIndex;
1083
+ /**
1084
+ * base options for axios calls
1085
+ */
1086
+ baseOptions;
1087
+ /**
1088
+ * The FormData constructor that will be used to create multipart form data
1089
+ * requests. You can inject this here so that execution environments that
1090
+ * do not support the FormData class can still run the generated client.
1091
+ *
1092
+ * @type {new () => FormData}
1093
+ */
1094
+ formDataCtor;
1095
+ constructor(param = {}) {
1096
+ this.apiKey = param.apiKey;
1097
+ this.username = param.username;
1098
+ this.password = param.password;
1099
+ this.accessToken = param.accessToken;
1100
+ this.awsv4 = param.awsv4;
1101
+ this.basePath = param.basePath;
1102
+ this.serverIndex = param.serverIndex;
1103
+ this.baseOptions = {
1104
+ ...param.baseOptions,
1105
+ headers: { ...param.baseOptions?.headers }
1106
+ };
1107
+ this.formDataCtor = param.formDataCtor;
1108
+ }
1109
+ /**
1110
+ * Check if the given MIME is a JSON MIME.
1111
+ * JSON MIME examples:
1112
+ * application/json
1113
+ * application/json; charset=UTF8
1114
+ * APPLICATION/JSON
1115
+ * application/vnd.company+json
1116
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
1117
+ * @return True if the given MIME is JSON, false otherwise.
1118
+ */
1119
+ isJsonMime(mime) {
1120
+ return mime !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(mime);
1121
+ }
1122
+ };
1123
+ //#endregion
1124
+ //#region src/api-model/models/additional-location-info.ts
1125
+ /**
1126
+ * Selling Partner APIs for Fulfillment Outbound
1127
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1128
+ *
1129
+ * The version of the OpenAPI document: 2020-07-01
1130
+ *
1131
+ *
1132
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1133
+ * https://openapi-generator.tech
1134
+ * Do not edit the class manually.
1135
+ */
1136
+ /**
1137
+ * Additional location information.
1138
+ */
1139
+ const AdditionalLocationInfo = {
1140
+ AsInstructed: "AS_INSTRUCTED",
1141
+ Carport: "CARPORT",
1142
+ CustomerPickup: "CUSTOMER_PICKUP",
1143
+ Deck: "DECK",
1144
+ DoorPerson: "DOOR_PERSON",
1145
+ FrontDesk: "FRONT_DESK",
1146
+ FrontDoor: "FRONT_DOOR",
1147
+ Garage: "GARAGE",
1148
+ Guard: "GUARD",
1149
+ MailRoom: "MAIL_ROOM",
1150
+ MailSlot: "MAIL_SLOT",
1151
+ Mailbox: "MAILBOX",
1152
+ McBoy: "MC_BOY",
1153
+ McGirl: "MC_GIRL",
1154
+ McMan: "MC_MAN",
1155
+ McWoman: "MC_WOMAN",
1156
+ Neighbor: "NEIGHBOR",
1157
+ Office: "OFFICE",
1158
+ Outbuilding: "OUTBUILDING",
1159
+ Patio: "PATIO",
1160
+ Porch: "PORCH",
1161
+ RearDoor: "REAR_DOOR",
1162
+ Receptionist: "RECEPTIONIST",
1163
+ Receiver: "RECEIVER",
1164
+ SecureLocation: "SECURE_LOCATION",
1165
+ SideDoor: "SIDE_DOOR"
1166
+ };
1167
+ //#endregion
1168
+ //#region src/api-model/models/amount.ts
1169
+ const AmountUnitOfMeasureEnum = { Eaches: "Eaches" };
1170
+ //#endregion
1171
+ //#region src/api-model/models/current-status.ts
1172
+ /**
1173
+ * Selling Partner APIs for Fulfillment Outbound
1174
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1175
+ *
1176
+ * The version of the OpenAPI document: 2020-07-01
1177
+ *
1178
+ *
1179
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1180
+ * https://openapi-generator.tech
1181
+ * Do not edit the class manually.
1182
+ */
1183
+ /**
1184
+ * The current delivery status of the package.
1185
+ */
1186
+ const CurrentStatus = {
1187
+ InTransit: "IN_TRANSIT",
1188
+ Delivered: "DELIVERED",
1189
+ Returning: "RETURNING",
1190
+ Returned: "RETURNED",
1191
+ Undeliverable: "UNDELIVERABLE",
1192
+ Delayed: "DELAYED",
1193
+ AvailableForPickup: "AVAILABLE_FOR_PICKUP",
1194
+ CustomerAction: "CUSTOMER_ACTION",
1195
+ Unknown: "UNKNOWN",
1196
+ OutForDelivery: "OUT_FOR_DELIVERY",
1197
+ DeliveryAttempted: "DELIVERY_ATTEMPTED",
1198
+ PickupSuccessful: "PICKUP_SUCCESSFUL",
1199
+ PickupCancelled: "PICKUP_CANCELLED",
1200
+ PickupAttempted: "PICKUP_ATTEMPTED",
1201
+ PickupScheduled: "PICKUP_SCHEDULED",
1202
+ ReturnRequestAccepted: "RETURN_REQUEST_ACCEPTED",
1203
+ RefundIssued: "REFUND_ISSUED",
1204
+ ReturnReceivedInFc: "RETURN_RECEIVED_IN_FC"
1205
+ };
1206
+ //#endregion
1207
+ //#region src/api-model/models/drop-off-location.ts
1208
+ const DropOffLocationTypeEnum = {
1209
+ FrontDoor: "FRONT_DOOR",
1210
+ DeliveryBox: "DELIVERY_BOX",
1211
+ GasMeterBox: "GAS_METER_BOX",
1212
+ BicycleBasket: "BICYCLE_BASKET",
1213
+ Garage: "GARAGE",
1214
+ Receptionist: "RECEPTIONIST",
1215
+ FallbackNeighborDelivery: "FALLBACK_NEIGHBOR_DELIVERY",
1216
+ DoNotLeaveUnattended: "DO_NOT_LEAVE_UNATTENDED"
1217
+ };
1218
+ //#endregion
1219
+ //#region src/api-model/models/event-code.ts
1220
+ /**
1221
+ * Selling Partner APIs for Fulfillment Outbound
1222
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1223
+ *
1224
+ * The version of the OpenAPI document: 2020-07-01
1225
+ *
1226
+ *
1227
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1228
+ * https://openapi-generator.tech
1229
+ * Do not edit the class manually.
1230
+ */
1231
+ /**
1232
+ * The event code for the delivery event.
1233
+ */
1234
+ const EventCode = {
1235
+ Event101: "EVENT_101",
1236
+ Event102: "EVENT_102",
1237
+ Event201: "EVENT_201",
1238
+ Event202: "EVENT_202",
1239
+ Event203: "EVENT_203",
1240
+ Event204: "EVENT_204",
1241
+ Event205: "EVENT_205",
1242
+ Event206: "EVENT_206",
1243
+ Event301: "EVENT_301",
1244
+ Event302: "EVENT_302",
1245
+ Event304: "EVENT_304",
1246
+ Event306: "EVENT_306",
1247
+ Event307: "EVENT_307",
1248
+ Event308: "EVENT_308",
1249
+ Event309: "EVENT_309",
1250
+ Event401: "EVENT_401",
1251
+ Event402: "EVENT_402",
1252
+ Event403: "EVENT_403",
1253
+ Event404: "EVENT_404",
1254
+ Event405: "EVENT_405",
1255
+ Event406: "EVENT_406",
1256
+ Event407: "EVENT_407",
1257
+ Event408: "EVENT_408",
1258
+ Event409: "EVENT_409",
1259
+ Event411: "EVENT_411",
1260
+ Event412: "EVENT_412",
1261
+ Event413: "EVENT_413",
1262
+ Event414: "EVENT_414",
1263
+ Event415: "EVENT_415",
1264
+ Event416: "EVENT_416",
1265
+ Event417: "EVENT_417",
1266
+ Event418: "EVENT_418",
1267
+ Event419: "EVENT_419",
1268
+ Event801: "EVENT_801",
1269
+ Event804: "EVENT_804"
1270
+ };
1271
+ //#endregion
1272
+ //#region src/api-model/models/feature-settings.ts
1273
+ const FeatureSettingsFeatureFulfillmentPolicyEnum = {
1274
+ Required: "Required",
1275
+ NotRequired: "NotRequired"
1276
+ };
1277
+ //#endregion
1278
+ //#region src/api-model/models/fee.ts
1279
+ const FeeNameEnum = {
1280
+ FbaPerUnitFulfillmentFee: "FBAPerUnitFulfillmentFee",
1281
+ FbaPerOrderFulfillmentFee: "FBAPerOrderFulfillmentFee",
1282
+ FbaTransportationFee: "FBATransportationFee",
1283
+ FbaFulfillmentCodFee: "FBAFulfillmentCODFee"
1284
+ };
1285
+ //#endregion
1286
+ //#region src/api-model/models/fulfillment-action.ts
1287
+ /**
1288
+ * Selling Partner APIs for Fulfillment Outbound
1289
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1290
+ *
1291
+ * The version of the OpenAPI document: 2020-07-01
1292
+ *
1293
+ *
1294
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1295
+ * https://openapi-generator.tech
1296
+ * Do not edit the class manually.
1297
+ */
1298
+ /**
1299
+ * Specifies whether the fulfillment order should ship now or have an order hold put on it.
1300
+ */
1301
+ const FulfillmentAction = {
1302
+ Ship: "Ship",
1303
+ Hold: "Hold"
1304
+ };
1305
+ //#endregion
1306
+ //#region src/api-model/models/fulfillment-order-status.ts
1307
+ /**
1308
+ * Selling Partner APIs for Fulfillment Outbound
1309
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1310
+ *
1311
+ * The version of the OpenAPI document: 2020-07-01
1312
+ *
1313
+ *
1314
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1315
+ * https://openapi-generator.tech
1316
+ * Do not edit the class manually.
1317
+ */
1318
+ /**
1319
+ * The current status of the fulfillment order.
1320
+ */
1321
+ const FulfillmentOrderStatus = {
1322
+ New: "New",
1323
+ Received: "Received",
1324
+ Planning: "Planning",
1325
+ Processing: "Processing",
1326
+ Cancelled: "Cancelled",
1327
+ Complete: "Complete",
1328
+ CompletePartialled: "CompletePartialled",
1329
+ Unfulfillable: "Unfulfillable",
1330
+ Invalid: "Invalid"
1331
+ };
1332
+ //#endregion
1333
+ //#region src/api-model/models/fulfillment-policy.ts
1334
+ /**
1335
+ * Selling Partner APIs for Fulfillment Outbound
1336
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1337
+ *
1338
+ * The version of the OpenAPI document: 2020-07-01
1339
+ *
1340
+ *
1341
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1342
+ * https://openapi-generator.tech
1343
+ * Do not edit the class manually.
1344
+ */
1345
+ /**
1346
+ * The `FulfillmentPolicy` value specified when you called the `createFulfillmentOrder` operation.
1347
+ */
1348
+ const FulfillmentPolicy = {
1349
+ FillOrKill: "FillOrKill",
1350
+ FillAll: "FillAll",
1351
+ FillAllAvailable: "FillAllAvailable"
1352
+ };
1353
+ //#endregion
1354
+ //#region src/api-model/models/fulfillment-preview-item.ts
1355
+ const FulfillmentPreviewItemShippingWeightCalculationMethodEnum = {
1356
+ Package: "Package",
1357
+ Dimensional: "Dimensional"
1358
+ };
1359
+ //#endregion
1360
+ //#region src/api-model/models/fulfillment-return-item-status.ts
1361
+ /**
1362
+ * Selling Partner APIs for Fulfillment Outbound
1363
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1364
+ *
1365
+ * The version of the OpenAPI document: 2020-07-01
1366
+ *
1367
+ *
1368
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1369
+ * https://openapi-generator.tech
1370
+ * Do not edit the class manually.
1371
+ */
1372
+ /**
1373
+ * Indicates if the return item has been processed by a fulfillment center.
1374
+ */
1375
+ const FulfillmentReturnItemStatus = {
1376
+ New: "New",
1377
+ Processed: "Processed"
1378
+ };
1379
+ //#endregion
1380
+ //#region src/api-model/models/fulfillment-shipment.ts
1381
+ const FulfillmentShipmentFulfillmentShipmentStatusEnum = {
1382
+ Pending: "PENDING",
1383
+ Shipped: "SHIPPED",
1384
+ CancelledByFulfiller: "CANCELLED_BY_FULFILLER",
1385
+ CancelledBySeller: "CANCELLED_BY_SELLER"
1386
+ };
1387
+ //#endregion
1388
+ //#region src/api-model/models/invalid-item-reason-code.ts
1389
+ /**
1390
+ * Selling Partner APIs for Fulfillment Outbound
1391
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1392
+ *
1393
+ * The version of the OpenAPI document: 2020-07-01
1394
+ *
1395
+ *
1396
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1397
+ * https://openapi-generator.tech
1398
+ * Do not edit the class manually.
1399
+ */
1400
+ /**
1401
+ * A code for why the item is invalid for return.
1402
+ */
1403
+ const InvalidItemReasonCode = {
1404
+ InvalidValues: "InvalidValues",
1405
+ DuplicateRequest: "DuplicateRequest",
1406
+ NoCompletedShipItems: "NoCompletedShipItems",
1407
+ NoReturnableQuantity: "NoReturnableQuantity"
1408
+ };
1409
+ //#endregion
1410
+ //#region src/api-model/models/return-item-disposition.ts
1411
+ /**
1412
+ * Selling Partner APIs for Fulfillment Outbound
1413
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1414
+ *
1415
+ * The version of the OpenAPI document: 2020-07-01
1416
+ *
1417
+ *
1418
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1419
+ * https://openapi-generator.tech
1420
+ * Do not edit the class manually.
1421
+ */
1422
+ /**
1423
+ * The condition of the return item when received by an Amazon fulfillment center.
1424
+ */
1425
+ const ReturnItemDisposition = {
1426
+ Sellable: "Sellable",
1427
+ Defective: "Defective",
1428
+ CustomerDamaged: "CustomerDamaged",
1429
+ CarrierDamaged: "CarrierDamaged",
1430
+ FulfillerDamaged: "FulfillerDamaged"
1431
+ };
1432
+ //#endregion
1433
+ //#region src/api-model/models/shipping-speed-category.ts
1434
+ /**
1435
+ * Selling Partner APIs for Fulfillment Outbound
1436
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1437
+ *
1438
+ * The version of the OpenAPI document: 2020-07-01
1439
+ *
1440
+ *
1441
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1442
+ * https://openapi-generator.tech
1443
+ * Do not edit the class manually.
1444
+ */
1445
+ /**
1446
+ * The shipping method used for the fulfillment order. When this value is `ScheduledDelivery`, choose `Ship` for the `fulfillmentAction`. `Hold` is not a valid `fulfillmentAction` value when the `shippingSpeedCategory` value is `ScheduledDelivery`. Note: Shipping method service level agreements vary by marketplace. Sellers should refer to the [Seller Central](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls) website in their marketplace for shipping method service level agreements and fulfillment fees.
1447
+ */
1448
+ const ShippingSpeedCategory = {
1449
+ Standard: "Standard",
1450
+ Expedited: "Expedited",
1451
+ Priority: "Priority",
1452
+ ScheduledDelivery: "ScheduledDelivery"
1453
+ };
1454
+ //#endregion
1455
+ //#region src/api-model/models/weight.ts
1456
+ const WeightUnitEnum = {
1457
+ Kg: "KG",
1458
+ Kilograms: "KILOGRAMS",
1459
+ Lb: "LB",
1460
+ Pounds: "POUNDS"
1461
+ };
1462
+ //#endregion
1463
+ //#region src/client.ts
1464
+ const clientRateLimits = [
1465
+ {
1466
+ method: "post",
1467
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/preview$/v,
1468
+ rate: 2,
1469
+ burst: 30
1470
+ },
1471
+ {
1472
+ method: "post",
1473
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/deliveryOffers$/v,
1474
+ rate: 5,
1475
+ burst: 30
1476
+ },
1477
+ {
1478
+ method: "get",
1479
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders$/v,
1480
+ rate: 2,
1481
+ burst: 30
1482
+ },
1483
+ {
1484
+ method: "post",
1485
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders$/v,
1486
+ rate: 2,
1487
+ burst: 30
1488
+ },
1489
+ {
1490
+ method: "get",
1491
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/tracking$/v,
1492
+ rate: 2,
1493
+ burst: 30
1494
+ },
1495
+ {
1496
+ method: "get",
1497
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/returnReasonCodes$/v,
1498
+ rate: 2,
1499
+ burst: 30
1500
+ },
1501
+ {
1502
+ method: "put",
1503
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/[^\/]*\/return$/v,
1504
+ rate: 2,
1505
+ burst: 30
1506
+ },
1507
+ {
1508
+ method: "get",
1509
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/[^\/]*$/v,
1510
+ rate: 2,
1511
+ burst: 30
1512
+ },
1513
+ {
1514
+ method: "put",
1515
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/[^\/]*$/v,
1516
+ rate: 2,
1517
+ burst: 30
1518
+ },
1519
+ {
1520
+ method: "put",
1521
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/[^\/]*\/cancel$/v,
1522
+ rate: 2,
1523
+ burst: 30
1524
+ },
1525
+ {
1526
+ method: "get",
1527
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/features$/v,
1528
+ rate: 2,
1529
+ burst: 30
1530
+ },
1531
+ {
1532
+ method: "get",
1533
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/features\/inventory\/[^\/]*$/v,
1534
+ rate: 2,
1535
+ burst: 30
1536
+ },
1537
+ {
1538
+ method: "get",
1539
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/features\/inventory\/[^\/]*\/[^\/]*$/v,
1540
+ rate: 2,
1541
+ burst: 30
1542
+ }
1543
+ ];
1544
+ var FulfillmentOutboundApiClient = class extends FulfillmentOutboundApi {
1545
+ constructor(configuration) {
1546
+ const { axios, endpoint } = (0, _sp_api_sdk_common.createAxiosInstance)(configuration, clientRateLimits);
1547
+ super(new Configuration(), endpoint, axios);
1548
+ }
1549
+ };
1550
+ //#endregion
1551
+ exports.AdditionalLocationInfo = AdditionalLocationInfo;
1552
+ exports.AmountUnitOfMeasureEnum = AmountUnitOfMeasureEnum;
1553
+ exports.CurrentStatus = CurrentStatus;
1554
+ exports.DropOffLocationTypeEnum = DropOffLocationTypeEnum;
1555
+ exports.EventCode = EventCode;
1556
+ exports.FeatureSettingsFeatureFulfillmentPolicyEnum = FeatureSettingsFeatureFulfillmentPolicyEnum;
1557
+ exports.FeeNameEnum = FeeNameEnum;
1558
+ exports.FulfillmentAction = FulfillmentAction;
1559
+ exports.FulfillmentOrderStatus = FulfillmentOrderStatus;
1560
+ exports.FulfillmentOutboundApi = FulfillmentOutboundApi;
1561
+ exports.FulfillmentOutboundApiAxiosParamCreator = FulfillmentOutboundApiAxiosParamCreator;
1562
+ exports.FulfillmentOutboundApiClient = FulfillmentOutboundApiClient;
1563
+ exports.FulfillmentOutboundApiFactory = FulfillmentOutboundApiFactory;
1564
+ exports.FulfillmentOutboundApiFp = FulfillmentOutboundApiFp;
1565
+ exports.FulfillmentPolicy = FulfillmentPolicy;
1566
+ exports.FulfillmentPreviewItemShippingWeightCalculationMethodEnum = FulfillmentPreviewItemShippingWeightCalculationMethodEnum;
1567
+ exports.FulfillmentReturnItemStatus = FulfillmentReturnItemStatus;
1568
+ exports.FulfillmentShipmentFulfillmentShipmentStatusEnum = FulfillmentShipmentFulfillmentShipmentStatusEnum;
1569
+ exports.InvalidItemReasonCode = InvalidItemReasonCode;
1570
+ exports.ReturnItemDisposition = ReturnItemDisposition;
1571
+ exports.ShippingSpeedCategory = ShippingSpeedCategory;
1572
+ exports.WeightUnitEnum = WeightUnitEnum;
1573
+ exports.clientRateLimits = clientRateLimits;
1574
+
1575
+ //# sourceMappingURL=index.cjs.map