@amazon-sp-api-release/amazon-sp-api-sdk-js 1.0.0 → 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 (1587) hide show
  1. package/helper/DefaultRateLimitMap.mjs +31 -12
  2. package/index.js +0 -1
  3. package/package.json +2 -2
  4. package/sample-node-app/index.js +1 -1
  5. package/src/apluscontent_v2020_11_01/ApiClient.js +479 -488
  6. package/src/apluscontent_v2020_11_01/api/AplusContentApi.js +508 -532
  7. package/src/apluscontent_v2020_11_01/index.js +197 -198
  8. package/src/apluscontent_v2020_11_01/model/AplusPaginatedResponse.js +22 -26
  9. package/src/apluscontent_v2020_11_01/model/AplusResponse.js +16 -19
  10. package/src/apluscontent_v2020_11_01/model/AsinBadge.js +14 -20
  11. package/src/apluscontent_v2020_11_01/model/AsinMetadata.js +27 -35
  12. package/src/apluscontent_v2020_11_01/model/ColorType.js +10 -14
  13. package/src/apluscontent_v2020_11_01/model/ContentBadge.js +16 -23
  14. package/src/apluscontent_v2020_11_01/model/ContentDocument.js +30 -37
  15. package/src/apluscontent_v2020_11_01/model/ContentMetadata.js +31 -38
  16. package/src/apluscontent_v2020_11_01/model/ContentMetadataRecord.js +21 -25
  17. package/src/apluscontent_v2020_11_01/model/ContentModule.js +63 -81
  18. package/src/apluscontent_v2020_11_01/model/ContentModuleType.js +36 -53
  19. package/src/apluscontent_v2020_11_01/model/ContentRecord.js +22 -27
  20. package/src/apluscontent_v2020_11_01/model/ContentStatus.js +14 -20
  21. package/src/apluscontent_v2020_11_01/model/ContentType.js +10 -14
  22. package/src/apluscontent_v2020_11_01/model/Decorator.js +22 -28
  23. package/src/apluscontent_v2020_11_01/model/DecoratorType.js +22 -32
  24. package/src/apluscontent_v2020_11_01/model/Error.js +21 -26
  25. package/src/apluscontent_v2020_11_01/model/ErrorList.js +17 -20
  26. package/src/apluscontent_v2020_11_01/model/GetContentDocumentResponse.js +25 -29
  27. package/src/apluscontent_v2020_11_01/model/ImageComponent.js +24 -29
  28. package/src/apluscontent_v2020_11_01/model/ImageCropSpecification.js +21 -25
  29. package/src/apluscontent_v2020_11_01/model/ImageDimensions.js +22 -26
  30. package/src/apluscontent_v2020_11_01/model/ImageOffsets.js +22 -26
  31. package/src/apluscontent_v2020_11_01/model/IntegerWithUnits.js +19 -23
  32. package/src/apluscontent_v2020_11_01/model/ListContentDocumentAsinRelationsResponse.js +27 -32
  33. package/src/apluscontent_v2020_11_01/model/ParagraphComponent.js +18 -21
  34. package/src/apluscontent_v2020_11_01/model/PlainTextItem.js +19 -23
  35. package/src/apluscontent_v2020_11_01/model/PositionType.js +10 -14
  36. package/src/apluscontent_v2020_11_01/model/PostContentDocumentApprovalSubmissionResponse.js +20 -23
  37. package/src/apluscontent_v2020_11_01/model/PostContentDocumentAsinRelationsRequest.js +16 -19
  38. package/src/apluscontent_v2020_11_01/model/PostContentDocumentAsinRelationsResponse.js +20 -23
  39. package/src/apluscontent_v2020_11_01/model/PostContentDocumentRequest.js +18 -21
  40. package/src/apluscontent_v2020_11_01/model/PostContentDocumentResponse.js +23 -27
  41. package/src/apluscontent_v2020_11_01/model/PostContentDocumentSuspendSubmissionResponse.js +20 -23
  42. package/src/apluscontent_v2020_11_01/model/PublishRecord.js +32 -40
  43. package/src/apluscontent_v2020_11_01/model/SearchContentDocumentsResponse.js +27 -32
  44. package/src/apluscontent_v2020_11_01/model/SearchContentPublishRecordsResponse.js +27 -32
  45. package/src/apluscontent_v2020_11_01/model/StandardCompanyLogoModule.js +18 -21
  46. package/src/apluscontent_v2020_11_01/model/StandardComparisonProductBlock.js +28 -36
  47. package/src/apluscontent_v2020_11_01/model/StandardComparisonTableModule.js +19 -23
  48. package/src/apluscontent_v2020_11_01/model/StandardFourImageTextModule.js +25 -32
  49. package/src/apluscontent_v2020_11_01/model/StandardFourImageTextQuadrantModule.js +30 -36
  50. package/src/apluscontent_v2020_11_01/model/StandardHeaderImageTextModule.js +19 -23
  51. package/src/apluscontent_v2020_11_01/model/StandardHeaderTextListBlock.js +19 -23
  52. package/src/apluscontent_v2020_11_01/model/StandardImageCaptionBlock.js +19 -23
  53. package/src/apluscontent_v2020_11_01/model/StandardImageSidebarModule.js +30 -38
  54. package/src/apluscontent_v2020_11_01/model/StandardImageTextBlock.js +22 -27
  55. package/src/apluscontent_v2020_11_01/model/StandardImageTextCaptionBlock.js +19 -23
  56. package/src/apluscontent_v2020_11_01/model/StandardImageTextOverlayModule.js +21 -25
  57. package/src/apluscontent_v2020_11_01/model/StandardMultipleImageTextModule.js +16 -19
  58. package/src/apluscontent_v2020_11_01/model/StandardProductDescriptionModule.js +18 -21
  59. package/src/apluscontent_v2020_11_01/model/StandardSingleImageHighlightsModule.js +29 -37
  60. package/src/apluscontent_v2020_11_01/model/StandardSingleImageSpecsDetailModule.js +33 -43
  61. package/src/apluscontent_v2020_11_01/model/StandardSingleSideImageModule.js +21 -25
  62. package/src/apluscontent_v2020_11_01/model/StandardTechSpecsModule.js +22 -27
  63. package/src/apluscontent_v2020_11_01/model/StandardTextBlock.js +19 -23
  64. package/src/apluscontent_v2020_11_01/model/StandardTextListBlock.js +18 -21
  65. package/src/apluscontent_v2020_11_01/model/StandardTextModule.js +21 -25
  66. package/src/apluscontent_v2020_11_01/model/StandardTextPairBlock.js +18 -22
  67. package/src/apluscontent_v2020_11_01/model/StandardThreeImageTextModule.js +23 -29
  68. package/src/apluscontent_v2020_11_01/model/TextComponent.js +19 -23
  69. package/src/apluscontent_v2020_11_01/model/TextItem.js +21 -25
  70. package/src/apluscontent_v2020_11_01/model/ValidateContentDocumentAsinRelationsResponse.js +27 -31
  71. package/src/appintegrations_v2024_04_01/ApiClient.js +479 -488
  72. package/src/appintegrations_v2024_04_01/api/AppIntegrationsApi.js +143 -153
  73. package/src/appintegrations_v2024_04_01/index.js +26 -27
  74. package/src/appintegrations_v2024_04_01/model/CreateNotificationRequest.js +21 -26
  75. package/src/appintegrations_v2024_04_01/model/CreateNotificationResponse.js +15 -18
  76. package/src/appintegrations_v2024_04_01/model/DeleteNotificationsRequest.js +25 -29
  77. package/src/appintegrations_v2024_04_01/model/Error.js +21 -26
  78. package/src/appintegrations_v2024_04_01/model/ErrorList.js +17 -20
  79. package/src/appintegrations_v2024_04_01/model/RecordActionFeedbackRequest.js +20 -23
  80. package/src/applications_v2023_11_30/ApiClient.js +479 -488
  81. package/src/applications_v2023_11_30/api/ApplicationsApi.js +56 -62
  82. package/src/applications_v2023_11_30/index.js +14 -15
  83. package/src/applications_v2023_11_30/model/Error.js +21 -26
  84. package/src/applications_v2023_11_30/model/ErrorList.js +17 -20
  85. package/src/awd_v2024_05_09/ApiClient.js +479 -488
  86. package/src/awd_v2024_05_09/api/AwdApi.js +458 -484
  87. package/src/awd_v2024_05_09/index.js +158 -159
  88. package/src/awd_v2024_05_09/model/Address.js +39 -52
  89. package/src/awd_v2024_05_09/model/CarrierCode.js +18 -22
  90. package/src/awd_v2024_05_09/model/CarrierCodeType.js +8 -11
  91. package/src/awd_v2024_05_09/model/DestinationDetails.js +20 -25
  92. package/src/awd_v2024_05_09/model/DimensionUnitOfMeasurement.js +10 -14
  93. package/src/awd_v2024_05_09/model/DistributionPackage.js +28 -33
  94. package/src/awd_v2024_05_09/model/DistributionPackageContents.js +19 -23
  95. package/src/awd_v2024_05_09/model/DistributionPackageQuantity.js +21 -25
  96. package/src/awd_v2024_05_09/model/DistributionPackageType.js +10 -14
  97. package/src/awd_v2024_05_09/model/Error.js +21 -26
  98. package/src/awd_v2024_05_09/model/ErrorList.js +17 -20
  99. package/src/awd_v2024_05_09/model/ExpirationDetails.js +17 -21
  100. package/src/awd_v2024_05_09/model/InboundEligibility.js +28 -34
  101. package/src/awd_v2024_05_09/model/InboundEligibilityStatus.js +10 -14
  102. package/src/awd_v2024_05_09/model/InboundOrder.js +43 -54
  103. package/src/awd_v2024_05_09/model/InboundOrderCreationData.js +27 -33
  104. package/src/awd_v2024_05_09/model/InboundOrderReference.js +16 -19
  105. package/src/awd_v2024_05_09/model/InboundPackages.js +17 -20
  106. package/src/awd_v2024_05_09/model/InboundPreferences.js +15 -18
  107. package/src/awd_v2024_05_09/model/InboundShipment.js +60 -78
  108. package/src/awd_v2024_05_09/model/InboundShipmentStatus.js +20 -29
  109. package/src/awd_v2024_05_09/model/InboundShipmentSummary.js +30 -38
  110. package/src/awd_v2024_05_09/model/InboundStatus.js +18 -26
  111. package/src/awd_v2024_05_09/model/InventoryDetails.js +19 -24
  112. package/src/awd_v2024_05_09/model/InventoryListing.js +19 -23
  113. package/src/awd_v2024_05_09/model/InventoryQuantity.js +21 -25
  114. package/src/awd_v2024_05_09/model/InventorySummary.js +26 -33
  115. package/src/awd_v2024_05_09/model/InventoryUnitOfMeasurement.js +12 -17
  116. package/src/awd_v2024_05_09/model/LabelOwner.js +10 -14
  117. package/src/awd_v2024_05_09/model/LabelStatus.js +14 -20
  118. package/src/awd_v2024_05_09/model/MeasurementData.js +24 -29
  119. package/src/awd_v2024_05_09/model/OrderIneligibilityReason.js +19 -23
  120. package/src/awd_v2024_05_09/model/PackageDimensions.js +27 -33
  121. package/src/awd_v2024_05_09/model/PackageVolume.js +21 -25
  122. package/src/awd_v2024_05_09/model/PackageWeight.js +21 -25
  123. package/src/awd_v2024_05_09/model/PrepCategory.js +34 -50
  124. package/src/awd_v2024_05_09/model/PrepDetails.js +25 -31
  125. package/src/awd_v2024_05_09/model/PrepInstruction.js +18 -22
  126. package/src/awd_v2024_05_09/model/PrepOwner.js +10 -14
  127. package/src/awd_v2024_05_09/model/ProductAttribute.js +17 -21
  128. package/src/awd_v2024_05_09/model/ProductQuantity.js +27 -34
  129. package/src/awd_v2024_05_09/model/ShipmentLabels.js +20 -24
  130. package/src/awd_v2024_05_09/model/ShipmentListing.js +18 -22
  131. package/src/awd_v2024_05_09/model/SkuEligibility.js +26 -31
  132. package/src/awd_v2024_05_09/model/SkuIneligibilityReason.js +19 -23
  133. package/src/awd_v2024_05_09/model/SkuQuantity.js +23 -28
  134. package/src/awd_v2024_05_09/model/TrackingDetails.js +19 -23
  135. package/src/awd_v2024_05_09/model/TransportationDetails.js +17 -20
  136. package/src/awd_v2024_05_09/model/VolumeUnitOfMeasurement.js +12 -17
  137. package/src/awd_v2024_05_09/model/WeightUnitOfMeasurement.js +10 -14
  138. package/src/catalogitems_v2022_04_01/ApiClient.js +479 -488
  139. package/src/catalogitems_v2022_04_01/api/CatalogApi.js +124 -132
  140. package/src/catalogitems_v2022_04_01/index.js +95 -96
  141. package/src/catalogitems_v2022_04_01/model/BrandRefinement.js +19 -23
  142. package/src/catalogitems_v2022_04_01/model/ClassificationRefinement.js +22 -27
  143. package/src/catalogitems_v2022_04_01/model/Dimension.js +17 -21
  144. package/src/catalogitems_v2022_04_01/model/Dimensions.js +22 -28
  145. package/src/catalogitems_v2022_04_01/model/Error.js +21 -26
  146. package/src/catalogitems_v2022_04_01/model/ErrorList.js +18 -21
  147. package/src/catalogitems_v2022_04_01/model/Item.js +45 -58
  148. package/src/catalogitems_v2022_04_01/model/ItemBrowseClassification.js +21 -26
  149. package/src/catalogitems_v2022_04_01/model/ItemBrowseClassificationsByMarketplace.js +19 -23
  150. package/src/catalogitems_v2022_04_01/model/ItemClassificationSalesRank.js +24 -30
  151. package/src/catalogitems_v2022_04_01/model/ItemContributor.js +21 -25
  152. package/src/catalogitems_v2022_04_01/model/ItemContributorRole.js +18 -22
  153. package/src/catalogitems_v2022_04_01/model/ItemDimensionsByMarketplace.js +21 -26
  154. package/src/catalogitems_v2022_04_01/model/ItemDisplayGroupSalesRank.js +24 -30
  155. package/src/catalogitems_v2022_04_01/model/ItemIdentifier.js +19 -23
  156. package/src/catalogitems_v2022_04_01/model/ItemIdentifiersByMarketplace.js +20 -24
  157. package/src/catalogitems_v2022_04_01/model/ItemImage.js +47 -53
  158. package/src/catalogitems_v2022_04_01/model/ItemImagesByMarketplace.js +20 -24
  159. package/src/catalogitems_v2022_04_01/model/ItemProductTypeByMarketplace.js +17 -21
  160. package/src/catalogitems_v2022_04_01/model/ItemRelationship.js +29 -35
  161. package/src/catalogitems_v2022_04_01/model/ItemRelationshipsByMarketplace.js +20 -24
  162. package/src/catalogitems_v2022_04_01/model/ItemSalesRanksByMarketplace.js +22 -27
  163. package/src/catalogitems_v2022_04_01/model/ItemSearchResults.js +30 -36
  164. package/src/catalogitems_v2022_04_01/model/ItemSummaryByMarketplace.js +66 -88
  165. package/src/catalogitems_v2022_04_01/model/ItemVariationTheme.js +17 -21
  166. package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsByMarketplace.js +53 -63
  167. package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsCategory.js +17 -21
  168. package/src/catalogitems_v2022_04_01/model/Pagination.js +17 -21
  169. package/src/catalogitems_v2022_04_01/model/Refinements.js +21 -25
  170. package/src/datakiosk_v2023_11_15/ApiClient.js +479 -488
  171. package/src/datakiosk_v2023_11_15/api/QueriesApi.js +216 -230
  172. package/src/datakiosk_v2023_11_15/index.js +35 -36
  173. package/src/datakiosk_v2023_11_15/model/CreateQueryResponse.js +16 -19
  174. package/src/datakiosk_v2023_11_15/model/CreateQuerySpecification.js +18 -22
  175. package/src/datakiosk_v2023_11_15/model/Error.js +21 -26
  176. package/src/datakiosk_v2023_11_15/model/ErrorList.js +17 -20
  177. package/src/datakiosk_v2023_11_15/model/GetDocumentResponse.js +19 -23
  178. package/src/datakiosk_v2023_11_15/model/GetQueriesResponse.js +20 -24
  179. package/src/datakiosk_v2023_11_15/model/GetQueriesResponsePagination.js +15 -18
  180. package/src/datakiosk_v2023_11_15/model/Query.js +48 -59
  181. package/src/datakiosk_v2023_11_15/model/QueryPagination.js +15 -18
  182. package/src/easyship_v2022_03_23/ApiClient.js +479 -488
  183. package/src/easyship_v2022_03_23/api/EasyShipApi.js +214 -228
  184. package/src/easyship_v2022_03_23/index.js +89 -90
  185. package/src/easyship_v2022_03_23/model/Code.js +28 -41
  186. package/src/easyship_v2022_03_23/model/CreateScheduledPackageRequest.js +24 -29
  187. package/src/easyship_v2022_03_23/model/CreateScheduledPackagesRequest.js +25 -30
  188. package/src/easyship_v2022_03_23/model/CreateScheduledPackagesResponse.js +21 -26
  189. package/src/easyship_v2022_03_23/model/Dimensions.js +24 -31
  190. package/src/easyship_v2022_03_23/model/Error.js +21 -26
  191. package/src/easyship_v2022_03_23/model/ErrorList.js +17 -20
  192. package/src/easyship_v2022_03_23/model/HandoverMethod.js +10 -14
  193. package/src/easyship_v2022_03_23/model/InvoiceData.js +18 -22
  194. package/src/easyship_v2022_03_23/model/Item.js +17 -21
  195. package/src/easyship_v2022_03_23/model/LabelFormat.js +10 -14
  196. package/src/easyship_v2022_03_23/model/ListHandoverSlotsRequest.js +29 -35
  197. package/src/easyship_v2022_03_23/model/ListHandoverSlotsResponse.js +20 -24
  198. package/src/easyship_v2022_03_23/model/OrderScheduleDetails.js +20 -24
  199. package/src/easyship_v2022_03_23/model/Package.js +47 -58
  200. package/src/easyship_v2022_03_23/model/PackageDetails.js +23 -28
  201. package/src/easyship_v2022_03_23/model/PackageStatus.js +30 -44
  202. package/src/easyship_v2022_03_23/model/Packages.js +17 -20
  203. package/src/easyship_v2022_03_23/model/RejectedOrder.js +19 -23
  204. package/src/easyship_v2022_03_23/model/ScheduledPackageId.js +18 -22
  205. package/src/easyship_v2022_03_23/model/TimeSlot.js +23 -29
  206. package/src/easyship_v2022_03_23/model/TrackingDetails.js +15 -18
  207. package/src/easyship_v2022_03_23/model/UnitOfLength.js +8 -11
  208. package/src/easyship_v2022_03_23/model/UnitOfWeight.js +10 -14
  209. package/src/easyship_v2022_03_23/model/UpdatePackageDetails.js +23 -27
  210. package/src/easyship_v2022_03_23/model/UpdateScheduledPackagesRequest.js +20 -24
  211. package/src/easyship_v2022_03_23/model/Weight.js +18 -22
  212. package/src/fbaeligibility_v1/ApiClient.js +479 -488
  213. package/src/fbaeligibility_v1/api/FbaInboundApi.js +68 -74
  214. package/src/fbaeligibility_v1/index.js +17 -18
  215. package/src/fbaeligibility_v1/model/Error.js +20 -25
  216. package/src/fbaeligibility_v1/model/GetItemEligibilityPreviewResponse.js +19 -23
  217. package/src/fbaeligibility_v1/model/ItemEligibilityPreview.js +112 -119
  218. package/src/fbainventory_v1/ApiClient.js +479 -488
  219. package/src/fbainventory_v1/api/FbaInventoryApi.js +208 -220
  220. package/src/fbainventory_v1/index.js +59 -60
  221. package/src/fbainventory_v1/model/AddInventoryRequest.js +16 -19
  222. package/src/fbainventory_v1/model/AddInventoryResponse.js +16 -19
  223. package/src/fbainventory_v1/model/CreateInventoryItemRequest.js +22 -27
  224. package/src/fbainventory_v1/model/CreateInventoryItemResponse.js +16 -19
  225. package/src/fbainventory_v1/model/DeleteInventoryItemResponse.js +16 -19
  226. package/src/fbainventory_v1/model/Error.js +20 -25
  227. package/src/fbainventory_v1/model/GetInventorySummariesResponse.js +22 -27
  228. package/src/fbainventory_v1/model/GetInventorySummariesResult.js +22 -26
  229. package/src/fbainventory_v1/model/Granularity.js +17 -21
  230. package/src/fbainventory_v1/model/InventoryDetails.js +30 -39
  231. package/src/fbainventory_v1/model/InventoryItem.js +22 -27
  232. package/src/fbainventory_v1/model/InventorySummary.js +32 -43
  233. package/src/fbainventory_v1/model/Pagination.js +15 -18
  234. package/src/fbainventory_v1/model/ResearchingQuantity.js +18 -22
  235. package/src/fbainventory_v1/model/ResearchingQuantityEntry.js +27 -31
  236. package/src/fbainventory_v1/model/ReservedQuantity.js +21 -27
  237. package/src/fbainventory_v1/model/UnfulfillableQuantity.js +27 -36
  238. package/src/feeds_v2021_06_30/ApiClient.js +479 -488
  239. package/src/feeds_v2021_06_30/api/FeedsApi.js +256 -272
  240. package/src/feeds_v2021_06_30/index.js +35 -36
  241. package/src/feeds_v2021_06_30/model/CreateFeedDocumentResponse.js +19 -23
  242. package/src/feeds_v2021_06_30/model/CreateFeedDocumentSpecification.js +16 -19
  243. package/src/feeds_v2021_06_30/model/CreateFeedResponse.js +16 -19
  244. package/src/feeds_v2021_06_30/model/CreateFeedSpecification.js +24 -30
  245. package/src/feeds_v2021_06_30/model/Error.js +21 -26
  246. package/src/feeds_v2021_06_30/model/ErrorList.js +17 -20
  247. package/src/feeds_v2021_06_30/model/Feed.js +45 -55
  248. package/src/feeds_v2021_06_30/model/FeedDocument.js +25 -30
  249. package/src/feeds_v2021_06_30/model/GetFeedsResponse.js +19 -23
  250. package/src/finances_v0/ApiClient.js +479 -488
  251. package/src/finances_v0/api/DefaultApi.js +172 -184
  252. package/src/finances_v0/index.js +158 -159
  253. package/src/finances_v0/model/AdhocDisbursementEvent.js +22 -28
  254. package/src/finances_v0/model/AdjustmentEvent.js +25 -32
  255. package/src/finances_v0/model/AdjustmentItem.js +30 -40
  256. package/src/finances_v0/model/AffordabilityExpenseEvent.js +38 -49
  257. package/src/finances_v0/model/CapacityReservationBillingEvent.js +22 -28
  258. package/src/finances_v0/model/ChargeComponent.js +18 -22
  259. package/src/finances_v0/model/ChargeInstrument.js +20 -25
  260. package/src/finances_v0/model/ChargeRefundEvent.js +22 -28
  261. package/src/finances_v0/model/ChargeRefundTransaction.js +18 -22
  262. package/src/finances_v0/model/CouponPaymentEvent.js +32 -42
  263. package/src/finances_v0/model/Currency.js +17 -21
  264. package/src/finances_v0/model/DebtRecoveryEvent.js +26 -33
  265. package/src/finances_v0/model/DebtRecoveryItem.js +22 -28
  266. package/src/finances_v0/model/DirectPayment.js +18 -22
  267. package/src/finances_v0/model/Error.js +21 -26
  268. package/src/finances_v0/model/FBALiquidationEvent.js +22 -28
  269. package/src/finances_v0/model/FailedAdhocDisbursementEvent.js +28 -37
  270. package/src/finances_v0/model/FeeComponent.js +18 -22
  271. package/src/finances_v0/model/FinancialEventGroup.js +36 -49
  272. package/src/finances_v0/model/FinancialEvents.js +107 -142
  273. package/src/finances_v0/model/ImagingServicesFeeEvent.js +22 -28
  274. package/src/finances_v0/model/ListFinancialEventGroupsPayload.js +18 -22
  275. package/src/finances_v0/model/ListFinancialEventGroupsResponse.js +19 -23
  276. package/src/finances_v0/model/ListFinancialEventsPayload.js +18 -22
  277. package/src/finances_v0/model/ListFinancialEventsResponse.js +19 -23
  278. package/src/finances_v0/model/LoanServicingEvent.js +18 -22
  279. package/src/finances_v0/model/NetworkComminglingTransactionEvent.js +30 -40
  280. package/src/finances_v0/model/PayWithAmazonEvent.js +35 -47
  281. package/src/finances_v0/model/ProductAdsPaymentEvent.js +26 -34
  282. package/src/finances_v0/model/Promotion.js +20 -25
  283. package/src/finances_v0/model/RemovalShipmentAdjustmentEvent.js +26 -34
  284. package/src/finances_v0/model/RemovalShipmentEvent.js +26 -34
  285. package/src/finances_v0/model/RemovalShipmentItem.js +30 -40
  286. package/src/finances_v0/model/RemovalShipmentItemAdjustment.js +28 -37
  287. package/src/finances_v0/model/RentalTransactionEvent.js +37 -49
  288. package/src/finances_v0/model/RetrochargeEvent.js +29 -38
  289. package/src/finances_v0/model/SAFETReimbursementEvent.js +25 -32
  290. package/src/finances_v0/model/SAFETReimbursementItem.js +20 -25
  291. package/src/finances_v0/model/SellerDealPaymentEvent.js +30 -40
  292. package/src/finances_v0/model/SellerReviewEnrollmentPaymentEvent.js +28 -36
  293. package/src/finances_v0/model/ServiceFeeEvent.js +30 -40
  294. package/src/finances_v0/model/ShipmentEvent.js +45 -61
  295. package/src/finances_v0/model/ShipmentItem.js +44 -59
  296. package/src/finances_v0/model/SolutionProviderCreditEvent.js +34 -46
  297. package/src/finances_v0/model/TDSReimbursementEvent.js +20 -25
  298. package/src/finances_v0/model/TaxWithheldComponent.js +18 -22
  299. package/src/finances_v0/model/TaxWithholdingEvent.js +23 -29
  300. package/src/finances_v0/model/TaxWithholdingPeriod.js +17 -21
  301. package/src/finances_v0/model/TrialShipmentEvent.js +24 -31
  302. package/src/finances_v0/model/ValueAddedServiceChargeEvent.js +22 -28
  303. package/src/fulfillmentinbound_v0/ApiClient.js +479 -488
  304. package/src/fulfillmentinbound_v0/api/FbaInboundApi.js +309 -325
  305. package/src/fulfillmentinbound_v0/index.js +101 -102
  306. package/src/fulfillmentinbound_v0/model/ASINPrepInstructions.js +24 -30
  307. package/src/fulfillmentinbound_v0/model/Address.js +35 -45
  308. package/src/fulfillmentinbound_v0/model/AmazonPrepFeesDetails.js +19 -23
  309. package/src/fulfillmentinbound_v0/model/Amount.js +21 -25
  310. package/src/fulfillmentinbound_v0/model/BarcodeInstruction.js +12 -17
  311. package/src/fulfillmentinbound_v0/model/BillOfLadingDownloadURL.js +15 -18
  312. package/src/fulfillmentinbound_v0/model/BoxContentsFeeDetails.js +20 -25
  313. package/src/fulfillmentinbound_v0/model/BoxContentsSource.js +14 -20
  314. package/src/fulfillmentinbound_v0/model/CurrencyCode.js +10 -14
  315. package/src/fulfillmentinbound_v0/model/Error.js +21 -26
  316. package/src/fulfillmentinbound_v0/model/ErrorReason.js +10 -14
  317. package/src/fulfillmentinbound_v0/model/GetBillOfLadingResponse.js +19 -23
  318. package/src/fulfillmentinbound_v0/model/GetLabelsResponse.js +19 -23
  319. package/src/fulfillmentinbound_v0/model/GetPrepInstructionsResponse.js +19 -23
  320. package/src/fulfillmentinbound_v0/model/GetPrepInstructionsResult.js +25 -31
  321. package/src/fulfillmentinbound_v0/model/GetShipmentItemsResponse.js +19 -23
  322. package/src/fulfillmentinbound_v0/model/GetShipmentItemsResult.js +18 -22
  323. package/src/fulfillmentinbound_v0/model/GetShipmentsResponse.js +19 -23
  324. package/src/fulfillmentinbound_v0/model/GetShipmentsResult.js +18 -22
  325. package/src/fulfillmentinbound_v0/model/InboundShipmentInfo.js +41 -53
  326. package/src/fulfillmentinbound_v0/model/InboundShipmentItem.js +32 -42
  327. package/src/fulfillmentinbound_v0/model/InvalidASIN.js +18 -22
  328. package/src/fulfillmentinbound_v0/model/InvalidSKU.js +18 -22
  329. package/src/fulfillmentinbound_v0/model/LabelDownloadURL.js +15 -18
  330. package/src/fulfillmentinbound_v0/model/LabelPrepType.js +12 -17
  331. package/src/fulfillmentinbound_v0/model/PrepDetails.js +23 -27
  332. package/src/fulfillmentinbound_v0/model/PrepGuidance.js +12 -17
  333. package/src/fulfillmentinbound_v0/model/PrepInstruction.js +38 -56
  334. package/src/fulfillmentinbound_v0/model/PrepOwner.js +10 -14
  335. package/src/fulfillmentinbound_v0/model/SKUPrepInstructions.js +29 -37
  336. package/src/fulfillmentinbound_v0/model/ShipmentStatus.js +26 -38
  337. package/src/fulfillmentinbound_v2024_03_20/ApiClient.js +479 -488
  338. package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +1893 -1987
  339. package/src/fulfillmentinbound_v2024_03_20/index.js +428 -429
  340. package/src/fulfillmentinbound_v2024_03_20/model/Address.js +38 -50
  341. package/src/fulfillmentinbound_v2024_03_20/model/AddressInput.js +39 -51
  342. package/src/fulfillmentinbound_v2024_03_20/model/AllOwnersConstraint.js +8 -11
  343. package/src/fulfillmentinbound_v2024_03_20/model/AppointmentSlot.js +21 -25
  344. package/src/fulfillmentinbound_v2024_03_20/model/AppointmentSlotTime.js +19 -23
  345. package/src/fulfillmentinbound_v2024_03_20/model/Box.js +41 -54
  346. package/src/fulfillmentinbound_v2024_03_20/model/BoxContentInformationSource.js +12 -17
  347. package/src/fulfillmentinbound_v2024_03_20/model/BoxInput.js +34 -41
  348. package/src/fulfillmentinbound_v2024_03_20/model/BoxRequirements.js +18 -21
  349. package/src/fulfillmentinbound_v2024_03_20/model/BoxUpdateInput.js +36 -44
  350. package/src/fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse.js +16 -19
  351. package/src/fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest.js +16 -19
  352. package/src/fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse.js +16 -19
  353. package/src/fulfillmentinbound_v2024_03_20/model/Carrier.js +17 -21
  354. package/src/fulfillmentinbound_v2024_03_20/model/CarrierAppointment.js +19 -23
  355. package/src/fulfillmentinbound_v2024_03_20/model/ComplianceDetail.js +22 -28
  356. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse.js +16 -19
  357. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse.js +16 -19
  358. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse.js +16 -19
  359. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse.js +16 -19
  360. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest.js +17 -20
  361. package/src/fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse.js +16 -19
  362. package/src/fulfillmentinbound_v2024_03_20/model/ContactInformation.js +21 -26
  363. package/src/fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview.js +29 -35
  364. package/src/fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest.js +27 -33
  365. package/src/fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse.js +19 -23
  366. package/src/fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest.js +34 -43
  367. package/src/fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse.js +17 -20
  368. package/src/fulfillmentinbound_v2024_03_20/model/Currency.js +19 -23
  369. package/src/fulfillmentinbound_v2024_03_20/model/CustomPlacementInput.js +20 -24
  370. package/src/fulfillmentinbound_v2024_03_20/model/Dates.js +16 -19
  371. package/src/fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption.js +28 -35
  372. package/src/fulfillmentinbound_v2024_03_20/model/Dimensions.js +27 -33
  373. package/src/fulfillmentinbound_v2024_03_20/model/DocumentDownload.js +21 -26
  374. package/src/fulfillmentinbound_v2024_03_20/model/Error.js +21 -26
  375. package/src/fulfillmentinbound_v2024_03_20/model/ErrorList.js +17 -20
  376. package/src/fulfillmentinbound_v2024_03_20/model/FreightInformation.js +18 -22
  377. package/src/fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse.js +16 -19
  378. package/src/fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse.js +16 -19
  379. package/src/fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest.js +16 -19
  380. package/src/fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse.js +16 -19
  381. package/src/fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest.js +17 -21
  382. package/src/fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse.js +16 -19
  383. package/src/fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest.js +21 -25
  384. package/src/fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse.js +16 -19
  385. package/src/fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest.js +20 -24
  386. package/src/fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse.js +16 -19
  387. package/src/fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse.js +18 -21
  388. package/src/fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse.js +21 -25
  389. package/src/fulfillmentinbound_v2024_03_20/model/InboundOperationStatus.js +28 -34
  390. package/src/fulfillmentinbound_v2024_03_20/model/InboundPlan.js +45 -57
  391. package/src/fulfillmentinbound_v2024_03_20/model/InboundPlanSummary.js +36 -45
  392. package/src/fulfillmentinbound_v2024_03_20/model/Incentive.js +27 -33
  393. package/src/fulfillmentinbound_v2024_03_20/model/Item.js +36 -46
  394. package/src/fulfillmentinbound_v2024_03_20/model/ItemInput.js +33 -41
  395. package/src/fulfillmentinbound_v2024_03_20/model/ItemLabelPageType.js +28 -41
  396. package/src/fulfillmentinbound_v2024_03_20/model/LabelOwner.js +12 -17
  397. package/src/fulfillmentinbound_v2024_03_20/model/LabelPrintType.js +10 -14
  398. package/src/fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse.js +20 -24
  399. package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse.js +20 -24
  400. package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse.js +20 -24
  401. package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse.js +20 -24
  402. package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse.js +19 -23
  403. package/src/fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse.js +16 -19
  404. package/src/fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse.js +20 -24
  405. package/src/fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse.js +20 -24
  406. package/src/fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse.js +20 -24
  407. package/src/fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse.js +20 -24
  408. package/src/fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse.js +17 -20
  409. package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse.js +20 -24
  410. package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse.js +20 -24
  411. package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse.js +20 -24
  412. package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse.js +20 -24
  413. package/src/fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse.js +20 -24
  414. package/src/fulfillmentinbound_v2024_03_20/model/LtlTrackingDetail.js +17 -21
  415. package/src/fulfillmentinbound_v2024_03_20/model/LtlTrackingDetailInput.js +18 -22
  416. package/src/fulfillmentinbound_v2024_03_20/model/MskuPrepDetail.js +33 -41
  417. package/src/fulfillmentinbound_v2024_03_20/model/MskuPrepDetailInput.js +25 -30
  418. package/src/fulfillmentinbound_v2024_03_20/model/MskuQuantity.js +19 -23
  419. package/src/fulfillmentinbound_v2024_03_20/model/OperationProblem.js +24 -30
  420. package/src/fulfillmentinbound_v2024_03_20/model/OperationStatus.js +12 -17
  421. package/src/fulfillmentinbound_v2024_03_20/model/OwnerConstraint.js +12 -17
  422. package/src/fulfillmentinbound_v2024_03_20/model/PackageGroupingInput.js +21 -26
  423. package/src/fulfillmentinbound_v2024_03_20/model/PackingConfiguration.js +22 -27
  424. package/src/fulfillmentinbound_v2024_03_20/model/PackingOption.js +39 -49
  425. package/src/fulfillmentinbound_v2024_03_20/model/PackingOptionSummary.js +19 -23
  426. package/src/fulfillmentinbound_v2024_03_20/model/Pagination.js +15 -18
  427. package/src/fulfillmentinbound_v2024_03_20/model/Pallet.js +27 -34
  428. package/src/fulfillmentinbound_v2024_03_20/model/PalletInput.js +25 -31
  429. package/src/fulfillmentinbound_v2024_03_20/model/PlacementOption.js +31 -39
  430. package/src/fulfillmentinbound_v2024_03_20/model/PlacementOptionSummary.js +19 -23
  431. package/src/fulfillmentinbound_v2024_03_20/model/PrepCategory.js +34 -50
  432. package/src/fulfillmentinbound_v2024_03_20/model/PrepInstruction.js +20 -25
  433. package/src/fulfillmentinbound_v2024_03_20/model/PrepOwner.js +12 -17
  434. package/src/fulfillmentinbound_v2024_03_20/model/PrepType.js +38 -56
  435. package/src/fulfillmentinbound_v2024_03_20/model/Quote.js +22 -27
  436. package/src/fulfillmentinbound_v2024_03_20/model/ReasonComment.js +24 -35
  437. package/src/fulfillmentinbound_v2024_03_20/model/Region.js +19 -24
  438. package/src/fulfillmentinbound_v2024_03_20/model/RequestedUpdates.js +19 -23
  439. package/src/fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest.js +16 -19
  440. package/src/fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse.js +18 -21
  441. package/src/fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow.js +27 -34
  442. package/src/fulfillmentinbound_v2024_03_20/model/SelfShipAppointmentDetails.js +20 -25
  443. package/src/fulfillmentinbound_v2024_03_20/model/SelfShipAppointmentSlotsAvailability.js +18 -22
  444. package/src/fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest.js +17 -20
  445. package/src/fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse.js +16 -19
  446. package/src/fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest.js +20 -24
  447. package/src/fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse.js +16 -19
  448. package/src/fulfillmentinbound_v2024_03_20/model/Shipment.js +57 -74
  449. package/src/fulfillmentinbound_v2024_03_20/model/ShipmentDestination.js +21 -26
  450. package/src/fulfillmentinbound_v2024_03_20/model/ShipmentSource.js +19 -23
  451. package/src/fulfillmentinbound_v2024_03_20/model/ShipmentSummary.js +19 -23
  452. package/src/fulfillmentinbound_v2024_03_20/model/ShipmentTransportationConfiguration.js +30 -37
  453. package/src/fulfillmentinbound_v2024_03_20/model/ShippingConfiguration.js +17 -21
  454. package/src/fulfillmentinbound_v2024_03_20/model/ShippingRequirements.js +19 -23
  455. package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingDetail.js +16 -19
  456. package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingDetailInput.js +17 -20
  457. package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingItem.js +19 -24
  458. package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingItemInput.js +19 -23
  459. package/src/fulfillmentinbound_v2024_03_20/model/Stackability.js +10 -14
  460. package/src/fulfillmentinbound_v2024_03_20/model/TaxDetails.js +21 -26
  461. package/src/fulfillmentinbound_v2024_03_20/model/TaxRate.js +19 -24
  462. package/src/fulfillmentinbound_v2024_03_20/model/TrackingDetails.js +19 -23
  463. package/src/fulfillmentinbound_v2024_03_20/model/TrackingDetailsInput.js +19 -23
  464. package/src/fulfillmentinbound_v2024_03_20/model/TransportationOption.js +39 -49
  465. package/src/fulfillmentinbound_v2024_03_20/model/TransportationSelection.js +22 -27
  466. package/src/fulfillmentinbound_v2024_03_20/model/UnitOfMeasurement.js +10 -14
  467. package/src/fulfillmentinbound_v2024_03_20/model/UnitOfWeight.js +10 -14
  468. package/src/fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest.js +16 -19
  469. package/src/fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest.js +21 -25
  470. package/src/fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse.js +16 -19
  471. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest.js +16 -19
  472. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest.js +18 -21
  473. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse.js +16 -19
  474. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest.js +18 -21
  475. package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse.js +16 -19
  476. package/src/fulfillmentinbound_v2024_03_20/model/Weight.js +21 -25
  477. package/src/fulfillmentinbound_v2024_03_20/model/WeightRange.js +24 -29
  478. package/src/fulfillmentinbound_v2024_03_20/model/Window.js +21 -26
  479. package/src/fulfillmentinbound_v2024_03_20/model/WindowInput.js +16 -19
  480. package/src/fulfillmentoutbound_v2020_07_01/ApiClient.js +479 -488
  481. package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.js +593 -625
  482. package/src/fulfillmentoutbound_v2020_07_01/index.js +272 -273
  483. package/src/fulfillmentoutbound_v2020_07_01/model/AdditionalLocationInfo.js +58 -86
  484. package/src/fulfillmentoutbound_v2020_07_01/model/Address.js +38 -50
  485. package/src/fulfillmentoutbound_v2020_07_01/model/Amount.js +23 -27
  486. package/src/fulfillmentoutbound_v2020_07_01/model/CODSettings.js +25 -32
  487. package/src/fulfillmentoutbound_v2020_07_01/model/CancelFulfillmentOrderResponse.js +16 -19
  488. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderItem.js +35 -46
  489. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderRequest.js +66 -85
  490. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderResponse.js +16 -19
  491. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnRequest.js +17 -20
  492. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnResponse.js +19 -23
  493. package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnResult.js +22 -27
  494. package/src/fulfillmentoutbound_v2020_07_01/model/CreateReturnItem.js +27 -34
  495. package/src/fulfillmentoutbound_v2020_07_01/model/CurrentStatus.js +42 -62
  496. package/src/fulfillmentoutbound_v2020_07_01/model/DateRange.js +19 -23
  497. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryDocument.js +18 -22
  498. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryInformation.js +19 -23
  499. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryMessage.js +17 -21
  500. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryOffer.js +21 -26
  501. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryPolicy.js +16 -19
  502. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryPreferences.js +18 -22
  503. package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryWindow.js +19 -23
  504. package/src/fulfillmentoutbound_v2020_07_01/model/Destination.js +18 -22
  505. package/src/fulfillmentoutbound_v2020_07_01/model/DropOffLocation.js +36 -40
  506. package/src/fulfillmentoutbound_v2020_07_01/model/Error.js +21 -26
  507. package/src/fulfillmentoutbound_v2020_07_01/model/EventCode.js +72 -107
  508. package/src/fulfillmentoutbound_v2020_07_01/model/Feature.js +21 -26
  509. package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.js +23 -27
  510. package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSku.js +23 -30
  511. package/src/fulfillmentoutbound_v2020_07_01/model/Fee.js +31 -35
  512. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentAction.js +10 -14
  513. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrder.js +66 -84
  514. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrderItem.js +47 -63
  515. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrderStatus.js +24 -35
  516. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPolicy.js +12 -17
  517. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreview.js +47 -60
  518. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewItem.js +33 -40
  519. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewShipment.js +27 -35
  520. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentReturnItemStatus.js +10 -14
  521. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipment.js +45 -55
  522. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipmentItem.js +28 -36
  523. package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipmentPackage.js +29 -37
  524. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersProduct.js +21 -25
  525. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersRequest.js +23 -27
  526. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersResponse.js +19 -23
  527. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersResult.js +16 -19
  528. package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersTerms.js +23 -27
  529. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureInventoryResponse.js +19 -23
  530. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureInventoryResult.js +24 -30
  531. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureSkuResponse.js +19 -23
  532. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureSkuResult.js +27 -34
  533. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeaturesResponse.js +19 -23
  534. package/src/fulfillmentoutbound_v2020_07_01/model/GetFeaturesResult.js +17 -20
  535. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentOrderResponse.js +19 -23
  536. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentOrderResult.js +36 -44
  537. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewItem.js +25 -31
  538. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewRequest.js +34 -43
  539. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewResponse.js +19 -23
  540. package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewResult.js +16 -19
  541. package/src/fulfillmentoutbound_v2020_07_01/model/GetPackageTrackingDetailsResponse.js +19 -23
  542. package/src/fulfillmentoutbound_v2020_07_01/model/InvalidItemReason.js +21 -25
  543. package/src/fulfillmentoutbound_v2020_07_01/model/InvalidItemReasonCode.js +14 -20
  544. package/src/fulfillmentoutbound_v2020_07_01/model/InvalidReturnItem.js +24 -29
  545. package/src/fulfillmentoutbound_v2020_07_01/model/ListAllFulfillmentOrdersResponse.js +19 -23
  546. package/src/fulfillmentoutbound_v2020_07_01/model/ListAllFulfillmentOrdersResult.js +18 -22
  547. package/src/fulfillmentoutbound_v2020_07_01/model/ListReturnReasonCodesResponse.js +19 -23
  548. package/src/fulfillmentoutbound_v2020_07_01/model/ListReturnReasonCodesResult.js +16 -19
  549. package/src/fulfillmentoutbound_v2020_07_01/model/LockerDetails.js +17 -21
  550. package/src/fulfillmentoutbound_v2020_07_01/model/Money.js +19 -23
  551. package/src/fulfillmentoutbound_v2020_07_01/model/Origin.js +16 -19
  552. package/src/fulfillmentoutbound_v2020_07_01/model/PackageTrackingDetails.js +49 -66
  553. package/src/fulfillmentoutbound_v2020_07_01/model/PaymentInformation.js +22 -27
  554. package/src/fulfillmentoutbound_v2020_07_01/model/ProductIdentifier.js +16 -19
  555. package/src/fulfillmentoutbound_v2020_07_01/model/ReasonCodeDetails.js +21 -26
  556. package/src/fulfillmentoutbound_v2020_07_01/model/ReturnAuthorization.js +30 -37
  557. package/src/fulfillmentoutbound_v2020_07_01/model/ReturnItem.js +44 -57
  558. package/src/fulfillmentoutbound_v2020_07_01/model/ReturnItemDisposition.js +16 -23
  559. package/src/fulfillmentoutbound_v2020_07_01/model/ScheduledDeliveryInfo.js +20 -24
  560. package/src/fulfillmentoutbound_v2020_07_01/model/ShippingSpeedCategory.js +14 -20
  561. package/src/fulfillmentoutbound_v2020_07_01/model/SubmitFulfillmentOrderStatusUpdateRequest.js +16 -19
  562. package/src/fulfillmentoutbound_v2020_07_01/model/SubmitFulfillmentOrderStatusUpdateResponse.js +16 -19
  563. package/src/fulfillmentoutbound_v2020_07_01/model/TrackingAddress.js +22 -27
  564. package/src/fulfillmentoutbound_v2020_07_01/model/TrackingEvent.js +29 -35
  565. package/src/fulfillmentoutbound_v2020_07_01/model/UnfulfillablePreviewItem.js +24 -30
  566. package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderItem.js +36 -48
  567. package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderRequest.js +43 -57
  568. package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderResponse.js +16 -19
  569. package/src/fulfillmentoutbound_v2020_07_01/model/VariablePrecisionAddress.js +31 -41
  570. package/src/fulfillmentoutbound_v2020_07_01/model/Weight.js +29 -33
  571. package/src/invoices_v2024_06_19/ApiClient.js +479 -488
  572. package/src/invoices_v2024_06_19/api/InvoicesApi.js +317 -335
  573. package/src/invoices_v2024_06_19/index.js +62 -63
  574. package/src/invoices_v2024_06_19/model/AttributeOption.js +17 -21
  575. package/src/invoices_v2024_06_19/model/Error.js +21 -26
  576. package/src/invoices_v2024_06_19/model/ErrorList.js +17 -20
  577. package/src/invoices_v2024_06_19/model/Export.js +26 -34
  578. package/src/invoices_v2024_06_19/model/ExportInvoicesRequest.js +36 -48
  579. package/src/invoices_v2024_06_19/model/ExportInvoicesResponse.js +15 -18
  580. package/src/invoices_v2024_06_19/model/ExportStatus.js +14 -20
  581. package/src/invoices_v2024_06_19/model/FileFormat.js +8 -11
  582. package/src/invoices_v2024_06_19/model/GetInvoiceResponse.js +16 -19
  583. package/src/invoices_v2024_06_19/model/GetInvoicesAttributesResponse.js +16 -19
  584. package/src/invoices_v2024_06_19/model/GetInvoicesDocumentResponse.js +16 -19
  585. package/src/invoices_v2024_06_19/model/GetInvoicesExportResponse.js +16 -19
  586. package/src/invoices_v2024_06_19/model/GetInvoicesExportsResponse.js +18 -22
  587. package/src/invoices_v2024_06_19/model/GetInvoicesResponse.js +18 -22
  588. package/src/invoices_v2024_06_19/model/Invoice.js +34 -46
  589. package/src/invoices_v2024_06_19/model/InvoicesAttributes.js +22 -28
  590. package/src/invoices_v2024_06_19/model/InvoicesDocument.js +17 -21
  591. package/src/invoices_v2024_06_19/model/TransactionIdentifier.js +17 -21
  592. package/src/invoicing_v0/ApiClient.js +479 -488
  593. package/src/invoicing_v0/api/ShipmentInvoiceApi.js +146 -156
  594. package/src/invoicing_v0/index.js +56 -57
  595. package/src/invoicing_v0/model/Address.js +38 -52
  596. package/src/invoicing_v0/model/AddressTypeEnum.js +10 -14
  597. package/src/invoicing_v0/model/BuyerTaxInfo.js +20 -25
  598. package/src/invoicing_v0/model/Error.js +21 -26
  599. package/src/invoicing_v0/model/GetInvoiceStatusResponse.js +19 -23
  600. package/src/invoicing_v0/model/GetShipmentDetailsResponse.js +19 -23
  601. package/src/invoicing_v0/model/MarketplaceTaxInfo.js +20 -25
  602. package/src/invoicing_v0/model/Money.js +17 -21
  603. package/src/invoicing_v0/model/ShipmentDetail.js +45 -61
  604. package/src/invoicing_v0/model/ShipmentInvoiceStatus.js +14 -20
  605. package/src/invoicing_v0/model/ShipmentInvoiceStatusInfo.js +18 -22
  606. package/src/invoicing_v0/model/ShipmentInvoiceStatusResponse.js +16 -19
  607. package/src/invoicing_v0/model/ShipmentItem.js +36 -49
  608. package/src/invoicing_v0/model/SubmitInvoiceRequest.js +21 -26
  609. package/src/invoicing_v0/model/SubmitInvoiceResponse.js +16 -19
  610. package/src/invoicing_v0/model/TaxClassification.js +17 -21
  611. package/src/listingsitems_v2021_08_01/ApiClient.js +479 -488
  612. package/src/listingsitems_v2021_08_01/api/ListingsApi.js +324 -338
  613. package/src/listingsitems_v2021_08_01/index.js +86 -87
  614. package/src/listingsitems_v2021_08_01/model/Audience.js +17 -21
  615. package/src/listingsitems_v2021_08_01/model/Error.js +21 -26
  616. package/src/listingsitems_v2021_08_01/model/ErrorList.js +18 -21
  617. package/src/listingsitems_v2021_08_01/model/FulfillmentAvailability.js +18 -22
  618. package/src/listingsitems_v2021_08_01/model/Issue.js +38 -46
  619. package/src/listingsitems_v2021_08_01/model/IssueEnforcementAction.js +16 -19
  620. package/src/listingsitems_v2021_08_01/model/IssueEnforcements.js +22 -26
  621. package/src/listingsitems_v2021_08_01/model/IssueExemption.js +26 -30
  622. package/src/listingsitems_v2021_08_01/model/Item.js +39 -50
  623. package/src/listingsitems_v2021_08_01/model/ItemIdentifiersByMarketplace.js +17 -21
  624. package/src/listingsitems_v2021_08_01/model/ItemImage.js +22 -27
  625. package/src/listingsitems_v2021_08_01/model/ItemOfferByMarketplace.js +36 -43
  626. package/src/listingsitems_v2021_08_01/model/ItemProcurement.js +18 -21
  627. package/src/listingsitems_v2021_08_01/model/ItemProductTypeByMarketplace.js +19 -23
  628. package/src/listingsitems_v2021_08_01/model/ItemRelationship.js +29 -35
  629. package/src/listingsitems_v2021_08_01/model/ItemRelationshipsByMarketplace.js +20 -24
  630. package/src/listingsitems_v2021_08_01/model/ItemSearchResults.js +23 -28
  631. package/src/listingsitems_v2021_08_01/model/ItemSummaryByMarketplace.js +73 -85
  632. package/src/listingsitems_v2021_08_01/model/ItemVariationTheme.js +19 -23
  633. package/src/listingsitems_v2021_08_01/model/ListingsItemPatchRequest.js +20 -24
  634. package/src/listingsitems_v2021_08_01/model/ListingsItemPutRequest.js +29 -34
  635. package/src/listingsitems_v2021_08_01/model/ListingsItemSubmissionResponse.js +36 -43
  636. package/src/listingsitems_v2021_08_01/model/Money.js +19 -23
  637. package/src/listingsitems_v2021_08_01/model/Pagination.js +17 -21
  638. package/src/listingsitems_v2021_08_01/model/PatchOperation.js +29 -34
  639. package/src/listingsitems_v2021_08_01/model/Points.js +17 -20
  640. package/src/listingsrestrictions_v2021_08_01/ApiClient.js +479 -488
  641. package/src/listingsrestrictions_v2021_08_01/api/ListingsApi.js +75 -81
  642. package/src/listingsrestrictions_v2021_08_01/index.js +23 -24
  643. package/src/listingsrestrictions_v2021_08_01/model/Error.js +21 -26
  644. package/src/listingsrestrictions_v2021_08_01/model/Link.js +27 -33
  645. package/src/listingsrestrictions_v2021_08_01/model/Reason.js +29 -34
  646. package/src/listingsrestrictions_v2021_08_01/model/Restriction.js +49 -54
  647. package/src/listingsrestrictions_v2021_08_01/model/RestrictionList.js +18 -21
  648. package/src/merchantfulfillment_v0/ApiClient.js +479 -488
  649. package/src/merchantfulfillment_v0/api/MerchantFulfillmentApi.js +216 -230
  650. package/src/merchantfulfillment_v0/index.js +176 -177
  651. package/src/merchantfulfillment_v0/model/AdditionalInputs.js +18 -22
  652. package/src/merchantfulfillment_v0/model/AdditionalSellerInput.js +35 -46
  653. package/src/merchantfulfillment_v0/model/AdditionalSellerInputs.js +21 -25
  654. package/src/merchantfulfillment_v0/model/Address.js +42 -55
  655. package/src/merchantfulfillment_v0/model/AvailableCarrierWillPickUpOption.js +23 -27
  656. package/src/merchantfulfillment_v0/model/AvailableDeliveryExperienceOption.js +23 -27
  657. package/src/merchantfulfillment_v0/model/AvailableShippingServiceOptions.js +21 -25
  658. package/src/merchantfulfillment_v0/model/Benefits.js +18 -22
  659. package/src/merchantfulfillment_v0/model/CancelShipmentResponse.js +19 -23
  660. package/src/merchantfulfillment_v0/model/CarrierWillPickUpOption.js +12 -17
  661. package/src/merchantfulfillment_v0/model/Constraint.js +18 -22
  662. package/src/merchantfulfillment_v0/model/CreateShipmentRequest.js +32 -40
  663. package/src/merchantfulfillment_v0/model/CreateShipmentResponse.js +19 -23
  664. package/src/merchantfulfillment_v0/model/CurrencyAmount.js +19 -23
  665. package/src/merchantfulfillment_v0/model/DangerousGoodsDetails.js +57 -63
  666. package/src/merchantfulfillment_v0/model/DeliveryExperienceOption.js +16 -23
  667. package/src/merchantfulfillment_v0/model/DeliveryExperienceType.js +14 -20
  668. package/src/merchantfulfillment_v0/model/Error.js +21 -26
  669. package/src/merchantfulfillment_v0/model/ExcludedBenefit.js +17 -21
  670. package/src/merchantfulfillment_v0/model/FileContents.js +24 -29
  671. package/src/merchantfulfillment_v0/model/FileType.js +12 -17
  672. package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsRequest.js +24 -29
  673. package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsResponse.js +19 -23
  674. package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsResult.js +19 -23
  675. package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesRequest.js +21 -25
  676. package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesResponse.js +19 -23
  677. package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesResult.js +26 -32
  678. package/src/merchantfulfillment_v0/model/GetShipmentResponse.js +19 -23
  679. package/src/merchantfulfillment_v0/model/HazmatType.js +10 -14
  680. package/src/merchantfulfillment_v0/model/InputTargetType.js +10 -14
  681. package/src/merchantfulfillment_v0/model/Item.js +37 -48
  682. package/src/merchantfulfillment_v0/model/ItemLevelFields.js +20 -24
  683. package/src/merchantfulfillment_v0/model/Label.js +31 -38
  684. package/src/merchantfulfillment_v0/model/LabelCustomization.js +18 -22
  685. package/src/merchantfulfillment_v0/model/LabelDimensions.js +24 -29
  686. package/src/merchantfulfillment_v0/model/LabelFormat.js +16 -23
  687. package/src/merchantfulfillment_v0/model/LabelFormatOption.js +18 -22
  688. package/src/merchantfulfillment_v0/model/LabelFormatOptionRequest.js +15 -18
  689. package/src/merchantfulfillment_v0/model/Length.js +18 -22
  690. package/src/merchantfulfillment_v0/model/LiquidVolume.js +35 -39
  691. package/src/merchantfulfillment_v0/model/PackageDimensions.js +25 -32
  692. package/src/merchantfulfillment_v0/model/PredefinedPackageDimensions.js +106 -158
  693. package/src/merchantfulfillment_v0/model/RejectedShippingService.js +27 -34
  694. package/src/merchantfulfillment_v0/model/SellerInputDefinition.js +36 -45
  695. package/src/merchantfulfillment_v0/model/Shipment.js +71 -88
  696. package/src/merchantfulfillment_v0/model/ShipmentRequestDetails.js +49 -61
  697. package/src/merchantfulfillment_v0/model/ShipmentStatus.js +14 -20
  698. package/src/merchantfulfillment_v0/model/ShippingOfferingFilter.js +23 -29
  699. package/src/merchantfulfillment_v0/model/ShippingService.js +59 -75
  700. package/src/merchantfulfillment_v0/model/ShippingServiceOptions.js +30 -37
  701. package/src/merchantfulfillment_v0/model/StandardIdForLabel.js +8 -11
  702. package/src/merchantfulfillment_v0/model/TemporarilyUnavailableCarrier.js +16 -19
  703. package/src/merchantfulfillment_v0/model/TermsAndConditionsNotAcceptedCarrier.js +16 -19
  704. package/src/merchantfulfillment_v0/model/UnitOfLength.js +10 -14
  705. package/src/merchantfulfillment_v0/model/UnitOfWeight.js +10 -14
  706. package/src/merchantfulfillment_v0/model/Weight.js +21 -25
  707. package/src/messaging_v1/ApiClient.js +479 -488
  708. package/src/messaging_v1/api/MessagingApi.js +686 -716
  709. package/src/messaging_v1/index.js +113 -114
  710. package/src/messaging_v1/model/Attachment.js +19 -23
  711. package/src/messaging_v1/model/CreateAmazonMotorsRequest.js +16 -19
  712. package/src/messaging_v1/model/CreateAmazonMotorsResponse.js +16 -19
  713. package/src/messaging_v1/model/CreateConfirmCustomizationDetailsRequest.js +18 -22
  714. package/src/messaging_v1/model/CreateConfirmCustomizationDetailsResponse.js +16 -19
  715. package/src/messaging_v1/model/CreateConfirmDeliveryDetailsRequest.js +15 -18
  716. package/src/messaging_v1/model/CreateConfirmDeliveryDetailsResponse.js +16 -19
  717. package/src/messaging_v1/model/CreateConfirmOrderDetailsRequest.js +15 -18
  718. package/src/messaging_v1/model/CreateConfirmOrderDetailsResponse.js +16 -19
  719. package/src/messaging_v1/model/CreateConfirmServiceDetailsRequest.js +15 -18
  720. package/src/messaging_v1/model/CreateConfirmServiceDetailsResponse.js +16 -19
  721. package/src/messaging_v1/model/CreateDigitalAccessKeyRequest.js +18 -22
  722. package/src/messaging_v1/model/CreateDigitalAccessKeyResponse.js +16 -19
  723. package/src/messaging_v1/model/CreateLegalDisclosureRequest.js +16 -19
  724. package/src/messaging_v1/model/CreateLegalDisclosureResponse.js +16 -19
  725. package/src/messaging_v1/model/CreateNegativeFeedbackRemovalResponse.js +16 -19
  726. package/src/messaging_v1/model/CreateUnexpectedProblemRequest.js +15 -18
  727. package/src/messaging_v1/model/CreateUnexpectedProblemResponse.js +16 -19
  728. package/src/messaging_v1/model/CreateWarrantyRequest.js +20 -25
  729. package/src/messaging_v1/model/CreateWarrantyResponse.js +16 -19
  730. package/src/messaging_v1/model/Error.js +21 -26
  731. package/src/messaging_v1/model/GetAttributesResponse.js +19 -23
  732. package/src/messaging_v1/model/GetAttributesResponseBuyer.js +15 -18
  733. package/src/messaging_v1/model/GetMessagingActionResponse.js +25 -31
  734. package/src/messaging_v1/model/GetMessagingActionResponseEmbedded.js +16 -19
  735. package/src/messaging_v1/model/GetMessagingActionResponseLinks.js +22 -26
  736. package/src/messaging_v1/model/GetMessagingActionsForOrderResponse.js +22 -27
  737. package/src/messaging_v1/model/GetMessagingActionsForOrderResponseEmbedded.js +18 -21
  738. package/src/messaging_v1/model/GetMessagingActionsForOrderResponseLinks.js +21 -25
  739. package/src/messaging_v1/model/GetSchemaResponse.js +21 -26
  740. package/src/messaging_v1/model/GetSchemaResponseLinks.js +18 -21
  741. package/src/messaging_v1/model/InvoiceRequest.js +16 -19
  742. package/src/messaging_v1/model/InvoiceResponse.js +16 -19
  743. package/src/messaging_v1/model/LinkObject.js +18 -22
  744. package/src/messaging_v1/model/MessagingAction.js +16 -19
  745. package/src/notifications_v1/ApiClient.js +479 -488
  746. package/src/notifications_v1/api/NotificationsApi.js +347 -367
  747. package/src/notifications_v1/index.js +86 -87
  748. package/src/notifications_v1/model/AggregationFilter.js +16 -19
  749. package/src/notifications_v1/model/AggregationSettings.js +18 -21
  750. package/src/notifications_v1/model/AggregationTimePeriod.js +10 -14
  751. package/src/notifications_v1/model/CreateDestinationRequest.js +21 -25
  752. package/src/notifications_v1/model/CreateDestinationResponse.js +19 -23
  753. package/src/notifications_v1/model/CreateSubscriptionRequest.js +22 -27
  754. package/src/notifications_v1/model/CreateSubscriptionResponse.js +19 -23
  755. package/src/notifications_v1/model/DeleteDestinationResponse.js +16 -19
  756. package/src/notifications_v1/model/DeleteSubscriptionByIdResponse.js +16 -19
  757. package/src/notifications_v1/model/Destination.js +24 -29
  758. package/src/notifications_v1/model/DestinationResource.js +19 -23
  759. package/src/notifications_v1/model/DestinationResourceSpecification.js +19 -23
  760. package/src/notifications_v1/model/Error.js +21 -26
  761. package/src/notifications_v1/model/EventBridgeResource.js +22 -27
  762. package/src/notifications_v1/model/EventBridgeResourceSpecification.js +19 -23
  763. package/src/notifications_v1/model/EventFilter.js +42 -48
  764. package/src/notifications_v1/model/GetDestinationResponse.js +19 -23
  765. package/src/notifications_v1/model/GetDestinationsResponse.js +19 -23
  766. package/src/notifications_v1/model/GetSubscriptionByIdResponse.js +19 -23
  767. package/src/notifications_v1/model/GetSubscriptionResponse.js +19 -23
  768. package/src/notifications_v1/model/MarketplaceFilter.js +15 -18
  769. package/src/notifications_v1/model/OrderChangeTypeEnum.js +10 -14
  770. package/src/notifications_v1/model/OrderChangeTypeFilter.js +16 -19
  771. package/src/notifications_v1/model/ProcessingDirective.js +16 -19
  772. package/src/notifications_v1/model/SqsResource.js +16 -19
  773. package/src/notifications_v1/model/Subscription.js +25 -31
  774. package/src/orders_v0/ApiClient.js +479 -488
  775. package/src/orders_v0/api/OrdersV0Api.js +406 -428
  776. package/src/orders_v0/api/ShipmentApi.js +66 -72
  777. package/src/orders_v0/index.js +224 -225
  778. package/src/orders_v0/model/Address.js +51 -68
  779. package/src/orders_v0/model/AddressExtendedFields.js +21 -27
  780. package/src/orders_v0/model/AmazonPrograms.js +16 -19
  781. package/src/orders_v0/model/AssociatedItem.js +20 -25
  782. package/src/orders_v0/model/AssociationType.js +8 -11
  783. package/src/orders_v0/model/AutomatedShippingSettings.js +19 -24
  784. package/src/orders_v0/model/BusinessHours.js +34 -38
  785. package/src/orders_v0/model/BuyerCustomizedInfoDetail.js +15 -18
  786. package/src/orders_v0/model/BuyerInfo.js +24 -31
  787. package/src/orders_v0/model/BuyerRequestedCancel.js +17 -21
  788. package/src/orders_v0/model/BuyerTaxInfo.js +20 -25
  789. package/src/orders_v0/model/BuyerTaxInformation.js +21 -27
  790. package/src/orders_v0/model/ConfirmShipmentErrorResponse.js +16 -19
  791. package/src/orders_v0/model/ConfirmShipmentOrderItem.js +21 -26
  792. package/src/orders_v0/model/ConfirmShipmentRequest.js +27 -32
  793. package/src/orders_v0/model/ConstraintType.js +8 -11
  794. package/src/orders_v0/model/DeliveryPreferences.js +23 -29
  795. package/src/orders_v0/model/EasyShipShipmentStatus.js +38 -56
  796. package/src/orders_v0/model/ElectronicInvoiceStatus.js +16 -23
  797. package/src/orders_v0/model/Error.js +21 -26
  798. package/src/orders_v0/model/ExceptionDates.js +20 -25
  799. package/src/orders_v0/model/ExportInfo.js +18 -22
  800. package/src/orders_v0/model/FulfillmentInstruction.js +15 -18
  801. package/src/orders_v0/model/GetOrderAddressResponse.js +19 -23
  802. package/src/orders_v0/model/GetOrderBuyerInfoResponse.js +19 -23
  803. package/src/orders_v0/model/GetOrderItemsBuyerInfoResponse.js +19 -23
  804. package/src/orders_v0/model/GetOrderItemsResponse.js +19 -23
  805. package/src/orders_v0/model/GetOrderRegulatedInfoResponse.js +19 -23
  806. package/src/orders_v0/model/GetOrderResponse.js +19 -23
  807. package/src/orders_v0/model/GetOrdersResponse.js +19 -23
  808. package/src/orders_v0/model/ItemBuyerInfo.js +25 -32
  809. package/src/orders_v0/model/MarketplaceTaxInfo.js +16 -19
  810. package/src/orders_v0/model/Measurement.js +69 -73
  811. package/src/orders_v0/model/Money.js +17 -21
  812. package/src/orders_v0/model/OpenInterval.js +18 -22
  813. package/src/orders_v0/model/OpenTimeInterval.js +17 -21
  814. package/src/orders_v0/model/Order.js +171 -220
  815. package/src/orders_v0/model/OrderAddress.js +24 -30
  816. package/src/orders_v0/model/OrderBuyerInfo.js +27 -35
  817. package/src/orders_v0/model/OrderItem.js +118 -161
  818. package/src/orders_v0/model/OrderItemBuyerInfo.js +28 -36
  819. package/src/orders_v0/model/OrderItemsBuyerInfoList.js +22 -27
  820. package/src/orders_v0/model/OrderItemsInner.js +17 -21
  821. package/src/orders_v0/model/OrderItemsList.js +22 -27
  822. package/src/orders_v0/model/OrderRegulatedInfo.js +29 -35
  823. package/src/orders_v0/model/OrdersList.js +23 -29
  824. package/src/orders_v0/model/OtherDeliveryAttributes.js +12 -17
  825. package/src/orders_v0/model/PackageDetail.js +36 -46
  826. package/src/orders_v0/model/PaymentExecutionDetailItem.js +21 -25
  827. package/src/orders_v0/model/PointsGrantedDetail.js +18 -22
  828. package/src/orders_v0/model/PreferredDeliveryTime.js +19 -23
  829. package/src/orders_v0/model/PrescriptionDetail.js +34 -43
  830. package/src/orders_v0/model/ProductInfoDetail.js +15 -18
  831. package/src/orders_v0/model/RegulatedInformation.js +17 -20
  832. package/src/orders_v0/model/RegulatedInformationField.js +31 -37
  833. package/src/orders_v0/model/RegulatedOrderVerificationStatus.js +34 -43
  834. package/src/orders_v0/model/RejectionReason.js +19 -23
  835. package/src/orders_v0/model/ShipmentStatus.js +12 -17
  836. package/src/orders_v0/model/ShippingConstraints.js +22 -28
  837. package/src/orders_v0/model/SubstitutionOption.js +25 -32
  838. package/src/orders_v0/model/SubstitutionPreferences.js +27 -31
  839. package/src/orders_v0/model/TaxClassification.js +17 -21
  840. package/src/orders_v0/model/TaxCollection.js +25 -29
  841. package/src/orders_v0/model/UpdateShipmentStatusErrorResponse.js +16 -19
  842. package/src/orders_v0/model/UpdateShipmentStatusRequest.js +24 -29
  843. package/src/orders_v0/model/UpdateVerificationStatusErrorResponse.js +16 -19
  844. package/src/orders_v0/model/UpdateVerificationStatusRequest.js +18 -21
  845. package/src/orders_v0/model/UpdateVerificationStatusRequestBody.js +24 -30
  846. package/src/orders_v0/model/ValidVerificationDetail.js +20 -24
  847. package/src/orders_v0/model/VerificationDetails.js +16 -19
  848. package/src/orders_v0/model/VerificationStatus.js +16 -23
  849. package/src/pricing_v0/ApiClient.js +479 -488
  850. package/src/pricing_v0/api/ProductPricingApi.js +306 -322
  851. package/src/pricing_v0/index.js +161 -162
  852. package/src/pricing_v0/model/ASINIdentifier.js +19 -23
  853. package/src/pricing_v0/model/BatchOffersRequestParams.js +24 -29
  854. package/src/pricing_v0/model/BatchOffersResponse.js +24 -29
  855. package/src/pricing_v0/model/BatchRequest.js +23 -28
  856. package/src/pricing_v0/model/BuyBoxPriceType.js +42 -53
  857. package/src/pricing_v0/model/CompetitivePriceType.js +37 -48
  858. package/src/pricing_v0/model/CompetitivePricingType.js +24 -29
  859. package/src/pricing_v0/model/ConditionType.js +16 -23
  860. package/src/pricing_v0/model/CustomerType.js +10 -14
  861. package/src/pricing_v0/model/DetailedShippingTimeType.js +29 -35
  862. package/src/pricing_v0/model/Error.js +21 -26
  863. package/src/pricing_v0/model/Errors.js +17 -20
  864. package/src/pricing_v0/model/FulfillmentChannelType.js +10 -14
  865. package/src/pricing_v0/model/GetItemOffersBatchRequest.js +16 -19
  866. package/src/pricing_v0/model/GetItemOffersBatchResponse.js +16 -19
  867. package/src/pricing_v0/model/GetListingOffersBatchRequest.js +16 -19
  868. package/src/pricing_v0/model/GetListingOffersBatchResponse.js +16 -19
  869. package/src/pricing_v0/model/GetOffersHttpStatusLine.js +17 -21
  870. package/src/pricing_v0/model/GetOffersResponse.js +19 -23
  871. package/src/pricing_v0/model/GetOffersResult.js +42 -52
  872. package/src/pricing_v0/model/GetPricingResponse.js +19 -23
  873. package/src/pricing_v0/model/HttpMethod.js +16 -23
  874. package/src/pricing_v0/model/HttpResponseHeaders.js +19 -23
  875. package/src/pricing_v0/model/IdentifierType.js +21 -25
  876. package/src/pricing_v0/model/ItemCondition.js +16 -23
  877. package/src/pricing_v0/model/ItemIdentifier.js +25 -31
  878. package/src/pricing_v0/model/ItemOffersRequest.js +46 -54
  879. package/src/pricing_v0/model/ItemOffersRequestParams.js +32 -38
  880. package/src/pricing_v0/model/ItemOffersResponse.js +35 -41
  881. package/src/pricing_v0/model/ListingOffersRequest.js +46 -54
  882. package/src/pricing_v0/model/ListingOffersRequestParams.js +33 -39
  883. package/src/pricing_v0/model/ListingOffersResponse.js +33 -39
  884. package/src/pricing_v0/model/LowestPriceType.js +39 -50
  885. package/src/pricing_v0/model/MoneyType.js +17 -21
  886. package/src/pricing_v0/model/OfferCountType.js +20 -25
  887. package/src/pricing_v0/model/OfferCustomerType.js +10 -14
  888. package/src/pricing_v0/model/OfferDetail.js +61 -79
  889. package/src/pricing_v0/model/OfferListingCountType.js +19 -23
  890. package/src/pricing_v0/model/OfferType.js +43 -54
  891. package/src/pricing_v0/model/Points.js +18 -22
  892. package/src/pricing_v0/model/Price.js +23 -29
  893. package/src/pricing_v0/model/PriceType.js +25 -31
  894. package/src/pricing_v0/model/PrimeInformationType.js +19 -23
  895. package/src/pricing_v0/model/Product.js +31 -39
  896. package/src/pricing_v0/model/QuantityDiscountPriceType.js +26 -31
  897. package/src/pricing_v0/model/QuantityDiscountType.js +8 -11
  898. package/src/pricing_v0/model/SalesRankType.js +19 -23
  899. package/src/pricing_v0/model/SellerFeedbackType.js +18 -22
  900. package/src/pricing_v0/model/SellerSKUIdentifier.js +22 -27
  901. package/src/pricing_v0/model/ShipsFromType.js +17 -21
  902. package/src/pricing_v0/model/Summary.js +39 -51
  903. package/src/pricing_v2022_05_01/ApiClient.js +479 -488
  904. package/src/pricing_v2022_05_01/api/ProductPricingApi.js +103 -111
  905. package/src/pricing_v2022_05_01/index.js +128 -129
  906. package/src/pricing_v2022_05_01/model/BatchRequest.js +25 -31
  907. package/src/pricing_v2022_05_01/model/BatchResponse.js +21 -25
  908. package/src/pricing_v2022_05_01/model/CompetitiveSummaryBatchRequest.js +17 -20
  909. package/src/pricing_v2022_05_01/model/CompetitiveSummaryBatchResponse.js +17 -20
  910. package/src/pricing_v2022_05_01/model/CompetitiveSummaryIncludedData.js +12 -17
  911. package/src/pricing_v2022_05_01/model/CompetitiveSummaryRequest.js +34 -42
  912. package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponse.js +23 -27
  913. package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponseBody.js +31 -39
  914. package/src/pricing_v2022_05_01/model/Condition.js +16 -23
  915. package/src/pricing_v2022_05_01/model/Error.js +21 -26
  916. package/src/pricing_v2022_05_01/model/Errors.js +17 -20
  917. package/src/pricing_v2022_05_01/model/FeaturedBuyingOption.js +24 -28
  918. package/src/pricing_v2022_05_01/model/FeaturedOffer.js +24 -29
  919. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPrice.js +21 -25
  920. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequest.js +47 -56
  921. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequestParams.js +22 -27
  922. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResponse.js +34 -40
  923. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResponseBody.js +22 -27
  924. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResult.js +24 -30
  925. package/src/pricing_v2022_05_01/model/FeaturedOfferSegment.js +27 -31
  926. package/src/pricing_v2022_05_01/model/FulfillmentType.js +10 -14
  927. package/src/pricing_v2022_05_01/model/GetFeaturedOfferExpectedPriceBatchRequest.js +16 -19
  928. package/src/pricing_v2022_05_01/model/GetFeaturedOfferExpectedPriceBatchResponse.js +16 -19
  929. package/src/pricing_v2022_05_01/model/HttpMethod.js +16 -23
  930. package/src/pricing_v2022_05_01/model/HttpStatusLine.js +17 -21
  931. package/src/pricing_v2022_05_01/model/LowestPricedOffer.js +22 -26
  932. package/src/pricing_v2022_05_01/model/LowestPricedOffersInput.js +25 -29
  933. package/src/pricing_v2022_05_01/model/MoneyType.js +17 -21
  934. package/src/pricing_v2022_05_01/model/Offer.js +70 -80
  935. package/src/pricing_v2022_05_01/model/OfferIdentifier.js +26 -33
  936. package/src/pricing_v2022_05_01/model/Points.js +18 -22
  937. package/src/pricing_v2022_05_01/model/PostalCode.js +18 -22
  938. package/src/pricing_v2022_05_01/model/Price.js +23 -28
  939. package/src/pricing_v2022_05_01/model/PrimeDetails.js +24 -27
  940. package/src/pricing_v2022_05_01/model/ReferencePrice.js +21 -25
  941. package/src/pricing_v2022_05_01/model/SampleLocation.js +16 -19
  942. package/src/pricing_v2022_05_01/model/Segment.js +16 -19
  943. package/src/pricing_v2022_05_01/model/SegmentDetails.js +18 -22
  944. package/src/pricing_v2022_05_01/model/SegmentedFeaturedOffer.js +85 -96
  945. package/src/pricing_v2022_05_01/model/ShippingOption.js +25 -29
  946. package/src/productfees_v0/ApiClient.js +479 -488
  947. package/src/productfees_v0/api/FeesApi.js +160 -170
  948. package/src/productfees_v0/index.js +62 -63
  949. package/src/productfees_v0/model/Error.js +21 -26
  950. package/src/productfees_v0/model/FeeDetail.js +32 -40
  951. package/src/productfees_v0/model/FeesEstimate.js +22 -27
  952. package/src/productfees_v0/model/FeesEstimateByIdRequest.js +24 -29
  953. package/src/productfees_v0/model/FeesEstimateError.js +25 -31
  954. package/src/productfees_v0/model/FeesEstimateIdentifier.js +32 -42
  955. package/src/productfees_v0/model/FeesEstimateRequest.js +29 -36
  956. package/src/productfees_v0/model/FeesEstimateResult.js +24 -30
  957. package/src/productfees_v0/model/GetMyFeesEstimateRequest.js +16 -19
  958. package/src/productfees_v0/model/GetMyFeesEstimateResponse.js +19 -23
  959. package/src/productfees_v0/model/GetMyFeesEstimateResult.js +16 -19
  960. package/src/productfees_v0/model/GetMyFeesEstimatesErrorList.js +18 -21
  961. package/src/productfees_v0/model/IdType.js +10 -14
  962. package/src/productfees_v0/model/IncludedFeeDetail.js +29 -36
  963. package/src/productfees_v0/model/MoneyType.js +17 -21
  964. package/src/productfees_v0/model/OptionalFulfillmentProgram.js +12 -17
  965. package/src/productfees_v0/model/Points.js +18 -22
  966. package/src/productfees_v0/model/PriceToEstimateFees.js +23 -28
  967. package/src/producttypedefinitions_v2020_09_01/ApiClient.js +479 -488
  968. package/src/producttypedefinitions_v2020_09_01/api/DefinitionsApi.js +120 -128
  969. package/src/producttypedefinitions_v2020_09_01/index.js +35 -36
  970. package/src/producttypedefinitions_v2020_09_01/model/Error.js +21 -26
  971. package/src/producttypedefinitions_v2020_09_01/model/ErrorList.js +18 -21
  972. package/src/producttypedefinitions_v2020_09_01/model/ProductType.js +22 -27
  973. package/src/producttypedefinitions_v2020_09_01/model/ProductTypeDefinition.js +61 -73
  974. package/src/producttypedefinitions_v2020_09_01/model/ProductTypeList.js +21 -25
  975. package/src/producttypedefinitions_v2020_09_01/model/ProductTypeVersion.js +21 -26
  976. package/src/producttypedefinitions_v2020_09_01/model/PropertyGroup.js +19 -24
  977. package/src/producttypedefinitions_v2020_09_01/model/SchemaLink.js +21 -25
  978. package/src/producttypedefinitions_v2020_09_01/model/SchemaLinkLink.js +23 -27
  979. package/src/replenishment_v2022_11_07/ApiClient.js +479 -488
  980. package/src/replenishment_v2022_11_07/api/OffersApi.js +95 -103
  981. package/src/replenishment_v2022_11_07/api/SellingpartnersApi.js +59 -65
  982. package/src/replenishment_v2022_11_07/index.js +119 -120
  983. package/src/replenishment_v2022_11_07/model/AggregationFrequency.js +14 -20
  984. package/src/replenishment_v2022_11_07/model/AutoEnrollmentPreference.js +10 -14
  985. package/src/replenishment_v2022_11_07/model/DiscountFunding.js +15 -18
  986. package/src/replenishment_v2022_11_07/model/EligibilityStatus.js +14 -20
  987. package/src/replenishment_v2022_11_07/model/EnrollmentMethod.js +10 -14
  988. package/src/replenishment_v2022_11_07/model/Error.js +21 -26
  989. package/src/replenishment_v2022_11_07/model/ErrorList.js +17 -20
  990. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsRequest.js +36 -44
  991. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponse.js +16 -19
  992. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.js +58 -82
  993. package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequest.js +26 -31
  994. package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestFilters.js +35 -43
  995. package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestPagination.js +19 -23
  996. package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestSort.js +23 -27
  997. package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponse.js +19 -23
  998. package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponseOffer.js +48 -67
  999. package/src/replenishment_v2022_11_07/model/ListOfferMetricsSortKey.js +24 -35
  1000. package/src/replenishment_v2022_11_07/model/ListOffersRequest.js +26 -31
  1001. package/src/replenishment_v2022_11_07/model/ListOffersRequestFilters.js +33 -42
  1002. package/src/replenishment_v2022_11_07/model/ListOffersRequestPagination.js +19 -23
  1003. package/src/replenishment_v2022_11_07/model/ListOffersRequestSort.js +23 -27
  1004. package/src/replenishment_v2022_11_07/model/ListOffersResponse.js +19 -23
  1005. package/src/replenishment_v2022_11_07/model/ListOffersResponseOffer.js +30 -39
  1006. package/src/replenishment_v2022_11_07/model/ListOffersSortKey.js +16 -23
  1007. package/src/replenishment_v2022_11_07/model/Metric.js +30 -44
  1008. package/src/replenishment_v2022_11_07/model/OfferProgramConfiguration.js +22 -27
  1009. package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPreferences.js +16 -19
  1010. package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPromotions.js +22 -28
  1011. package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPromotionsDiscountFunding.js +15 -18
  1012. package/src/replenishment_v2022_11_07/model/PaginationResponse.js +15 -18
  1013. package/src/replenishment_v2022_11_07/model/Preference.js +16 -19
  1014. package/src/replenishment_v2022_11_07/model/ProgramType.js +8 -11
  1015. package/src/replenishment_v2022_11_07/model/Promotion.js +22 -28
  1016. package/src/replenishment_v2022_11_07/model/SortOrder.js +10 -14
  1017. package/src/replenishment_v2022_11_07/model/TimeInterval.js +19 -23
  1018. package/src/replenishment_v2022_11_07/model/TimePeriodType.js +10 -14
  1019. package/src/reports_v2021_06_30/ApiClient.js +479 -488
  1020. package/src/reports_v2021_06_30/api/ReportsApi.js +349 -371
  1021. package/src/reports_v2021_06_30/index.js +41 -42
  1022. package/src/reports_v2021_06_30/model/CreateReportResponse.js +16 -19
  1023. package/src/reports_v2021_06_30/model/CreateReportScheduleResponse.js +16 -19
  1024. package/src/reports_v2021_06_30/model/CreateReportScheduleSpecification.js +64 -71
  1025. package/src/reports_v2021_06_30/model/CreateReportSpecification.js +25 -32
  1026. package/src/reports_v2021_06_30/model/Error.js +21 -26
  1027. package/src/reports_v2021_06_30/model/ErrorList.js +17 -20
  1028. package/src/reports_v2021_06_30/model/GetReportsResponse.js +19 -23
  1029. package/src/reports_v2021_06_30/model/Report.js +51 -64
  1030. package/src/reports_v2021_06_30/model/ReportDocument.js +25 -30
  1031. package/src/reports_v2021_06_30/model/ReportSchedule.js +28 -36
  1032. package/src/reports_v2021_06_30/model/ReportScheduleList.js +17 -20
  1033. package/src/sales_v1/ApiClient.js +479 -488
  1034. package/src/sales_v1/api/SalesApi.js +78 -84
  1035. package/src/sales_v1/index.js +20 -21
  1036. package/src/sales_v1/model/Error.js +21 -26
  1037. package/src/sales_v1/model/GetOrderMetricsResponse.js +19 -23
  1038. package/src/sales_v1/model/Money.js +19 -23
  1039. package/src/sales_v1/model/OrderMetricsInterval.js +34 -42
  1040. package/src/sellers_v1/ApiClient.js +479 -488
  1041. package/src/sellers_v1/api/SellersApi.js +90 -98
  1042. package/src/sellers_v1/index.js +38 -39
  1043. package/src/sellers_v1/model/Account.js +53 -60
  1044. package/src/sellers_v1/model/Address.js +27 -35
  1045. package/src/sellers_v1/model/Business.js +27 -34
  1046. package/src/sellers_v1/model/Error.js +21 -26
  1047. package/src/sellers_v1/model/GetAccountResponse.js +19 -23
  1048. package/src/sellers_v1/model/GetMarketplaceParticipationsResponse.js +19 -23
  1049. package/src/sellers_v1/model/Marketplace.js +31 -39
  1050. package/src/sellers_v1/model/MarketplaceParticipation.js +26 -31
  1051. package/src/sellers_v1/model/Participation.js +19 -23
  1052. package/src/sellers_v1/model/PrimaryContact.js +23 -28
  1053. package/src/services_v1/ApiClient.js +479 -488
  1054. package/src/services_v1/api/ServiceApi.js +847 -885
  1055. package/src/services_v1/index.js +204 -198
  1056. package/src/services_v1/model/AddAppointmentRequest.js +18 -21
  1057. package/src/services_v1/model/Address.js +37 -50
  1058. package/src/services_v1/model/Appointment.js +36 -44
  1059. package/src/services_v1/model/AppointmentResource.js +15 -18
  1060. package/src/services_v1/model/AppointmentSlot.js +19 -24
  1061. package/src/services_v1/model/AppointmentSlotReport.js +28 -34
  1062. package/src/services_v1/model/AppointmentTime.js +19 -23
  1063. package/src/services_v1/model/AppointmentTimeInput.js +18 -22
  1064. package/src/services_v1/model/AssignAppointmentResourcesRequest.js +17 -20
  1065. package/src/services_v1/model/AssignAppointmentResourcesResponse.js +19 -23
  1066. package/src/services_v1/model/AssignAppointmentResourcesResponsePayload.js +16 -19
  1067. package/src/services_v1/model/AssociatedItem.js +38 -47
  1068. package/src/services_v1/model/AvailabilityRecord.js +24 -30
  1069. package/src/services_v1/model/Buyer.js +21 -27
  1070. package/src/services_v1/model/CancelReservationResponse.js +16 -19
  1071. package/src/services_v1/model/CancelServiceJobByServiceJobIdResponse.js +16 -19
  1072. package/src/services_v1/model/CapacityType.js +14 -20
  1073. package/src/services_v1/model/CompleteServiceJobByServiceJobIdResponse.js +16 -19
  1074. package/src/services_v1/model/CreateReservationRecord.js +22 -27
  1075. package/src/services_v1/model/CreateReservationRequest.js +21 -25
  1076. package/src/services_v1/model/CreateReservationResponse.js +19 -23
  1077. package/src/services_v1/model/CreateServiceDocumentUploadDestination.js +19 -23
  1078. package/src/services_v1/model/DateTimeRange.js +73 -0
  1079. package/src/services_v1/model/DayOfWeek.js +20 -29
  1080. package/src/services_v1/model/EncryptionDetails.js +26 -31
  1081. package/src/services_v1/model/Error.js +29 -35
  1082. package/src/services_v1/model/FixedSlot.js +23 -30
  1083. package/src/services_v1/model/FixedSlotCapacity.js +22 -28
  1084. package/src/services_v1/model/FixedSlotCapacityErrors.js +16 -19
  1085. package/src/services_v1/model/FixedSlotCapacityQuery.js +24 -30
  1086. package/src/services_v1/model/FulfillmentDocument.js +17 -21
  1087. package/src/services_v1/model/FulfillmentTime.js +17 -21
  1088. package/src/services_v1/model/GetAppointmentSlotsResponse.js +19 -23
  1089. package/src/services_v1/model/GetServiceJobByServiceJobIdResponse.js +19 -23
  1090. package/src/services_v1/model/GetServiceJobsResponse.js +19 -23
  1091. package/src/services_v1/model/ItemDelivery.js +18 -22
  1092. package/src/services_v1/model/ItemDeliveryPromise.js +17 -21
  1093. package/src/services_v1/model/JobListing.js +22 -28
  1094. package/src/services_v1/model/Poa.js +35 -42
  1095. package/src/services_v1/model/RangeCapacity.js +19 -23
  1096. package/src/services_v1/model/RangeSlot.js +19 -24
  1097. package/src/services_v1/model/RangeSlotCapacity.js +20 -25
  1098. package/src/services_v1/model/RangeSlotCapacityErrors.js +16 -19
  1099. package/src/services_v1/model/RangeSlotCapacityQuery.js +22 -27
  1100. package/src/services_v1/model/Recurrence.js +21 -26
  1101. package/src/services_v1/model/RescheduleAppointmentRequest.js +21 -25
  1102. package/src/services_v1/model/Reservation.js +35 -40
  1103. package/src/services_v1/model/ScopeOfWork.js +21 -27
  1104. package/src/services_v1/model/Seller.js +15 -18
  1105. package/src/services_v1/model/ServiceDocumentUploadDestination.js +26 -32
  1106. package/src/services_v1/model/ServiceJob.js +65 -81
  1107. package/src/services_v1/model/ServiceJobProvider.js +15 -18
  1108. package/src/services_v1/model/ServiceLocation.js +26 -30
  1109. package/src/services_v1/model/ServiceUploadDocument.js +35 -40
  1110. package/src/services_v1/model/SetAppointmentFulfillmentDataRequest.js +29 -27
  1111. package/src/services_v1/model/SetAppointmentResponse.js +21 -26
  1112. package/src/services_v1/model/Technician.js +17 -21
  1113. package/src/services_v1/model/UpdateReservationRecord.js +22 -27
  1114. package/src/services_v1/model/UpdateReservationRequest.js +21 -25
  1115. package/src/services_v1/model/UpdateReservationResponse.js +19 -23
  1116. package/src/services_v1/model/UpdateScheduleRecord.js +22 -27
  1117. package/src/services_v1/model/UpdateScheduleRequest.js +17 -20
  1118. package/src/services_v1/model/UpdateScheduleResponse.js +19 -23
  1119. package/src/services_v1/model/Warning.js +21 -26
  1120. package/src/shipping_v2/ApiClient.js +478 -487
  1121. package/src/shipping_v2/api/ShippingApi.js +911 -955
  1122. package/src/shipping_v2/index.js +388 -389
  1123. package/src/shipping_v2/model/AccessPoint.js +43 -55
  1124. package/src/shipping_v2/model/AccessPointDetails.js +14 -17
  1125. package/src/shipping_v2/model/AccessPointType.js +21 -31
  1126. package/src/shipping_v2/model/AccessibilityAttributes.js +16 -20
  1127. package/src/shipping_v2/model/AccountStatus.js +13 -19
  1128. package/src/shipping_v2/model/AccountType.js +11 -16
  1129. package/src/shipping_v2/model/ActiveAccount.js +16 -20
  1130. package/src/shipping_v2/model/Address.js +43 -57
  1131. package/src/shipping_v2/model/AmazonOrderDetails.js +15 -18
  1132. package/src/shipping_v2/model/AmazonShipmentDetails.js +15 -18
  1133. package/src/shipping_v2/model/AvailableValueAddedServiceGroup.js +24 -30
  1134. package/src/shipping_v2/model/Benefits.js +19 -23
  1135. package/src/shipping_v2/model/CancelShipmentResponse.js +14 -17
  1136. package/src/shipping_v2/model/Carrier.js +18 -22
  1137. package/src/shipping_v2/model/CarrierAccount.js +18 -22
  1138. package/src/shipping_v2/model/CarrierAccountAttribute.js +18 -23
  1139. package/src/shipping_v2/model/CarrierAccountInput.js +30 -40
  1140. package/src/shipping_v2/model/ChannelDetails.js +23 -28
  1141. package/src/shipping_v2/model/ChannelType.js +9 -13
  1142. package/src/shipping_v2/model/ChargeComponent.js +23 -27
  1143. package/src/shipping_v2/model/ClaimReason.js +15 -22
  1144. package/src/shipping_v2/model/ClientReferenceDetail.js +24 -28
  1145. package/src/shipping_v2/model/CollectOnDelivery.js +17 -20
  1146. package/src/shipping_v2/model/CollectionFormsHistoryRecord.js +24 -31
  1147. package/src/shipping_v2/model/CollectionsFormDocument.js +16 -20
  1148. package/src/shipping_v2/model/CreateClaimRequest.js +32 -40
  1149. package/src/shipping_v2/model/CreateClaimResponse.js +14 -17
  1150. package/src/shipping_v2/model/Currency.js +18 -22
  1151. package/src/shipping_v2/model/DangerousGoodsDetails.js +56 -62
  1152. package/src/shipping_v2/model/DateRange.js +16 -20
  1153. package/src/shipping_v2/model/DetailCodes.js +65 -97
  1154. package/src/shipping_v2/model/Dimensions.js +30 -36
  1155. package/src/shipping_v2/model/DirectFulfillmentItemIdentifiers.js +17 -21
  1156. package/src/shipping_v2/model/DirectPurchaseRequest.js +30 -38
  1157. package/src/shipping_v2/model/DirectPurchaseResponse.js +15 -18
  1158. package/src/shipping_v2/model/DirectPurchaseResult.js +18 -22
  1159. package/src/shipping_v2/model/DocumentFormat.js +11 -16
  1160. package/src/shipping_v2/model/DocumentSize.js +27 -32
  1161. package/src/shipping_v2/model/DocumentType.js +13 -19
  1162. package/src/shipping_v2/model/Error.js +20 -25
  1163. package/src/shipping_v2/model/ErrorList.js +16 -19
  1164. package/src/shipping_v2/model/Event.js +26 -32
  1165. package/src/shipping_v2/model/EventCode.js +33 -49
  1166. package/src/shipping_v2/model/ExceptionOperatingHours.js +18 -22
  1167. package/src/shipping_v2/model/ExcludedBenefit.js +17 -21
  1168. package/src/shipping_v2/model/GenerateCollectionFormRequest.js +21 -26
  1169. package/src/shipping_v2/model/GenerateCollectionFormResponse.js +15 -18
  1170. package/src/shipping_v2/model/GenerationStatus.js +9 -13
  1171. package/src/shipping_v2/model/Geocode.js +16 -20
  1172. package/src/shipping_v2/model/GetAccessPointsResponse.js +15 -18
  1173. package/src/shipping_v2/model/GetAccessPointsResult.js +16 -19
  1174. package/src/shipping_v2/model/GetAdditionalInputsResponse.js +14 -17
  1175. package/src/shipping_v2/model/GetCarrierAccountFormInputsResponse.js +15 -18
  1176. package/src/shipping_v2/model/GetCarrierAccountsRequest.js +15 -18
  1177. package/src/shipping_v2/model/GetCarrierAccountsResponse.js +16 -19
  1178. package/src/shipping_v2/model/GetCollectionFormHistoryRequest.js +25 -32
  1179. package/src/shipping_v2/model/GetCollectionFormHistoryResponse.js +17 -21
  1180. package/src/shipping_v2/model/GetCollectionFormResponse.js +15 -18
  1181. package/src/shipping_v2/model/GetRatesRequest.js +53 -68
  1182. package/src/shipping_v2/model/GetRatesResponse.js +15 -18
  1183. package/src/shipping_v2/model/GetRatesResult.js +22 -27
  1184. package/src/shipping_v2/model/GetShipmentDocumentsResponse.js +15 -18
  1185. package/src/shipping_v2/model/GetShipmentDocumentsResult.js +23 -28
  1186. package/src/shipping_v2/model/GetTrackingResponse.js +15 -18
  1187. package/src/shipping_v2/model/GetTrackingResult.js +30 -37
  1188. package/src/shipping_v2/model/GetUnmanifestedShipmentsRequest.js +15 -18
  1189. package/src/shipping_v2/model/GetUnmanifestedShipmentsResponse.js +15 -18
  1190. package/src/shipping_v2/model/GoodsOwner.js +17 -20
  1191. package/src/shipping_v2/model/IneligibilityReason.js +20 -24
  1192. package/src/shipping_v2/model/IneligibilityReasonCode.js +25 -37
  1193. package/src/shipping_v2/model/IneligibleRate.js +28 -35
  1194. package/src/shipping_v2/model/InputType.js +9 -13
  1195. package/src/shipping_v2/model/InvoiceDetails.js +16 -20
  1196. package/src/shipping_v2/model/Item.js +43 -57
  1197. package/src/shipping_v2/model/LabelAttribute.js +11 -16
  1198. package/src/shipping_v2/model/LinkCarrierAccountRequest.js +24 -30
  1199. package/src/shipping_v2/model/LinkCarrierAccountResponse.js +17 -21
  1200. package/src/shipping_v2/model/LinkableAccountType.js +18 -22
  1201. package/src/shipping_v2/model/LinkableCarrier.js +17 -21
  1202. package/src/shipping_v2/model/LiquidVolume.js +34 -38
  1203. package/src/shipping_v2/model/Location.js +20 -26
  1204. package/src/shipping_v2/model/NdrAction.js +11 -16
  1205. package/src/shipping_v2/model/NdrRequestData.js +17 -21
  1206. package/src/shipping_v2/model/OneClickShipmentRequest.js +57 -72
  1207. package/src/shipping_v2/model/OneClickShipmentResponse.js +15 -18
  1208. package/src/shipping_v2/model/OneClickShipmentResult.js +39 -47
  1209. package/src/shipping_v2/model/OneClickShipmentValueAddedService.js +18 -22
  1210. package/src/shipping_v2/model/OperatingHours.js +19 -24
  1211. package/src/shipping_v2/model/Package.js +41 -51
  1212. package/src/shipping_v2/model/PackageDocument.js +25 -30
  1213. package/src/shipping_v2/model/PackageDocumentDetail.js +21 -26
  1214. package/src/shipping_v2/model/PaymentType.js +9 -13
  1215. package/src/shipping_v2/model/PrintOption.js +24 -30
  1216. package/src/shipping_v2/model/Promise.js +17 -21
  1217. package/src/shipping_v2/model/PurchaseShipmentRequest.js +28 -35
  1218. package/src/shipping_v2/model/PurchaseShipmentResponse.js +15 -18
  1219. package/src/shipping_v2/model/PurchaseShipmentResult.js +27 -33
  1220. package/src/shipping_v2/model/Rate.js +59 -75
  1221. package/src/shipping_v2/model/RateItem.js +24 -30
  1222. package/src/shipping_v2/model/RateItemID.js +71 -106
  1223. package/src/shipping_v2/model/RateItemType.js +11 -16
  1224. package/src/shipping_v2/model/RequestedDocumentSpecification.js +36 -45
  1225. package/src/shipping_v2/model/RequestedLabelCustomization.js +15 -18
  1226. package/src/shipping_v2/model/RequestedValueAddedService.js +15 -18
  1227. package/src/shipping_v2/model/Service.js +18 -22
  1228. package/src/shipping_v2/model/ServiceSelection.js +15 -18
  1229. package/src/shipping_v2/model/SettlementType.js +9 -13
  1230. package/src/shipping_v2/model/ShipmentType.js +9 -13
  1231. package/src/shipping_v2/model/ShipperInstruction.js +14 -17
  1232. package/src/shipping_v2/model/Status.js +25 -37
  1233. package/src/shipping_v2/model/SubmitNdrFeedbackRequest.js +23 -28
  1234. package/src/shipping_v2/model/SupportedDocumentDetail.js +20 -24
  1235. package/src/shipping_v2/model/SupportedDocumentSpecification.js +26 -31
  1236. package/src/shipping_v2/model/TaxDetail.js +20 -24
  1237. package/src/shipping_v2/model/TaxType.js +7 -10
  1238. package/src/shipping_v2/model/TimeOfDay.js +18 -23
  1239. package/src/shipping_v2/model/TimeWindow.js +16 -20
  1240. package/src/shipping_v2/model/TrackingDetailCodes.js +19 -23
  1241. package/src/shipping_v2/model/TrackingSummary.js +18 -22
  1242. package/src/shipping_v2/model/UnlinkCarrierAccountRequest.js +17 -21
  1243. package/src/shipping_v2/model/UnlinkCarrierAccountResponse.js +14 -17
  1244. package/src/shipping_v2/model/UnmanifestedCarrierInformation.js +19 -24
  1245. package/src/shipping_v2/model/UnmanifestedShipmentLocation.js +18 -22
  1246. package/src/shipping_v2/model/ValidationMetadata.js +18 -23
  1247. package/src/shipping_v2/model/ValueAddedService.js +23 -28
  1248. package/src/shipping_v2/model/ValueAddedServiceDetails.js +15 -18
  1249. package/src/shipping_v2/model/Weight.js +28 -32
  1250. package/src/solicitations_v1/ApiClient.js +479 -488
  1251. package/src/solicitations_v1/api/SolicitationsApi.js +114 -122
  1252. package/src/solicitations_v1/index.js +44 -45
  1253. package/src/solicitations_v1/model/CreateProductReviewAndSellerFeedbackSolicitationResponse.js +16 -19
  1254. package/src/solicitations_v1/model/Error.js +21 -26
  1255. package/src/solicitations_v1/model/GetSchemaResponse.js +21 -26
  1256. package/src/solicitations_v1/model/GetSchemaResponseLinks.js +18 -21
  1257. package/src/solicitations_v1/model/GetSolicitationActionResponse.js +25 -31
  1258. package/src/solicitations_v1/model/GetSolicitationActionResponseEmbedded.js +16 -19
  1259. package/src/solicitations_v1/model/GetSolicitationActionResponseLinks.js +22 -26
  1260. package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponse.js +22 -27
  1261. package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponseEmbedded.js +18 -21
  1262. package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponseLinks.js +21 -25
  1263. package/src/solicitations_v1/model/LinkObject.js +18 -22
  1264. package/src/solicitations_v1/model/SolicitationsAction.js +17 -20
  1265. package/src/supplysources_v2020_07_01/ApiClient.js +479 -488
  1266. package/src/supplysources_v2020_07_01/api/SupplySourcesApi.js +257 -273
  1267. package/src/supplysources_v2020_07_01/index.js +116 -117
  1268. package/src/supplysources_v2020_07_01/model/Address.js +39 -52
  1269. package/src/supplysources_v2020_07_01/model/AddressWithContact.js +19 -23
  1270. package/src/supplysources_v2020_07_01/model/ContactDetails.js +16 -19
  1271. package/src/supplysources_v2020_07_01/model/ContactDetailsPrimary.js +17 -21
  1272. package/src/supplysources_v2020_07_01/model/CreateSupplySourceRequest.js +24 -29
  1273. package/src/supplysources_v2020_07_01/model/CreateSupplySourceResponse.js +19 -23
  1274. package/src/supplysources_v2020_07_01/model/CurbsidePickupConfiguration.js +21 -26
  1275. package/src/supplysources_v2020_07_01/model/DeliveryChannel.js +18 -22
  1276. package/src/supplysources_v2020_07_01/model/Duration.js +18 -22
  1277. package/src/supplysources_v2020_07_01/model/Error.js +21 -26
  1278. package/src/supplysources_v2020_07_01/model/ErrorList.js +17 -20
  1279. package/src/supplysources_v2020_07_01/model/GetSupplySourcesResponse.js +18 -22
  1280. package/src/supplysources_v2020_07_01/model/InStorePickupConfiguration.js +18 -22
  1281. package/src/supplysources_v2020_07_01/model/OperatingHour.js +17 -21
  1282. package/src/supplysources_v2020_07_01/model/OperatingHoursByDay.js +28 -37
  1283. package/src/supplysources_v2020_07_01/model/OperationalConfiguration.js +25 -31
  1284. package/src/supplysources_v2020_07_01/model/OutboundCapability.js +27 -34
  1285. package/src/supplysources_v2020_07_01/model/ParkingConfiguration.js +21 -26
  1286. package/src/supplysources_v2020_07_01/model/ParkingCostType.js +10 -14
  1287. package/src/supplysources_v2020_07_01/model/ParkingSpotIdentificationType.js +10 -14
  1288. package/src/supplysources_v2020_07_01/model/ParkingWithAddressConfiguration.js +30 -36
  1289. package/src/supplysources_v2020_07_01/model/PickupChannel.js +27 -34
  1290. package/src/supplysources_v2020_07_01/model/ReturnLocation.js +18 -22
  1291. package/src/supplysources_v2020_07_01/model/ServicesCapability.js +18 -22
  1292. package/src/supplysources_v2020_07_01/model/SupplySource.js +35 -46
  1293. package/src/supplysources_v2020_07_01/model/SupplySourceCapabilities.js +19 -23
  1294. package/src/supplysources_v2020_07_01/model/SupplySourceConfiguration.js +18 -22
  1295. package/src/supplysources_v2020_07_01/model/SupplySourceListInner.js +22 -28
  1296. package/src/supplysources_v2020_07_01/model/SupplySourceStatus.js +10 -14
  1297. package/src/supplysources_v2020_07_01/model/SupplySourceStatusReadOnly.js +12 -17
  1298. package/src/supplysources_v2020_07_01/model/ThroughputCap.js +18 -22
  1299. package/src/supplysources_v2020_07_01/model/ThroughputConfig.js +21 -25
  1300. package/src/supplysources_v2020_07_01/model/ThroughputUnit.js +8 -11
  1301. package/src/supplysources_v2020_07_01/model/TimeUnit.js +12 -17
  1302. package/src/supplysources_v2020_07_01/model/UpdateSupplySourceRequest.js +21 -26
  1303. package/src/supplysources_v2020_07_01/model/UpdateSupplySourceStatusRequest.js +16 -19
  1304. package/src/tokens_v2021_03_01/ApiClient.js +480 -489
  1305. package/src/tokens_v2021_03_01/api/TokensApi.js +63 -69
  1306. package/src/tokens_v2021_03_01/index.js +24 -25
  1307. package/src/tokens_v2021_03_01/model/CreateRestrictedDataTokenRequest.js +20 -24
  1308. package/src/tokens_v2021_03_01/model/CreateRestrictedDataTokenResponse.js +18 -22
  1309. package/src/tokens_v2021_03_01/model/Error.js +22 -27
  1310. package/src/tokens_v2021_03_01/model/ErrorList.js +17 -20
  1311. package/src/tokens_v2021_03_01/model/RestrictedResource.js +32 -37
  1312. package/src/transfers_v2024_06_01/ApiClient.js +479 -488
  1313. package/src/transfers_v2024_06_01/api/DefaultApi.js +105 -113
  1314. package/src/transfers_v2024_06_01/index.js +35 -36
  1315. package/src/transfers_v2024_06_01/model/AssignmentType.js +8 -11
  1316. package/src/transfers_v2024_06_01/model/Error.js +21 -26
  1317. package/src/transfers_v2024_06_01/model/ErrorList.js +17 -20
  1318. package/src/transfers_v2024_06_01/model/ExpiryDate.js +17 -21
  1319. package/src/transfers_v2024_06_01/model/GetPaymentMethodsResponse.js +16 -19
  1320. package/src/transfers_v2024_06_01/model/InitiatePayoutRequest.js +19 -23
  1321. package/src/transfers_v2024_06_01/model/InitiatePayoutResponse.js +16 -19
  1322. package/src/transfers_v2024_06_01/model/PaymentMethodDetails.js +30 -39
  1323. package/src/transfers_v2024_06_01/model/PaymentMethodType.js +12 -17
  1324. package/src/uploads_v2020_11_01/ApiClient.js +479 -488
  1325. package/src/uploads_v2020_11_01/api/UploadsApi.js +73 -79
  1326. package/src/uploads_v2020_11_01/index.js +17 -18
  1327. package/src/uploads_v2020_11_01/model/CreateUploadDestinationResponse.js +19 -23
  1328. package/src/uploads_v2020_11_01/model/Error.js +21 -26
  1329. package/src/uploads_v2020_11_01/model/UploadDestination.js +19 -24
  1330. package/src/vehicles_v2024_11_01/ApiClient.js +479 -488
  1331. package/src/vehicles_v2024_11_01/api/AutomotiveApi.js +70 -76
  1332. package/src/vehicles_v2024_11_01/api/VehiclesApi.js +70 -76
  1333. package/src/vehicles_v2024_11_01/index.js +44 -45
  1334. package/src/vehicles_v2024_11_01/model/EngineOutput.js +21 -25
  1335. package/src/vehicles_v2024_11_01/model/EngineOutputUnit.js +10 -14
  1336. package/src/vehicles_v2024_11_01/model/Error.js +21 -26
  1337. package/src/vehicles_v2024_11_01/model/ErrorList.js +17 -20
  1338. package/src/vehicles_v2024_11_01/model/MonthAndYear.js +17 -21
  1339. package/src/vehicles_v2024_11_01/model/Pagination.js +17 -21
  1340. package/src/vehicles_v2024_11_01/model/Vehicle.js +44 -58
  1341. package/src/vehicles_v2024_11_01/model/VehicleIdentifiers.js +21 -25
  1342. package/src/vehicles_v2024_11_01/model/VehicleStandard.js +10 -14
  1343. package/src/vehicles_v2024_11_01/model/VehicleStatusInCatalog.js +10 -14
  1344. package/src/vehicles_v2024_11_01/model/VehiclesResponse.js +20 -24
  1345. package/src/vendordfinventory_v1/ApiClient.js +479 -488
  1346. package/src/vendordfinventory_v1/api/UpdateInventoryApi.js +66 -72
  1347. package/src/vendordfinventory_v1/index.js +32 -33
  1348. package/src/vendordfinventory_v1/model/Error.js +21 -26
  1349. package/src/vendordfinventory_v1/model/InventoryUpdate.js +25 -30
  1350. package/src/vendordfinventory_v1/model/ItemDetails.js +24 -30
  1351. package/src/vendordfinventory_v1/model/ItemQuantity.js +18 -22
  1352. package/src/vendordfinventory_v1/model/PartyIdentification.js +16 -19
  1353. package/src/vendordfinventory_v1/model/SubmitInventoryUpdateRequest.js +16 -19
  1354. package/src/vendordfinventory_v1/model/SubmitInventoryUpdateResponse.js +19 -23
  1355. package/src/vendordfinventory_v1/model/TransactionReference.js +15 -18
  1356. package/src/vendordforders_v2021_12_28/ApiClient.js +479 -488
  1357. package/src/vendordforders_v2021_12_28/api/VendorOrdersApi.js +152 -162
  1358. package/src/vendordforders_v2021_12_28/index.js +83 -84
  1359. package/src/vendordforders_v2021_12_28/model/AcknowledgementStatus.js +17 -21
  1360. package/src/vendordforders_v2021_12_28/model/Address.js +41 -55
  1361. package/src/vendordforders_v2021_12_28/model/BuyerCustomizedInfoDetail.js +15 -18
  1362. package/src/vendordforders_v2021_12_28/model/Error.js +21 -26
  1363. package/src/vendordforders_v2021_12_28/model/ErrorList.js +17 -20
  1364. package/src/vendordforders_v2021_12_28/model/GiftDetails.js +17 -21
  1365. package/src/vendordforders_v2021_12_28/model/ItemQuantity.js +21 -25
  1366. package/src/vendordforders_v2021_12_28/model/Money.js +17 -21
  1367. package/src/vendordforders_v2021_12_28/model/Order.js +19 -23
  1368. package/src/vendordforders_v2021_12_28/model/OrderAcknowledgementItem.js +40 -49
  1369. package/src/vendordforders_v2021_12_28/model/OrderDetails.js +61 -73
  1370. package/src/vendordforders_v2021_12_28/model/OrderItem.js +46 -59
  1371. package/src/vendordforders_v2021_12_28/model/OrderItemAcknowledgement.js +25 -31
  1372. package/src/vendordforders_v2021_12_28/model/OrderList.js +19 -23
  1373. package/src/vendordforders_v2021_12_28/model/Pagination.js +15 -18
  1374. package/src/vendordforders_v2021_12_28/model/PartyIdentification.js +22 -27
  1375. package/src/vendordforders_v2021_12_28/model/ScheduledDeliveryShipment.js +19 -24
  1376. package/src/vendordforders_v2021_12_28/model/ShipmentDates.js +18 -22
  1377. package/src/vendordforders_v2021_12_28/model/ShipmentDetails.js +34 -43
  1378. package/src/vendordforders_v2021_12_28/model/SubmitAcknowledgementRequest.js +16 -19
  1379. package/src/vendordforders_v2021_12_28/model/SubmitAcknowledgementResponse.js +19 -23
  1380. package/src/vendordforders_v2021_12_28/model/TaxDetails.js +40 -46
  1381. package/src/vendordforders_v2021_12_28/model/TaxItemDetails.js +16 -19
  1382. package/src/vendordforders_v2021_12_28/model/TaxRegistrationDetails.js +29 -35
  1383. package/src/vendordforders_v2021_12_28/model/TransactionId.js +15 -18
  1384. package/src/vendordfpayments_v1/ApiClient.js +479 -488
  1385. package/src/vendordfpayments_v1/api/VendorInvoiceApi.js +61 -67
  1386. package/src/vendordfpayments_v1/index.js +50 -51
  1387. package/src/vendordfpayments_v1/model/AdditionalDetails.js +27 -32
  1388. package/src/vendordfpayments_v1/model/Address.js +41 -54
  1389. package/src/vendordfpayments_v1/model/ChargeDetails.js +40 -45
  1390. package/src/vendordfpayments_v1/model/Error.js +21 -26
  1391. package/src/vendordfpayments_v1/model/InvoiceDetail.js +54 -69
  1392. package/src/vendordfpayments_v1/model/InvoiceItem.js +43 -55
  1393. package/src/vendordfpayments_v1/model/ItemQuantity.js +19 -23
  1394. package/src/vendordfpayments_v1/model/Money.js +19 -23
  1395. package/src/vendordfpayments_v1/model/PartyIdentification.js +22 -27
  1396. package/src/vendordfpayments_v1/model/SubmitInvoiceRequest.js +16 -19
  1397. package/src/vendordfpayments_v1/model/SubmitInvoiceResponse.js +19 -23
  1398. package/src/vendordfpayments_v1/model/TaxDetail.js +55 -61
  1399. package/src/vendordfpayments_v1/model/TaxRegistrationDetail.js +29 -35
  1400. package/src/vendordfpayments_v1/model/TransactionReference.js +15 -18
  1401. package/src/vendordfshipping_v2021_12_28/ApiClient.js +479 -488
  1402. package/src/vendordfshipping_v2021_12_28/api/CreateContainerLabelApi.js +62 -68
  1403. package/src/vendordfshipping_v2021_12_28/api/CustomerInvoicesApi.js +114 -122
  1404. package/src/vendordfshipping_v2021_12_28/api/VendorShippingApi.js +176 -188
  1405. package/src/vendordfshipping_v2021_12_28/api/VendorShippingLabelsApi.js +195 -207
  1406. package/src/vendordfshipping_v2021_12_28/index.js +125 -126
  1407. package/src/vendordfshipping_v2021_12_28/model/Address.js +38 -51
  1408. package/src/vendordfshipping_v2021_12_28/model/CarrierId.js +8 -11
  1409. package/src/vendordfshipping_v2021_12_28/model/Container.js +51 -65
  1410. package/src/vendordfshipping_v2021_12_28/model/ContainerLabel.js +23 -28
  1411. package/src/vendordfshipping_v2021_12_28/model/ContainerLabelFormat.js +10 -14
  1412. package/src/vendordfshipping_v2021_12_28/model/CreateContainerLabelRequest.js +34 -41
  1413. package/src/vendordfshipping_v2021_12_28/model/CreateContainerLabelResponse.js +18 -21
  1414. package/src/vendordfshipping_v2021_12_28/model/CreateShippingLabelsRequest.js +25 -30
  1415. package/src/vendordfshipping_v2021_12_28/model/CustomerInvoice.js +19 -23
  1416. package/src/vendordfshipping_v2021_12_28/model/CustomerInvoiceList.js +19 -23
  1417. package/src/vendordfshipping_v2021_12_28/model/Dimensions.js +31 -37
  1418. package/src/vendordfshipping_v2021_12_28/model/Error.js +21 -26
  1419. package/src/vendordfshipping_v2021_12_28/model/ErrorList.js +17 -20
  1420. package/src/vendordfshipping_v2021_12_28/model/Item.js +25 -31
  1421. package/src/vendordfshipping_v2021_12_28/model/ItemQuantity.js +19 -23
  1422. package/src/vendordfshipping_v2021_12_28/model/LabelData.js +24 -31
  1423. package/src/vendordfshipping_v2021_12_28/model/Package.js +16 -19
  1424. package/src/vendordfshipping_v2021_12_28/model/PackedItem.js +27 -34
  1425. package/src/vendordfshipping_v2021_12_28/model/PackingSlip.js +25 -30
  1426. package/src/vendordfshipping_v2021_12_28/model/PackingSlipList.js +19 -23
  1427. package/src/vendordfshipping_v2021_12_28/model/Pagination.js +15 -18
  1428. package/src/vendordfshipping_v2021_12_28/model/PartyIdentification.js +22 -27
  1429. package/src/vendordfshipping_v2021_12_28/model/ShipmentConfirmation.js +37 -45
  1430. package/src/vendordfshipping_v2021_12_28/model/ShipmentDetails.js +31 -38
  1431. package/src/vendordfshipping_v2021_12_28/model/ShipmentSchedule.js +19 -24
  1432. package/src/vendordfshipping_v2021_12_28/model/ShipmentStatusUpdate.js +30 -36
  1433. package/src/vendordfshipping_v2021_12_28/model/ShippingLabel.js +38 -45
  1434. package/src/vendordfshipping_v2021_12_28/model/ShippingLabelList.js +19 -23
  1435. package/src/vendordfshipping_v2021_12_28/model/ShippingLabelRequest.js +28 -34
  1436. package/src/vendordfshipping_v2021_12_28/model/StatusUpdateDetails.js +33 -41
  1437. package/src/vendordfshipping_v2021_12_28/model/SubmitShipmentConfirmationsRequest.js +16 -19
  1438. package/src/vendordfshipping_v2021_12_28/model/SubmitShipmentStatusUpdatesRequest.js +16 -19
  1439. package/src/vendordfshipping_v2021_12_28/model/SubmitShippingLabelsRequest.js +16 -19
  1440. package/src/vendordfshipping_v2021_12_28/model/TaxRegistrationDetails.js +29 -35
  1441. package/src/vendordfshipping_v2021_12_28/model/TransactionReference.js +15 -18
  1442. package/src/vendordfshipping_v2021_12_28/model/Weight.js +25 -29
  1443. package/src/vendordftransactions_v2021_12_28/ApiClient.js +479 -488
  1444. package/src/vendordftransactions_v2021_12_28/api/VendorTransactionApi.js +63 -69
  1445. package/src/vendordftransactions_v2021_12_28/index.js +20 -21
  1446. package/src/vendordftransactions_v2021_12_28/model/Error.js +21 -26
  1447. package/src/vendordftransactions_v2021_12_28/model/ErrorList.js +17 -20
  1448. package/src/vendordftransactions_v2021_12_28/model/Transaction.js +30 -35
  1449. package/src/vendordftransactions_v2021_12_28/model/TransactionStatus.js +16 -19
  1450. package/src/vendorinvoices_v1/ApiClient.js +479 -488
  1451. package/src/vendorinvoices_v1/api/VendorPaymentsApi.js +61 -67
  1452. package/src/vendorinvoices_v1/index.js +65 -66
  1453. package/src/vendorinvoices_v1/model/AdditionalDetails.js +29 -34
  1454. package/src/vendorinvoices_v1/model/Address.js +38 -51
  1455. package/src/vendorinvoices_v1/model/AllowanceDetails.js +40 -46
  1456. package/src/vendorinvoices_v1/model/ChargeDetails.js +50 -56
  1457. package/src/vendorinvoices_v1/model/CreditNoteDetails.js +27 -36
  1458. package/src/vendorinvoices_v1/model/Error.js +21 -26
  1459. package/src/vendorinvoices_v1/model/Invoice.js +64 -81
  1460. package/src/vendorinvoices_v1/model/InvoiceItem.js +49 -63
  1461. package/src/vendorinvoices_v1/model/ItemQuantity.js +30 -36
  1462. package/src/vendorinvoices_v1/model/Money.js +17 -21
  1463. package/src/vendorinvoices_v1/model/NetCostUnitOfMeasure.js +14 -20
  1464. package/src/vendorinvoices_v1/model/PartyIdentification.js +22 -27
  1465. package/src/vendorinvoices_v1/model/PaymentTerms.js +35 -41
  1466. package/src/vendorinvoices_v1/model/SubmitInvoicesRequest.js +16 -19
  1467. package/src/vendorinvoices_v1/model/SubmitInvoicesResponse.js +19 -23
  1468. package/src/vendorinvoices_v1/model/TaxDetails.js +55 -61
  1469. package/src/vendorinvoices_v1/model/TaxRegistrationDetails.js +25 -29
  1470. package/src/vendorinvoices_v1/model/TotalWeight.js +29 -33
  1471. package/src/vendorinvoices_v1/model/TransactionId.js +15 -18
  1472. package/src/vendororders_v1/ApiClient.js +479 -488
  1473. package/src/vendororders_v1/api/VendorOrdersApi.js +183 -195
  1474. package/src/vendororders_v1/index.js +95 -96
  1475. package/src/vendororders_v1/model/AcknowledgementStatusDetails.js +20 -25
  1476. package/src/vendororders_v1/model/Address.js +38 -51
  1477. package/src/vendororders_v1/model/Error.js +21 -26
  1478. package/src/vendororders_v1/model/GetPurchaseOrderResponse.js +19 -23
  1479. package/src/vendororders_v1/model/GetPurchaseOrdersResponse.js +19 -23
  1480. package/src/vendororders_v1/model/GetPurchaseOrdersStatusResponse.js +19 -23
  1481. package/src/vendororders_v1/model/ImportDetails.js +62 -69
  1482. package/src/vendororders_v1/model/ItemQuantity.js +25 -30
  1483. package/src/vendororders_v1/model/Money.js +29 -34
  1484. package/src/vendororders_v1/model/Order.js +30 -35
  1485. package/src/vendororders_v1/model/OrderAcknowledgement.js +28 -34
  1486. package/src/vendororders_v1/model/OrderAcknowledgementItem.js +35 -45
  1487. package/src/vendororders_v1/model/OrderDetails.js +67 -83
  1488. package/src/vendororders_v1/model/OrderItem.js +33 -42
  1489. package/src/vendororders_v1/model/OrderItemAcknowledgement.js +43 -50
  1490. package/src/vendororders_v1/model/OrderItemStatus.js +34 -44
  1491. package/src/vendororders_v1/model/OrderItemStatusAcknowledgementStatus.js +33 -39
  1492. package/src/vendororders_v1/model/OrderItemStatusOrderedQuantity.js +19 -23
  1493. package/src/vendororders_v1/model/OrderItemStatusReceivingStatus.js +28 -33
  1494. package/src/vendororders_v1/model/OrderList.js +19 -23
  1495. package/src/vendororders_v1/model/OrderListStatus.js +19 -23
  1496. package/src/vendororders_v1/model/OrderStatus.js +43 -52
  1497. package/src/vendororders_v1/model/OrderedQuantityDetails.js +20 -25
  1498. package/src/vendororders_v1/model/Pagination.js +15 -18
  1499. package/src/vendororders_v1/model/PartyIdentification.js +22 -27
  1500. package/src/vendororders_v1/model/SubmitAcknowledgementRequest.js +16 -19
  1501. package/src/vendororders_v1/model/SubmitAcknowledgementResponse.js +19 -23
  1502. package/src/vendororders_v1/model/TaxRegistrationDetails.js +25 -29
  1503. package/src/vendororders_v1/model/TransactionId.js +15 -18
  1504. package/src/vendorshipments_v1/ApiClient.js +479 -488
  1505. package/src/vendorshipments_v1/api/VendorShippingApi.js +189 -201
  1506. package/src/vendorshipments_v1/index.js +170 -171
  1507. package/src/vendorshipments_v1/model/Address.js +38 -51
  1508. package/src/vendorshipments_v1/model/CarrierDetails.js +23 -30
  1509. package/src/vendorshipments_v1/model/Carton.js +31 -39
  1510. package/src/vendorshipments_v1/model/CartonReferenceDetails.js +18 -22
  1511. package/src/vendorshipments_v1/model/CollectFreightPickupDetails.js +19 -24
  1512. package/src/vendorshipments_v1/model/ContainerIdentification.js +31 -35
  1513. package/src/vendorshipments_v1/model/ContainerItem.js +24 -29
  1514. package/src/vendorshipments_v1/model/ContainerSequenceNumbers.js +15 -18
  1515. package/src/vendorshipments_v1/model/Containers.js +46 -58
  1516. package/src/vendorshipments_v1/model/Dimensions.js +35 -41
  1517. package/src/vendorshipments_v1/model/Duration.js +25 -29
  1518. package/src/vendorshipments_v1/model/Error.js +21 -26
  1519. package/src/vendorshipments_v1/model/Expiry.js +20 -25
  1520. package/src/vendorshipments_v1/model/GetShipmentDetailsResponse.js +19 -23
  1521. package/src/vendorshipments_v1/model/GetShipmentLabels.js +19 -23
  1522. package/src/vendorshipments_v1/model/ImportDetails.js +53 -62
  1523. package/src/vendorshipments_v1/model/InnerContainersDetails.js +18 -22
  1524. package/src/vendorshipments_v1/model/Item.js +28 -35
  1525. package/src/vendorshipments_v1/model/ItemDetails.js +35 -42
  1526. package/src/vendorshipments_v1/model/ItemQuantity.js +30 -36
  1527. package/src/vendorshipments_v1/model/LabelData.js +27 -34
  1528. package/src/vendorshipments_v1/model/Location.js +19 -24
  1529. package/src/vendorshipments_v1/model/Money.js +19 -23
  1530. package/src/vendorshipments_v1/model/PackageItemDetails.js +20 -25
  1531. package/src/vendorshipments_v1/model/PackedItems.js +25 -32
  1532. package/src/vendorshipments_v1/model/PackedQuantity.js +27 -32
  1533. package/src/vendorshipments_v1/model/Pagination.js +15 -18
  1534. package/src/vendorshipments_v1/model/Pallet.js +33 -42
  1535. package/src/vendorshipments_v1/model/PartyIdentification.js +22 -27
  1536. package/src/vendorshipments_v1/model/PurchaseOrderItemDetails.js +16 -19
  1537. package/src/vendorshipments_v1/model/PurchaseOrderItems.js +28 -35
  1538. package/src/vendorshipments_v1/model/PurchaseOrders.js +22 -28
  1539. package/src/vendorshipments_v1/model/Route.js +17 -20
  1540. package/src/vendorshipments_v1/model/Shipment.js +92 -114
  1541. package/src/vendorshipments_v1/model/ShipmentConfirmation.js +94 -113
  1542. package/src/vendorshipments_v1/model/ShipmentDetails.js +19 -23
  1543. package/src/vendorshipments_v1/model/ShipmentInformation.js +37 -47
  1544. package/src/vendorshipments_v1/model/ShipmentMeasurements.js +23 -29
  1545. package/src/vendorshipments_v1/model/ShipmentStatusDetails.js +27 -31
  1546. package/src/vendorshipments_v1/model/Stop.js +31 -37
  1547. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationsRequest.js +16 -19
  1548. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationsResponse.js +19 -23
  1549. package/src/vendorshipments_v1/model/SubmitShipments.js +16 -19
  1550. package/src/vendorshipments_v1/model/TaxRegistrationDetails.js +25 -29
  1551. package/src/vendorshipments_v1/model/TotalWeight.js +29 -33
  1552. package/src/vendorshipments_v1/model/TransactionReference.js +15 -18
  1553. package/src/vendorshipments_v1/model/TransportLabel.js +21 -26
  1554. package/src/vendorshipments_v1/model/TransportShipmentMeasurements.js +25 -32
  1555. package/src/vendorshipments_v1/model/TransportationDetails.js +44 -53
  1556. package/src/vendorshipments_v1/model/TransportationDetailsForShipmentConfirmation.js +29 -35
  1557. package/src/vendorshipments_v1/model/TransportationLabels.js +19 -23
  1558. package/src/vendorshipments_v1/model/VendorDetails.js +18 -22
  1559. package/src/vendorshipments_v1/model/Volume.js +29 -33
  1560. package/src/vendorshipments_v1/model/Weight.js +29 -33
  1561. package/src/vendortransactionstatus_v1/ApiClient.js +479 -488
  1562. package/src/vendortransactionstatus_v1/api/VendorTransactionApi.js +61 -67
  1563. package/src/vendortransactionstatus_v1/index.js +20 -21
  1564. package/src/vendortransactionstatus_v1/model/Error.js +21 -26
  1565. package/src/vendortransactionstatus_v1/model/GetTransactionResponse.js +19 -23
  1566. package/src/vendortransactionstatus_v1/model/Transaction.js +30 -35
  1567. package/src/vendortransactionstatus_v1/model/TransactionStatus.js +16 -19
  1568. package/src/finances_2024_06_19/ApiClient.js +0 -832
  1569. package/src/finances_2024_06_19/api/DefaultApi.js +0 -128
  1570. package/src/finances_2024_06_19/index.js +0 -155
  1571. package/src/finances_2024_06_19/model/AmazonPayContext.js +0 -81
  1572. package/src/finances_2024_06_19/model/Breakdown.js +0 -80
  1573. package/src/finances_2024_06_19/model/Context.js +0 -315
  1574. package/src/finances_2024_06_19/model/Currency.js +0 -73
  1575. package/src/finances_2024_06_19/model/DeferredContext.js +0 -81
  1576. package/src/finances_2024_06_19/model/Error.js +0 -85
  1577. package/src/finances_2024_06_19/model/ErrorList.js +0 -68
  1578. package/src/finances_2024_06_19/model/Item.js +0 -100
  1579. package/src/finances_2024_06_19/model/ItemRelatedIdentifier.js +0 -105
  1580. package/src/finances_2024_06_19/model/ListTransactionsResponse.js +0 -74
  1581. package/src/finances_2024_06_19/model/MarketplaceDetails.js +0 -73
  1582. package/src/finances_2024_06_19/model/PaymentsContext.js +0 -89
  1583. package/src/finances_2024_06_19/model/ProductContext.js +0 -89
  1584. package/src/finances_2024_06_19/model/RelatedIdentifier.js +0 -123
  1585. package/src/finances_2024_06_19/model/SellingPartnerMetadata.js +0 -81
  1586. package/src/finances_2024_06_19/model/TimeRangeContext.js +0 -73
  1587. package/src/finances_2024_06_19/model/Transaction.js +0 -157
