@amazon-sp-api-release/amazon-sp-api-sdk-js 1.0.0-rc8 → 1.1.0

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