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