@amazon-sp-api-release/amazon-sp-api-sdk-js 1.5.0 → 1.6.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 (335) hide show
  1. package/helper/DefaultRateLimitMap.mjs +14 -1
  2. package/index.js +3 -0
  3. package/package.json +1 -1
  4. package/src/catalogitems_v2022_04_01/model/ErrorList.d.ts +1 -1
  5. package/src/catalogitems_v2022_04_01/model/ErrorList.js +2 -1
  6. package/src/catalogitems_v2022_04_01/model/ItemSearchResults.d.ts +11 -5
  7. package/src/catalogitems_v2022_04_01/model/ItemSearchResults.d.ts.map +1 -1
  8. package/src/catalogitems_v2022_04_01/model/ItemSearchResults.js +1 -5
  9. package/src/easyship_v2022_03_23/api/EasyShipApi.d.ts +2 -2
  10. package/src/easyship_v2022_03_23/api/EasyShipApi.js +2 -2
  11. package/src/easyship_v2022_03_23/model/HandoverMethod.d.ts +4 -4
  12. package/src/easyship_v2022_03_23/model/HandoverMethod.js +4 -4
  13. package/src/easyship_v2022_03_23/model/UnitOfLength.d.ts +2 -2
  14. package/src/easyship_v2022_03_23/model/UnitOfLength.js +2 -2
  15. package/src/easyship_v2022_03_23/model/UnitOfWeight.d.ts +4 -4
  16. package/src/easyship_v2022_03_23/model/UnitOfWeight.js +4 -4
  17. package/src/externalfulfillmentinventory_v2024_09_11/ApiClient.d.ts +260 -0
  18. package/src/externalfulfillmentinventory_v2024_09_11/ApiClient.d.ts.map +1 -0
  19. package/src/externalfulfillmentinventory_v2024_09_11/ApiClient.js +827 -0
  20. package/src/externalfulfillmentinventory_v2024_09_11/api/BatchInventoryApi.d.ts +42 -0
  21. package/src/externalfulfillmentinventory_v2024_09_11/api/BatchInventoryApi.d.ts.map +1 -0
  22. package/src/externalfulfillmentinventory_v2024_09_11/api/BatchInventoryApi.js +110 -0
  23. package/src/externalfulfillmentinventory_v2024_09_11/index.d.ts +16 -0
  24. package/src/externalfulfillmentinventory_v2024_09_11/index.d.ts.map +1 -0
  25. package/src/externalfulfillmentinventory_v2024_09_11/index.js +119 -0
  26. package/src/externalfulfillmentinventory_v2024_09_11/model/ActionableError.d.ts +28 -0
  27. package/src/externalfulfillmentinventory_v2024_09_11/model/ActionableError.d.ts.map +1 -0
  28. package/src/externalfulfillmentinventory_v2024_09_11/model/ActionableError.js +71 -0
  29. package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryRequest.d.ts +23 -0
  30. package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryRequest.d.ts.map +1 -0
  31. package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryRequest.js +64 -0
  32. package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryResponse.d.ts +23 -0
  33. package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryResponse.d.ts.map +1 -0
  34. package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryResponse.js +64 -0
  35. package/src/externalfulfillmentinventory_v2024_09_11/model/Error.d.ts +33 -0
  36. package/src/externalfulfillmentinventory_v2024_09_11/model/Error.d.ts.map +1 -0
  37. package/src/externalfulfillmentinventory_v2024_09_11/model/Error.js +83 -0
  38. package/src/externalfulfillmentinventory_v2024_09_11/model/ErrorList.d.ts +26 -0
  39. package/src/externalfulfillmentinventory_v2024_09_11/model/ErrorList.d.ts.map +1 -0
  40. package/src/externalfulfillmentinventory_v2024_09_11/model/ErrorList.js +66 -0
  41. package/src/externalfulfillmentinventory_v2024_09_11/model/HttpMethod.d.ts +24 -0
  42. package/src/externalfulfillmentinventory_v2024_09_11/model/HttpMethod.d.ts.map +1 -0
  43. package/src/externalfulfillmentinventory_v2024_09_11/model/HttpMethod.js +42 -0
  44. package/src/externalfulfillmentinventory_v2024_09_11/model/HttpStatusLine.d.ts +28 -0
  45. package/src/externalfulfillmentinventory_v2024_09_11/model/HttpStatusLine.d.ts.map +1 -0
  46. package/src/externalfulfillmentinventory_v2024_09_11/model/HttpStatusLine.js +71 -0
  47. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequest.d.ts +34 -0
  48. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequest.d.ts.map +1 -0
  49. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequest.js +83 -0
  50. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequestParams.d.ts +34 -0
  51. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequestParams.d.ts.map +1 -0
  52. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequestParams.js +79 -0
  53. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponse.d.ts +29 -0
  54. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponse.d.ts.map +1 -0
  55. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponse.js +75 -0
  56. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody.d.ts +59 -0
  57. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody.d.ts.map +1 -0
  58. package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody.js +112 -0
  59. package/src/externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes.d.ts +39 -0
  60. package/src/externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes.d.ts.map +1 -0
  61. package/src/externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes.js +97 -0
  62. package/src/externalfulfillmentreturns_v2024_09_11/ApiClient.d.ts +260 -0
  63. package/src/externalfulfillmentreturns_v2024_09_11/ApiClient.d.ts.map +1 -0
  64. package/src/externalfulfillmentreturns_v2024_09_11/ApiClient.js +827 -0
  65. package/src/externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi.d.ts +104 -0
  66. package/src/externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi.d.ts.map +1 -0
  67. package/src/externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi.js +189 -0
  68. package/src/externalfulfillmentreturns_v2024_09_11/index.d.ts +16 -0
  69. package/src/externalfulfillmentreturns_v2024_09_11/index.d.ts.map +1 -0
  70. package/src/externalfulfillmentreturns_v2024_09_11/index.js +119 -0
  71. package/src/externalfulfillmentreturns_v2024_09_11/model/Error.d.ts +33 -0
  72. package/src/externalfulfillmentreturns_v2024_09_11/model/Error.d.ts.map +1 -0
  73. package/src/externalfulfillmentreturns_v2024_09_11/model/Error.js +83 -0
  74. package/src/externalfulfillmentreturns_v2024_09_11/model/ErrorList.d.ts +26 -0
  75. package/src/externalfulfillmentreturns_v2024_09_11/model/ErrorList.d.ts.map +1 -0
  76. package/src/externalfulfillmentreturns_v2024_09_11/model/ErrorList.js +66 -0
  77. package/src/externalfulfillmentreturns_v2024_09_11/model/InvoiceInformation.d.ts +25 -0
  78. package/src/externalfulfillmentreturns_v2024_09_11/model/InvoiceInformation.d.ts.map +1 -0
  79. package/src/externalfulfillmentreturns_v2024_09_11/model/InvoiceInformation.js +65 -0
  80. package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannel.d.ts +28 -0
  81. package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannel.d.ts.map +1 -0
  82. package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannel.js +71 -0
  83. package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannelDetails.d.ts +58 -0
  84. package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannelDetails.d.ts.map +1 -0
  85. package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannelDetails.js +111 -0
  86. package/src/externalfulfillmentreturns_v2024_09_11/model/OtpDetails.d.ts +27 -0
  87. package/src/externalfulfillmentreturns_v2024_09_11/model/OtpDetails.d.ts.map +1 -0
  88. package/src/externalfulfillmentreturns_v2024_09_11/model/OtpDetails.js +75 -0
  89. package/src/externalfulfillmentreturns_v2024_09_11/model/ReplanningDetails.d.ts +23 -0
  90. package/src/externalfulfillmentreturns_v2024_09_11/model/ReplanningDetails.d.ts.map +1 -0
  91. package/src/externalfulfillmentreturns_v2024_09_11/model/ReplanningDetails.js +64 -0
  92. package/src/externalfulfillmentreturns_v2024_09_11/model/Return.d.ts +138 -0
  93. package/src/externalfulfillmentreturns_v2024_09_11/model/Return.d.ts.map +1 -0
  94. package/src/externalfulfillmentreturns_v2024_09_11/model/Return.js +363 -0
  95. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnMetadata.d.ts +43 -0
  96. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnMetadata.d.ts.map +1 -0
  97. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnMetadata.js +89 -0
  98. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnShippingInfo.d.ts +39 -0
  99. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnShippingInfo.d.ts.map +1 -0
  100. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnShippingInfo.js +86 -0
  101. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnsResponse.d.ts +29 -0
  102. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnsResponse.d.ts.map +1 -0
  103. package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnsResponse.js +72 -0
  104. package/src/externalfulfillmentreturns_v2024_09_11/model/TrackingInfo.d.ts +27 -0
  105. package/src/externalfulfillmentreturns_v2024_09_11/model/TrackingInfo.d.ts.map +1 -0
  106. package/src/externalfulfillmentreturns_v2024_09_11/model/TrackingInfo.js +75 -0
  107. package/src/externalfulfillmentshipments_v2024_09_11/ApiClient.d.ts +260 -0
  108. package/src/externalfulfillmentshipments_v2024_09_11/ApiClient.d.ts.map +1 -0
  109. package/src/externalfulfillmentshipments_v2024_09_11/ApiClient.js +827 -0
  110. package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentProcessingApi.d.ts +178 -0
  111. package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentProcessingApi.d.ts.map +1 -0
  112. package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentProcessingApi.js +521 -0
  113. package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentRetrievalApi.d.ts +86 -0
  114. package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentRetrievalApi.d.ts.map +1 -0
  115. package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentRetrievalApi.js +182 -0
  116. package/src/externalfulfillmentshipments_v2024_09_11/index.d.ts +62 -0
  117. package/src/externalfulfillmentshipments_v2024_09_11/index.d.ts.map +1 -0
  118. package/src/externalfulfillmentshipments_v2024_09_11/index.js +441 -0
  119. package/src/externalfulfillmentshipments_v2024_09_11/model/Address.d.ts +103 -0
  120. package/src/externalfulfillmentshipments_v2024_09_11/model/Address.d.ts.map +1 -0
  121. package/src/externalfulfillmentshipments_v2024_09_11/model/Address.js +169 -0
  122. package/src/externalfulfillmentshipments_v2024_09_11/model/Amount.d.ts +27 -0
  123. package/src/externalfulfillmentshipments_v2024_09_11/model/Amount.d.ts.map +1 -0
  124. package/src/externalfulfillmentshipments_v2024_09_11/model/Amount.js +75 -0
  125. package/src/externalfulfillmentshipments_v2024_09_11/model/Cancellation.d.ts +46 -0
  126. package/src/externalfulfillmentshipments_v2024_09_11/model/Cancellation.d.ts.map +1 -0
  127. package/src/externalfulfillmentshipments_v2024_09_11/model/Cancellation.js +119 -0
  128. package/src/externalfulfillmentshipments_v2024_09_11/model/Charge.d.ts +52 -0
  129. package/src/externalfulfillmentshipments_v2024_09_11/model/Charge.d.ts.map +1 -0
  130. package/src/externalfulfillmentshipments_v2024_09_11/model/Charge.js +140 -0
  131. package/src/externalfulfillmentshipments_v2024_09_11/model/ChargeBreakup.d.ts +30 -0
  132. package/src/externalfulfillmentshipments_v2024_09_11/model/ChargeBreakup.d.ts.map +1 -0
  133. package/src/externalfulfillmentshipments_v2024_09_11/model/ChargeBreakup.js +83 -0
  134. package/src/externalfulfillmentshipments_v2024_09_11/model/ComplianceAttributes.d.ts +32 -0
  135. package/src/externalfulfillmentshipments_v2024_09_11/model/ComplianceAttributes.d.ts.map +1 -0
  136. package/src/externalfulfillmentshipments_v2024_09_11/model/ComplianceAttributes.js +92 -0
  137. package/src/externalfulfillmentshipments_v2024_09_11/model/CourierSupportedAttributes.d.ts +27 -0
  138. package/src/externalfulfillmentshipments_v2024_09_11/model/CourierSupportedAttributes.d.ts.map +1 -0
  139. package/src/externalfulfillmentshipments_v2024_09_11/model/CourierSupportedAttributes.js +75 -0
  140. package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttribute.d.ts +34 -0
  141. package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttribute.d.ts.map +1 -0
  142. package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttribute.js +79 -0
  143. package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttributeType.d.ts +39 -0
  144. package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttributeType.d.ts.map +1 -0
  145. package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttributeType.js +60 -0
  146. package/src/externalfulfillmentshipments_v2024_09_11/model/Dimension.d.ts +37 -0
  147. package/src/externalfulfillmentshipments_v2024_09_11/model/Dimension.d.ts.map +1 -0
  148. package/src/externalfulfillmentshipments_v2024_09_11/model/Dimension.js +95 -0
  149. package/src/externalfulfillmentshipments_v2024_09_11/model/Document.d.ts +40 -0
  150. package/src/externalfulfillmentshipments_v2024_09_11/model/Document.d.ts.map +1 -0
  151. package/src/externalfulfillmentshipments_v2024_09_11/model/Document.js +103 -0
  152. package/src/externalfulfillmentshipments_v2024_09_11/model/DocumentV2.d.ts +25 -0
  153. package/src/externalfulfillmentshipments_v2024_09_11/model/DocumentV2.d.ts.map +1 -0
  154. package/src/externalfulfillmentshipments_v2024_09_11/model/DocumentV2.js +65 -0
  155. package/src/externalfulfillmentshipments_v2024_09_11/model/Error.d.ts +33 -0
  156. package/src/externalfulfillmentshipments_v2024_09_11/model/Error.d.ts.map +1 -0
  157. package/src/externalfulfillmentshipments_v2024_09_11/model/Error.js +83 -0
  158. package/src/externalfulfillmentshipments_v2024_09_11/model/ErrorList.d.ts +26 -0
  159. package/src/externalfulfillmentshipments_v2024_09_11/model/ErrorList.d.ts.map +1 -0
  160. package/src/externalfulfillmentshipments_v2024_09_11/model/ErrorList.js +66 -0
  161. package/src/externalfulfillmentshipments_v2024_09_11/model/GiftAttributes.d.ts +41 -0
  162. package/src/externalfulfillmentshipments_v2024_09_11/model/GiftAttributes.d.ts.map +1 -0
  163. package/src/externalfulfillmentshipments_v2024_09_11/model/GiftAttributes.js +91 -0
  164. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceInfo.d.ts +27 -0
  165. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceInfo.d.ts.map +1 -0
  166. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceInfo.js +75 -0
  167. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceRequirement.d.ts +47 -0
  168. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceRequirement.d.ts.map +1 -0
  169. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceRequirement.js +117 -0
  170. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceResponse.d.ts +26 -0
  171. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceResponse.d.ts.map +1 -0
  172. package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceResponse.js +65 -0
  173. package/src/externalfulfillmentshipments_v2024_09_11/model/LineItem.d.ts +31 -0
  174. package/src/externalfulfillmentshipments_v2024_09_11/model/LineItem.d.ts.map +1 -0
  175. package/src/externalfulfillmentshipments_v2024_09_11/model/LineItem.js +73 -0
  176. package/src/externalfulfillmentshipments_v2024_09_11/model/LineItemWithReason.d.ts +42 -0
  177. package/src/externalfulfillmentshipments_v2024_09_11/model/LineItemWithReason.d.ts.map +1 -0
  178. package/src/externalfulfillmentshipments_v2024_09_11/model/LineItemWithReason.js +93 -0
  179. package/src/externalfulfillmentshipments_v2024_09_11/model/MarketplaceAttributes.d.ts +49 -0
  180. package/src/externalfulfillmentshipments_v2024_09_11/model/MarketplaceAttributes.d.ts.map +1 -0
  181. package/src/externalfulfillmentshipments_v2024_09_11/model/MarketplaceAttributes.js +111 -0
  182. package/src/externalfulfillmentshipments_v2024_09_11/model/OriginalLineItem.d.ts +30 -0
  183. package/src/externalfulfillmentshipments_v2024_09_11/model/OriginalLineItem.d.ts.map +1 -0
  184. package/src/externalfulfillmentshipments_v2024_09_11/model/OriginalLineItem.js +86 -0
  185. package/src/externalfulfillmentshipments_v2024_09_11/model/Package.d.ts +75 -0
  186. package/src/externalfulfillmentshipments_v2024_09_11/model/Package.d.ts.map +1 -0
  187. package/src/externalfulfillmentshipments_v2024_09_11/model/Package.js +190 -0
  188. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDeliveryStatus.d.ts +34 -0
  189. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDeliveryStatus.d.ts.map +1 -0
  190. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDeliveryStatus.js +79 -0
  191. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDimensions.d.ts +30 -0
  192. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDimensions.d.ts.map +1 -0
  193. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDimensions.js +83 -0
  194. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageLineItem.d.ts +51 -0
  195. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageLineItem.d.ts.map +1 -0
  196. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageLineItem.js +107 -0
  197. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageShipLabel.d.ts +46 -0
  198. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageShipLabel.d.ts.map +1 -0
  199. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageShipLabel.js +95 -0
  200. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageStatus.d.ts +44 -0
  201. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageStatus.d.ts.map +1 -0
  202. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageStatus.js +66 -0
  203. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageSubStatus.d.ts +34 -0
  204. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageSubStatus.d.ts.map +1 -0
  205. package/src/externalfulfillmentshipments_v2024_09_11/model/PackageSubStatus.js +54 -0
  206. package/src/externalfulfillmentshipments_v2024_09_11/model/Packages.d.ts +26 -0
  207. package/src/externalfulfillmentshipments_v2024_09_11/model/Packages.d.ts.map +1 -0
  208. package/src/externalfulfillmentshipments_v2024_09_11/model/Packages.js +66 -0
  209. package/src/externalfulfillmentshipments_v2024_09_11/model/PackingSlipRequirement.d.ts +46 -0
  210. package/src/externalfulfillmentshipments_v2024_09_11/model/PackingSlipRequirement.d.ts.map +1 -0
  211. package/src/externalfulfillmentshipments_v2024_09_11/model/PackingSlipRequirement.js +111 -0
  212. package/src/externalfulfillmentshipments_v2024_09_11/model/Pagination.d.ts +22 -0
  213. package/src/externalfulfillmentshipments_v2024_09_11/model/Pagination.d.ts.map +1 -0
  214. package/src/externalfulfillmentshipments_v2024_09_11/model/Pagination.js +63 -0
  215. package/src/externalfulfillmentshipments_v2024_09_11/model/PartyIdentificationInfo.d.ts +51 -0
  216. package/src/externalfulfillmentshipments_v2024_09_11/model/PartyIdentificationInfo.d.ts.map +1 -0
  217. package/src/externalfulfillmentshipments_v2024_09_11/model/PartyIdentificationInfo.js +123 -0
  218. package/src/externalfulfillmentshipments_v2024_09_11/model/PieceType.d.ts +24 -0
  219. package/src/externalfulfillmentshipments_v2024_09_11/model/PieceType.d.ts.map +1 -0
  220. package/src/externalfulfillmentshipments_v2024_09_11/model/PieceType.js +42 -0
  221. package/src/externalfulfillmentshipments_v2024_09_11/model/PresenceStatus.d.ts +24 -0
  222. package/src/externalfulfillmentshipments_v2024_09_11/model/PresenceStatus.d.ts.map +1 -0
  223. package/src/externalfulfillmentshipments_v2024_09_11/model/PresenceStatus.js +42 -0
  224. package/src/externalfulfillmentshipments_v2024_09_11/model/Priority.d.ts +24 -0
  225. package/src/externalfulfillmentshipments_v2024_09_11/model/Priority.d.ts.map +1 -0
  226. package/src/externalfulfillmentshipments_v2024_09_11/model/Priority.js +42 -0
  227. package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackage.d.ts +32 -0
  228. package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackage.d.ts.map +1 -0
  229. package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackage.js +86 -0
  230. package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackageLineItem.d.ts +25 -0
  231. package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackageLineItem.d.ts.map +1 -0
  232. package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackageLineItem.js +65 -0
  233. package/src/externalfulfillmentshipments_v2024_09_11/model/ReplacedShipmentInfo.d.ts +37 -0
  234. package/src/externalfulfillmentshipments_v2024_09_11/model/ReplacedShipmentInfo.d.ts.map +1 -0
  235. package/src/externalfulfillmentshipments_v2024_09_11/model/ReplacedShipmentInfo.js +94 -0
  236. package/src/externalfulfillmentshipments_v2024_09_11/model/RequirementLevel.d.ts +24 -0
  237. package/src/externalfulfillmentshipments_v2024_09_11/model/RequirementLevel.d.ts.map +1 -0
  238. package/src/externalfulfillmentshipments_v2024_09_11/model/RequirementLevel.js +42 -0
  239. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelMetadata.d.ts +44 -0
  240. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelMetadata.d.ts.map +1 -0
  241. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelMetadata.js +98 -0
  242. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsInput.d.ts +31 -0
  243. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsInput.d.ts.map +1 -0
  244. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsInput.js +73 -0
  245. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsResponse.d.ts +26 -0
  246. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsResponse.d.ts.map +1 -0
  247. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsResponse.js +66 -0
  248. package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.d.ts +122 -0
  249. package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.d.ts.map +1 -0
  250. package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.js +369 -0
  251. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentAcknowledgementRequest.d.ts +32 -0
  252. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentAcknowledgementRequest.d.ts.map +1 -0
  253. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentAcknowledgementRequest.js +74 -0
  254. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentInfo.d.ts +75 -0
  255. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentInfo.d.ts.map +1 -0
  256. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentInfo.js +173 -0
  257. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentLineItem.d.ts +103 -0
  258. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentLineItem.d.ts.map +1 -0
  259. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentLineItem.js +196 -0
  260. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentRequirements.d.ts +29 -0
  261. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentRequirements.d.ts.map +1 -0
  262. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentRequirements.js +75 -0
  263. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentsResponse.d.ts +29 -0
  264. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentsResponse.d.ts.map +1 -0
  265. package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentsResponse.js +72 -0
  266. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingInfo.d.ts +60 -0
  267. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingInfo.d.ts.map +1 -0
  268. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingInfo.js +118 -0
  269. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptions.d.ts +56 -0
  270. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptions.d.ts.map +1 -0
  271. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptions.js +130 -0
  272. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptionsResponse.d.ts +28 -0
  273. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptionsResponse.d.ts.map +1 -0
  274. package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptionsResponse.js +71 -0
  275. package/src/externalfulfillmentshipments_v2024_09_11/model/Status.d.ts +24 -0
  276. package/src/externalfulfillmentshipments_v2024_09_11/model/Status.d.ts.map +1 -0
  277. package/src/externalfulfillmentshipments_v2024_09_11/model/Status.js +42 -0
  278. package/src/externalfulfillmentshipments_v2024_09_11/model/Tax.d.ts +55 -0
  279. package/src/externalfulfillmentshipments_v2024_09_11/model/Tax.d.ts.map +1 -0
  280. package/src/externalfulfillmentshipments_v2024_09_11/model/Tax.js +143 -0
  281. package/src/externalfulfillmentshipments_v2024_09_11/model/TaxRegistrationInfo.d.ts +50 -0
  282. package/src/externalfulfillmentshipments_v2024_09_11/model/TaxRegistrationInfo.d.ts.map +1 -0
  283. package/src/externalfulfillmentshipments_v2024_09_11/model/TaxRegistrationInfo.js +107 -0
  284. package/src/externalfulfillmentshipments_v2024_09_11/model/TimeWindow.d.ts +43 -0
  285. package/src/externalfulfillmentshipments_v2024_09_11/model/TimeWindow.d.ts.map +1 -0
  286. package/src/externalfulfillmentshipments_v2024_09_11/model/TimeWindow.js +103 -0
  287. package/src/externalfulfillmentshipments_v2024_09_11/model/Weight.d.ts +37 -0
  288. package/src/externalfulfillmentshipments_v2024_09_11/model/Weight.d.ts.map +1 -0
  289. package/src/externalfulfillmentshipments_v2024_09_11/model/Weight.js +95 -0
  290. package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.d.ts +0 -18
  291. package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.d.ts.map +1 -1
  292. package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +0 -64
  293. package/src/fulfillmentinbound_v2024_03_20/index.d.ts +1 -5
  294. package/src/fulfillmentinbound_v2024_03_20/index.d.ts.map +1 -1
  295. package/src/fulfillmentinbound_v2024_03_20/index.js +0 -28
  296. package/src/fulfillmentoutbound_v2020_07_01/model/Address.d.ts +7 -3
  297. package/src/fulfillmentoutbound_v2020_07_01/model/Address.d.ts.map +1 -1
  298. package/src/fulfillmentoutbound_v2020_07_01/model/Address.js +1 -3
  299. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryDocument.d.ts +1 -1
  300. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryDocument.js +2 -2
  301. package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.d.ts +1 -1
  302. package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.js +2 -2
  303. package/src/merchantfulfillment_v0/index.d.ts +4 -1
  304. package/src/merchantfulfillment_v0/index.d.ts.map +1 -1
  305. package/src/merchantfulfillment_v0/index.js +21 -0
  306. package/src/merchantfulfillment_v0/model/RateItem.d.ts +44 -0
  307. package/src/merchantfulfillment_v0/model/RateItem.d.ts.map +1 -0
  308. package/src/merchantfulfillment_v0/model/RateItem.js +89 -0
  309. package/src/merchantfulfillment_v0/model/RateItemID.d.ts +19 -0
  310. package/src/merchantfulfillment_v0/model/RateItemID.d.ts.map +1 -0
  311. package/src/merchantfulfillment_v0/model/RateItemID.js +36 -0
  312. package/src/merchantfulfillment_v0/model/RateItemType.d.ts +19 -0
  313. package/src/merchantfulfillment_v0/model/RateItemType.d.ts.map +1 -0
  314. package/src/merchantfulfillment_v0/model/RateItemType.js +36 -0
  315. package/src/merchantfulfillment_v0/model/ShippingService.d.ts +10 -1
  316. package/src/merchantfulfillment_v0/model/ShippingService.d.ts.map +1 -1
  317. package/src/merchantfulfillment_v0/model/ShippingService.js +19 -1
  318. package/src/orders_v0/model/Address.d.ts +3 -6
  319. package/src/orders_v0/model/Address.d.ts.map +1 -1
  320. package/src/orders_v0/model/Address.js +1 -3
  321. package/src/vendordforders_v2021_12_28/model/OrderDetails.d.ts +6 -0
  322. package/src/vendordforders_v2021_12_28/model/OrderDetails.d.ts.map +1 -1
  323. package/src/vendordforders_v2021_12_28/model/OrderDetails.js +8 -0
  324. package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierInput.d.ts +0 -34
  325. package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierInput.d.ts.map +0 -1
  326. package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierInput.js +0 -83
  327. package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierType.d.ts +0 -24
  328. package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierType.d.ts.map +0 -1
  329. package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierType.js +0 -42
  330. package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersRequest.d.ts +0 -26
  331. package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersRequest.d.ts.map +0 -1
  332. package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersRequest.js +0 -66
  333. package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersResponse.d.ts +0 -25
  334. package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersResponse.d.ts.map +0 -1
  335. package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersResponse.js +0 -65
