@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
@@ -1,963 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner APIs for Fulfillment Outbound
6
- * 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.
7
- *
8
- * The version of the OpenAPI document: 2020-07-01
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- var __importDefault = (this && this.__importDefault) || function (mod) {
16
- return (mod && mod.__esModule) ? mod : { "default": mod };
17
- };
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.FulfillmentOutboundApi = exports.FulfillmentOutboundApiFactory = exports.FulfillmentOutboundApiFp = exports.FulfillmentOutboundApiAxiosParamCreator = void 0;
20
- const axios_1 = __importDefault(require("axios"));
21
- // Some imports not used depending on template conditions
22
- // @ts-ignore
23
- const common_1 = require("../common");
24
- // @ts-ignore
25
- const base_1 = require("../base");
26
- /**
27
- * FulfillmentOutboundApi - axios parameter creator
28
- */
29
- const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
30
- return {
31
- /**
32
- * 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).
33
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
34
- * @param {*} [options] Override http request option.
35
- * @throws {RequiredError}
36
- */
37
- cancelFulfillmentOrder: async (sellerFulfillmentOrderId, options = {}) => {
38
- // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
39
- (0, common_1.assertParamExists)('cancelFulfillmentOrder', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
40
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/cancel`
41
- .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
42
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
44
- let baseOptions;
45
- if (configuration) {
46
- baseOptions = configuration.baseOptions;
47
- }
48
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
49
- const localVarHeaderParameter = {};
50
- const localVarQueryParameter = {};
51
- localVarHeaderParameter['Accept'] = 'application/json';
52
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
53
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
55
- return {
56
- url: (0, common_1.toPathString)(localVarUrlObj),
57
- options: localVarRequestOptions,
58
- };
59
- },
60
- /**
61
- * 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)
62
- * @param {CreateFulfillmentOrderRequest} body CreateFulfillmentOrderRequest parameter
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- createFulfillmentOrder: async (body, options = {}) => {
67
- // verify required parameter 'body' is not null or undefined
68
- (0, common_1.assertParamExists)('createFulfillmentOrder', 'body', body);
69
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders`;
70
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
71
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
72
- let baseOptions;
73
- if (configuration) {
74
- baseOptions = configuration.baseOptions;
75
- }
76
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
77
- const localVarHeaderParameter = {};
78
- const localVarQueryParameter = {};
79
- localVarHeaderParameter['Content-Type'] = 'application/json';
80
- localVarHeaderParameter['Accept'] = 'application/json';
81
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
82
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
84
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
85
- return {
86
- url: (0, common_1.toPathString)(localVarUrlObj),
87
- options: localVarRequestOptions,
88
- };
89
- },
90
- /**
91
- * 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).
92
- * @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 `sellerFulfillmentOrderId` value based on the buyer\'s request to return items.
93
- * @param {CreateFulfillmentReturnRequest} body The request body of the `createFulfillmentReturn` operation.
94
- * @param {*} [options] Override http request option.
95
- * @throws {RequiredError}
96
- */
97
- createFulfillmentReturn: async (sellerFulfillmentOrderId, body, options = {}) => {
98
- // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
99
- (0, common_1.assertParamExists)('createFulfillmentReturn', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
100
- // verify required parameter 'body' is not null or undefined
101
- (0, common_1.assertParamExists)('createFulfillmentReturn', 'body', body);
102
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/return`
103
- .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
104
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
106
- let baseOptions;
107
- if (configuration) {
108
- baseOptions = configuration.baseOptions;
109
- }
110
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
111
- const localVarHeaderParameter = {};
112
- const localVarQueryParameter = {};
113
- localVarHeaderParameter['Content-Type'] = 'application/json';
114
- localVarHeaderParameter['Accept'] = 'application/json,payload';
115
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
116
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
117
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
118
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
119
- return {
120
- url: (0, common_1.toPathString)(localVarUrlObj),
121
- options: localVarRequestOptions,
122
- };
123
- },
124
- /**
125
- * 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).
126
- * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
127
- * @param {*} [options] Override http request option.
128
- * @throws {RequiredError}
129
- */
130
- deliveryOffers: async (body, options = {}) => {
131
- // verify required parameter 'body' is not null or undefined
132
- (0, common_1.assertParamExists)('deliveryOffers', 'body', body);
133
- const localVarPath = `/fba/outbound/2020-07-01/deliveryOffers`;
134
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
135
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
136
- let baseOptions;
137
- if (configuration) {
138
- baseOptions = configuration.baseOptions;
139
- }
140
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
141
- const localVarHeaderParameter = {};
142
- const localVarQueryParameter = {};
143
- localVarHeaderParameter['Content-Type'] = 'application/json';
144
- localVarHeaderParameter['Accept'] = 'application/json,payload';
145
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
146
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
148
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
149
- return {
150
- url: (0, common_1.toPathString)(localVarUrlObj),
151
- options: localVarRequestOptions,
152
- };
153
- },
154
- /**
155
- * 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).
156
- * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
157
- * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
158
- * @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 `null` will return the first page.
159
- * @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 `yyyy-MM-ddTHH:mm:ss.sssZ`
160
- * @param {*} [options] Override http request option.
161
- * @throws {RequiredError}
162
- */
163
- getFeatureInventory: async (marketplaceId, featureName, nextToken, queryStartDate, options = {}) => {
164
- // verify required parameter 'marketplaceId' is not null or undefined
165
- (0, common_1.assertParamExists)('getFeatureInventory', 'marketplaceId', marketplaceId);
166
- // verify required parameter 'featureName' is not null or undefined
167
- (0, common_1.assertParamExists)('getFeatureInventory', 'featureName', featureName);
168
- const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}`
169
- .replace('{featureName}', encodeURIComponent(String(featureName)));
170
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
171
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
172
- let baseOptions;
173
- if (configuration) {
174
- baseOptions = configuration.baseOptions;
175
- }
176
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
177
- const localVarHeaderParameter = {};
178
- const localVarQueryParameter = {};
179
- if (marketplaceId !== undefined) {
180
- localVarQueryParameter['marketplaceId'] = marketplaceId;
181
- }
182
- if (nextToken !== undefined) {
183
- localVarQueryParameter['nextToken'] = nextToken;
184
- }
185
- if (queryStartDate !== undefined) {
186
- localVarQueryParameter['queryStartDate'] = (queryStartDate instanceof Date) ?
187
- queryStartDate.toISOString() :
188
- queryStartDate;
189
- }
190
- localVarHeaderParameter['Accept'] = 'application/json,payload';
191
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
192
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
193
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
194
- return {
195
- url: (0, common_1.toPathString)(localVarUrlObj),
196
- options: localVarRequestOptions,
197
- };
198
- },
199
- /**
200
- * 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).
201
- * @param {string} marketplaceId The marketplace for which to return the count.
202
- * @param {string} featureName The name of the feature.
203
- * @param {string} sellerSku Used to identify an item in the given marketplace. `sellerSku` is qualified by the seller\'s `sellerId`, which is included with every operation that you submit.
204
- * @param {*} [options] Override http request option.
205
- * @throws {RequiredError}
206
- */
207
- getFeatureSKU: async (marketplaceId, featureName, sellerSku, options = {}) => {
208
- // verify required parameter 'marketplaceId' is not null or undefined
209
- (0, common_1.assertParamExists)('getFeatureSKU', 'marketplaceId', marketplaceId);
210
- // verify required parameter 'featureName' is not null or undefined
211
- (0, common_1.assertParamExists)('getFeatureSKU', 'featureName', featureName);
212
- // verify required parameter 'sellerSku' is not null or undefined
213
- (0, common_1.assertParamExists)('getFeatureSKU', 'sellerSku', sellerSku);
214
- const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}/{sellerSku}`
215
- .replace('{featureName}', encodeURIComponent(String(featureName)))
216
- .replace('{sellerSku}', encodeURIComponent(String(sellerSku)));
217
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
218
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
219
- let baseOptions;
220
- if (configuration) {
221
- baseOptions = configuration.baseOptions;
222
- }
223
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
224
- const localVarHeaderParameter = {};
225
- const localVarQueryParameter = {};
226
- if (marketplaceId !== undefined) {
227
- localVarQueryParameter['marketplaceId'] = marketplaceId;
228
- }
229
- localVarHeaderParameter['Accept'] = 'application/json,payload';
230
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
231
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
233
- return {
234
- url: (0, common_1.toPathString)(localVarUrlObj),
235
- options: localVarRequestOptions,
236
- };
237
- },
238
- /**
239
- * 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).
240
- * @param {string} marketplaceId The marketplace for which to return the list of features.
241
- * @param {*} [options] Override http request option.
242
- * @throws {RequiredError}
243
- */
244
- getFeatures: async (marketplaceId, options = {}) => {
245
- // verify required parameter 'marketplaceId' is not null or undefined
246
- (0, common_1.assertParamExists)('getFeatures', 'marketplaceId', marketplaceId);
247
- const localVarPath = `/fba/outbound/2020-07-01/features`;
248
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
249
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
250
- let baseOptions;
251
- if (configuration) {
252
- baseOptions = configuration.baseOptions;
253
- }
254
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
255
- const localVarHeaderParameter = {};
256
- const localVarQueryParameter = {};
257
- if (marketplaceId !== undefined) {
258
- localVarQueryParameter['marketplaceId'] = marketplaceId;
259
- }
260
- localVarHeaderParameter['Accept'] = 'application/json,payload';
261
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
262
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
263
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
264
- return {
265
- url: (0, common_1.toPathString)(localVarUrlObj),
266
- options: localVarRequestOptions,
267
- };
268
- },
269
- /**
270
- * 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).
271
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
272
- * @param {*} [options] Override http request option.
273
- * @throws {RequiredError}
274
- */
275
- getFulfillmentOrder: async (sellerFulfillmentOrderId, options = {}) => {
276
- // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
277
- (0, common_1.assertParamExists)('getFulfillmentOrder', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
278
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`
279
- .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
280
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
281
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
282
- let baseOptions;
283
- if (configuration) {
284
- baseOptions = configuration.baseOptions;
285
- }
286
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
287
- const localVarHeaderParameter = {};
288
- const localVarQueryParameter = {};
289
- localVarHeaderParameter['Accept'] = 'application/json,payload';
290
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
291
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
292
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
293
- return {
294
- url: (0, common_1.toPathString)(localVarUrlObj),
295
- options: localVarRequestOptions,
296
- };
297
- },
298
- /**
299
- * 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).
300
- * @param {GetFulfillmentPreviewRequest} body GetFulfillmentPreviewRequest parameter
301
- * @param {*} [options] Override http request option.
302
- * @throws {RequiredError}
303
- */
304
- getFulfillmentPreview: async (body, options = {}) => {
305
- // verify required parameter 'body' is not null or undefined
306
- (0, common_1.assertParamExists)('getFulfillmentPreview', 'body', body);
307
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/preview`;
308
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
309
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
310
- let baseOptions;
311
- if (configuration) {
312
- baseOptions = configuration.baseOptions;
313
- }
314
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
315
- const localVarHeaderParameter = {};
316
- const localVarQueryParameter = {};
317
- localVarHeaderParameter['Content-Type'] = 'application/json';
318
- localVarHeaderParameter['Accept'] = 'application/json,payload';
319
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
320
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
321
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
322
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
323
- return {
324
- url: (0, common_1.toPathString)(localVarUrlObj),
325
- options: localVarRequestOptions,
326
- };
327
- },
328
- /**
329
- * 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).
330
- * @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
331
- * @param {*} [options] Override http request option.
332
- * @throws {RequiredError}
333
- */
334
- getPackageTrackingDetails: async (packageNumber, options = {}) => {
335
- // verify required parameter 'packageNumber' is not null or undefined
336
- (0, common_1.assertParamExists)('getPackageTrackingDetails', 'packageNumber', packageNumber);
337
- const localVarPath = `/fba/outbound/2020-07-01/tracking`;
338
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
339
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
340
- let baseOptions;
341
- if (configuration) {
342
- baseOptions = configuration.baseOptions;
343
- }
344
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
345
- const localVarHeaderParameter = {};
346
- const localVarQueryParameter = {};
347
- if (packageNumber !== undefined) {
348
- localVarQueryParameter['packageNumber'] = packageNumber;
349
- }
350
- localVarHeaderParameter['Accept'] = 'application/json,payload';
351
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
352
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
353
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
354
- return {
355
- url: (0, common_1.toPathString)(localVarUrlObj),
356
- options: localVarRequestOptions,
357
- };
358
- },
359
- /**
360
- * 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)
361
- * @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.
362
- * @param {string} [nextToken] A string token returned in the response to your previous request.
363
- * @param {*} [options] Override http request option.
364
- * @throws {RequiredError}
365
- */
366
- listAllFulfillmentOrders: async (queryStartDate, nextToken, options = {}) => {
367
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders`;
368
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
369
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
370
- let baseOptions;
371
- if (configuration) {
372
- baseOptions = configuration.baseOptions;
373
- }
374
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
375
- const localVarHeaderParameter = {};
376
- const localVarQueryParameter = {};
377
- if (queryStartDate !== undefined) {
378
- localVarQueryParameter['queryStartDate'] = (queryStartDate instanceof Date) ?
379
- queryStartDate.toISOString() :
380
- queryStartDate;
381
- }
382
- if (nextToken !== undefined) {
383
- localVarQueryParameter['nextToken'] = nextToken;
384
- }
385
- localVarHeaderParameter['Accept'] = 'application/json,payload';
386
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
387
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
388
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
389
- return {
390
- url: (0, common_1.toPathString)(localVarUrlObj),
391
- options: localVarRequestOptions,
392
- };
393
- },
394
- /**
395
- * 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).
396
- * @param {string} sellerSku The seller SKU for which return reason codes are required.
397
- * @param {string} [marketplaceId] The marketplace for which the seller wants return reason codes.
398
- * @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.
399
- * @param {string} [language] The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
400
- * @param {*} [options] Override http request option.
401
- * @throws {RequiredError}
402
- */
403
- listReturnReasonCodes: async (sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options = {}) => {
404
- // verify required parameter 'sellerSku' is not null or undefined
405
- (0, common_1.assertParamExists)('listReturnReasonCodes', 'sellerSku', sellerSku);
406
- const localVarPath = `/fba/outbound/2020-07-01/returnReasonCodes`;
407
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
408
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
409
- let baseOptions;
410
- if (configuration) {
411
- baseOptions = configuration.baseOptions;
412
- }
413
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
414
- const localVarHeaderParameter = {};
415
- const localVarQueryParameter = {};
416
- if (sellerSku !== undefined) {
417
- localVarQueryParameter['sellerSku'] = sellerSku;
418
- }
419
- if (marketplaceId !== undefined) {
420
- localVarQueryParameter['marketplaceId'] = marketplaceId;
421
- }
422
- if (sellerFulfillmentOrderId !== undefined) {
423
- localVarQueryParameter['sellerFulfillmentOrderId'] = sellerFulfillmentOrderId;
424
- }
425
- if (language !== undefined) {
426
- localVarQueryParameter['language'] = language;
427
- }
428
- localVarHeaderParameter['Accept'] = 'application/json,payload';
429
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
430
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
431
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
432
- return {
433
- url: (0, common_1.toPathString)(localVarUrlObj),
434
- options: localVarRequestOptions,
435
- };
436
- },
437
- /**
438
- * 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.
439
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
440
- * @param {SubmitFulfillmentOrderStatusUpdateRequest} body The identifier assigned to the item by the seller when the fulfillment order was created.
441
- * @param {*} [options] Override http request option.
442
- * @throws {RequiredError}
443
- */
444
- submitFulfillmentOrderStatusUpdate: async (sellerFulfillmentOrderId, body, options = {}) => {
445
- // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
446
- (0, common_1.assertParamExists)('submitFulfillmentOrderStatusUpdate', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
447
- // verify required parameter 'body' is not null or undefined
448
- (0, common_1.assertParamExists)('submitFulfillmentOrderStatusUpdate', 'body', body);
449
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/status`
450
- .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
451
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
452
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
453
- let baseOptions;
454
- if (configuration) {
455
- baseOptions = configuration.baseOptions;
456
- }
457
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
458
- const localVarHeaderParameter = {};
459
- const localVarQueryParameter = {};
460
- localVarHeaderParameter['Content-Type'] = 'application/json';
461
- localVarHeaderParameter['Accept'] = 'application/json';
462
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
463
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
464
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
465
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
466
- return {
467
- url: (0, common_1.toPathString)(localVarUrlObj),
468
- options: localVarRequestOptions,
469
- };
470
- },
471
- /**
472
- * 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).
473
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
474
- * @param {UpdateFulfillmentOrderRequest} body The request body of the `updateFulfillmentOrder` operation.
475
- * @param {*} [options] Override http request option.
476
- * @throws {RequiredError}
477
- */
478
- updateFulfillmentOrder: async (sellerFulfillmentOrderId, body, options = {}) => {
479
- // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
480
- (0, common_1.assertParamExists)('updateFulfillmentOrder', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
481
- // verify required parameter 'body' is not null or undefined
482
- (0, common_1.assertParamExists)('updateFulfillmentOrder', 'body', body);
483
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`
484
- .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
485
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
486
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
487
- let baseOptions;
488
- if (configuration) {
489
- baseOptions = configuration.baseOptions;
490
- }
491
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
492
- const localVarHeaderParameter = {};
493
- const localVarQueryParameter = {};
494
- localVarHeaderParameter['Content-Type'] = 'application/json';
495
- localVarHeaderParameter['Accept'] = 'application/json';
496
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
497
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
498
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
499
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
500
- return {
501
- url: (0, common_1.toPathString)(localVarUrlObj),
502
- options: localVarRequestOptions,
503
- };
504
- },
505
- };
506
- };
507
- exports.FulfillmentOutboundApiAxiosParamCreator = FulfillmentOutboundApiAxiosParamCreator;
508
- /**
509
- * FulfillmentOutboundApi - functional programming interface
510
- */
511
- const FulfillmentOutboundApiFp = function (configuration) {
512
- const localVarAxiosParamCreator = (0, exports.FulfillmentOutboundApiAxiosParamCreator)(configuration);
513
- return {
514
- /**
515
- * 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).
516
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
517
- * @param {*} [options] Override http request option.
518
- * @throws {RequiredError}
519
- */
520
- async cancelFulfillmentOrder(sellerFulfillmentOrderId, options) {
521
- const localVarAxiosArgs = await localVarAxiosParamCreator.cancelFulfillmentOrder(sellerFulfillmentOrderId, options);
522
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
523
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.cancelFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
524
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
525
- },
526
- /**
527
- * 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)
528
- * @param {CreateFulfillmentOrderRequest} body CreateFulfillmentOrderRequest parameter
529
- * @param {*} [options] Override http request option.
530
- * @throws {RequiredError}
531
- */
532
- async createFulfillmentOrder(body, options) {
533
- const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentOrder(body, options);
534
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
535
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.createFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
536
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
537
- },
538
- /**
539
- * 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).
540
- * @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 `sellerFulfillmentOrderId` value based on the buyer\'s request to return items.
541
- * @param {CreateFulfillmentReturnRequest} body The request body of the `createFulfillmentReturn` operation.
542
- * @param {*} [options] Override http request option.
543
- * @throws {RequiredError}
544
- */
545
- async createFulfillmentReturn(sellerFulfillmentOrderId, body, options) {
546
- const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentReturn(sellerFulfillmentOrderId, body, options);
547
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
548
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
549
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
550
- },
551
- /**
552
- * 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).
553
- * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
554
- * @param {*} [options] Override http request option.
555
- * @throws {RequiredError}
556
- */
557
- async deliveryOffers(body, options) {
558
- const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOffers(body, options);
559
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
560
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.deliveryOffers']?.[localVarOperationServerIndex]?.url;
561
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
562
- },
563
- /**
564
- * 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).
565
- * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
566
- * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
567
- * @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 `null` will return the first page.
568
- * @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 `yyyy-MM-ddTHH:mm:ss.sssZ`
569
- * @param {*} [options] Override http request option.
570
- * @throws {RequiredError}
571
- */
572
- async getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options) {
573
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options);
574
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
575
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFeatureInventory']?.[localVarOperationServerIndex]?.url;
576
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
577
- },
578
- /**
579
- * 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).
580
- * @param {string} marketplaceId The marketplace for which to return the count.
581
- * @param {string} featureName The name of the feature.
582
- * @param {string} sellerSku Used to identify an item in the given marketplace. `sellerSku` is qualified by the seller\'s `sellerId`, which is included with every operation that you submit.
583
- * @param {*} [options] Override http request option.
584
- * @throws {RequiredError}
585
- */
586
- async getFeatureSKU(marketplaceId, featureName, sellerSku, options) {
587
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureSKU(marketplaceId, featureName, sellerSku, options);
588
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
589
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFeatureSKU']?.[localVarOperationServerIndex]?.url;
590
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
591
- },
592
- /**
593
- * 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).
594
- * @param {string} marketplaceId The marketplace for which to return the list of features.
595
- * @param {*} [options] Override http request option.
596
- * @throws {RequiredError}
597
- */
598
- async getFeatures(marketplaceId, options) {
599
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatures(marketplaceId, options);
600
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
601
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFeatures']?.[localVarOperationServerIndex]?.url;
602
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
603
- },
604
- /**
605
- * 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).
606
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
607
- * @param {*} [options] Override http request option.
608
- * @throws {RequiredError}
609
- */
610
- async getFulfillmentOrder(sellerFulfillmentOrderId, options) {
611
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentOrder(sellerFulfillmentOrderId, options);
612
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
613
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
614
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
615
- },
616
- /**
617
- * 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).
618
- * @param {GetFulfillmentPreviewRequest} body GetFulfillmentPreviewRequest parameter
619
- * @param {*} [options] Override http request option.
620
- * @throws {RequiredError}
621
- */
622
- async getFulfillmentPreview(body, options) {
623
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentPreview(body, options);
624
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
625
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFulfillmentPreview']?.[localVarOperationServerIndex]?.url;
626
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
627
- },
628
- /**
629
- * 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).
630
- * @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
631
- * @param {*} [options] Override http request option.
632
- * @throws {RequiredError}
633
- */
634
- async getPackageTrackingDetails(packageNumber, options) {
635
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
636
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
637
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getPackageTrackingDetails']?.[localVarOperationServerIndex]?.url;
638
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
639
- },
640
- /**
641
- * 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)
642
- * @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.
643
- * @param {string} [nextToken] A string token returned in the response to your previous request.
644
- * @param {*} [options] Override http request option.
645
- * @throws {RequiredError}
646
- */
647
- async listAllFulfillmentOrders(queryStartDate, nextToken, options) {
648
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAllFulfillmentOrders(queryStartDate, nextToken, options);
649
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
650
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.listAllFulfillmentOrders']?.[localVarOperationServerIndex]?.url;
651
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
652
- },
653
- /**
654
- * 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).
655
- * @param {string} sellerSku The seller SKU for which return reason codes are required.
656
- * @param {string} [marketplaceId] The marketplace for which the seller wants return reason codes.
657
- * @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.
658
- * @param {string} [language] The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
659
- * @param {*} [options] Override http request option.
660
- * @throws {RequiredError}
661
- */
662
- async listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options) {
663
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options);
664
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
665
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.listReturnReasonCodes']?.[localVarOperationServerIndex]?.url;
666
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
667
- },
668
- /**
669
- * 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.
670
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
671
- * @param {SubmitFulfillmentOrderStatusUpdateRequest} body The identifier assigned to the item by the seller when the fulfillment order was created.
672
- * @param {*} [options] Override http request option.
673
- * @throws {RequiredError}
674
- */
675
- async submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options) {
676
- const localVarAxiosArgs = await localVarAxiosParamCreator.submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options);
677
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
678
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.submitFulfillmentOrderStatusUpdate']?.[localVarOperationServerIndex]?.url;
679
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
680
- },
681
- /**
682
- * 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).
683
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
684
- * @param {UpdateFulfillmentOrderRequest} body The request body of the `updateFulfillmentOrder` operation.
685
- * @param {*} [options] Override http request option.
686
- * @throws {RequiredError}
687
- */
688
- async updateFulfillmentOrder(sellerFulfillmentOrderId, body, options) {
689
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateFulfillmentOrder(sellerFulfillmentOrderId, body, options);
690
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
691
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.updateFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
692
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
693
- },
694
- };
695
- };
696
- exports.FulfillmentOutboundApiFp = FulfillmentOutboundApiFp;
697
- /**
698
- * FulfillmentOutboundApi - factory interface
699
- */
700
- const FulfillmentOutboundApiFactory = function (configuration, basePath, axios) {
701
- const localVarFp = (0, exports.FulfillmentOutboundApiFp)(configuration);
702
- return {
703
- /**
704
- * 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).
705
- * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
706
- * @param {*} [options] Override http request option.
707
- * @throws {RequiredError}
708
- */
709
- cancelFulfillmentOrder(requestParameters, options) {
710
- return localVarFp.cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(axios, basePath));
711
- },
712
- /**
713
- * 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)
714
- * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
715
- * @param {*} [options] Override http request option.
716
- * @throws {RequiredError}
717
- */
718
- createFulfillmentOrder(requestParameters, options) {
719
- return localVarFp.createFulfillmentOrder(requestParameters.body, options).then((request) => request(axios, basePath));
720
- },
721
- /**
722
- * 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).
723
- * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
724
- * @param {*} [options] Override http request option.
725
- * @throws {RequiredError}
726
- */
727
- createFulfillmentReturn(requestParameters, options) {
728
- return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
729
- },
730
- /**
731
- * 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).
732
- * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
733
- * @param {*} [options] Override http request option.
734
- * @throws {RequiredError}
735
- */
736
- deliveryOffers(requestParameters, options) {
737
- return localVarFp.deliveryOffers(requestParameters.body, options).then((request) => request(axios, basePath));
738
- },
739
- /**
740
- * 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).
741
- * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
742
- * @param {*} [options] Override http request option.
743
- * @throws {RequiredError}
744
- */
745
- getFeatureInventory(requestParameters, options) {
746
- return localVarFp.getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(axios, basePath));
747
- },
748
- /**
749
- * 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).
750
- * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
751
- * @param {*} [options] Override http request option.
752
- * @throws {RequiredError}
753
- */
754
- getFeatureSKU(requestParameters, options) {
755
- return localVarFp.getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(axios, basePath));
756
- },
757
- /**
758
- * 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).
759
- * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
760
- * @param {*} [options] Override http request option.
761
- * @throws {RequiredError}
762
- */
763
- getFeatures(requestParameters, options) {
764
- return localVarFp.getFeatures(requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
765
- },
766
- /**
767
- * 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).
768
- * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
769
- * @param {*} [options] Override http request option.
770
- * @throws {RequiredError}
771
- */
772
- getFulfillmentOrder(requestParameters, options) {
773
- return localVarFp.getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(axios, basePath));
774
- },
775
- /**
776
- * 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).
777
- * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
778
- * @param {*} [options] Override http request option.
779
- * @throws {RequiredError}
780
- */
781
- getFulfillmentPreview(requestParameters, options) {
782
- return localVarFp.getFulfillmentPreview(requestParameters.body, options).then((request) => request(axios, basePath));
783
- },
784
- /**
785
- * 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).
786
- * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
787
- * @param {*} [options] Override http request option.
788
- * @throws {RequiredError}
789
- */
790
- getPackageTrackingDetails(requestParameters, options) {
791
- return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(axios, basePath));
792
- },
793
- /**
794
- * 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)
795
- * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
796
- * @param {*} [options] Override http request option.
797
- * @throws {RequiredError}
798
- */
799
- listAllFulfillmentOrders(requestParameters = {}, options) {
800
- return localVarFp.listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(axios, basePath));
801
- },
802
- /**
803
- * 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).
804
- * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
805
- * @param {*} [options] Override http request option.
806
- * @throws {RequiredError}
807
- */
808
- listReturnReasonCodes(requestParameters, options) {
809
- return localVarFp.listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(axios, basePath));
810
- },
811
- /**
812
- * 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.
813
- * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
814
- * @param {*} [options] Override http request option.
815
- * @throws {RequiredError}
816
- */
817
- submitFulfillmentOrderStatusUpdate(requestParameters, options) {
818
- return localVarFp.submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
819
- },
820
- /**
821
- * 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).
822
- * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- */
826
- updateFulfillmentOrder(requestParameters, options) {
827
- return localVarFp.updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
828
- },
829
- };
830
- };
831
- exports.FulfillmentOutboundApiFactory = FulfillmentOutboundApiFactory;
832
- /**
833
- * FulfillmentOutboundApi - object-oriented interface
834
- */
835
- class FulfillmentOutboundApi extends base_1.BaseAPI {
836
- /**
837
- * 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).
838
- * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
839
- * @param {*} [options] Override http request option.
840
- * @throws {RequiredError}
841
- */
842
- cancelFulfillmentOrder(requestParameters, options) {
843
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
844
- }
845
- /**
846
- * 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)
847
- * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
848
- * @param {*} [options] Override http request option.
849
- * @throws {RequiredError}
850
- */
851
- createFulfillmentOrder(requestParameters, options) {
852
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
853
- }
854
- /**
855
- * 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).
856
- * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
857
- * @param {*} [options] Override http request option.
858
- * @throws {RequiredError}
859
- */
860
- createFulfillmentReturn(requestParameters, options) {
861
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
862
- }
863
- /**
864
- * 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).
865
- * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
866
- * @param {*} [options] Override http request option.
867
- * @throws {RequiredError}
868
- */
869
- deliveryOffers(requestParameters, options) {
870
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).deliveryOffers(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
871
- }
872
- /**
873
- * 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).
874
- * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
875
- * @param {*} [options] Override http request option.
876
- * @throws {RequiredError}
877
- */
878
- getFeatureInventory(requestParameters, options) {
879
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(this.axios, this.basePath));
880
- }
881
- /**
882
- * 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).
883
- * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
884
- * @param {*} [options] Override http request option.
885
- * @throws {RequiredError}
886
- */
887
- getFeatureSKU(requestParameters, options) {
888
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(this.axios, this.basePath));
889
- }
890
- /**
891
- * 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).
892
- * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
893
- * @param {*} [options] Override http request option.
894
- * @throws {RequiredError}
895
- */
896
- getFeatures(requestParameters, options) {
897
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatures(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
898
- }
899
- /**
900
- * 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).
901
- * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
902
- * @param {*} [options] Override http request option.
903
- * @throws {RequiredError}
904
- */
905
- getFulfillmentOrder(requestParameters, options) {
906
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
907
- }
908
- /**
909
- * 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).
910
- * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
911
- * @param {*} [options] Override http request option.
912
- * @throws {RequiredError}
913
- */
914
- getFulfillmentPreview(requestParameters, options) {
915
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFulfillmentPreview(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
916
- }
917
- /**
918
- * 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).
919
- * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
920
- * @param {*} [options] Override http request option.
921
- * @throws {RequiredError}
922
- */
923
- getPackageTrackingDetails(requestParameters, options) {
924
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
925
- }
926
- /**
927
- * 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)
928
- * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
929
- * @param {*} [options] Override http request option.
930
- * @throws {RequiredError}
931
- */
932
- listAllFulfillmentOrders(requestParameters = {}, options) {
933
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
934
- }
935
- /**
936
- * 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).
937
- * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
938
- * @param {*} [options] Override http request option.
939
- * @throws {RequiredError}
940
- */
941
- listReturnReasonCodes(requestParameters, options) {
942
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
943
- }
944
- /**
945
- * 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.
946
- * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
947
- * @param {*} [options] Override http request option.
948
- * @throws {RequiredError}
949
- */
950
- submitFulfillmentOrderStatusUpdate(requestParameters, options) {
951
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
952
- }
953
- /**
954
- * 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).
955
- * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
956
- * @param {*} [options] Override http request option.
957
- * @throws {RequiredError}
958
- */
959
- updateFulfillmentOrder(requestParameters, options) {
960
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
961
- }
962
- }
963
- exports.FulfillmentOutboundApi = FulfillmentOutboundApi;