@amazon-sp-api-release/amazon-sp-api-sdk-js 1.0.0-rc8 → 1.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 (1591) hide show
  1. package/README.md +1 -1
  2. package/helper/DefaultRateLimitFetcher.mjs +2 -35
  3. package/helper/DefaultRateLimitMap.mjs +285 -0
  4. package/helper/SuperagentRateLimiter.mjs +26 -14
  5. package/index.js +0 -1
  6. package/package.json +2 -2
  7. package/sample-node-app/index.js +27 -13
  8. package/src/apluscontent_v2020_11_01/ApiClient.js +498 -497
  9. package/src/apluscontent_v2020_11_01/api/AplusContentApi.js +512 -497
  10. package/src/apluscontent_v2020_11_01/index.js +197 -198
  11. package/src/apluscontent_v2020_11_01/model/AplusPaginatedResponse.js +22 -26
  12. package/src/apluscontent_v2020_11_01/model/AplusResponse.js +16 -19
  13. package/src/apluscontent_v2020_11_01/model/AsinBadge.js +14 -20
  14. package/src/apluscontent_v2020_11_01/model/AsinMetadata.js +27 -35
  15. package/src/apluscontent_v2020_11_01/model/ColorType.js +10 -14
  16. package/src/apluscontent_v2020_11_01/model/ContentBadge.js +16 -23
  17. package/src/apluscontent_v2020_11_01/model/ContentDocument.js +30 -37
  18. package/src/apluscontent_v2020_11_01/model/ContentMetadata.js +31 -38
  19. package/src/apluscontent_v2020_11_01/model/ContentMetadataRecord.js +21 -25
  20. package/src/apluscontent_v2020_11_01/model/ContentModule.js +63 -81
  21. package/src/apluscontent_v2020_11_01/model/ContentModuleType.js +36 -53
  22. package/src/apluscontent_v2020_11_01/model/ContentRecord.js +22 -27
  23. package/src/apluscontent_v2020_11_01/model/ContentStatus.js +14 -20
  24. package/src/apluscontent_v2020_11_01/model/ContentType.js +10 -14
  25. package/src/apluscontent_v2020_11_01/model/Decorator.js +22 -28
  26. package/src/apluscontent_v2020_11_01/model/DecoratorType.js +22 -32
  27. package/src/apluscontent_v2020_11_01/model/Error.js +21 -26
  28. package/src/apluscontent_v2020_11_01/model/ErrorList.js +17 -20
  29. package/src/apluscontent_v2020_11_01/model/GetContentDocumentResponse.js +25 -29
  30. package/src/apluscontent_v2020_11_01/model/ImageComponent.js +24 -29
  31. package/src/apluscontent_v2020_11_01/model/ImageCropSpecification.js +21 -25
  32. package/src/apluscontent_v2020_11_01/model/ImageDimensions.js +22 -26
  33. package/src/apluscontent_v2020_11_01/model/ImageOffsets.js +22 -26
  34. package/src/apluscontent_v2020_11_01/model/IntegerWithUnits.js +19 -23
  35. package/src/apluscontent_v2020_11_01/model/ListContentDocumentAsinRelationsResponse.js +27 -32
  36. package/src/apluscontent_v2020_11_01/model/ParagraphComponent.js +18 -21
  37. package/src/apluscontent_v2020_11_01/model/PlainTextItem.js +19 -23
  38. package/src/apluscontent_v2020_11_01/model/PositionType.js +10 -14
  39. package/src/apluscontent_v2020_11_01/model/PostContentDocumentApprovalSubmissionResponse.js +20 -23
  40. package/src/apluscontent_v2020_11_01/model/PostContentDocumentAsinRelationsRequest.js +16 -19
  41. package/src/apluscontent_v2020_11_01/model/PostContentDocumentAsinRelationsResponse.js +20 -23
  42. package/src/apluscontent_v2020_11_01/model/PostContentDocumentRequest.js +18 -21
  43. package/src/apluscontent_v2020_11_01/model/PostContentDocumentResponse.js +23 -27
  44. package/src/apluscontent_v2020_11_01/model/PostContentDocumentSuspendSubmissionResponse.js +20 -23
  45. package/src/apluscontent_v2020_11_01/model/PublishRecord.js +32 -40
  46. package/src/apluscontent_v2020_11_01/model/SearchContentDocumentsResponse.js +27 -32
  47. package/src/apluscontent_v2020_11_01/model/SearchContentPublishRecordsResponse.js +27 -32
  48. package/src/apluscontent_v2020_11_01/model/StandardCompanyLogoModule.js +18 -21
  49. package/src/apluscontent_v2020_11_01/model/StandardComparisonProductBlock.js +28 -36
  50. package/src/apluscontent_v2020_11_01/model/StandardComparisonTableModule.js +19 -23
  51. package/src/apluscontent_v2020_11_01/model/StandardFourImageTextModule.js +25 -32
  52. package/src/apluscontent_v2020_11_01/model/StandardFourImageTextQuadrantModule.js +30 -36
  53. package/src/apluscontent_v2020_11_01/model/StandardHeaderImageTextModule.js +19 -23
  54. package/src/apluscontent_v2020_11_01/model/StandardHeaderTextListBlock.js +19 -23
  55. package/src/apluscontent_v2020_11_01/model/StandardImageCaptionBlock.js +19 -23
  56. package/src/apluscontent_v2020_11_01/model/StandardImageSidebarModule.js +30 -38
  57. package/src/apluscontent_v2020_11_01/model/StandardImageTextBlock.js +22 -27
  58. package/src/apluscontent_v2020_11_01/model/StandardImageTextCaptionBlock.js +19 -23
  59. package/src/apluscontent_v2020_11_01/model/StandardImageTextOverlayModule.js +21 -25
  60. package/src/apluscontent_v2020_11_01/model/StandardMultipleImageTextModule.js +16 -19
  61. package/src/apluscontent_v2020_11_01/model/StandardProductDescriptionModule.js +18 -21
  62. package/src/apluscontent_v2020_11_01/model/StandardSingleImageHighlightsModule.js +29 -37
  63. package/src/apluscontent_v2020_11_01/model/StandardSingleImageSpecsDetailModule.js +33 -43
  64. package/src/apluscontent_v2020_11_01/model/StandardSingleSideImageModule.js +21 -25
  65. package/src/apluscontent_v2020_11_01/model/StandardTechSpecsModule.js +22 -27
  66. package/src/apluscontent_v2020_11_01/model/StandardTextBlock.js +19 -23
  67. package/src/apluscontent_v2020_11_01/model/StandardTextListBlock.js +18 -21
  68. package/src/apluscontent_v2020_11_01/model/StandardTextModule.js +21 -25
  69. package/src/apluscontent_v2020_11_01/model/StandardTextPairBlock.js +18 -22
  70. package/src/apluscontent_v2020_11_01/model/StandardThreeImageTextModule.js +23 -29
  71. package/src/apluscontent_v2020_11_01/model/TextComponent.js +19 -23
  72. package/src/apluscontent_v2020_11_01/model/TextItem.js +21 -25
  73. package/src/apluscontent_v2020_11_01/model/ValidateContentDocumentAsinRelationsResponse.js +27 -31
  74. package/src/appintegrations_v2024_04_01/ApiClient.js +498 -497
  75. package/src/appintegrations_v2024_04_01/api/AppIntegrationsApi.js +147 -125
  76. package/src/appintegrations_v2024_04_01/index.js +26 -27
  77. package/src/appintegrations_v2024_04_01/model/CreateNotificationRequest.js +21 -26
  78. package/src/appintegrations_v2024_04_01/model/CreateNotificationResponse.js +15 -18
  79. package/src/appintegrations_v2024_04_01/model/DeleteNotificationsRequest.js +25 -29
  80. package/src/appintegrations_v2024_04_01/model/Error.js +21 -26
  81. package/src/appintegrations_v2024_04_01/model/ErrorList.js +17 -20
  82. package/src/appintegrations_v2024_04_01/model/RecordActionFeedbackRequest.js +20 -23
  83. package/src/applications_v2023_11_30/ApiClient.js +498 -497
  84. package/src/applications_v2023_11_30/api/ApplicationsApi.js +62 -38
  85. package/src/applications_v2023_11_30/index.js +14 -15
  86. package/src/applications_v2023_11_30/model/Error.js +21 -26
  87. package/src/applications_v2023_11_30/model/ErrorList.js +17 -20
  88. package/src/awd_v2024_05_09/ApiClient.js +498 -497
  89. package/src/awd_v2024_05_09/api/AwdApi.js +462 -448
  90. package/src/awd_v2024_05_09/index.js +158 -159
  91. package/src/awd_v2024_05_09/model/Address.js +39 -52
  92. package/src/awd_v2024_05_09/model/CarrierCode.js +18 -22
  93. package/src/awd_v2024_05_09/model/CarrierCodeType.js +8 -11
  94. package/src/awd_v2024_05_09/model/DestinationDetails.js +20 -25
  95. package/src/awd_v2024_05_09/model/DimensionUnitOfMeasurement.js +10 -14
  96. package/src/awd_v2024_05_09/model/DistributionPackage.js +28 -33
  97. package/src/awd_v2024_05_09/model/DistributionPackageContents.js +19 -23
  98. package/src/awd_v2024_05_09/model/DistributionPackageQuantity.js +21 -25
  99. package/src/awd_v2024_05_09/model/DistributionPackageType.js +10 -14
  100. package/src/awd_v2024_05_09/model/Error.js +21 -26
  101. package/src/awd_v2024_05_09/model/ErrorList.js +17 -20
  102. package/src/awd_v2024_05_09/model/ExpirationDetails.js +17 -21
  103. package/src/awd_v2024_05_09/model/InboundEligibility.js +28 -34
  104. package/src/awd_v2024_05_09/model/InboundEligibilityStatus.js +10 -14
  105. package/src/awd_v2024_05_09/model/InboundOrder.js +43 -54
  106. package/src/awd_v2024_05_09/model/InboundOrderCreationData.js +27 -33
  107. package/src/awd_v2024_05_09/model/InboundOrderReference.js +16 -19
  108. package/src/awd_v2024_05_09/model/InboundPackages.js +17 -20
  109. package/src/awd_v2024_05_09/model/InboundPreferences.js +15 -18
  110. package/src/awd_v2024_05_09/model/InboundShipment.js +60 -78
  111. package/src/awd_v2024_05_09/model/InboundShipmentStatus.js +20 -29
  112. package/src/awd_v2024_05_09/model/InboundShipmentSummary.js +30 -38
  113. package/src/awd_v2024_05_09/model/InboundStatus.js +18 -26
  114. package/src/awd_v2024_05_09/model/InventoryDetails.js +19 -24
  115. package/src/awd_v2024_05_09/model/InventoryListing.js +19 -23
  116. package/src/awd_v2024_05_09/model/InventoryQuantity.js +21 -25
  117. package/src/awd_v2024_05_09/model/InventorySummary.js +26 -33
  118. package/src/awd_v2024_05_09/model/InventoryUnitOfMeasurement.js +12 -17
  119. package/src/awd_v2024_05_09/model/LabelOwner.js +10 -14
  120. package/src/awd_v2024_05_09/model/LabelStatus.js +14 -20
  121. package/src/awd_v2024_05_09/model/MeasurementData.js +24 -29
  122. package/src/awd_v2024_05_09/model/OrderIneligibilityReason.js +19 -23
  123. package/src/awd_v2024_05_09/model/PackageDimensions.js +27 -33
  124. package/src/awd_v2024_05_09/model/PackageVolume.js +21 -25
  125. package/src/awd_v2024_05_09/model/PackageWeight.js +21 -25
  126. package/src/awd_v2024_05_09/model/PrepCategory.js +34 -50
  127. package/src/awd_v2024_05_09/model/PrepDetails.js +25 -31
  128. package/src/awd_v2024_05_09/model/PrepInstruction.js +18 -22
  129. package/src/awd_v2024_05_09/model/PrepOwner.js +10 -14
  130. package/src/awd_v2024_05_09/model/ProductAttribute.js +17 -21
  131. package/src/awd_v2024_05_09/model/ProductQuantity.js +27 -34
  132. package/src/awd_v2024_05_09/model/ShipmentLabels.js +20 -24
  133. package/src/awd_v2024_05_09/model/ShipmentListing.js +18 -22
  134. package/src/awd_v2024_05_09/model/SkuEligibility.js +26 -31
  135. package/src/awd_v2024_05_09/model/SkuIneligibilityReason.js +19 -23
  136. package/src/awd_v2024_05_09/model/SkuQuantity.js +23 -28
  137. package/src/awd_v2024_05_09/model/TrackingDetails.js +19 -23
  138. package/src/awd_v2024_05_09/model/TransportationDetails.js +17 -20
  139. package/src/awd_v2024_05_09/model/VolumeUnitOfMeasurement.js +12 -17
  140. package/src/awd_v2024_05_09/model/WeightUnitOfMeasurement.js +10 -14
  141. package/src/catalogitems_v2022_04_01/ApiClient.js +498 -497
  142. package/src/catalogitems_v2022_04_01/api/CatalogApi.js +130 -107
  143. package/src/catalogitems_v2022_04_01/index.js +95 -96
  144. package/src/catalogitems_v2022_04_01/model/BrandRefinement.js +19 -23
  145. package/src/catalogitems_v2022_04_01/model/ClassificationRefinement.js +22 -27
  146. package/src/catalogitems_v2022_04_01/model/Dimension.js +17 -21
  147. package/src/catalogitems_v2022_04_01/model/Dimensions.js +22 -28
  148. package/src/catalogitems_v2022_04_01/model/Error.js +21 -26
  149. package/src/catalogitems_v2022_04_01/model/ErrorList.js +18 -21
  150. package/src/catalogitems_v2022_04_01/model/Item.js +45 -58
  151. package/src/catalogitems_v2022_04_01/model/ItemBrowseClassification.js +21 -26
  152. package/src/catalogitems_v2022_04_01/model/ItemBrowseClassificationsByMarketplace.js +19 -23
  153. package/src/catalogitems_v2022_04_01/model/ItemClassificationSalesRank.js +24 -30
  154. package/src/catalogitems_v2022_04_01/model/ItemContributor.js +21 -25
  155. package/src/catalogitems_v2022_04_01/model/ItemContributorRole.js +18 -22
  156. package/src/catalogitems_v2022_04_01/model/ItemDimensionsByMarketplace.js +21 -26
  157. package/src/catalogitems_v2022_04_01/model/ItemDisplayGroupSalesRank.js +24 -30
  158. package/src/catalogitems_v2022_04_01/model/ItemIdentifier.js +19 -23
  159. package/src/catalogitems_v2022_04_01/model/ItemIdentifiersByMarketplace.js +20 -24
  160. package/src/catalogitems_v2022_04_01/model/ItemImage.js +47 -53
  161. package/src/catalogitems_v2022_04_01/model/ItemImagesByMarketplace.js +20 -24
  162. package/src/catalogitems_v2022_04_01/model/ItemProductTypeByMarketplace.js +17 -21
  163. package/src/catalogitems_v2022_04_01/model/ItemRelationship.js +29 -35
  164. package/src/catalogitems_v2022_04_01/model/ItemRelationshipsByMarketplace.js +20 -24
  165. package/src/catalogitems_v2022_04_01/model/ItemSalesRanksByMarketplace.js +22 -27
  166. package/src/catalogitems_v2022_04_01/model/ItemSearchResults.js +30 -36
  167. package/src/catalogitems_v2022_04_01/model/ItemSummaryByMarketplace.js +66 -88
  168. package/src/catalogitems_v2022_04_01/model/ItemVariationTheme.js +17 -21
  169. package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsByMarketplace.js +53 -63
  170. package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsCategory.js +17 -21
  171. package/src/catalogitems_v2022_04_01/model/Pagination.js +17 -21
  172. package/src/catalogitems_v2022_04_01/model/Refinements.js +21 -25
  173. package/src/datakiosk_v2023_11_15/ApiClient.js +498 -497
  174. package/src/datakiosk_v2023_11_15/api/QueriesApi.js +222 -202
  175. package/src/datakiosk_v2023_11_15/index.js +35 -36
  176. package/src/datakiosk_v2023_11_15/model/CreateQueryResponse.js +16 -19
  177. package/src/datakiosk_v2023_11_15/model/CreateQuerySpecification.js +18 -22
  178. package/src/datakiosk_v2023_11_15/model/Error.js +21 -26
  179. package/src/datakiosk_v2023_11_15/model/ErrorList.js +17 -20
  180. package/src/datakiosk_v2023_11_15/model/GetDocumentResponse.js +19 -23
  181. package/src/datakiosk_v2023_11_15/model/GetQueriesResponse.js +20 -24
  182. package/src/datakiosk_v2023_11_15/model/GetQueriesResponsePagination.js +15 -18
  183. package/src/datakiosk_v2023_11_15/model/Query.js +48 -59
  184. package/src/datakiosk_v2023_11_15/model/QueryPagination.js +15 -18
  185. package/src/easyship_v2022_03_23/ApiClient.js +498 -497
  186. package/src/easyship_v2022_03_23/api/EasyShipApi.js +220 -200
  187. package/src/easyship_v2022_03_23/index.js +89 -90
  188. package/src/easyship_v2022_03_23/model/Code.js +28 -41
  189. package/src/easyship_v2022_03_23/model/CreateScheduledPackageRequest.js +24 -29
  190. package/src/easyship_v2022_03_23/model/CreateScheduledPackagesRequest.js +25 -30
  191. package/src/easyship_v2022_03_23/model/CreateScheduledPackagesResponse.js +21 -26
  192. package/src/easyship_v2022_03_23/model/Dimensions.js +24 -31
  193. package/src/easyship_v2022_03_23/model/Error.js +21 -26
  194. package/src/easyship_v2022_03_23/model/ErrorList.js +17 -20
  195. package/src/easyship_v2022_03_23/model/HandoverMethod.js +10 -14
  196. package/src/easyship_v2022_03_23/model/InvoiceData.js +18 -22
  197. package/src/easyship_v2022_03_23/model/Item.js +17 -21
  198. package/src/easyship_v2022_03_23/model/LabelFormat.js +10 -14
  199. package/src/easyship_v2022_03_23/model/ListHandoverSlotsRequest.js +29 -35
  200. package/src/easyship_v2022_03_23/model/ListHandoverSlotsResponse.js +20 -24
  201. package/src/easyship_v2022_03_23/model/OrderScheduleDetails.js +20 -24
  202. package/src/easyship_v2022_03_23/model/Package.js +47 -58
  203. package/src/easyship_v2022_03_23/model/PackageDetails.js +23 -28
  204. package/src/easyship_v2022_03_23/model/PackageStatus.js +30 -44
  205. package/src/easyship_v2022_03_23/model/Packages.js +17 -20
  206. package/src/easyship_v2022_03_23/model/RejectedOrder.js +19 -23
  207. package/src/easyship_v2022_03_23/model/ScheduledPackageId.js +18 -22
  208. package/src/easyship_v2022_03_23/model/TimeSlot.js +23 -29
  209. package/src/easyship_v2022_03_23/model/TrackingDetails.js +15 -18
  210. package/src/easyship_v2022_03_23/model/UnitOfLength.js +8 -11
  211. package/src/easyship_v2022_03_23/model/UnitOfWeight.js +10 -14
  212. package/src/easyship_v2022_03_23/model/UpdatePackageDetails.js +23 -27
  213. package/src/easyship_v2022_03_23/model/UpdateScheduledPackagesRequest.js +20 -24
  214. package/src/easyship_v2022_03_23/model/Weight.js +18 -22
  215. package/src/fbaeligibility_v1/ApiClient.js +498 -497
  216. package/src/fbaeligibility_v1/api/FbaInboundApi.js +74 -50
  217. package/src/fbaeligibility_v1/index.js +17 -18
  218. package/src/fbaeligibility_v1/model/Error.js +20 -25
  219. package/src/fbaeligibility_v1/model/GetItemEligibilityPreviewResponse.js +19 -23
  220. package/src/fbaeligibility_v1/model/ItemEligibilityPreview.js +112 -119
  221. package/src/fbainventory_v1/ApiClient.js +498 -497
  222. package/src/fbainventory_v1/api/FbaInventoryApi.js +214 -193
  223. package/src/fbainventory_v1/index.js +59 -60
  224. package/src/fbainventory_v1/model/AddInventoryRequest.js +16 -19
  225. package/src/fbainventory_v1/model/AddInventoryResponse.js +16 -19
  226. package/src/fbainventory_v1/model/CreateInventoryItemRequest.js +22 -27
  227. package/src/fbainventory_v1/model/CreateInventoryItemResponse.js +16 -19
  228. package/src/fbainventory_v1/model/DeleteInventoryItemResponse.js +16 -19
  229. package/src/fbainventory_v1/model/Error.js +20 -25
  230. package/src/fbainventory_v1/model/GetInventorySummariesResponse.js +22 -27
  231. package/src/fbainventory_v1/model/GetInventorySummariesResult.js +22 -26
  232. package/src/fbainventory_v1/model/Granularity.js +17 -21
  233. package/src/fbainventory_v1/model/InventoryDetails.js +30 -39
  234. package/src/fbainventory_v1/model/InventoryItem.js +22 -27
  235. package/src/fbainventory_v1/model/InventorySummary.js +32 -43
  236. package/src/fbainventory_v1/model/Pagination.js +15 -18
  237. package/src/fbainventory_v1/model/ResearchingQuantity.js +18 -22
  238. package/src/fbainventory_v1/model/ResearchingQuantityEntry.js +27 -31
  239. package/src/fbainventory_v1/model/ReservedQuantity.js +21 -27
  240. package/src/fbainventory_v1/model/UnfulfillableQuantity.js +27 -36
  241. package/src/feeds_v2021_06_30/ApiClient.js +498 -497
  242. package/src/feeds_v2021_06_30/api/FeedsApi.js +262 -243
  243. package/src/feeds_v2021_06_30/index.js +35 -36
  244. package/src/feeds_v2021_06_30/model/CreateFeedDocumentResponse.js +19 -23
  245. package/src/feeds_v2021_06_30/model/CreateFeedDocumentSpecification.js +16 -19
  246. package/src/feeds_v2021_06_30/model/CreateFeedResponse.js +16 -19
  247. package/src/feeds_v2021_06_30/model/CreateFeedSpecification.js +24 -30
  248. package/src/feeds_v2021_06_30/model/Error.js +21 -26
  249. package/src/feeds_v2021_06_30/model/ErrorList.js +17 -20
  250. package/src/feeds_v2021_06_30/model/Feed.js +45 -55
  251. package/src/feeds_v2021_06_30/model/FeedDocument.js +25 -30
  252. package/src/feeds_v2021_06_30/model/GetFeedsResponse.js +19 -23
  253. package/src/finances_v0/ApiClient.js +498 -497
  254. package/src/finances_v0/api/DefaultApi.js +178 -157
  255. package/src/finances_v0/index.js +158 -159
  256. package/src/finances_v0/model/AdhocDisbursementEvent.js +22 -28
  257. package/src/finances_v0/model/AdjustmentEvent.js +25 -32
  258. package/src/finances_v0/model/AdjustmentItem.js +30 -40
  259. package/src/finances_v0/model/AffordabilityExpenseEvent.js +38 -49
  260. package/src/finances_v0/model/CapacityReservationBillingEvent.js +22 -28
  261. package/src/finances_v0/model/ChargeComponent.js +18 -22
  262. package/src/finances_v0/model/ChargeInstrument.js +20 -25
  263. package/src/finances_v0/model/ChargeRefundEvent.js +22 -28
  264. package/src/finances_v0/model/ChargeRefundTransaction.js +18 -22
  265. package/src/finances_v0/model/CouponPaymentEvent.js +32 -42
  266. package/src/finances_v0/model/Currency.js +17 -21
  267. package/src/finances_v0/model/DebtRecoveryEvent.js +26 -33
  268. package/src/finances_v0/model/DebtRecoveryItem.js +22 -28
  269. package/src/finances_v0/model/DirectPayment.js +18 -22
  270. package/src/finances_v0/model/Error.js +21 -26
  271. package/src/finances_v0/model/FBALiquidationEvent.js +22 -28
  272. package/src/finances_v0/model/FailedAdhocDisbursementEvent.js +28 -37
  273. package/src/finances_v0/model/FeeComponent.js +18 -22
  274. package/src/finances_v0/model/FinancialEventGroup.js +36 -49
  275. package/src/finances_v0/model/FinancialEvents.js +107 -142
  276. package/src/finances_v0/model/ImagingServicesFeeEvent.js +22 -28
  277. package/src/finances_v0/model/ListFinancialEventGroupsPayload.js +18 -22
  278. package/src/finances_v0/model/ListFinancialEventGroupsResponse.js +19 -23
  279. package/src/finances_v0/model/ListFinancialEventsPayload.js +18 -22
  280. package/src/finances_v0/model/ListFinancialEventsResponse.js +19 -23
  281. package/src/finances_v0/model/LoanServicingEvent.js +18 -22
  282. package/src/finances_v0/model/NetworkComminglingTransactionEvent.js +30 -40
  283. package/src/finances_v0/model/PayWithAmazonEvent.js +35 -47
  284. package/src/finances_v0/model/ProductAdsPaymentEvent.js +26 -34
  285. package/src/finances_v0/model/Promotion.js +20 -25
  286. package/src/finances_v0/model/RemovalShipmentAdjustmentEvent.js +26 -34
  287. package/src/finances_v0/model/RemovalShipmentEvent.js +26 -34
  288. package/src/finances_v0/model/RemovalShipmentItem.js +30 -40
  289. package/src/finances_v0/model/RemovalShipmentItemAdjustment.js +28 -37
  290. package/src/finances_v0/model/RentalTransactionEvent.js +37 -49
  291. package/src/finances_v0/model/RetrochargeEvent.js +29 -38
  292. package/src/finances_v0/model/SAFETReimbursementEvent.js +25 -32
  293. package/src/finances_v0/model/SAFETReimbursementItem.js +20 -25
  294. package/src/finances_v0/model/SellerDealPaymentEvent.js +30 -40
  295. package/src/finances_v0/model/SellerReviewEnrollmentPaymentEvent.js +28 -36
  296. package/src/finances_v0/model/ServiceFeeEvent.js +30 -40
  297. package/src/finances_v0/model/ShipmentEvent.js +45 -61
  298. package/src/finances_v0/model/ShipmentItem.js +44 -59
  299. package/src/finances_v0/model/SolutionProviderCreditEvent.js +34 -46
  300. package/src/finances_v0/model/TDSReimbursementEvent.js +20 -25
  301. package/src/finances_v0/model/TaxWithheldComponent.js +18 -22
  302. package/src/finances_v0/model/TaxWithholdingEvent.js +23 -29
  303. package/src/finances_v0/model/TaxWithholdingPeriod.js +17 -21
  304. package/src/finances_v0/model/TrialShipmentEvent.js +24 -31
  305. package/src/finances_v0/model/ValueAddedServiceChargeEvent.js +22 -28
  306. package/src/fulfillmentinbound_v0/ApiClient.js +498 -497
  307. package/src/fulfillmentinbound_v0/api/FbaInboundApi.js +313 -294
  308. package/src/fulfillmentinbound_v0/index.js +101 -102
  309. package/src/fulfillmentinbound_v0/model/ASINPrepInstructions.js +24 -30
  310. package/src/fulfillmentinbound_v0/model/Address.js +35 -45
  311. package/src/fulfillmentinbound_v0/model/AmazonPrepFeesDetails.js +19 -23
  312. package/src/fulfillmentinbound_v0/model/Amount.js +21 -25
  313. package/src/fulfillmentinbound_v0/model/BarcodeInstruction.js +12 -17
  314. package/src/fulfillmentinbound_v0/model/BillOfLadingDownloadURL.js +15 -18
  315. package/src/fulfillmentinbound_v0/model/BoxContentsFeeDetails.js +20 -25
  316. package/src/fulfillmentinbound_v0/model/BoxContentsSource.js +14 -20
  317. package/src/fulfillmentinbound_v0/model/CurrencyCode.js +10 -14
  318. package/src/fulfillmentinbound_v0/model/Error.js +21 -26
  319. package/src/fulfillmentinbound_v0/model/ErrorReason.js +10 -14
  320. package/src/fulfillmentinbound_v0/model/GetBillOfLadingResponse.js +19 -23
  321. package/src/fulfillmentinbound_v0/model/GetLabelsResponse.js +19 -23
  322. package/src/fulfillmentinbound_v0/model/GetPrepInstructionsResponse.js +19 -23
  323. package/src/fulfillmentinbound_v0/model/GetPrepInstructionsResult.js +25 -31
  324. package/src/fulfillmentinbound_v0/model/GetShipmentItemsResponse.js +19 -23
  325. package/src/fulfillmentinbound_v0/model/GetShipmentItemsResult.js +18 -22
  326. package/src/fulfillmentinbound_v0/model/GetShipmentsResponse.js +19 -23
  327. package/src/fulfillmentinbound_v0/model/GetShipmentsResult.js +18 -22
  328. package/src/fulfillmentinbound_v0/model/InboundShipmentInfo.js +41 -53
  329. package/src/fulfillmentinbound_v0/model/InboundShipmentItem.js +32 -42
  330. package/src/fulfillmentinbound_v0/model/InvalidASIN.js +18 -22
  331. package/src/fulfillmentinbound_v0/model/InvalidSKU.js +18 -22
  332. package/src/fulfillmentinbound_v0/model/LabelDownloadURL.js +15 -18
  333. package/src/fulfillmentinbound_v0/model/LabelPrepType.js +12 -17
  334. package/src/fulfillmentinbound_v0/model/PrepDetails.js +23 -27
  335. package/src/fulfillmentinbound_v0/model/PrepGuidance.js +12 -17
  336. package/src/fulfillmentinbound_v0/model/PrepInstruction.js +38 -56
  337. package/src/fulfillmentinbound_v0/model/PrepOwner.js +10 -14
  338. package/src/fulfillmentinbound_v0/model/SKUPrepInstructions.js +29 -37
  339. package/src/fulfillmentinbound_v0/model/ShipmentStatus.js +26 -38
  340. package/src/fulfillmentinbound_v2024_03_20/ApiClient.js +498 -497
  341. package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +1900 -1920
  342. package/src/fulfillmentinbound_v2024_03_20/index.js +428 -429
  343. package/src/fulfillmentinbound_v2024_03_20/model/Address.js +38 -50
  344. package/src/fulfillmentinbound_v2024_03_20/model/AddressInput.js +39 -51
  345. package/src/fulfillmentinbound_v2024_03_20/model/AllOwnersConstraint.js +8 -11
  346. package/src/fulfillmentinbound_v2024_03_20/model/AppointmentSlot.js +21 -25
  347. package/src/fulfillmentinbound_v2024_03_20/model/AppointmentSlotTime.js +19 -23
  348. package/src/fulfillmentinbound_v2024_03_20/model/Box.js +41 -54
  349. package/src/fulfillmentinbound_v2024_03_20/model/BoxContentInformationSource.js +12 -17
  350. package/src/fulfillmentinbound_v2024_03_20/model/BoxInput.js +34 -41
  351. package/src/fulfillmentinbound_v2024_03_20/model/BoxRequirements.js +18 -21
  352. package/src/fulfillmentinbound_v2024_03_20/model/BoxUpdateInput.js +36 -44
  353. package/src/fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse.js +16 -19
  354. package/src/fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest.js +16 -19
  355. package/src/fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse.js +16 -19
  356. package/src/fulfillmentinbound_v2024_03_20/model/Carrier.js +17 -21
  357. package/src/fulfillmentinbound_v2024_03_20/model/CarrierAppointment.js +19 -23
  358. package/src/fulfillmentinbound_v2024_03_20/model/ComplianceDetail.js +22 -28
  359. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse.js +16 -19
  360. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse.js +16 -19
  361. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse.js +16 -19
  362. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse.js +16 -19
  363. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest.js +17 -20
  364. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse.js +16 -19
  365. package/src/fulfillmentinbound_v2024_03_20/model/ContactInformation.js +21 -26
  366. package/src/fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview.js +29 -35
  367. package/src/fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest.js +27 -33
  368. package/src/fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse.js +19 -23
  369. package/src/fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest.js +34 -43
  370. package/src/fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse.js +17 -20
  371. package/src/fulfillmentinbound_v2024_03_20/model/Currency.js +19 -23
  372. package/src/fulfillmentinbound_v2024_03_20/model/CustomPlacementInput.js +20 -24
  373. package/src/fulfillmentinbound_v2024_03_20/model/Dates.js +16 -19
  374. package/src/fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption.js +28 -35
  375. package/src/fulfillmentinbound_v2024_03_20/model/Dimensions.js +27 -33
  376. package/src/fulfillmentinbound_v2024_03_20/model/DocumentDownload.js +21 -26
  377. package/src/fulfillmentinbound_v2024_03_20/model/Error.js +21 -26
  378. package/src/fulfillmentinbound_v2024_03_20/model/ErrorList.js +17 -20
  379. package/src/fulfillmentinbound_v2024_03_20/model/FreightInformation.js +18 -22
  380. package/src/fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse.js +16 -19
  381. package/src/fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse.js +16 -19
  382. package/src/fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest.js +16 -19
  383. package/src/fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse.js +16 -19
  384. package/src/fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest.js +17 -21
  385. package/src/fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse.js +16 -19
  386. package/src/fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest.js +21 -25
  387. package/src/fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse.js +16 -19
  388. package/src/fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest.js +20 -24
  389. package/src/fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse.js +16 -19
  390. package/src/fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse.js +18 -21
  391. package/src/fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse.js +21 -25
  392. package/src/fulfillmentinbound_v2024_03_20/model/InboundOperationStatus.js +28 -34
  393. package/src/fulfillmentinbound_v2024_03_20/model/InboundPlan.js +45 -57
  394. package/src/fulfillmentinbound_v2024_03_20/model/InboundPlanSummary.js +36 -45
  395. package/src/fulfillmentinbound_v2024_03_20/model/Incentive.js +27 -33
  396. package/src/fulfillmentinbound_v2024_03_20/model/Item.js +36 -46
  397. package/src/fulfillmentinbound_v2024_03_20/model/ItemInput.js +33 -41
  398. package/src/fulfillmentinbound_v2024_03_20/model/ItemLabelPageType.js +28 -41
  399. package/src/fulfillmentinbound_v2024_03_20/model/LabelOwner.js +12 -17
  400. package/src/fulfillmentinbound_v2024_03_20/model/LabelPrintType.js +10 -14
  401. package/src/fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse.js +20 -24
  402. package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse.js +20 -24
  403. package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse.js +20 -24
  404. package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse.js +20 -24
  405. package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse.js +19 -23
  406. package/src/fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse.js +16 -19
  407. package/src/fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse.js +20 -24
  408. package/src/fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse.js +20 -24
  409. package/src/fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse.js +20 -24
  410. package/src/fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse.js +20 -24
  411. package/src/fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse.js +17 -20
  412. package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse.js +20 -24
  413. package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse.js +20 -24
  414. package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse.js +20 -24
  415. package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse.js +20 -24
  416. package/src/fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse.js +20 -24
  417. package/src/fulfillmentinbound_v2024_03_20/model/LtlTrackingDetail.js +17 -21
  418. package/src/fulfillmentinbound_v2024_03_20/model/LtlTrackingDetailInput.js +18 -22
  419. package/src/fulfillmentinbound_v2024_03_20/model/MskuPrepDetail.js +33 -41
  420. package/src/fulfillmentinbound_v2024_03_20/model/MskuPrepDetailInput.js +25 -30
  421. package/src/fulfillmentinbound_v2024_03_20/model/MskuQuantity.js +19 -23
  422. package/src/fulfillmentinbound_v2024_03_20/model/OperationProblem.js +24 -30
  423. package/src/fulfillmentinbound_v2024_03_20/model/OperationStatus.js +12 -17
  424. package/src/fulfillmentinbound_v2024_03_20/model/OwnerConstraint.js +12 -17
  425. package/src/fulfillmentinbound_v2024_03_20/model/PackageGroupingInput.js +21 -26
  426. package/src/fulfillmentinbound_v2024_03_20/model/PackingConfiguration.js +22 -27
  427. package/src/fulfillmentinbound_v2024_03_20/model/PackingOption.js +39 -49
  428. package/src/fulfillmentinbound_v2024_03_20/model/PackingOptionSummary.js +19 -23
  429. package/src/fulfillmentinbound_v2024_03_20/model/Pagination.js +15 -18
  430. package/src/fulfillmentinbound_v2024_03_20/model/Pallet.js +27 -34
  431. package/src/fulfillmentinbound_v2024_03_20/model/PalletInput.js +25 -31
  432. package/src/fulfillmentinbound_v2024_03_20/model/PlacementOption.js +31 -39
  433. package/src/fulfillmentinbound_v2024_03_20/model/PlacementOptionSummary.js +19 -23
  434. package/src/fulfillmentinbound_v2024_03_20/model/PrepCategory.js +34 -50
  435. package/src/fulfillmentinbound_v2024_03_20/model/PrepInstruction.js +20 -25
  436. package/src/fulfillmentinbound_v2024_03_20/model/PrepOwner.js +12 -17
  437. package/src/fulfillmentinbound_v2024_03_20/model/PrepType.js +38 -56
  438. package/src/fulfillmentinbound_v2024_03_20/model/Quote.js +22 -27
  439. package/src/fulfillmentinbound_v2024_03_20/model/ReasonComment.js +24 -35
  440. package/src/fulfillmentinbound_v2024_03_20/model/Region.js +19 -24
  441. package/src/fulfillmentinbound_v2024_03_20/model/RequestedUpdates.js +19 -23
  442. package/src/fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest.js +16 -19
  443. package/src/fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse.js +18 -21
  444. package/src/fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow.js +27 -34
  445. package/src/fulfillmentinbound_v2024_03_20/model/SelfShipAppointmentDetails.js +20 -25
  446. package/src/fulfillmentinbound_v2024_03_20/model/SelfShipAppointmentSlotsAvailability.js +18 -22
  447. package/src/fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest.js +17 -20
  448. package/src/fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse.js +16 -19
  449. package/src/fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest.js +20 -24
  450. package/src/fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse.js +16 -19
  451. package/src/fulfillmentinbound_v2024_03_20/model/Shipment.js +57 -74
  452. package/src/fulfillmentinbound_v2024_03_20/model/ShipmentDestination.js +21 -26
  453. package/src/fulfillmentinbound_v2024_03_20/model/ShipmentSource.js +19 -23
  454. package/src/fulfillmentinbound_v2024_03_20/model/ShipmentSummary.js +19 -23
  455. package/src/fulfillmentinbound_v2024_03_20/model/ShipmentTransportationConfiguration.js +30 -37
  456. package/src/fulfillmentinbound_v2024_03_20/model/ShippingConfiguration.js +17 -21
  457. package/src/fulfillmentinbound_v2024_03_20/model/ShippingRequirements.js +19 -23
  458. package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingDetail.js +16 -19
  459. package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingDetailInput.js +17 -20
  460. package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingItem.js +19 -24
  461. package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingItemInput.js +19 -23
  462. package/src/fulfillmentinbound_v2024_03_20/model/Stackability.js +10 -14
  463. package/src/fulfillmentinbound_v2024_03_20/model/TaxDetails.js +21 -26
  464. package/src/fulfillmentinbound_v2024_03_20/model/TaxRate.js +19 -24
  465. package/src/fulfillmentinbound_v2024_03_20/model/TrackingDetails.js +19 -23
  466. package/src/fulfillmentinbound_v2024_03_20/model/TrackingDetailsInput.js +19 -23
  467. package/src/fulfillmentinbound_v2024_03_20/model/TransportationOption.js +39 -49
  468. package/src/fulfillmentinbound_v2024_03_20/model/TransportationSelection.js +22 -27
  469. package/src/fulfillmentinbound_v2024_03_20/model/UnitOfMeasurement.js +10 -14
  470. package/src/fulfillmentinbound_v2024_03_20/model/UnitOfWeight.js +10 -14
  471. package/src/fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest.js +16 -19
  472. package/src/fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest.js +21 -25
  473. package/src/fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse.js +16 -19
  474. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest.js +16 -19
  475. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest.js +18 -21
  476. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse.js +16 -19
  477. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest.js +18 -21
  478. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse.js +16 -19
  479. package/src/fulfillmentinbound_v2024_03_20/model/Weight.js +21 -25
  480. package/src/fulfillmentinbound_v2024_03_20/model/WeightRange.js +24 -29
  481. package/src/fulfillmentinbound_v2024_03_20/model/Window.js +21 -26
  482. package/src/fulfillmentinbound_v2024_03_20/model/WindowInput.js +16 -19
  483. package/src/fulfillmentoutbound_v2020_07_01/ApiClient.js +498 -497
  484. package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.js +597 -586
  485. package/src/fulfillmentoutbound_v2020_07_01/index.js +272 -273
  486. package/src/fulfillmentoutbound_v2020_07_01/model/AdditionalLocationInfo.js +58 -86
  487. package/src/fulfillmentoutbound_v2020_07_01/model/Address.js +38 -50
  488. package/src/fulfillmentoutbound_v2020_07_01/model/Amount.js +23 -27
  489. package/src/fulfillmentoutbound_v2020_07_01/model/CODSettings.js +25 -32
  490. package/src/fulfillmentoutbound_v2020_07_01/model/CancelFulfillmentOrderResponse.js +16 -19
  491. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderItem.js +35 -46
  492. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderRequest.js +66 -85
  493. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderResponse.js +16 -19
  494. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnRequest.js +17 -20
  495. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnResponse.js +19 -23
  496. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnResult.js +22 -27
  497. package/src/fulfillmentoutbound_v2020_07_01/model/CreateReturnItem.js +27 -34
  498. package/src/fulfillmentoutbound_v2020_07_01/model/CurrentStatus.js +42 -62
  499. package/src/fulfillmentoutbound_v2020_07_01/model/DateRange.js +19 -23
  500. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryDocument.js +18 -22
  501. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryInformation.js +19 -23
  502. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryMessage.js +17 -21
  503. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryOffer.js +21 -26
  504. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryPolicy.js +16 -19
  505. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryPreferences.js +18 -22
  506. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryWindow.js +19 -23
  507. package/src/fulfillmentoutbound_v2020_07_01/model/Destination.js +18 -22
  508. package/src/fulfillmentoutbound_v2020_07_01/model/DropOffLocation.js +36 -40
  509. package/src/fulfillmentoutbound_v2020_07_01/model/Error.js +21 -26
  510. package/src/fulfillmentoutbound_v2020_07_01/model/EventCode.js +72 -107
  511. package/src/fulfillmentoutbound_v2020_07_01/model/Feature.js +21 -26
  512. package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.js +23 -27
  513. package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSku.js +23 -30
  514. package/src/fulfillmentoutbound_v2020_07_01/model/Fee.js +31 -35
  515. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentAction.js +10 -14
  516. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrder.js +66 -84
  517. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrderItem.js +47 -63
  518. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrderStatus.js +24 -35
  519. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPolicy.js +12 -17
  520. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreview.js +47 -60
  521. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewItem.js +33 -40
  522. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewShipment.js +27 -35
  523. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentReturnItemStatus.js +10 -14
  524. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipment.js +45 -55
  525. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipmentItem.js +28 -36
  526. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipmentPackage.js +29 -37
  527. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersProduct.js +21 -25
  528. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersRequest.js +23 -27
  529. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersResponse.js +19 -23
  530. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersResult.js +16 -19
  531. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersTerms.js +23 -27
  532. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureInventoryResponse.js +19 -23
  533. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureInventoryResult.js +24 -30
  534. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureSkuResponse.js +19 -23
  535. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureSkuResult.js +27 -34
  536. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeaturesResponse.js +19 -23
  537. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeaturesResult.js +17 -20
  538. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentOrderResponse.js +19 -23
  539. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentOrderResult.js +36 -44
  540. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewItem.js +25 -31
  541. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewRequest.js +34 -43
  542. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewResponse.js +19 -23
  543. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewResult.js +16 -19
  544. package/src/fulfillmentoutbound_v2020_07_01/model/GetPackageTrackingDetailsResponse.js +19 -23
  545. package/src/fulfillmentoutbound_v2020_07_01/model/InvalidItemReason.js +21 -25
  546. package/src/fulfillmentoutbound_v2020_07_01/model/InvalidItemReasonCode.js +14 -20
  547. package/src/fulfillmentoutbound_v2020_07_01/model/InvalidReturnItem.js +24 -29
  548. package/src/fulfillmentoutbound_v2020_07_01/model/ListAllFulfillmentOrdersResponse.js +19 -23
  549. package/src/fulfillmentoutbound_v2020_07_01/model/ListAllFulfillmentOrdersResult.js +18 -22
  550. package/src/fulfillmentoutbound_v2020_07_01/model/ListReturnReasonCodesResponse.js +19 -23
  551. package/src/fulfillmentoutbound_v2020_07_01/model/ListReturnReasonCodesResult.js +16 -19
  552. package/src/fulfillmentoutbound_v2020_07_01/model/LockerDetails.js +17 -21
  553. package/src/fulfillmentoutbound_v2020_07_01/model/Money.js +19 -23
  554. package/src/fulfillmentoutbound_v2020_07_01/model/Origin.js +16 -19
  555. package/src/fulfillmentoutbound_v2020_07_01/model/PackageTrackingDetails.js +49 -66
  556. package/src/fulfillmentoutbound_v2020_07_01/model/PaymentInformation.js +22 -27
  557. package/src/fulfillmentoutbound_v2020_07_01/model/ProductIdentifier.js +16 -19
  558. package/src/fulfillmentoutbound_v2020_07_01/model/ReasonCodeDetails.js +21 -26
  559. package/src/fulfillmentoutbound_v2020_07_01/model/ReturnAuthorization.js +30 -37
  560. package/src/fulfillmentoutbound_v2020_07_01/model/ReturnItem.js +44 -57
  561. package/src/fulfillmentoutbound_v2020_07_01/model/ReturnItemDisposition.js +16 -23
  562. package/src/fulfillmentoutbound_v2020_07_01/model/ScheduledDeliveryInfo.js +20 -24
  563. package/src/fulfillmentoutbound_v2020_07_01/model/ShippingSpeedCategory.js +14 -20
  564. package/src/fulfillmentoutbound_v2020_07_01/model/SubmitFulfillmentOrderStatusUpdateRequest.js +16 -19
  565. package/src/fulfillmentoutbound_v2020_07_01/model/SubmitFulfillmentOrderStatusUpdateResponse.js +16 -19
  566. package/src/fulfillmentoutbound_v2020_07_01/model/TrackingAddress.js +22 -27
  567. package/src/fulfillmentoutbound_v2020_07_01/model/TrackingEvent.js +29 -35
  568. package/src/fulfillmentoutbound_v2020_07_01/model/UnfulfillablePreviewItem.js +24 -30
  569. package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderItem.js +36 -48
  570. package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderRequest.js +43 -57
  571. package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderResponse.js +16 -19
  572. package/src/fulfillmentoutbound_v2020_07_01/model/VariablePrecisionAddress.js +31 -41
  573. package/src/fulfillmentoutbound_v2020_07_01/model/Weight.js +29 -33
  574. package/src/invoices_v2024_06_19/ApiClient.js +498 -497
  575. package/src/invoices_v2024_06_19/api/InvoicesApi.js +321 -303
  576. package/src/invoices_v2024_06_19/index.js +62 -63
  577. package/src/invoices_v2024_06_19/model/AttributeOption.js +17 -21
  578. package/src/invoices_v2024_06_19/model/Error.js +21 -26
  579. package/src/invoices_v2024_06_19/model/ErrorList.js +17 -20
  580. package/src/invoices_v2024_06_19/model/Export.js +26 -34
  581. package/src/invoices_v2024_06_19/model/ExportInvoicesRequest.js +36 -48
  582. package/src/invoices_v2024_06_19/model/ExportInvoicesResponse.js +15 -18
  583. package/src/invoices_v2024_06_19/model/ExportStatus.js +14 -20
  584. package/src/invoices_v2024_06_19/model/FileFormat.js +8 -11
  585. package/src/invoices_v2024_06_19/model/GetInvoiceResponse.js +16 -19
  586. package/src/invoices_v2024_06_19/model/GetInvoicesAttributesResponse.js +16 -19
  587. package/src/invoices_v2024_06_19/model/GetInvoicesDocumentResponse.js +16 -19
  588. package/src/invoices_v2024_06_19/model/GetInvoicesExportResponse.js +16 -19
  589. package/src/invoices_v2024_06_19/model/GetInvoicesExportsResponse.js +18 -22
  590. package/src/invoices_v2024_06_19/model/GetInvoicesResponse.js +18 -22
  591. package/src/invoices_v2024_06_19/model/Invoice.js +34 -46
  592. package/src/invoices_v2024_06_19/model/InvoicesAttributes.js +22 -28
  593. package/src/invoices_v2024_06_19/model/InvoicesDocument.js +17 -21
  594. package/src/invoices_v2024_06_19/model/TransactionIdentifier.js +17 -21
  595. package/src/invoicing_v0/ApiClient.js +498 -497
  596. package/src/invoicing_v0/api/ShipmentInvoiceApi.js +150 -128
  597. package/src/invoicing_v0/index.js +56 -57
  598. package/src/invoicing_v0/model/Address.js +38 -52
  599. package/src/invoicing_v0/model/AddressTypeEnum.js +10 -14
  600. package/src/invoicing_v0/model/BuyerTaxInfo.js +20 -25
  601. package/src/invoicing_v0/model/Error.js +21 -26
  602. package/src/invoicing_v0/model/GetInvoiceStatusResponse.js +19 -23
  603. package/src/invoicing_v0/model/GetShipmentDetailsResponse.js +19 -23
  604. package/src/invoicing_v0/model/MarketplaceTaxInfo.js +20 -25
  605. package/src/invoicing_v0/model/Money.js +17 -21
  606. package/src/invoicing_v0/model/ShipmentDetail.js +45 -61
  607. package/src/invoicing_v0/model/ShipmentInvoiceStatus.js +14 -20
  608. package/src/invoicing_v0/model/ShipmentInvoiceStatusInfo.js +18 -22
  609. package/src/invoicing_v0/model/ShipmentInvoiceStatusResponse.js +16 -19
  610. package/src/invoicing_v0/model/ShipmentItem.js +36 -49
  611. package/src/invoicing_v0/model/SubmitInvoiceRequest.js +21 -26
  612. package/src/invoicing_v0/model/SubmitInvoiceResponse.js +16 -19
  613. package/src/invoicing_v0/model/TaxClassification.js +17 -21
  614. package/src/listingsitems_v2021_08_01/ApiClient.js +498 -497
  615. package/src/listingsitems_v2021_08_01/api/ListingsApi.js +328 -308
  616. package/src/listingsitems_v2021_08_01/index.js +86 -87
  617. package/src/listingsitems_v2021_08_01/model/Audience.js +17 -21
  618. package/src/listingsitems_v2021_08_01/model/Error.js +21 -26
  619. package/src/listingsitems_v2021_08_01/model/ErrorList.js +18 -21
  620. package/src/listingsitems_v2021_08_01/model/FulfillmentAvailability.js +18 -22
  621. package/src/listingsitems_v2021_08_01/model/Issue.js +38 -46
  622. package/src/listingsitems_v2021_08_01/model/IssueEnforcementAction.js +16 -19
  623. package/src/listingsitems_v2021_08_01/model/IssueEnforcements.js +22 -26
  624. package/src/listingsitems_v2021_08_01/model/IssueExemption.js +26 -30
  625. package/src/listingsitems_v2021_08_01/model/Item.js +39 -50
  626. package/src/listingsitems_v2021_08_01/model/ItemIdentifiersByMarketplace.js +17 -21
  627. package/src/listingsitems_v2021_08_01/model/ItemImage.js +22 -27
  628. package/src/listingsitems_v2021_08_01/model/ItemOfferByMarketplace.js +36 -43
  629. package/src/listingsitems_v2021_08_01/model/ItemProcurement.js +18 -21
  630. package/src/listingsitems_v2021_08_01/model/ItemProductTypeByMarketplace.js +19 -23
  631. package/src/listingsitems_v2021_08_01/model/ItemRelationship.js +29 -35
  632. package/src/listingsitems_v2021_08_01/model/ItemRelationshipsByMarketplace.js +20 -24
  633. package/src/listingsitems_v2021_08_01/model/ItemSearchResults.js +23 -28
  634. package/src/listingsitems_v2021_08_01/model/ItemSummaryByMarketplace.js +73 -85
  635. package/src/listingsitems_v2021_08_01/model/ItemVariationTheme.js +19 -23
  636. package/src/listingsitems_v2021_08_01/model/ListingsItemPatchRequest.js +20 -24
  637. package/src/listingsitems_v2021_08_01/model/ListingsItemPutRequest.js +29 -34
  638. package/src/listingsitems_v2021_08_01/model/ListingsItemSubmissionResponse.js +36 -43
  639. package/src/listingsitems_v2021_08_01/model/Money.js +19 -23
  640. package/src/listingsitems_v2021_08_01/model/Pagination.js +17 -21
  641. package/src/listingsitems_v2021_08_01/model/PatchOperation.js +29 -34
  642. package/src/listingsitems_v2021_08_01/model/Points.js +17 -20
  643. package/src/listingsrestrictions_v2021_08_01/ApiClient.js +498 -497
  644. package/src/listingsrestrictions_v2021_08_01/api/ListingsApi.js +81 -57
  645. package/src/listingsrestrictions_v2021_08_01/index.js +23 -24
  646. package/src/listingsrestrictions_v2021_08_01/model/Error.js +21 -26
  647. package/src/listingsrestrictions_v2021_08_01/model/Link.js +27 -33
  648. package/src/listingsrestrictions_v2021_08_01/model/Reason.js +29 -34
  649. package/src/listingsrestrictions_v2021_08_01/model/Restriction.js +49 -54
  650. package/src/listingsrestrictions_v2021_08_01/model/RestrictionList.js +18 -21
  651. package/src/merchantfulfillment_v0/ApiClient.js +498 -497
  652. package/src/merchantfulfillment_v0/api/MerchantFulfillmentApi.js +222 -202
  653. package/src/merchantfulfillment_v0/index.js +176 -177
  654. package/src/merchantfulfillment_v0/model/AdditionalInputs.js +18 -22
  655. package/src/merchantfulfillment_v0/model/AdditionalSellerInput.js +35 -46
  656. package/src/merchantfulfillment_v0/model/AdditionalSellerInputs.js +21 -25
  657. package/src/merchantfulfillment_v0/model/Address.js +42 -55
  658. package/src/merchantfulfillment_v0/model/AvailableCarrierWillPickUpOption.js +23 -27
  659. package/src/merchantfulfillment_v0/model/AvailableDeliveryExperienceOption.js +23 -27
  660. package/src/merchantfulfillment_v0/model/AvailableShippingServiceOptions.js +21 -25
  661. package/src/merchantfulfillment_v0/model/Benefits.js +18 -22
  662. package/src/merchantfulfillment_v0/model/CancelShipmentResponse.js +19 -23
  663. package/src/merchantfulfillment_v0/model/CarrierWillPickUpOption.js +12 -17
  664. package/src/merchantfulfillment_v0/model/Constraint.js +18 -22
  665. package/src/merchantfulfillment_v0/model/CreateShipmentRequest.js +32 -40
  666. package/src/merchantfulfillment_v0/model/CreateShipmentResponse.js +19 -23
  667. package/src/merchantfulfillment_v0/model/CurrencyAmount.js +19 -23
  668. package/src/merchantfulfillment_v0/model/DangerousGoodsDetails.js +57 -63
  669. package/src/merchantfulfillment_v0/model/DeliveryExperienceOption.js +16 -23
  670. package/src/merchantfulfillment_v0/model/DeliveryExperienceType.js +14 -20
  671. package/src/merchantfulfillment_v0/model/Error.js +21 -26
  672. package/src/merchantfulfillment_v0/model/ExcludedBenefit.js +17 -21
  673. package/src/merchantfulfillment_v0/model/FileContents.js +24 -29
  674. package/src/merchantfulfillment_v0/model/FileType.js +12 -17
  675. package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsRequest.js +24 -29
  676. package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsResponse.js +19 -23
  677. package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsResult.js +19 -23
  678. package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesRequest.js +21 -25
  679. package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesResponse.js +19 -23
  680. package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesResult.js +26 -32
  681. package/src/merchantfulfillment_v0/model/GetShipmentResponse.js +19 -23
  682. package/src/merchantfulfillment_v0/model/HazmatType.js +10 -14
  683. package/src/merchantfulfillment_v0/model/InputTargetType.js +10 -14
  684. package/src/merchantfulfillment_v0/model/Item.js +37 -48
  685. package/src/merchantfulfillment_v0/model/ItemLevelFields.js +20 -24
  686. package/src/merchantfulfillment_v0/model/Label.js +31 -38
  687. package/src/merchantfulfillment_v0/model/LabelCustomization.js +18 -22
  688. package/src/merchantfulfillment_v0/model/LabelDimensions.js +24 -29
  689. package/src/merchantfulfillment_v0/model/LabelFormat.js +16 -23
  690. package/src/merchantfulfillment_v0/model/LabelFormatOption.js +18 -22
  691. package/src/merchantfulfillment_v0/model/LabelFormatOptionRequest.js +15 -18
  692. package/src/merchantfulfillment_v0/model/Length.js +18 -22
  693. package/src/merchantfulfillment_v0/model/LiquidVolume.js +35 -39
  694. package/src/merchantfulfillment_v0/model/PackageDimensions.js +25 -32
  695. package/src/merchantfulfillment_v0/model/PredefinedPackageDimensions.js +106 -158
  696. package/src/merchantfulfillment_v0/model/RejectedShippingService.js +27 -34
  697. package/src/merchantfulfillment_v0/model/SellerInputDefinition.js +36 -45
  698. package/src/merchantfulfillment_v0/model/Shipment.js +71 -88
  699. package/src/merchantfulfillment_v0/model/ShipmentRequestDetails.js +49 -61
  700. package/src/merchantfulfillment_v0/model/ShipmentStatus.js +14 -20
  701. package/src/merchantfulfillment_v0/model/ShippingOfferingFilter.js +23 -29
  702. package/src/merchantfulfillment_v0/model/ShippingService.js +59 -75
  703. package/src/merchantfulfillment_v0/model/ShippingServiceOptions.js +30 -37
  704. package/src/merchantfulfillment_v0/model/StandardIdForLabel.js +8 -11
  705. package/src/merchantfulfillment_v0/model/TemporarilyUnavailableCarrier.js +16 -19
  706. package/src/merchantfulfillment_v0/model/TermsAndConditionsNotAcceptedCarrier.js +16 -19
  707. package/src/merchantfulfillment_v0/model/UnitOfLength.js +10 -14
  708. package/src/merchantfulfillment_v0/model/UnitOfWeight.js +10 -14
  709. package/src/merchantfulfillment_v0/model/Weight.js +21 -25
  710. package/src/messaging_v1/ApiClient.js +498 -497
  711. package/src/messaging_v1/api/MessagingApi.js +690 -678
  712. package/src/messaging_v1/index.js +113 -114
  713. package/src/messaging_v1/model/Attachment.js +19 -23
  714. package/src/messaging_v1/model/CreateAmazonMotorsRequest.js +16 -19
  715. package/src/messaging_v1/model/CreateAmazonMotorsResponse.js +16 -19
  716. package/src/messaging_v1/model/CreateConfirmCustomizationDetailsRequest.js +18 -22
  717. package/src/messaging_v1/model/CreateConfirmCustomizationDetailsResponse.js +16 -19
  718. package/src/messaging_v1/model/CreateConfirmDeliveryDetailsRequest.js +15 -18
  719. package/src/messaging_v1/model/CreateConfirmDeliveryDetailsResponse.js +16 -19
  720. package/src/messaging_v1/model/CreateConfirmOrderDetailsRequest.js +15 -18
  721. package/src/messaging_v1/model/CreateConfirmOrderDetailsResponse.js +16 -19
  722. package/src/messaging_v1/model/CreateConfirmServiceDetailsRequest.js +15 -18
  723. package/src/messaging_v1/model/CreateConfirmServiceDetailsResponse.js +16 -19
  724. package/src/messaging_v1/model/CreateDigitalAccessKeyRequest.js +18 -22
  725. package/src/messaging_v1/model/CreateDigitalAccessKeyResponse.js +16 -19
  726. package/src/messaging_v1/model/CreateLegalDisclosureRequest.js +16 -19
  727. package/src/messaging_v1/model/CreateLegalDisclosureResponse.js +16 -19
  728. package/src/messaging_v1/model/CreateNegativeFeedbackRemovalResponse.js +16 -19
  729. package/src/messaging_v1/model/CreateUnexpectedProblemRequest.js +15 -18
  730. package/src/messaging_v1/model/CreateUnexpectedProblemResponse.js +16 -19
  731. package/src/messaging_v1/model/CreateWarrantyRequest.js +20 -25
  732. package/src/messaging_v1/model/CreateWarrantyResponse.js +16 -19
  733. package/src/messaging_v1/model/Error.js +21 -26
  734. package/src/messaging_v1/model/GetAttributesResponse.js +19 -23
  735. package/src/messaging_v1/model/GetAttributesResponseBuyer.js +15 -18
  736. package/src/messaging_v1/model/GetMessagingActionResponse.js +25 -31
  737. package/src/messaging_v1/model/GetMessagingActionResponseEmbedded.js +16 -19
  738. package/src/messaging_v1/model/GetMessagingActionResponseLinks.js +22 -26
  739. package/src/messaging_v1/model/GetMessagingActionsForOrderResponse.js +22 -27
  740. package/src/messaging_v1/model/GetMessagingActionsForOrderResponseEmbedded.js +18 -21
  741. package/src/messaging_v1/model/GetMessagingActionsForOrderResponseLinks.js +21 -25
  742. package/src/messaging_v1/model/GetSchemaResponse.js +21 -26
  743. package/src/messaging_v1/model/GetSchemaResponseLinks.js +18 -21
  744. package/src/messaging_v1/model/InvoiceRequest.js +16 -19
  745. package/src/messaging_v1/model/InvoiceResponse.js +16 -19
  746. package/src/messaging_v1/model/LinkObject.js +18 -22
  747. package/src/messaging_v1/model/MessagingAction.js +16 -19
  748. package/src/notifications_v1/ApiClient.js +498 -497
  749. package/src/notifications_v1/api/NotificationsApi.js +351 -334
  750. package/src/notifications_v1/index.js +86 -87
  751. package/src/notifications_v1/model/AggregationFilter.js +16 -19
  752. package/src/notifications_v1/model/AggregationSettings.js +18 -21
  753. package/src/notifications_v1/model/AggregationTimePeriod.js +10 -14
  754. package/src/notifications_v1/model/CreateDestinationRequest.js +21 -25
  755. package/src/notifications_v1/model/CreateDestinationResponse.js +19 -23
  756. package/src/notifications_v1/model/CreateSubscriptionRequest.js +22 -27
  757. package/src/notifications_v1/model/CreateSubscriptionResponse.js +19 -23
  758. package/src/notifications_v1/model/DeleteDestinationResponse.js +16 -19
  759. package/src/notifications_v1/model/DeleteSubscriptionByIdResponse.js +16 -19
  760. package/src/notifications_v1/model/Destination.js +24 -29
  761. package/src/notifications_v1/model/DestinationResource.js +19 -23
  762. package/src/notifications_v1/model/DestinationResourceSpecification.js +19 -23
  763. package/src/notifications_v1/model/Error.js +21 -26
  764. package/src/notifications_v1/model/EventBridgeResource.js +22 -27
  765. package/src/notifications_v1/model/EventBridgeResourceSpecification.js +19 -23
  766. package/src/notifications_v1/model/EventFilter.js +42 -48
  767. package/src/notifications_v1/model/GetDestinationResponse.js +19 -23
  768. package/src/notifications_v1/model/GetDestinationsResponse.js +19 -23
  769. package/src/notifications_v1/model/GetSubscriptionByIdResponse.js +19 -23
  770. package/src/notifications_v1/model/GetSubscriptionResponse.js +19 -23
  771. package/src/notifications_v1/model/MarketplaceFilter.js +15 -18
  772. package/src/notifications_v1/model/OrderChangeTypeEnum.js +10 -14
  773. package/src/notifications_v1/model/OrderChangeTypeFilter.js +16 -19
  774. package/src/notifications_v1/model/ProcessingDirective.js +16 -19
  775. package/src/notifications_v1/model/SqsResource.js +16 -19
  776. package/src/notifications_v1/model/Subscription.js +25 -31
  777. package/src/orders_v0/ApiClient.js +498 -497
  778. package/src/orders_v0/api/OrdersV0Api.js +410 -394
  779. package/src/orders_v0/api/ShipmentApi.js +72 -48
  780. package/src/orders_v0/index.js +224 -225
  781. package/src/orders_v0/model/Address.js +51 -68
  782. package/src/orders_v0/model/AddressExtendedFields.js +21 -27
  783. package/src/orders_v0/model/AmazonPrograms.js +16 -19
  784. package/src/orders_v0/model/AssociatedItem.js +20 -25
  785. package/src/orders_v0/model/AssociationType.js +8 -11
  786. package/src/orders_v0/model/AutomatedShippingSettings.js +19 -24
  787. package/src/orders_v0/model/BusinessHours.js +34 -38
  788. package/src/orders_v0/model/BuyerCustomizedInfoDetail.js +15 -18
  789. package/src/orders_v0/model/BuyerInfo.js +24 -31
  790. package/src/orders_v0/model/BuyerRequestedCancel.js +17 -21
  791. package/src/orders_v0/model/BuyerTaxInfo.js +20 -25
  792. package/src/orders_v0/model/BuyerTaxInformation.js +21 -27
  793. package/src/orders_v0/model/ConfirmShipmentErrorResponse.js +16 -19
  794. package/src/orders_v0/model/ConfirmShipmentOrderItem.js +21 -26
  795. package/src/orders_v0/model/ConfirmShipmentRequest.js +27 -32
  796. package/src/orders_v0/model/ConstraintType.js +8 -11
  797. package/src/orders_v0/model/DeliveryPreferences.js +23 -29
  798. package/src/orders_v0/model/EasyShipShipmentStatus.js +38 -56
  799. package/src/orders_v0/model/ElectronicInvoiceStatus.js +16 -23
  800. package/src/orders_v0/model/Error.js +21 -26
  801. package/src/orders_v0/model/ExceptionDates.js +20 -25
  802. package/src/orders_v0/model/ExportInfo.js +18 -22
  803. package/src/orders_v0/model/FulfillmentInstruction.js +15 -18
  804. package/src/orders_v0/model/GetOrderAddressResponse.js +19 -23
  805. package/src/orders_v0/model/GetOrderBuyerInfoResponse.js +19 -23
  806. package/src/orders_v0/model/GetOrderItemsBuyerInfoResponse.js +19 -23
  807. package/src/orders_v0/model/GetOrderItemsResponse.js +19 -23
  808. package/src/orders_v0/model/GetOrderRegulatedInfoResponse.js +19 -23
  809. package/src/orders_v0/model/GetOrderResponse.js +19 -23
  810. package/src/orders_v0/model/GetOrdersResponse.js +19 -23
  811. package/src/orders_v0/model/ItemBuyerInfo.js +25 -32
  812. package/src/orders_v0/model/MarketplaceTaxInfo.js +16 -19
  813. package/src/orders_v0/model/Measurement.js +69 -73
  814. package/src/orders_v0/model/Money.js +17 -21
  815. package/src/orders_v0/model/OpenInterval.js +18 -22
  816. package/src/orders_v0/model/OpenTimeInterval.js +17 -21
  817. package/src/orders_v0/model/Order.js +171 -220
  818. package/src/orders_v0/model/OrderAddress.js +24 -30
  819. package/src/orders_v0/model/OrderBuyerInfo.js +27 -35
  820. package/src/orders_v0/model/OrderItem.js +118 -161
  821. package/src/orders_v0/model/OrderItemBuyerInfo.js +28 -36
  822. package/src/orders_v0/model/OrderItemsBuyerInfoList.js +22 -27
  823. package/src/orders_v0/model/OrderItemsInner.js +17 -21
  824. package/src/orders_v0/model/OrderItemsList.js +22 -27
  825. package/src/orders_v0/model/OrderRegulatedInfo.js +29 -35
  826. package/src/orders_v0/model/OrdersList.js +23 -29
  827. package/src/orders_v0/model/OtherDeliveryAttributes.js +12 -17
  828. package/src/orders_v0/model/PackageDetail.js +36 -46
  829. package/src/orders_v0/model/PaymentExecutionDetailItem.js +21 -25
  830. package/src/orders_v0/model/PointsGrantedDetail.js +18 -22
  831. package/src/orders_v0/model/PreferredDeliveryTime.js +19 -23
  832. package/src/orders_v0/model/PrescriptionDetail.js +34 -43
  833. package/src/orders_v0/model/ProductInfoDetail.js +15 -18
  834. package/src/orders_v0/model/RegulatedInformation.js +17 -20
  835. package/src/orders_v0/model/RegulatedInformationField.js +31 -37
  836. package/src/orders_v0/model/RegulatedOrderVerificationStatus.js +34 -43
  837. package/src/orders_v0/model/RejectionReason.js +19 -23
  838. package/src/orders_v0/model/ShipmentStatus.js +12 -17
  839. package/src/orders_v0/model/ShippingConstraints.js +22 -28
  840. package/src/orders_v0/model/SubstitutionOption.js +25 -32
  841. package/src/orders_v0/model/SubstitutionPreferences.js +27 -31
  842. package/src/orders_v0/model/TaxClassification.js +17 -21
  843. package/src/orders_v0/model/TaxCollection.js +25 -29
  844. package/src/orders_v0/model/UpdateShipmentStatusErrorResponse.js +16 -19
  845. package/src/orders_v0/model/UpdateShipmentStatusRequest.js +24 -29
  846. package/src/orders_v0/model/UpdateVerificationStatusErrorResponse.js +16 -19
  847. package/src/orders_v0/model/UpdateVerificationStatusRequest.js +18 -21
  848. package/src/orders_v0/model/UpdateVerificationStatusRequestBody.js +24 -30
  849. package/src/orders_v0/model/ValidVerificationDetail.js +20 -24
  850. package/src/orders_v0/model/VerificationDetails.js +16 -19
  851. package/src/orders_v0/model/VerificationStatus.js +16 -23
  852. package/src/pricing_v0/ApiClient.js +498 -497
  853. package/src/pricing_v0/api/ProductPricingApi.js +310 -291
  854. package/src/pricing_v0/index.js +161 -162
  855. package/src/pricing_v0/model/ASINIdentifier.js +19 -23
  856. package/src/pricing_v0/model/BatchOffersRequestParams.js +24 -29
  857. package/src/pricing_v0/model/BatchOffersResponse.js +24 -29
  858. package/src/pricing_v0/model/BatchRequest.js +23 -28
  859. package/src/pricing_v0/model/BuyBoxPriceType.js +42 -53
  860. package/src/pricing_v0/model/CompetitivePriceType.js +37 -48
  861. package/src/pricing_v0/model/CompetitivePricingType.js +24 -29
  862. package/src/pricing_v0/model/ConditionType.js +16 -23
  863. package/src/pricing_v0/model/CustomerType.js +10 -14
  864. package/src/pricing_v0/model/DetailedShippingTimeType.js +29 -35
  865. package/src/pricing_v0/model/Error.js +21 -26
  866. package/src/pricing_v0/model/Errors.js +17 -20
  867. package/src/pricing_v0/model/FulfillmentChannelType.js +10 -14
  868. package/src/pricing_v0/model/GetItemOffersBatchRequest.js +16 -19
  869. package/src/pricing_v0/model/GetItemOffersBatchResponse.js +16 -19
  870. package/src/pricing_v0/model/GetListingOffersBatchRequest.js +16 -19
  871. package/src/pricing_v0/model/GetListingOffersBatchResponse.js +16 -19
  872. package/src/pricing_v0/model/GetOffersHttpStatusLine.js +17 -21
  873. package/src/pricing_v0/model/GetOffersResponse.js +19 -23
  874. package/src/pricing_v0/model/GetOffersResult.js +42 -52
  875. package/src/pricing_v0/model/GetPricingResponse.js +19 -23
  876. package/src/pricing_v0/model/HttpMethod.js +16 -23
  877. package/src/pricing_v0/model/HttpResponseHeaders.js +19 -23
  878. package/src/pricing_v0/model/IdentifierType.js +21 -25
  879. package/src/pricing_v0/model/ItemCondition.js +16 -23
  880. package/src/pricing_v0/model/ItemIdentifier.js +25 -31
  881. package/src/pricing_v0/model/ItemOffersRequest.js +46 -54
  882. package/src/pricing_v0/model/ItemOffersRequestParams.js +32 -38
  883. package/src/pricing_v0/model/ItemOffersResponse.js +35 -41
  884. package/src/pricing_v0/model/ListingOffersRequest.js +46 -54
  885. package/src/pricing_v0/model/ListingOffersRequestParams.js +33 -39
  886. package/src/pricing_v0/model/ListingOffersResponse.js +33 -39
  887. package/src/pricing_v0/model/LowestPriceType.js +39 -50
  888. package/src/pricing_v0/model/MoneyType.js +17 -21
  889. package/src/pricing_v0/model/OfferCountType.js +20 -25
  890. package/src/pricing_v0/model/OfferCustomerType.js +10 -14
  891. package/src/pricing_v0/model/OfferDetail.js +61 -79
  892. package/src/pricing_v0/model/OfferListingCountType.js +19 -23
  893. package/src/pricing_v0/model/OfferType.js +43 -54
  894. package/src/pricing_v0/model/Points.js +18 -22
  895. package/src/pricing_v0/model/Price.js +23 -29
  896. package/src/pricing_v0/model/PriceType.js +25 -31
  897. package/src/pricing_v0/model/PrimeInformationType.js +19 -23
  898. package/src/pricing_v0/model/Product.js +31 -39
  899. package/src/pricing_v0/model/QuantityDiscountPriceType.js +26 -31
  900. package/src/pricing_v0/model/QuantityDiscountType.js +8 -11
  901. package/src/pricing_v0/model/SalesRankType.js +19 -23
  902. package/src/pricing_v0/model/SellerFeedbackType.js +18 -22
  903. package/src/pricing_v0/model/SellerSKUIdentifier.js +22 -27
  904. package/src/pricing_v0/model/ShipsFromType.js +17 -21
  905. package/src/pricing_v0/model/Summary.js +39 -51
  906. package/src/pricing_v2022_05_01/ApiClient.js +498 -497
  907. package/src/pricing_v2022_05_01/api/ProductPricingApi.js +109 -86
  908. package/src/pricing_v2022_05_01/index.js +128 -129
  909. package/src/pricing_v2022_05_01/model/BatchRequest.js +25 -31
  910. package/src/pricing_v2022_05_01/model/BatchResponse.js +21 -25
  911. package/src/pricing_v2022_05_01/model/CompetitiveSummaryBatchRequest.js +17 -20
  912. package/src/pricing_v2022_05_01/model/CompetitiveSummaryBatchResponse.js +17 -20
  913. package/src/pricing_v2022_05_01/model/CompetitiveSummaryIncludedData.js +12 -17
  914. package/src/pricing_v2022_05_01/model/CompetitiveSummaryRequest.js +34 -42
  915. package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponse.js +23 -27
  916. package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponseBody.js +31 -39
  917. package/src/pricing_v2022_05_01/model/Condition.js +16 -23
  918. package/src/pricing_v2022_05_01/model/Error.js +21 -26
  919. package/src/pricing_v2022_05_01/model/Errors.js +17 -20
  920. package/src/pricing_v2022_05_01/model/FeaturedBuyingOption.js +24 -28
  921. package/src/pricing_v2022_05_01/model/FeaturedOffer.js +24 -29
  922. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPrice.js +21 -25
  923. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequest.js +47 -56
  924. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequestParams.js +22 -27
  925. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResponse.js +34 -40
  926. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResponseBody.js +22 -27
  927. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResult.js +24 -30
  928. package/src/pricing_v2022_05_01/model/FeaturedOfferSegment.js +27 -31
  929. package/src/pricing_v2022_05_01/model/FulfillmentType.js +10 -14
  930. package/src/pricing_v2022_05_01/model/GetFeaturedOfferExpectedPriceBatchRequest.js +16 -19
  931. package/src/pricing_v2022_05_01/model/GetFeaturedOfferExpectedPriceBatchResponse.js +16 -19
  932. package/src/pricing_v2022_05_01/model/HttpMethod.js +16 -23
  933. package/src/pricing_v2022_05_01/model/HttpStatusLine.js +17 -21
  934. package/src/pricing_v2022_05_01/model/LowestPricedOffer.js +22 -26
  935. package/src/pricing_v2022_05_01/model/LowestPricedOffersInput.js +25 -29
  936. package/src/pricing_v2022_05_01/model/MoneyType.js +17 -21
  937. package/src/pricing_v2022_05_01/model/Offer.js +70 -80
  938. package/src/pricing_v2022_05_01/model/OfferIdentifier.js +26 -33
  939. package/src/pricing_v2022_05_01/model/Points.js +18 -22
  940. package/src/pricing_v2022_05_01/model/PostalCode.js +18 -22
  941. package/src/pricing_v2022_05_01/model/Price.js +23 -28
  942. package/src/pricing_v2022_05_01/model/PrimeDetails.js +24 -27
  943. package/src/pricing_v2022_05_01/model/ReferencePrice.js +21 -25
  944. package/src/pricing_v2022_05_01/model/SampleLocation.js +16 -19
  945. package/src/pricing_v2022_05_01/model/Segment.js +16 -19
  946. package/src/pricing_v2022_05_01/model/SegmentDetails.js +18 -22
  947. package/src/pricing_v2022_05_01/model/SegmentedFeaturedOffer.js +85 -96
  948. package/src/pricing_v2022_05_01/model/ShippingOption.js +25 -29
  949. package/src/productfees_v0/ApiClient.js +498 -497
  950. package/src/productfees_v0/api/FeesApi.js +164 -142
  951. package/src/productfees_v0/index.js +62 -63
  952. package/src/productfees_v0/model/Error.js +21 -26
  953. package/src/productfees_v0/model/FeeDetail.js +32 -40
  954. package/src/productfees_v0/model/FeesEstimate.js +22 -27
  955. package/src/productfees_v0/model/FeesEstimateByIdRequest.js +24 -29
  956. package/src/productfees_v0/model/FeesEstimateError.js +25 -31
  957. package/src/productfees_v0/model/FeesEstimateIdentifier.js +32 -42
  958. package/src/productfees_v0/model/FeesEstimateRequest.js +29 -36
  959. package/src/productfees_v0/model/FeesEstimateResult.js +24 -30
  960. package/src/productfees_v0/model/GetMyFeesEstimateRequest.js +16 -19
  961. package/src/productfees_v0/model/GetMyFeesEstimateResponse.js +19 -23
  962. package/src/productfees_v0/model/GetMyFeesEstimateResult.js +16 -19
  963. package/src/productfees_v0/model/GetMyFeesEstimatesErrorList.js +18 -21
  964. package/src/productfees_v0/model/IdType.js +10 -14
  965. package/src/productfees_v0/model/IncludedFeeDetail.js +29 -36
  966. package/src/productfees_v0/model/MoneyType.js +17 -21
  967. package/src/productfees_v0/model/OptionalFulfillmentProgram.js +12 -17
  968. package/src/productfees_v0/model/Points.js +18 -22
  969. package/src/productfees_v0/model/PriceToEstimateFees.js +23 -28
  970. package/src/producttypedefinitions_v2020_09_01/ApiClient.js +498 -497
  971. package/src/producttypedefinitions_v2020_09_01/api/DefinitionsApi.js +126 -103
  972. package/src/producttypedefinitions_v2020_09_01/index.js +35 -36
  973. package/src/producttypedefinitions_v2020_09_01/model/Error.js +21 -26
  974. package/src/producttypedefinitions_v2020_09_01/model/ErrorList.js +18 -21
  975. package/src/producttypedefinitions_v2020_09_01/model/ProductType.js +22 -27
  976. package/src/producttypedefinitions_v2020_09_01/model/ProductTypeDefinition.js +61 -73
  977. package/src/producttypedefinitions_v2020_09_01/model/ProductTypeList.js +21 -25
  978. package/src/producttypedefinitions_v2020_09_01/model/ProductTypeVersion.js +21 -26
  979. package/src/producttypedefinitions_v2020_09_01/model/PropertyGroup.js +19 -24
  980. package/src/producttypedefinitions_v2020_09_01/model/SchemaLink.js +21 -25
  981. package/src/producttypedefinitions_v2020_09_01/model/SchemaLinkLink.js +23 -27
  982. package/src/replenishment_v2022_11_07/ApiClient.js +498 -497
  983. package/src/replenishment_v2022_11_07/api/OffersApi.js +101 -78
  984. package/src/replenishment_v2022_11_07/api/SellingpartnersApi.js +65 -41
  985. package/src/replenishment_v2022_11_07/index.js +119 -120
  986. package/src/replenishment_v2022_11_07/model/AggregationFrequency.js +14 -20
  987. package/src/replenishment_v2022_11_07/model/AutoEnrollmentPreference.js +10 -14
  988. package/src/replenishment_v2022_11_07/model/DiscountFunding.js +15 -18
  989. package/src/replenishment_v2022_11_07/model/EligibilityStatus.js +14 -20
  990. package/src/replenishment_v2022_11_07/model/EnrollmentMethod.js +10 -14
  991. package/src/replenishment_v2022_11_07/model/Error.js +21 -26
  992. package/src/replenishment_v2022_11_07/model/ErrorList.js +17 -20
  993. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsRequest.js +36 -44
  994. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponse.js +16 -19
  995. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.js +58 -82
  996. package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequest.js +26 -31
  997. package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestFilters.js +35 -43
  998. package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestPagination.js +19 -23
  999. package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestSort.js +23 -27
  1000. package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponse.js +19 -23
  1001. package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponseOffer.js +48 -67
  1002. package/src/replenishment_v2022_11_07/model/ListOfferMetricsSortKey.js +24 -35
  1003. package/src/replenishment_v2022_11_07/model/ListOffersRequest.js +26 -31
  1004. package/src/replenishment_v2022_11_07/model/ListOffersRequestFilters.js +33 -42
  1005. package/src/replenishment_v2022_11_07/model/ListOffersRequestPagination.js +19 -23
  1006. package/src/replenishment_v2022_11_07/model/ListOffersRequestSort.js +23 -27
  1007. package/src/replenishment_v2022_11_07/model/ListOffersResponse.js +19 -23
  1008. package/src/replenishment_v2022_11_07/model/ListOffersResponseOffer.js +30 -39
  1009. package/src/replenishment_v2022_11_07/model/ListOffersSortKey.js +16 -23
  1010. package/src/replenishment_v2022_11_07/model/Metric.js +30 -44
  1011. package/src/replenishment_v2022_11_07/model/OfferProgramConfiguration.js +22 -27
  1012. package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPreferences.js +16 -19
  1013. package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPromotions.js +22 -28
  1014. package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPromotionsDiscountFunding.js +15 -18
  1015. package/src/replenishment_v2022_11_07/model/PaginationResponse.js +15 -18
  1016. package/src/replenishment_v2022_11_07/model/Preference.js +16 -19
  1017. package/src/replenishment_v2022_11_07/model/ProgramType.js +8 -11
  1018. package/src/replenishment_v2022_11_07/model/Promotion.js +22 -28
  1019. package/src/replenishment_v2022_11_07/model/SortOrder.js +10 -14
  1020. package/src/replenishment_v2022_11_07/model/TimeInterval.js +19 -23
  1021. package/src/replenishment_v2022_11_07/model/TimePeriodType.js +10 -14
  1022. package/src/reports_v2021_06_30/ApiClient.js +498 -497
  1023. package/src/reports_v2021_06_30/api/ReportsApi.js +353 -337
  1024. package/src/reports_v2021_06_30/index.js +41 -42
  1025. package/src/reports_v2021_06_30/model/CreateReportResponse.js +16 -19
  1026. package/src/reports_v2021_06_30/model/CreateReportScheduleResponse.js +16 -19
  1027. package/src/reports_v2021_06_30/model/CreateReportScheduleSpecification.js +64 -71
  1028. package/src/reports_v2021_06_30/model/CreateReportSpecification.js +25 -32
  1029. package/src/reports_v2021_06_30/model/Error.js +21 -26
  1030. package/src/reports_v2021_06_30/model/ErrorList.js +17 -20
  1031. package/src/reports_v2021_06_30/model/GetReportsResponse.js +19 -23
  1032. package/src/reports_v2021_06_30/model/Report.js +51 -64
  1033. package/src/reports_v2021_06_30/model/ReportDocument.js +25 -30
  1034. package/src/reports_v2021_06_30/model/ReportSchedule.js +28 -36
  1035. package/src/reports_v2021_06_30/model/ReportScheduleList.js +17 -20
  1036. package/src/sales_v1/ApiClient.js +498 -497
  1037. package/src/sales_v1/api/SalesApi.js +84 -60
  1038. package/src/sales_v1/index.js +20 -21
  1039. package/src/sales_v1/model/Error.js +21 -26
  1040. package/src/sales_v1/model/GetOrderMetricsResponse.js +19 -23
  1041. package/src/sales_v1/model/Money.js +19 -23
  1042. package/src/sales_v1/model/OrderMetricsInterval.js +34 -42
  1043. package/src/sellers_v1/ApiClient.js +498 -497
  1044. package/src/sellers_v1/api/SellersApi.js +96 -73
  1045. package/src/sellers_v1/index.js +38 -39
  1046. package/src/sellers_v1/model/Account.js +53 -60
  1047. package/src/sellers_v1/model/Address.js +27 -35
  1048. package/src/sellers_v1/model/Business.js +27 -34
  1049. package/src/sellers_v1/model/Error.js +21 -26
  1050. package/src/sellers_v1/model/GetAccountResponse.js +19 -23
  1051. package/src/sellers_v1/model/GetMarketplaceParticipationsResponse.js +19 -23
  1052. package/src/sellers_v1/model/Marketplace.js +31 -39
  1053. package/src/sellers_v1/model/MarketplaceParticipation.js +26 -31
  1054. package/src/sellers_v1/model/Participation.js +19 -23
  1055. package/src/sellers_v1/model/PrimaryContact.js +23 -28
  1056. package/src/services_v1/ApiClient.js +498 -497
  1057. package/src/services_v1/api/ServiceApi.js +851 -843
  1058. package/src/services_v1/index.js +204 -198
  1059. package/src/services_v1/model/AddAppointmentRequest.js +18 -21
  1060. package/src/services_v1/model/Address.js +37 -50
  1061. package/src/services_v1/model/Appointment.js +36 -44
  1062. package/src/services_v1/model/AppointmentResource.js +15 -18
  1063. package/src/services_v1/model/AppointmentSlot.js +19 -24
  1064. package/src/services_v1/model/AppointmentSlotReport.js +28 -34
  1065. package/src/services_v1/model/AppointmentTime.js +19 -23
  1066. package/src/services_v1/model/AppointmentTimeInput.js +18 -22
  1067. package/src/services_v1/model/AssignAppointmentResourcesRequest.js +17 -20
  1068. package/src/services_v1/model/AssignAppointmentResourcesResponse.js +19 -23
  1069. package/src/services_v1/model/AssignAppointmentResourcesResponsePayload.js +16 -19
  1070. package/src/services_v1/model/AssociatedItem.js +38 -47
  1071. package/src/services_v1/model/AvailabilityRecord.js +24 -30
  1072. package/src/services_v1/model/Buyer.js +21 -27
  1073. package/src/services_v1/model/CancelReservationResponse.js +16 -19
  1074. package/src/services_v1/model/CancelServiceJobByServiceJobIdResponse.js +16 -19
  1075. package/src/services_v1/model/CapacityType.js +14 -20
  1076. package/src/services_v1/model/CompleteServiceJobByServiceJobIdResponse.js +16 -19
  1077. package/src/services_v1/model/CreateReservationRecord.js +22 -27
  1078. package/src/services_v1/model/CreateReservationRequest.js +21 -25
  1079. package/src/services_v1/model/CreateReservationResponse.js +19 -23
  1080. package/src/services_v1/model/CreateServiceDocumentUploadDestination.js +19 -23
  1081. package/src/services_v1/model/DateTimeRange.js +73 -0
  1082. package/src/services_v1/model/DayOfWeek.js +20 -29
  1083. package/src/services_v1/model/EncryptionDetails.js +26 -31
  1084. package/src/services_v1/model/Error.js +29 -35
  1085. package/src/services_v1/model/FixedSlot.js +23 -30
  1086. package/src/services_v1/model/FixedSlotCapacity.js +22 -28
  1087. package/src/services_v1/model/FixedSlotCapacityErrors.js +16 -19
  1088. package/src/services_v1/model/FixedSlotCapacityQuery.js +24 -30
  1089. package/src/services_v1/model/FulfillmentDocument.js +17 -21
  1090. package/src/services_v1/model/FulfillmentTime.js +17 -21
  1091. package/src/services_v1/model/GetAppointmentSlotsResponse.js +19 -23
  1092. package/src/services_v1/model/GetServiceJobByServiceJobIdResponse.js +19 -23
  1093. package/src/services_v1/model/GetServiceJobsResponse.js +19 -23
  1094. package/src/services_v1/model/ItemDelivery.js +18 -22
  1095. package/src/services_v1/model/ItemDeliveryPromise.js +17 -21
  1096. package/src/services_v1/model/JobListing.js +22 -28
  1097. package/src/services_v1/model/Poa.js +35 -42
  1098. package/src/services_v1/model/RangeCapacity.js +19 -23
  1099. package/src/services_v1/model/RangeSlot.js +19 -24
  1100. package/src/services_v1/model/RangeSlotCapacity.js +20 -25
  1101. package/src/services_v1/model/RangeSlotCapacityErrors.js +16 -19
  1102. package/src/services_v1/model/RangeSlotCapacityQuery.js +22 -27
  1103. package/src/services_v1/model/Recurrence.js +21 -26
  1104. package/src/services_v1/model/RescheduleAppointmentRequest.js +21 -25
  1105. package/src/services_v1/model/Reservation.js +35 -40
  1106. package/src/services_v1/model/ScopeOfWork.js +21 -27
  1107. package/src/services_v1/model/Seller.js +15 -18
  1108. package/src/services_v1/model/ServiceDocumentUploadDestination.js +26 -32
  1109. package/src/services_v1/model/ServiceJob.js +65 -81
  1110. package/src/services_v1/model/ServiceJobProvider.js +15 -18
  1111. package/src/services_v1/model/ServiceLocation.js +26 -30
  1112. package/src/services_v1/model/ServiceUploadDocument.js +35 -40
  1113. package/src/services_v1/model/SetAppointmentFulfillmentDataRequest.js +29 -27
  1114. package/src/services_v1/model/SetAppointmentResponse.js +21 -26
  1115. package/src/services_v1/model/Technician.js +17 -21
  1116. package/src/services_v1/model/UpdateReservationRecord.js +22 -27
  1117. package/src/services_v1/model/UpdateReservationRequest.js +21 -25
  1118. package/src/services_v1/model/UpdateReservationResponse.js +19 -23
  1119. package/src/services_v1/model/UpdateScheduleRecord.js +22 -27
  1120. package/src/services_v1/model/UpdateScheduleRequest.js +17 -20
  1121. package/src/services_v1/model/UpdateScheduleResponse.js +19 -23
  1122. package/src/services_v1/model/Warning.js +21 -26
  1123. package/src/shipping_v2/ApiClient.js +497 -496
  1124. package/src/shipping_v2/api/ShippingApi.js +915 -910
  1125. package/src/shipping_v2/index.js +388 -389
  1126. package/src/shipping_v2/model/AccessPoint.js +43 -55
  1127. package/src/shipping_v2/model/AccessPointDetails.js +14 -17
  1128. package/src/shipping_v2/model/AccessPointType.js +21 -31
  1129. package/src/shipping_v2/model/AccessibilityAttributes.js +16 -20
  1130. package/src/shipping_v2/model/AccountStatus.js +13 -19
  1131. package/src/shipping_v2/model/AccountType.js +11 -16
  1132. package/src/shipping_v2/model/ActiveAccount.js +16 -20
  1133. package/src/shipping_v2/model/Address.js +43 -57
  1134. package/src/shipping_v2/model/AmazonOrderDetails.js +15 -18
  1135. package/src/shipping_v2/model/AmazonShipmentDetails.js +15 -18
  1136. package/src/shipping_v2/model/AvailableValueAddedServiceGroup.js +24 -30
  1137. package/src/shipping_v2/model/Benefits.js +19 -23
  1138. package/src/shipping_v2/model/CancelShipmentResponse.js +14 -17
  1139. package/src/shipping_v2/model/Carrier.js +18 -22
  1140. package/src/shipping_v2/model/CarrierAccount.js +18 -22
  1141. package/src/shipping_v2/model/CarrierAccountAttribute.js +18 -23
  1142. package/src/shipping_v2/model/CarrierAccountInput.js +30 -40
  1143. package/src/shipping_v2/model/ChannelDetails.js +23 -28
  1144. package/src/shipping_v2/model/ChannelType.js +9 -13
  1145. package/src/shipping_v2/model/ChargeComponent.js +23 -27
  1146. package/src/shipping_v2/model/ClaimReason.js +15 -22
  1147. package/src/shipping_v2/model/ClientReferenceDetail.js +24 -28
  1148. package/src/shipping_v2/model/CollectOnDelivery.js +17 -20
  1149. package/src/shipping_v2/model/CollectionFormsHistoryRecord.js +24 -31
  1150. package/src/shipping_v2/model/CollectionsFormDocument.js +16 -20
  1151. package/src/shipping_v2/model/CreateClaimRequest.js +32 -40
  1152. package/src/shipping_v2/model/CreateClaimResponse.js +14 -17
  1153. package/src/shipping_v2/model/Currency.js +18 -22
  1154. package/src/shipping_v2/model/DangerousGoodsDetails.js +56 -62
  1155. package/src/shipping_v2/model/DateRange.js +16 -20
  1156. package/src/shipping_v2/model/DetailCodes.js +65 -97
  1157. package/src/shipping_v2/model/Dimensions.js +30 -36
  1158. package/src/shipping_v2/model/DirectFulfillmentItemIdentifiers.js +17 -21
  1159. package/src/shipping_v2/model/DirectPurchaseRequest.js +30 -38
  1160. package/src/shipping_v2/model/DirectPurchaseResponse.js +15 -18
  1161. package/src/shipping_v2/model/DirectPurchaseResult.js +18 -22
  1162. package/src/shipping_v2/model/DocumentFormat.js +11 -16
  1163. package/src/shipping_v2/model/DocumentSize.js +27 -32
  1164. package/src/shipping_v2/model/DocumentType.js +13 -19
  1165. package/src/shipping_v2/model/Error.js +20 -25
  1166. package/src/shipping_v2/model/ErrorList.js +16 -19
  1167. package/src/shipping_v2/model/Event.js +26 -32
  1168. package/src/shipping_v2/model/EventCode.js +33 -49
  1169. package/src/shipping_v2/model/ExceptionOperatingHours.js +18 -22
  1170. package/src/shipping_v2/model/ExcludedBenefit.js +17 -21
  1171. package/src/shipping_v2/model/GenerateCollectionFormRequest.js +21 -26
  1172. package/src/shipping_v2/model/GenerateCollectionFormResponse.js +15 -18
  1173. package/src/shipping_v2/model/GenerationStatus.js +9 -13
  1174. package/src/shipping_v2/model/Geocode.js +16 -20
  1175. package/src/shipping_v2/model/GetAccessPointsResponse.js +15 -18
  1176. package/src/shipping_v2/model/GetAccessPointsResult.js +16 -19
  1177. package/src/shipping_v2/model/GetAdditionalInputsResponse.js +14 -17
  1178. package/src/shipping_v2/model/GetCarrierAccountFormInputsResponse.js +15 -18
  1179. package/src/shipping_v2/model/GetCarrierAccountsRequest.js +15 -18
  1180. package/src/shipping_v2/model/GetCarrierAccountsResponse.js +16 -19
  1181. package/src/shipping_v2/model/GetCollectionFormHistoryRequest.js +25 -32
  1182. package/src/shipping_v2/model/GetCollectionFormHistoryResponse.js +17 -21
  1183. package/src/shipping_v2/model/GetCollectionFormResponse.js +15 -18
  1184. package/src/shipping_v2/model/GetRatesRequest.js +53 -68
  1185. package/src/shipping_v2/model/GetRatesResponse.js +15 -18
  1186. package/src/shipping_v2/model/GetRatesResult.js +22 -27
  1187. package/src/shipping_v2/model/GetShipmentDocumentsResponse.js +15 -18
  1188. package/src/shipping_v2/model/GetShipmentDocumentsResult.js +23 -28
  1189. package/src/shipping_v2/model/GetTrackingResponse.js +15 -18
  1190. package/src/shipping_v2/model/GetTrackingResult.js +30 -37
  1191. package/src/shipping_v2/model/GetUnmanifestedShipmentsRequest.js +15 -18
  1192. package/src/shipping_v2/model/GetUnmanifestedShipmentsResponse.js +15 -18
  1193. package/src/shipping_v2/model/GoodsOwner.js +17 -20
  1194. package/src/shipping_v2/model/IneligibilityReason.js +20 -24
  1195. package/src/shipping_v2/model/IneligibilityReasonCode.js +25 -37
  1196. package/src/shipping_v2/model/IneligibleRate.js +28 -35
  1197. package/src/shipping_v2/model/InputType.js +9 -13
  1198. package/src/shipping_v2/model/InvoiceDetails.js +16 -20
  1199. package/src/shipping_v2/model/Item.js +43 -57
  1200. package/src/shipping_v2/model/LabelAttribute.js +11 -16
  1201. package/src/shipping_v2/model/LinkCarrierAccountRequest.js +24 -30
  1202. package/src/shipping_v2/model/LinkCarrierAccountResponse.js +17 -21
  1203. package/src/shipping_v2/model/LinkableAccountType.js +18 -22
  1204. package/src/shipping_v2/model/LinkableCarrier.js +17 -21
  1205. package/src/shipping_v2/model/LiquidVolume.js +34 -38
  1206. package/src/shipping_v2/model/Location.js +20 -26
  1207. package/src/shipping_v2/model/NdrAction.js +11 -16
  1208. package/src/shipping_v2/model/NdrRequestData.js +17 -21
  1209. package/src/shipping_v2/model/OneClickShipmentRequest.js +57 -72
  1210. package/src/shipping_v2/model/OneClickShipmentResponse.js +15 -18
  1211. package/src/shipping_v2/model/OneClickShipmentResult.js +39 -47
  1212. package/src/shipping_v2/model/OneClickShipmentValueAddedService.js +18 -22
  1213. package/src/shipping_v2/model/OperatingHours.js +19 -24
  1214. package/src/shipping_v2/model/Package.js +41 -51
  1215. package/src/shipping_v2/model/PackageDocument.js +25 -30
  1216. package/src/shipping_v2/model/PackageDocumentDetail.js +21 -26
  1217. package/src/shipping_v2/model/PaymentType.js +9 -13
  1218. package/src/shipping_v2/model/PrintOption.js +24 -30
  1219. package/src/shipping_v2/model/Promise.js +17 -21
  1220. package/src/shipping_v2/model/PurchaseShipmentRequest.js +28 -35
  1221. package/src/shipping_v2/model/PurchaseShipmentResponse.js +15 -18
  1222. package/src/shipping_v2/model/PurchaseShipmentResult.js +27 -33
  1223. package/src/shipping_v2/model/Rate.js +59 -75
  1224. package/src/shipping_v2/model/RateItem.js +24 -30
  1225. package/src/shipping_v2/model/RateItemID.js +71 -106
  1226. package/src/shipping_v2/model/RateItemType.js +11 -16
  1227. package/src/shipping_v2/model/RequestedDocumentSpecification.js +36 -45
  1228. package/src/shipping_v2/model/RequestedLabelCustomization.js +15 -18
  1229. package/src/shipping_v2/model/RequestedValueAddedService.js +15 -18
  1230. package/src/shipping_v2/model/Service.js +18 -22
  1231. package/src/shipping_v2/model/ServiceSelection.js +15 -18
  1232. package/src/shipping_v2/model/SettlementType.js +9 -13
  1233. package/src/shipping_v2/model/ShipmentType.js +9 -13
  1234. package/src/shipping_v2/model/ShipperInstruction.js +14 -17
  1235. package/src/shipping_v2/model/Status.js +25 -37
  1236. package/src/shipping_v2/model/SubmitNdrFeedbackRequest.js +23 -28
  1237. package/src/shipping_v2/model/SupportedDocumentDetail.js +20 -24
  1238. package/src/shipping_v2/model/SupportedDocumentSpecification.js +26 -31
  1239. package/src/shipping_v2/model/TaxDetail.js +20 -24
  1240. package/src/shipping_v2/model/TaxType.js +7 -10
  1241. package/src/shipping_v2/model/TimeOfDay.js +18 -23
  1242. package/src/shipping_v2/model/TimeWindow.js +16 -20
  1243. package/src/shipping_v2/model/TrackingDetailCodes.js +19 -23
  1244. package/src/shipping_v2/model/TrackingSummary.js +18 -22
  1245. package/src/shipping_v2/model/UnlinkCarrierAccountRequest.js +17 -21
  1246. package/src/shipping_v2/model/UnlinkCarrierAccountResponse.js +14 -17
  1247. package/src/shipping_v2/model/UnmanifestedCarrierInformation.js +19 -24
  1248. package/src/shipping_v2/model/UnmanifestedShipmentLocation.js +18 -22
  1249. package/src/shipping_v2/model/ValidationMetadata.js +18 -23
  1250. package/src/shipping_v2/model/ValueAddedService.js +23 -28
  1251. package/src/shipping_v2/model/ValueAddedServiceDetails.js +15 -18
  1252. package/src/shipping_v2/model/Weight.js +28 -32
  1253. package/src/solicitations_v1/ApiClient.js +498 -497
  1254. package/src/solicitations_v1/api/SolicitationsApi.js +120 -97
  1255. package/src/solicitations_v1/index.js +44 -45
  1256. package/src/solicitations_v1/model/CreateProductReviewAndSellerFeedbackSolicitationResponse.js +16 -19
  1257. package/src/solicitations_v1/model/Error.js +21 -26
  1258. package/src/solicitations_v1/model/GetSchemaResponse.js +21 -26
  1259. package/src/solicitations_v1/model/GetSchemaResponseLinks.js +18 -21
  1260. package/src/solicitations_v1/model/GetSolicitationActionResponse.js +25 -31
  1261. package/src/solicitations_v1/model/GetSolicitationActionResponseEmbedded.js +16 -19
  1262. package/src/solicitations_v1/model/GetSolicitationActionResponseLinks.js +22 -26
  1263. package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponse.js +22 -27
  1264. package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponseEmbedded.js +18 -21
  1265. package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponseLinks.js +21 -25
  1266. package/src/solicitations_v1/model/LinkObject.js +18 -22
  1267. package/src/solicitations_v1/model/SolicitationsAction.js +17 -20
  1268. package/src/supplysources_v2020_07_01/ApiClient.js +498 -497
  1269. package/src/supplysources_v2020_07_01/api/SupplySourcesApi.js +263 -244
  1270. package/src/supplysources_v2020_07_01/index.js +116 -117
  1271. package/src/supplysources_v2020_07_01/model/Address.js +39 -52
  1272. package/src/supplysources_v2020_07_01/model/AddressWithContact.js +19 -23
  1273. package/src/supplysources_v2020_07_01/model/ContactDetails.js +16 -19
  1274. package/src/supplysources_v2020_07_01/model/ContactDetailsPrimary.js +17 -21
  1275. package/src/supplysources_v2020_07_01/model/CreateSupplySourceRequest.js +24 -29
  1276. package/src/supplysources_v2020_07_01/model/CreateSupplySourceResponse.js +19 -23
  1277. package/src/supplysources_v2020_07_01/model/CurbsidePickupConfiguration.js +21 -26
  1278. package/src/supplysources_v2020_07_01/model/DeliveryChannel.js +18 -22
  1279. package/src/supplysources_v2020_07_01/model/Duration.js +18 -22
  1280. package/src/supplysources_v2020_07_01/model/Error.js +21 -26
  1281. package/src/supplysources_v2020_07_01/model/ErrorList.js +17 -20
  1282. package/src/supplysources_v2020_07_01/model/GetSupplySourcesResponse.js +18 -22
  1283. package/src/supplysources_v2020_07_01/model/InStorePickupConfiguration.js +18 -22
  1284. package/src/supplysources_v2020_07_01/model/OperatingHour.js +17 -21
  1285. package/src/supplysources_v2020_07_01/model/OperatingHoursByDay.js +28 -37
  1286. package/src/supplysources_v2020_07_01/model/OperationalConfiguration.js +25 -31
  1287. package/src/supplysources_v2020_07_01/model/OutboundCapability.js +27 -34
  1288. package/src/supplysources_v2020_07_01/model/ParkingConfiguration.js +21 -26
  1289. package/src/supplysources_v2020_07_01/model/ParkingCostType.js +10 -14
  1290. package/src/supplysources_v2020_07_01/model/ParkingSpotIdentificationType.js +10 -14
  1291. package/src/supplysources_v2020_07_01/model/ParkingWithAddressConfiguration.js +30 -36
  1292. package/src/supplysources_v2020_07_01/model/PickupChannel.js +27 -34
  1293. package/src/supplysources_v2020_07_01/model/ReturnLocation.js +18 -22
  1294. package/src/supplysources_v2020_07_01/model/ServicesCapability.js +18 -22
  1295. package/src/supplysources_v2020_07_01/model/SupplySource.js +35 -46
  1296. package/src/supplysources_v2020_07_01/model/SupplySourceCapabilities.js +19 -23
  1297. package/src/supplysources_v2020_07_01/model/SupplySourceConfiguration.js +18 -22
  1298. package/src/supplysources_v2020_07_01/model/SupplySourceListInner.js +22 -28
  1299. package/src/supplysources_v2020_07_01/model/SupplySourceStatus.js +10 -14
  1300. package/src/supplysources_v2020_07_01/model/SupplySourceStatusReadOnly.js +12 -17
  1301. package/src/supplysources_v2020_07_01/model/ThroughputCap.js +18 -22
  1302. package/src/supplysources_v2020_07_01/model/ThroughputConfig.js +21 -25
  1303. package/src/supplysources_v2020_07_01/model/ThroughputUnit.js +8 -11
  1304. package/src/supplysources_v2020_07_01/model/TimeUnit.js +12 -17
  1305. package/src/supplysources_v2020_07_01/model/UpdateSupplySourceRequest.js +21 -26
  1306. package/src/supplysources_v2020_07_01/model/UpdateSupplySourceStatusRequest.js +16 -19
  1307. package/src/tokens_v2021_03_01/ApiClient.js +499 -498
  1308. package/src/tokens_v2021_03_01/api/TokensApi.js +69 -45
  1309. package/src/tokens_v2021_03_01/index.js +24 -25
  1310. package/src/tokens_v2021_03_01/model/CreateRestrictedDataTokenRequest.js +20 -24
  1311. package/src/tokens_v2021_03_01/model/CreateRestrictedDataTokenResponse.js +18 -22
  1312. package/src/tokens_v2021_03_01/model/Error.js +22 -27
  1313. package/src/tokens_v2021_03_01/model/ErrorList.js +17 -20
  1314. package/src/tokens_v2021_03_01/model/RestrictedResource.js +32 -37
  1315. package/src/transfers_v2024_06_01/ApiClient.js +498 -497
  1316. package/src/transfers_v2024_06_01/api/DefaultApi.js +111 -88
  1317. package/src/transfers_v2024_06_01/index.js +35 -36
  1318. package/src/transfers_v2024_06_01/model/AssignmentType.js +8 -11
  1319. package/src/transfers_v2024_06_01/model/Error.js +21 -26
  1320. package/src/transfers_v2024_06_01/model/ErrorList.js +17 -20
  1321. package/src/transfers_v2024_06_01/model/ExpiryDate.js +17 -21
  1322. package/src/transfers_v2024_06_01/model/GetPaymentMethodsResponse.js +16 -19
  1323. package/src/transfers_v2024_06_01/model/InitiatePayoutRequest.js +19 -23
  1324. package/src/transfers_v2024_06_01/model/InitiatePayoutResponse.js +16 -19
  1325. package/src/transfers_v2024_06_01/model/PaymentMethodDetails.js +30 -39
  1326. package/src/transfers_v2024_06_01/model/PaymentMethodType.js +12 -17
  1327. package/src/uploads_v2020_11_01/ApiClient.js +498 -497
  1328. package/src/uploads_v2020_11_01/api/UploadsApi.js +79 -55
  1329. package/src/uploads_v2020_11_01/index.js +17 -18
  1330. package/src/uploads_v2020_11_01/model/CreateUploadDestinationResponse.js +19 -23
  1331. package/src/uploads_v2020_11_01/model/Error.js +21 -26
  1332. package/src/uploads_v2020_11_01/model/UploadDestination.js +19 -24
  1333. package/src/vehicles_v2024_11_01/ApiClient.js +498 -497
  1334. package/src/vehicles_v2024_11_01/api/AutomotiveApi.js +76 -52
  1335. package/src/vehicles_v2024_11_01/api/VehiclesApi.js +76 -52
  1336. package/src/vehicles_v2024_11_01/index.js +44 -45
  1337. package/src/vehicles_v2024_11_01/model/EngineOutput.js +21 -25
  1338. package/src/vehicles_v2024_11_01/model/EngineOutputUnit.js +10 -14
  1339. package/src/vehicles_v2024_11_01/model/Error.js +21 -26
  1340. package/src/vehicles_v2024_11_01/model/ErrorList.js +17 -20
  1341. package/src/vehicles_v2024_11_01/model/MonthAndYear.js +17 -21
  1342. package/src/vehicles_v2024_11_01/model/Pagination.js +17 -21
  1343. package/src/vehicles_v2024_11_01/model/Vehicle.js +44 -58
  1344. package/src/vehicles_v2024_11_01/model/VehicleIdentifiers.js +21 -25
  1345. package/src/vehicles_v2024_11_01/model/VehicleStandard.js +10 -14
  1346. package/src/vehicles_v2024_11_01/model/VehicleStatusInCatalog.js +10 -14
  1347. package/src/vehicles_v2024_11_01/model/VehiclesResponse.js +20 -24
  1348. package/src/vendordfinventory_v1/ApiClient.js +498 -497
  1349. package/src/vendordfinventory_v1/api/UpdateInventoryApi.js +72 -48
  1350. package/src/vendordfinventory_v1/index.js +32 -33
  1351. package/src/vendordfinventory_v1/model/Error.js +21 -26
  1352. package/src/vendordfinventory_v1/model/InventoryUpdate.js +25 -30
  1353. package/src/vendordfinventory_v1/model/ItemDetails.js +24 -30
  1354. package/src/vendordfinventory_v1/model/ItemQuantity.js +18 -22
  1355. package/src/vendordfinventory_v1/model/PartyIdentification.js +16 -19
  1356. package/src/vendordfinventory_v1/model/SubmitInventoryUpdateRequest.js +16 -19
  1357. package/src/vendordfinventory_v1/model/SubmitInventoryUpdateResponse.js +19 -23
  1358. package/src/vendordfinventory_v1/model/TransactionReference.js +15 -18
  1359. package/src/vendordforders_v2021_12_28/ApiClient.js +498 -497
  1360. package/src/vendordforders_v2021_12_28/api/VendorOrdersApi.js +156 -134
  1361. package/src/vendordforders_v2021_12_28/index.js +83 -84
  1362. package/src/vendordforders_v2021_12_28/model/AcknowledgementStatus.js +17 -21
  1363. package/src/vendordforders_v2021_12_28/model/Address.js +41 -55
  1364. package/src/vendordforders_v2021_12_28/model/BuyerCustomizedInfoDetail.js +15 -18
  1365. package/src/vendordforders_v2021_12_28/model/Error.js +21 -26
  1366. package/src/vendordforders_v2021_12_28/model/ErrorList.js +17 -20
  1367. package/src/vendordforders_v2021_12_28/model/GiftDetails.js +17 -21
  1368. package/src/vendordforders_v2021_12_28/model/ItemQuantity.js +21 -25
  1369. package/src/vendordforders_v2021_12_28/model/Money.js +17 -21
  1370. package/src/vendordforders_v2021_12_28/model/Order.js +19 -23
  1371. package/src/vendordforders_v2021_12_28/model/OrderAcknowledgementItem.js +40 -49
  1372. package/src/vendordforders_v2021_12_28/model/OrderDetails.js +61 -73
  1373. package/src/vendordforders_v2021_12_28/model/OrderItem.js +46 -59
  1374. package/src/vendordforders_v2021_12_28/model/OrderItemAcknowledgement.js +25 -31
  1375. package/src/vendordforders_v2021_12_28/model/OrderList.js +19 -23
  1376. package/src/vendordforders_v2021_12_28/model/Pagination.js +15 -18
  1377. package/src/vendordforders_v2021_12_28/model/PartyIdentification.js +22 -27
  1378. package/src/vendordforders_v2021_12_28/model/ScheduledDeliveryShipment.js +19 -24
  1379. package/src/vendordforders_v2021_12_28/model/ShipmentDates.js +18 -22
  1380. package/src/vendordforders_v2021_12_28/model/ShipmentDetails.js +34 -43
  1381. package/src/vendordforders_v2021_12_28/model/SubmitAcknowledgementRequest.js +16 -19
  1382. package/src/vendordforders_v2021_12_28/model/SubmitAcknowledgementResponse.js +19 -23
  1383. package/src/vendordforders_v2021_12_28/model/TaxDetails.js +40 -46
  1384. package/src/vendordforders_v2021_12_28/model/TaxItemDetails.js +16 -19
  1385. package/src/vendordforders_v2021_12_28/model/TaxRegistrationDetails.js +29 -35
  1386. package/src/vendordforders_v2021_12_28/model/TransactionId.js +15 -18
  1387. package/src/vendordfpayments_v1/ApiClient.js +498 -497
  1388. package/src/vendordfpayments_v1/api/VendorInvoiceApi.js +67 -43
  1389. package/src/vendordfpayments_v1/index.js +50 -51
  1390. package/src/vendordfpayments_v1/model/AdditionalDetails.js +27 -32
  1391. package/src/vendordfpayments_v1/model/Address.js +41 -54
  1392. package/src/vendordfpayments_v1/model/ChargeDetails.js +40 -45
  1393. package/src/vendordfpayments_v1/model/Error.js +21 -26
  1394. package/src/vendordfpayments_v1/model/InvoiceDetail.js +54 -69
  1395. package/src/vendordfpayments_v1/model/InvoiceItem.js +43 -55
  1396. package/src/vendordfpayments_v1/model/ItemQuantity.js +19 -23
  1397. package/src/vendordfpayments_v1/model/Money.js +19 -23
  1398. package/src/vendordfpayments_v1/model/PartyIdentification.js +22 -27
  1399. package/src/vendordfpayments_v1/model/SubmitInvoiceRequest.js +16 -19
  1400. package/src/vendordfpayments_v1/model/SubmitInvoiceResponse.js +19 -23
  1401. package/src/vendordfpayments_v1/model/TaxDetail.js +55 -61
  1402. package/src/vendordfpayments_v1/model/TaxRegistrationDetail.js +29 -35
  1403. package/src/vendordfpayments_v1/model/TransactionReference.js +15 -18
  1404. package/src/vendordfshipping_v2021_12_28/ApiClient.js +498 -497
  1405. package/src/vendordfshipping_v2021_12_28/api/CreateContainerLabelApi.js +68 -44
  1406. package/src/vendordfshipping_v2021_12_28/api/CustomerInvoicesApi.js +120 -97
  1407. package/src/vendordfshipping_v2021_12_28/api/VendorShippingApi.js +182 -161
  1408. package/src/vendordfshipping_v2021_12_28/api/VendorShippingLabelsApi.js +201 -180
  1409. package/src/vendordfshipping_v2021_12_28/index.js +125 -126
  1410. package/src/vendordfshipping_v2021_12_28/model/Address.js +38 -51
  1411. package/src/vendordfshipping_v2021_12_28/model/CarrierId.js +8 -11
  1412. package/src/vendordfshipping_v2021_12_28/model/Container.js +51 -65
  1413. package/src/vendordfshipping_v2021_12_28/model/ContainerLabel.js +23 -28
  1414. package/src/vendordfshipping_v2021_12_28/model/ContainerLabelFormat.js +10 -14
  1415. package/src/vendordfshipping_v2021_12_28/model/CreateContainerLabelRequest.js +34 -41
  1416. package/src/vendordfshipping_v2021_12_28/model/CreateContainerLabelResponse.js +18 -21
  1417. package/src/vendordfshipping_v2021_12_28/model/CreateShippingLabelsRequest.js +25 -30
  1418. package/src/vendordfshipping_v2021_12_28/model/CustomerInvoice.js +19 -23
  1419. package/src/vendordfshipping_v2021_12_28/model/CustomerInvoiceList.js +19 -23
  1420. package/src/vendordfshipping_v2021_12_28/model/Dimensions.js +31 -37
  1421. package/src/vendordfshipping_v2021_12_28/model/Error.js +21 -26
  1422. package/src/vendordfshipping_v2021_12_28/model/ErrorList.js +17 -20
  1423. package/src/vendordfshipping_v2021_12_28/model/Item.js +25 -31
  1424. package/src/vendordfshipping_v2021_12_28/model/ItemQuantity.js +19 -23
  1425. package/src/vendordfshipping_v2021_12_28/model/LabelData.js +24 -31
  1426. package/src/vendordfshipping_v2021_12_28/model/Package.js +16 -19
  1427. package/src/vendordfshipping_v2021_12_28/model/PackedItem.js +27 -34
  1428. package/src/vendordfshipping_v2021_12_28/model/PackingSlip.js +25 -30
  1429. package/src/vendordfshipping_v2021_12_28/model/PackingSlipList.js +19 -23
  1430. package/src/vendordfshipping_v2021_12_28/model/Pagination.js +15 -18
  1431. package/src/vendordfshipping_v2021_12_28/model/PartyIdentification.js +22 -27
  1432. package/src/vendordfshipping_v2021_12_28/model/ShipmentConfirmation.js +37 -45
  1433. package/src/vendordfshipping_v2021_12_28/model/ShipmentDetails.js +31 -38
  1434. package/src/vendordfshipping_v2021_12_28/model/ShipmentSchedule.js +19 -24
  1435. package/src/vendordfshipping_v2021_12_28/model/ShipmentStatusUpdate.js +30 -36
  1436. package/src/vendordfshipping_v2021_12_28/model/ShippingLabel.js +38 -45
  1437. package/src/vendordfshipping_v2021_12_28/model/ShippingLabelList.js +19 -23
  1438. package/src/vendordfshipping_v2021_12_28/model/ShippingLabelRequest.js +28 -34
  1439. package/src/vendordfshipping_v2021_12_28/model/StatusUpdateDetails.js +33 -41
  1440. package/src/vendordfshipping_v2021_12_28/model/SubmitShipmentConfirmationsRequest.js +16 -19
  1441. package/src/vendordfshipping_v2021_12_28/model/SubmitShipmentStatusUpdatesRequest.js +16 -19
  1442. package/src/vendordfshipping_v2021_12_28/model/SubmitShippingLabelsRequest.js +16 -19
  1443. package/src/vendordfshipping_v2021_12_28/model/TaxRegistrationDetails.js +29 -35
  1444. package/src/vendordfshipping_v2021_12_28/model/TransactionReference.js +15 -18
  1445. package/src/vendordfshipping_v2021_12_28/model/Weight.js +25 -29
  1446. package/src/vendordftransactions_v2021_12_28/ApiClient.js +498 -497
  1447. package/src/vendordftransactions_v2021_12_28/api/VendorTransactionApi.js +69 -45
  1448. package/src/vendordftransactions_v2021_12_28/index.js +20 -21
  1449. package/src/vendordftransactions_v2021_12_28/model/Error.js +21 -26
  1450. package/src/vendordftransactions_v2021_12_28/model/ErrorList.js +17 -20
  1451. package/src/vendordftransactions_v2021_12_28/model/Transaction.js +30 -35
  1452. package/src/vendordftransactions_v2021_12_28/model/TransactionStatus.js +16 -19
  1453. package/src/vendorinvoices_v1/ApiClient.js +498 -497
  1454. package/src/vendorinvoices_v1/api/VendorPaymentsApi.js +67 -43
  1455. package/src/vendorinvoices_v1/index.js +65 -66
  1456. package/src/vendorinvoices_v1/model/AdditionalDetails.js +29 -34
  1457. package/src/vendorinvoices_v1/model/Address.js +38 -51
  1458. package/src/vendorinvoices_v1/model/AllowanceDetails.js +40 -46
  1459. package/src/vendorinvoices_v1/model/ChargeDetails.js +50 -56
  1460. package/src/vendorinvoices_v1/model/CreditNoteDetails.js +27 -36
  1461. package/src/vendorinvoices_v1/model/Error.js +21 -26
  1462. package/src/vendorinvoices_v1/model/Invoice.js +64 -81
  1463. package/src/vendorinvoices_v1/model/InvoiceItem.js +49 -63
  1464. package/src/vendorinvoices_v1/model/ItemQuantity.js +30 -36
  1465. package/src/vendorinvoices_v1/model/Money.js +17 -21
  1466. package/src/vendorinvoices_v1/model/NetCostUnitOfMeasure.js +14 -20
  1467. package/src/vendorinvoices_v1/model/PartyIdentification.js +22 -27
  1468. package/src/vendorinvoices_v1/model/PaymentTerms.js +35 -41
  1469. package/src/vendorinvoices_v1/model/SubmitInvoicesRequest.js +16 -19
  1470. package/src/vendorinvoices_v1/model/SubmitInvoicesResponse.js +19 -23
  1471. package/src/vendorinvoices_v1/model/TaxDetails.js +55 -61
  1472. package/src/vendorinvoices_v1/model/TaxRegistrationDetails.js +25 -29
  1473. package/src/vendorinvoices_v1/model/TotalWeight.js +29 -33
  1474. package/src/vendorinvoices_v1/model/TransactionId.js +15 -18
  1475. package/src/vendororders_v1/ApiClient.js +498 -497
  1476. package/src/vendororders_v1/api/VendorOrdersApi.js +189 -168
  1477. package/src/vendororders_v1/index.js +95 -96
  1478. package/src/vendororders_v1/model/AcknowledgementStatusDetails.js +20 -25
  1479. package/src/vendororders_v1/model/Address.js +38 -51
  1480. package/src/vendororders_v1/model/Error.js +21 -26
  1481. package/src/vendororders_v1/model/GetPurchaseOrderResponse.js +19 -23
  1482. package/src/vendororders_v1/model/GetPurchaseOrdersResponse.js +19 -23
  1483. package/src/vendororders_v1/model/GetPurchaseOrdersStatusResponse.js +19 -23
  1484. package/src/vendororders_v1/model/ImportDetails.js +62 -69
  1485. package/src/vendororders_v1/model/ItemQuantity.js +25 -30
  1486. package/src/vendororders_v1/model/Money.js +29 -34
  1487. package/src/vendororders_v1/model/Order.js +30 -35
  1488. package/src/vendororders_v1/model/OrderAcknowledgement.js +28 -34
  1489. package/src/vendororders_v1/model/OrderAcknowledgementItem.js +35 -45
  1490. package/src/vendororders_v1/model/OrderDetails.js +67 -83
  1491. package/src/vendororders_v1/model/OrderItem.js +33 -42
  1492. package/src/vendororders_v1/model/OrderItemAcknowledgement.js +43 -50
  1493. package/src/vendororders_v1/model/OrderItemStatus.js +34 -44
  1494. package/src/vendororders_v1/model/OrderItemStatusAcknowledgementStatus.js +33 -39
  1495. package/src/vendororders_v1/model/OrderItemStatusOrderedQuantity.js +19 -23
  1496. package/src/vendororders_v1/model/OrderItemStatusReceivingStatus.js +28 -33
  1497. package/src/vendororders_v1/model/OrderList.js +19 -23
  1498. package/src/vendororders_v1/model/OrderListStatus.js +19 -23
  1499. package/src/vendororders_v1/model/OrderStatus.js +43 -52
  1500. package/src/vendororders_v1/model/OrderedQuantityDetails.js +20 -25
  1501. package/src/vendororders_v1/model/Pagination.js +15 -18
  1502. package/src/vendororders_v1/model/PartyIdentification.js +22 -27
  1503. package/src/vendororders_v1/model/SubmitAcknowledgementRequest.js +16 -19
  1504. package/src/vendororders_v1/model/SubmitAcknowledgementResponse.js +19 -23
  1505. package/src/vendororders_v1/model/TaxRegistrationDetails.js +25 -29
  1506. package/src/vendororders_v1/model/TransactionId.js +15 -18
  1507. package/src/vendorshipments_v1/ApiClient.js +498 -497
  1508. package/src/vendorshipments_v1/api/VendorShippingApi.js +195 -174
  1509. package/src/vendorshipments_v1/index.js +170 -171
  1510. package/src/vendorshipments_v1/model/Address.js +38 -51
  1511. package/src/vendorshipments_v1/model/CarrierDetails.js +23 -30
  1512. package/src/vendorshipments_v1/model/Carton.js +31 -39
  1513. package/src/vendorshipments_v1/model/CartonReferenceDetails.js +18 -22
  1514. package/src/vendorshipments_v1/model/CollectFreightPickupDetails.js +19 -24
  1515. package/src/vendorshipments_v1/model/ContainerIdentification.js +31 -35
  1516. package/src/vendorshipments_v1/model/ContainerItem.js +24 -29
  1517. package/src/vendorshipments_v1/model/ContainerSequenceNumbers.js +15 -18
  1518. package/src/vendorshipments_v1/model/Containers.js +46 -58
  1519. package/src/vendorshipments_v1/model/Dimensions.js +35 -41
  1520. package/src/vendorshipments_v1/model/Duration.js +25 -29
  1521. package/src/vendorshipments_v1/model/Error.js +21 -26
  1522. package/src/vendorshipments_v1/model/Expiry.js +20 -25
  1523. package/src/vendorshipments_v1/model/GetShipmentDetailsResponse.js +19 -23
  1524. package/src/vendorshipments_v1/model/GetShipmentLabels.js +19 -23
  1525. package/src/vendorshipments_v1/model/ImportDetails.js +53 -62
  1526. package/src/vendorshipments_v1/model/InnerContainersDetails.js +18 -22
  1527. package/src/vendorshipments_v1/model/Item.js +28 -35
  1528. package/src/vendorshipments_v1/model/ItemDetails.js +35 -42
  1529. package/src/vendorshipments_v1/model/ItemQuantity.js +30 -36
  1530. package/src/vendorshipments_v1/model/LabelData.js +27 -34
  1531. package/src/vendorshipments_v1/model/Location.js +19 -24
  1532. package/src/vendorshipments_v1/model/Money.js +19 -23
  1533. package/src/vendorshipments_v1/model/PackageItemDetails.js +20 -25
  1534. package/src/vendorshipments_v1/model/PackedItems.js +25 -32
  1535. package/src/vendorshipments_v1/model/PackedQuantity.js +27 -32
  1536. package/src/vendorshipments_v1/model/Pagination.js +15 -18
  1537. package/src/vendorshipments_v1/model/Pallet.js +33 -42
  1538. package/src/vendorshipments_v1/model/PartyIdentification.js +22 -27
  1539. package/src/vendorshipments_v1/model/PurchaseOrderItemDetails.js +16 -19
  1540. package/src/vendorshipments_v1/model/PurchaseOrderItems.js +28 -35
  1541. package/src/vendorshipments_v1/model/PurchaseOrders.js +22 -28
  1542. package/src/vendorshipments_v1/model/Route.js +17 -20
  1543. package/src/vendorshipments_v1/model/Shipment.js +92 -114
  1544. package/src/vendorshipments_v1/model/ShipmentConfirmation.js +94 -113
  1545. package/src/vendorshipments_v1/model/ShipmentDetails.js +19 -23
  1546. package/src/vendorshipments_v1/model/ShipmentInformation.js +37 -47
  1547. package/src/vendorshipments_v1/model/ShipmentMeasurements.js +23 -29
  1548. package/src/vendorshipments_v1/model/ShipmentStatusDetails.js +27 -31
  1549. package/src/vendorshipments_v1/model/Stop.js +31 -37
  1550. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationsRequest.js +16 -19
  1551. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationsResponse.js +19 -23
  1552. package/src/vendorshipments_v1/model/SubmitShipments.js +16 -19
  1553. package/src/vendorshipments_v1/model/TaxRegistrationDetails.js +25 -29
  1554. package/src/vendorshipments_v1/model/TotalWeight.js +29 -33
  1555. package/src/vendorshipments_v1/model/TransactionReference.js +15 -18
  1556. package/src/vendorshipments_v1/model/TransportLabel.js +21 -26
  1557. package/src/vendorshipments_v1/model/TransportShipmentMeasurements.js +25 -32
  1558. package/src/vendorshipments_v1/model/TransportationDetails.js +44 -53
  1559. package/src/vendorshipments_v1/model/TransportationDetailsForShipmentConfirmation.js +29 -35
  1560. package/src/vendorshipments_v1/model/TransportationLabels.js +19 -23
  1561. package/src/vendorshipments_v1/model/VendorDetails.js +18 -22
  1562. package/src/vendorshipments_v1/model/Volume.js +29 -33
  1563. package/src/vendorshipments_v1/model/Weight.js +29 -33
  1564. package/src/vendortransactionstatus_v1/ApiClient.js +498 -497
  1565. package/src/vendortransactionstatus_v1/api/VendorTransactionApi.js +67 -43
  1566. package/src/vendortransactionstatus_v1/index.js +20 -21
  1567. package/src/vendortransactionstatus_v1/model/Error.js +21 -26
  1568. package/src/vendortransactionstatus_v1/model/GetTransactionResponse.js +19 -23
  1569. package/src/vendortransactionstatus_v1/model/Transaction.js +30 -35
  1570. package/src/vendortransactionstatus_v1/model/TransactionStatus.js +16 -19
  1571. package/helper/rate-limits.yml +0 -874
  1572. package/src/finances_2024_06_19/ApiClient.js +0 -822
  1573. package/src/finances_2024_06_19/api/DefaultApi.js +0 -98
  1574. package/src/finances_2024_06_19/index.js +0 -155
  1575. package/src/finances_2024_06_19/model/AmazonPayContext.js +0 -81
  1576. package/src/finances_2024_06_19/model/Breakdown.js +0 -80
  1577. package/src/finances_2024_06_19/model/Context.js +0 -315
  1578. package/src/finances_2024_06_19/model/Currency.js +0 -73
  1579. package/src/finances_2024_06_19/model/DeferredContext.js +0 -81
  1580. package/src/finances_2024_06_19/model/Error.js +0 -85
  1581. package/src/finances_2024_06_19/model/ErrorList.js +0 -68
  1582. package/src/finances_2024_06_19/model/Item.js +0 -100
  1583. package/src/finances_2024_06_19/model/ItemRelatedIdentifier.js +0 -105
  1584. package/src/finances_2024_06_19/model/ListTransactionsResponse.js +0 -74
  1585. package/src/finances_2024_06_19/model/MarketplaceDetails.js +0 -73
  1586. package/src/finances_2024_06_19/model/PaymentsContext.js +0 -89
  1587. package/src/finances_2024_06_19/model/ProductContext.js +0 -89
  1588. package/src/finances_2024_06_19/model/RelatedIdentifier.js +0 -123
  1589. package/src/finances_2024_06_19/model/SellingPartnerMetadata.js +0 -81
  1590. package/src/finances_2024_06_19/model/TimeRangeContext.js +0 -73
  1591. package/src/finances_2024_06_19/model/Transaction.js +0 -157
@@ -3,7 +3,7 @@
3
3
  * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon's fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
4
4
  *
5
5
  * The version of the OpenAPI document: 2024-03-20
6
- *
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -11,67 +11,69 @@
11
11
  *
12
12
  */
13
13
 
14
- import {ApiClient} from "../ApiClient.js";
15
- import {CancelInboundPlanResponse} from '../model/CancelInboundPlanResponse.js';
16
- import {CancelSelfShipAppointmentRequest} from '../model/CancelSelfShipAppointmentRequest.js';
17
- import {CancelSelfShipAppointmentResponse} from '../model/CancelSelfShipAppointmentResponse.js';
18
- import {ConfirmDeliveryWindowOptionsResponse} from '../model/ConfirmDeliveryWindowOptionsResponse.js';
19
- import {ConfirmPackingOptionResponse} from '../model/ConfirmPackingOptionResponse.js';
20
- import {ConfirmPlacementOptionResponse} from '../model/ConfirmPlacementOptionResponse.js';
21
- import {ConfirmShipmentContentUpdatePreviewResponse} from '../model/ConfirmShipmentContentUpdatePreviewResponse.js';
22
- import {ConfirmTransportationOptionsRequest} from '../model/ConfirmTransportationOptionsRequest.js';
23
- import {ConfirmTransportationOptionsResponse} from '../model/ConfirmTransportationOptionsResponse.js';
24
- import {ContentUpdatePreview} from '../model/ContentUpdatePreview.js';
25
- import {CreateInboundPlanRequest} from '../model/CreateInboundPlanRequest.js';
26
- import {CreateInboundPlanResponse} from '../model/CreateInboundPlanResponse.js';
27
- import {CreateMarketplaceItemLabelsRequest} from '../model/CreateMarketplaceItemLabelsRequest.js';
28
- import {CreateMarketplaceItemLabelsResponse} from '../model/CreateMarketplaceItemLabelsResponse.js';
29
- import {ErrorList} from '../model/ErrorList.js';
30
- import {GenerateDeliveryWindowOptionsResponse} from '../model/GenerateDeliveryWindowOptionsResponse.js';
31
- import {GeneratePackingOptionsResponse} from '../model/GeneratePackingOptionsResponse.js';
32
- import {GeneratePlacementOptionsRequest} from '../model/GeneratePlacementOptionsRequest.js';
33
- import {GeneratePlacementOptionsResponse} from '../model/GeneratePlacementOptionsResponse.js';
34
- import {GenerateSelfShipAppointmentSlotsRequest} from '../model/GenerateSelfShipAppointmentSlotsRequest.js';
35
- import {GenerateSelfShipAppointmentSlotsResponse} from '../model/GenerateSelfShipAppointmentSlotsResponse.js';
36
- import {GenerateShipmentContentUpdatePreviewsRequest} from '../model/GenerateShipmentContentUpdatePreviewsRequest.js';
37
- import {GenerateShipmentContentUpdatePreviewsResponse} from '../model/GenerateShipmentContentUpdatePreviewsResponse.js';
38
- import {GenerateTransportationOptionsRequest} from '../model/GenerateTransportationOptionsRequest.js';
39
- import {GenerateTransportationOptionsResponse} from '../model/GenerateTransportationOptionsResponse.js';
40
- import {GetDeliveryChallanDocumentResponse} from '../model/GetDeliveryChallanDocumentResponse.js';
41
- import {GetSelfShipAppointmentSlotsResponse} from '../model/GetSelfShipAppointmentSlotsResponse.js';
42
- import {InboundOperationStatus} from '../model/InboundOperationStatus.js';
43
- import {InboundPlan} from '../model/InboundPlan.js';
44
- import {ListDeliveryWindowOptionsResponse} from '../model/ListDeliveryWindowOptionsResponse.js';
45
- import {ListInboundPlanBoxesResponse} from '../model/ListInboundPlanBoxesResponse.js';
46
- import {ListInboundPlanItemsResponse} from '../model/ListInboundPlanItemsResponse.js';
47
- import {ListInboundPlanPalletsResponse} from '../model/ListInboundPlanPalletsResponse.js';
48
- import {ListInboundPlansResponse} from '../model/ListInboundPlansResponse.js';
49
- import {ListItemComplianceDetailsResponse} from '../model/ListItemComplianceDetailsResponse.js';
50
- import {ListPackingGroupBoxesResponse} from '../model/ListPackingGroupBoxesResponse.js';
51
- import {ListPackingGroupItemsResponse} from '../model/ListPackingGroupItemsResponse.js';
52
- import {ListPackingOptionsResponse} from '../model/ListPackingOptionsResponse.js';
53
- import {ListPlacementOptionsResponse} from '../model/ListPlacementOptionsResponse.js';
54
- import {ListPrepDetailsResponse} from '../model/ListPrepDetailsResponse.js';
55
- import {ListShipmentBoxesResponse} from '../model/ListShipmentBoxesResponse.js';
56
- import {ListShipmentContentUpdatePreviewsResponse} from '../model/ListShipmentContentUpdatePreviewsResponse.js';
57
- import {ListShipmentItemsResponse} from '../model/ListShipmentItemsResponse.js';
58
- import {ListShipmentPalletsResponse} from '../model/ListShipmentPalletsResponse.js';
59
- import {ListTransportationOptionsResponse} from '../model/ListTransportationOptionsResponse.js';
60
- import {ScheduleSelfShipAppointmentRequest} from '../model/ScheduleSelfShipAppointmentRequest.js';
61
- import {ScheduleSelfShipAppointmentResponse} from '../model/ScheduleSelfShipAppointmentResponse.js';
62
- import {SetPackingInformationRequest} from '../model/SetPackingInformationRequest.js';
63
- import {SetPackingInformationResponse} from '../model/SetPackingInformationResponse.js';
64
- import {SetPrepDetailsRequest} from '../model/SetPrepDetailsRequest.js';
65
- import {SetPrepDetailsResponse} from '../model/SetPrepDetailsResponse.js';
66
- import {Shipment} from '../model/Shipment.js';
67
- import {UpdateInboundPlanNameRequest} from '../model/UpdateInboundPlanNameRequest.js';
68
- import {UpdateItemComplianceDetailsRequest} from '../model/UpdateItemComplianceDetailsRequest.js';
69
- import {UpdateItemComplianceDetailsResponse} from '../model/UpdateItemComplianceDetailsResponse.js';
70
- import {UpdateShipmentNameRequest} from '../model/UpdateShipmentNameRequest.js';
71
- import {UpdateShipmentSourceAddressRequest} from '../model/UpdateShipmentSourceAddressRequest.js';
72
- import {UpdateShipmentSourceAddressResponse} from '../model/UpdateShipmentSourceAddressResponse.js';
73
- import {UpdateShipmentTrackingDetailsRequest} from '../model/UpdateShipmentTrackingDetailsRequest.js';
74
- import {UpdateShipmentTrackingDetailsResponse} from '../model/UpdateShipmentTrackingDetailsResponse.js';
14
+ import { ApiClient } from '../ApiClient.js'
15
+ import { CancelInboundPlanResponse } from '../model/CancelInboundPlanResponse.js'
16
+ import { CancelSelfShipAppointmentRequest } from '../model/CancelSelfShipAppointmentRequest.js'
17
+ import { CancelSelfShipAppointmentResponse } from '../model/CancelSelfShipAppointmentResponse.js'
18
+ import { ConfirmDeliveryWindowOptionsResponse } from '../model/ConfirmDeliveryWindowOptionsResponse.js'
19
+ import { ConfirmPackingOptionResponse } from '../model/ConfirmPackingOptionResponse.js'
20
+ import { ConfirmPlacementOptionResponse } from '../model/ConfirmPlacementOptionResponse.js'
21
+ import { ConfirmShipmentContentUpdatePreviewResponse } from '../model/ConfirmShipmentContentUpdatePreviewResponse.js'
22
+ import { ConfirmTransportationOptionsRequest } from '../model/ConfirmTransportationOptionsRequest.js'
23
+ import { ConfirmTransportationOptionsResponse } from '../model/ConfirmTransportationOptionsResponse.js'
24
+ import { ContentUpdatePreview } from '../model/ContentUpdatePreview.js'
25
+ import { CreateInboundPlanRequest } from '../model/CreateInboundPlanRequest.js'
26
+ import { CreateInboundPlanResponse } from '../model/CreateInboundPlanResponse.js'
27
+ import { CreateMarketplaceItemLabelsRequest } from '../model/CreateMarketplaceItemLabelsRequest.js'
28
+ import { CreateMarketplaceItemLabelsResponse } from '../model/CreateMarketplaceItemLabelsResponse.js'
29
+ import { ErrorList } from '../model/ErrorList.js'
30
+ import { GenerateDeliveryWindowOptionsResponse } from '../model/GenerateDeliveryWindowOptionsResponse.js'
31
+ import { GeneratePackingOptionsResponse } from '../model/GeneratePackingOptionsResponse.js'
32
+ import { GeneratePlacementOptionsRequest } from '../model/GeneratePlacementOptionsRequest.js'
33
+ import { GeneratePlacementOptionsResponse } from '../model/GeneratePlacementOptionsResponse.js'
34
+ import { GenerateSelfShipAppointmentSlotsRequest } from '../model/GenerateSelfShipAppointmentSlotsRequest.js'
35
+ import { GenerateSelfShipAppointmentSlotsResponse } from '../model/GenerateSelfShipAppointmentSlotsResponse.js'
36
+ import { GenerateShipmentContentUpdatePreviewsRequest } from '../model/GenerateShipmentContentUpdatePreviewsRequest.js'
37
+ import { GenerateShipmentContentUpdatePreviewsResponse } from '../model/GenerateShipmentContentUpdatePreviewsResponse.js'
38
+ import { GenerateTransportationOptionsRequest } from '../model/GenerateTransportationOptionsRequest.js'
39
+ import { GenerateTransportationOptionsResponse } from '../model/GenerateTransportationOptionsResponse.js'
40
+ import { GetDeliveryChallanDocumentResponse } from '../model/GetDeliveryChallanDocumentResponse.js'
41
+ import { GetSelfShipAppointmentSlotsResponse } from '../model/GetSelfShipAppointmentSlotsResponse.js'
42
+ import { InboundOperationStatus } from '../model/InboundOperationStatus.js'
43
+ import { InboundPlan } from '../model/InboundPlan.js'
44
+ import { ListDeliveryWindowOptionsResponse } from '../model/ListDeliveryWindowOptionsResponse.js'
45
+ import { ListInboundPlanBoxesResponse } from '../model/ListInboundPlanBoxesResponse.js'
46
+ import { ListInboundPlanItemsResponse } from '../model/ListInboundPlanItemsResponse.js'
47
+ import { ListInboundPlanPalletsResponse } from '../model/ListInboundPlanPalletsResponse.js'
48
+ import { ListInboundPlansResponse } from '../model/ListInboundPlansResponse.js'
49
+ import { ListItemComplianceDetailsResponse } from '../model/ListItemComplianceDetailsResponse.js'
50
+ import { ListPackingGroupBoxesResponse } from '../model/ListPackingGroupBoxesResponse.js'
51
+ import { ListPackingGroupItemsResponse } from '../model/ListPackingGroupItemsResponse.js'
52
+ import { ListPackingOptionsResponse } from '../model/ListPackingOptionsResponse.js'
53
+ import { ListPlacementOptionsResponse } from '../model/ListPlacementOptionsResponse.js'
54
+ import { ListPrepDetailsResponse } from '../model/ListPrepDetailsResponse.js'
55
+ import { ListShipmentBoxesResponse } from '../model/ListShipmentBoxesResponse.js'
56
+ import { ListShipmentContentUpdatePreviewsResponse } from '../model/ListShipmentContentUpdatePreviewsResponse.js'
57
+ import { ListShipmentItemsResponse } from '../model/ListShipmentItemsResponse.js'
58
+ import { ListShipmentPalletsResponse } from '../model/ListShipmentPalletsResponse.js'
59
+ import { ListTransportationOptionsResponse } from '../model/ListTransportationOptionsResponse.js'
60
+ import { ScheduleSelfShipAppointmentRequest } from '../model/ScheduleSelfShipAppointmentRequest.js'
61
+ import { ScheduleSelfShipAppointmentResponse } from '../model/ScheduleSelfShipAppointmentResponse.js'
62
+ import { SetPackingInformationRequest } from '../model/SetPackingInformationRequest.js'
63
+ import { SetPackingInformationResponse } from '../model/SetPackingInformationResponse.js'
64
+ import { SetPrepDetailsRequest } from '../model/SetPrepDetailsRequest.js'
65
+ import { SetPrepDetailsResponse } from '../model/SetPrepDetailsResponse.js'
66
+ import { Shipment } from '../model/Shipment.js'
67
+ import { UpdateInboundPlanNameRequest } from '../model/UpdateInboundPlanNameRequest.js'
68
+ import { UpdateItemComplianceDetailsRequest } from '../model/UpdateItemComplianceDetailsRequest.js'
69
+ import { UpdateItemComplianceDetailsResponse } from '../model/UpdateItemComplianceDetailsResponse.js'
70
+ import { UpdateShipmentNameRequest } from '../model/UpdateShipmentNameRequest.js'
71
+ import { UpdateShipmentSourceAddressRequest } from '../model/UpdateShipmentSourceAddressRequest.js'
72
+ import { UpdateShipmentSourceAddressResponse } from '../model/UpdateShipmentSourceAddressResponse.js'
73
+ import { UpdateShipmentTrackingDetailsRequest } from '../model/UpdateShipmentTrackingDetailsRequest.js'
74
+ import { UpdateShipmentTrackingDetailsResponse } from '../model/UpdateShipmentTrackingDetailsResponse.js'
75
+ import { SuperagentRateLimiter } from '../../../helper/SuperagentRateLimiter.mjs'
76
+ import { DefaultRateLimitFetcher } from '../../../helper/DefaultRateLimitFetcher.mjs'
75
77
 
76
78
  /**
77
79
  * FbaInbound service.
@@ -79,1014 +81,1047 @@ import {UpdateShipmentTrackingDetailsResponse} from '../model/UpdateShipmentTrac
79
81
  * @version 2024-03-20
80
82
  */
81
83
  export class FbaInboundApi {
84
+ // Private memeber stores the default rate limiters
85
+ #defaultRateLimiterMap
82
86
 
83
- /**
84
- * Constructs a new FbaInboundApi.
87
+ /**
88
+ * Constructs a new FbaInboundApi.
85
89
  * @alias module:fulfillmentinbound_v2024_03_20/api/FbaInboundApi
86
90
  * @class
87
91
  * @param {module:fulfillmentinbound_v2024_03_20/ApiClient} [apiClient] Optional API client implementation to use,
88
92
  * default to {@link module:fulfillmentinbound_v2024_03_20/ApiClient#instance} if unspecified.
89
93
  */
90
- constructor(apiClient) {
91
- this.apiClient = apiClient || ApiClient.instance;
92
- }
93
-
94
-
95
-
96
- /**
94
+ constructor (apiClient) {
95
+ this.apiClient = apiClient || ApiClient.instance
96
+ this.initializeDefaultRateLimiterMap()
97
+ }
98
+
99
+ /**
100
+ * Initialize rate limiters for API operations
101
+ */
102
+ initializeDefaultRateLimiterMap () {
103
+ this.#defaultRateLimiterMap = new Map()
104
+ const defaultRateLimitFetcher = new DefaultRateLimitFetcher()
105
+ const operations = [
106
+ 'FbaInboundApi-cancelInboundPlan',
107
+ 'FbaInboundApi-cancelSelfShipAppointment',
108
+ 'FbaInboundApi-confirmDeliveryWindowOptions',
109
+ 'FbaInboundApi-confirmPackingOption',
110
+ 'FbaInboundApi-confirmPlacementOption',
111
+ 'FbaInboundApi-confirmShipmentContentUpdatePreview',
112
+ 'FbaInboundApi-confirmTransportationOptions',
113
+ 'FbaInboundApi-createInboundPlan',
114
+ 'FbaInboundApi-createMarketplaceItemLabels',
115
+ 'FbaInboundApi-generateDeliveryWindowOptions',
116
+ 'FbaInboundApi-generatePackingOptions',
117
+ 'FbaInboundApi-generatePlacementOptions',
118
+ 'FbaInboundApi-generateSelfShipAppointmentSlots',
119
+ 'FbaInboundApi-generateShipmentContentUpdatePreviews',
120
+ 'FbaInboundApi-generateTransportationOptions',
121
+ 'FbaInboundApi-getDeliveryChallanDocument',
122
+ 'FbaInboundApi-getInboundOperationStatus',
123
+ 'FbaInboundApi-getInboundPlan',
124
+ 'FbaInboundApi-getSelfShipAppointmentSlots',
125
+ 'FbaInboundApi-getShipment',
126
+ 'FbaInboundApi-getShipmentContentUpdatePreview',
127
+ 'FbaInboundApi-listDeliveryWindowOptions',
128
+ 'FbaInboundApi-listInboundPlanBoxes',
129
+ 'FbaInboundApi-listInboundPlanItems',
130
+ 'FbaInboundApi-listInboundPlanPallets',
131
+ 'FbaInboundApi-listInboundPlans',
132
+ 'FbaInboundApi-listItemComplianceDetails',
133
+ 'FbaInboundApi-listPackingGroupBoxes',
134
+ 'FbaInboundApi-listPackingGroupItems',
135
+ 'FbaInboundApi-listPackingOptions',
136
+ 'FbaInboundApi-listPlacementOptions',
137
+ 'FbaInboundApi-listPrepDetails',
138
+ 'FbaInboundApi-listShipmentBoxes',
139
+ 'FbaInboundApi-listShipmentContentUpdatePreviews',
140
+ 'FbaInboundApi-listShipmentItems',
141
+ 'FbaInboundApi-listShipmentPallets',
142
+ 'FbaInboundApi-listTransportationOptions',
143
+ 'FbaInboundApi-scheduleSelfShipAppointment',
144
+ 'FbaInboundApi-setPackingInformation',
145
+ 'FbaInboundApi-setPrepDetails',
146
+ 'FbaInboundApi-updateInboundPlanName',
147
+ 'FbaInboundApi-updateItemComplianceDetails',
148
+ 'FbaInboundApi-updateShipmentName',
149
+ 'FbaInboundApi-updateShipmentSourceAddress',
150
+ 'FbaInboundApi-updateShipmentTrackingDetails'
151
+ ]
152
+
153
+ for (const operation of operations) {
154
+ const config = defaultRateLimitFetcher.getLimit(operation)
155
+ this.#defaultRateLimiterMap.set(operation, new SuperagentRateLimiter(config))
156
+ }
157
+ }
158
+
159
+ /**
160
+ * Get rate limiter for a specific operation
161
+ * @param {String} operation name
162
+ */
163
+ getRateLimiter (operation) {
164
+ return this.#defaultRateLimiterMap.get(operation)
165
+ }
166
+
167
+ /**
97
168
  * Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
98
169
  * @param {String} inboundPlanId Identifier of an inbound plan.
99
170
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse} and HTTP response
100
171
  */
101
- cancelInboundPlanWithHttpInfo(inboundPlanId) {
102
- let postBody = null;
103
-
104
- // verify the required parameter 'inboundPlanId' is set
105
- if (inboundPlanId === undefined || inboundPlanId === null) {
106
- throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelInboundPlan");
107
- }
172
+ cancelInboundPlanWithHttpInfo (inboundPlanId) {
173
+ const postBody = null
108
174
 
175
+ // verify the required parameter 'inboundPlanId' is set
176
+ if (inboundPlanId === undefined || inboundPlanId === null) {
177
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelInboundPlan")
178
+ }
109
179
 
110
- let pathParams = {
111
- 'inboundPlanId': inboundPlanId
112
- };
113
- let queryParams = {
114
- };
115
- let headerParams = {
116
- };
117
- let formParams = {
118
- };
180
+ const pathParams = {
181
+ inboundPlanId
182
+ }
183
+ const queryParams = {
184
+ }
185
+ const headerParams = {
186
+ }
187
+ const formParams = {
188
+ }
119
189
 
120
- let contentTypes = [];
121
- let accepts = ['application/json'];
122
- let returnType = CancelInboundPlanResponse;
190
+ const contentTypes = []
191
+ const accepts = ['application/json']
192
+ const returnType = CancelInboundPlanResponse
123
193
 
124
- return this.apiClient.callApi( 'FbaInboundApi-cancelInboundPlan',
125
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/cancellation', 'PUT',
126
- pathParams, queryParams, headerParams, formParams, postBody,
127
- contentTypes, accepts, returnType
128
- );
129
- }
194
+ return this.apiClient.callApi('FbaInboundApi-cancelInboundPlan',
195
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/cancellation', 'PUT',
196
+ pathParams, queryParams, headerParams, formParams, postBody,
197
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-cancelInboundPlan')
198
+ )
199
+ }
130
200
 
131
- /**
201
+ /**
132
202
  * Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
133
203
  * @param {String} inboundPlanId Identifier of an inbound plan.
134
204
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse}
135
205
  */
136
- cancelInboundPlan(inboundPlanId) {
137
- return this.cancelInboundPlanWithHttpInfo(inboundPlanId)
138
- .then(function(response_and_data) {
139
- return response_and_data.data;
140
- });
141
- }
142
-
206
+ cancelInboundPlan (inboundPlanId) {
207
+ return this.cancelInboundPlanWithHttpInfo(inboundPlanId)
208
+ .then(function (response_and_data) {
209
+ return response_and_data.data
210
+ })
211
+ }
143
212
 
144
- /**
145
- * Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **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 see 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).
213
+ /**
214
+ * Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **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 see 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).
146
215
  * @param {String} inboundPlanId Identifier of an inbound plan.
147
216
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
148
217
  * @param {module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest} body The body of the request to `cancelSelfShipAppointment`.
149
218
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse} and HTTP response
150
219
  */
151
- cancelSelfShipAppointmentWithHttpInfo(inboundPlanId, shipmentId, body) {
152
- let postBody = body;
220
+ cancelSelfShipAppointmentWithHttpInfo (inboundPlanId, shipmentId, body) {
221
+ const postBody = body
153
222
 
154
- // verify the required parameter 'inboundPlanId' is set
155
- if (inboundPlanId === undefined || inboundPlanId === null) {
156
- throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelSelfShipAppointment");
157
- }
158
-
159
- // verify the required parameter 'shipmentId' is set
160
- if (shipmentId === undefined || shipmentId === null) {
161
- throw new Error("Missing the required parameter 'shipmentId' when calling cancelSelfShipAppointment");
162
- }
223
+ // verify the required parameter 'inboundPlanId' is set
224
+ if (inboundPlanId === undefined || inboundPlanId === null) {
225
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelSelfShipAppointment")
226
+ }
163
227
 
164
- // verify the required parameter 'body' is set
165
- if (body === undefined || body === null) {
166
- throw new Error("Missing the required parameter 'body' when calling cancelSelfShipAppointment");
167
- }
228
+ // verify the required parameter 'shipmentId' is set
229
+ if (shipmentId === undefined || shipmentId === null) {
230
+ throw new Error("Missing the required parameter 'shipmentId' when calling cancelSelfShipAppointment")
231
+ }
168
232
 
233
+ // verify the required parameter 'body' is set
234
+ if (body === undefined || body === null) {
235
+ throw new Error("Missing the required parameter 'body' when calling cancelSelfShipAppointment")
236
+ }
169
237
 
170
- let pathParams = {
171
- 'inboundPlanId': inboundPlanId,
172
- 'shipmentId': shipmentId
173
- };
174
- let queryParams = {
175
- };
176
- let headerParams = {
177
- };
178
- let formParams = {
179
- };
238
+ const pathParams = {
239
+ inboundPlanId,
240
+ shipmentId
241
+ }
242
+ const queryParams = {
243
+ }
244
+ const headerParams = {
245
+ }
246
+ const formParams = {
247
+ }
180
248
 
181
- let contentTypes = ['application/json'];
182
- let accepts = ['application/json'];
183
- let returnType = CancelSelfShipAppointmentResponse;
249
+ const contentTypes = ['application/json']
250
+ const accepts = ['application/json']
251
+ const returnType = CancelSelfShipAppointmentResponse
184
252
 
185
- return this.apiClient.callApi( 'FbaInboundApi-cancelSelfShipAppointment',
186
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentCancellation', 'PUT',
187
- pathParams, queryParams, headerParams, formParams, postBody,
188
- contentTypes, accepts, returnType
189
- );
190
- }
253
+ return this.apiClient.callApi('FbaInboundApi-cancelSelfShipAppointment',
254
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentCancellation', 'PUT',
255
+ pathParams, queryParams, headerParams, formParams, postBody,
256
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-cancelSelfShipAppointment')
257
+ )
258
+ }
191
259
 
192
- /**
193
- * Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **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 see 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).
260
+ /**
261
+ * Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **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 see 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).
194
262
  * @param {String} inboundPlanId Identifier of an inbound plan.
195
263
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
196
264
  * @param {module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest} body The body of the request to `cancelSelfShipAppointment`.
197
265
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse}
198
266
  */
199
- cancelSelfShipAppointment(inboundPlanId, shipmentId, body) {
200
- return this.cancelSelfShipAppointmentWithHttpInfo(inboundPlanId, shipmentId, body)
201
- .then(function(response_and_data) {
202
- return response_and_data.data;
203
- });
204
- }
267
+ cancelSelfShipAppointment (inboundPlanId, shipmentId, body) {
268
+ return this.cancelSelfShipAppointmentWithHttpInfo(inboundPlanId, shipmentId, body)
269
+ .then(function (response_and_data) {
270
+ return response_and_data.data
271
+ })
272
+ }
205
273
 
206
-
207
- /**
274
+ /**
208
275
  * Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation. **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 contains 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).
209
276
  * @param {String} inboundPlanId Identifier of an inbound plan.
210
277
  * @param {String} shipmentId The shipment to confirm the delivery window option for.
211
278
  * @param {String} deliveryWindowOptionId The id of the delivery window option to be confirmed.
212
279
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse} and HTTP response
213
280
  */
214
- confirmDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId, deliveryWindowOptionId) {
215
- let postBody = null;
216
-
217
- // verify the required parameter 'inboundPlanId' is set
218
- if (inboundPlanId === undefined || inboundPlanId === null) {
219
- throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmDeliveryWindowOptions");
220
- }
221
-
222
- // verify the required parameter 'shipmentId' is set
223
- if (shipmentId === undefined || shipmentId === null) {
224
- throw new Error("Missing the required parameter 'shipmentId' when calling confirmDeliveryWindowOptions");
225
- }
226
-
227
- // verify the required parameter 'deliveryWindowOptionId' is set
228
- if (deliveryWindowOptionId === undefined || deliveryWindowOptionId === null) {
229
- throw new Error("Missing the required parameter 'deliveryWindowOptionId' when calling confirmDeliveryWindowOptions");
230
- }
231
-
232
-
233
- let pathParams = {
234
- 'inboundPlanId': inboundPlanId,
235
- 'shipmentId': shipmentId,
236
- 'deliveryWindowOptionId': deliveryWindowOptionId
237
- };
238
- let queryParams = {
239
- };
240
- let headerParams = {
241
- };
242
- let formParams = {
243
- };
244
-
245
- let contentTypes = [];
246
- let accepts = ['application/json'];
247
- let returnType = ConfirmDeliveryWindowOptionsResponse;
248
-
249
- return this.apiClient.callApi( 'FbaInboundApi-confirmDeliveryWindowOptions',
250
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions/{deliveryWindowOptionId}/confirmation', 'POST',
251
- pathParams, queryParams, headerParams, formParams, postBody,
252
- contentTypes, accepts, returnType
253
- );
254
- }
255
-
256
- /**
281
+ confirmDeliveryWindowOptionsWithHttpInfo (inboundPlanId, shipmentId, deliveryWindowOptionId) {
282
+ const postBody = null
283
+
284
+ // verify the required parameter 'inboundPlanId' is set
285
+ if (inboundPlanId === undefined || inboundPlanId === null) {
286
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmDeliveryWindowOptions")
287
+ }
288
+
289
+ // verify the required parameter 'shipmentId' is set
290
+ if (shipmentId === undefined || shipmentId === null) {
291
+ throw new Error("Missing the required parameter 'shipmentId' when calling confirmDeliveryWindowOptions")
292
+ }
293
+
294
+ // verify the required parameter 'deliveryWindowOptionId' is set
295
+ if (deliveryWindowOptionId === undefined || deliveryWindowOptionId === null) {
296
+ throw new Error("Missing the required parameter 'deliveryWindowOptionId' when calling confirmDeliveryWindowOptions")
297
+ }
298
+
299
+ const pathParams = {
300
+ inboundPlanId,
301
+ shipmentId,
302
+ deliveryWindowOptionId
303
+ }
304
+ const queryParams = {
305
+ }
306
+ const headerParams = {
307
+ }
308
+ const formParams = {
309
+ }
310
+
311
+ const contentTypes = []
312
+ const accepts = ['application/json']
313
+ const returnType = ConfirmDeliveryWindowOptionsResponse
314
+
315
+ return this.apiClient.callApi('FbaInboundApi-confirmDeliveryWindowOptions',
316
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions/{deliveryWindowOptionId}/confirmation', 'POST',
317
+ pathParams, queryParams, headerParams, formParams, postBody,
318
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmDeliveryWindowOptions')
319
+ )
320
+ }
321
+
322
+ /**
257
323
  * Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation. **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 contains 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).
258
324
  * @param {String} inboundPlanId Identifier of an inbound plan.
259
325
  * @param {String} shipmentId The shipment to confirm the delivery window option for.
260
326
  * @param {String} deliveryWindowOptionId The id of the delivery window option to be confirmed.
261
327
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse}
262
328
  */
263
- confirmDeliveryWindowOptions(inboundPlanId, shipmentId, deliveryWindowOptionId) {
264
- return this.confirmDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId, deliveryWindowOptionId)
265
- .then(function(response_and_data) {
266
- return response_and_data.data;
267
- });
268
- }
329
+ confirmDeliveryWindowOptions (inboundPlanId, shipmentId, deliveryWindowOptionId) {
330
+ return this.confirmDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId, deliveryWindowOptionId)
331
+ .then(function (response_and_data) {
332
+ return response_and_data.data
333
+ })
334
+ }
269
335
 
270
-
271
- /**
336
+ /**
272
337
  * Confirms the packing option for an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
273
338
  * @param {String} inboundPlanId Identifier of an inbound plan.
274
339
  * @param {String} packingOptionId Identifier of a packing option.
275
340
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse} and HTTP response
276
341
  */
277
- confirmPackingOptionWithHttpInfo(inboundPlanId, packingOptionId) {
278
- let postBody = null;
342
+ confirmPackingOptionWithHttpInfo (inboundPlanId, packingOptionId) {
343
+ const postBody = null
279
344
 
280
- // verify the required parameter 'inboundPlanId' is set
281
- if (inboundPlanId === undefined || inboundPlanId === null) {
282
- throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmPackingOption");
283
- }
345
+ // verify the required parameter 'inboundPlanId' is set
346
+ if (inboundPlanId === undefined || inboundPlanId === null) {
347
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmPackingOption")
348
+ }
284
349
 
285
- // verify the required parameter 'packingOptionId' is set
286
- if (packingOptionId === undefined || packingOptionId === null) {
287
- throw new Error("Missing the required parameter 'packingOptionId' when calling confirmPackingOption");
288
- }
350
+ // verify the required parameter 'packingOptionId' is set
351
+ if (packingOptionId === undefined || packingOptionId === null) {
352
+ throw new Error("Missing the required parameter 'packingOptionId' when calling confirmPackingOption")
353
+ }
289
354
 
355
+ const pathParams = {
356
+ inboundPlanId,
357
+ packingOptionId
358
+ }
359
+ const queryParams = {
360
+ }
361
+ const headerParams = {
362
+ }
363
+ const formParams = {
364
+ }
290
365
 
291
- let pathParams = {
292
- 'inboundPlanId': inboundPlanId,
293
- 'packingOptionId': packingOptionId
294
- };
295
- let queryParams = {
296
- };
297
- let headerParams = {
298
- };
299
- let formParams = {
300
- };
366
+ const contentTypes = []
367
+ const accepts = ['application/json']
368
+ const returnType = ConfirmPackingOptionResponse
301
369
 
302
- let contentTypes = [];
303
- let accepts = ['application/json'];
304
- let returnType = ConfirmPackingOptionResponse;
370
+ return this.apiClient.callApi('FbaInboundApi-confirmPackingOption',
371
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions/{packingOptionId}/confirmation', 'POST',
372
+ pathParams, queryParams, headerParams, formParams, postBody,
373
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmPackingOption')
374
+ )
375
+ }
305
376
 
306
- return this.apiClient.callApi( 'FbaInboundApi-confirmPackingOption',
307
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions/{packingOptionId}/confirmation', 'POST',
308
- pathParams, queryParams, headerParams, formParams, postBody,
309
- contentTypes, accepts, returnType
310
- );
311
- }
312
-
313
- /**
377
+ /**
314
378
  * Confirms the packing option for an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
315
379
  * @param {String} inboundPlanId Identifier of an inbound plan.
316
380
  * @param {String} packingOptionId Identifier of a packing option.
317
381
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse}
318
382
  */
319
- confirmPackingOption(inboundPlanId, packingOptionId) {
320
- return this.confirmPackingOptionWithHttpInfo(inboundPlanId, packingOptionId)
321
- .then(function(response_and_data) {
322
- return response_and_data.data;
323
- });
324
- }
383
+ confirmPackingOption (inboundPlanId, packingOptionId) {
384
+ return this.confirmPackingOptionWithHttpInfo(inboundPlanId, packingOptionId)
385
+ .then(function (response_and_data) {
386
+ return response_and_data.data
387
+ })
388
+ }
325
389
 
326
-
327
- /**
390
+ /**
328
391
  * Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
329
392
  * @param {String} inboundPlanId Identifier of an inbound plan.
330
393
  * @param {String} placementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
331
394
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse} and HTTP response
332
395
  */
333
- confirmPlacementOptionWithHttpInfo(inboundPlanId, placementOptionId) {
334
- let postBody = null;
335
-
336
- // verify the required parameter 'inboundPlanId' is set
337
- if (inboundPlanId === undefined || inboundPlanId === null) {
338
- throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmPlacementOption");
339
- }
396
+ confirmPlacementOptionWithHttpInfo (inboundPlanId, placementOptionId) {
397
+ const postBody = null
340
398
 
341
- // verify the required parameter 'placementOptionId' is set
342
- if (placementOptionId === undefined || placementOptionId === null) {
343
- throw new Error("Missing the required parameter 'placementOptionId' when calling confirmPlacementOption");
344
- }
399
+ // verify the required parameter 'inboundPlanId' is set
400
+ if (inboundPlanId === undefined || inboundPlanId === null) {
401
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmPlacementOption")
402
+ }
345
403
 
404
+ // verify the required parameter 'placementOptionId' is set
405
+ if (placementOptionId === undefined || placementOptionId === null) {
406
+ throw new Error("Missing the required parameter 'placementOptionId' when calling confirmPlacementOption")
407
+ }
346
408
 
347
- let pathParams = {
348
- 'inboundPlanId': inboundPlanId,
349
- 'placementOptionId': placementOptionId
350
- };
351
- let queryParams = {
352
- };
353
- let headerParams = {
354
- };
355
- let formParams = {
356
- };
409
+ const pathParams = {
410
+ inboundPlanId,
411
+ placementOptionId
412
+ }
413
+ const queryParams = {
414
+ }
415
+ const headerParams = {
416
+ }
417
+ const formParams = {
418
+ }
357
419
 
358
- let contentTypes = [];
359
- let accepts = ['application/json'];
360
- let returnType = ConfirmPlacementOptionResponse;
420
+ const contentTypes = []
421
+ const accepts = ['application/json']
422
+ const returnType = ConfirmPlacementOptionResponse
361
423
 
362
- return this.apiClient.callApi( 'FbaInboundApi-confirmPlacementOption',
363
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions/{placementOptionId}/confirmation', 'POST',
364
- pathParams, queryParams, headerParams, formParams, postBody,
365
- contentTypes, accepts, returnType
366
- );
367
- }
424
+ return this.apiClient.callApi('FbaInboundApi-confirmPlacementOption',
425
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions/{placementOptionId}/confirmation', 'POST',
426
+ pathParams, queryParams, headerParams, formParams, postBody,
427
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmPlacementOption')
428
+ )
429
+ }
368
430
 
369
- /**
431
+ /**
370
432
  * Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
371
433
  * @param {String} inboundPlanId Identifier of an inbound plan.
372
434
  * @param {String} placementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
373
435
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse}
374
436
  */
375
- confirmPlacementOption(inboundPlanId, placementOptionId) {
376
- return this.confirmPlacementOptionWithHttpInfo(inboundPlanId, placementOptionId)
377
- .then(function(response_and_data) {
378
- return response_and_data.data;
379
- });
380
- }
437
+ confirmPlacementOption (inboundPlanId, placementOptionId) {
438
+ return this.confirmPlacementOptionWithHttpInfo(inboundPlanId, placementOptionId)
439
+ .then(function (response_and_data) {
440
+ return response_and_data.data
441
+ })
442
+ }
381
443
 
382
-
383
- /**
444
+ /**
384
445
  * Confirm a shipment content update preview and accept the changes in transportation cost. **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 contains 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).
385
446
  * @param {String} inboundPlanId Identifier of an inbound plan.
386
447
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
387
448
  * @param {String} contentUpdatePreviewId Identifier of a content update preview.
388
449
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse} and HTTP response
389
450
  */
390
- confirmShipmentContentUpdatePreviewWithHttpInfo(inboundPlanId, shipmentId, contentUpdatePreviewId) {
391
- let postBody = null;
392
-
393
- // verify the required parameter 'inboundPlanId' is set
394
- if (inboundPlanId === undefined || inboundPlanId === null) {
395
- throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmShipmentContentUpdatePreview");
396
- }
397
-
398
- // verify the required parameter 'shipmentId' is set
399
- if (shipmentId === undefined || shipmentId === null) {
400
- throw new Error("Missing the required parameter 'shipmentId' when calling confirmShipmentContentUpdatePreview");
401
- }
402
-
403
- // verify the required parameter 'contentUpdatePreviewId' is set
404
- if (contentUpdatePreviewId === undefined || contentUpdatePreviewId === null) {
405
- throw new Error("Missing the required parameter 'contentUpdatePreviewId' when calling confirmShipmentContentUpdatePreview");
406
- }
407
-
408
-
409
- let pathParams = {
410
- 'inboundPlanId': inboundPlanId,
411
- 'shipmentId': shipmentId,
412
- 'contentUpdatePreviewId': contentUpdatePreviewId
413
- };
414
- let queryParams = {
415
- };
416
- let headerParams = {
417
- };
418
- let formParams = {
419
- };
420
-
421
- let contentTypes = [];
422
- let accepts = ['application/json'];
423
- let returnType = ConfirmShipmentContentUpdatePreviewResponse;
424
-
425
- return this.apiClient.callApi( 'FbaInboundApi-confirmShipmentContentUpdatePreview',
426
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews/{contentUpdatePreviewId}/confirmation', 'POST',
427
- pathParams, queryParams, headerParams, formParams, postBody,
428
- contentTypes, accepts, returnType
429
- );
430
- }
431
-
432
- /**
451
+ confirmShipmentContentUpdatePreviewWithHttpInfo (inboundPlanId, shipmentId, contentUpdatePreviewId) {
452
+ const postBody = null
453
+
454
+ // verify the required parameter 'inboundPlanId' is set
455
+ if (inboundPlanId === undefined || inboundPlanId === null) {
456
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmShipmentContentUpdatePreview")
457
+ }
458
+
459
+ // verify the required parameter 'shipmentId' is set
460
+ if (shipmentId === undefined || shipmentId === null) {
461
+ throw new Error("Missing the required parameter 'shipmentId' when calling confirmShipmentContentUpdatePreview")
462
+ }
463
+
464
+ // verify the required parameter 'contentUpdatePreviewId' is set
465
+ if (contentUpdatePreviewId === undefined || contentUpdatePreviewId === null) {
466
+ throw new Error("Missing the required parameter 'contentUpdatePreviewId' when calling confirmShipmentContentUpdatePreview")
467
+ }
468
+
469
+ const pathParams = {
470
+ inboundPlanId,
471
+ shipmentId,
472
+ contentUpdatePreviewId
473
+ }
474
+ const queryParams = {
475
+ }
476
+ const headerParams = {
477
+ }
478
+ const formParams = {
479
+ }
480
+
481
+ const contentTypes = []
482
+ const accepts = ['application/json']
483
+ const returnType = ConfirmShipmentContentUpdatePreviewResponse
484
+
485
+ return this.apiClient.callApi('FbaInboundApi-confirmShipmentContentUpdatePreview',
486
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews/{contentUpdatePreviewId}/confirmation', 'POST',
487
+ pathParams, queryParams, headerParams, formParams, postBody,
488
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmShipmentContentUpdatePreview')
489
+ )
490
+ }
491
+
492
+ /**
433
493
  * Confirm a shipment content update preview and accept the changes in transportation cost. **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 contains 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).
434
494
  * @param {String} inboundPlanId Identifier of an inbound plan.
435
495
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
436
496
  * @param {String} contentUpdatePreviewId Identifier of a content update preview.
437
497
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse}
438
498
  */
439
- confirmShipmentContentUpdatePreview(inboundPlanId, shipmentId, contentUpdatePreviewId) {
440
- return this.confirmShipmentContentUpdatePreviewWithHttpInfo(inboundPlanId, shipmentId, contentUpdatePreviewId)
441
- .then(function(response_and_data) {
442
- return response_and_data.data;
443
- });
444
- }
445
-
499
+ confirmShipmentContentUpdatePreview (inboundPlanId, shipmentId, contentUpdatePreviewId) {
500
+ return this.confirmShipmentContentUpdatePreviewWithHttpInfo(inboundPlanId, shipmentId, contentUpdatePreviewId)
501
+ .then(function (response_and_data) {
502
+ return response_and_data.data
503
+ })
504
+ }
446
505
 
447
- /**
506
+ /**
448
507
  * Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
449
508
  * @param {String} inboundPlanId Identifier of an inbound plan.
450
509
  * @param {module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest} body The body of the request to `confirmTransportationOptions`.
451
510
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse} and HTTP response
452
511
  */
453
- confirmTransportationOptionsWithHttpInfo(inboundPlanId, body) {
454
- let postBody = body;
512
+ confirmTransportationOptionsWithHttpInfo (inboundPlanId, body) {
513
+ const postBody = body
455
514
 
456
- // verify the required parameter 'inboundPlanId' is set
457
- if (inboundPlanId === undefined || inboundPlanId === null) {
458
- throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmTransportationOptions");
459
- }
460
-
461
- // verify the required parameter 'body' is set
462
- if (body === undefined || body === null) {
463
- throw new Error("Missing the required parameter 'body' when calling confirmTransportationOptions");
464
- }
515
+ // verify the required parameter 'inboundPlanId' is set
516
+ if (inboundPlanId === undefined || inboundPlanId === null) {
517
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmTransportationOptions")
518
+ }
465
519
 
520
+ // verify the required parameter 'body' is set
521
+ if (body === undefined || body === null) {
522
+ throw new Error("Missing the required parameter 'body' when calling confirmTransportationOptions")
523
+ }
466
524
 
467
- let pathParams = {
468
- 'inboundPlanId': inboundPlanId
469
- };
470
- let queryParams = {
471
- };
472
- let headerParams = {
473
- };
474
- let formParams = {
475
- };
525
+ const pathParams = {
526
+ inboundPlanId
527
+ }
528
+ const queryParams = {
529
+ }
530
+ const headerParams = {
531
+ }
532
+ const formParams = {
533
+ }
476
534
 
477
- let contentTypes = ['application/json'];
478
- let accepts = ['application/json'];
479
- let returnType = ConfirmTransportationOptionsResponse;
535
+ const contentTypes = ['application/json']
536
+ const accepts = ['application/json']
537
+ const returnType = ConfirmTransportationOptionsResponse
480
538
 
481
- return this.apiClient.callApi( 'FbaInboundApi-confirmTransportationOptions',
482
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions/confirmation', 'POST',
483
- pathParams, queryParams, headerParams, formParams, postBody,
484
- contentTypes, accepts, returnType
485
- );
486
- }
539
+ return this.apiClient.callApi('FbaInboundApi-confirmTransportationOptions',
540
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions/confirmation', 'POST',
541
+ pathParams, queryParams, headerParams, formParams, postBody,
542
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmTransportationOptions')
543
+ )
544
+ }
487
545
 
488
- /**
546
+ /**
489
547
  * Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
490
548
  * @param {String} inboundPlanId Identifier of an inbound plan.
491
549
  * @param {module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest} body The body of the request to `confirmTransportationOptions`.
492
550
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse}
493
551
  */
494
- confirmTransportationOptions(inboundPlanId, body) {
495
- return this.confirmTransportationOptionsWithHttpInfo(inboundPlanId, body)
496
- .then(function(response_and_data) {
497
- return response_and_data.data;
498
- });
499
- }
500
-
552
+ confirmTransportationOptions (inboundPlanId, body) {
553
+ return this.confirmTransportationOptionsWithHttpInfo(inboundPlanId, body)
554
+ .then(function (response_and_data) {
555
+ return response_and_data.data
556
+ })
557
+ }
501
558
 
502
- /**
559
+ /**
503
560
  * Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
504
561
  * @param {module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest} body The body of the request to `createInboundPlan`.
505
562
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse} and HTTP response
506
563
  */
507
- createInboundPlanWithHttpInfo(body) {
508
- let postBody = body;
509
-
510
- // verify the required parameter 'body' is set
511
- if (body === undefined || body === null) {
512
- throw new Error("Missing the required parameter 'body' when calling createInboundPlan");
513
- }
564
+ createInboundPlanWithHttpInfo (body) {
565
+ const postBody = body
514
566
 
567
+ // verify the required parameter 'body' is set
568
+ if (body === undefined || body === null) {
569
+ throw new Error("Missing the required parameter 'body' when calling createInboundPlan")
570
+ }
515
571
 
516
- let pathParams = {
517
- };
518
- let queryParams = {
519
- };
520
- let headerParams = {
521
- };
522
- let formParams = {
523
- };
572
+ const pathParams = {
573
+ }
574
+ const queryParams = {
575
+ }
576
+ const headerParams = {
577
+ }
578
+ const formParams = {
579
+ }
524
580
 
525
- let contentTypes = ['application/json'];
526
- let accepts = ['application/json'];
527
- let returnType = CreateInboundPlanResponse;
581
+ const contentTypes = ['application/json']
582
+ const accepts = ['application/json']
583
+ const returnType = CreateInboundPlanResponse
528
584
 
529
- return this.apiClient.callApi( 'FbaInboundApi-createInboundPlan',
530
- '/inbound/fba/2024-03-20/inboundPlans', 'POST',
531
- pathParams, queryParams, headerParams, formParams, postBody,
532
- contentTypes, accepts, returnType
533
- );
534
- }
585
+ return this.apiClient.callApi('FbaInboundApi-createInboundPlan',
586
+ '/inbound/fba/2024-03-20/inboundPlans', 'POST',
587
+ pathParams, queryParams, headerParams, formParams, postBody,
588
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-createInboundPlan')
589
+ )
590
+ }
535
591
 
536
- /**
592
+ /**
537
593
  * Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
538
594
  * @param {module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest} body The body of the request to `createInboundPlan`.
539
595
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse}
540
596
  */
541
- createInboundPlan(body) {
542
- return this.createInboundPlanWithHttpInfo(body)
543
- .then(function(response_and_data) {
544
- return response_and_data.data;
545
- });
546
- }
547
-
597
+ createInboundPlan (body) {
598
+ return this.createInboundPlanWithHttpInfo(body)
599
+ .then(function (response_and_data) {
600
+ return response_and_data.data
601
+ })
602
+ }
548
603
 
549
- /**
604
+ /**
550
605
  * For a given marketplace - creates labels for a list of MSKUs. **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 contains 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).
551
606
  * @param {module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest} body The body of the request to `createMarketplaceItemLabels`.
552
607
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse} and HTTP response
553
608
  */
554
- createMarketplaceItemLabelsWithHttpInfo(body) {
555
- let postBody = body;
556
-
557
- // verify the required parameter 'body' is set
558
- if (body === undefined || body === null) {
559
- throw new Error("Missing the required parameter 'body' when calling createMarketplaceItemLabels");
560
- }
609
+ createMarketplaceItemLabelsWithHttpInfo (body) {
610
+ const postBody = body
561
611
 
612
+ // verify the required parameter 'body' is set
613
+ if (body === undefined || body === null) {
614
+ throw new Error("Missing the required parameter 'body' when calling createMarketplaceItemLabels")
615
+ }
562
616
 
563
- let pathParams = {
564
- };
565
- let queryParams = {
566
- };
567
- let headerParams = {
568
- };
569
- let formParams = {
570
- };
617
+ const pathParams = {
618
+ }
619
+ const queryParams = {
620
+ }
621
+ const headerParams = {
622
+ }
623
+ const formParams = {
624
+ }
571
625
 
572
- let contentTypes = ['application/json'];
573
- let accepts = ['application/json'];
574
- let returnType = CreateMarketplaceItemLabelsResponse;
626
+ const contentTypes = ['application/json']
627
+ const accepts = ['application/json']
628
+ const returnType = CreateMarketplaceItemLabelsResponse
575
629
 
576
- return this.apiClient.callApi( 'FbaInboundApi-createMarketplaceItemLabels',
577
- '/inbound/fba/2024-03-20/items/labels', 'POST',
578
- pathParams, queryParams, headerParams, formParams, postBody,
579
- contentTypes, accepts, returnType
580
- );
581
- }
630
+ return this.apiClient.callApi('FbaInboundApi-createMarketplaceItemLabels',
631
+ '/inbound/fba/2024-03-20/items/labels', 'POST',
632
+ pathParams, queryParams, headerParams, formParams, postBody,
633
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-createMarketplaceItemLabels')
634
+ )
635
+ }
582
636
 
583
- /**
637
+ /**
584
638
  * For a given marketplace - creates labels for a list of MSKUs. **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 contains 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).
585
639
  * @param {module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest} body The body of the request to `createMarketplaceItemLabels`.
586
640
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse}
587
641
  */
588
- createMarketplaceItemLabels(body) {
589
- return this.createMarketplaceItemLabelsWithHttpInfo(body)
590
- .then(function(response_and_data) {
591
- return response_and_data.data;
592
- });
593
- }
642
+ createMarketplaceItemLabels (body) {
643
+ return this.createMarketplaceItemLabelsWithHttpInfo(body)
644
+ .then(function (response_and_data) {
645
+ return response_and_data.data
646
+ })
647
+ }
594
648
 
595
-
596
- /**
649
+ /**
597
650
  * Generates available delivery window options for a given shipment. **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 contains 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).
598
651
  * @param {String} inboundPlanId Identifier of an inbound plan.
599
652
  * @param {String} shipmentId The shipment to generate delivery window options for.
600
653
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse} and HTTP response
601
654
  */
602
- generateDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId) {
603
- let postBody = null;
604
-
605
- // verify the required parameter 'inboundPlanId' is set
606
- if (inboundPlanId === undefined || inboundPlanId === null) {
607
- throw new Error("Missing the required parameter 'inboundPlanId' when calling generateDeliveryWindowOptions");
608
- }
655
+ generateDeliveryWindowOptionsWithHttpInfo (inboundPlanId, shipmentId) {
656
+ const postBody = null
609
657
 
610
- // verify the required parameter 'shipmentId' is set
611
- if (shipmentId === undefined || shipmentId === null) {
612
- throw new Error("Missing the required parameter 'shipmentId' when calling generateDeliveryWindowOptions");
613
- }
658
+ // verify the required parameter 'inboundPlanId' is set
659
+ if (inboundPlanId === undefined || inboundPlanId === null) {
660
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling generateDeliveryWindowOptions")
661
+ }
614
662
 
663
+ // verify the required parameter 'shipmentId' is set
664
+ if (shipmentId === undefined || shipmentId === null) {
665
+ throw new Error("Missing the required parameter 'shipmentId' when calling generateDeliveryWindowOptions")
666
+ }
615
667
 
616
- let pathParams = {
617
- 'inboundPlanId': inboundPlanId,
618
- 'shipmentId': shipmentId
619
- };
620
- let queryParams = {
621
- };
622
- let headerParams = {
623
- };
624
- let formParams = {
625
- };
668
+ const pathParams = {
669
+ inboundPlanId,
670
+ shipmentId
671
+ }
672
+ const queryParams = {
673
+ }
674
+ const headerParams = {
675
+ }
676
+ const formParams = {
677
+ }
626
678
 
627
- let contentTypes = [];
628
- let accepts = ['application/json'];
629
- let returnType = GenerateDeliveryWindowOptionsResponse;
679
+ const contentTypes = []
680
+ const accepts = ['application/json']
681
+ const returnType = GenerateDeliveryWindowOptionsResponse
630
682
 
631
- return this.apiClient.callApi( 'FbaInboundApi-generateDeliveryWindowOptions',
632
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions', 'POST',
633
- pathParams, queryParams, headerParams, formParams, postBody,
634
- contentTypes, accepts, returnType
635
- );
636
- }
683
+ return this.apiClient.callApi('FbaInboundApi-generateDeliveryWindowOptions',
684
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions', 'POST',
685
+ pathParams, queryParams, headerParams, formParams, postBody,
686
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generateDeliveryWindowOptions')
687
+ )
688
+ }
637
689
 
638
- /**
690
+ /**
639
691
  * Generates available delivery window options for a given shipment. **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 contains 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).
640
692
  * @param {String} inboundPlanId Identifier of an inbound plan.
641
693
  * @param {String} shipmentId The shipment to generate delivery window options for.
642
694
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse}
643
695
  */
644
- generateDeliveryWindowOptions(inboundPlanId, shipmentId) {
645
- return this.generateDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId)
646
- .then(function(response_and_data) {
647
- return response_and_data.data;
648
- });
649
- }
696
+ generateDeliveryWindowOptions (inboundPlanId, shipmentId) {
697
+ return this.generateDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId)
698
+ .then(function (response_and_data) {
699
+ return response_and_data.data
700
+ })
701
+ }
650
702
 
651
-
652
- /**
703
+ /**
653
704
  * Generates available packing options for the inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
654
705
  * @param {String} inboundPlanId Identifier of an inbound plan.
655
706
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse} and HTTP response
656
707
  */
657
- generatePackingOptionsWithHttpInfo(inboundPlanId) {
658
- let postBody = null;
659
-
660
- // verify the required parameter 'inboundPlanId' is set
661
- if (inboundPlanId === undefined || inboundPlanId === null) {
662
- throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePackingOptions");
663
- }
708
+ generatePackingOptionsWithHttpInfo (inboundPlanId) {
709
+ const postBody = null
664
710
 
711
+ // verify the required parameter 'inboundPlanId' is set
712
+ if (inboundPlanId === undefined || inboundPlanId === null) {
713
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePackingOptions")
714
+ }
665
715
 
666
- let pathParams = {
667
- 'inboundPlanId': inboundPlanId
668
- };
669
- let queryParams = {
670
- };
671
- let headerParams = {
672
- };
673
- let formParams = {
674
- };
716
+ const pathParams = {
717
+ inboundPlanId
718
+ }
719
+ const queryParams = {
720
+ }
721
+ const headerParams = {
722
+ }
723
+ const formParams = {
724
+ }
675
725
 
676
- let contentTypes = [];
677
- let accepts = ['application/json'];
678
- let returnType = GeneratePackingOptionsResponse;
726
+ const contentTypes = []
727
+ const accepts = ['application/json']
728
+ const returnType = GeneratePackingOptionsResponse
679
729
 
680
- return this.apiClient.callApi( 'FbaInboundApi-generatePackingOptions',
681
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions', 'POST',
682
- pathParams, queryParams, headerParams, formParams, postBody,
683
- contentTypes, accepts, returnType
684
- );
685
- }
730
+ return this.apiClient.callApi('FbaInboundApi-generatePackingOptions',
731
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions', 'POST',
732
+ pathParams, queryParams, headerParams, formParams, postBody,
733
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generatePackingOptions')
734
+ )
735
+ }
686
736
 
687
- /**
737
+ /**
688
738
  * Generates available packing options for the inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
689
739
  * @param {String} inboundPlanId Identifier of an inbound plan.
690
740
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse}
691
741
  */
692
- generatePackingOptions(inboundPlanId) {
693
- return this.generatePackingOptionsWithHttpInfo(inboundPlanId)
694
- .then(function(response_and_data) {
695
- return response_and_data.data;
696
- });
697
- }
698
-
742
+ generatePackingOptions (inboundPlanId) {
743
+ return this.generatePackingOptionsWithHttpInfo(inboundPlanId)
744
+ .then(function (response_and_data) {
745
+ return response_and_data.data
746
+ })
747
+ }
699
748
 
700
- /**
749
+ /**
701
750
  * Generates placement options for the inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
702
751
  * @param {String} inboundPlanId Identifier of an inbound plan.
703
752
  * @param {module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest} body The body of the request to `generatePlacementOptions`.
704
753
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse} and HTTP response
705
754
  */
706
- generatePlacementOptionsWithHttpInfo(inboundPlanId, body) {
707
- let postBody = body;
708
-
709
- // verify the required parameter 'inboundPlanId' is set
710
- if (inboundPlanId === undefined || inboundPlanId === null) {
711
- throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePlacementOptions");
712
- }
755
+ generatePlacementOptionsWithHttpInfo (inboundPlanId, body) {
756
+ const postBody = body
713
757
 
714
- // verify the required parameter 'body' is set
715
- if (body === undefined || body === null) {
716
- throw new Error("Missing the required parameter 'body' when calling generatePlacementOptions");
717
- }
758
+ // verify the required parameter 'inboundPlanId' is set
759
+ if (inboundPlanId === undefined || inboundPlanId === null) {
760
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePlacementOptions")
761
+ }
718
762
 
763
+ // verify the required parameter 'body' is set
764
+ if (body === undefined || body === null) {
765
+ throw new Error("Missing the required parameter 'body' when calling generatePlacementOptions")
766
+ }
719
767
 
720
- let pathParams = {
721
- 'inboundPlanId': inboundPlanId
722
- };
723
- let queryParams = {
724
- };
725
- let headerParams = {
726
- };
727
- let formParams = {
728
- };
768
+ const pathParams = {
769
+ inboundPlanId
770
+ }
771
+ const queryParams = {
772
+ }
773
+ const headerParams = {
774
+ }
775
+ const formParams = {
776
+ }
729
777
 
730
- let contentTypes = ['application/json'];
731
- let accepts = ['application/json'];
732
- let returnType = GeneratePlacementOptionsResponse;
778
+ const contentTypes = ['application/json']
779
+ const accepts = ['application/json']
780
+ const returnType = GeneratePlacementOptionsResponse
733
781
 
734
- return this.apiClient.callApi( 'FbaInboundApi-generatePlacementOptions',
735
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions', 'POST',
736
- pathParams, queryParams, headerParams, formParams, postBody,
737
- contentTypes, accepts, returnType
738
- );
739
- }
782
+ return this.apiClient.callApi('FbaInboundApi-generatePlacementOptions',
783
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions', 'POST',
784
+ pathParams, queryParams, headerParams, formParams, postBody,
785
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generatePlacementOptions')
786
+ )
787
+ }
740
788
 
741
- /**
789
+ /**
742
790
  * Generates placement options for the inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
743
791
  * @param {String} inboundPlanId Identifier of an inbound plan.
744
792
  * @param {module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest} body The body of the request to `generatePlacementOptions`.
745
793
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse}
746
794
  */
747
- generatePlacementOptions(inboundPlanId, body) {
748
- return this.generatePlacementOptionsWithHttpInfo(inboundPlanId, body)
749
- .then(function(response_and_data) {
750
- return response_and_data.data;
751
- });
752
- }
795
+ generatePlacementOptions (inboundPlanId, body) {
796
+ return this.generatePlacementOptionsWithHttpInfo(inboundPlanId, body)
797
+ .then(function (response_and_data) {
798
+ return response_and_data.data
799
+ })
800
+ }
753
801
 
754
-
755
- /**
756
- * Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
802
+ /**
803
+ * Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
757
804
  * @param {String} inboundPlanId Identifier of an inbound plan.
758
805
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
759
806
  * @param {module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest} body The body of the request to `generateSelfShipAppointmentSlots`.
760
807
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse} and HTTP response
761
808
  */
762
- generateSelfShipAppointmentSlotsWithHttpInfo(inboundPlanId, shipmentId, body) {
763
- let postBody = body;
764
-
765
- // verify the required parameter 'inboundPlanId' is set
766
- if (inboundPlanId === undefined || inboundPlanId === null) {
767
- throw new Error("Missing the required parameter 'inboundPlanId' when calling generateSelfShipAppointmentSlots");
768
- }
809
+ generateSelfShipAppointmentSlotsWithHttpInfo (inboundPlanId, shipmentId, body) {
810
+ const postBody = body
769
811
 
770
- // verify the required parameter 'shipmentId' is set
771
- if (shipmentId === undefined || shipmentId === null) {
772
- throw new Error("Missing the required parameter 'shipmentId' when calling generateSelfShipAppointmentSlots");
773
- }
812
+ // verify the required parameter 'inboundPlanId' is set
813
+ if (inboundPlanId === undefined || inboundPlanId === null) {
814
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling generateSelfShipAppointmentSlots")
815
+ }
774
816
 
775
- // verify the required parameter 'body' is set
776
- if (body === undefined || body === null) {
777
- throw new Error("Missing the required parameter 'body' when calling generateSelfShipAppointmentSlots");
778
- }
817
+ // verify the required parameter 'shipmentId' is set
818
+ if (shipmentId === undefined || shipmentId === null) {
819
+ throw new Error("Missing the required parameter 'shipmentId' when calling generateSelfShipAppointmentSlots")
820
+ }
779
821
 
822
+ // verify the required parameter 'body' is set
823
+ if (body === undefined || body === null) {
824
+ throw new Error("Missing the required parameter 'body' when calling generateSelfShipAppointmentSlots")
825
+ }
780
826
 
781
- let pathParams = {
782
- 'inboundPlanId': inboundPlanId,
783
- 'shipmentId': shipmentId
784
- };
785
- let queryParams = {
786
- };
787
- let headerParams = {
788
- };
789
- let formParams = {
790
- };
827
+ const pathParams = {
828
+ inboundPlanId,
829
+ shipmentId
830
+ }
831
+ const queryParams = {
832
+ }
833
+ const headerParams = {
834
+ }
835
+ const formParams = {
836
+ }
791
837
 
792
- let contentTypes = ['application/json'];
793
- let accepts = ['application/json'];
794
- let returnType = GenerateSelfShipAppointmentSlotsResponse;
838
+ const contentTypes = ['application/json']
839
+ const accepts = ['application/json']
840
+ const returnType = GenerateSelfShipAppointmentSlotsResponse
795
841
 
796
- return this.apiClient.callApi( 'FbaInboundApi-generateSelfShipAppointmentSlots',
797
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots', 'POST',
798
- pathParams, queryParams, headerParams, formParams, postBody,
799
- contentTypes, accepts, returnType
800
- );
801
- }
842
+ return this.apiClient.callApi('FbaInboundApi-generateSelfShipAppointmentSlots',
843
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots', 'POST',
844
+ pathParams, queryParams, headerParams, formParams, postBody,
845
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generateSelfShipAppointmentSlots')
846
+ )
847
+ }
802
848
 
803
- /**
804
- * Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
849
+ /**
850
+ * Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
805
851
  * @param {String} inboundPlanId Identifier of an inbound plan.
806
852
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
807
853
  * @param {module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest} body The body of the request to `generateSelfShipAppointmentSlots`.
808
854
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse}
809
855
  */
810
- generateSelfShipAppointmentSlots(inboundPlanId, shipmentId, body) {
811
- return this.generateSelfShipAppointmentSlotsWithHttpInfo(inboundPlanId, shipmentId, body)
812
- .then(function(response_and_data) {
813
- return response_and_data.data;
814
- });
815
- }
816
-
856
+ generateSelfShipAppointmentSlots (inboundPlanId, shipmentId, body) {
857
+ return this.generateSelfShipAppointmentSlotsWithHttpInfo(inboundPlanId, shipmentId, body)
858
+ .then(function (response_and_data) {
859
+ return response_and_data.data
860
+ })
861
+ }
817
862
 
818
- /**
863
+ /**
819
864
  * Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation. **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 contains 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).
820
865
  * @param {String} inboundPlanId Identifier of an inbound plan.
821
866
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
822
867
  * @param {module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest} body The body of the request to `generateShipmentContentUpdatePreviews`.
823
868
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse} and HTTP response
824
869
  */
825
- generateShipmentContentUpdatePreviewsWithHttpInfo(inboundPlanId, shipmentId, body) {
826
- let postBody = body;
870
+ generateShipmentContentUpdatePreviewsWithHttpInfo (inboundPlanId, shipmentId, body) {
871
+ const postBody = body
827
872
 
828
- // verify the required parameter 'inboundPlanId' is set
829
- if (inboundPlanId === undefined || inboundPlanId === null) {
830
- throw new Error("Missing the required parameter 'inboundPlanId' when calling generateShipmentContentUpdatePreviews");
831
- }
832
-
833
- // verify the required parameter 'shipmentId' is set
834
- if (shipmentId === undefined || shipmentId === null) {
835
- throw new Error("Missing the required parameter 'shipmentId' when calling generateShipmentContentUpdatePreviews");
836
- }
873
+ // verify the required parameter 'inboundPlanId' is set
874
+ if (inboundPlanId === undefined || inboundPlanId === null) {
875
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling generateShipmentContentUpdatePreviews")
876
+ }
837
877
 
838
- // verify the required parameter 'body' is set
839
- if (body === undefined || body === null) {
840
- throw new Error("Missing the required parameter 'body' when calling generateShipmentContentUpdatePreviews");
841
- }
878
+ // verify the required parameter 'shipmentId' is set
879
+ if (shipmentId === undefined || shipmentId === null) {
880
+ throw new Error("Missing the required parameter 'shipmentId' when calling generateShipmentContentUpdatePreviews")
881
+ }
842
882
 
883
+ // verify the required parameter 'body' is set
884
+ if (body === undefined || body === null) {
885
+ throw new Error("Missing the required parameter 'body' when calling generateShipmentContentUpdatePreviews")
886
+ }
843
887
 
844
- let pathParams = {
845
- 'inboundPlanId': inboundPlanId,
846
- 'shipmentId': shipmentId
847
- };
848
- let queryParams = {
849
- };
850
- let headerParams = {
851
- };
852
- let formParams = {
853
- };
888
+ const pathParams = {
889
+ inboundPlanId,
890
+ shipmentId
891
+ }
892
+ const queryParams = {
893
+ }
894
+ const headerParams = {
895
+ }
896
+ const formParams = {
897
+ }
854
898
 
855
- let contentTypes = ['application/json'];
856
- let accepts = ['application/json'];
857
- let returnType = GenerateShipmentContentUpdatePreviewsResponse;
899
+ const contentTypes = ['application/json']
900
+ const accepts = ['application/json']
901
+ const returnType = GenerateShipmentContentUpdatePreviewsResponse
858
902
 
859
- return this.apiClient.callApi( 'FbaInboundApi-generateShipmentContentUpdatePreviews',
860
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews', 'POST',
861
- pathParams, queryParams, headerParams, formParams, postBody,
862
- contentTypes, accepts, returnType
863
- );
864
- }
903
+ return this.apiClient.callApi('FbaInboundApi-generateShipmentContentUpdatePreviews',
904
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews', 'POST',
905
+ pathParams, queryParams, headerParams, formParams, postBody,
906
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generateShipmentContentUpdatePreviews')
907
+ )
908
+ }
865
909
 
866
- /**
910
+ /**
867
911
  * Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation. **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 contains 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).
868
912
  * @param {String} inboundPlanId Identifier of an inbound plan.
869
913
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
870
914
  * @param {module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest} body The body of the request to `generateShipmentContentUpdatePreviews`.
871
915
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse}
872
916
  */
873
- generateShipmentContentUpdatePreviews(inboundPlanId, shipmentId, body) {
874
- return this.generateShipmentContentUpdatePreviewsWithHttpInfo(inboundPlanId, shipmentId, body)
875
- .then(function(response_and_data) {
876
- return response_and_data.data;
877
- });
878
- }
917
+ generateShipmentContentUpdatePreviews (inboundPlanId, shipmentId, body) {
918
+ return this.generateShipmentContentUpdatePreviewsWithHttpInfo(inboundPlanId, shipmentId, body)
919
+ .then(function (response_and_data) {
920
+ return response_and_data.data
921
+ })
922
+ }
879
923
 
880
-
881
- /**
924
+ /**
882
925
  * Generates available transportation options for a given placement option. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
883
926
  * @param {String} inboundPlanId Identifier of an inbound plan.
884
927
  * @param {module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest} body The body of the request to `generateTransportationOptions`.
885
928
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse} and HTTP response
886
929
  */
887
- generateTransportationOptionsWithHttpInfo(inboundPlanId, body) {
888
- let postBody = body;
889
-
890
- // verify the required parameter 'inboundPlanId' is set
891
- if (inboundPlanId === undefined || inboundPlanId === null) {
892
- throw new Error("Missing the required parameter 'inboundPlanId' when calling generateTransportationOptions");
893
- }
930
+ generateTransportationOptionsWithHttpInfo (inboundPlanId, body) {
931
+ const postBody = body
894
932
 
895
- // verify the required parameter 'body' is set
896
- if (body === undefined || body === null) {
897
- throw new Error("Missing the required parameter 'body' when calling generateTransportationOptions");
898
- }
933
+ // verify the required parameter 'inboundPlanId' is set
934
+ if (inboundPlanId === undefined || inboundPlanId === null) {
935
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling generateTransportationOptions")
936
+ }
899
937
 
938
+ // verify the required parameter 'body' is set
939
+ if (body === undefined || body === null) {
940
+ throw new Error("Missing the required parameter 'body' when calling generateTransportationOptions")
941
+ }
900
942
 
901
- let pathParams = {
902
- 'inboundPlanId': inboundPlanId
903
- };
904
- let queryParams = {
905
- };
906
- let headerParams = {
907
- };
908
- let formParams = {
909
- };
943
+ const pathParams = {
944
+ inboundPlanId
945
+ }
946
+ const queryParams = {
947
+ }
948
+ const headerParams = {
949
+ }
950
+ const formParams = {
951
+ }
910
952
 
911
- let contentTypes = ['application/json'];
912
- let accepts = ['application/json'];
913
- let returnType = GenerateTransportationOptionsResponse;
953
+ const contentTypes = ['application/json']
954
+ const accepts = ['application/json']
955
+ const returnType = GenerateTransportationOptionsResponse
914
956
 
915
- return this.apiClient.callApi( 'FbaInboundApi-generateTransportationOptions',
916
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions', 'POST',
917
- pathParams, queryParams, headerParams, formParams, postBody,
918
- contentTypes, accepts, returnType
919
- );
920
- }
957
+ return this.apiClient.callApi('FbaInboundApi-generateTransportationOptions',
958
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions', 'POST',
959
+ pathParams, queryParams, headerParams, formParams, postBody,
960
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generateTransportationOptions')
961
+ )
962
+ }
921
963
 
922
- /**
964
+ /**
923
965
  * Generates available transportation options for a given placement option. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 contains 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).
924
966
  * @param {String} inboundPlanId Identifier of an inbound plan.
925
967
  * @param {module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest} body The body of the request to `generateTransportationOptions`.
926
968
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse}
927
969
  */
928
- generateTransportationOptions(inboundPlanId, body) {
929
- return this.generateTransportationOptionsWithHttpInfo(inboundPlanId, body)
930
- .then(function(response_and_data) {
931
- return response_and_data.data;
932
- });
933
- }
970
+ generateTransportationOptions (inboundPlanId, body) {
971
+ return this.generateTransportationOptionsWithHttpInfo(inboundPlanId, body)
972
+ .then(function (response_and_data) {
973
+ return response_and_data.data
974
+ })
975
+ }
934
976
 
935
-
936
- /**
977
+ /**
937
978
  * Provide delivery challan document for PCP transportation in IN marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
938
979
  * @param {String} inboundPlanId Identifier of an inbound plan.
939
980
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
940
981
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse} and HTTP response
941
982
  */
942
- getDeliveryChallanDocumentWithHttpInfo(inboundPlanId, shipmentId) {
943
- let postBody = null;
983
+ getDeliveryChallanDocumentWithHttpInfo (inboundPlanId, shipmentId) {
984
+ const postBody = null
944
985
 
945
- // verify the required parameter 'inboundPlanId' is set
946
- if (inboundPlanId === undefined || inboundPlanId === null) {
947
- throw new Error("Missing the required parameter 'inboundPlanId' when calling getDeliveryChallanDocument");
948
- }
986
+ // verify the required parameter 'inboundPlanId' is set
987
+ if (inboundPlanId === undefined || inboundPlanId === null) {
988
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling getDeliveryChallanDocument")
989
+ }
949
990
 
950
- // verify the required parameter 'shipmentId' is set
951
- if (shipmentId === undefined || shipmentId === null) {
952
- throw new Error("Missing the required parameter 'shipmentId' when calling getDeliveryChallanDocument");
953
- }
991
+ // verify the required parameter 'shipmentId' is set
992
+ if (shipmentId === undefined || shipmentId === null) {
993
+ throw new Error("Missing the required parameter 'shipmentId' when calling getDeliveryChallanDocument")
994
+ }
954
995
 
996
+ const pathParams = {
997
+ inboundPlanId,
998
+ shipmentId
999
+ }
1000
+ const queryParams = {
1001
+ }
1002
+ const headerParams = {
1003
+ }
1004
+ const formParams = {
1005
+ }
955
1006
 
956
- let pathParams = {
957
- 'inboundPlanId': inboundPlanId,
958
- 'shipmentId': shipmentId
959
- };
960
- let queryParams = {
961
- };
962
- let headerParams = {
963
- };
964
- let formParams = {
965
- };
1007
+ const contentTypes = []
1008
+ const accepts = ['application/json']
1009
+ const returnType = GetDeliveryChallanDocumentResponse
966
1010
 
967
- let contentTypes = [];
968
- let accepts = ['application/json'];
969
- let returnType = GetDeliveryChallanDocumentResponse;
1011
+ return this.apiClient.callApi('FbaInboundApi-getDeliveryChallanDocument',
1012
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryChallanDocument', 'GET',
1013
+ pathParams, queryParams, headerParams, formParams, postBody,
1014
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getDeliveryChallanDocument')
1015
+ )
1016
+ }
970
1017
 
971
- return this.apiClient.callApi( 'FbaInboundApi-getDeliveryChallanDocument',
972
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryChallanDocument', 'GET',
973
- pathParams, queryParams, headerParams, formParams, postBody,
974
- contentTypes, accepts, returnType
975
- );
976
- }
977
-
978
- /**
1018
+ /**
979
1019
  * Provide delivery challan document for PCP transportation in IN marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
980
1020
  * @param {String} inboundPlanId Identifier of an inbound plan.
981
1021
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
982
1022
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse}
983
1023
  */
984
- getDeliveryChallanDocument(inboundPlanId, shipmentId) {
985
- return this.getDeliveryChallanDocumentWithHttpInfo(inboundPlanId, shipmentId)
986
- .then(function(response_and_data) {
987
- return response_and_data.data;
988
- });
989
- }
1024
+ getDeliveryChallanDocument (inboundPlanId, shipmentId) {
1025
+ return this.getDeliveryChallanDocumentWithHttpInfo(inboundPlanId, shipmentId)
1026
+ .then(function (response_and_data) {
1027
+ return response_and_data.data
1028
+ })
1029
+ }
990
1030
 
991
-
992
- /**
1031
+ /**
993
1032
  * Gets the status of the processing of an asynchronous API call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
994
1033
  * @param {String} operationId Identifier of an asynchronous operation.
995
1034
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundOperationStatus} and HTTP response
996
1035
  */
997
- getInboundOperationStatusWithHttpInfo(operationId) {
998
- let postBody = null;
999
-
1000
- // verify the required parameter 'operationId' is set
1001
- if (operationId === undefined || operationId === null) {
1002
- throw new Error("Missing the required parameter 'operationId' when calling getInboundOperationStatus");
1003
- }
1036
+ getInboundOperationStatusWithHttpInfo (operationId) {
1037
+ const postBody = null
1004
1038
 
1039
+ // verify the required parameter 'operationId' is set
1040
+ if (operationId === undefined || operationId === null) {
1041
+ throw new Error("Missing the required parameter 'operationId' when calling getInboundOperationStatus")
1042
+ }
1005
1043
 
1006
- let pathParams = {
1007
- 'operationId': operationId
1008
- };
1009
- let queryParams = {
1010
- };
1011
- let headerParams = {
1012
- };
1013
- let formParams = {
1014
- };
1044
+ const pathParams = {
1045
+ operationId
1046
+ }
1047
+ const queryParams = {
1048
+ }
1049
+ const headerParams = {
1050
+ }
1051
+ const formParams = {
1052
+ }
1015
1053
 
1016
- let contentTypes = [];
1017
- let accepts = ['application/json'];
1018
- let returnType = InboundOperationStatus;
1054
+ const contentTypes = []
1055
+ const accepts = ['application/json']
1056
+ const returnType = InboundOperationStatus
1019
1057
 
1020
- return this.apiClient.callApi( 'FbaInboundApi-getInboundOperationStatus',
1021
- '/inbound/fba/2024-03-20/operations/{operationId}', 'GET',
1022
- pathParams, queryParams, headerParams, formParams, postBody,
1023
- contentTypes, accepts, returnType
1024
- );
1025
- }
1058
+ return this.apiClient.callApi('FbaInboundApi-getInboundOperationStatus',
1059
+ '/inbound/fba/2024-03-20/operations/{operationId}', 'GET',
1060
+ pathParams, queryParams, headerParams, formParams, postBody,
1061
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getInboundOperationStatus')
1062
+ )
1063
+ }
1026
1064
 
1027
- /**
1065
+ /**
1028
1066
  * Gets the status of the processing of an asynchronous API call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1029
1067
  * @param {String} operationId Identifier of an asynchronous operation.
1030
1068
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundOperationStatus}
1031
1069
  */
1032
- getInboundOperationStatus(operationId) {
1033
- return this.getInboundOperationStatusWithHttpInfo(operationId)
1034
- .then(function(response_and_data) {
1035
- return response_and_data.data;
1036
- });
1037
- }
1038
-
1070
+ getInboundOperationStatus (operationId) {
1071
+ return this.getInboundOperationStatusWithHttpInfo(operationId)
1072
+ .then(function (response_and_data) {
1073
+ return response_and_data.data
1074
+ })
1075
+ }
1039
1076
 
1040
- /**
1077
+ /**
1041
1078
  * Fetches the top level information about an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1042
1079
  * @param {String} inboundPlanId Identifier of an inbound plan.
1043
1080
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundPlan} and HTTP response
1044
1081
  */
1045
- getInboundPlanWithHttpInfo(inboundPlanId) {
1046
- let postBody = null;
1047
-
1048
- // verify the required parameter 'inboundPlanId' is set
1049
- if (inboundPlanId === undefined || inboundPlanId === null) {
1050
- throw new Error("Missing the required parameter 'inboundPlanId' when calling getInboundPlan");
1051
- }
1082
+ getInboundPlanWithHttpInfo (inboundPlanId) {
1083
+ const postBody = null
1052
1084
 
1085
+ // verify the required parameter 'inboundPlanId' is set
1086
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1087
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling getInboundPlan")
1088
+ }
1053
1089
 
1054
- let pathParams = {
1055
- 'inboundPlanId': inboundPlanId
1056
- };
1057
- let queryParams = {
1058
- };
1059
- let headerParams = {
1060
- };
1061
- let formParams = {
1062
- };
1090
+ const pathParams = {
1091
+ inboundPlanId
1092
+ }
1093
+ const queryParams = {
1094
+ }
1095
+ const headerParams = {
1096
+ }
1097
+ const formParams = {
1098
+ }
1063
1099
 
1064
- let contentTypes = [];
1065
- let accepts = ['application/json'];
1066
- let returnType = InboundPlan;
1100
+ const contentTypes = []
1101
+ const accepts = ['application/json']
1102
+ const returnType = InboundPlan
1067
1103
 
1068
- return this.apiClient.callApi( 'FbaInboundApi-getInboundPlan',
1069
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}', 'GET',
1070
- pathParams, queryParams, headerParams, formParams, postBody,
1071
- contentTypes, accepts, returnType
1072
- );
1073
- }
1104
+ return this.apiClient.callApi('FbaInboundApi-getInboundPlan',
1105
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}', 'GET',
1106
+ pathParams, queryParams, headerParams, formParams, postBody,
1107
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getInboundPlan')
1108
+ )
1109
+ }
1074
1110
 
1075
- /**
1111
+ /**
1076
1112
  * Fetches the top level information about an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1077
1113
  * @param {String} inboundPlanId Identifier of an inbound plan.
1078
1114
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundPlan}
1079
1115
  */
1080
- getInboundPlan(inboundPlanId) {
1081
- return this.getInboundPlanWithHttpInfo(inboundPlanId)
1082
- .then(function(response_and_data) {
1083
- return response_and_data.data;
1084
- });
1085
- }
1086
-
1116
+ getInboundPlan (inboundPlanId) {
1117
+ return this.getInboundPlanWithHttpInfo(inboundPlanId)
1118
+ .then(function (response_and_data) {
1119
+ return response_and_data.data
1120
+ })
1121
+ }
1087
1122
 
1088
- /**
1089
- * Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 see 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).
1123
+ /**
1124
+ * Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 see 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).
1090
1125
  * @param {String} inboundPlanId Identifier of an inbound plan.
1091
1126
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1092
1127
  * @param {Object} opts Optional parameters
@@ -1094,47 +1129,46 @@ export class FbaInboundApi {
1094
1129
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1095
1130
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse} and HTTP response
1096
1131
  */
1097
- getSelfShipAppointmentSlotsWithHttpInfo(inboundPlanId, shipmentId, opts) {
1098
- opts = opts || {};
1099
- let postBody = null;
1132
+ getSelfShipAppointmentSlotsWithHttpInfo (inboundPlanId, shipmentId, opts) {
1133
+ opts = opts || {}
1134
+ const postBody = null
1100
1135
 
1101
- // verify the required parameter 'inboundPlanId' is set
1102
- if (inboundPlanId === undefined || inboundPlanId === null) {
1103
- throw new Error("Missing the required parameter 'inboundPlanId' when calling getSelfShipAppointmentSlots");
1104
- }
1105
-
1106
- // verify the required parameter 'shipmentId' is set
1107
- if (shipmentId === undefined || shipmentId === null) {
1108
- throw new Error("Missing the required parameter 'shipmentId' when calling getSelfShipAppointmentSlots");
1109
- }
1136
+ // verify the required parameter 'inboundPlanId' is set
1137
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1138
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling getSelfShipAppointmentSlots")
1139
+ }
1110
1140
 
1141
+ // verify the required parameter 'shipmentId' is set
1142
+ if (shipmentId === undefined || shipmentId === null) {
1143
+ throw new Error("Missing the required parameter 'shipmentId' when calling getSelfShipAppointmentSlots")
1144
+ }
1111
1145
 
1112
- let pathParams = {
1113
- 'inboundPlanId': inboundPlanId,
1114
- 'shipmentId': shipmentId
1115
- };
1116
- let queryParams = {
1117
- 'pageSize': opts['pageSize'],
1118
- 'paginationToken': opts['paginationToken']
1119
- };
1120
- let headerParams = {
1121
- };
1122
- let formParams = {
1123
- };
1146
+ const pathParams = {
1147
+ inboundPlanId,
1148
+ shipmentId
1149
+ }
1150
+ const queryParams = {
1151
+ pageSize: opts.pageSize,
1152
+ paginationToken: opts.paginationToken
1153
+ }
1154
+ const headerParams = {
1155
+ }
1156
+ const formParams = {
1157
+ }
1124
1158
 
1125
- let contentTypes = [];
1126
- let accepts = ['application/json'];
1127
- let returnType = GetSelfShipAppointmentSlotsResponse;
1159
+ const contentTypes = []
1160
+ const accepts = ['application/json']
1161
+ const returnType = GetSelfShipAppointmentSlotsResponse
1128
1162
 
1129
- return this.apiClient.callApi( 'FbaInboundApi-getSelfShipAppointmentSlots',
1130
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots', 'GET',
1131
- pathParams, queryParams, headerParams, formParams, postBody,
1132
- contentTypes, accepts, returnType
1133
- );
1134
- }
1163
+ return this.apiClient.callApi('FbaInboundApi-getSelfShipAppointmentSlots',
1164
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots', 'GET',
1165
+ pathParams, queryParams, headerParams, formParams, postBody,
1166
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getSelfShipAppointmentSlots')
1167
+ )
1168
+ }
1135
1169
 
1136
- /**
1137
- * Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 see 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).
1170
+ /**
1171
+ * Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 see 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).
1138
1172
  * @param {String} inboundPlanId Identifier of an inbound plan.
1139
1173
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1140
1174
  * @param {Object} opts Optional parameters
@@ -1142,135 +1176,130 @@ export class FbaInboundApi {
1142
1176
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1143
1177
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse}
1144
1178
  */
1145
- getSelfShipAppointmentSlots(inboundPlanId, shipmentId, opts) {
1146
- return this.getSelfShipAppointmentSlotsWithHttpInfo(inboundPlanId, shipmentId, opts)
1147
- .then(function(response_and_data) {
1148
- return response_and_data.data;
1149
- });
1150
- }
1151
-
1179
+ getSelfShipAppointmentSlots (inboundPlanId, shipmentId, opts) {
1180
+ return this.getSelfShipAppointmentSlotsWithHttpInfo(inboundPlanId, shipmentId, opts)
1181
+ .then(function (response_and_data) {
1182
+ return response_and_data.data
1183
+ })
1184
+ }
1152
1185
 
1153
- /**
1186
+ /**
1154
1187
  * Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1155
1188
  * @param {String} inboundPlanId Identifier of an inbound plan.
1156
1189
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1157
1190
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/Shipment} and HTTP response
1158
1191
  */
1159
- getShipmentWithHttpInfo(inboundPlanId, shipmentId) {
1160
- let postBody = null;
1192
+ getShipmentWithHttpInfo (inboundPlanId, shipmentId) {
1193
+ const postBody = null
1161
1194
 
1162
- // verify the required parameter 'inboundPlanId' is set
1163
- if (inboundPlanId === undefined || inboundPlanId === null) {
1164
- throw new Error("Missing the required parameter 'inboundPlanId' when calling getShipment");
1165
- }
1166
-
1167
- // verify the required parameter 'shipmentId' is set
1168
- if (shipmentId === undefined || shipmentId === null) {
1169
- throw new Error("Missing the required parameter 'shipmentId' when calling getShipment");
1170
- }
1195
+ // verify the required parameter 'inboundPlanId' is set
1196
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1197
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling getShipment")
1198
+ }
1171
1199
 
1200
+ // verify the required parameter 'shipmentId' is set
1201
+ if (shipmentId === undefined || shipmentId === null) {
1202
+ throw new Error("Missing the required parameter 'shipmentId' when calling getShipment")
1203
+ }
1172
1204
 
1173
- let pathParams = {
1174
- 'inboundPlanId': inboundPlanId,
1175
- 'shipmentId': shipmentId
1176
- };
1177
- let queryParams = {
1178
- };
1179
- let headerParams = {
1180
- };
1181
- let formParams = {
1182
- };
1205
+ const pathParams = {
1206
+ inboundPlanId,
1207
+ shipmentId
1208
+ }
1209
+ const queryParams = {
1210
+ }
1211
+ const headerParams = {
1212
+ }
1213
+ const formParams = {
1214
+ }
1183
1215
 
1184
- let contentTypes = [];
1185
- let accepts = ['application/json'];
1186
- let returnType = Shipment;
1216
+ const contentTypes = []
1217
+ const accepts = ['application/json']
1218
+ const returnType = Shipment
1187
1219
 
1188
- return this.apiClient.callApi( 'FbaInboundApi-getShipment',
1189
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}', 'GET',
1190
- pathParams, queryParams, headerParams, formParams, postBody,
1191
- contentTypes, accepts, returnType
1192
- );
1193
- }
1220
+ return this.apiClient.callApi('FbaInboundApi-getShipment',
1221
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}', 'GET',
1222
+ pathParams, queryParams, headerParams, formParams, postBody,
1223
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getShipment')
1224
+ )
1225
+ }
1194
1226
 
1195
- /**
1227
+ /**
1196
1228
  * Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1197
1229
  * @param {String} inboundPlanId Identifier of an inbound plan.
1198
1230
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1199
1231
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/Shipment}
1200
1232
  */
1201
- getShipment(inboundPlanId, shipmentId) {
1202
- return this.getShipmentWithHttpInfo(inboundPlanId, shipmentId)
1203
- .then(function(response_and_data) {
1204
- return response_and_data.data;
1205
- });
1206
- }
1207
-
1233
+ getShipment (inboundPlanId, shipmentId) {
1234
+ return this.getShipmentWithHttpInfo(inboundPlanId, shipmentId)
1235
+ .then(function (response_and_data) {
1236
+ return response_and_data.data
1237
+ })
1238
+ }
1208
1239
 
1209
- /**
1240
+ /**
1210
1241
  * Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified. **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 contains 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).
1211
1242
  * @param {String} inboundPlanId Identifier of an inbound plan.
1212
1243
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1213
1244
  * @param {String} contentUpdatePreviewId Identifier of a content update preview.
1214
1245
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview} and HTTP response
1215
1246
  */
1216
- getShipmentContentUpdatePreviewWithHttpInfo(inboundPlanId, shipmentId, contentUpdatePreviewId) {
1217
- let postBody = null;
1218
-
1219
- // verify the required parameter 'inboundPlanId' is set
1220
- if (inboundPlanId === undefined || inboundPlanId === null) {
1221
- throw new Error("Missing the required parameter 'inboundPlanId' when calling getShipmentContentUpdatePreview");
1222
- }
1223
-
1224
- // verify the required parameter 'shipmentId' is set
1225
- if (shipmentId === undefined || shipmentId === null) {
1226
- throw new Error("Missing the required parameter 'shipmentId' when calling getShipmentContentUpdatePreview");
1227
- }
1228
-
1229
- // verify the required parameter 'contentUpdatePreviewId' is set
1230
- if (contentUpdatePreviewId === undefined || contentUpdatePreviewId === null) {
1231
- throw new Error("Missing the required parameter 'contentUpdatePreviewId' when calling getShipmentContentUpdatePreview");
1232
- }
1233
-
1234
-
1235
- let pathParams = {
1236
- 'inboundPlanId': inboundPlanId,
1237
- 'shipmentId': shipmentId,
1238
- 'contentUpdatePreviewId': contentUpdatePreviewId
1239
- };
1240
- let queryParams = {
1241
- };
1242
- let headerParams = {
1243
- };
1244
- let formParams = {
1245
- };
1246
-
1247
- let contentTypes = [];
1248
- let accepts = ['application/json'];
1249
- let returnType = ContentUpdatePreview;
1250
-
1251
- return this.apiClient.callApi( 'FbaInboundApi-getShipmentContentUpdatePreview',
1252
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews/{contentUpdatePreviewId}', 'GET',
1253
- pathParams, queryParams, headerParams, formParams, postBody,
1254
- contentTypes, accepts, returnType
1255
- );
1256
- }
1257
-
1258
- /**
1247
+ getShipmentContentUpdatePreviewWithHttpInfo (inboundPlanId, shipmentId, contentUpdatePreviewId) {
1248
+ const postBody = null
1249
+
1250
+ // verify the required parameter 'inboundPlanId' is set
1251
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1252
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling getShipmentContentUpdatePreview")
1253
+ }
1254
+
1255
+ // verify the required parameter 'shipmentId' is set
1256
+ if (shipmentId === undefined || shipmentId === null) {
1257
+ throw new Error("Missing the required parameter 'shipmentId' when calling getShipmentContentUpdatePreview")
1258
+ }
1259
+
1260
+ // verify the required parameter 'contentUpdatePreviewId' is set
1261
+ if (contentUpdatePreviewId === undefined || contentUpdatePreviewId === null) {
1262
+ throw new Error("Missing the required parameter 'contentUpdatePreviewId' when calling getShipmentContentUpdatePreview")
1263
+ }
1264
+
1265
+ const pathParams = {
1266
+ inboundPlanId,
1267
+ shipmentId,
1268
+ contentUpdatePreviewId
1269
+ }
1270
+ const queryParams = {
1271
+ }
1272
+ const headerParams = {
1273
+ }
1274
+ const formParams = {
1275
+ }
1276
+
1277
+ const contentTypes = []
1278
+ const accepts = ['application/json']
1279
+ const returnType = ContentUpdatePreview
1280
+
1281
+ return this.apiClient.callApi('FbaInboundApi-getShipmentContentUpdatePreview',
1282
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews/{contentUpdatePreviewId}', 'GET',
1283
+ pathParams, queryParams, headerParams, formParams, postBody,
1284
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getShipmentContentUpdatePreview')
1285
+ )
1286
+ }
1287
+
1288
+ /**
1259
1289
  * Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified. **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 contains 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).
1260
1290
  * @param {String} inboundPlanId Identifier of an inbound plan.
1261
1291
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1262
1292
  * @param {String} contentUpdatePreviewId Identifier of a content update preview.
1263
1293
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview}
1264
1294
  */
1265
- getShipmentContentUpdatePreview(inboundPlanId, shipmentId, contentUpdatePreviewId) {
1266
- return this.getShipmentContentUpdatePreviewWithHttpInfo(inboundPlanId, shipmentId, contentUpdatePreviewId)
1267
- .then(function(response_and_data) {
1268
- return response_and_data.data;
1269
- });
1270
- }
1295
+ getShipmentContentUpdatePreview (inboundPlanId, shipmentId, contentUpdatePreviewId) {
1296
+ return this.getShipmentContentUpdatePreviewWithHttpInfo(inboundPlanId, shipmentId, contentUpdatePreviewId)
1297
+ .then(function (response_and_data) {
1298
+ return response_and_data.data
1299
+ })
1300
+ }
1271
1301
 
1272
-
1273
- /**
1302
+ /**
1274
1303
  * Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available. **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 contains 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).
1275
1304
  * @param {String} inboundPlanId Identifier of an inbound plan.
1276
1305
  * @param {String} shipmentId The shipment to get delivery window options for.
@@ -1279,46 +1308,45 @@ export class FbaInboundApi {
1279
1308
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1280
1309
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse} and HTTP response
1281
1310
  */
1282
- listDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId, opts) {
1283
- opts = opts || {};
1284
- let postBody = null;
1285
-
1286
- // verify the required parameter 'inboundPlanId' is set
1287
- if (inboundPlanId === undefined || inboundPlanId === null) {
1288
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listDeliveryWindowOptions");
1289
- }
1290
-
1291
- // verify the required parameter 'shipmentId' is set
1292
- if (shipmentId === undefined || shipmentId === null) {
1293
- throw new Error("Missing the required parameter 'shipmentId' when calling listDeliveryWindowOptions");
1294
- }
1295
-
1296
-
1297
- let pathParams = {
1298
- 'inboundPlanId': inboundPlanId,
1299
- 'shipmentId': shipmentId
1300
- };
1301
- let queryParams = {
1302
- 'pageSize': opts['pageSize'],
1303
- 'paginationToken': opts['paginationToken']
1304
- };
1305
- let headerParams = {
1306
- };
1307
- let formParams = {
1308
- };
1309
-
1310
- let contentTypes = [];
1311
- let accepts = ['application/json'];
1312
- let returnType = ListDeliveryWindowOptionsResponse;
1313
-
1314
- return this.apiClient.callApi( 'FbaInboundApi-listDeliveryWindowOptions',
1315
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions', 'GET',
1316
- pathParams, queryParams, headerParams, formParams, postBody,
1317
- contentTypes, accepts, returnType
1318
- );
1319
- }
1320
-
1321
- /**
1311
+ listDeliveryWindowOptionsWithHttpInfo (inboundPlanId, shipmentId, opts) {
1312
+ opts = opts || {}
1313
+ const postBody = null
1314
+
1315
+ // verify the required parameter 'inboundPlanId' is set
1316
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1317
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listDeliveryWindowOptions")
1318
+ }
1319
+
1320
+ // verify the required parameter 'shipmentId' is set
1321
+ if (shipmentId === undefined || shipmentId === null) {
1322
+ throw new Error("Missing the required parameter 'shipmentId' when calling listDeliveryWindowOptions")
1323
+ }
1324
+
1325
+ const pathParams = {
1326
+ inboundPlanId,
1327
+ shipmentId
1328
+ }
1329
+ const queryParams = {
1330
+ pageSize: opts.pageSize,
1331
+ paginationToken: opts.paginationToken
1332
+ }
1333
+ const headerParams = {
1334
+ }
1335
+ const formParams = {
1336
+ }
1337
+
1338
+ const contentTypes = []
1339
+ const accepts = ['application/json']
1340
+ const returnType = ListDeliveryWindowOptionsResponse
1341
+
1342
+ return this.apiClient.callApi('FbaInboundApi-listDeliveryWindowOptions',
1343
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions', 'GET',
1344
+ pathParams, queryParams, headerParams, formParams, postBody,
1345
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listDeliveryWindowOptions')
1346
+ )
1347
+ }
1348
+
1349
+ /**
1322
1350
  * Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available. **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 contains 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).
1323
1351
  * @param {String} inboundPlanId Identifier of an inbound plan.
1324
1352
  * @param {String} shipmentId The shipment to get delivery window options for.
@@ -1327,15 +1355,14 @@ export class FbaInboundApi {
1327
1355
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1328
1356
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse}
1329
1357
  */
1330
- listDeliveryWindowOptions(inboundPlanId, shipmentId, opts) {
1331
- return this.listDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId, opts)
1332
- .then(function(response_and_data) {
1333
- return response_and_data.data;
1334
- });
1335
- }
1358
+ listDeliveryWindowOptions (inboundPlanId, shipmentId, opts) {
1359
+ return this.listDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId, opts)
1360
+ .then(function (response_and_data) {
1361
+ return response_and_data.data
1362
+ })
1363
+ }
1336
1364
 
1337
-
1338
- /**
1365
+ /**
1339
1366
  * Provides a paginated list of box packages in an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1340
1367
  * @param {String} inboundPlanId Identifier of an inbound plan.
1341
1368
  * @param {Object} opts Optional parameters
@@ -1343,40 +1370,39 @@ export class FbaInboundApi {
1343
1370
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1344
1371
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse} and HTTP response
1345
1372
  */
1346
- listInboundPlanBoxesWithHttpInfo(inboundPlanId, opts) {
1347
- opts = opts || {};
1348
- let postBody = null;
1349
-
1350
- // verify the required parameter 'inboundPlanId' is set
1351
- if (inboundPlanId === undefined || inboundPlanId === null) {
1352
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanBoxes");
1353
- }
1373
+ listInboundPlanBoxesWithHttpInfo (inboundPlanId, opts) {
1374
+ opts = opts || {}
1375
+ const postBody = null
1354
1376
 
1377
+ // verify the required parameter 'inboundPlanId' is set
1378
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1379
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanBoxes")
1380
+ }
1355
1381
 
1356
- let pathParams = {
1357
- 'inboundPlanId': inboundPlanId
1358
- };
1359
- let queryParams = {
1360
- 'pageSize': opts['pageSize'],
1361
- 'paginationToken': opts['paginationToken']
1362
- };
1363
- let headerParams = {
1364
- };
1365
- let formParams = {
1366
- };
1382
+ const pathParams = {
1383
+ inboundPlanId
1384
+ }
1385
+ const queryParams = {
1386
+ pageSize: opts.pageSize,
1387
+ paginationToken: opts.paginationToken
1388
+ }
1389
+ const headerParams = {
1390
+ }
1391
+ const formParams = {
1392
+ }
1367
1393
 
1368
- let contentTypes = [];
1369
- let accepts = ['application/json'];
1370
- let returnType = ListInboundPlanBoxesResponse;
1394
+ const contentTypes = []
1395
+ const accepts = ['application/json']
1396
+ const returnType = ListInboundPlanBoxesResponse
1371
1397
 
1372
- return this.apiClient.callApi( 'FbaInboundApi-listInboundPlanBoxes',
1373
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/boxes', 'GET',
1374
- pathParams, queryParams, headerParams, formParams, postBody,
1375
- contentTypes, accepts, returnType
1376
- );
1377
- }
1398
+ return this.apiClient.callApi('FbaInboundApi-listInboundPlanBoxes',
1399
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/boxes', 'GET',
1400
+ pathParams, queryParams, headerParams, formParams, postBody,
1401
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlanBoxes')
1402
+ )
1403
+ }
1378
1404
 
1379
- /**
1405
+ /**
1380
1406
  * Provides a paginated list of box packages in an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1381
1407
  * @param {String} inboundPlanId Identifier of an inbound plan.
1382
1408
  * @param {Object} opts Optional parameters
@@ -1384,15 +1410,14 @@ export class FbaInboundApi {
1384
1410
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1385
1411
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse}
1386
1412
  */
1387
- listInboundPlanBoxes(inboundPlanId, opts) {
1388
- return this.listInboundPlanBoxesWithHttpInfo(inboundPlanId, opts)
1389
- .then(function(response_and_data) {
1390
- return response_and_data.data;
1391
- });
1392
- }
1413
+ listInboundPlanBoxes (inboundPlanId, opts) {
1414
+ return this.listInboundPlanBoxesWithHttpInfo(inboundPlanId, opts)
1415
+ .then(function (response_and_data) {
1416
+ return response_and_data.data
1417
+ })
1418
+ }
1393
1419
 
1394
-
1395
- /**
1420
+ /**
1396
1421
  * Provides a paginated list of item packages in an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1397
1422
  * @param {String} inboundPlanId Identifier of an inbound plan.
1398
1423
  * @param {Object} opts Optional parameters
@@ -1400,40 +1425,39 @@ export class FbaInboundApi {
1400
1425
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1401
1426
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse} and HTTP response
1402
1427
  */
1403
- listInboundPlanItemsWithHttpInfo(inboundPlanId, opts) {
1404
- opts = opts || {};
1405
- let postBody = null;
1406
-
1407
- // verify the required parameter 'inboundPlanId' is set
1408
- if (inboundPlanId === undefined || inboundPlanId === null) {
1409
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanItems");
1410
- }
1428
+ listInboundPlanItemsWithHttpInfo (inboundPlanId, opts) {
1429
+ opts = opts || {}
1430
+ const postBody = null
1411
1431
 
1432
+ // verify the required parameter 'inboundPlanId' is set
1433
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1434
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanItems")
1435
+ }
1412
1436
 
1413
- let pathParams = {
1414
- 'inboundPlanId': inboundPlanId
1415
- };
1416
- let queryParams = {
1417
- 'pageSize': opts['pageSize'],
1418
- 'paginationToken': opts['paginationToken']
1419
- };
1420
- let headerParams = {
1421
- };
1422
- let formParams = {
1423
- };
1437
+ const pathParams = {
1438
+ inboundPlanId
1439
+ }
1440
+ const queryParams = {
1441
+ pageSize: opts.pageSize,
1442
+ paginationToken: opts.paginationToken
1443
+ }
1444
+ const headerParams = {
1445
+ }
1446
+ const formParams = {
1447
+ }
1424
1448
 
1425
- let contentTypes = [];
1426
- let accepts = ['application/json'];
1427
- let returnType = ListInboundPlanItemsResponse;
1449
+ const contentTypes = []
1450
+ const accepts = ['application/json']
1451
+ const returnType = ListInboundPlanItemsResponse
1428
1452
 
1429
- return this.apiClient.callApi( 'FbaInboundApi-listInboundPlanItems',
1430
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/items', 'GET',
1431
- pathParams, queryParams, headerParams, formParams, postBody,
1432
- contentTypes, accepts, returnType
1433
- );
1434
- }
1453
+ return this.apiClient.callApi('FbaInboundApi-listInboundPlanItems',
1454
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/items', 'GET',
1455
+ pathParams, queryParams, headerParams, formParams, postBody,
1456
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlanItems')
1457
+ )
1458
+ }
1435
1459
 
1436
- /**
1460
+ /**
1437
1461
  * Provides a paginated list of item packages in an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1438
1462
  * @param {String} inboundPlanId Identifier of an inbound plan.
1439
1463
  * @param {Object} opts Optional parameters
@@ -1441,15 +1465,14 @@ export class FbaInboundApi {
1441
1465
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1442
1466
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse}
1443
1467
  */
1444
- listInboundPlanItems(inboundPlanId, opts) {
1445
- return this.listInboundPlanItemsWithHttpInfo(inboundPlanId, opts)
1446
- .then(function(response_and_data) {
1447
- return response_and_data.data;
1448
- });
1449
- }
1450
-
1468
+ listInboundPlanItems (inboundPlanId, opts) {
1469
+ return this.listInboundPlanItemsWithHttpInfo(inboundPlanId, opts)
1470
+ .then(function (response_and_data) {
1471
+ return response_and_data.data
1472
+ })
1473
+ }
1451
1474
 
1452
- /**
1475
+ /**
1453
1476
  * Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1454
1477
  * @param {String} inboundPlanId Identifier of an inbound plan.
1455
1478
  * @param {Object} opts Optional parameters
@@ -1457,40 +1480,39 @@ export class FbaInboundApi {
1457
1480
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1458
1481
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse} and HTTP response
1459
1482
  */
1460
- listInboundPlanPalletsWithHttpInfo(inboundPlanId, opts) {
1461
- opts = opts || {};
1462
- let postBody = null;
1463
-
1464
- // verify the required parameter 'inboundPlanId' is set
1465
- if (inboundPlanId === undefined || inboundPlanId === null) {
1466
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanPallets");
1467
- }
1483
+ listInboundPlanPalletsWithHttpInfo (inboundPlanId, opts) {
1484
+ opts = opts || {}
1485
+ const postBody = null
1468
1486
 
1487
+ // verify the required parameter 'inboundPlanId' is set
1488
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1489
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanPallets")
1490
+ }
1469
1491
 
1470
- let pathParams = {
1471
- 'inboundPlanId': inboundPlanId
1472
- };
1473
- let queryParams = {
1474
- 'pageSize': opts['pageSize'],
1475
- 'paginationToken': opts['paginationToken']
1476
- };
1477
- let headerParams = {
1478
- };
1479
- let formParams = {
1480
- };
1492
+ const pathParams = {
1493
+ inboundPlanId
1494
+ }
1495
+ const queryParams = {
1496
+ pageSize: opts.pageSize,
1497
+ paginationToken: opts.paginationToken
1498
+ }
1499
+ const headerParams = {
1500
+ }
1501
+ const formParams = {
1502
+ }
1481
1503
 
1482
- let contentTypes = [];
1483
- let accepts = ['application/json'];
1484
- let returnType = ListInboundPlanPalletsResponse;
1504
+ const contentTypes = []
1505
+ const accepts = ['application/json']
1506
+ const returnType = ListInboundPlanPalletsResponse
1485
1507
 
1486
- return this.apiClient.callApi( 'FbaInboundApi-listInboundPlanPallets',
1487
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/pallets', 'GET',
1488
- pathParams, queryParams, headerParams, formParams, postBody,
1489
- contentTypes, accepts, returnType
1490
- );
1491
- }
1508
+ return this.apiClient.callApi('FbaInboundApi-listInboundPlanPallets',
1509
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/pallets', 'GET',
1510
+ pathParams, queryParams, headerParams, formParams, postBody,
1511
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlanPallets')
1512
+ )
1513
+ }
1492
1514
 
1493
- /**
1515
+ /**
1494
1516
  * Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1495
1517
  * @param {String} inboundPlanId Identifier of an inbound plan.
1496
1518
  * @param {Object} opts Optional parameters
@@ -1498,15 +1520,14 @@ export class FbaInboundApi {
1498
1520
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1499
1521
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse}
1500
1522
  */
1501
- listInboundPlanPallets(inboundPlanId, opts) {
1502
- return this.listInboundPlanPalletsWithHttpInfo(inboundPlanId, opts)
1503
- .then(function(response_and_data) {
1504
- return response_and_data.data;
1505
- });
1506
- }
1523
+ listInboundPlanPallets (inboundPlanId, opts) {
1524
+ return this.listInboundPlanPalletsWithHttpInfo(inboundPlanId, opts)
1525
+ .then(function (response_and_data) {
1526
+ return response_and_data.data
1527
+ })
1528
+ }
1507
1529
 
1508
-
1509
- /**
1530
+ /**
1510
1531
  * Provides a list of inbound plans with minimal information. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1511
1532
  * @param {Object} opts Optional parameters
1512
1533
  * @param {Number} opts.pageSize The number of inbound plans to return in the response matching the given query. (default to 10)
@@ -1516,37 +1537,36 @@ export class FbaInboundApi {
1516
1537
  * @param {module:fulfillmentinbound_v2024_03_20/model/String} opts.sortOrder The sort order.
1517
1538
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse} and HTTP response
1518
1539
  */
1519
- listInboundPlansWithHttpInfo(opts) {
1520
- opts = opts || {};
1521
- let postBody = null;
1522
-
1523
-
1524
- let pathParams = {
1525
- };
1526
- let queryParams = {
1527
- 'pageSize': opts['pageSize'],
1528
- 'paginationToken': opts['paginationToken'],
1529
- 'status': opts['status'],
1530
- 'sortBy': opts['sortBy'],
1531
- 'sortOrder': opts['sortOrder']
1532
- };
1533
- let headerParams = {
1534
- };
1535
- let formParams = {
1536
- };
1537
-
1538
- let contentTypes = [];
1539
- let accepts = ['application/json'];
1540
- let returnType = ListInboundPlansResponse;
1541
-
1542
- return this.apiClient.callApi( 'FbaInboundApi-listInboundPlans',
1543
- '/inbound/fba/2024-03-20/inboundPlans', 'GET',
1544
- pathParams, queryParams, headerParams, formParams, postBody,
1545
- contentTypes, accepts, returnType
1546
- );
1547
- }
1548
-
1549
- /**
1540
+ listInboundPlansWithHttpInfo (opts) {
1541
+ opts = opts || {}
1542
+ const postBody = null
1543
+
1544
+ const pathParams = {
1545
+ }
1546
+ const queryParams = {
1547
+ pageSize: opts.pageSize,
1548
+ paginationToken: opts.paginationToken,
1549
+ status: opts.status,
1550
+ sortBy: opts.sortBy,
1551
+ sortOrder: opts.sortOrder
1552
+ }
1553
+ const headerParams = {
1554
+ }
1555
+ const formParams = {
1556
+ }
1557
+
1558
+ const contentTypes = []
1559
+ const accepts = ['application/json']
1560
+ const returnType = ListInboundPlansResponse
1561
+
1562
+ return this.apiClient.callApi('FbaInboundApi-listInboundPlans',
1563
+ '/inbound/fba/2024-03-20/inboundPlans', 'GET',
1564
+ pathParams, queryParams, headerParams, formParams, postBody,
1565
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlans')
1566
+ )
1567
+ }
1568
+
1569
+ /**
1550
1570
  * Provides a list of inbound plans with minimal information. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1551
1571
  * @param {Object} opts Optional parameters
1552
1572
  * @param {Number} opts.pageSize The number of inbound plans to return in the response matching the given query. (default to 10)
@@ -1556,71 +1576,68 @@ export class FbaInboundApi {
1556
1576
  * @param {module:fulfillmentinbound_v2024_03_20/model/String} opts.sortOrder The sort order.
1557
1577
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse}
1558
1578
  */
1559
- listInboundPlans(opts) {
1560
- return this.listInboundPlansWithHttpInfo(opts)
1561
- .then(function(response_and_data) {
1562
- return response_and_data.data;
1563
- });
1564
- }
1579
+ listInboundPlans (opts) {
1580
+ return this.listInboundPlansWithHttpInfo(opts)
1581
+ .then(function (response_and_data) {
1582
+ return response_and_data.data
1583
+ })
1584
+ }
1565
1585
 
1566
-
1567
- /**
1586
+ /**
1568
1587
  * List the inbound compliance details for MSKUs in a given marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 contains 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).
1569
1588
  * @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
1570
1589
  * @param {String} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
1571
1590
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse} and HTTP response
1572
1591
  */
1573
- listItemComplianceDetailsWithHttpInfo(mskus, marketplaceId) {
1574
- let postBody = null;
1575
-
1576
- // verify the required parameter 'mskus' is set
1577
- if (mskus === undefined || mskus === null) {
1578
- throw new Error("Missing the required parameter 'mskus' when calling listItemComplianceDetails");
1579
- }
1592
+ listItemComplianceDetailsWithHttpInfo (mskus, marketplaceId) {
1593
+ const postBody = null
1580
1594
 
1581
- // verify the required parameter 'marketplaceId' is set
1582
- if (marketplaceId === undefined || marketplaceId === null) {
1583
- throw new Error("Missing the required parameter 'marketplaceId' when calling listItemComplianceDetails");
1584
- }
1595
+ // verify the required parameter 'mskus' is set
1596
+ if (mskus === undefined || mskus === null) {
1597
+ throw new Error("Missing the required parameter 'mskus' when calling listItemComplianceDetails")
1598
+ }
1585
1599
 
1600
+ // verify the required parameter 'marketplaceId' is set
1601
+ if (marketplaceId === undefined || marketplaceId === null) {
1602
+ throw new Error("Missing the required parameter 'marketplaceId' when calling listItemComplianceDetails")
1603
+ }
1586
1604
 
1587
- let pathParams = {
1588
- };
1589
- let queryParams = {
1590
- 'mskus': this.apiClient.buildCollectionParam(mskus, 'multi'),
1591
- 'marketplaceId': marketplaceId
1592
- };
1593
- let headerParams = {
1594
- };
1595
- let formParams = {
1596
- };
1605
+ const pathParams = {
1606
+ }
1607
+ const queryParams = {
1608
+ mskus: this.apiClient.buildCollectionParam(mskus, 'multi'),
1609
+ marketplaceId
1610
+ }
1611
+ const headerParams = {
1612
+ }
1613
+ const formParams = {
1614
+ }
1597
1615
 
1598
- let contentTypes = [];
1599
- let accepts = ['application/json'];
1600
- let returnType = ListItemComplianceDetailsResponse;
1616
+ const contentTypes = []
1617
+ const accepts = ['application/json']
1618
+ const returnType = ListItemComplianceDetailsResponse
1601
1619
 
1602
- return this.apiClient.callApi( 'FbaInboundApi-listItemComplianceDetails',
1603
- '/inbound/fba/2024-03-20/items/compliance', 'GET',
1604
- pathParams, queryParams, headerParams, formParams, postBody,
1605
- contentTypes, accepts, returnType
1606
- );
1607
- }
1620
+ return this.apiClient.callApi('FbaInboundApi-listItemComplianceDetails',
1621
+ '/inbound/fba/2024-03-20/items/compliance', 'GET',
1622
+ pathParams, queryParams, headerParams, formParams, postBody,
1623
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listItemComplianceDetails')
1624
+ )
1625
+ }
1608
1626
 
1609
- /**
1627
+ /**
1610
1628
  * List the inbound compliance details for MSKUs in a given marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1611
1629
  * @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
1612
1630
  * @param {String} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
1613
1631
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse}
1614
1632
  */
1615
- listItemComplianceDetails(mskus, marketplaceId) {
1616
- return this.listItemComplianceDetailsWithHttpInfo(mskus, marketplaceId)
1617
- .then(function(response_and_data) {
1618
- return response_and_data.data;
1619
- });
1620
- }
1633
+ listItemComplianceDetails (mskus, marketplaceId) {
1634
+ return this.listItemComplianceDetailsWithHttpInfo(mskus, marketplaceId)
1635
+ .then(function (response_and_data) {
1636
+ return response_and_data.data
1637
+ })
1638
+ }
1621
1639
 
1622
-
1623
- /**
1640
+ /**
1624
1641
  * Retrieves a page of boxes from a given packing group. These boxes were previously provided through the &#x60;setPackingInformation&#x60; operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1625
1642
  * @param {String} inboundPlanId Identifier of an inbound plan.
1626
1643
  * @param {String} packingGroupId Identifier of a packing group.
@@ -1629,46 +1646,45 @@ export class FbaInboundApi {
1629
1646
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1630
1647
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse} and HTTP response
1631
1648
  */
1632
- listPackingGroupBoxesWithHttpInfo(inboundPlanId, packingGroupId, opts) {
1633
- opts = opts || {};
1634
- let postBody = null;
1635
-
1636
- // verify the required parameter 'inboundPlanId' is set
1637
- if (inboundPlanId === undefined || inboundPlanId === null) {
1638
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingGroupBoxes");
1639
- }
1640
-
1641
- // verify the required parameter 'packingGroupId' is set
1642
- if (packingGroupId === undefined || packingGroupId === null) {
1643
- throw new Error("Missing the required parameter 'packingGroupId' when calling listPackingGroupBoxes");
1644
- }
1645
-
1646
-
1647
- let pathParams = {
1648
- 'inboundPlanId': inboundPlanId,
1649
- 'packingGroupId': packingGroupId
1650
- };
1651
- let queryParams = {
1652
- 'pageSize': opts['pageSize'],
1653
- 'paginationToken': opts['paginationToken']
1654
- };
1655
- let headerParams = {
1656
- };
1657
- let formParams = {
1658
- };
1659
-
1660
- let contentTypes = [];
1661
- let accepts = ['application/json'];
1662
- let returnType = ListPackingGroupBoxesResponse;
1663
-
1664
- return this.apiClient.callApi( 'FbaInboundApi-listPackingGroupBoxes',
1665
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingGroups/{packingGroupId}/boxes', 'GET',
1666
- pathParams, queryParams, headerParams, formParams, postBody,
1667
- contentTypes, accepts, returnType
1668
- );
1669
- }
1670
-
1671
- /**
1649
+ listPackingGroupBoxesWithHttpInfo (inboundPlanId, packingGroupId, opts) {
1650
+ opts = opts || {}
1651
+ const postBody = null
1652
+
1653
+ // verify the required parameter 'inboundPlanId' is set
1654
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1655
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingGroupBoxes")
1656
+ }
1657
+
1658
+ // verify the required parameter 'packingGroupId' is set
1659
+ if (packingGroupId === undefined || packingGroupId === null) {
1660
+ throw new Error("Missing the required parameter 'packingGroupId' when calling listPackingGroupBoxes")
1661
+ }
1662
+
1663
+ const pathParams = {
1664
+ inboundPlanId,
1665
+ packingGroupId
1666
+ }
1667
+ const queryParams = {
1668
+ pageSize: opts.pageSize,
1669
+ paginationToken: opts.paginationToken
1670
+ }
1671
+ const headerParams = {
1672
+ }
1673
+ const formParams = {
1674
+ }
1675
+
1676
+ const contentTypes = []
1677
+ const accepts = ['application/json']
1678
+ const returnType = ListPackingGroupBoxesResponse
1679
+
1680
+ return this.apiClient.callApi('FbaInboundApi-listPackingGroupBoxes',
1681
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingGroups/{packingGroupId}/boxes', 'GET',
1682
+ pathParams, queryParams, headerParams, formParams, postBody,
1683
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPackingGroupBoxes')
1684
+ )
1685
+ }
1686
+
1687
+ /**
1672
1688
  * Retrieves a page of boxes from a given packing group. These boxes were previously provided through the &#x60;setPackingInformation&#x60; operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1673
1689
  * @param {String} inboundPlanId Identifier of an inbound plan.
1674
1690
  * @param {String} packingGroupId Identifier of a packing group.
@@ -1677,15 +1693,14 @@ export class FbaInboundApi {
1677
1693
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1678
1694
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse}
1679
1695
  */
1680
- listPackingGroupBoxes(inboundPlanId, packingGroupId, opts) {
1681
- return this.listPackingGroupBoxesWithHttpInfo(inboundPlanId, packingGroupId, opts)
1682
- .then(function(response_and_data) {
1683
- return response_and_data.data;
1684
- });
1685
- }
1696
+ listPackingGroupBoxes (inboundPlanId, packingGroupId, opts) {
1697
+ return this.listPackingGroupBoxesWithHttpInfo(inboundPlanId, packingGroupId, opts)
1698
+ .then(function (response_and_data) {
1699
+ return response_and_data.data
1700
+ })
1701
+ }
1686
1702
 
1687
-
1688
- /**
1703
+ /**
1689
1704
  * Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1690
1705
  * @param {String} inboundPlanId Identifier of an inbound plan.
1691
1706
  * @param {String} packingGroupId Identifier of a packing group.
@@ -1694,46 +1709,45 @@ export class FbaInboundApi {
1694
1709
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1695
1710
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse} and HTTP response
1696
1711
  */
1697
- listPackingGroupItemsWithHttpInfo(inboundPlanId, packingGroupId, opts) {
1698
- opts = opts || {};
1699
- let postBody = null;
1700
-
1701
- // verify the required parameter 'inboundPlanId' is set
1702
- if (inboundPlanId === undefined || inboundPlanId === null) {
1703
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingGroupItems");
1704
- }
1705
-
1706
- // verify the required parameter 'packingGroupId' is set
1707
- if (packingGroupId === undefined || packingGroupId === null) {
1708
- throw new Error("Missing the required parameter 'packingGroupId' when calling listPackingGroupItems");
1709
- }
1710
-
1711
-
1712
- let pathParams = {
1713
- 'inboundPlanId': inboundPlanId,
1714
- 'packingGroupId': packingGroupId
1715
- };
1716
- let queryParams = {
1717
- 'pageSize': opts['pageSize'],
1718
- 'paginationToken': opts['paginationToken']
1719
- };
1720
- let headerParams = {
1721
- };
1722
- let formParams = {
1723
- };
1724
-
1725
- let contentTypes = [];
1726
- let accepts = ['application/json'];
1727
- let returnType = ListPackingGroupItemsResponse;
1728
-
1729
- return this.apiClient.callApi( 'FbaInboundApi-listPackingGroupItems',
1730
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingGroups/{packingGroupId}/items', 'GET',
1731
- pathParams, queryParams, headerParams, formParams, postBody,
1732
- contentTypes, accepts, returnType
1733
- );
1734
- }
1735
-
1736
- /**
1712
+ listPackingGroupItemsWithHttpInfo (inboundPlanId, packingGroupId, opts) {
1713
+ opts = opts || {}
1714
+ const postBody = null
1715
+
1716
+ // verify the required parameter 'inboundPlanId' is set
1717
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1718
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingGroupItems")
1719
+ }
1720
+
1721
+ // verify the required parameter 'packingGroupId' is set
1722
+ if (packingGroupId === undefined || packingGroupId === null) {
1723
+ throw new Error("Missing the required parameter 'packingGroupId' when calling listPackingGroupItems")
1724
+ }
1725
+
1726
+ const pathParams = {
1727
+ inboundPlanId,
1728
+ packingGroupId
1729
+ }
1730
+ const queryParams = {
1731
+ pageSize: opts.pageSize,
1732
+ paginationToken: opts.paginationToken
1733
+ }
1734
+ const headerParams = {
1735
+ }
1736
+ const formParams = {
1737
+ }
1738
+
1739
+ const contentTypes = []
1740
+ const accepts = ['application/json']
1741
+ const returnType = ListPackingGroupItemsResponse
1742
+
1743
+ return this.apiClient.callApi('FbaInboundApi-listPackingGroupItems',
1744
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingGroups/{packingGroupId}/items', 'GET',
1745
+ pathParams, queryParams, headerParams, formParams, postBody,
1746
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPackingGroupItems')
1747
+ )
1748
+ }
1749
+
1750
+ /**
1737
1751
  * Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1738
1752
  * @param {String} inboundPlanId Identifier of an inbound plan.
1739
1753
  * @param {String} packingGroupId Identifier of a packing group.
@@ -1742,15 +1756,14 @@ export class FbaInboundApi {
1742
1756
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1743
1757
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse}
1744
1758
  */
1745
- listPackingGroupItems(inboundPlanId, packingGroupId, opts) {
1746
- return this.listPackingGroupItemsWithHttpInfo(inboundPlanId, packingGroupId, opts)
1747
- .then(function(response_and_data) {
1748
- return response_and_data.data;
1749
- });
1750
- }
1751
-
1759
+ listPackingGroupItems (inboundPlanId, packingGroupId, opts) {
1760
+ return this.listPackingGroupItemsWithHttpInfo(inboundPlanId, packingGroupId, opts)
1761
+ .then(function (response_and_data) {
1762
+ return response_and_data.data
1763
+ })
1764
+ }
1752
1765
 
1753
- /**
1766
+ /**
1754
1767
  * Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1755
1768
  * @param {String} inboundPlanId Identifier of an inbound plan.
1756
1769
  * @param {Object} opts Optional parameters
@@ -1758,40 +1771,39 @@ export class FbaInboundApi {
1758
1771
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1759
1772
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse} and HTTP response
1760
1773
  */
1761
- listPackingOptionsWithHttpInfo(inboundPlanId, opts) {
1762
- opts = opts || {};
1763
- let postBody = null;
1764
-
1765
- // verify the required parameter 'inboundPlanId' is set
1766
- if (inboundPlanId === undefined || inboundPlanId === null) {
1767
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingOptions");
1768
- }
1774
+ listPackingOptionsWithHttpInfo (inboundPlanId, opts) {
1775
+ opts = opts || {}
1776
+ const postBody = null
1769
1777
 
1778
+ // verify the required parameter 'inboundPlanId' is set
1779
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1780
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingOptions")
1781
+ }
1770
1782
 
1771
- let pathParams = {
1772
- 'inboundPlanId': inboundPlanId
1773
- };
1774
- let queryParams = {
1775
- 'pageSize': opts['pageSize'],
1776
- 'paginationToken': opts['paginationToken']
1777
- };
1778
- let headerParams = {
1779
- };
1780
- let formParams = {
1781
- };
1783
+ const pathParams = {
1784
+ inboundPlanId
1785
+ }
1786
+ const queryParams = {
1787
+ pageSize: opts.pageSize,
1788
+ paginationToken: opts.paginationToken
1789
+ }
1790
+ const headerParams = {
1791
+ }
1792
+ const formParams = {
1793
+ }
1782
1794
 
1783
- let contentTypes = [];
1784
- let accepts = ['application/json'];
1785
- let returnType = ListPackingOptionsResponse;
1795
+ const contentTypes = []
1796
+ const accepts = ['application/json']
1797
+ const returnType = ListPackingOptionsResponse
1786
1798
 
1787
- return this.apiClient.callApi( 'FbaInboundApi-listPackingOptions',
1788
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions', 'GET',
1789
- pathParams, queryParams, headerParams, formParams, postBody,
1790
- contentTypes, accepts, returnType
1791
- );
1792
- }
1799
+ return this.apiClient.callApi('FbaInboundApi-listPackingOptions',
1800
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions', 'GET',
1801
+ pathParams, queryParams, headerParams, formParams, postBody,
1802
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPackingOptions')
1803
+ )
1804
+ }
1793
1805
 
1794
- /**
1806
+ /**
1795
1807
  * Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1796
1808
  * @param {String} inboundPlanId Identifier of an inbound plan.
1797
1809
  * @param {Object} opts Optional parameters
@@ -1799,15 +1811,14 @@ export class FbaInboundApi {
1799
1811
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1800
1812
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse}
1801
1813
  */
1802
- listPackingOptions(inboundPlanId, opts) {
1803
- return this.listPackingOptionsWithHttpInfo(inboundPlanId, opts)
1804
- .then(function(response_and_data) {
1805
- return response_and_data.data;
1806
- });
1807
- }
1814
+ listPackingOptions (inboundPlanId, opts) {
1815
+ return this.listPackingOptionsWithHttpInfo(inboundPlanId, opts)
1816
+ .then(function (response_and_data) {
1817
+ return response_and_data.data
1818
+ })
1819
+ }
1808
1820
 
1809
-
1810
- /**
1821
+ /**
1811
1822
  * Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1812
1823
  * @param {String} inboundPlanId Identifier of an inbound plan.
1813
1824
  * @param {Object} opts Optional parameters
@@ -1815,40 +1826,39 @@ export class FbaInboundApi {
1815
1826
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1816
1827
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse} and HTTP response
1817
1828
  */
1818
- listPlacementOptionsWithHttpInfo(inboundPlanId, opts) {
1819
- opts = opts || {};
1820
- let postBody = null;
1821
-
1822
- // verify the required parameter 'inboundPlanId' is set
1823
- if (inboundPlanId === undefined || inboundPlanId === null) {
1824
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listPlacementOptions");
1825
- }
1829
+ listPlacementOptionsWithHttpInfo (inboundPlanId, opts) {
1830
+ opts = opts || {}
1831
+ const postBody = null
1826
1832
 
1833
+ // verify the required parameter 'inboundPlanId' is set
1834
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1835
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listPlacementOptions")
1836
+ }
1827
1837
 
1828
- let pathParams = {
1829
- 'inboundPlanId': inboundPlanId
1830
- };
1831
- let queryParams = {
1832
- 'pageSize': opts['pageSize'],
1833
- 'paginationToken': opts['paginationToken']
1834
- };
1835
- let headerParams = {
1836
- };
1837
- let formParams = {
1838
- };
1838
+ const pathParams = {
1839
+ inboundPlanId
1840
+ }
1841
+ const queryParams = {
1842
+ pageSize: opts.pageSize,
1843
+ paginationToken: opts.paginationToken
1844
+ }
1845
+ const headerParams = {
1846
+ }
1847
+ const formParams = {
1848
+ }
1839
1849
 
1840
- let contentTypes = [];
1841
- let accepts = ['application/json'];
1842
- let returnType = ListPlacementOptionsResponse;
1850
+ const contentTypes = []
1851
+ const accepts = ['application/json']
1852
+ const returnType = ListPlacementOptionsResponse
1843
1853
 
1844
- return this.apiClient.callApi( 'FbaInboundApi-listPlacementOptions',
1845
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions', 'GET',
1846
- pathParams, queryParams, headerParams, formParams, postBody,
1847
- contentTypes, accepts, returnType
1848
- );
1849
- }
1854
+ return this.apiClient.callApi('FbaInboundApi-listPlacementOptions',
1855
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions', 'GET',
1856
+ pathParams, queryParams, headerParams, formParams, postBody,
1857
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPlacementOptions')
1858
+ )
1859
+ }
1850
1860
 
1851
- /**
1861
+ /**
1852
1862
  * Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1853
1863
  * @param {String} inboundPlanId Identifier of an inbound plan.
1854
1864
  * @param {Object} opts Optional parameters
@@ -1856,71 +1866,68 @@ export class FbaInboundApi {
1856
1866
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1857
1867
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse}
1858
1868
  */
1859
- listPlacementOptions(inboundPlanId, opts) {
1860
- return this.listPlacementOptionsWithHttpInfo(inboundPlanId, opts)
1861
- .then(function(response_and_data) {
1862
- return response_and_data.data;
1863
- });
1864
- }
1865
-
1869
+ listPlacementOptions (inboundPlanId, opts) {
1870
+ return this.listPlacementOptionsWithHttpInfo(inboundPlanId, opts)
1871
+ .then(function (response_and_data) {
1872
+ return response_and_data.data
1873
+ })
1874
+ }
1866
1875
 
1867
- /**
1876
+ /**
1868
1877
  * Get preparation details for a list of MSKUs in a specified marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1869
1878
  * @param {String} marketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
1870
1879
  * @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
1871
1880
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse} and HTTP response
1872
1881
  */
1873
- listPrepDetailsWithHttpInfo(marketplaceId, mskus) {
1874
- let postBody = null;
1882
+ listPrepDetailsWithHttpInfo (marketplaceId, mskus) {
1883
+ const postBody = null
1875
1884
 
1876
- // verify the required parameter 'marketplaceId' is set
1877
- if (marketplaceId === undefined || marketplaceId === null) {
1878
- throw new Error("Missing the required parameter 'marketplaceId' when calling listPrepDetails");
1879
- }
1880
-
1881
- // verify the required parameter 'mskus' is set
1882
- if (mskus === undefined || mskus === null) {
1883
- throw new Error("Missing the required parameter 'mskus' when calling listPrepDetails");
1884
- }
1885
+ // verify the required parameter 'marketplaceId' is set
1886
+ if (marketplaceId === undefined || marketplaceId === null) {
1887
+ throw new Error("Missing the required parameter 'marketplaceId' when calling listPrepDetails")
1888
+ }
1885
1889
 
1890
+ // verify the required parameter 'mskus' is set
1891
+ if (mskus === undefined || mskus === null) {
1892
+ throw new Error("Missing the required parameter 'mskus' when calling listPrepDetails")
1893
+ }
1886
1894
 
1887
- let pathParams = {
1888
- };
1889
- let queryParams = {
1890
- 'marketplaceId': marketplaceId,
1891
- 'mskus': this.apiClient.buildCollectionParam(mskus, 'multi')
1892
- };
1893
- let headerParams = {
1894
- };
1895
- let formParams = {
1896
- };
1895
+ const pathParams = {
1896
+ }
1897
+ const queryParams = {
1898
+ marketplaceId,
1899
+ mskus: this.apiClient.buildCollectionParam(mskus, 'multi')
1900
+ }
1901
+ const headerParams = {
1902
+ }
1903
+ const formParams = {
1904
+ }
1897
1905
 
1898
- let contentTypes = [];
1899
- let accepts = ['application/json'];
1900
- let returnType = ListPrepDetailsResponse;
1906
+ const contentTypes = []
1907
+ const accepts = ['application/json']
1908
+ const returnType = ListPrepDetailsResponse
1901
1909
 
1902
- return this.apiClient.callApi( 'FbaInboundApi-listPrepDetails',
1903
- '/inbound/fba/2024-03-20/items/prepDetails', 'GET',
1904
- pathParams, queryParams, headerParams, formParams, postBody,
1905
- contentTypes, accepts, returnType
1906
- );
1907
- }
1910
+ return this.apiClient.callApi('FbaInboundApi-listPrepDetails',
1911
+ '/inbound/fba/2024-03-20/items/prepDetails', 'GET',
1912
+ pathParams, queryParams, headerParams, formParams, postBody,
1913
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPrepDetails')
1914
+ )
1915
+ }
1908
1916
 
1909
- /**
1917
+ /**
1910
1918
  * Get preparation details for a list of MSKUs in a specified marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1911
1919
  * @param {String} marketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
1912
1920
  * @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
1913
1921
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse}
1914
1922
  */
1915
- listPrepDetails(marketplaceId, mskus) {
1916
- return this.listPrepDetailsWithHttpInfo(marketplaceId, mskus)
1917
- .then(function(response_and_data) {
1918
- return response_and_data.data;
1919
- });
1920
- }
1923
+ listPrepDetails (marketplaceId, mskus) {
1924
+ return this.listPrepDetailsWithHttpInfo(marketplaceId, mskus)
1925
+ .then(function (response_and_data) {
1926
+ return response_and_data.data
1927
+ })
1928
+ }
1921
1929
 
1922
-
1923
- /**
1930
+ /**
1924
1931
  * Provides a paginated list of box packages in a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1925
1932
  * @param {String} inboundPlanId Identifier of an inbound plan.
1926
1933
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
@@ -1929,46 +1936,45 @@ export class FbaInboundApi {
1929
1936
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1930
1937
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse} and HTTP response
1931
1938
  */
1932
- listShipmentBoxesWithHttpInfo(inboundPlanId, shipmentId, opts) {
1933
- opts = opts || {};
1934
- let postBody = null;
1935
-
1936
- // verify the required parameter 'inboundPlanId' is set
1937
- if (inboundPlanId === undefined || inboundPlanId === null) {
1938
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentBoxes");
1939
- }
1940
-
1941
- // verify the required parameter 'shipmentId' is set
1942
- if (shipmentId === undefined || shipmentId === null) {
1943
- throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentBoxes");
1944
- }
1945
-
1946
-
1947
- let pathParams = {
1948
- 'inboundPlanId': inboundPlanId,
1949
- 'shipmentId': shipmentId
1950
- };
1951
- let queryParams = {
1952
- 'pageSize': opts['pageSize'],
1953
- 'paginationToken': opts['paginationToken']
1954
- };
1955
- let headerParams = {
1956
- };
1957
- let formParams = {
1958
- };
1959
-
1960
- let contentTypes = [];
1961
- let accepts = ['application/json'];
1962
- let returnType = ListShipmentBoxesResponse;
1963
-
1964
- return this.apiClient.callApi( 'FbaInboundApi-listShipmentBoxes',
1965
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/boxes', 'GET',
1966
- pathParams, queryParams, headerParams, formParams, postBody,
1967
- contentTypes, accepts, returnType
1968
- );
1969
- }
1970
-
1971
- /**
1939
+ listShipmentBoxesWithHttpInfo (inboundPlanId, shipmentId, opts) {
1940
+ opts = opts || {}
1941
+ const postBody = null
1942
+
1943
+ // verify the required parameter 'inboundPlanId' is set
1944
+ if (inboundPlanId === undefined || inboundPlanId === null) {
1945
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentBoxes")
1946
+ }
1947
+
1948
+ // verify the required parameter 'shipmentId' is set
1949
+ if (shipmentId === undefined || shipmentId === null) {
1950
+ throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentBoxes")
1951
+ }
1952
+
1953
+ const pathParams = {
1954
+ inboundPlanId,
1955
+ shipmentId
1956
+ }
1957
+ const queryParams = {
1958
+ pageSize: opts.pageSize,
1959
+ paginationToken: opts.paginationToken
1960
+ }
1961
+ const headerParams = {
1962
+ }
1963
+ const formParams = {
1964
+ }
1965
+
1966
+ const contentTypes = []
1967
+ const accepts = ['application/json']
1968
+ const returnType = ListShipmentBoxesResponse
1969
+
1970
+ return this.apiClient.callApi('FbaInboundApi-listShipmentBoxes',
1971
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/boxes', 'GET',
1972
+ pathParams, queryParams, headerParams, formParams, postBody,
1973
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listShipmentBoxes')
1974
+ )
1975
+ }
1976
+
1977
+ /**
1972
1978
  * Provides a paginated list of box packages in a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1973
1979
  * @param {String} inboundPlanId Identifier of an inbound plan.
1974
1980
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
@@ -1977,15 +1983,14 @@ export class FbaInboundApi {
1977
1983
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1978
1984
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse}
1979
1985
  */
1980
- listShipmentBoxes(inboundPlanId, shipmentId, opts) {
1981
- return this.listShipmentBoxesWithHttpInfo(inboundPlanId, shipmentId, opts)
1982
- .then(function(response_and_data) {
1983
- return response_and_data.data;
1984
- });
1985
- }
1986
+ listShipmentBoxes (inboundPlanId, shipmentId, opts) {
1987
+ return this.listShipmentBoxesWithHttpInfo(inboundPlanId, shipmentId, opts)
1988
+ .then(function (response_and_data) {
1989
+ return response_and_data.data
1990
+ })
1991
+ }
1986
1992
 
1987
-
1988
- /**
1993
+ /**
1989
1994
  * Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
1990
1995
  * @param {String} inboundPlanId Identifier of an inbound plan.
1991
1996
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
@@ -1994,46 +1999,45 @@ export class FbaInboundApi {
1994
1999
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1995
2000
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse} and HTTP response
1996
2001
  */
1997
- listShipmentContentUpdatePreviewsWithHttpInfo(inboundPlanId, shipmentId, opts) {
1998
- opts = opts || {};
1999
- let postBody = null;
2000
-
2001
- // verify the required parameter 'inboundPlanId' is set
2002
- if (inboundPlanId === undefined || inboundPlanId === null) {
2003
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentContentUpdatePreviews");
2004
- }
2005
-
2006
- // verify the required parameter 'shipmentId' is set
2007
- if (shipmentId === undefined || shipmentId === null) {
2008
- throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentContentUpdatePreviews");
2009
- }
2010
-
2011
-
2012
- let pathParams = {
2013
- 'inboundPlanId': inboundPlanId,
2014
- 'shipmentId': shipmentId
2015
- };
2016
- let queryParams = {
2017
- 'pageSize': opts['pageSize'],
2018
- 'paginationToken': opts['paginationToken']
2019
- };
2020
- let headerParams = {
2021
- };
2022
- let formParams = {
2023
- };
2024
-
2025
- let contentTypes = [];
2026
- let accepts = ['application/json'];
2027
- let returnType = ListShipmentContentUpdatePreviewsResponse;
2028
-
2029
- return this.apiClient.callApi( 'FbaInboundApi-listShipmentContentUpdatePreviews',
2030
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews', 'GET',
2031
- pathParams, queryParams, headerParams, formParams, postBody,
2032
- contentTypes, accepts, returnType
2033
- );
2034
- }
2035
-
2036
- /**
2002
+ listShipmentContentUpdatePreviewsWithHttpInfo (inboundPlanId, shipmentId, opts) {
2003
+ opts = opts || {}
2004
+ const postBody = null
2005
+
2006
+ // verify the required parameter 'inboundPlanId' is set
2007
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2008
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentContentUpdatePreviews")
2009
+ }
2010
+
2011
+ // verify the required parameter 'shipmentId' is set
2012
+ if (shipmentId === undefined || shipmentId === null) {
2013
+ throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentContentUpdatePreviews")
2014
+ }
2015
+
2016
+ const pathParams = {
2017
+ inboundPlanId,
2018
+ shipmentId
2019
+ }
2020
+ const queryParams = {
2021
+ pageSize: opts.pageSize,
2022
+ paginationToken: opts.paginationToken
2023
+ }
2024
+ const headerParams = {
2025
+ }
2026
+ const formParams = {
2027
+ }
2028
+
2029
+ const contentTypes = []
2030
+ const accepts = ['application/json']
2031
+ const returnType = ListShipmentContentUpdatePreviewsResponse
2032
+
2033
+ return this.apiClient.callApi('FbaInboundApi-listShipmentContentUpdatePreviews',
2034
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews', 'GET',
2035
+ pathParams, queryParams, headerParams, formParams, postBody,
2036
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listShipmentContentUpdatePreviews')
2037
+ )
2038
+ }
2039
+
2040
+ /**
2037
2041
  * Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2038
2042
  * @param {String} inboundPlanId Identifier of an inbound plan.
2039
2043
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
@@ -2042,15 +2046,14 @@ export class FbaInboundApi {
2042
2046
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2043
2047
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse}
2044
2048
  */
2045
- listShipmentContentUpdatePreviews(inboundPlanId, shipmentId, opts) {
2046
- return this.listShipmentContentUpdatePreviewsWithHttpInfo(inboundPlanId, shipmentId, opts)
2047
- .then(function(response_and_data) {
2048
- return response_and_data.data;
2049
- });
2050
- }
2051
-
2049
+ listShipmentContentUpdatePreviews (inboundPlanId, shipmentId, opts) {
2050
+ return this.listShipmentContentUpdatePreviewsWithHttpInfo(inboundPlanId, shipmentId, opts)
2051
+ .then(function (response_and_data) {
2052
+ return response_and_data.data
2053
+ })
2054
+ }
2052
2055
 
2053
- /**
2056
+ /**
2054
2057
  * Provides a paginated list of item packages in a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2055
2058
  * @param {String} inboundPlanId Identifier of an inbound plan.
2056
2059
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
@@ -2059,46 +2062,45 @@ export class FbaInboundApi {
2059
2062
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2060
2063
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse} and HTTP response
2061
2064
  */
2062
- listShipmentItemsWithHttpInfo(inboundPlanId, shipmentId, opts) {
2063
- opts = opts || {};
2064
- let postBody = null;
2065
-
2066
- // verify the required parameter 'inboundPlanId' is set
2067
- if (inboundPlanId === undefined || inboundPlanId === null) {
2068
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentItems");
2069
- }
2070
-
2071
- // verify the required parameter 'shipmentId' is set
2072
- if (shipmentId === undefined || shipmentId === null) {
2073
- throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentItems");
2074
- }
2075
-
2076
-
2077
- let pathParams = {
2078
- 'inboundPlanId': inboundPlanId,
2079
- 'shipmentId': shipmentId
2080
- };
2081
- let queryParams = {
2082
- 'pageSize': opts['pageSize'],
2083
- 'paginationToken': opts['paginationToken']
2084
- };
2085
- let headerParams = {
2086
- };
2087
- let formParams = {
2088
- };
2089
-
2090
- let contentTypes = [];
2091
- let accepts = ['application/json'];
2092
- let returnType = ListShipmentItemsResponse;
2093
-
2094
- return this.apiClient.callApi( 'FbaInboundApi-listShipmentItems',
2095
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/items', 'GET',
2096
- pathParams, queryParams, headerParams, formParams, postBody,
2097
- contentTypes, accepts, returnType
2098
- );
2099
- }
2100
-
2101
- /**
2065
+ listShipmentItemsWithHttpInfo (inboundPlanId, shipmentId, opts) {
2066
+ opts = opts || {}
2067
+ const postBody = null
2068
+
2069
+ // verify the required parameter 'inboundPlanId' is set
2070
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2071
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentItems")
2072
+ }
2073
+
2074
+ // verify the required parameter 'shipmentId' is set
2075
+ if (shipmentId === undefined || shipmentId === null) {
2076
+ throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentItems")
2077
+ }
2078
+
2079
+ const pathParams = {
2080
+ inboundPlanId,
2081
+ shipmentId
2082
+ }
2083
+ const queryParams = {
2084
+ pageSize: opts.pageSize,
2085
+ paginationToken: opts.paginationToken
2086
+ }
2087
+ const headerParams = {
2088
+ }
2089
+ const formParams = {
2090
+ }
2091
+
2092
+ const contentTypes = []
2093
+ const accepts = ['application/json']
2094
+ const returnType = ListShipmentItemsResponse
2095
+
2096
+ return this.apiClient.callApi('FbaInboundApi-listShipmentItems',
2097
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/items', 'GET',
2098
+ pathParams, queryParams, headerParams, formParams, postBody,
2099
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listShipmentItems')
2100
+ )
2101
+ }
2102
+
2103
+ /**
2102
2104
  * Provides a paginated list of item packages in a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2103
2105
  * @param {String} inboundPlanId Identifier of an inbound plan.
2104
2106
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
@@ -2107,15 +2109,14 @@ export class FbaInboundApi {
2107
2109
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2108
2110
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse}
2109
2111
  */
2110
- listShipmentItems(inboundPlanId, shipmentId, opts) {
2111
- return this.listShipmentItemsWithHttpInfo(inboundPlanId, shipmentId, opts)
2112
- .then(function(response_and_data) {
2113
- return response_and_data.data;
2114
- });
2115
- }
2116
-
2112
+ listShipmentItems (inboundPlanId, shipmentId, opts) {
2113
+ return this.listShipmentItemsWithHttpInfo(inboundPlanId, shipmentId, opts)
2114
+ .then(function (response_and_data) {
2115
+ return response_and_data.data
2116
+ })
2117
+ }
2117
2118
 
2118
- /**
2119
+ /**
2119
2120
  * Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2120
2121
  * @param {String} inboundPlanId Identifier of an inbound plan.
2121
2122
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
@@ -2124,46 +2125,45 @@ export class FbaInboundApi {
2124
2125
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2125
2126
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse} and HTTP response
2126
2127
  */
2127
- listShipmentPalletsWithHttpInfo(inboundPlanId, shipmentId, opts) {
2128
- opts = opts || {};
2129
- let postBody = null;
2130
-
2131
- // verify the required parameter 'inboundPlanId' is set
2132
- if (inboundPlanId === undefined || inboundPlanId === null) {
2133
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentPallets");
2134
- }
2135
-
2136
- // verify the required parameter 'shipmentId' is set
2137
- if (shipmentId === undefined || shipmentId === null) {
2138
- throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentPallets");
2139
- }
2140
-
2141
-
2142
- let pathParams = {
2143
- 'inboundPlanId': inboundPlanId,
2144
- 'shipmentId': shipmentId
2145
- };
2146
- let queryParams = {
2147
- 'pageSize': opts['pageSize'],
2148
- 'paginationToken': opts['paginationToken']
2149
- };
2150
- let headerParams = {
2151
- };
2152
- let formParams = {
2153
- };
2154
-
2155
- let contentTypes = [];
2156
- let accepts = ['application/json'];
2157
- let returnType = ListShipmentPalletsResponse;
2158
-
2159
- return this.apiClient.callApi( 'FbaInboundApi-listShipmentPallets',
2160
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/pallets', 'GET',
2161
- pathParams, queryParams, headerParams, formParams, postBody,
2162
- contentTypes, accepts, returnType
2163
- );
2164
- }
2165
-
2166
- /**
2128
+ listShipmentPalletsWithHttpInfo (inboundPlanId, shipmentId, opts) {
2129
+ opts = opts || {}
2130
+ const postBody = null
2131
+
2132
+ // verify the required parameter 'inboundPlanId' is set
2133
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2134
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentPallets")
2135
+ }
2136
+
2137
+ // verify the required parameter 'shipmentId' is set
2138
+ if (shipmentId === undefined || shipmentId === null) {
2139
+ throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentPallets")
2140
+ }
2141
+
2142
+ const pathParams = {
2143
+ inboundPlanId,
2144
+ shipmentId
2145
+ }
2146
+ const queryParams = {
2147
+ pageSize: opts.pageSize,
2148
+ paginationToken: opts.paginationToken
2149
+ }
2150
+ const headerParams = {
2151
+ }
2152
+ const formParams = {
2153
+ }
2154
+
2155
+ const contentTypes = []
2156
+ const accepts = ['application/json']
2157
+ const returnType = ListShipmentPalletsResponse
2158
+
2159
+ return this.apiClient.callApi('FbaInboundApi-listShipmentPallets',
2160
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/pallets', 'GET',
2161
+ pathParams, queryParams, headerParams, formParams, postBody,
2162
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listShipmentPallets')
2163
+ )
2164
+ }
2165
+
2166
+ /**
2167
2167
  * Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2168
2168
  * @param {String} inboundPlanId Identifier of an inbound plan.
2169
2169
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
@@ -2172,15 +2172,14 @@ export class FbaInboundApi {
2172
2172
  * @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the &#x60;pagination&#x60; returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
2173
2173
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse}
2174
2174
  */
2175
- listShipmentPallets(inboundPlanId, shipmentId, opts) {
2176
- return this.listShipmentPalletsWithHttpInfo(inboundPlanId, shipmentId, opts)
2177
- .then(function(response_and_data) {
2178
- return response_and_data.data;
2179
- });
2180
- }
2181
-
2175
+ listShipmentPallets (inboundPlanId, shipmentId, opts) {
2176
+ return this.listShipmentPalletsWithHttpInfo(inboundPlanId, shipmentId, opts)
2177
+ .then(function (response_and_data) {
2178
+ return response_and_data.data
2179
+ })
2180
+ }
2182
2181
 
2183
- /**
2182
+ /**
2184
2183
  * Retrieves all transportation options for a shipment. Transportation options must first be generated by the &#x60;generateTransportationOptions&#x60; operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2185
2184
  * @param {String} inboundPlanId Identifier of an inbound plan.
2186
2185
  * @param {Object} opts Optional parameters
@@ -2190,42 +2189,41 @@ export class FbaInboundApi {
2190
2189
  * @param {String} opts.shipmentId The shipment to get transportation options for. Either &#x60;placementOptionId&#x60; or &#x60;shipmentId&#x60; must be specified.
2191
2190
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse} and HTTP response
2192
2191
  */
2193
- listTransportationOptionsWithHttpInfo(inboundPlanId, opts) {
2194
- opts = opts || {};
2195
- let postBody = null;
2196
-
2197
- // verify the required parameter 'inboundPlanId' is set
2198
- if (inboundPlanId === undefined || inboundPlanId === null) {
2199
- throw new Error("Missing the required parameter 'inboundPlanId' when calling listTransportationOptions");
2200
- }
2201
-
2202
-
2203
- let pathParams = {
2204
- 'inboundPlanId': inboundPlanId
2205
- };
2206
- let queryParams = {
2207
- 'pageSize': opts['pageSize'],
2208
- 'paginationToken': opts['paginationToken'],
2209
- 'placementOptionId': opts['placementOptionId'],
2210
- 'shipmentId': opts['shipmentId']
2211
- };
2212
- let headerParams = {
2213
- };
2214
- let formParams = {
2215
- };
2216
-
2217
- let contentTypes = [];
2218
- let accepts = ['application/json'];
2219
- let returnType = ListTransportationOptionsResponse;
2220
-
2221
- return this.apiClient.callApi( 'FbaInboundApi-listTransportationOptions',
2222
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions', 'GET',
2223
- pathParams, queryParams, headerParams, formParams, postBody,
2224
- contentTypes, accepts, returnType
2225
- );
2226
- }
2227
-
2228
- /**
2192
+ listTransportationOptionsWithHttpInfo (inboundPlanId, opts) {
2193
+ opts = opts || {}
2194
+ const postBody = null
2195
+
2196
+ // verify the required parameter 'inboundPlanId' is set
2197
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2198
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling listTransportationOptions")
2199
+ }
2200
+
2201
+ const pathParams = {
2202
+ inboundPlanId
2203
+ }
2204
+ const queryParams = {
2205
+ pageSize: opts.pageSize,
2206
+ paginationToken: opts.paginationToken,
2207
+ placementOptionId: opts.placementOptionId,
2208
+ shipmentId: opts.shipmentId
2209
+ }
2210
+ const headerParams = {
2211
+ }
2212
+ const formParams = {
2213
+ }
2214
+
2215
+ const contentTypes = []
2216
+ const accepts = ['application/json']
2217
+ const returnType = ListTransportationOptionsResponse
2218
+
2219
+ return this.apiClient.callApi('FbaInboundApi-listTransportationOptions',
2220
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions', 'GET',
2221
+ pathParams, queryParams, headerParams, formParams, postBody,
2222
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listTransportationOptions')
2223
+ )
2224
+ }
2225
+
2226
+ /**
2229
2227
  * Retrieves all transportation options for a shipment. Transportation options must first be generated by the &#x60;generateTransportationOptions&#x60; operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2230
2228
  * @param {String} inboundPlanId Identifier of an inbound plan.
2231
2229
  * @param {Object} opts Optional parameters
@@ -2235,484 +2233,466 @@ export class FbaInboundApi {
2235
2233
  * @param {String} opts.shipmentId The shipment to get transportation options for. Either &#x60;placementOptionId&#x60; or &#x60;shipmentId&#x60; must be specified.
2236
2234
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse}
2237
2235
  */
2238
- listTransportationOptions(inboundPlanId, opts) {
2239
- return this.listTransportationOptionsWithHttpInfo(inboundPlanId, opts)
2240
- .then(function(response_and_data) {
2241
- return response_and_data.data;
2242
- });
2243
- }
2244
-
2236
+ listTransportationOptions (inboundPlanId, opts) {
2237
+ return this.listTransportationOptionsWithHttpInfo(inboundPlanId, opts)
2238
+ .then(function (response_and_data) {
2239
+ return response_and_data.data
2240
+ })
2241
+ }
2245
2242
 
2246
- /**
2247
- * Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The &#x60;x-amzn-RateLimit-Limit&#x60; 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 see 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).
2243
+ /**
2244
+ * Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The &#x60;x-amzn-RateLimit-Limit&#x60; 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 see 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).
2248
2245
  * @param {String} inboundPlanId Identifier of an inbound plan.
2249
2246
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2250
2247
  * @param {String} slotId An identifier to a self-ship appointment slot.
2251
2248
  * @param {module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest} body The body of the request to &#x60;scheduleSelfShipAppointment&#x60;.
2252
2249
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse} and HTTP response
2253
2250
  */
2254
- scheduleSelfShipAppointmentWithHttpInfo(inboundPlanId, shipmentId, slotId, body) {
2255
- let postBody = body;
2251
+ scheduleSelfShipAppointmentWithHttpInfo (inboundPlanId, shipmentId, slotId, body) {
2252
+ const postBody = body
2256
2253
 
2257
- // verify the required parameter 'inboundPlanId' is set
2258
- if (inboundPlanId === undefined || inboundPlanId === null) {
2259
- throw new Error("Missing the required parameter 'inboundPlanId' when calling scheduleSelfShipAppointment");
2260
- }
2261
-
2262
- // verify the required parameter 'shipmentId' is set
2263
- if (shipmentId === undefined || shipmentId === null) {
2264
- throw new Error("Missing the required parameter 'shipmentId' when calling scheduleSelfShipAppointment");
2265
- }
2254
+ // verify the required parameter 'inboundPlanId' is set
2255
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2256
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling scheduleSelfShipAppointment")
2257
+ }
2266
2258
 
2267
- // verify the required parameter 'slotId' is set
2268
- if (slotId === undefined || slotId === null) {
2269
- throw new Error("Missing the required parameter 'slotId' when calling scheduleSelfShipAppointment");
2270
- }
2259
+ // verify the required parameter 'shipmentId' is set
2260
+ if (shipmentId === undefined || shipmentId === null) {
2261
+ throw new Error("Missing the required parameter 'shipmentId' when calling scheduleSelfShipAppointment")
2262
+ }
2271
2263
 
2272
- // verify the required parameter 'body' is set
2273
- if (body === undefined || body === null) {
2274
- throw new Error("Missing the required parameter 'body' when calling scheduleSelfShipAppointment");
2275
- }
2264
+ // verify the required parameter 'slotId' is set
2265
+ if (slotId === undefined || slotId === null) {
2266
+ throw new Error("Missing the required parameter 'slotId' when calling scheduleSelfShipAppointment")
2267
+ }
2276
2268
 
2269
+ // verify the required parameter 'body' is set
2270
+ if (body === undefined || body === null) {
2271
+ throw new Error("Missing the required parameter 'body' when calling scheduleSelfShipAppointment")
2272
+ }
2277
2273
 
2278
- let pathParams = {
2279
- 'inboundPlanId': inboundPlanId,
2280
- 'shipmentId': shipmentId,
2281
- 'slotId': slotId
2282
- };
2283
- let queryParams = {
2284
- };
2285
- let headerParams = {
2286
- };
2287
- let formParams = {
2288
- };
2274
+ const pathParams = {
2275
+ inboundPlanId,
2276
+ shipmentId,
2277
+ slotId
2278
+ }
2279
+ const queryParams = {
2280
+ }
2281
+ const headerParams = {
2282
+ }
2283
+ const formParams = {
2284
+ }
2289
2285
 
2290
- let contentTypes = ['application/json'];
2291
- let accepts = ['application/json'];
2292
- let returnType = ScheduleSelfShipAppointmentResponse;
2286
+ const contentTypes = ['application/json']
2287
+ const accepts = ['application/json']
2288
+ const returnType = ScheduleSelfShipAppointmentResponse
2293
2289
 
2294
- return this.apiClient.callApi( 'FbaInboundApi-scheduleSelfShipAppointment',
2295
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots/{slotId}/schedule', 'POST',
2296
- pathParams, queryParams, headerParams, formParams, postBody,
2297
- contentTypes, accepts, returnType
2298
- );
2299
- }
2290
+ return this.apiClient.callApi('FbaInboundApi-scheduleSelfShipAppointment',
2291
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots/{slotId}/schedule', 'POST',
2292
+ pathParams, queryParams, headerParams, formParams, postBody,
2293
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-scheduleSelfShipAppointment')
2294
+ )
2295
+ }
2300
2296
 
2301
- /**
2302
- * Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The &#x60;x-amzn-RateLimit-Limit&#x60; 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 see 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).
2297
+ /**
2298
+ * Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The &#x60;x-amzn-RateLimit-Limit&#x60; 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 see 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).
2303
2299
  * @param {String} inboundPlanId Identifier of an inbound plan.
2304
2300
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2305
2301
  * @param {String} slotId An identifier to a self-ship appointment slot.
2306
2302
  * @param {module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest} body The body of the request to &#x60;scheduleSelfShipAppointment&#x60;.
2307
2303
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse}
2308
2304
  */
2309
- scheduleSelfShipAppointment(inboundPlanId, shipmentId, slotId, body) {
2310
- return this.scheduleSelfShipAppointmentWithHttpInfo(inboundPlanId, shipmentId, slotId, body)
2311
- .then(function(response_and_data) {
2312
- return response_and_data.data;
2313
- });
2314
- }
2315
-
2305
+ scheduleSelfShipAppointment (inboundPlanId, shipmentId, slotId, body) {
2306
+ return this.scheduleSelfShipAppointmentWithHttpInfo(inboundPlanId, shipmentId, slotId, body)
2307
+ .then(function (response_and_data) {
2308
+ return response_and_data.data
2309
+ })
2310
+ }
2316
2311
 
2317
- /**
2312
+ /**
2318
2313
  * Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2319
2314
  * @param {String} inboundPlanId Identifier of an inbound plan.
2320
2315
  * @param {module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest} body The body of the request to &#x60;setPackingInformation&#x60;.
2321
2316
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse} and HTTP response
2322
2317
  */
2323
- setPackingInformationWithHttpInfo(inboundPlanId, body) {
2324
- let postBody = body;
2318
+ setPackingInformationWithHttpInfo (inboundPlanId, body) {
2319
+ const postBody = body
2325
2320
 
2326
- // verify the required parameter 'inboundPlanId' is set
2327
- if (inboundPlanId === undefined || inboundPlanId === null) {
2328
- throw new Error("Missing the required parameter 'inboundPlanId' when calling setPackingInformation");
2329
- }
2330
-
2331
- // verify the required parameter 'body' is set
2332
- if (body === undefined || body === null) {
2333
- throw new Error("Missing the required parameter 'body' when calling setPackingInformation");
2334
- }
2321
+ // verify the required parameter 'inboundPlanId' is set
2322
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2323
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling setPackingInformation")
2324
+ }
2335
2325
 
2326
+ // verify the required parameter 'body' is set
2327
+ if (body === undefined || body === null) {
2328
+ throw new Error("Missing the required parameter 'body' when calling setPackingInformation")
2329
+ }
2336
2330
 
2337
- let pathParams = {
2338
- 'inboundPlanId': inboundPlanId
2339
- };
2340
- let queryParams = {
2341
- };
2342
- let headerParams = {
2343
- };
2344
- let formParams = {
2345
- };
2331
+ const pathParams = {
2332
+ inboundPlanId
2333
+ }
2334
+ const queryParams = {
2335
+ }
2336
+ const headerParams = {
2337
+ }
2338
+ const formParams = {
2339
+ }
2346
2340
 
2347
- let contentTypes = ['application/json'];
2348
- let accepts = ['application/json'];
2349
- let returnType = SetPackingInformationResponse;
2341
+ const contentTypes = ['application/json']
2342
+ const accepts = ['application/json']
2343
+ const returnType = SetPackingInformationResponse
2350
2344
 
2351
- return this.apiClient.callApi( 'FbaInboundApi-setPackingInformation',
2352
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingInformation', 'POST',
2353
- pathParams, queryParams, headerParams, formParams, postBody,
2354
- contentTypes, accepts, returnType
2355
- );
2356
- }
2345
+ return this.apiClient.callApi('FbaInboundApi-setPackingInformation',
2346
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingInformation', 'POST',
2347
+ pathParams, queryParams, headerParams, formParams, postBody,
2348
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-setPackingInformation')
2349
+ )
2350
+ }
2357
2351
 
2358
- /**
2352
+ /**
2359
2353
  * Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2360
2354
  * @param {String} inboundPlanId Identifier of an inbound plan.
2361
2355
  * @param {module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest} body The body of the request to &#x60;setPackingInformation&#x60;.
2362
2356
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse}
2363
2357
  */
2364
- setPackingInformation(inboundPlanId, body) {
2365
- return this.setPackingInformationWithHttpInfo(inboundPlanId, body)
2366
- .then(function(response_and_data) {
2367
- return response_and_data.data;
2368
- });
2369
- }
2370
-
2358
+ setPackingInformation (inboundPlanId, body) {
2359
+ return this.setPackingInformationWithHttpInfo(inboundPlanId, body)
2360
+ .then(function (response_and_data) {
2361
+ return response_and_data.data
2362
+ })
2363
+ }
2371
2364
 
2372
- /**
2365
+ /**
2373
2366
  * Set the preparation details for a list of MSKUs in a specified marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2374
2367
  * @param {module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest} body The body of the request to &#x60;setPrepDetails&#x60;.
2375
2368
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse} and HTTP response
2376
2369
  */
2377
- setPrepDetailsWithHttpInfo(body) {
2378
- let postBody = body;
2379
-
2380
- // verify the required parameter 'body' is set
2381
- if (body === undefined || body === null) {
2382
- throw new Error("Missing the required parameter 'body' when calling setPrepDetails");
2383
- }
2370
+ setPrepDetailsWithHttpInfo (body) {
2371
+ const postBody = body
2384
2372
 
2373
+ // verify the required parameter 'body' is set
2374
+ if (body === undefined || body === null) {
2375
+ throw new Error("Missing the required parameter 'body' when calling setPrepDetails")
2376
+ }
2385
2377
 
2386
- let pathParams = {
2387
- };
2388
- let queryParams = {
2389
- };
2390
- let headerParams = {
2391
- };
2392
- let formParams = {
2393
- };
2378
+ const pathParams = {
2379
+ }
2380
+ const queryParams = {
2381
+ }
2382
+ const headerParams = {
2383
+ }
2384
+ const formParams = {
2385
+ }
2394
2386
 
2395
- let contentTypes = ['application/json'];
2396
- let accepts = ['application/json'];
2397
- let returnType = SetPrepDetailsResponse;
2387
+ const contentTypes = ['application/json']
2388
+ const accepts = ['application/json']
2389
+ const returnType = SetPrepDetailsResponse
2398
2390
 
2399
- return this.apiClient.callApi( 'FbaInboundApi-setPrepDetails',
2400
- '/inbound/fba/2024-03-20/items/prepDetails', 'POST',
2401
- pathParams, queryParams, headerParams, formParams, postBody,
2402
- contentTypes, accepts, returnType
2403
- );
2404
- }
2391
+ return this.apiClient.callApi('FbaInboundApi-setPrepDetails',
2392
+ '/inbound/fba/2024-03-20/items/prepDetails', 'POST',
2393
+ pathParams, queryParams, headerParams, formParams, postBody,
2394
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-setPrepDetails')
2395
+ )
2396
+ }
2405
2397
 
2406
- /**
2398
+ /**
2407
2399
  * Set the preparation details for a list of MSKUs in a specified marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2408
2400
  * @param {module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest} body The body of the request to &#x60;setPrepDetails&#x60;.
2409
2401
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse}
2410
2402
  */
2411
- setPrepDetails(body) {
2412
- return this.setPrepDetailsWithHttpInfo(body)
2413
- .then(function(response_and_data) {
2414
- return response_and_data.data;
2415
- });
2416
- }
2417
-
2403
+ setPrepDetails (body) {
2404
+ return this.setPrepDetailsWithHttpInfo(body)
2405
+ .then(function (response_and_data) {
2406
+ return response_and_data.data
2407
+ })
2408
+ }
2418
2409
 
2419
- /**
2410
+ /**
2420
2411
  * Updates the name of an existing inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2421
2412
  * @param {String} inboundPlanId Identifier of an inbound plan.
2422
2413
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest} body The body of the request to &#x60;updateInboundPlanName&#x60;.
2423
2414
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
2424
2415
  */
2425
- updateInboundPlanNameWithHttpInfo(inboundPlanId, body) {
2426
- let postBody = body;
2416
+ updateInboundPlanNameWithHttpInfo (inboundPlanId, body) {
2417
+ const postBody = body
2427
2418
 
2428
- // verify the required parameter 'inboundPlanId' is set
2429
- if (inboundPlanId === undefined || inboundPlanId === null) {
2430
- throw new Error("Missing the required parameter 'inboundPlanId' when calling updateInboundPlanName");
2431
- }
2432
-
2433
- // verify the required parameter 'body' is set
2434
- if (body === undefined || body === null) {
2435
- throw new Error("Missing the required parameter 'body' when calling updateInboundPlanName");
2436
- }
2419
+ // verify the required parameter 'inboundPlanId' is set
2420
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2421
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling updateInboundPlanName")
2422
+ }
2437
2423
 
2424
+ // verify the required parameter 'body' is set
2425
+ if (body === undefined || body === null) {
2426
+ throw new Error("Missing the required parameter 'body' when calling updateInboundPlanName")
2427
+ }
2438
2428
 
2439
- let pathParams = {
2440
- 'inboundPlanId': inboundPlanId
2441
- };
2442
- let queryParams = {
2443
- };
2444
- let headerParams = {
2445
- };
2446
- let formParams = {
2447
- };
2429
+ const pathParams = {
2430
+ inboundPlanId
2431
+ }
2432
+ const queryParams = {
2433
+ }
2434
+ const headerParams = {
2435
+ }
2436
+ const formParams = {
2437
+ }
2448
2438
 
2449
- let contentTypes = ['application/json'];
2450
- let accepts = ['application/json'];
2451
- let returnType = null;
2439
+ const contentTypes = ['application/json']
2440
+ const accepts = ['application/json']
2441
+ const returnType = null
2452
2442
 
2453
- return this.apiClient.callApi( 'FbaInboundApi-updateInboundPlanName',
2454
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/name', 'PUT',
2455
- pathParams, queryParams, headerParams, formParams, postBody,
2456
- contentTypes, accepts, returnType
2457
- );
2458
- }
2443
+ return this.apiClient.callApi('FbaInboundApi-updateInboundPlanName',
2444
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/name', 'PUT',
2445
+ pathParams, queryParams, headerParams, formParams, postBody,
2446
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateInboundPlanName')
2447
+ )
2448
+ }
2459
2449
 
2460
- /**
2450
+ /**
2461
2451
  * Updates the name of an existing inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2462
2452
  * @param {String} inboundPlanId Identifier of an inbound plan.
2463
2453
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest} body The body of the request to &#x60;updateInboundPlanName&#x60;.
2464
2454
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
2465
2455
  */
2466
- updateInboundPlanName(inboundPlanId, body) {
2467
- return this.updateInboundPlanNameWithHttpInfo(inboundPlanId, body)
2468
- .then(function(response_and_data) {
2469
- return response_and_data.data;
2470
- });
2471
- }
2472
-
2456
+ updateInboundPlanName (inboundPlanId, body) {
2457
+ return this.updateInboundPlanNameWithHttpInfo(inboundPlanId, body)
2458
+ .then(function (response_and_data) {
2459
+ return response_and_data.data
2460
+ })
2461
+ }
2473
2462
 
2474
- /**
2463
+ /**
2475
2464
  * Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2476
2465
  * @param {String} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
2477
2466
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest} body The body of the request to &#x60;updateItemComplianceDetails&#x60;.
2478
2467
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse} and HTTP response
2479
2468
  */
2480
- updateItemComplianceDetailsWithHttpInfo(marketplaceId, body) {
2481
- let postBody = body;
2469
+ updateItemComplianceDetailsWithHttpInfo (marketplaceId, body) {
2470
+ const postBody = body
2482
2471
 
2483
- // verify the required parameter 'marketplaceId' is set
2484
- if (marketplaceId === undefined || marketplaceId === null) {
2485
- throw new Error("Missing the required parameter 'marketplaceId' when calling updateItemComplianceDetails");
2486
- }
2487
-
2488
- // verify the required parameter 'body' is set
2489
- if (body === undefined || body === null) {
2490
- throw new Error("Missing the required parameter 'body' when calling updateItemComplianceDetails");
2491
- }
2472
+ // verify the required parameter 'marketplaceId' is set
2473
+ if (marketplaceId === undefined || marketplaceId === null) {
2474
+ throw new Error("Missing the required parameter 'marketplaceId' when calling updateItemComplianceDetails")
2475
+ }
2492
2476
 
2477
+ // verify the required parameter 'body' is set
2478
+ if (body === undefined || body === null) {
2479
+ throw new Error("Missing the required parameter 'body' when calling updateItemComplianceDetails")
2480
+ }
2493
2481
 
2494
- let pathParams = {
2495
- };
2496
- let queryParams = {
2497
- 'marketplaceId': marketplaceId
2498
- };
2499
- let headerParams = {
2500
- };
2501
- let formParams = {
2502
- };
2482
+ const pathParams = {
2483
+ }
2484
+ const queryParams = {
2485
+ marketplaceId
2486
+ }
2487
+ const headerParams = {
2488
+ }
2489
+ const formParams = {
2490
+ }
2503
2491
 
2504
- let contentTypes = ['application/json'];
2505
- let accepts = ['application/json'];
2506
- let returnType = UpdateItemComplianceDetailsResponse;
2492
+ const contentTypes = ['application/json']
2493
+ const accepts = ['application/json']
2494
+ const returnType = UpdateItemComplianceDetailsResponse
2507
2495
 
2508
- return this.apiClient.callApi( 'FbaInboundApi-updateItemComplianceDetails',
2509
- '/inbound/fba/2024-03-20/items/compliance', 'PUT',
2510
- pathParams, queryParams, headerParams, formParams, postBody,
2511
- contentTypes, accepts, returnType
2512
- );
2513
- }
2496
+ return this.apiClient.callApi('FbaInboundApi-updateItemComplianceDetails',
2497
+ '/inbound/fba/2024-03-20/items/compliance', 'PUT',
2498
+ pathParams, queryParams, headerParams, formParams, postBody,
2499
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateItemComplianceDetails')
2500
+ )
2501
+ }
2514
2502
 
2515
- /**
2503
+ /**
2516
2504
  * Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2517
2505
  * @param {String} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
2518
2506
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest} body The body of the request to &#x60;updateItemComplianceDetails&#x60;.
2519
2507
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse}
2520
2508
  */
2521
- updateItemComplianceDetails(marketplaceId, body) {
2522
- return this.updateItemComplianceDetailsWithHttpInfo(marketplaceId, body)
2523
- .then(function(response_and_data) {
2524
- return response_and_data.data;
2525
- });
2526
- }
2527
-
2509
+ updateItemComplianceDetails (marketplaceId, body) {
2510
+ return this.updateItemComplianceDetailsWithHttpInfo(marketplaceId, body)
2511
+ .then(function (response_and_data) {
2512
+ return response_and_data.data
2513
+ })
2514
+ }
2528
2515
 
2529
- /**
2516
+ /**
2530
2517
  * Updates the name of an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2531
2518
  * @param {String} inboundPlanId Identifier of an inbound plan.
2532
2519
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2533
2520
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest} body The body of the request to &#x60;updateShipmentName&#x60;.
2534
2521
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
2535
2522
  */
2536
- updateShipmentNameWithHttpInfo(inboundPlanId, shipmentId, body) {
2537
- let postBody = body;
2523
+ updateShipmentNameWithHttpInfo (inboundPlanId, shipmentId, body) {
2524
+ const postBody = body
2538
2525
 
2539
- // verify the required parameter 'inboundPlanId' is set
2540
- if (inboundPlanId === undefined || inboundPlanId === null) {
2541
- throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentName");
2542
- }
2543
-
2544
- // verify the required parameter 'shipmentId' is set
2545
- if (shipmentId === undefined || shipmentId === null) {
2546
- throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentName");
2547
- }
2526
+ // verify the required parameter 'inboundPlanId' is set
2527
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2528
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentName")
2529
+ }
2548
2530
 
2549
- // verify the required parameter 'body' is set
2550
- if (body === undefined || body === null) {
2551
- throw new Error("Missing the required parameter 'body' when calling updateShipmentName");
2552
- }
2531
+ // verify the required parameter 'shipmentId' is set
2532
+ if (shipmentId === undefined || shipmentId === null) {
2533
+ throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentName")
2534
+ }
2553
2535
 
2536
+ // verify the required parameter 'body' is set
2537
+ if (body === undefined || body === null) {
2538
+ throw new Error("Missing the required parameter 'body' when calling updateShipmentName")
2539
+ }
2554
2540
 
2555
- let pathParams = {
2556
- 'inboundPlanId': inboundPlanId,
2557
- 'shipmentId': shipmentId
2558
- };
2559
- let queryParams = {
2560
- };
2561
- let headerParams = {
2562
- };
2563
- let formParams = {
2564
- };
2541
+ const pathParams = {
2542
+ inboundPlanId,
2543
+ shipmentId
2544
+ }
2545
+ const queryParams = {
2546
+ }
2547
+ const headerParams = {
2548
+ }
2549
+ const formParams = {
2550
+ }
2565
2551
 
2566
- let contentTypes = ['application/json'];
2567
- let accepts = ['application/json'];
2568
- let returnType = null;
2552
+ const contentTypes = ['application/json']
2553
+ const accepts = ['application/json']
2554
+ const returnType = null
2569
2555
 
2570
- return this.apiClient.callApi( 'FbaInboundApi-updateShipmentName',
2571
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/name', 'PUT',
2572
- pathParams, queryParams, headerParams, formParams, postBody,
2573
- contentTypes, accepts, returnType
2574
- );
2575
- }
2556
+ return this.apiClient.callApi('FbaInboundApi-updateShipmentName',
2557
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/name', 'PUT',
2558
+ pathParams, queryParams, headerParams, formParams, postBody,
2559
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateShipmentName')
2560
+ )
2561
+ }
2576
2562
 
2577
- /**
2563
+ /**
2578
2564
  * Updates the name of an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2579
2565
  * @param {String} inboundPlanId Identifier of an inbound plan.
2580
2566
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2581
2567
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest} body The body of the request to &#x60;updateShipmentName&#x60;.
2582
2568
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
2583
2569
  */
2584
- updateShipmentName(inboundPlanId, shipmentId, body) {
2585
- return this.updateShipmentNameWithHttpInfo(inboundPlanId, shipmentId, body)
2586
- .then(function(response_and_data) {
2587
- return response_and_data.data;
2588
- });
2589
- }
2590
-
2570
+ updateShipmentName (inboundPlanId, shipmentId, body) {
2571
+ return this.updateShipmentNameWithHttpInfo(inboundPlanId, shipmentId, body)
2572
+ .then(function (response_and_data) {
2573
+ return response_and_data.data
2574
+ })
2575
+ }
2591
2576
 
2592
- /**
2577
+ /**
2593
2578
  * Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2594
2579
  * @param {String} inboundPlanId Identifier of an inbound plan.
2595
2580
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2596
2581
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest} body The body of the request to &#x60;updateShipmentSourceAddress&#x60;.
2597
2582
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse} and HTTP response
2598
2583
  */
2599
- updateShipmentSourceAddressWithHttpInfo(inboundPlanId, shipmentId, body) {
2600
- let postBody = body;
2584
+ updateShipmentSourceAddressWithHttpInfo (inboundPlanId, shipmentId, body) {
2585
+ const postBody = body
2601
2586
 
2602
- // verify the required parameter 'inboundPlanId' is set
2603
- if (inboundPlanId === undefined || inboundPlanId === null) {
2604
- throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentSourceAddress");
2605
- }
2587
+ // verify the required parameter 'inboundPlanId' is set
2588
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2589
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentSourceAddress")
2590
+ }
2606
2591
 
2607
- // verify the required parameter 'shipmentId' is set
2608
- if (shipmentId === undefined || shipmentId === null) {
2609
- throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentSourceAddress");
2610
- }
2592
+ // verify the required parameter 'shipmentId' is set
2593
+ if (shipmentId === undefined || shipmentId === null) {
2594
+ throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentSourceAddress")
2595
+ }
2611
2596
 
2612
- // verify the required parameter 'body' is set
2613
- if (body === undefined || body === null) {
2614
- throw new Error("Missing the required parameter 'body' when calling updateShipmentSourceAddress");
2615
- }
2597
+ // verify the required parameter 'body' is set
2598
+ if (body === undefined || body === null) {
2599
+ throw new Error("Missing the required parameter 'body' when calling updateShipmentSourceAddress")
2600
+ }
2616
2601
 
2602
+ const pathParams = {
2603
+ inboundPlanId,
2604
+ shipmentId
2605
+ }
2606
+ const queryParams = {
2607
+ }
2608
+ const headerParams = {
2609
+ }
2610
+ const formParams = {
2611
+ }
2617
2612
 
2618
- let pathParams = {
2619
- 'inboundPlanId': inboundPlanId,
2620
- 'shipmentId': shipmentId
2621
- };
2622
- let queryParams = {
2623
- };
2624
- let headerParams = {
2625
- };
2626
- let formParams = {
2627
- };
2613
+ const contentTypes = ['application/json']
2614
+ const accepts = ['application/json']
2615
+ const returnType = UpdateShipmentSourceAddressResponse
2628
2616
 
2629
- let contentTypes = ['application/json'];
2630
- let accepts = ['application/json'];
2631
- let returnType = UpdateShipmentSourceAddressResponse;
2617
+ return this.apiClient.callApi('FbaInboundApi-updateShipmentSourceAddress',
2618
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/sourceAddress', 'PUT',
2619
+ pathParams, queryParams, headerParams, formParams, postBody,
2620
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateShipmentSourceAddress')
2621
+ )
2622
+ }
2632
2623
 
2633
- return this.apiClient.callApi( 'FbaInboundApi-updateShipmentSourceAddress',
2634
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/sourceAddress', 'PUT',
2635
- pathParams, queryParams, headerParams, formParams, postBody,
2636
- contentTypes, accepts, returnType
2637
- );
2638
- }
2639
-
2640
- /**
2624
+ /**
2641
2625
  * Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2642
2626
  * @param {String} inboundPlanId Identifier of an inbound plan.
2643
2627
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2644
2628
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest} body The body of the request to &#x60;updateShipmentSourceAddress&#x60;.
2645
2629
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse}
2646
2630
  */
2647
- updateShipmentSourceAddress(inboundPlanId, shipmentId, body) {
2648
- return this.updateShipmentSourceAddressWithHttpInfo(inboundPlanId, shipmentId, body)
2649
- .then(function(response_and_data) {
2650
- return response_and_data.data;
2651
- });
2652
- }
2631
+ updateShipmentSourceAddress (inboundPlanId, shipmentId, body) {
2632
+ return this.updateShipmentSourceAddressWithHttpInfo(inboundPlanId, shipmentId, body)
2633
+ .then(function (response_and_data) {
2634
+ return response_and_data.data
2635
+ })
2636
+ }
2653
2637
 
2654
-
2655
- /**
2638
+ /**
2656
2639
  * Updates a shipment&#39;s tracking details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2657
2640
  * @param {String} inboundPlanId Identifier of an inbound plan.
2658
2641
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2659
2642
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest} body The body of the request to &#x60;updateShipmentTrackingDetails&#x60;.
2660
2643
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse} and HTTP response
2661
2644
  */
2662
- updateShipmentTrackingDetailsWithHttpInfo(inboundPlanId, shipmentId, body) {
2663
- let postBody = body;
2664
-
2665
- // verify the required parameter 'inboundPlanId' is set
2666
- if (inboundPlanId === undefined || inboundPlanId === null) {
2667
- throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentTrackingDetails");
2668
- }
2645
+ updateShipmentTrackingDetailsWithHttpInfo (inboundPlanId, shipmentId, body) {
2646
+ const postBody = body
2669
2647
 
2670
- // verify the required parameter 'shipmentId' is set
2671
- if (shipmentId === undefined || shipmentId === null) {
2672
- throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentTrackingDetails");
2673
- }
2648
+ // verify the required parameter 'inboundPlanId' is set
2649
+ if (inboundPlanId === undefined || inboundPlanId === null) {
2650
+ throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentTrackingDetails")
2651
+ }
2674
2652
 
2675
- // verify the required parameter 'body' is set
2676
- if (body === undefined || body === null) {
2677
- throw new Error("Missing the required parameter 'body' when calling updateShipmentTrackingDetails");
2678
- }
2653
+ // verify the required parameter 'shipmentId' is set
2654
+ if (shipmentId === undefined || shipmentId === null) {
2655
+ throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentTrackingDetails")
2656
+ }
2679
2657
 
2658
+ // verify the required parameter 'body' is set
2659
+ if (body === undefined || body === null) {
2660
+ throw new Error("Missing the required parameter 'body' when calling updateShipmentTrackingDetails")
2661
+ }
2680
2662
 
2681
- let pathParams = {
2682
- 'inboundPlanId': inboundPlanId,
2683
- 'shipmentId': shipmentId
2684
- };
2685
- let queryParams = {
2686
- };
2687
- let headerParams = {
2688
- };
2689
- let formParams = {
2690
- };
2663
+ const pathParams = {
2664
+ inboundPlanId,
2665
+ shipmentId
2666
+ }
2667
+ const queryParams = {
2668
+ }
2669
+ const headerParams = {
2670
+ }
2671
+ const formParams = {
2672
+ }
2691
2673
 
2692
- let contentTypes = ['application/json'];
2693
- let accepts = ['application/json'];
2694
- let returnType = UpdateShipmentTrackingDetailsResponse;
2674
+ const contentTypes = ['application/json']
2675
+ const accepts = ['application/json']
2676
+ const returnType = UpdateShipmentTrackingDetailsResponse
2695
2677
 
2696
- return this.apiClient.callApi( 'FbaInboundApi-updateShipmentTrackingDetails',
2697
- '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/trackingDetails', 'PUT',
2698
- pathParams, queryParams, headerParams, formParams, postBody,
2699
- contentTypes, accepts, returnType
2700
- );
2701
- }
2678
+ return this.apiClient.callApi('FbaInboundApi-updateShipmentTrackingDetails',
2679
+ '/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/trackingDetails', 'PUT',
2680
+ pathParams, queryParams, headerParams, formParams, postBody,
2681
+ contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateShipmentTrackingDetails')
2682
+ )
2683
+ }
2702
2684
 
2703
- /**
2685
+ /**
2704
2686
  * Updates a shipment&#39;s tracking details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains 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).
2705
2687
  * @param {String} inboundPlanId Identifier of an inbound plan.
2706
2688
  * @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
2707
2689
  * @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest} body The body of the request to &#x60;updateShipmentTrackingDetails&#x60;.
2708
2690
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse}
2709
2691
  */
2710
- updateShipmentTrackingDetails(inboundPlanId, shipmentId, body) {
2711
- return this.updateShipmentTrackingDetailsWithHttpInfo(inboundPlanId, shipmentId, body)
2712
- .then(function(response_and_data) {
2713
- return response_and_data.data;
2714
- });
2715
- }
2716
-
2717
-
2692
+ updateShipmentTrackingDetails (inboundPlanId, shipmentId, body) {
2693
+ return this.updateShipmentTrackingDetailsWithHttpInfo(inboundPlanId, shipmentId, body)
2694
+ .then(function (response_and_data) {
2695
+ return response_and_data.data
2696
+ })
2697
+ }
2718
2698
  }