amazon-creators-api 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 (195) hide show
  1. package/LICENSE.txt +202 -0
  2. package/README.md +102 -0
  3. package/dist/ApiClient.d.ts +273 -0
  4. package/dist/ApiClient.js +895 -0
  5. package/dist/api/DefaultApi.d.ts +124 -0
  6. package/dist/api/DefaultApi.js +409 -0
  7. package/dist/api/TypedDefaultApi.d.ts +132 -0
  8. package/dist/api/TypedDefaultApi.js +223 -0
  9. package/dist/auth/OAuth2Config.d.ts +78 -0
  10. package/dist/auth/OAuth2Config.js +152 -0
  11. package/dist/auth/OAuth2TokenManager.d.ts +38 -0
  12. package/dist/auth/OAuth2TokenManager.js +177 -0
  13. package/dist/index.d.ts +94 -0
  14. package/dist/index.js +657 -0
  15. package/dist/model/AccessDeniedExceptionResponseContent.d.ts +42 -0
  16. package/dist/model/AccessDeniedExceptionResponseContent.js +139 -0
  17. package/dist/model/AccessDeniedReason.d.ts +32 -0
  18. package/dist/model/AccessDeniedReason.js +65 -0
  19. package/dist/model/Availability.d.ts +27 -0
  20. package/dist/model/Availability.js +60 -0
  21. package/dist/model/BrowseNode.d.ts +35 -0
  22. package/dist/model/BrowseNode.js +184 -0
  23. package/dist/model/BrowseNodeAncestor.d.ts +32 -0
  24. package/dist/model/BrowseNodeAncestor.js +129 -0
  25. package/dist/model/BrowseNodeChild.d.ts +31 -0
  26. package/dist/model/BrowseNodeChild.js +116 -0
  27. package/dist/model/BrowseNodeInfo.d.ts +30 -0
  28. package/dist/model/BrowseNodeInfo.js +128 -0
  29. package/dist/model/BrowseNodesResult.d.ts +29 -0
  30. package/dist/model/BrowseNodesResult.js +114 -0
  31. package/dist/model/ByLineInfo.d.ts +31 -0
  32. package/dist/model/ByLineInfo.js +141 -0
  33. package/dist/model/Classifications.d.ts +30 -0
  34. package/dist/model/Classifications.js +107 -0
  35. package/dist/model/Condition.d.ts +27 -0
  36. package/dist/model/Condition.js +60 -0
  37. package/dist/model/ContentInfo.d.ts +32 -0
  38. package/dist/model/ContentInfo.js +135 -0
  39. package/dist/model/ContentRating.d.ts +29 -0
  40. package/dist/model/ContentRating.js +94 -0
  41. package/dist/model/Contributor.d.ts +32 -0
  42. package/dist/model/Contributor.js +128 -0
  43. package/dist/model/CustomerReviews.d.ts +30 -0
  44. package/dist/model/CustomerReviews.js +102 -0
  45. package/dist/model/DealDetails.d.ts +34 -0
  46. package/dist/model/DealDetails.js +144 -0
  47. package/dist/model/DeliveryFlag.d.ts +37 -0
  48. package/dist/model/DeliveryFlag.js +70 -0
  49. package/dist/model/DimensionBasedAttribute.d.ts +32 -0
  50. package/dist/model/DimensionBasedAttribute.js +133 -0
  51. package/dist/model/ErrorData.d.ts +41 -0
  52. package/dist/model/ErrorData.js +131 -0
  53. package/dist/model/ExternalIds.d.ts +31 -0
  54. package/dist/model/ExternalIds.js +120 -0
  55. package/dist/model/Feed.d.ts +44 -0
  56. package/dist/model/Feed.js +152 -0
  57. package/dist/model/GetBrowseNodesRequestContent.d.ts +43 -0
  58. package/dist/model/GetBrowseNodesRequestContent.js +158 -0
  59. package/dist/model/GetBrowseNodesResource.d.ts +27 -0
  60. package/dist/model/GetBrowseNodesResource.js +60 -0
  61. package/dist/model/GetBrowseNodesResponseContent.d.ts +30 -0
  62. package/dist/model/GetBrowseNodesResponseContent.js +128 -0
  63. package/dist/model/GetFeedRequestContent.d.ts +38 -0
  64. package/dist/model/GetFeedRequestContent.js +114 -0
  65. package/dist/model/GetFeedResponseContent.d.ts +38 -0
  66. package/dist/model/GetFeedResponseContent.js +114 -0
  67. package/dist/model/GetItemsRequestContent.d.ts +45 -0
  68. package/dist/model/GetItemsRequestContent.js +188 -0
  69. package/dist/model/GetItemsResource.d.ts +187 -0
  70. package/dist/model/GetItemsResource.js +220 -0
  71. package/dist/model/GetItemsResponseContent.d.ts +30 -0
  72. package/dist/model/GetItemsResponseContent.js +128 -0
  73. package/dist/model/GetReportRequestContent.d.ts +38 -0
  74. package/dist/model/GetReportRequestContent.js +114 -0
  75. package/dist/model/GetReportResponseContent.d.ts +38 -0
  76. package/dist/model/GetReportResponseContent.js +114 -0
  77. package/dist/model/GetVariationsRequestContent.d.ts +48 -0
  78. package/dist/model/GetVariationsRequestContent.js +209 -0
  79. package/dist/model/GetVariationsResource.d.ts +202 -0
  80. package/dist/model/GetVariationsResource.js +235 -0
  81. package/dist/model/GetVariationsResponseContent.d.ts +30 -0
  82. package/dist/model/GetVariationsResponseContent.js +128 -0
  83. package/dist/model/ImageSize.d.ts +31 -0
  84. package/dist/model/ImageSize.js +108 -0
  85. package/dist/model/ImageType.d.ts +32 -0
  86. package/dist/model/ImageType.js +133 -0
  87. package/dist/model/Images.d.ts +30 -0
  88. package/dist/model/Images.js +127 -0
  89. package/dist/model/InternalServerExceptionResponseContent.d.ts +40 -0
  90. package/dist/model/InternalServerExceptionResponseContent.js +128 -0
  91. package/dist/model/Item.d.ts +38 -0
  92. package/dist/model/Item.js +228 -0
  93. package/dist/model/ItemInfo.d.ts +39 -0
  94. package/dist/model/ItemInfo.js +234 -0
  95. package/dist/model/ItemsResult.d.ts +29 -0
  96. package/dist/model/ItemsResult.js +114 -0
  97. package/dist/model/LanguageType.d.ts +30 -0
  98. package/dist/model/LanguageType.js +104 -0
  99. package/dist/model/Languages.d.ts +31 -0
  100. package/dist/model/Languages.js +138 -0
  101. package/dist/model/ListFeedsResponseContent.d.ts +29 -0
  102. package/dist/model/ListFeedsResponseContent.js +112 -0
  103. package/dist/model/ListReportsResponseContent.d.ts +38 -0
  104. package/dist/model/ListReportsResponseContent.js +132 -0
  105. package/dist/model/ManufactureInfo.d.ts +31 -0
  106. package/dist/model/ManufactureInfo.js +120 -0
  107. package/dist/model/Money.d.ts +31 -0
  108. package/dist/model/Money.js +112 -0
  109. package/dist/model/MultiValuedAttribute.d.ts +31 -0
  110. package/dist/model/MultiValuedAttribute.js +117 -0
  111. package/dist/model/OfferAvailabilityV2.d.ts +32 -0
  112. package/dist/model/OfferAvailabilityV2.js +120 -0
  113. package/dist/model/OfferConditionV2.d.ts +31 -0
  114. package/dist/model/OfferConditionV2.js +116 -0
  115. package/dist/model/OfferListingV2.d.ts +37 -0
  116. package/dist/model/OfferListingV2.js +189 -0
  117. package/dist/model/OfferLoyaltyPointsV2.d.ts +29 -0
  118. package/dist/model/OfferLoyaltyPointsV2.js +88 -0
  119. package/dist/model/OfferMerchantInfoV2.d.ts +30 -0
  120. package/dist/model/OfferMerchantInfoV2.js +104 -0
  121. package/dist/model/OfferPriceV2.d.ts +32 -0
  122. package/dist/model/OfferPriceV2.js +135 -0
  123. package/dist/model/OfferSavingBasis.d.ts +31 -0
  124. package/dist/model/OfferSavingBasis.js +115 -0
  125. package/dist/model/OfferSavings.d.ts +30 -0
  126. package/dist/model/OfferSavings.js +102 -0
  127. package/dist/model/OfferType.d.ts +32 -0
  128. package/dist/model/OfferType.js +65 -0
  129. package/dist/model/OffersV2.d.ts +29 -0
  130. package/dist/model/OffersV2.js +114 -0
  131. package/dist/model/ProductInfo.d.ts +34 -0
  132. package/dist/model/ProductInfo.js +162 -0
  133. package/dist/model/Rating.d.ts +29 -0
  134. package/dist/model/Rating.js +88 -0
  135. package/dist/model/Refinement.d.ts +31 -0
  136. package/dist/model/Refinement.js +138 -0
  137. package/dist/model/RefinementBin.d.ts +30 -0
  138. package/dist/model/RefinementBin.js +104 -0
  139. package/dist/model/ReportMetadata.d.ts +44 -0
  140. package/dist/model/ReportMetadata.js +152 -0
  141. package/dist/model/ResourceNotFoundExceptionResponseContent.d.ts +44 -0
  142. package/dist/model/ResourceNotFoundExceptionResponseContent.js +156 -0
  143. package/dist/model/SavingBasisType.d.ts +37 -0
  144. package/dist/model/SavingBasisType.js +70 -0
  145. package/dist/model/SearchItemsRequestContent.d.ts +51 -0
  146. package/dist/model/SearchItemsRequestContent.js +343 -0
  147. package/dist/model/SearchItemsResource.d.ts +192 -0
  148. package/dist/model/SearchItemsResource.js +225 -0
  149. package/dist/model/SearchItemsResponseContent.d.ts +30 -0
  150. package/dist/model/SearchItemsResponseContent.js +128 -0
  151. package/dist/model/SearchRefinements.d.ts +31 -0
  152. package/dist/model/SearchRefinements.js +140 -0
  153. package/dist/model/SearchResult.d.ts +32 -0
  154. package/dist/model/SearchResult.js +148 -0
  155. package/dist/model/SingleBooleanValuedAttribute.d.ts +31 -0
  156. package/dist/model/SingleBooleanValuedAttribute.js +112 -0
  157. package/dist/model/SingleIntegerValuedAttribute.d.ts +31 -0
  158. package/dist/model/SingleIntegerValuedAttribute.js +112 -0
  159. package/dist/model/SingleStringValuedAttribute.d.ts +31 -0
  160. package/dist/model/SingleStringValuedAttribute.js +116 -0
  161. package/dist/model/SortBy.d.ts +47 -0
  162. package/dist/model/SortBy.js +80 -0
  163. package/dist/model/TechnicalInfo.d.ts +30 -0
  164. package/dist/model/TechnicalInfo.js +108 -0
  165. package/dist/model/ThrottleExceptionResponseContent.d.ts +42 -0
  166. package/dist/model/ThrottleExceptionResponseContent.js +152 -0
  167. package/dist/model/TradeInInfo.d.ts +30 -0
  168. package/dist/model/TradeInInfo.js +102 -0
  169. package/dist/model/TradeInPrice.d.ts +31 -0
  170. package/dist/model/TradeInPrice.js +112 -0
  171. package/dist/model/UnauthorizedExceptionReason.d.ts +62 -0
  172. package/dist/model/UnauthorizedExceptionReason.js +95 -0
  173. package/dist/model/UnauthorizedExceptionResponseContent.d.ts +41 -0
  174. package/dist/model/UnauthorizedExceptionResponseContent.js +137 -0
  175. package/dist/model/UnitBasedAttribute.d.ts +32 -0
  176. package/dist/model/UnitBasedAttribute.js +124 -0
  177. package/dist/model/ValidationExceptionField.d.ts +41 -0
  178. package/dist/model/ValidationExceptionField.js +129 -0
  179. package/dist/model/ValidationExceptionReason.d.ts +47 -0
  180. package/dist/model/ValidationExceptionReason.js +80 -0
  181. package/dist/model/ValidationExceptionResponseContent.d.ts +43 -0
  182. package/dist/model/ValidationExceptionResponseContent.js +170 -0
  183. package/dist/model/VariationAttribute.d.ts +30 -0
  184. package/dist/model/VariationAttribute.js +104 -0
  185. package/dist/model/VariationDimension.d.ts +32 -0
  186. package/dist/model/VariationDimension.js +132 -0
  187. package/dist/model/VariationSummary.d.ts +32 -0
  188. package/dist/model/VariationSummary.js +146 -0
  189. package/dist/model/VariationSummaryPrice.d.ts +30 -0
  190. package/dist/model/VariationSummaryPrice.js +107 -0
  191. package/dist/model/VariationsResult.d.ts +30 -0
  192. package/dist/model/VariationsResult.js +128 -0
  193. package/dist/model/WebsiteSalesRank.d.ts +32 -0
  194. package/dist/model/WebsiteSalesRank.js +124 -0
  195. package/package.json +67 -0