@@ -0,0 +1,75 @@
1
+ /**
2
+ * The Selling Partner API for External Fulfillment Inventory Management
3
+ * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon's External Fulfillment network, including batch inventory updates and retrievals.
4
+ *
5
+ * The version of the OpenAPI document: 2024-09-11
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ *
12
+ */
13
+
14
+ import { ApiClient } from '../ApiClient.js'
15
+ import { HttpStatusLine } from './HttpStatusLine.js'
16
+ import { InventoryResponseBody } from './InventoryResponseBody.js'
17
+
18
+ /**
19
+ * The InventoryResponse model module.
20
+ * @module externalfulfillmentinventory_v2024_09_11/model/InventoryResponse
21
+ * @version 2024-09-11
22
+ */
23
+ export class InventoryResponse {
24
+ /**
25
+ * Constructs a new <code>InventoryResponse</code>.
26
+ * A response to an individual inventory request.
27
+ * @alias module:externalfulfillmentinventory_v2024_09_11/model/InventoryResponse
28
+ * @class
29
+ * @param status {HttpStatusLine}
30
+ * @param body {InventoryResponseBody}
31
+ */
32
+ constructor (status, body) {
33
+ this.status = status
34
+ this.body = body
35
+ }
36
+
37
+ /**
38
+ * Constructs a <code>InventoryResponse</code> from a plain JavaScript object, optionally creating a new instance.
39
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
40
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
41
+ * @param {InventoryResponse} obj Optional instance to populate.
42
+ * @return {InventoryResponse} The populated <code>InventoryResponse</code> instance.
43
+ */
44
+ static constructFromObject (data, obj) {
45
+ if (data) {
46
+ switch (typeof data) {
47
+ case 'string':
48
+ obj = String(data)
49
+ break
50
+ case 'number':
51
+ obj = Number(data)
52
+ break
53
+ case 'boolean':
54
+ obj = Boolean(data)
55
+ break
56
+ }
57
+ obj = obj || new InventoryResponse()
58
+ if (data.hasOwnProperty('status')) { obj.status = HttpStatusLine.constructFromObject(data.status) }
59
+ if (data.hasOwnProperty('body')) { obj.body = InventoryResponseBody.constructFromObject(data.body) }
60
+ }
61
+ return obj
62
+ }
63
+ }
64
+
65
+ /**
66
+ * @member {HttpStatusLine} status
67
+ * @type {HttpStatusLine}
68
+ */
69
+ InventoryResponse.prototype.status = undefined
70
+
71
+ /**
72
+ * @member {InventoryResponseBody} body
73
+ * @type {InventoryResponseBody}
74
+ */
75
+ InventoryResponse.prototype.body = undefined
@@ -0,0 +1,59 @@
1
+ /**
2
+ * The InventoryResponseBody model module.
3
+ * @module externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody
4
+ * @version 2024-09-11
5
+ */
6
+ export class InventoryResponseBody {
7
+ /**
8
+ * Constructs a <code>InventoryResponseBody</code> from a plain JavaScript object, optionally creating a new instance.
9
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
10
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
11
+ * @param {InventoryResponseBody} obj Optional instance to populate.
12
+ * @return {InventoryResponseBody} The populated <code>InventoryResponseBody</code> instance.
13
+ */
14
+ static constructFromObject(data: any, obj: InventoryResponseBody): InventoryResponseBody;
15
+ /**
16
+ * Latest sequence number for an inventory update.
17
+ * @member {Number} clientSequenceNumber
18
+ * @type {Number}
19
+ */
20
+ clientSequenceNumber: number;
21
+ /**
22
+ * The location where inventory is updated or retrieved.
23
+ * @member {String} locationId
24
+ * @type {String}
25
+ */
26
+ locationId: string;
27
+ /**
28
+ * The SKU ID for which inventory is updated or retrieved
29
+ * @member {String} skuId
30
+ * @type {String}
31
+ */
32
+ skuId: string;
33
+ /**
34
+ * The number of items of the specified SKU that are available for purchase.
35
+ * @member {Number} sellableQuantity
36
+ * @type {Number}
37
+ */
38
+ sellableQuantity: number;
39
+ /**
40
+ * The number of items of the specified SKU created in any marketplace that are reserved for shipment and yet to be fulfilled.
41
+ * @member {Number} reservedQuantity
42
+ * @type {Number}
43
+ */
44
+ reservedQuantity: number;
45
+ /**
46
+ * @member {MarketplaceAttributes} marketplaceAttributes
47
+ * @type {MarketplaceAttributes}
48
+ */
49
+ marketplaceAttributes: MarketplaceAttributes;
50
+ /**
51
+ * Inventory operation errors that require seller action before retrying the inventory request.
52
+ * @member {[ActionableError]} actionableErrors
53
+ * @type {[ActionableError]}
54
+ */
55
+ actionableErrors: [ActionableError];
56
+ }
57
+ import { MarketplaceAttributes } from './MarketplaceAttributes.js';
58
+ import { ActionableError } from './ActionableError.js';
59
+ //# sourceMappingURL=InventoryResponseBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventoryResponseBody.d.ts","sourceRoot":"","sources":["InventoryResponseBody.js"],"names":[],"mappings":"AAiBA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,qBAAqB,GACpB,qBAAqB,CAyBhC;IAGH;;;;OAIG;IACH,6BAAoD;IAEpD;;;;OAIG;IACH,mBAA0C;IAE1C;;;;OAIG;IACH,cAAqC;IAErC;;;;OAIG;IACH,yBAAgD;IAEhD;;;;OAIG;IACH,yBAAgD;IAEhD;;;OAGG;IACH,uBAFU,qBAAqB,CAEsB;IAErD;;;;OAIG;IACH,kBAFU,CAAC,eAAe,CAAC,CAEqB;CAhD/C;sCAhDqC,4BAA4B;gCADlC,sBAAsB"}
@@ -0,0 +1,112 @@
1
+ /**
2
+ * The Selling Partner API for External Fulfillment Inventory Management
3
+ * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon's External Fulfillment network, including batch inventory updates and retrievals.
4
+ *
5
+ * The version of the OpenAPI document: 2024-09-11
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ *
12
+ */
13
+
14
+ import { ApiClient } from '../ApiClient.js'
15
+ import { ActionableError } from './ActionableError.js'
16
+ import { MarketplaceAttributes } from './MarketplaceAttributes.js'
17
+
18
+ /**
19
+ * The InventoryResponseBody model module.
20
+ * @module externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody
21
+ * @version 2024-09-11
22
+ */
23
+ export class InventoryResponseBody {
24
+ /**
25
+ * Constructs a new <code>InventoryResponseBody</code>.
26
+ * The response to an inventory request.
27
+ * @alias module:externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody
28
+ * @class
29
+ */
30
+ constructor () {
31
+ }
32
+
33
+ /**
34
+ * Constructs a <code>InventoryResponseBody</code> from a plain JavaScript object, optionally creating a new instance.
35
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
36
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
37
+ * @param {InventoryResponseBody} obj Optional instance to populate.
38
+ * @return {InventoryResponseBody} The populated <code>InventoryResponseBody</code> instance.
39
+ */
40
+ static constructFromObject (data, obj) {
41
+ if (data) {
42
+ switch (typeof data) {
43
+ case 'string':
44
+ obj = String(data)
45
+ break
46
+ case 'number':
47
+ obj = Number(data)
48
+ break
49
+ case 'boolean':
50
+ obj = Boolean(data)
51
+ break
52
+ }
53
+ obj = obj || new InventoryResponseBody()
54
+ if (data.hasOwnProperty('clientSequenceNumber')) { obj.clientSequenceNumber = ApiClient.convertToType(data.clientSequenceNumber, 'Number') }
55
+ if (data.hasOwnProperty('locationId')) { obj.locationId = ApiClient.convertToType(data.locationId, 'String') }
56
+ if (data.hasOwnProperty('skuId')) { obj.skuId = ApiClient.convertToType(data.skuId, 'String') }
57
+ if (data.hasOwnProperty('sellableQuantity')) { obj.sellableQuantity = ApiClient.convertToType(data.sellableQuantity, 'Number') }
58
+ if (data.hasOwnProperty('reservedQuantity')) { obj.reservedQuantity = ApiClient.convertToType(data.reservedQuantity, 'Number') }
59
+ if (data.hasOwnProperty('marketplaceAttributes')) { obj.marketplaceAttributes = MarketplaceAttributes.constructFromObject(data.marketplaceAttributes) }
60
+ if (data.hasOwnProperty('actionableErrors')) { obj.actionableErrors = ApiClient.convertToType(data.actionableErrors, [ActionableError]) }
61
+ }
62
+ return obj
63
+ }
64
+ }
65
+
66
+ /**
67
+ * Latest sequence number for an inventory update.
68
+ * @member {Number} clientSequenceNumber
69
+ * @type {Number}
70
+ */
71
+ InventoryResponseBody.prototype.clientSequenceNumber = undefined
72
+
73
+ /**
74
+ * The location where inventory is updated or retrieved.
75
+ * @member {String} locationId
76
+ * @type {String}
77
+ */
78
+ InventoryResponseBody.prototype.locationId = undefined
79
+
80
+ /**
81
+ * The SKU ID for which inventory is updated or retrieved
82
+ * @member {String} skuId
83
+ * @type {String}
84
+ */
85
+ InventoryResponseBody.prototype.skuId = undefined
86
+
87
+ /**
88
+ * The number of items of the specified SKU that are available for purchase.
89
+ * @member {Number} sellableQuantity
90
+ * @type {Number}
91
+ */
92
+ InventoryResponseBody.prototype.sellableQuantity = undefined
93
+
94
+ /**
95
+ * The number of items of the specified SKU created in any marketplace that are reserved for shipment and yet to be fulfilled.
96
+ * @member {Number} reservedQuantity
97
+ * @type {Number}
98
+ */
99
+ InventoryResponseBody.prototype.reservedQuantity = undefined
100
+
101
+ /**
102
+ * @member {MarketplaceAttributes} marketplaceAttributes
103
+ * @type {MarketplaceAttributes}
104
+ */
105
+ InventoryResponseBody.prototype.marketplaceAttributes = undefined
106
+
107
+ /**
108
+ * Inventory operation errors that require seller action before retrying the inventory request.
109
+ * @member {[ActionableError]} actionableErrors
110
+ * @type {[ActionableError]}
111
+ */
112
+ InventoryResponseBody.prototype.actionableErrors = undefined
@@ -0,0 +1,39 @@
1
+ /**
2
+ * The MarketplaceAttributes model module.
3
+ * @module externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes
4
+ * @version 2024-09-11
5
+ */
6
+ export class MarketplaceAttributes {
7
+ /**
8
+ * Constructs a <code>MarketplaceAttributes</code> from a plain JavaScript object, optionally creating a new instance.
9
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
10
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
11
+ * @param {MarketplaceAttributes} obj Optional instance to populate.
12
+ * @return {MarketplaceAttributes} The populated <code>MarketplaceAttributes</code> instance.
13
+ */
14
+ static constructFromObject(data: any, obj: MarketplaceAttributes): MarketplaceAttributes;
15
+ /**
16
+ * The name of the fulfillment channel in which to update inventory.
17
+ * @member {String} channelName
18
+ * @type {String}
19
+ */
20
+ channelName: string;
21
+ /**
22
+ * The marketplace ID of the marketplace where you want to update inventory.
23
+ * @member {String} marketplaceId
24
+ * @type {String}
25
+ */
26
+ marketplaceId: string;
27
+ }
28
+ export namespace MarketplaceAttributes {
29
+ namespace ChannelNameEnum {
30
+ let FBA: string;
31
+ let MFN: string;
32
+ let DF: string;
33
+ }
34
+ /**
35
+ * *
36
+ */
37
+ type ChannelNameEnum = string;
38
+ }
39
+ //# sourceMappingURL=MarketplaceAttributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarketplaceAttributes.d.ts","sourceRoot":"","sources":["MarketplaceAttributes.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,qBAAqB,GACpB,qBAAqB,CAoBhC;IA6BH;;;;OAIG;IACH,oBAA2C;IAE3C;;;;OAIG;IACH,sBAA6C;CAxC5C"}
@@ -0,0 +1,97 @@
1
+ /**
2
+ * The Selling Partner API for External Fulfillment Inventory Management
3
+ * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon's External Fulfillment network, including batch inventory updates and retrievals.
4
+ *
5
+ * The version of the OpenAPI document: 2024-09-11
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ *
12
+ */
13
+
14
+ import { ApiClient } from '../ApiClient.js'
15
+
16
+ /**
17
+ * The MarketplaceAttributes model module.
18
+ * @module externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes
19
+ * @version 2024-09-11
20
+ */
21
+ export class MarketplaceAttributes {
22
+ /**
23
+ * Constructs a new <code>MarketplaceAttributes</code>.
24
+ * The channel name and marketplace ID. This is required only when multiple channels have the same location ID.
25
+ * @alias module:externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes
26
+ * @class
27
+ */
28
+ constructor () {
29
+ }
30
+
31
+ /**
32
+ * Constructs a <code>MarketplaceAttributes</code> from a plain JavaScript object, optionally creating a new instance.
33
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
34
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
35
+ * @param {MarketplaceAttributes} obj Optional instance to populate.
36
+ * @return {MarketplaceAttributes} The populated <code>MarketplaceAttributes</code> instance.
37
+ */
38
+ static constructFromObject (data, obj) {
39
+ if (data) {
40
+ switch (typeof data) {
41
+ case 'string':
42
+ obj = String(data)
43
+ break
44
+ case 'number':
45
+ obj = Number(data)
46
+ break
47
+ case 'boolean':
48
+ obj = Boolean(data)
49
+ break
50
+ }
51
+ obj = obj || new MarketplaceAttributes()
52
+ if (data.hasOwnProperty('channelName')) { obj.channelName = ApiClient.convertToType(data.channelName, 'String') }
53
+ if (data.hasOwnProperty('marketplaceId')) { obj.marketplaceId = ApiClient.convertToType(data.marketplaceId, 'String') }
54
+ }
55
+ return obj
56
+ }
57
+ }
58
+
59
+ /**
60
+ * Allowed values for the <code>channelName</code> property.
61
+ * @enum {String}
62
+ * @readonly
63
+ */
64
+ MarketplaceAttributes.ChannelNameEnum = {
65
+
66
+ /**
67
+ * value: "FBA"
68
+ * @const
69
+ */
70
+ FBA: 'FBA',
71
+
72
+ /**
73
+ * value: "MFN"
74
+ * @const
75
+ */
76
+ MFN: 'MFN',
77
+
78
+ /**
79
+ * value: "DF"
80
+ * @const
81
+ */
82
+ DF: 'DF'
83
+ }
84
+
85
+ /**
86
+ * The name of the fulfillment channel in which to update inventory.
87
+ * @member {String} channelName
88
+ * @type {String}
89
+ */
90
+ MarketplaceAttributes.prototype.channelName = undefined
91
+
92
+ /**
93
+ * The marketplace ID of the marketplace where you want to update inventory.
94
+ * @member {String} marketplaceId
95
+ * @type {String}
96
+ */
97
+ MarketplaceAttributes.prototype.marketplaceId = undefined
@@ -0,0 +1,260 @@
1
+ /**
2
+ * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
3
+ * application to use this class directly - the *Api and model classes provide the public API for the service. The
4
+ * contents of this file should be regarded as internal but are documented for completeness.
5
+ * @alias module:externalfulfillmentreturns_v2024_09_11/ApiClient
6
+ * @class
7
+ */
8
+ export class ApiClient {
9
+ /**
10
+ * Enumeration of collection format separator strategies.
11
+ * @enum {String}
12
+ * @readonly
13
+ */
14
+ static readonly CollectionFormatEnum: {
15
+ /**
16
+ * Comma-separated values. Value: <code>csv</code>
17
+ * @const
18
+ */
19
+ CSV: string;
20
+ /**
21
+ * Space-separated values. Value: <code>ssv</code>
22
+ * @const
23
+ */
24
+ SSV: string;
25
+ /**
26
+ * Tab-separated values. Value: <code>tsv</code>
27
+ * @const
28
+ */
29
+ TSV: string;
30
+ /**
31
+ * Pipe(|)-separated values. Value: <code>pipes</code>
32
+ * @const
33
+ */
34
+ PIPES: string;
35
+ /**
36
+ * Native array. Value: <code>multi</code>
37
+ * @const
38
+ */
39
+ MULTI: string;
40
+ };
41
+ /**
42
+ * Parses an ISO-8601 string representation of a date value.
43
+ * @param {String} str The date value as a string.
44
+ * @returns {Date} The parsed date object.
45
+ */
46
+ static parseDate(str: string): Date;
47
+ /**
48
+ * Converts a value to the specified type.
49
+ * @param {(String|Object)} data The data to convert, as a string or object.
50
+ * @param {(String|Array<String>|Object<String, Object>|Function)} type The type to return. Pass a string for simple types
51
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
52
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
53
+ * all properties on <code>data<code> will be converted to this type.
54
+ * @returns An instance of the specified type or null or undefined if data is null or undefined.
55
+ */
56
+ static convertToType(data: (string | any), type: (string | Array<string> | any | Function)): any;
57
+ /**
58
+ * Constructs a new map or array model from REST data.
59
+ * @param data {Object|Array} The REST data.
60
+ * @param obj {Object|Array} The target object or array.
61
+ */
62
+ static constructFromObject(data: any | any[], obj: any | any[], itemType: any): void;
63
+ /**
64
+ * Constructs a new ApiClient.
65
+ * @param {String} baseUrl Base URL of endpoint ex. "https://sellingpartnerapi-na.amazon.com"
66
+ */
67
+ constructor(baseUrl: string);
68
+ /**
69
+ * The base URL against which to resolve every API call's (relative) path.
70
+ * @type {String}
71
+ * @default https://sellingpartnerapi-na.amazon.com
72
+ */
73
+ basePath: string;
74
+ /**
75
+ * The authentication methods to be included for all API calls.
76
+ * @type {Array<String>}
77
+ */
78
+ authentications: Array<string>;
79
+ /**
80
+ * The default HTTP headers to be included for all API calls.
81
+ * @type {Array<String>}
82
+ * @default {}
83
+ */
84
+ defaultHeaders: Array<string>;
85
+ /**
86
+ * The default HTTP timeout for all API calls.
87
+ * @type {Number}
88
+ * @default 60000
89
+ */
90
+ timeout: number;
91
+ /**
92
+ * If set to false an additional timestamp parameter is added to all API GET calls to
93
+ * prevent browser caching
94
+ * @type {Boolean}
95
+ * @default true
96
+ */
97
+ cache: boolean;
98
+ /**
99
+ * If set to true, the client will save the cookies from each server
100
+ * response, and return them in the next request.
101
+ * @default false
102
+ */
103
+ enableCookies: boolean;
104
+ agent: any;
105
+ requestAgent: any;
106
+ /**
107
+ * Set customized rate limiter for one operation
108
+ * For operations that customized rate limiter are not set
109
+ * Will use default rate limiter
110
+ * @param {String} operationName
111
+ * @param {RateLimitConfiguration} config
112
+ */
113
+ setCustomizedRateLimiterForOperation(operationName: string, config: RateLimitConfiguration): void;
114
+ /**
115
+ * Disable customized rate limiter for one operation
116
+ * Fall back to default rate limiter
117
+ * @param {String} operationName
118
+ */
119
+ disableCustomizedRatelimiterForOperation(operationName: string): void;
120
+ /**
121
+ * Clear customized rate limiter for all operations
122
+ * All operations will fall back to default rate limiter
123
+ * @param {String} operationName
124
+ */
125
+ disableCustomizedRatelimiterForAll(): void;
126
+ /**
127
+ * Disable both default and customized rate limiter for all operations
128
+ */
129
+ disableRateLimiter(): void;
130
+ /**
131
+ * Enable default or customized rate limiter for all operations
132
+ */
133
+ enableRateLimiter(): void;
134
+ /**
135
+ * Returns this ApiClient so that you can chain the methods.
136
+ * @param {String} clientId LWA client ID.
137
+ * @param {String} clientSecret LWA client secret.
138
+ * @param {String} refreshToken LWA refresh token.
139
+ * @param {Array<String>} dataElementsOption specify PII information to get from "buyerInfo", "shippingAddress" and "buyerTaxInformation".
140
+ * @returns {ApiClient} This ApiClient, which is going to use give accessToken for all API calls.
141
+ */
142
+ enableAutoRetrievalRestrictedDataToken(clientId: string, clientSecret: string, refreshToken: string, dataElementsOption: Array<string>): ApiClient;
143
+ /**
144
+ * Returns this ApiClient so that you can chain the methods.
145
+ * @param {String} clientId LWA client ID.
146
+ * @param {String} clientSecret LWA client secret.
147
+ * @param {String|null} refreshToken LWA refresh token.
148
+ * @param {String|null} scope LWA scope(s) for grantless operations.
149
+ * @returns {ApiClient} This ApiClient, which is going to use give accessToken for all API calls.
150
+ */
151
+ enableAutoRetrievalAccessToken(clientId: string, clientSecret: string, refreshToken?: string | null, scope?: string | null): ApiClient;
152
+ /**
153
+ * Clear Token Cache
154
+ */
155
+ clearAccessTokenCache(): void;
156
+ /**
157
+ * Returns this ApiClient so that you can chain the methods.
158
+ * @param {String} restrictedDataToken RDT token to use for SP-API call.
159
+ * @returns {ApiClient} This ApiClient, which is going to use give RDT for all API calls.
160
+ */
161
+ applyRestrictedDataToken(restrictedDataToken: string): ApiClient;
162
+ /**
163
+ * Applies authentication headers to the request.
164
+ * @param {String} accessOrRdtToken Either Access Token or Restricted Data Token to add as 'x-amz-access-token'.
165
+ * @returns {ApiClient} This ApiClient, which is going to use give RDT for all API calls.
166
+ */
167
+ applyXAmzAccessTokenToRequest(accessOrRdtToken: string): ApiClient;
168
+ /**
169
+ * Returns a string representation for an actual parameter.
170
+ * @param param The actual parameter.
171
+ * @returns {String} The string representation of <code>param</code>.
172
+ */
173
+ paramToString(param: any): string;
174
+ /**
175
+ * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
176
+ * NOTE: query parameters are not handled here.
177
+ * @param {String} path The path to append to the base URL.
178
+ * @param {Object} pathParams The parameter values to append.
179
+ * @returns {String} The encoded path with parameter values substituted.
180
+ */
181
+ buildUrl(path: string, pathParams: any): string;
182
+ /**
183
+ * Checks whether the given content type represents JSON.<br>
184
+ * JSON content type examples:<br>
185
+ * <ul>
186
+ * <li>application/json</li>
187
+ * <li>application/json; charset=UTF8</li>
188
+ * <li>APPLICATION/JSON</li>
189
+ * </ul>
190
+ * @param {String} contentType The MIME content type to check.
191
+ * @returns {Boolean} <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.
192
+ */
193
+ isJsonMime(contentType: string): boolean;
194
+ /**
195
+ * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
196
+ * @param {Array<String>} contentTypes
197
+ * @returns {String} The chosen content type, preferring JSON.
198
+ */
199
+ jsonPreferredMime(contentTypes: Array<string>): string;
200
+ /**
201
+ * Checks whether the given parameter value represents file-like content.
202
+ * @param param The parameter to check.
203
+ * @returns {Boolean} <code>true</code> if <code>param</code> represents a file.
204
+ */
205
+ isFileParam(param: any): boolean;
206
+ /**
207
+ * Normalizes parameter values:
208
+ * <ul>
209
+ * <li>remove nils</li>
210
+ * <li>keep files and arrays</li>
211
+ * <li>format to string with `paramToString` for other cases</li>
212
+ * </ul>
213
+ * @param {Object<String, Object>} params The parameters as object properties.
214
+ * @returns {Object<String, Object>} normalized parameters.
215
+ */
216
+ normalizeParams(params: any): any;
217
+ /**
218
+ * Builds a string representation of an array-type actual parameter, according to the given collection format.
219
+ * @param {Array} param An array parameter.
220
+ * @param {module:externalfulfillmentreturns_v2024_09_11/ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
221
+ * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
222
+ * <code>param</code> as is if <code>collectionFormat</code> is <code>multi</code>.
223
+ */
224
+ buildCollectionParam(param: any[], collectionFormat: any): string | any[];
225
+ /**
226
+ * Deserializes an HTTP response body into a value of the specified type.
227
+ * @param {Object} response A SuperAgent response object.
228
+ * @param {(String|Array<String>|Object<String, Object>|Function)} returnType The type to return. Pass a string for simple types
229
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
230
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
231
+ * all properties on <code>data<code> will be converted to this type.
232
+ * @returns A value of the specified type.
233
+ */
234
+ deserialize(response: any, returnType: (string | Array<string> | any | Function)): any;
235
+ /**
236
+ * Invokes the REST service using the supplied settings and parameters.
237
+ * @param {String} operation operation name.
238
+ * @param {String} path The base URL to invoke.
239
+ * @param {String} httpMethod The HTTP method to use.
240
+ * @param {Object<String, String>} pathParams A map of path parameters and their values.
241
+ * @param {Object<String, Object>} queryParams A map of query parameters and their values.
242
+ * @param {Object<String, Object>} headerParams A map of header parameters and their values.
243
+ * @param {Object<String, Object>} formParams A map of form parameters and their values.
244
+ * @param {Object} bodyParam The value to pass as the request body.
245
+ * @param {Array<String>} contentTypes An array of request MIME types.
246
+ * @param {Array<String>} accepts An array of acceptable response MIME types.
247
+ * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the
248
+ * constructor for a complex type.
249
+ * @param {SuperagentRateLimiter} defaultRateLimiter The default rate limiter.
250
+ * @returns {Promise} A {@link https://www.promisejs.org/|Promise} object.
251
+ */
252
+ callApi(operation: string, path: string, httpMethod: string, pathParams: any, queryParams: any, headerParams: any, formParams: any, bodyParam: any, contentTypes: Array<string>, accepts: Array<string>, returnType: (string | any[] | ObjectFunction), defaultRateLimiter: SuperagentRateLimiter): Promise<any>;
253
+ #private;
254
+ }
255
+ export namespace ApiClient {
256
+ let instance: any;
257
+ }
258
+ import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs';
259
+ import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs';
260
+ //# sourceMappingURL=ApiClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiClient.d.ts","sourceRoot":"","sources":["ApiClient.js"],"names":[],"mappings":"AAwLA;;;;;;EAME;AACF;IA4TE;;;;QAII;IACJ;QACE;;;eAGO;;QAGP;;;eAGO;;QAGP;;;eAGO;;QAGP;;;eAGO;;QAGP;;;eAGO;;MAER;IA4LD;;;;QAII;IACJ,+BAFc,IAAI,CAIjB;IAED;;;;;;;;QAQI;IACJ,2BAPY,CAAC,YAAa,CAAC,QACf,CAAC,SAAO,KAAK,QAAQ,iBAAgC,CAAC,OA6DjE;IAED;;;;QAII;IACJ,iCAHiB,WAAY,OACb,WAAY,uBAY3B;IA9mBD;;;QAGI;IACJ,6BAkEC;IAjEC;;;;WAIO;IACP,iBAAqH;IAErH;;;WAGO;IACP,iBAFc,KAAK,QAAQ,CAG1B;IAKD;;;;WAIO;IACP,gBAHc,KAAK,QAAQ,CAK1B;IAED;;;;WAIO;IACP,gBAAoB;IAEpB;;;;;WAKO;IACP,eAAiB;IAEjB;;;;WAIO;IACP,uBAA0B;IAOxB,WAAmC;IAMrC,kBAAwB;IAQ1B;;;;;;QAMI;IACJ,oEAFY,sBAAsB,QAIjC;IAED;;;;QAII;IACJ,sEAEC;IAED;;;;QAII;IACJ,2CAEC;IAED;;QAEI;IACJ,2BAEC;IAED;;QAEI;IACJ,0BAEC;IAED;;;;;;;QAOI;IACJ,yHAHY,KAAK,QAAQ,GACX,SAAS,CAQtB;IAED;;;;;;;QAOI;IACJ,sFAJY,SAAO,IAAI,UACX,SAAO,IAAI,GACT,SAAS,CAUtB;IAED;;SAEK;IACL,8BAIC;IAED;;;;QAII;IACJ,uDAFc,SAAS,CAKtB;IAED;;;;QAII;IACJ,yDAFc,SAAS,CAQtB;IAED;;;;QAII;IACJ,kCAQC;IAED;;;;;;QAMI;IACJ,gDAeC;IAED;;;;;;;;;;QAUI;IACJ,yCAEC;IAED;;;;QAII;IACJ,gCAHY,KAAK,QAAQ,UAUxB;IAED;;;;QAII;IACJ,iCA4BC;IAED;;;;;;;;;QASI;IACJ,kCAaC;IAuCD;;;;;;QAMI;IACJ,qDAJY,GAA4E,GAC1E,cAAY,CAsBzB;IAED;;;;;;;;QAQI;IACJ,uCANY,CAAC,SAAO,KAAK,QAAQ,iBAAgC,CAAC,OAoBjE;IAED;;;;;;;;;;;;;;;;QAgBI;IACJ,kKAPY,KAAK,QAAQ,WACb,KAAK,QAAQ,cACb,CAAC,iBAAa,cAAc,CAAC,sBAE7B,qBAAqB,gBAqHhC;;CA6FF;;kBAGQ,GAAuD;;uCAvyBzB,yCAAyC;sCAC1C,wCAAwC"}