@@ -11,40 +11,40 @@
11
11
  *
12
12
  */
13
13
 
14
- import {ApiClient} from '../ApiClient.js';
15
- import {CancelShipmentResponse} from '../model/CancelShipmentResponse.js';
16
- import {CreateClaimRequest} from '../model/CreateClaimRequest.js';
17
- import {CreateClaimResponse} from '../model/CreateClaimResponse.js';
18
- import {DirectPurchaseRequest} from '../model/DirectPurchaseRequest.js';
19
- import {DirectPurchaseResponse} from '../model/DirectPurchaseResponse.js';
20
- import {ErrorList} from '../model/ErrorList.js';
21
- import {GenerateCollectionFormRequest} from '../model/GenerateCollectionFormRequest.js';
22
- import {GenerateCollectionFormResponse} from '../model/GenerateCollectionFormResponse.js';
23
- import {GetAccessPointsResponse} from '../model/GetAccessPointsResponse.js';
24
- import {GetAdditionalInputsResponse} from '../model/GetAdditionalInputsResponse.js';
25
- import {GetCarrierAccountFormInputsResponse} from '../model/GetCarrierAccountFormInputsResponse.js';
26
- import {GetCarrierAccountsRequest} from '../model/GetCarrierAccountsRequest.js';
27
- import {GetCarrierAccountsResponse} from '../model/GetCarrierAccountsResponse.js';
28
- import {GetCollectionFormHistoryRequest} from '../model/GetCollectionFormHistoryRequest.js';
29
- import {GetCollectionFormHistoryResponse} from '../model/GetCollectionFormHistoryResponse.js';
30
- import {GetCollectionFormResponse} from '../model/GetCollectionFormResponse.js';
31
- import {GetRatesRequest} from '../model/GetRatesRequest.js';
32
- import {GetRatesResponse} from '../model/GetRatesResponse.js';
33
- import {GetShipmentDocumentsResponse} from '../model/GetShipmentDocumentsResponse.js';
34
- import {GetTrackingResponse} from '../model/GetTrackingResponse.js';
35
- import {GetUnmanifestedShipmentsRequest} from '../model/GetUnmanifestedShipmentsRequest.js';
36
- import {GetUnmanifestedShipmentsResponse} from '../model/GetUnmanifestedShipmentsResponse.js';
37
- import {LinkCarrierAccountRequest} from '../model/LinkCarrierAccountRequest.js';
38
- import {LinkCarrierAccountResponse} from '../model/LinkCarrierAccountResponse.js';
39
- import {OneClickShipmentRequest} from '../model/OneClickShipmentRequest.js';
40
- import {OneClickShipmentResponse} from '../model/OneClickShipmentResponse.js';
41
- import {PurchaseShipmentRequest} from '../model/PurchaseShipmentRequest.js';
42
- import {PurchaseShipmentResponse} from '../model/PurchaseShipmentResponse.js';
43
- import {SubmitNdrFeedbackRequest} from '../model/SubmitNdrFeedbackRequest.js';
44
- import {UnlinkCarrierAccountRequest} from '../model/UnlinkCarrierAccountRequest.js';
45
- import {UnlinkCarrierAccountResponse} from '../model/UnlinkCarrierAccountResponse.js';
46
- import {SuperagentRateLimiter} from '../../../helper/SuperagentRateLimiter.mjs';
47
- import {DefaultRateLimitFetcher} from '../../../helper/DefaultRateLimitFetcher.mjs';
14
+ import { ApiClient } from '../ApiClient.js'
15
+ import { CancelShipmentResponse } from '../model/CancelShipmentResponse.js'
16
+ import { CreateClaimRequest } from '../model/CreateClaimRequest.js'
17
+ import { CreateClaimResponse } from '../model/CreateClaimResponse.js'
18
+ import { DirectPurchaseRequest } from '../model/DirectPurchaseRequest.js'
19
+ import { DirectPurchaseResponse } from '../model/DirectPurchaseResponse.js'
20
+ import { ErrorList } from '../model/ErrorList.js'
21
+ import { GenerateCollectionFormRequest } from '../model/GenerateCollectionFormRequest.js'
22
+ import { GenerateCollectionFormResponse } from '../model/GenerateCollectionFormResponse.js'
23
+ import { GetAccessPointsResponse } from '../model/GetAccessPointsResponse.js'
24
+ import { GetAdditionalInputsResponse } from '../model/GetAdditionalInputsResponse.js'
25
+ import { GetCarrierAccountFormInputsResponse } from '../model/GetCarrierAccountFormInputsResponse.js'
26
+ import { GetCarrierAccountsRequest } from '../model/GetCarrierAccountsRequest.js'
27
+ import { GetCarrierAccountsResponse } from '../model/GetCarrierAccountsResponse.js'
28
+ import { GetCollectionFormHistoryRequest } from '../model/GetCollectionFormHistoryRequest.js'
29
+ import { GetCollectionFormHistoryResponse } from '../model/GetCollectionFormHistoryResponse.js'
30
+ import { GetCollectionFormResponse } from '../model/GetCollectionFormResponse.js'
31
+ import { GetRatesRequest } from '../model/GetRatesRequest.js'
32
+ import { GetRatesResponse } from '../model/GetRatesResponse.js'
33
+ import { GetShipmentDocumentsResponse } from '../model/GetShipmentDocumentsResponse.js'
34
+ import { GetTrackingResponse } from '../model/GetTrackingResponse.js'
35
+ import { GetUnmanifestedShipmentsRequest } from '../model/GetUnmanifestedShipmentsRequest.js'
36
+ import { GetUnmanifestedShipmentsResponse } from '../model/GetUnmanifestedShipmentsResponse.js'
37
+ import { LinkCarrierAccountRequest } from '../model/LinkCarrierAccountRequest.js'
38
+ import { LinkCarrierAccountResponse } from '../model/LinkCarrierAccountResponse.js'
39
+ import { OneClickShipmentRequest } from '../model/OneClickShipmentRequest.js'
40
+ import { OneClickShipmentResponse } from '../model/OneClickShipmentResponse.js'
41
+ import { PurchaseShipmentRequest } from '../model/PurchaseShipmentRequest.js'
42
+ import { PurchaseShipmentResponse } from '../model/PurchaseShipmentResponse.js'
43
+ import { SubmitNdrFeedbackRequest } from '../model/SubmitNdrFeedbackRequest.js'
44
+ import { UnlinkCarrierAccountRequest } from '../model/UnlinkCarrierAccountRequest.js'
45
+ import { UnlinkCarrierAccountResponse } from '../model/UnlinkCarrierAccountResponse.js'
46
+ import { SuperagentRateLimiter } from '../../../helper/SuperagentRateLimiter.mjs'
47
+ import { DefaultRateLimitFetcher } from '../../../helper/DefaultRateLimitFetcher.mjs'
48
48
 