@@ -0,0 +1,124 @@
1
+ /**
2
+ * Default service.
3
+ * @module api/DefaultApi
4
+ * @version 1.0.0
5
+ */
6
+ export default class DefaultApi {
7
+ /**
8
+ * Constructs a new DefaultApi.
9
+ * @alias module:api/DefaultApi
10
+ * @class
11
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
12
+ * default to {@link module:ApiClient#instance} if unspecified.
13
+ */
14
+ constructor(apiClient?: any);
15
+ apiClient: any;
16
+ /**
17
+ * Given a BrowseNodeId, GetBrowseNodes operation returns the specified browse node's information like name, children and ancestors depending on the resources specified in the request. The names and browse node IDs of the children and ancestor browse nodes are also returned. GetBrowseNodes enables you to traverse the browse node hierarchy to find a browse node. GetBrowseNodes Operation returns Id, DisplayName, ContextFreeName and SalesRank response elements by default. For other response elements associated, with GetBrowseNodes supports the following high-level resources: - BrowseNodes Available in all locales, however, parameter support varies by locale.
18
+ * @param {String} xMarketplace Target Amazon Locale. Type: String Default Value: None Example: 'www.amazon.com'
19
+ * @param {module:model/GetBrowseNodesRequestContent} getBrowseNodesRequestContent
20
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBrowseNodesResponseContent} and HTTP response
21
+ */
22
+ getBrowseNodesWithHttpInfo(xMarketplace: string, getBrowseNodesRequestContent: any): Promise<any>;
23
+ /**
24
+ * Given a BrowseNodeId, GetBrowseNodes operation returns the specified browse node's information like name, children and ancestors depending on the resources specified in the request. The names and browse node IDs of the children and ancestor browse nodes are also returned. GetBrowseNodes enables you to traverse the browse node hierarchy to find a browse node. GetBrowseNodes Operation returns Id, DisplayName, ContextFreeName and SalesRank response elements by default. For other response elements associated, with GetBrowseNodes supports the following high-level resources: - BrowseNodes Available in all locales, however, parameter support varies by locale.
25
+ * @param {String} xMarketplace Target Amazon Locale. Type: String Default Value: None Example: 'www.amazon.com'
26
+ * @param {module:model/GetBrowseNodesRequestContent} getBrowseNodesRequestContent
27
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBrowseNodesResponseContent}
28
+ */
29
+ getBrowseNodes(xMarketplace: string, getBrowseNodesRequestContent: any): Promise<any>;
30
+ /**
31
+ * Get pre-signed S3 Url for a feed
32
+ * @param {String} xMarketplace Target Amazon Locale.
33
+ * @param {module:model/GetFeedRequestContent} getFeedRequestContent
34
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFeedResponseContent} and HTTP response
35
+ */
36
+ getFeedWithHttpInfo(xMarketplace: string, getFeedRequestContent: any): Promise<any>;
37
+ /**
38
+ * Get pre-signed S3 Url for a feed
39
+ * @param {String} xMarketplace Target Amazon Locale.
40
+ * @param {module:model/GetFeedRequestContent} getFeedRequestContent
41
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFeedResponseContent}
42
+ */
43
+ getFeed(xMarketplace: string, getFeedRequestContent: any): Promise<any>;
44
+ /**
45
+ * @param {String} xMarketplace Target Amazon Locale.
46
+ * @param {module:model/GetItemsRequestContent} getItemsRequestContent
47
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetItemsResponseContent} and HTTP response
48
+ */
49
+ getItemsWithHttpInfo(xMarketplace: string, getItemsRequestContent: any): Promise<any>;
50
+ /**
51
+ * @param {String} xMarketplace Target Amazon Locale.
52
+ * @param {module:model/GetItemsRequestContent} getItemsRequestContent
53
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetItemsResponseContent}
54
+ */
55
+ getItems(xMarketplace: string, getItemsRequestContent: any): Promise<any>;
56
+ /**
57
+ * Get pre-signed S3 Url for a report
58
+ * @param {String} xMarketplace Target Amazon Locale.
59
+ * @param {module:model/GetReportRequestContent} getReportRequestContent
60
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetReportResponseContent} and HTTP response
61
+ */
62
+ getReportWithHttpInfo(xMarketplace: string, getReportRequestContent: any): Promise<any>;
63
+ /**
64
+ * Get pre-signed S3 Url for a report
65
+ * @param {String} xMarketplace Target Amazon Locale.
66
+ * @param {module:model/GetReportRequestContent} getReportRequestContent
67
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetReportResponseContent}
68
+ */
69
+ getReport(xMarketplace: string, getReportRequestContent: any): Promise<any>;
70
+ /**
71
+ * Given an ASIN, the GetVariations operation returns a set of items that are the same product, but differ according to a consistent theme, for example size and color. These items which differ according to a consistent theme are called variations. A variation is a child ASIN. The parent ASIN is an abstraction of the children items. For example, a shirt is a parent ASIN and parent ASINs cannot be sold. A child ASIN would be a blue shirt, size 16, sold by MyApparelStore. This child ASIN is one of potentially many variations. The ways in which variations differ are called dimensions. In the preceding example, size and color are the dimensions. GetVariations supports the following high-level resources: - BrowseNodeInfo: Browse nodes associated with items - Images: Product images in various sizes - ItemInfo: Detailed item information including title, features, and specifications - OffersV2: Offer listings with availability, pricing, and merchant details - VariationSummary: Summary of variation dimensions and price ranges By default, GetVariations returns 10 variations per page. Use VariationPage and VariationCount parameters to control pagination. The operation works with both parent ASINs (to retrieve all variations) and child ASINs (to retrieve sibling variations). Available in all locales, however, parameter support varies by locale.
72
+ * @param {String} xMarketplace Target Amazon Locale. This specifies the marketplace where the items should be searched. Example: 'www.amazon.com'
73
+ * @param {module:model/GetVariationsRequestContent} getVariationsRequestContent
74
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetVariationsResponseContent} and HTTP response
75
+ */
76
+ getVariationsWithHttpInfo(xMarketplace: string, getVariationsRequestContent: any): Promise<any>;
77
+ /**
78
+ * Given an ASIN, the GetVariations operation returns a set of items that are the same product, but differ according to a consistent theme, for example size and color. These items which differ according to a consistent theme are called variations. A variation is a child ASIN. The parent ASIN is an abstraction of the children items. For example, a shirt is a parent ASIN and parent ASINs cannot be sold. A child ASIN would be a blue shirt, size 16, sold by MyApparelStore. This child ASIN is one of potentially many variations. The ways in which variations differ are called dimensions. In the preceding example, size and color are the dimensions. GetVariations supports the following high-level resources: - BrowseNodeInfo: Browse nodes associated with items - Images: Product images in various sizes - ItemInfo: Detailed item information including title, features, and specifications - OffersV2: Offer listings with availability, pricing, and merchant details - VariationSummary: Summary of variation dimensions and price ranges By default, GetVariations returns 10 variations per page. Use VariationPage and VariationCount parameters to control pagination. The operation works with both parent ASINs (to retrieve all variations) and child ASINs (to retrieve sibling variations). Available in all locales, however, parameter support varies by locale.
79
+ * @param {String} xMarketplace Target Amazon Locale. This specifies the marketplace where the items should be searched. Example: 'www.amazon.com'
80
+ * @param {module:model/GetVariationsRequestContent} getVariationsRequestContent
81
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetVariationsResponseContent}
82
+ */
83
+ getVariations(xMarketplace: string, getVariationsRequestContent: any): Promise<any>;
84
+ /**
85
+ * Lists all Feeds
86
+ * @param {String} xMarketplace Target Amazon Locale.
87
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListFeedsResponseContent} and HTTP response
88
+ */
89
+ listFeedsWithHttpInfo(xMarketplace: string): Promise<any>;
90
+ /**
91
+ * Lists all Feeds
92
+ * @param {String} xMarketplace Target Amazon Locale.
93
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListFeedsResponseContent}
94
+ */
95
+ listFeeds(xMarketplace: string): Promise<any>;
96
+ /**
97
+ * Lists all available reports.
98
+ * @param {String} xMarketplace Target Amazon Locale.
99
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListReportsResponseContent} and HTTP response
100
+ */
101
+ listReportsWithHttpInfo(xMarketplace: string): Promise<any>;
102
+ /**
103
+ * Lists all available reports.
104
+ * @param {String} xMarketplace Target Amazon Locale.
105
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListReportsResponseContent}
106
+ */
107
+ listReports(xMarketplace: string): Promise<any>;
108
+ /**
109
+ * @param {String} xMarketplace Target Amazon Locale.
110
+ * @param {Object} opts Optional parameters
111
+ * @param {module:model/SearchItemsRequestContent} [searchItemsRequestContent]
112
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SearchItemsResponseContent} and HTTP response
113
+ */
114
+ searchItemsWithHttpInfo(xMarketplace: string, opts: any): Promise<any>;
115
+ /**
116
+ * @param {String} xMarketplace Target Amazon Locale.
117
+ * @param {Object} opts Optional parameters
118
+ * @param {module:model/SearchItemsRequestContent} opts.searchItemsRequestContent
119
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SearchItemsResponseContent}
120
+ */
121
+ searchItems(xMarketplace: string, opts: {
122
+ searchItemsRequestContent: any;
123
+ }): Promise<any>;
124
+ }
@@ -0,0 +1,409 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _AccessDeniedExceptionResponseContent = _interopRequireDefault(require("../model/AccessDeniedExceptionResponseContent"));
9
+ var _GetBrowseNodesRequestContent = _interopRequireDefault(require("../model/GetBrowseNodesRequestContent"));
10
+ var _GetBrowseNodesResponseContent = _interopRequireDefault(require("../model/GetBrowseNodesResponseContent"));
11
+ var _GetFeedRequestContent = _interopRequireDefault(require("../model/GetFeedRequestContent"));
12
+ var _GetFeedResponseContent = _interopRequireDefault(require("../model/GetFeedResponseContent"));
13
+ var _GetItemsRequestContent = _interopRequireDefault(require("../model/GetItemsRequestContent"));
14
+ var _GetItemsResponseContent = _interopRequireDefault(require("../model/GetItemsResponseContent"));
15
+ var _GetReportRequestContent = _interopRequireDefault(require("../model/GetReportRequestContent"));
16
+ var _GetReportResponseContent = _interopRequireDefault(require("../model/GetReportResponseContent"));
17
+ var _GetVariationsRequestContent = _interopRequireDefault(require("../model/GetVariationsRequestContent"));
18
+ var _GetVariationsResponseContent = _interopRequireDefault(require("../model/GetVariationsResponseContent"));
19
+ var _InternalServerExceptionResponseContent = _interopRequireDefault(require("../model/InternalServerExceptionResponseContent"));
20
+ var _ListFeedsResponseContent = _interopRequireDefault(require("../model/ListFeedsResponseContent"));
21
+ var _ListReportsResponseContent = _interopRequireDefault(require("../model/ListReportsResponseContent"));
22
+ var _ResourceNotFoundExceptionResponseContent = _interopRequireDefault(require("../model/ResourceNotFoundExceptionResponseContent"));
23
+ var _SearchItemsRequestContent = _interopRequireDefault(require("../model/SearchItemsRequestContent"));
24
+ var _SearchItemsResponseContent = _interopRequireDefault(require("../model/SearchItemsResponseContent"));
25
+ var _ThrottleExceptionResponseContent = _interopRequireDefault(require("../model/ThrottleExceptionResponseContent"));
26
+ var _UnauthorizedExceptionResponseContent = _interopRequireDefault(require("../model/UnauthorizedExceptionResponseContent"));
27
+ var _ValidationExceptionResponseContent = _interopRequireDefault(require("../model/ValidationExceptionResponseContent"));
28
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
29
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
30
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
31
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
32
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
33
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
34
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
35
+ * Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
36
+ *
37
+ * Licensed under the Apache License, Version 2.0 (the "License").
38
+ * You may not use this file except in compliance with the License.
39
+ * A copy of the License is located at
40
+ *
41
+ * http://www.apache.org/licenses/LICENSE-2.0
42
+ *
43
+ * or in the "license" file accompanying this file. This file is distributed
44
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
45
+ * express or implied. See the License for the specific language governing
46
+ * permissions and limitations under the License.
47
+ */
48
+ /**
49
+ * Default service.
50
+ * @module api/DefaultApi
51
+ * @version 1.0.0
52
+ */
53
+ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
54
+ /**
55
+ * Constructs a new DefaultApi.
56
+ * @alias module:api/DefaultApi
57
+ * @class
58
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
59
+ * default to {@link module:ApiClient#instance} if unspecified.
60
+ */
61
+ function DefaultApi(apiClient) {
62
+ _classCallCheck(this, DefaultApi);
63
+ this.apiClient = apiClient || _ApiClient["default"].instance;
64
+ }
65
+
66
+ /**
67
+ * Given a BrowseNodeId, GetBrowseNodes operation returns the specified browse node's information like name, children and ancestors depending on the resources specified in the request. The names and browse node IDs of the children and ancestor browse nodes are also returned. GetBrowseNodes enables you to traverse the browse node hierarchy to find a browse node. GetBrowseNodes Operation returns Id, DisplayName, ContextFreeName and SalesRank response elements by default. For other response elements associated, with GetBrowseNodes supports the following high-level resources: - BrowseNodes Available in all locales, however, parameter support varies by locale.
68
+ * @param {String} xMarketplace Target Amazon Locale. Type: String Default Value: None Example: 'www.amazon.com'
69
+ * @param {module:model/GetBrowseNodesRequestContent} getBrowseNodesRequestContent
70
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBrowseNodesResponseContent} and HTTP response
71
+ */
72
+ return _createClass(DefaultApi, [{
73
+ key: "getBrowseNodesWithHttpInfo",
74
+ value: function getBrowseNodesWithHttpInfo(xMarketplace, getBrowseNodesRequestContent) {
75
+ var postBody = getBrowseNodesRequestContent;
76
+ // verify the required parameter 'xMarketplace' is set
77
+ if (xMarketplace === undefined || xMarketplace === null) {
78
+ throw new Error("Missing the required parameter 'xMarketplace' when calling getBrowseNodes");
79
+ }
80
+ // verify the required parameter 'getBrowseNodesRequestContent' is set
81
+ if (getBrowseNodesRequestContent === undefined || getBrowseNodesRequestContent === null) {
82
+ throw new Error("Missing the required parameter 'getBrowseNodesRequestContent' when calling getBrowseNodes");
83
+ }
84
+ var pathParams = {};
85
+ var queryParams = {};
86
+ var headerParams = {
87
+ 'x-marketplace': xMarketplace
88
+ };
89
+ var formParams = {};
90
+ var authNames = [];
91
+ var contentTypes = ['application/json'];
92
+ var accepts = ['application/json'];
93
+ var returnType = _GetBrowseNodesResponseContent["default"];
94
+ return this.apiClient.callApi('/catalog/v1/getBrowseNodes', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
95
+ }
96
+
97
+ /**
98
+ * Given a BrowseNodeId, GetBrowseNodes operation returns the specified browse node's information like name, children and ancestors depending on the resources specified in the request. The names and browse node IDs of the children and ancestor browse nodes are also returned. GetBrowseNodes enables you to traverse the browse node hierarchy to find a browse node. GetBrowseNodes Operation returns Id, DisplayName, ContextFreeName and SalesRank response elements by default. For other response elements associated, with GetBrowseNodes supports the following high-level resources: - BrowseNodes Available in all locales, however, parameter support varies by locale.
99
+ * @param {String} xMarketplace Target Amazon Locale. Type: String Default Value: None Example: 'www.amazon.com'
100
+ * @param {module:model/GetBrowseNodesRequestContent} getBrowseNodesRequestContent
101
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBrowseNodesResponseContent}
102
+ */
103
+ }, {
104
+ key: "getBrowseNodes",
105
+ value: function getBrowseNodes(xMarketplace, getBrowseNodesRequestContent) {
106
+ return this.getBrowseNodesWithHttpInfo(xMarketplace, getBrowseNodesRequestContent).then(function (response_and_data) {
107
+ return response_and_data.data;
108
+ });
109
+ }
110
+
111
+ /**
112
+ * Get pre-signed S3 Url for a feed
113
+ * @param {String} xMarketplace Target Amazon Locale.
114
+ * @param {module:model/GetFeedRequestContent} getFeedRequestContent
115
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFeedResponseContent} and HTTP response
116
+ */
117
+ }, {
118
+ key: "getFeedWithHttpInfo",
119
+ value: function getFeedWithHttpInfo(xMarketplace, getFeedRequestContent) {
120
+ var postBody = getFeedRequestContent;
121
+ // verify the required parameter 'xMarketplace' is set
122
+ if (xMarketplace === undefined || xMarketplace === null) {
123
+ throw new Error("Missing the required parameter 'xMarketplace' when calling getFeed");
124
+ }
125
+ // verify the required parameter 'getFeedRequestContent' is set
126
+ if (getFeedRequestContent === undefined || getFeedRequestContent === null) {
127
+ throw new Error("Missing the required parameter 'getFeedRequestContent' when calling getFeed");
128
+ }
129
+ var pathParams = {};
130
+ var queryParams = {};
131
+ var headerParams = {
132
+ 'x-marketplace': xMarketplace
133
+ };
134
+ var formParams = {};
135
+ var authNames = [];
136
+ var contentTypes = ['application/json'];
137
+ var accepts = ['application/json'];
138
+ var returnType = _GetFeedResponseContent["default"];
139
+ return this.apiClient.callApi('/catalog/v1/getFeed', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
140
+ }
141
+
142
+ /**
143
+ * Get pre-signed S3 Url for a feed
144
+ * @param {String} xMarketplace Target Amazon Locale.
145
+ * @param {module:model/GetFeedRequestContent} getFeedRequestContent
146
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFeedResponseContent}
147
+ */
148
+ }, {
149
+ key: "getFeed",
150
+ value: function getFeed(xMarketplace, getFeedRequestContent) {
151
+ return this.getFeedWithHttpInfo(xMarketplace, getFeedRequestContent).then(function (response_and_data) {
152
+ return response_and_data.data;
153
+ });
154
+ }
155
+
156
+ /**
157
+ * @param {String} xMarketplace Target Amazon Locale.
158
+ * @param {module:model/GetItemsRequestContent} getItemsRequestContent
159
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetItemsResponseContent} and HTTP response
160
+ */
161
+ }, {
162
+ key: "getItemsWithHttpInfo",
163
+ value: function getItemsWithHttpInfo(xMarketplace, getItemsRequestContent) {
164
+ var postBody = getItemsRequestContent;
165
+ // verify the required parameter 'xMarketplace' is set
166
+ if (xMarketplace === undefined || xMarketplace === null) {
167
+ throw new Error("Missing the required parameter 'xMarketplace' when calling getItems");
168
+ }
169
+ // verify the required parameter 'getItemsRequestContent' is set
170
+ if (getItemsRequestContent === undefined || getItemsRequestContent === null) {
171
+ throw new Error("Missing the required parameter 'getItemsRequestContent' when calling getItems");
172
+ }
173
+ var pathParams = {};
174
+ var queryParams = {};
175
+ var headerParams = {
176
+ 'x-marketplace': xMarketplace
177
+ };
178
+ var formParams = {};
179
+ var authNames = [];
180
+ var contentTypes = ['application/json'];
181
+ var accepts = ['application/json'];
182
+ var returnType = _GetItemsResponseContent["default"];
183
+ return this.apiClient.callApi('/catalog/v1/getItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
184
+ }
185
+
186
+ /**
187
+ * @param {String} xMarketplace Target Amazon Locale.
188
+ * @param {module:model/GetItemsRequestContent} getItemsRequestContent
189
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetItemsResponseContent}
190
+ */
191
+ }, {
192
+ key: "getItems",
193
+ value: function getItems(xMarketplace, getItemsRequestContent) {
194
+ return this.getItemsWithHttpInfo(xMarketplace, getItemsRequestContent).then(function (response_and_data) {
195
+ return response_and_data.data;
196
+ });
197
+ }
198
+
199
+ /**
200
+ * Get pre-signed S3 Url for a report
201
+ * @param {String} xMarketplace Target Amazon Locale.
202
+ * @param {module:model/GetReportRequestContent} getReportRequestContent
203
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetReportResponseContent} and HTTP response
204
+ */
205
+ }, {
206
+ key: "getReportWithHttpInfo",
207
+ value: function getReportWithHttpInfo(xMarketplace, getReportRequestContent) {
208
+ var postBody = getReportRequestContent;
209
+ // verify the required parameter 'xMarketplace' is set
210
+ if (xMarketplace === undefined || xMarketplace === null) {
211
+ throw new Error("Missing the required parameter 'xMarketplace' when calling getReport");
212
+ }
213
+ // verify the required parameter 'getReportRequestContent' is set
214
+ if (getReportRequestContent === undefined || getReportRequestContent === null) {
215
+ throw new Error("Missing the required parameter 'getReportRequestContent' when calling getReport");
216
+ }
217
+ var pathParams = {};
218
+ var queryParams = {};
219
+ var headerParams = {
220
+ 'x-marketplace': xMarketplace
221
+ };
222
+ var formParams = {};
223
+ var authNames = [];
224
+ var contentTypes = ['application/json'];
225
+ var accepts = ['application/json'];
226
+ var returnType = _GetReportResponseContent["default"];
227
+ return this.apiClient.callApi('/reports/v1/getReport', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
228
+ }
229
+
230
+ /**
231
+ * Get pre-signed S3 Url for a report
232
+ * @param {String} xMarketplace Target Amazon Locale.
233
+ * @param {module:model/GetReportRequestContent} getReportRequestContent
234
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetReportResponseContent}
235
+ */
236
+ }, {
237
+ key: "getReport",
238
+ value: function getReport(xMarketplace, getReportRequestContent) {
239
+ return this.getReportWithHttpInfo(xMarketplace, getReportRequestContent).then(function (response_and_data) {
240
+ return response_and_data.data;
241
+ });
242
+ }
243
+
244
+ /**
245
+ * Given an ASIN, the GetVariations operation returns a set of items that are the same product, but differ according to a consistent theme, for example size and color. These items which differ according to a consistent theme are called variations. A variation is a child ASIN. The parent ASIN is an abstraction of the children items. For example, a shirt is a parent ASIN and parent ASINs cannot be sold. A child ASIN would be a blue shirt, size 16, sold by MyApparelStore. This child ASIN is one of potentially many variations. The ways in which variations differ are called dimensions. In the preceding example, size and color are the dimensions. GetVariations supports the following high-level resources: - BrowseNodeInfo: Browse nodes associated with items - Images: Product images in various sizes - ItemInfo: Detailed item information including title, features, and specifications - OffersV2: Offer listings with availability, pricing, and merchant details - VariationSummary: Summary of variation dimensions and price ranges By default, GetVariations returns 10 variations per page. Use VariationPage and VariationCount parameters to control pagination. The operation works with both parent ASINs (to retrieve all variations) and child ASINs (to retrieve sibling variations). Available in all locales, however, parameter support varies by locale.
246
+ * @param {String} xMarketplace Target Amazon Locale. This specifies the marketplace where the items should be searched. Example: 'www.amazon.com'
247
+ * @param {module:model/GetVariationsRequestContent} getVariationsRequestContent
248
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetVariationsResponseContent} and HTTP response
249
+ */
250
+ }, {
251
+ key: "getVariationsWithHttpInfo",
252
+ value: function getVariationsWithHttpInfo(xMarketplace, getVariationsRequestContent) {
253
+ var postBody = getVariationsRequestContent;
254
+ // verify the required parameter 'xMarketplace' is set
255
+ if (xMarketplace === undefined || xMarketplace === null) {
256
+ throw new Error("Missing the required parameter 'xMarketplace' when calling getVariations");
257
+ }
258
+ // verify the required parameter 'getVariationsRequestContent' is set
259
+ if (getVariationsRequestContent === undefined || getVariationsRequestContent === null) {
260
+ throw new Error("Missing the required parameter 'getVariationsRequestContent' when calling getVariations");
261
+ }
262
+ var pathParams = {};
263
+ var queryParams = {};
264
+ var headerParams = {
265
+ 'x-marketplace': xMarketplace
266
+ };
267
+ var formParams = {};
268
+ var authNames = [];
269
+ var contentTypes = ['application/json'];
270
+ var accepts = ['application/json'];
271
+ var returnType = _GetVariationsResponseContent["default"];
272
+ return this.apiClient.callApi('/catalog/v1/getVariations', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
273
+ }
274
+
275
+ /**
276
+ * Given an ASIN, the GetVariations operation returns a set of items that are the same product, but differ according to a consistent theme, for example size and color. These items which differ according to a consistent theme are called variations. A variation is a child ASIN. The parent ASIN is an abstraction of the children items. For example, a shirt is a parent ASIN and parent ASINs cannot be sold. A child ASIN would be a blue shirt, size 16, sold by MyApparelStore. This child ASIN is one of potentially many variations. The ways in which variations differ are called dimensions. In the preceding example, size and color are the dimensions. GetVariations supports the following high-level resources: - BrowseNodeInfo: Browse nodes associated with items - Images: Product images in various sizes - ItemInfo: Detailed item information including title, features, and specifications - OffersV2: Offer listings with availability, pricing, and merchant details - VariationSummary: Summary of variation dimensions and price ranges By default, GetVariations returns 10 variations per page. Use VariationPage and VariationCount parameters to control pagination. The operation works with both parent ASINs (to retrieve all variations) and child ASINs (to retrieve sibling variations). Available in all locales, however, parameter support varies by locale.
277
+ * @param {String} xMarketplace Target Amazon Locale. This specifies the marketplace where the items should be searched. Example: 'www.amazon.com'
278
+ * @param {module:model/GetVariationsRequestContent} getVariationsRequestContent
279
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetVariationsResponseContent}
280
+ */
281
+ }, {
282
+ key: "getVariations",
283
+ value: function getVariations(xMarketplace, getVariationsRequestContent) {
284
+ return this.getVariationsWithHttpInfo(xMarketplace, getVariationsRequestContent).then(function (response_and_data) {
285
+ return response_and_data.data;
286
+ });
287
+ }
288
+
289
+ /**
290
+ * Lists all Feeds
291
+ * @param {String} xMarketplace Target Amazon Locale.
292
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListFeedsResponseContent} and HTTP response
293
+ */
294
+ }, {
295
+ key: "listFeedsWithHttpInfo",
296
+ value: function listFeedsWithHttpInfo(xMarketplace) {
297
+ var postBody = null;
298
+ // verify the required parameter 'xMarketplace' is set
299
+ if (xMarketplace === undefined || xMarketplace === null) {
300
+ throw new Error("Missing the required parameter 'xMarketplace' when calling listFeeds");
301
+ }
302
+ var pathParams = {};
303
+ var queryParams = {};
304
+ var headerParams = {
305
+ 'x-marketplace': xMarketplace
306
+ };
307
+ var formParams = {};
308
+ var authNames = [];
309
+ var contentTypes = [];
310
+ var accepts = ['application/json'];
311
+ var returnType = _ListFeedsResponseContent["default"];
312
+ return this.apiClient.callApi('/catalog/v1/listFeeds', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
313
+ }
314
+
315
+ /**
316
+ * Lists all Feeds
317
+ * @param {String} xMarketplace Target Amazon Locale.
318
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListFeedsResponseContent}
319
+ */
320
+ }, {
321
+ key: "listFeeds",
322
+ value: function listFeeds(xMarketplace) {
323
+ return this.listFeedsWithHttpInfo(xMarketplace).then(function (response_and_data) {
324
+ return response_and_data.data;
325
+ });
326
+ }
327
+
328
+ /**
329
+ * Lists all available reports.
330
+ * @param {String} xMarketplace Target Amazon Locale.
331
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListReportsResponseContent} and HTTP response
332
+ */
333
+ }, {
334
+ key: "listReportsWithHttpInfo",
335
+ value: function listReportsWithHttpInfo(xMarketplace) {
336
+ var postBody = null;
337
+ // verify the required parameter 'xMarketplace' is set
338
+ if (xMarketplace === undefined || xMarketplace === null) {
339
+ throw new Error("Missing the required parameter 'xMarketplace' when calling listReports");
340
+ }
341
+ var pathParams = {};
342
+ var queryParams = {};
343
+ var headerParams = {
344
+ 'x-marketplace': xMarketplace
345
+ };
346
+ var formParams = {};
347
+ var authNames = [];
348
+ var contentTypes = [];
349
+ var accepts = ['application/json'];
350
+ var returnType = _ListReportsResponseContent["default"];
351
+ return this.apiClient.callApi('/reports/v1/listReports', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
352
+ }
353
+
354
+ /**
355
+ * Lists all available reports.
356
+ * @param {String} xMarketplace Target Amazon Locale.
357
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListReportsResponseContent}
358
+ */
359
+ }, {
360
+ key: "listReports",
361
+ value: function listReports(xMarketplace) {
362
+ return this.listReportsWithHttpInfo(xMarketplace).then(function (response_and_data) {
363
+ return response_and_data.data;
364
+ });
365
+ }
366
+
367
+ /**
368
+ * @param {String} xMarketplace Target Amazon Locale.
369
+ * @param {Object} opts Optional parameters
370
+ * @param {module:model/SearchItemsRequestContent} [searchItemsRequestContent]
371
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SearchItemsResponseContent} and HTTP response
372
+ */
373
+ }, {
374
+ key: "searchItemsWithHttpInfo",
375
+ value: function searchItemsWithHttpInfo(xMarketplace, opts) {
376
+ opts = opts || {};
377
+ var postBody = opts['searchItemsRequestContent'];
378
+ // verify the required parameter 'xMarketplace' is set
379
+ if (xMarketplace === undefined || xMarketplace === null) {
380
+ throw new Error("Missing the required parameter 'xMarketplace' when calling searchItems");
381
+ }
382
+ var pathParams = {};
383
+ var queryParams = {};
384
+ var headerParams = {
385
+ 'x-marketplace': xMarketplace
386
+ };
387
+ var formParams = {};
388
+ var authNames = [];
389
+ var contentTypes = ['application/json'];
390
+ var accepts = ['application/json'];
391
+ var returnType = _SearchItemsResponseContent["default"];
392
+ return this.apiClient.callApi('/catalog/v1/searchItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
393
+ }
394
+
395
+ /**
396
+ * @param {String} xMarketplace Target Amazon Locale.
397
+ * @param {Object} opts Optional parameters
398
+ * @param {module:model/SearchItemsRequestContent} opts.searchItemsRequestContent
399
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SearchItemsResponseContent}
400
+ */
401
+ }, {
402
+ key: "searchItems",
403
+ value: function searchItems(xMarketplace, opts) {
404
+ return this.searchItemsWithHttpInfo(xMarketplace, opts).then(function (response_and_data) {
405
+ return response_and_data.data;
406
+ });
407
+ }
408
+ }]);
409
+ }();