49
49
  /**
50
50
  * Shipping service.
@@ -52,234 +52,225 @@ import {DefaultRateLimitFetcher} from '../../../helper/DefaultRateLimitFetcher.m
52
52
  * @version v2
53
53
  */
54
54
  export class ShippingApi {
55
+ // Private memeber stores the default rate limiters
56
+ #defaultRateLimiterMap
55
57
 
56
- // Private memeber stores the default rate limiters
57
- #defaultRateLimiterMap;
58
-
59
- /**
60
- * Constructs a new ShippingApi.
58
+ /**
59
+ * Constructs a new ShippingApi.
61
60
  * @alias module:shipping_v2/api/ShippingApi
62
61
  * @class
63
62
  * @param {module:shipping_v2/ApiClient} [apiClient] Optional API client implementation to use,
64
63
  * default to {@link module:shipping_v2/ApiClient#instance} if unspecified.
65
64
  */
66
- constructor(apiClient) {
67
- this.apiClient = apiClient || ApiClient.instance;
68
- this.initializeDefaultRateLimiterMap();
69
- }
65
+ constructor (apiClient) {
66
+ this.apiClient = apiClient || ApiClient.instance
67
+ this.initializeDefaultRateLimiterMap()
68
+ }
70
69
 
71
- /**
70
+ /**
72
71
  * Initialize rate limiters for API operations
73
72
  */
74
- initializeDefaultRateLimiterMap() {
75
- this.#defaultRateLimiterMap = new Map()
76
- const defaultRateLimitFetcher = new DefaultRateLimitFetcher();
77
- const operations = [
78
- 'ShippingApi-cancelShipment',
79
- 'ShippingApi-createClaim',
80
- 'ShippingApi-directPurchaseShipment',
81
- 'ShippingApi-generateCollectionForm',
82
- 'ShippingApi-getAccessPoints',
83
- 'ShippingApi-getAdditionalInputs',
84
- 'ShippingApi-getCarrierAccountFormInputs',
85
- 'ShippingApi-getCarrierAccounts',
86
- 'ShippingApi-getCollectionForm',
87
- 'ShippingApi-getCollectionFormHistory',
88
- 'ShippingApi-getRates',
89
- 'ShippingApi-getShipmentDocuments',
90
- 'ShippingApi-getTracking',
91
- 'ShippingApi-getUnmanifestedShipments',
92
- 'ShippingApi-linkCarrierAccount',
93
- 'ShippingApi-linkCarrierAccount_0',
94
- 'ShippingApi-oneClickShipment',
95
- 'ShippingApi-purchaseShipment',
96
- 'ShippingApi-submitNdrFeedback',
97
- 'ShippingApi-unlinkCarrierAccount',
98
- ];
99
-
100
- for (const operation of operations) {
101
- const config = defaultRateLimitFetcher.getLimit(operation);
102
- this.#defaultRateLimiterMap.set(operation, new SuperagentRateLimiter(config));
103
- }
104
- }
105
-
106
- /**
73
+ initializeDefaultRateLimiterMap () {
74
+ this.#defaultRateLimiterMap = new Map()
75
+ const defaultRateLimitFetcher = new DefaultRateLimitFetcher()
76
+ const operations = [
77
+ 'ShippingApi-cancelShipment',
78
+ 'ShippingApi-createClaim',
79
+ 'ShippingApi-directPurchaseShipment',
80
+ 'ShippingApi-generateCollectionForm',
81
+ 'ShippingApi-getAccessPoints',
82
+ 'ShippingApi-getAdditionalInputs',
83
+ 'ShippingApi-getCarrierAccountFormInputs',
84
+ 'ShippingApi-getCarrierAccounts',
85
+ 'ShippingApi-getCollectionForm',
86
+ 'ShippingApi-getCollectionFormHistory',
87
+ 'ShippingApi-getRates',
88
+ 'ShippingApi-getShipmentDocuments',
89
+ 'ShippingApi-getTracking',
90
+ 'ShippingApi-getUnmanifestedShipments',
91
+ 'ShippingApi-linkCarrierAccount',
92
+ 'ShippingApi-linkCarrierAccount_0',
93
+ 'ShippingApi-oneClickShipment',
94
+ 'ShippingApi-purchaseShipment',
95
+ 'ShippingApi-submitNdrFeedback',
96
+ 'ShippingApi-unlinkCarrierAccount'
97
+ ]
98
+
99
+ for (const operation of operations) {
100
+ const config = defaultRateLimitFetcher.getLimit(operation)
101
+ this.#defaultRateLimiterMap.set(operation, new SuperagentRateLimiter(config))
102
+ }
103
+ }
104
+
105
+ /**
107
106
  * Get rate limiter for a specific operation
108
107
  * @param {String} operation name
109
108
  */
110
- getRateLimiter(operation) {
111
- return this.#defaultRateLimiterMap.get(operation);
112
- }
109
+ getRateLimiter (operation) {
110
+ return this.#defaultRateLimiterMap.get(operation)
111
+ }
113
112
 
114
-
115
-
116
- /**
113
+ /**
117
114
  * Cancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
118
115
  * @param {String} shipmentId The shipment identifier originally returned by the purchaseShipment operation.
119
116
  * @param {Object} opts Optional parameters
120
117
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
121
118
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/CancelShipmentResponse} and HTTP response
122
119
  */
123
- cancelShipmentWithHttpInfo(shipmentId, opts) {
124
- opts = opts || {};
125
- let postBody = null;
126
-
127
- // verify the required parameter 'shipmentId' is set
128
- if (shipmentId === undefined || shipmentId === null) {
129
- throw new Error("Missing the required parameter 'shipmentId' when calling cancelShipment");
130
- }
131
-
132
-
133
- let pathParams = {
134
- 'shipmentId': shipmentId
135
- };
136
- let queryParams = {
137
- };
138
- let headerParams = {
139
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
140
- };
141
- let formParams = {
142
- };
143
-
144
- let contentTypes = [];
145
- let accepts = ['application/json'];
146
- let returnType = CancelShipmentResponse;
147
-
148
- return this.apiClient.callApi( 'ShippingApi-cancelShipment',
149
- '/shipping/v2/shipments/{shipmentId}/cancel', 'PUT',
150
- pathParams, queryParams, headerParams, formParams, postBody,
151
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-cancelShipment')
152
- );
153
- }
154
-
155
- /**
120
+ cancelShipmentWithHttpInfo (shipmentId, opts) {
121
+ opts = opts || {}
122
+ const postBody = null
123
+
124
+ // verify the required parameter 'shipmentId' is set
125
+ if (shipmentId === undefined || shipmentId === null) {
126
+ throw new Error("Missing the required parameter 'shipmentId' when calling cancelShipment")
127
+ }
128
+
129
+ const pathParams = {
130
+ shipmentId
131
+ }
132
+ const queryParams = {
133
+ }
134
+ const headerParams = {
135
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
136
+ }
137
+ const formParams = {
138
+ }
139
+
140
+ const contentTypes = []
141
+ const accepts = ['application/json']
142
+ const returnType = CancelShipmentResponse
143
+
144
+ return this.apiClient.callApi('ShippingApi-cancelShipment',
145
+ '/shipping/v2/shipments/{shipmentId}/cancel', 'PUT',
146
+ pathParams, queryParams, headerParams, formParams, postBody,
147
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-cancelShipment')
148
+ )
149
+ }
150
+
151
+ /**
156
152
  * Cancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
157
153
  * @param {String} shipmentId The shipment identifier originally returned by the purchaseShipment operation.
158
154
  * @param {Object} opts Optional parameters
159
155
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
160
156
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/CancelShipmentResponse}
161
157
  */
162
- cancelShipment(shipmentId, opts) {
163
- return this.cancelShipmentWithHttpInfo(shipmentId, opts)
164
- .then(function(response_and_data) {
165
- return response_and_data.data;
166
- });
167
- }
168
-
169
-
170
- /**
158
+ cancelShipment (shipmentId, opts) {
159
+ return this.cancelShipmentWithHttpInfo(shipmentId, opts)
160
+ .then(function (response_and_data) {
161
+ return response_and_data.data
162
+ })
163
+ }
164
+
165
+ /**
171
166
  * This API will be used to create claim for single eligible shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
172
167
  * @param {module:shipping_v2/model/CreateClaimRequest} body Request body for the createClaim operation
173
168
  * @param {Object} opts Optional parameters
174
169
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
175
170
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/CreateClaimResponse} and HTTP response
176
171
  */
177
- createClaimWithHttpInfo(body, opts) {
178
- opts = opts || {};
179
- let postBody = body;
180
-
181
- // verify the required parameter 'body' is set
182
- if (body === undefined || body === null) {
183
- throw new Error("Missing the required parameter 'body' when calling createClaim");
184
- }
185
-
186
-
187
- let pathParams = {
188
- };
189
- let queryParams = {
190
- };
191
- let headerParams = {
192
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
193
- };
194
- let formParams = {
195
- };
196
-
197
- let contentTypes = ['application/json'];
198
- let accepts = ['application/json'];
199
- let returnType = CreateClaimResponse;
200
-
201
- return this.apiClient.callApi( 'ShippingApi-createClaim',
202
- '/shipping/v2/claims', 'POST',
203
- pathParams, queryParams, headerParams, formParams, postBody,
204
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-createClaim')
205
- );
206
- }
207
-
208
- /**
172
+ createClaimWithHttpInfo (body, opts) {
173
+ opts = opts || {}
174
+ const postBody = body
175
+
176
+ // verify the required parameter 'body' is set
177
+ if (body === undefined || body === null) {
178
+ throw new Error("Missing the required parameter 'body' when calling createClaim")
179
+ }
180
+
181
+ const pathParams = {
182
+ }
183
+ const queryParams = {
184
+ }
185
+ const headerParams = {
186
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
187
+ }
188
+ const formParams = {
189
+ }
190
+
191
+ const contentTypes = ['application/json']
192
+ const accepts = ['application/json']
193
+ const returnType = CreateClaimResponse
194
+
195
+ return this.apiClient.callApi('ShippingApi-createClaim',
196
+ '/shipping/v2/claims', 'POST',
197
+ pathParams, queryParams, headerParams, formParams, postBody,
198
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-createClaim')
199
+ )
200
+ }
201
+
202
+ /**
209
203
  * This API will be used to create claim for single eligible shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
210
204
  * @param {module:shipping_v2/model/CreateClaimRequest} body Request body for the createClaim operation
211
205
  * @param {Object} opts Optional parameters
212
206
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
213
207
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/CreateClaimResponse}
214
208
  */
215
- createClaim(body, opts) {
216
- return this.createClaimWithHttpInfo(body, opts)
217
- .then(function(response_and_data) {
218
- return response_and_data.data;
219
- });
220
- }
221
-
222
-
223
- /**
209
+ createClaim (body, opts) {
210
+ return this.createClaimWithHttpInfo(body, opts)
211
+ .then(function (response_and_data) {
212
+ return response_and_data.data
213
+ })
214
+ }
215
+
216
+ /**
224
217
  * Purchases the shipping service for a shipment using the best fit service offering. Returns purchase related details and documents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
225
218
  * @param {module:shipping_v2/model/DirectPurchaseRequest} body DirectPurchaseRequest body
226
219
  * @param {Object} opts Optional parameters
227
220
  * @param {String} opts.xAmznIdempotencyKey A unique value which the server uses to recognize subsequent retries of the same request.
228
- * @param {String} opts.locale The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA). The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary language subtags.
221
+ * @param {String} opts.locale The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA). The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary language subtags.
229
222
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
230
223
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/DirectPurchaseResponse} and HTTP response
231
224
  */
232
- directPurchaseShipmentWithHttpInfo(body, opts) {
233
- opts = opts || {};
234
- let postBody = body;
235
-
236
- // verify the required parameter 'body' is set
237
- if (body === undefined || body === null) {
238
- throw new Error("Missing the required parameter 'body' when calling directPurchaseShipment");
239
- }
240
-
241
-
242
- let pathParams = {
243
- };
244
- let queryParams = {
245
- };
246
- let headerParams = {
247
- 'x-amzn-IdempotencyKey': opts['xAmznIdempotencyKey'],
248
- 'locale': opts['locale'],
249
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
250
- };
251
- let formParams = {
252
- };
253
-
254
- let contentTypes = ['application/json'];
255
- let accepts = ['application/json'];
256
- let returnType = DirectPurchaseResponse;
257
-
258
- return this.apiClient.callApi( 'ShippingApi-directPurchaseShipment',
259
- '/shipping/v2/shipments/directPurchase', 'POST',
260
- pathParams, queryParams, headerParams, formParams, postBody,
261
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-directPurchaseShipment')
262
- );
263
- }
264
-
265
- /**
225
+ directPurchaseShipmentWithHttpInfo (body, opts) {
226
+ opts = opts || {}
227
+ const postBody = body
228
+
229
+ // verify the required parameter 'body' is set
230
+ if (body === undefined || body === null) {
231
+ throw new Error("Missing the required parameter 'body' when calling directPurchaseShipment")
232
+ }
233
+
234
+ const pathParams = {
235
+ }
236
+ const queryParams = {
237
+ }
238
+ const headerParams = {
239
+ 'x-amzn-IdempotencyKey': opts.xAmznIdempotencyKey,
240
+ locale: opts.locale,
241
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
242
+ }
243
+ const formParams = {
244
+ }
245
+
246
+ const contentTypes = ['application/json']
247
+ const accepts = ['application/json']
248
+ const returnType = DirectPurchaseResponse
249
+
250
+ return this.apiClient.callApi('ShippingApi-directPurchaseShipment',
251
+ '/shipping/v2/shipments/directPurchase', 'POST',
252
+ pathParams, queryParams, headerParams, formParams, postBody,
253
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-directPurchaseShipment')
254
+ )
255
+ }
256
+
257
+ /**
266
258
  * Purchases the shipping service for a shipment using the best fit service offering. Returns purchase related details and documents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
267
259
  * @param {module:shipping_v2/model/DirectPurchaseRequest} body DirectPurchaseRequest body
268
260
  * @param {Object} opts Optional parameters
269
261
  * @param {String} opts.xAmznIdempotencyKey A unique value which the server uses to recognize subsequent retries of the same request.
270
- * @param {String} opts.locale The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA). The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary language subtags.
262
+ * @param {String} opts.locale The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA). The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary language subtags.
271
263
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
272
264
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/DirectPurchaseResponse}
273
265
  */
274
- directPurchaseShipment(body, opts) {
275
- return this.directPurchaseShipmentWithHttpInfo(body, opts)
276
- .then(function(response_and_data) {
277
- return response_and_data.data;
278
- });
279
- }
280
-
281
-
282
- /**
266
+ directPurchaseShipment (body, opts) {
267
+ return this.directPurchaseShipmentWithHttpInfo(body, opts)
268
+ .then(function (response_and_data) {
269
+ return response_and_data.data
270
+ })
271
+ }
272
+
273
+ /**
283
274
  * This API Call to generate the collection form. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
284
275
  * @param {module:shipping_v2/model/GenerateCollectionFormRequest} body GenerateCollectionFormRequest body
285
276
  * @param {Object} opts Optional parameters
@@ -287,39 +278,38 @@ export class ShippingApi {
287
278
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
288
279
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GenerateCollectionFormResponse} and HTTP response
289
280
  */
290
- generateCollectionFormWithHttpInfo(body, opts) {
291
- opts = opts || {};
292
- let postBody = body;
293
-
294
- // verify the required parameter 'body' is set
295
- if (body === undefined || body === null) {
296
- throw new Error("Missing the required parameter 'body' when calling generateCollectionForm");
297
- }
298
-
299
-
300
- let pathParams = {
301
- };
302
- let queryParams = {
303
- };
304
- let headerParams = {
305
- 'x-amzn-IdempotencyKey': opts['xAmznIdempotencyKey'],
306
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
307
- };
308
- let formParams = {
309
- };
310
-
311
- let contentTypes = ['application/json'];
312
- let accepts = ['application/json'];
313
- let returnType = GenerateCollectionFormResponse;
314
-
315
- return this.apiClient.callApi( 'ShippingApi-generateCollectionForm',
316
- '/shipping/v2/collectionForms', 'POST',
317
- pathParams, queryParams, headerParams, formParams, postBody,
318
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-generateCollectionForm')
319
- );
320
- }
321
-
322
- /**
281
+ generateCollectionFormWithHttpInfo (body, opts) {
282
+ opts = opts || {}
283
+ const postBody = body
284
+
285
+ // verify the required parameter 'body' is set
286
+ if (body === undefined || body === null) {
287
+ throw new Error("Missing the required parameter 'body' when calling generateCollectionForm")
288
+ }
289
+
290
+ const pathParams = {
291
+ }
292
+ const queryParams = {
293
+ }
294
+ const headerParams = {
295
+ 'x-amzn-IdempotencyKey': opts.xAmznIdempotencyKey,
296
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
297
+ }
298
+ const formParams = {
299
+ }
300
+
301
+ const contentTypes = ['application/json']
302
+ const accepts = ['application/json']
303
+ const returnType = GenerateCollectionFormResponse
304
+
305
+ return this.apiClient.callApi('ShippingApi-generateCollectionForm',
306
+ '/shipping/v2/collectionForms', 'POST',
307
+ pathParams, queryParams, headerParams, formParams, postBody,
308
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-generateCollectionForm')
309
+ )
310
+ }
311
+
312
+ /**
323
313
  * This API Call to generate the collection form. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
324
314
  * @param {module:shipping_v2/model/GenerateCollectionFormRequest} body GenerateCollectionFormRequest body
325
315
  * @param {Object} opts Optional parameters
@@ -327,15 +317,14 @@ export class ShippingApi {
327
317
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
328
318
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GenerateCollectionFormResponse}
329
319
  */
330
- generateCollectionForm(body, opts) {
331
- return this.generateCollectionFormWithHttpInfo(body, opts)
332
- .then(function(response_and_data) {
333
- return response_and_data.data;
334
- });
335
- }
336
-
337
-
338
- /**
320
+ generateCollectionForm (body, opts) {
321
+ return this.generateCollectionFormWithHttpInfo(body, opts)
322
+ .then(function (response_and_data) {
323
+ return response_and_data.data
324
+ })
325
+ }
326
+
327
+ /**
339
328
  * Returns a list of access points in proximity of input postal code. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
340
329
  * @param {Array.<module:shipping_v2/model/String>} accessPointTypes Access point types
341
330
  * @param {String} countryCode Country code for access point
@@ -344,51 +333,50 @@ export class ShippingApi {
344
333
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
345
334
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetAccessPointsResponse} and HTTP response
346
335
  */
347
- getAccessPointsWithHttpInfo(accessPointTypes, countryCode, postalCode, opts) {
348
- opts = opts || {};
349
- let postBody = null;
350
-
351
- // verify the required parameter 'accessPointTypes' is set
352
- if (accessPointTypes === undefined || accessPointTypes === null) {
353
- throw new Error("Missing the required parameter 'accessPointTypes' when calling getAccessPoints");
354
- }
355
-
356
- // verify the required parameter 'countryCode' is set
357
- if (countryCode === undefined || countryCode === null) {
358
- throw new Error("Missing the required parameter 'countryCode' when calling getAccessPoints");
359
- }
360
-
361
- // verify the required parameter 'postalCode' is set
362
- if (postalCode === undefined || postalCode === null) {
363
- throw new Error("Missing the required parameter 'postalCode' when calling getAccessPoints");
364
- }
365
-
366
-
367
- let pathParams = {
368
- };
369
- let queryParams = {
370
- 'accessPointTypes': this.apiClient.buildCollectionParam(accessPointTypes, 'csv'),
371
- 'countryCode': countryCode,
372
- 'postalCode': postalCode
373
- };
374
- let headerParams = {
375
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
376
- };
377
- let formParams = {
378
- };
379
-
380
- let contentTypes = [];
381
- let accepts = ['application/json'];
382
- let returnType = GetAccessPointsResponse;
383
-
384
- return this.apiClient.callApi( 'ShippingApi-getAccessPoints',
385
- '/shipping/v2/accessPoints', 'GET',
386
- pathParams, queryParams, headerParams, formParams, postBody,
387
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getAccessPoints')
388
- );
389
- }
390
-
391
- /**
336
+ getAccessPointsWithHttpInfo (accessPointTypes, countryCode, postalCode, opts) {
337
+ opts = opts || {}
338
+ const postBody = null
339
+
340
+ // verify the required parameter 'accessPointTypes' is set
341
+ if (accessPointTypes === undefined || accessPointTypes === null) {
342
+ throw new Error("Missing the required parameter 'accessPointTypes' when calling getAccessPoints")
343
+ }
344
+
345
+ // verify the required parameter 'countryCode' is set
346
+ if (countryCode === undefined || countryCode === null) {
347
+ throw new Error("Missing the required parameter 'countryCode' when calling getAccessPoints")
348
+ }
349
+
350
+ // verify the required parameter 'postalCode' is set
351
+ if (postalCode === undefined || postalCode === null) {
352
+ throw new Error("Missing the required parameter 'postalCode' when calling getAccessPoints")
353
+ }
354
+
355
+ const pathParams = {
356
+ }
357
+ const queryParams = {
358
+ accessPointTypes: this.apiClient.buildCollectionParam(accessPointTypes, 'csv'),
359
+ countryCode,
360
+ postalCode
361
+ }
362
+ const headerParams = {
363
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
364
+ }
365
+ const formParams = {
366
+ }
367
+
368
+ const contentTypes = []
369
+ const accepts = ['application/json']
370
+ const returnType = GetAccessPointsResponse
371
+
372
+ return this.apiClient.callApi('ShippingApi-getAccessPoints',
373
+ '/shipping/v2/accessPoints', 'GET',
374
+ pathParams, queryParams, headerParams, formParams, postBody,
375
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getAccessPoints')
376
+ )
377
+ }
378
+
379
+ /**
392
380
  * Returns a list of access points in proximity of input postal code. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
393
381
  * @param {Array.<module:shipping_v2/model/String>} accessPointTypes Access point types
394
382
  * @param {String} countryCode Country code for access point
@@ -397,15 +385,14 @@ export class ShippingApi {
397
385
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
398
386
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetAccessPointsResponse}
399
387
  */
400
- getAccessPoints(accessPointTypes, countryCode, postalCode, opts) {
401
- return this.getAccessPointsWithHttpInfo(accessPointTypes, countryCode, postalCode, opts)
402
- .then(function(response_and_data) {
403
- return response_and_data.data;
404
- });
405
- }
406
-
407
-
408
- /**
388
+ getAccessPoints (accessPointTypes, countryCode, postalCode, opts) {
389
+ return this.getAccessPointsWithHttpInfo(accessPointTypes, countryCode, postalCode, opts)
390
+ .then(function (response_and_data) {
391
+ return response_and_data.data
392
+ })
393
+ }
394
+
395
+ /**
409
396
  * Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering. Call the getAdditionalInputs operation when the response to a previous call to the getRates operation indicates that additional inputs are required for the rate (shipping offering) that you want to purchase. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
410
397
  * @param {String} requestToken The request token returned in the response to the getRates operation.
411
398
  * @param {String} rateId The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.
@@ -413,45 +400,44 @@ export class ShippingApi {
413
400
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
414
401
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetAdditionalInputsResponse} and HTTP response
415
402
  */
416
- getAdditionalInputsWithHttpInfo(requestToken, rateId, opts) {
417
- opts = opts || {};
418
- let postBody = null;
419
-
420
- // verify the required parameter 'requestToken' is set
421
- if (requestToken === undefined || requestToken === null) {
422
- throw new Error("Missing the required parameter 'requestToken' when calling getAdditionalInputs");
423
- }
424
-
425
- // verify the required parameter 'rateId' is set
426
- if (rateId === undefined || rateId === null) {
427
- throw new Error("Missing the required parameter 'rateId' when calling getAdditionalInputs");
428
- }
429
-
430
-
431
- let pathParams = {
432
- };
433
- let queryParams = {
434
- 'requestToken': requestToken,
435
- 'rateId': rateId
436
- };
437
- let headerParams = {
438
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
439
- };
440
- let formParams = {
441
- };
442
-
443
- let contentTypes = [];
444
- let accepts = ['application/json'];
445
- let returnType = GetAdditionalInputsResponse;
446
-
447
- return this.apiClient.callApi( 'ShippingApi-getAdditionalInputs',
448
- '/shipping/v2/shipments/additionalInputs/schema', 'GET',
449
- pathParams, queryParams, headerParams, formParams, postBody,
450
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getAdditionalInputs')
451
- );
452
- }
453
-
454
- /**
403
+ getAdditionalInputsWithHttpInfo (requestToken, rateId, opts) {
404
+ opts = opts || {}
405
+ const postBody = null
406
+
407
+ // verify the required parameter 'requestToken' is set
408
+ if (requestToken === undefined || requestToken === null) {
409
+ throw new Error("Missing the required parameter 'requestToken' when calling getAdditionalInputs")
410
+ }
411
+
412
+ // verify the required parameter 'rateId' is set
413
+ if (rateId === undefined || rateId === null) {
414
+ throw new Error("Missing the required parameter 'rateId' when calling getAdditionalInputs")
415
+ }
416
+
417
+ const pathParams = {
418
+ }
419
+ const queryParams = {
420
+ requestToken,
421
+ rateId
422
+ }
423
+ const headerParams = {
424
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
425
+ }
426
+ const formParams = {
427
+ }
428
+
429
+ const contentTypes = []
430
+ const accepts = ['application/json']
431
+ const returnType = GetAdditionalInputsResponse
432
+
433
+ return this.apiClient.callApi('ShippingApi-getAdditionalInputs',
434
+ '/shipping/v2/shipments/additionalInputs/schema', 'GET',
435
+ pathParams, queryParams, headerParams, formParams, postBody,
436
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getAdditionalInputs')
437
+ )
438
+ }
439
+
440
+ /**
455
441
  * Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering. Call the getAdditionalInputs operation when the response to a previous call to the getRates operation indicates that additional inputs are required for the rate (shipping offering) that you want to purchase. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
456
442
  * @param {String} requestToken The request token returned in the response to the getRates operation.
457
443
  * @param {String} rateId The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.
@@ -459,274 +445,263 @@ export class ShippingApi {
459
445
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
460
446
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetAdditionalInputsResponse}
461
447
  */
462
- getAdditionalInputs(requestToken, rateId, opts) {
463
- return this.getAdditionalInputsWithHttpInfo(requestToken, rateId, opts)
464
- .then(function(response_and_data) {
465
- return response_and_data.data;
466
- });
467
- }
468
-
469
-
470
- /**
448
+ getAdditionalInputs (requestToken, rateId, opts) {
449
+ return this.getAdditionalInputsWithHttpInfo(requestToken, rateId, opts)
450
+ .then(function (response_and_data) {
451
+ return response_and_data.data
452
+ })
453
+ }
454
+
455
+ /**
471
456
  * This API will return a list of input schema required to register a shipper account with the carrier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
472
457
  * @param {Object} opts Optional parameters
473
458
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
474
459
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetCarrierAccountFormInputsResponse} and HTTP response
475
460
  */
476
- getCarrierAccountFormInputsWithHttpInfo(opts) {
477
- opts = opts || {};
478
- let postBody = null;
461
+ getCarrierAccountFormInputsWithHttpInfo (opts) {
462
+ opts = opts || {}
463
+ const postBody = null
479
464
 
465
+ const pathParams = {
466
+ }
467
+ const queryParams = {
468
+ }
469
+ const headerParams = {
470
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
471
+ }
472
+ const formParams = {
473
+ }
480
474
 
481
- let pathParams = {
482
- };
483
- let queryParams = {
484
- };
485
- let headerParams = {
486
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
487
- };
488
- let formParams = {
489
- };
490
-
491
- let contentTypes = [];
492
- let accepts = ['application/json'];
493
- let returnType = GetCarrierAccountFormInputsResponse;
475
+ const contentTypes = []
476
+ const accepts = ['application/json']
477
+ const returnType = GetCarrierAccountFormInputsResponse
494
478
 
495
- return this.apiClient.callApi( 'ShippingApi-getCarrierAccountFormInputs',
496
- '/shipping/v2/carrierAccountFormInputs', 'GET',
497
- pathParams, queryParams, headerParams, formParams, postBody,
498
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getCarrierAccountFormInputs')
499
- );
500
- }
479
+ return this.apiClient.callApi('ShippingApi-getCarrierAccountFormInputs',
480
+ '/shipping/v2/carrierAccountFormInputs', 'GET',
481
+ pathParams, queryParams, headerParams, formParams, postBody,
482
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getCarrierAccountFormInputs')
483
+ )
484
+ }
501
485
 
502
- /**
486
+ /**
503
487
  * This API will return a list of input schema required to register a shipper account with the carrier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
504
488
  * @param {Object} opts Optional parameters
505
489
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
506
490
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetCarrierAccountFormInputsResponse}
507
491
  */
508
- getCarrierAccountFormInputs(opts) {
509
- return this.getCarrierAccountFormInputsWithHttpInfo(opts)
510
- .then(function(response_and_data) {
511
- return response_and_data.data;
512
- });
513
- }
514
-
515
-
516
- /**
492
+ getCarrierAccountFormInputs (opts) {
493
+ return this.getCarrierAccountFormInputsWithHttpInfo(opts)
494
+ .then(function (response_and_data) {
495
+ return response_and_data.data
496
+ })
497
+ }
498
+
499
+ /**
517
500
  * This API will return Get all carrier accounts for a merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
518
501
  * @param {module:shipping_v2/model/GetCarrierAccountsRequest} body GetCarrierAccountsRequest body
519
502
  * @param {Object} opts Optional parameters
520
503
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
521
504
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetCarrierAccountsResponse} and HTTP response
522
505
  */
523
- getCarrierAccountsWithHttpInfo(body, opts) {
524
- opts = opts || {};
525
- let postBody = body;
526
-
527
- // verify the required parameter 'body' is set
528
- if (body === undefined || body === null) {
529
- throw new Error("Missing the required parameter 'body' when calling getCarrierAccounts");
530
- }
531
-
532
-
533
- let pathParams = {
534
- };
535
- let queryParams = {
536
- };
537
- let headerParams = {
538
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
539
- };
540
- let formParams = {
541
- };
542
-
543
- let contentTypes = ['application/json'];
544
- let accepts = ['application/json'];
545
- let returnType = GetCarrierAccountsResponse;
546
-
547
- return this.apiClient.callApi( 'ShippingApi-getCarrierAccounts',
548
- '/shipping/v2/carrierAccounts', 'PUT',
549
- pathParams, queryParams, headerParams, formParams, postBody,
550
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getCarrierAccounts')
551
- );
552
- }
553
-
554
- /**
506
+ getCarrierAccountsWithHttpInfo (body, opts) {
507
+ opts = opts || {}
508
+ const 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 getCarrierAccounts")
513
+ }
514
+
515
+ const pathParams = {
516
+ }
517
+ const queryParams = {
518
+ }
519
+ const headerParams = {
520
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
521
+ }
522
+ const formParams = {
523
+ }
524
+
525
+ const contentTypes = ['application/json']
526
+ const accepts = ['application/json']
527
+ const returnType = GetCarrierAccountsResponse
528
+
529
+ return this.apiClient.callApi('ShippingApi-getCarrierAccounts',
530
+ '/shipping/v2/carrierAccounts', 'PUT',
531
+ pathParams, queryParams, headerParams, formParams, postBody,
532
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getCarrierAccounts')
533
+ )
534
+ }
535
+
536
+ /**
555
537
  * This API will return Get all carrier accounts for a merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
556
538
  * @param {module:shipping_v2/model/GetCarrierAccountsRequest} body GetCarrierAccountsRequest body
557
539
  * @param {Object} opts Optional parameters
558
540
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
559
541
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetCarrierAccountsResponse}
560
542
  */
561
- getCarrierAccounts(body, opts) {
562
- return this.getCarrierAccountsWithHttpInfo(body, opts)
563
- .then(function(response_and_data) {
564
- return response_and_data.data;
565
- });
566
- }
567
-
568
-
569
- /**
543
+ getCarrierAccounts (body, opts) {
544
+ return this.getCarrierAccountsWithHttpInfo(body, opts)
545
+ .then(function (response_and_data) {
546
+ return response_and_data.data
547
+ })
548
+ }
549
+
550
+ /**
570
551
  * This API reprint a collection form. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
571
552
  * @param {String} collectionFormId collection form Id to reprint a collection.
572
553
  * @param {Object} opts Optional parameters
573
554
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
574
555
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetCollectionFormResponse} and HTTP response
575
556
  */
576
- getCollectionFormWithHttpInfo(collectionFormId, opts) {
577
- opts = opts || {};
578
- let postBody = null;
579
-
580
- // verify the required parameter 'collectionFormId' is set
581
- if (collectionFormId === undefined || collectionFormId === null) {
582
- throw new Error("Missing the required parameter 'collectionFormId' when calling getCollectionForm");
583
- }
584
-
585
-
586
- let pathParams = {
587
- 'collectionFormId': collectionFormId
588
- };
589
- let queryParams = {
590
- };
591
- let headerParams = {
592
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
593
- };
594
- let formParams = {
595
- };
596
-
597
- let contentTypes = [];
598
- let accepts = ['application/json'];
599
- let returnType = GetCollectionFormResponse;
600
-
601
- return this.apiClient.callApi( 'ShippingApi-getCollectionForm',
602
- '/shipping/v2/collectionForms/{collectionFormId}', 'GET',
603
- pathParams, queryParams, headerParams, formParams, postBody,
604
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getCollectionForm')
605
- );
606
- }
607
-
608
- /**
557
+ getCollectionFormWithHttpInfo (collectionFormId, opts) {
558
+ opts = opts || {}
559
+ const postBody = null
560
+
561
+ // verify the required parameter 'collectionFormId' is set
562
+ if (collectionFormId === undefined || collectionFormId === null) {
563
+ throw new Error("Missing the required parameter 'collectionFormId' when calling getCollectionForm")
564
+ }
565
+
566
+ const pathParams = {
567
+ collectionFormId
568
+ }
569
+ const queryParams = {
570
+ }
571
+ const headerParams = {
572
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
573
+ }
574
+ const formParams = {
575
+ }
576
+
577
+ const contentTypes = []
578
+ const accepts = ['application/json']
579
+ const returnType = GetCollectionFormResponse
580
+
581
+ return this.apiClient.callApi('ShippingApi-getCollectionForm',
582
+ '/shipping/v2/collectionForms/{collectionFormId}', 'GET',
583
+ pathParams, queryParams, headerParams, formParams, postBody,
584
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getCollectionForm')
585
+ )
586
+ }
587
+
588
+ /**
609
589
  * This API reprint a collection form. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
610
590
  * @param {String} collectionFormId collection form Id to reprint a collection.
611
591
  * @param {Object} opts Optional parameters
612
592
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
613
593
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetCollectionFormResponse}
614
594
  */
615
- getCollectionForm(collectionFormId, opts) {
616
- return this.getCollectionFormWithHttpInfo(collectionFormId, opts)
617
- .then(function(response_and_data) {
618
- return response_and_data.data;
619
- });
620
- }
621
-
622
-
623
- /**
595
+ getCollectionForm (collectionFormId, opts) {
596
+ return this.getCollectionFormWithHttpInfo(collectionFormId, opts)
597
+ .then(function (response_and_data) {
598
+ return response_and_data.data
599
+ })
600
+ }
601
+
602
+ /**
624
603
  * This API Call to get the history of the previously generated collection forms. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
625
604
  * @param {module:shipping_v2/model/GetCollectionFormHistoryRequest} body GetCollectionFormHistoryRequest body
626
605
  * @param {Object} opts Optional parameters
627
606
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
628
607
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetCollectionFormHistoryResponse} and HTTP response
629
608
  */
630
- getCollectionFormHistoryWithHttpInfo(body, opts) {
631
- opts = opts || {};
632
- let postBody = body;
633
-
634
- // verify the required parameter 'body' is set
635
- if (body === undefined || body === null) {
636
- throw new Error("Missing the required parameter 'body' when calling getCollectionFormHistory");
637
- }
638
-
639
-
640
- let pathParams = {
641
- };
642
- let queryParams = {
643
- };
644
- let headerParams = {
645
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
646
- };
647
- let formParams = {
648
- };
649
-
650
- let contentTypes = ['application/json'];
651
- let accepts = ['application/json'];
652
- let returnType = GetCollectionFormHistoryResponse;
653
-
654
- return this.apiClient.callApi( 'ShippingApi-getCollectionFormHistory',
655
- '/shipping/v2/collectionForms/history', 'PUT',
656
- pathParams, queryParams, headerParams, formParams, postBody,
657
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getCollectionFormHistory')
658
- );
659
- }
660
-
661
- /**
609
+ getCollectionFormHistoryWithHttpInfo (body, opts) {
610
+ opts = opts || {}
611
+ const postBody = body
612
+
613
+ // verify the required parameter 'body' is set
614
+ if (body === undefined || body === null) {
615
+ throw new Error("Missing the required parameter 'body' when calling getCollectionFormHistory")
616
+ }
617
+
618
+ const pathParams = {
619
+ }
620
+ const queryParams = {
621
+ }
622
+ const headerParams = {
623
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
624
+ }
625
+ const formParams = {
626
+ }
627
+
628
+ const contentTypes = ['application/json']
629
+ const accepts = ['application/json']
630
+ const returnType = GetCollectionFormHistoryResponse
631
+
632
+ return this.apiClient.callApi('ShippingApi-getCollectionFormHistory',
633
+ '/shipping/v2/collectionForms/history', 'PUT',
634
+ pathParams, queryParams, headerParams, formParams, postBody,
635
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getCollectionFormHistory')
636
+ )
637
+ }
638
+
639
+ /**
662
640
  * This API Call to get the history of the previously generated collection forms. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
663
641
  * @param {module:shipping_v2/model/GetCollectionFormHistoryRequest} body GetCollectionFormHistoryRequest body
664
642
  * @param {Object} opts Optional parameters
665
643
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
666
644
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetCollectionFormHistoryResponse}
667
645
  */
668
- getCollectionFormHistory(body, opts) {
669
- return this.getCollectionFormHistoryWithHttpInfo(body, opts)
670
- .then(function(response_and_data) {
671
- return response_and_data.data;
672
- });
673
- }
674
-
675
-
676
- /**
646
+ getCollectionFormHistory (body, opts) {
647
+ return this.getCollectionFormHistoryWithHttpInfo(body, opts)
648
+ .then(function (response_and_data) {
649
+ return response_and_data.data
650
+ })
651
+ }
652
+
653
+ /**
677
654
  * Returns the available shipping service offerings. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
678
655
  * @param {module:shipping_v2/model/GetRatesRequest} body GetRatesRequest body
679
656
  * @param {Object} opts Optional parameters
680
657
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
681
658
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetRatesResponse} and HTTP response
682
659
  */
683
- getRatesWithHttpInfo(body, opts) {
684
- opts = opts || {};
685
- let postBody = body;
686
-
687
- // verify the required parameter 'body' is set
688
- if (body === undefined || body === null) {
689
- throw new Error("Missing the required parameter 'body' when calling getRates");
690
- }
691
-
692
-
693
- let pathParams = {
694
- };
695
- let queryParams = {
696
- };
697
- let headerParams = {
698
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
699
- };
700
- let formParams = {
701
- };
702
-
703
- let contentTypes = ['application/json'];
704
- let accepts = ['application/json'];
705
- let returnType = GetRatesResponse;
706
-
707
- return this.apiClient.callApi( 'ShippingApi-getRates',
708
- '/shipping/v2/shipments/rates', 'POST',
709
- pathParams, queryParams, headerParams, formParams, postBody,
710
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getRates')
711
- );
712
- }
713
-
714
- /**
660
+ getRatesWithHttpInfo (body, opts) {
661
+ opts = opts || {}
662
+ const postBody = body
663
+
664
+ // verify the required parameter 'body' is set
665
+ if (body === undefined || body === null) {
666
+ throw new Error("Missing the required parameter 'body' when calling getRates")
667
+ }
668
+
669
+ const pathParams = {
670
+ }
671
+ const queryParams = {
672
+ }
673
+ const headerParams = {
674
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
675
+ }
676
+ const formParams = {
677
+ }
678
+
679
+ const contentTypes = ['application/json']
680
+ const accepts = ['application/json']
681
+ const returnType = GetRatesResponse
682
+
683
+ return this.apiClient.callApi('ShippingApi-getRates',
684
+ '/shipping/v2/shipments/rates', 'POST',
685
+ pathParams, queryParams, headerParams, formParams, postBody,
686
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getRates')
687
+ )
688
+ }
689
+
690
+ /**
715
691
  * Returns the available shipping service offerings. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
716
692
  * @param {module:shipping_v2/model/GetRatesRequest} body GetRatesRequest body
717
693
  * @param {Object} opts Optional parameters
718
694
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
719
695
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetRatesResponse}
720
696
  */
721
- getRates(body, opts) {
722
- return this.getRatesWithHttpInfo(body, opts)
723
- .then(function(response_and_data) {
724
- return response_and_data.data;
725
- });
726
- }
727
-
728
-
729
- /**
697
+ getRates (body, opts) {
698
+ return this.getRatesWithHttpInfo(body, opts)
699
+ .then(function (response_and_data) {
700
+ return response_and_data.data
701
+ })
702
+ }
703
+
704
+ /**
730
705
  * Returns the shipping documents associated with a package in a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
731
706
  * @param {String} shipmentId The shipment identifier originally returned by the purchaseShipment operation.
732
707
  * @param {String} packageClientReferenceId The package client reference identifier originally provided in the request body parameter for the getRates operation.
@@ -736,47 +711,46 @@ export class ShippingApi {
736
711
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
737
712
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetShipmentDocumentsResponse} and HTTP response
738
713
  */
739
- getShipmentDocumentsWithHttpInfo(shipmentId, packageClientReferenceId, opts) {
740
- opts = opts || {};
741
- let postBody = null;
742
-
743
- // verify the required parameter 'shipmentId' is set
744
- if (shipmentId === undefined || shipmentId === null) {
745
- throw new Error("Missing the required parameter 'shipmentId' when calling getShipmentDocuments");
746
- }
747
-
748
- // verify the required parameter 'packageClientReferenceId' is set
749
- if (packageClientReferenceId === undefined || packageClientReferenceId === null) {
750
- throw new Error("Missing the required parameter 'packageClientReferenceId' when calling getShipmentDocuments");
751
- }
752
-
753
-
754
- let pathParams = {
755
- 'shipmentId': shipmentId
756
- };
757
- let queryParams = {
758
- 'packageClientReferenceId': packageClientReferenceId,
759
- 'format': opts['format'],
760
- 'dpi': opts['dpi']
761
- };
762
- let headerParams = {
763
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
764
- };
765
- let formParams = {
766
- };
767
-
768
- let contentTypes = [];
769
- let accepts = ['application/json'];
770
- let returnType = GetShipmentDocumentsResponse;
771
-
772
- return this.apiClient.callApi( 'ShippingApi-getShipmentDocuments',
773
- '/shipping/v2/shipments/{shipmentId}/documents', 'GET',
774
- pathParams, queryParams, headerParams, formParams, postBody,
775
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getShipmentDocuments')
776
- );
777
- }
778
-
779
- /**
714
+ getShipmentDocumentsWithHttpInfo (shipmentId, packageClientReferenceId, opts) {
715
+ opts = opts || {}
716
+ const postBody = null
717
+
718
+ // verify the required parameter 'shipmentId' is set
719
+ if (shipmentId === undefined || shipmentId === null) {
720
+ throw new Error("Missing the required parameter 'shipmentId' when calling getShipmentDocuments")
721
+ }
722
+
723
+ // verify the required parameter 'packageClientReferenceId' is set
724
+ if (packageClientReferenceId === undefined || packageClientReferenceId === null) {
725
+ throw new Error("Missing the required parameter 'packageClientReferenceId' when calling getShipmentDocuments")
726
+ }
727
+
728
+ const pathParams = {
729
+ shipmentId
730
+ }
731
+ const queryParams = {
732
+ packageClientReferenceId,
733
+ format: opts.format,
734
+ dpi: opts.dpi
735
+ }
736
+ const headerParams = {
737
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
738
+ }
739
+ const formParams = {
740
+ }
741
+
742
+ const contentTypes = []
743
+ const accepts = ['application/json']
744
+ const returnType = GetShipmentDocumentsResponse
745
+
746
+ return this.apiClient.callApi('ShippingApi-getShipmentDocuments',
747
+ '/shipping/v2/shipments/{shipmentId}/documents', 'GET',
748
+ pathParams, queryParams, headerParams, formParams, postBody,
749
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getShipmentDocuments')
750
+ )
751
+ }
752
+
753
+ /**
780
754
  * Returns the shipping documents associated with a package in a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
781
755
  * @param {String} shipmentId The shipment identifier originally returned by the purchaseShipment operation.
782
756
  * @param {String} packageClientReferenceId The package client reference identifier originally provided in the request body parameter for the getRates operation.
@@ -786,15 +760,14 @@ export class ShippingApi {
786
760
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
787
761
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetShipmentDocumentsResponse}
788
762
  */
789
- getShipmentDocuments(shipmentId, packageClientReferenceId, opts) {
790
- return this.getShipmentDocumentsWithHttpInfo(shipmentId, packageClientReferenceId, opts)
791
- .then(function(response_and_data) {
792
- return response_and_data.data;
793
- });
794
- }
795
-
796
-
797
- /**
763
+ getShipmentDocuments (shipmentId, packageClientReferenceId, opts) {
764
+ return this.getShipmentDocumentsWithHttpInfo(shipmentId, packageClientReferenceId, opts)
765
+ .then(function (response_and_data) {
766
+ return response_and_data.data
767
+ })
768
+ }
769
+
770
+ /**
798
771
  * Returns tracking information for a purchased shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
799
772
  * @param {String} trackingId A carrier-generated tracking identifier originally returned by the purchaseShipment operation.
800
773
  * @param {String} carrierId A carrier identifier originally returned by the getRates operation for the selected rate.
@@ -802,45 +775,44 @@ export class ShippingApi {
802
775
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
803
776
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetTrackingResponse} and HTTP response
804
777
  */
805
- getTrackingWithHttpInfo(trackingId, carrierId, opts) {
806
- opts = opts || {};
807
- let postBody = null;
808
-
809
- // verify the required parameter 'trackingId' is set
810
- if (trackingId === undefined || trackingId === null) {
811
- throw new Error("Missing the required parameter 'trackingId' when calling getTracking");
812
- }
813
-
814
- // verify the required parameter 'carrierId' is set
815
- if (carrierId === undefined || carrierId === null) {
816
- throw new Error("Missing the required parameter 'carrierId' when calling getTracking");
817
- }
818
-
819
-
820
- let pathParams = {
821
- };
822
- let queryParams = {
823
- 'trackingId': trackingId,
824
- 'carrierId': carrierId
825
- };
826
- let headerParams = {
827
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
828
- };
829
- let formParams = {
830
- };
831
-
832
- let contentTypes = [];
833
- let accepts = ['application/json'];
834
- let returnType = GetTrackingResponse;
835
-
836
- return this.apiClient.callApi( 'ShippingApi-getTracking',
837
- '/shipping/v2/tracking', 'GET',
838
- pathParams, queryParams, headerParams, formParams, postBody,
839
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getTracking')
840
- );
841
- }
842
-
843
- /**
778
+ getTrackingWithHttpInfo (trackingId, carrierId, opts) {
779
+ opts = opts || {}
780
+ const postBody = null
781
+
782
+ // verify the required parameter 'trackingId' is set
783
+ if (trackingId === undefined || trackingId === null) {
784
+ throw new Error("Missing the required parameter 'trackingId' when calling getTracking")
785
+ }
786
+
787
+ // verify the required parameter 'carrierId' is set
788
+ if (carrierId === undefined || carrierId === null) {
789
+ throw new Error("Missing the required parameter 'carrierId' when calling getTracking")
790
+ }
791
+
792
+ const pathParams = {
793
+ }
794
+ const queryParams = {
795
+ trackingId,
796
+ carrierId
797
+ }
798
+ const headerParams = {
799
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
800
+ }
801
+ const formParams = {
802
+ }
803
+
804
+ const contentTypes = []
805
+ const accepts = ['application/json']
806
+ const returnType = GetTrackingResponse
807
+
808
+ return this.apiClient.callApi('ShippingApi-getTracking',
809
+ '/shipping/v2/tracking', 'GET',
810
+ pathParams, queryParams, headerParams, formParams, postBody,
811
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getTracking')
812
+ )
813
+ }
814
+
815
+ /**
844
816
  * Returns tracking information for a purchased shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
845
817
  * @param {String} trackingId A carrier-generated tracking identifier originally returned by the purchaseShipment operation.
846
818
  * @param {String} carrierId A carrier identifier originally returned by the getRates operation for the selected rate.
@@ -848,68 +820,65 @@ export class ShippingApi {
848
820
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
849
821
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetTrackingResponse}
850
822
  */
851
- getTracking(trackingId, carrierId, opts) {
852
- return this.getTrackingWithHttpInfo(trackingId, carrierId, opts)
853
- .then(function(response_and_data) {
854
- return response_and_data.data;
855
- });
856
- }
857
-
858
-
859
- /**
823
+ getTracking (trackingId, carrierId, opts) {
824
+ return this.getTrackingWithHttpInfo(trackingId, carrierId, opts)
825
+ .then(function (response_and_data) {
826
+ return response_and_data.data
827
+ })
828
+ }
829
+
830
+ /**
860
831
  * This API Get all unmanifested carriers with shipment locations. Any locations which has unmanifested shipments with an eligible carrier for manifesting shall be returned. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
861
832
  * @param {module:shipping_v2/model/GetUnmanifestedShipmentsRequest} body GetUmanifestedShipmentsRequest body
862
833
  * @param {Object} opts Optional parameters
863
834
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
864
835
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/GetUnmanifestedShipmentsResponse} and HTTP response
865
836
  */
866
- getUnmanifestedShipmentsWithHttpInfo(body, opts) {
867
- opts = opts || {};
868
- let postBody = body;
869
-
870
- // verify the required parameter 'body' is set
871
- if (body === undefined || body === null) {
872
- throw new Error("Missing the required parameter 'body' when calling getUnmanifestedShipments");
873
- }
874
-
875
-
876
- let pathParams = {
877
- };
878
- let queryParams = {
879
- };
880
- let headerParams = {
881
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
882
- };
883
- let formParams = {
884
- };
885
-
886
- let contentTypes = ['application/json'];
887
- let accepts = ['application/json'];
888
- let returnType = GetUnmanifestedShipmentsResponse;
889
-
890
- return this.apiClient.callApi( 'ShippingApi-getUnmanifestedShipments',
891
- '/shipping/v2/unmanifestedShipments', 'PUT',
892
- pathParams, queryParams, headerParams, formParams, postBody,
893
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getUnmanifestedShipments')
894
- );
895
- }
896
-
897
- /**
837
+ getUnmanifestedShipmentsWithHttpInfo (body, opts) {
838
+ opts = opts || {}
839
+ const postBody = body
840
+
841
+ // verify the required parameter 'body' is set
842
+ if (body === undefined || body === null) {
843
+ throw new Error("Missing the required parameter 'body' when calling getUnmanifestedShipments")
844
+ }
845
+
846
+ const pathParams = {
847
+ }
848
+ const queryParams = {
849
+ }
850
+ const headerParams = {
851
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
852
+ }
853
+ const formParams = {
854
+ }
855
+
856
+ const contentTypes = ['application/json']
857
+ const accepts = ['application/json']
858
+ const returnType = GetUnmanifestedShipmentsResponse
859
+
860
+ return this.apiClient.callApi('ShippingApi-getUnmanifestedShipments',
861
+ '/shipping/v2/unmanifestedShipments', 'PUT',
862
+ pathParams, queryParams, headerParams, formParams, postBody,
863
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-getUnmanifestedShipments')
864
+ )
865
+ }
866
+
867
+ /**
898
868
  * This API Get all unmanifested carriers with shipment locations. Any locations which has unmanifested shipments with an eligible carrier for manifesting shall be returned. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
899
869
  * @param {module:shipping_v2/model/GetUnmanifestedShipmentsRequest} body GetUmanifestedShipmentsRequest body
900
870
  * @param {Object} opts Optional parameters
901
871
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
902
872
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/GetUnmanifestedShipmentsResponse}
903
873
  */
904
- getUnmanifestedShipments(body, opts) {
905
- return this.getUnmanifestedShipmentsWithHttpInfo(body, opts)
906
- .then(function(response_and_data) {
907
- return response_and_data.data;
908
- });
909
- }
910
-
911
-
912
- /**
874
+ getUnmanifestedShipments (body, opts) {
875
+ return this.getUnmanifestedShipmentsWithHttpInfo(body, opts)
876
+ .then(function (response_and_data) {
877
+ return response_and_data.data
878
+ })
879
+ }
880
+
881
+ /**
913
882
  * This API associates/links the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
914
883
  * @param {String} carrierId An identifier for the carrier with which the seller&#39;s account is being linked.
915
884
  * @param {module:shipping_v2/model/LinkCarrierAccountRequest} body LinkCarrierAccountRequest body
@@ -917,44 +886,43 @@ export class ShippingApi {
917
886
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
918
887
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/LinkCarrierAccountResponse} and HTTP response
919
888
  */
920
- linkCarrierAccountWithHttpInfo(carrierId, body, opts) {
921
- opts = opts || {};
922
- let postBody = body;
923
-
924
- // verify the required parameter 'carrierId' is set
925
- if (carrierId === undefined || carrierId === null) {
926
- throw new Error("Missing the required parameter 'carrierId' when calling linkCarrierAccount");
927
- }
928
-
929
- // verify the required parameter 'body' is set
930
- if (body === undefined || body === null) {
931
- throw new Error("Missing the required parameter 'body' when calling linkCarrierAccount");
932
- }
933
-
934
-
935
- let pathParams = {
936
- 'carrierId': carrierId
937
- };
938
- let queryParams = {
939
- };
940
- let headerParams = {
941
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
942
- };
943
- let formParams = {
944
- };
945
-
946
- let contentTypes = ['application/json'];
947
- let accepts = ['application/json'];
948
- let returnType = LinkCarrierAccountResponse;
949
-
950
- return this.apiClient.callApi( 'ShippingApi-linkCarrierAccount',
951
- '/shipping/v2/carrierAccounts/{carrierId}', 'PUT',
952
- pathParams, queryParams, headerParams, formParams, postBody,
953
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-linkCarrierAccount')
954
- );
955
- }
956
-
957
- /**
889
+ linkCarrierAccountWithHttpInfo (carrierId, body, opts) {
890
+ opts = opts || {}
891
+ const postBody = body
892
+
893
+ // verify the required parameter 'carrierId' is set
894
+ if (carrierId === undefined || carrierId === null) {
895
+ throw new Error("Missing the required parameter 'carrierId' when calling linkCarrierAccount")
896
+ }
897
+
898
+ // verify the required parameter 'body' is set
899
+ if (body === undefined || body === null) {
900
+ throw new Error("Missing the required parameter 'body' when calling linkCarrierAccount")
901
+ }
902
+
903
+ const pathParams = {
904
+ carrierId
905
+ }
906
+ const queryParams = {
907
+ }
908
+ const headerParams = {
909
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
910
+ }
911
+ const formParams = {
912
+ }
913
+
914
+ const contentTypes = ['application/json']
915
+ const accepts = ['application/json']
916
+ const returnType = LinkCarrierAccountResponse
917
+
918
+ return this.apiClient.callApi('ShippingApi-linkCarrierAccount',
919
+ '/shipping/v2/carrierAccounts/{carrierId}', 'PUT',
920
+ pathParams, queryParams, headerParams, formParams, postBody,
921
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-linkCarrierAccount')
922
+ )
923
+ }
924
+
925
+ /**
958
926
  * This API associates/links the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
959
927
  * @param {String} carrierId An identifier for the carrier with which the seller&#39;s account is being linked.
960
928
  * @param {module:shipping_v2/model/LinkCarrierAccountRequest} body LinkCarrierAccountRequest body
@@ -962,15 +930,14 @@ export class ShippingApi {
962
930
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
963
931
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/LinkCarrierAccountResponse}
964
932
  */
965
- linkCarrierAccount(carrierId, body, opts) {
966
- return this.linkCarrierAccountWithHttpInfo(carrierId, body, opts)
967
- .then(function(response_and_data) {
968
- return response_and_data.data;
969
- });
970
- }
971
-
972
-
973
- /**
933
+ linkCarrierAccount (carrierId, body, opts) {
934
+ return this.linkCarrierAccountWithHttpInfo(carrierId, body, opts)
935
+ .then(function (response_and_data) {
936
+ return response_and_data.data
937
+ })
938
+ }
939
+
940
+ /**
974
941
  * This API associates/links the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
975
942
  * @param {String} carrierId An identifier for the carrier with which the seller&#39;s account is being linked.
976
943
  * @param {module:shipping_v2/model/LinkCarrierAccountRequest} body LinkCarrierAccountRequest body
@@ -978,44 +945,43 @@ export class ShippingApi {
978
945
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
979
946
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/LinkCarrierAccountResponse} and HTTP response
980
947
  */
981
- linkCarrierAccount_0WithHttpInfo(carrierId, body, opts) {
982
- opts = opts || {};
983
- let postBody = body;
984
-
985
- // verify the required parameter 'carrierId' is set
986
- if (carrierId === undefined || carrierId === null) {
987
- throw new Error("Missing the required parameter 'carrierId' when calling linkCarrierAccount_0");
988
- }
989
-
990
- // verify the required parameter 'body' is set
991
- if (body === undefined || body === null) {
992
- throw new Error("Missing the required parameter 'body' when calling linkCarrierAccount_0");
993
- }
994
-
995
-
996
- let pathParams = {
997
- 'carrierId': carrierId
998
- };
999
- let queryParams = {
1000
- };
1001
- let headerParams = {
1002
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
1003
- };
1004
- let formParams = {
1005
- };
1006
-
1007
- let contentTypes = ['application/json'];
1008
- let accepts = ['application/json'];
1009
- let returnType = LinkCarrierAccountResponse;
1010
-
1011
- return this.apiClient.callApi( 'ShippingApi-linkCarrierAccount_0',
1012
- '/shipping/v2/carrierAccounts/{carrierId}', 'POST',
1013
- pathParams, queryParams, headerParams, formParams, postBody,
1014
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-linkCarrierAccount_0')
1015
- );
1016
- }
1017
-
1018
- /**
948
+ linkCarrierAccount_0WithHttpInfo (carrierId, body, opts) {
949
+ opts = opts || {}
950
+ const postBody = body
951
+
952
+ // verify the required parameter 'carrierId' is set
953
+ if (carrierId === undefined || carrierId === null) {
954
+ throw new Error("Missing the required parameter 'carrierId' when calling linkCarrierAccount_0")
955
+ }
956
+
957
+ // verify the required parameter 'body' is set
958
+ if (body === undefined || body === null) {
959
+ throw new Error("Missing the required parameter 'body' when calling linkCarrierAccount_0")
960
+ }
961
+
962
+ const pathParams = {
963
+ carrierId
964
+ }
965
+ const queryParams = {
966
+ }
967
+ const headerParams = {
968
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
969
+ }
970
+ const formParams = {
971
+ }
972
+
973
+ const contentTypes = ['application/json']
974
+ const accepts = ['application/json']
975
+ const returnType = LinkCarrierAccountResponse
976
+
977
+ return this.apiClient.callApi('ShippingApi-linkCarrierAccount_0',
978
+ '/shipping/v2/carrierAccounts/{carrierId}', 'POST',
979
+ pathParams, queryParams, headerParams, formParams, postBody,
980
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-linkCarrierAccount_0')
981
+ )
982
+ }
983
+
984
+ /**
1019
985
  * This API associates/links the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
1020
986
  * @param {String} carrierId An identifier for the carrier with which the seller&#39;s account is being linked.
1021
987
  * @param {module:shipping_v2/model/LinkCarrierAccountRequest} body LinkCarrierAccountRequest body
@@ -1023,68 +989,65 @@ export class ShippingApi {
1023
989
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1024
990
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/LinkCarrierAccountResponse}
1025
991
  */
1026
- linkCarrierAccount_0(carrierId, body, opts) {
1027
- return this.linkCarrierAccount_0WithHttpInfo(carrierId, body, opts)
1028
- .then(function(response_and_data) {
1029
- return response_and_data.data;
1030
- });
1031
- }
1032
-
1033
-
1034
- /**
992
+ linkCarrierAccount_0 (carrierId, body, opts) {
993
+ return this.linkCarrierAccount_0WithHttpInfo(carrierId, body, opts)
994
+ .then(function (response_and_data) {
995
+ return response_and_data.data
996
+ })
997
+ }
998
+
999
+ /**
1035
1000
  * Purchases a shipping service identifier and returns purchase-related details and documents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1036
1001
  * @param {module:shipping_v2/model/OneClickShipmentRequest} body OneClickShipmentRequest body
1037
1002
  * @param {Object} opts Optional parameters
1038
1003
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1039
1004
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/OneClickShipmentResponse} and HTTP response
1040
1005
  */
1041
- oneClickShipmentWithHttpInfo(body, opts) {
1042
- opts = opts || {};
1043
- let postBody = body;
1044
-
1045
- // verify the required parameter 'body' is set
1046
- if (body === undefined || body === null) {
1047
- throw new Error("Missing the required parameter 'body' when calling oneClickShipment");
1048
- }
1049
-
1050
-
1051
- let pathParams = {
1052
- };
1053
- let queryParams = {
1054
- };
1055
- let headerParams = {
1056
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
1057
- };
1058
- let formParams = {
1059
- };
1060
-
1061
- let contentTypes = ['application/json'];
1062
- let accepts = ['application/json'];
1063
- let returnType = OneClickShipmentResponse;
1064
-
1065
- return this.apiClient.callApi( 'ShippingApi-oneClickShipment',
1066
- '/shipping/v2/oneClickShipment', 'POST',
1067
- pathParams, queryParams, headerParams, formParams, postBody,
1068
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-oneClickShipment')
1069
- );
1070
- }
1071
-
1072
- /**
1006
+ oneClickShipmentWithHttpInfo (body, opts) {
1007
+ opts = opts || {}
1008
+ const postBody = body
1009
+
1010
+ // verify the required parameter 'body' is set
1011
+ if (body === undefined || body === null) {
1012
+ throw new Error("Missing the required parameter 'body' when calling oneClickShipment")
1013
+ }
1014
+
1015
+ const pathParams = {
1016
+ }
1017
+ const queryParams = {
1018
+ }
1019
+ const headerParams = {
1020
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
1021
+ }
1022
+ const formParams = {
1023
+ }
1024
+
1025
+ const contentTypes = ['application/json']
1026
+ const accepts = ['application/json']
1027
+ const returnType = OneClickShipmentResponse
1028
+
1029
+ return this.apiClient.callApi('ShippingApi-oneClickShipment',
1030
+ '/shipping/v2/oneClickShipment', 'POST',
1031
+ pathParams, queryParams, headerParams, formParams, postBody,
1032
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-oneClickShipment')
1033
+ )
1034
+ }
1035
+
1036
+ /**
1073
1037
  * Purchases a shipping service identifier and returns purchase-related details and documents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1074
1038
  * @param {module:shipping_v2/model/OneClickShipmentRequest} body OneClickShipmentRequest body
1075
1039
  * @param {Object} opts Optional parameters
1076
1040
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1077
1041
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/OneClickShipmentResponse}
1078
1042
  */
1079
- oneClickShipment(body, opts) {
1080
- return this.oneClickShipmentWithHttpInfo(body, opts)
1081
- .then(function(response_and_data) {
1082
- return response_and_data.data;
1083
- });
1084
- }
1085
-
1086
-
1087
- /**
1043
+ oneClickShipment (body, opts) {
1044
+ return this.oneClickShipmentWithHttpInfo(body, opts)
1045
+ .then(function (response_and_data) {
1046
+ return response_and_data.data
1047
+ })
1048
+ }
1049
+
1050
+ /**
1088
1051
  * Purchases a shipping service and returns purchase related details and documents. Note: You must complete the purchase within 10 minutes of rate creation by the shipping service provider. If you make the request after the 10 minutes have expired, you will receive an error response with the error code equal to \&quot;TOKEN_EXPIRED\&quot;. If you receive this error response, you must get the rates for the shipment again. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1089
1052
  * @param {module:shipping_v2/model/PurchaseShipmentRequest} body PurchaseShipmentRequest body
1090
1053
  * @param {Object} opts Optional parameters
@@ -1092,39 +1055,38 @@ export class ShippingApi {
1092
1055
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1093
1056
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/PurchaseShipmentResponse} and HTTP response
1094
1057
  */
1095
- purchaseShipmentWithHttpInfo(body, opts) {
1096
- opts = opts || {};
1097
- let postBody = body;
1098
-
1099
- // verify the required parameter 'body' is set
1100
- if (body === undefined || body === null) {
1101
- throw new Error("Missing the required parameter 'body' when calling purchaseShipment");
1102
- }
1103
-
1104
-
1105
- let pathParams = {
1106
- };
1107
- let queryParams = {
1108
- };
1109
- let headerParams = {
1110
- 'x-amzn-IdempotencyKey': opts['xAmznIdempotencyKey'],
1111
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
1112
- };
1113
- let formParams = {
1114
- };
1115
-
1116
- let contentTypes = ['application/json'];
1117
- let accepts = ['application/json'];
1118
- let returnType = PurchaseShipmentResponse;
1119
-
1120
- return this.apiClient.callApi( 'ShippingApi-purchaseShipment',
1121
- '/shipping/v2/shipments', 'POST',
1122
- pathParams, queryParams, headerParams, formParams, postBody,
1123
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-purchaseShipment')
1124
- );
1125
- }
1126
-
1127
- /**
1058
+ purchaseShipmentWithHttpInfo (body, opts) {
1059
+ opts = opts || {}
1060
+ const postBody = body
1061
+
1062
+ // verify the required parameter 'body' is set
1063
+ if (body === undefined || body === null) {
1064
+ throw new Error("Missing the required parameter 'body' when calling purchaseShipment")
1065
+ }
1066
+
1067
+ const pathParams = {
1068
+ }
1069
+ const queryParams = {
1070
+ }
1071
+ const headerParams = {
1072
+ 'x-amzn-IdempotencyKey': opts.xAmznIdempotencyKey,
1073
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
1074
+ }
1075
+ const formParams = {
1076
+ }
1077
+
1078
+ const contentTypes = ['application/json']
1079
+ const accepts = ['application/json']
1080
+ const returnType = PurchaseShipmentResponse
1081
+
1082
+ return this.apiClient.callApi('ShippingApi-purchaseShipment',
1083
+ '/shipping/v2/shipments', 'POST',
1084
+ pathParams, queryParams, headerParams, formParams, postBody,
1085
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-purchaseShipment')
1086
+ )
1087
+ }
1088
+
1089
+ /**
1128
1090
  * Purchases a shipping service and returns purchase related details and documents. Note: You must complete the purchase within 10 minutes of rate creation by the shipping service provider. If you make the request after the 10 minutes have expired, you will receive an error response with the error code equal to \&quot;TOKEN_EXPIRED\&quot;. If you receive this error response, you must get the rates for the shipment again. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1129
1091
  * @param {module:shipping_v2/model/PurchaseShipmentRequest} body PurchaseShipmentRequest body
1130
1092
  * @param {Object} opts Optional parameters
@@ -1132,68 +1094,65 @@ export class ShippingApi {
1132
1094
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1133
1095
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/PurchaseShipmentResponse}
1134
1096
  */
1135
- purchaseShipment(body, opts) {
1136
- return this.purchaseShipmentWithHttpInfo(body, opts)
1137
- .then(function(response_and_data) {
1138
- return response_and_data.data;
1139
- });
1140
- }
1141
-
1142
-
1143
- /**
1097
+ purchaseShipment (body, opts) {
1098
+ return this.purchaseShipmentWithHttpInfo(body, opts)
1099
+ .then(function (response_and_data) {
1100
+ return response_and_data.data
1101
+ })
1102
+ }
1103
+
1104
+ /**
1144
1105
  * This API submits the NDR (Non-delivery Report) Feedback for any eligible shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
1145
1106
  * @param {module:shipping_v2/model/SubmitNdrFeedbackRequest} body Request body for ndrFeedback operation
1146
1107
  * @param {Object} opts Optional parameters
1147
1108
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1148
1109
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1149
1110
  */
1150
- submitNdrFeedbackWithHttpInfo(body, opts) {
1151
- opts = opts || {};
1152
- let postBody = body;
1153
-
1154
- // verify the required parameter 'body' is set
1155
- if (body === undefined || body === null) {
1156
- throw new Error("Missing the required parameter 'body' when calling submitNdrFeedback");
1157
- }
1158
-
1159
-
1160
- let pathParams = {
1161
- };
1162
- let queryParams = {
1163
- };
1164
- let headerParams = {
1165
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
1166
- };
1167
- let formParams = {
1168
- };
1169
-
1170
- let contentTypes = ['application/json'];
1171
- let accepts = ['application/json'];
1172
- let returnType = null;
1173
-
1174
- return this.apiClient.callApi( 'ShippingApi-submitNdrFeedback',
1175
- '/shipping/v2/ndrFeedback', 'POST',
1176
- pathParams, queryParams, headerParams, formParams, postBody,
1177
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-submitNdrFeedback')
1178
- );
1179
- }
1180
-
1181
- /**
1111
+ submitNdrFeedbackWithHttpInfo (body, opts) {
1112
+ opts = opts || {}
1113
+ const postBody = body
1114
+
1115
+ // verify the required parameter 'body' is set
1116
+ if (body === undefined || body === null) {
1117
+ throw new Error("Missing the required parameter 'body' when calling submitNdrFeedback")
1118
+ }
1119
+
1120
+ const pathParams = {
1121
+ }
1122
+ const queryParams = {
1123
+ }
1124
+ const headerParams = {
1125
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
1126
+ }
1127
+ const formParams = {
1128
+ }
1129
+
1130
+ const contentTypes = ['application/json']
1131
+ const accepts = ['application/json']
1132
+ const returnType = null
1133
+
1134
+ return this.apiClient.callApi('ShippingApi-submitNdrFeedback',
1135
+ '/shipping/v2/ndrFeedback', 'POST',
1136
+ pathParams, queryParams, headerParams, formParams, postBody,
1137
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-submitNdrFeedback')
1138
+ )
1139
+ }
1140
+
1141
+ /**
1182
1142
  * This API submits the NDR (Non-delivery Report) Feedback for any eligible shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
1183
1143
  * @param {module:shipping_v2/model/SubmitNdrFeedbackRequest} body Request body for ndrFeedback operation
1184
1144
  * @param {Object} opts Optional parameters
1185
1145
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1186
1146
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1187
1147
  */
1188
- submitNdrFeedback(body, opts) {
1189
- return this.submitNdrFeedbackWithHttpInfo(body, opts)
1190
- .then(function(response_and_data) {
1191
- return response_and_data.data;
1192
- });
1193
- }
1194
-
1195
-
1196
- /**
1148
+ submitNdrFeedback (body, opts) {
1149
+ return this.submitNdrFeedbackWithHttpInfo(body, opts)
1150
+ .then(function (response_and_data) {
1151
+ return response_and_data.data
1152
+ })
1153
+ }
1154
+
1155
+ /**
1197
1156
  * This API Unlink the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1198
1157
  * @param {String} carrierId carrier Id to unlink with merchant.
1199
1158
  * @param {module:shipping_v2/model/UnlinkCarrierAccountRequest} body UnlinkCarrierAccountRequest body
@@ -1201,44 +1160,43 @@ export class ShippingApi {
1201
1160
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1202
1161
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:shipping_v2/model/UnlinkCarrierAccountResponse} and HTTP response
1203
1162
  */
1204
- unlinkCarrierAccountWithHttpInfo(carrierId, body, opts) {
1205
- opts = opts || {};
1206
- let postBody = body;
1207
-
1208
- // verify the required parameter 'carrierId' is set
1209
- if (carrierId === undefined || carrierId === null) {
1210
- throw new Error("Missing the required parameter 'carrierId' when calling unlinkCarrierAccount");
1211
- }
1212
-
1213
- // verify the required parameter 'body' is set
1214
- if (body === undefined || body === null) {
1215
- throw new Error("Missing the required parameter 'body' when calling unlinkCarrierAccount");
1216
- }
1217
-
1218
-
1219
- let pathParams = {
1220
- 'carrierId': carrierId
1221
- };
1222
- let queryParams = {
1223
- };
1224
- let headerParams = {
1225
- 'x-amzn-shipping-business-id': opts['xAmznShippingBusinessId']
1226
- };
1227
- let formParams = {
1228
- };
1229
-
1230
- let contentTypes = ['application/json'];
1231
- let accepts = ['application/json'];
1232
- let returnType = UnlinkCarrierAccountResponse;
1233
-
1234
- return this.apiClient.callApi( 'ShippingApi-unlinkCarrierAccount',
1235
- '/shipping/v2/carrierAccounts/{carrierId}/unlink', 'PUT',
1236
- pathParams, queryParams, headerParams, formParams, postBody,
1237
- contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-unlinkCarrierAccount')
1238
- );
1239
- }
1240
-
1241
- /**
1163
+ unlinkCarrierAccountWithHttpInfo (carrierId, body, opts) {
1164
+ opts = opts || {}
1165
+ const postBody = body
1166
+
1167
+ // verify the required parameter 'carrierId' is set
1168
+ if (carrierId === undefined || carrierId === null) {
1169
+ throw new Error("Missing the required parameter 'carrierId' when calling unlinkCarrierAccount")
1170
+ }
1171
+
1172
+ // verify the required parameter 'body' is set
1173
+ if (body === undefined || body === null) {
1174
+ throw new Error("Missing the required parameter 'body' when calling unlinkCarrierAccount")
1175
+ }
1176
+
1177
+ const pathParams = {
1178
+ carrierId
1179
+ }
1180
+ const queryParams = {
1181
+ }
1182
+ const headerParams = {
1183
+ 'x-amzn-shipping-business-id': opts.xAmznShippingBusinessId
1184
+ }
1185
+ const formParams = {
1186
+ }
1187
+
1188
+ const contentTypes = ['application/json']
1189
+ const accepts = ['application/json']
1190
+ const returnType = UnlinkCarrierAccountResponse
1191
+
1192
+ return this.apiClient.callApi('ShippingApi-unlinkCarrierAccount',
1193
+ '/shipping/v2/carrierAccounts/{carrierId}/unlink', 'PUT',
1194
+ pathParams, queryParams, headerParams, formParams, postBody,
1195
+ contentTypes, accepts, returnType, this.getRateLimiter('ShippingApi-unlinkCarrierAccount')
1196
+ )
1197
+ }
1198
+
1199
+ /**
1242
1200
  * This API Unlink the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1243
1201
  * @param {String} carrierId carrier Id to unlink with merchant.
1244
1202
  * @param {module:shipping_v2/model/UnlinkCarrierAccountRequest} body UnlinkCarrierAccountRequest body
@@ -1246,12 +1204,10 @@ export class ShippingApi {
1246
1204
  * @param {module:shipping_v2/model/String} opts.xAmznShippingBusinessId Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
1247
1205
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:shipping_v2/model/UnlinkCarrierAccountResponse}
1248
1206
  */
1249
- unlinkCarrierAccount(carrierId, body, opts) {
1250
- return this.unlinkCarrierAccountWithHttpInfo(carrierId, body, opts)
1251
- .then(function(response_and_data) {
1252
- return response_and_data.data;
1253
- });
1254
- }
1255
-
1256
-
1207
+ unlinkCarrierAccount (carrierId, body, opts) {
1208
+ return this.unlinkCarrierAccountWithHttpInfo(carrierId, body, opts)
1209
+ .then(function (response_and_data) {
1210
+ return response_and_data.data
1211
+ })
1212
+ }
1257
1213
  }