ebay-api 8.5.1 → 8.6.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 (318) hide show
  1. package/README.md +2 -2
  2. package/dist/api/apiFactory.d.ts +0 -3
  3. package/dist/api/apiFactory.js +0 -4
  4. package/dist/api/base.d.ts +0 -3
  5. package/dist/api/base.js +0 -3
  6. package/dist/api/digitalSignature.d.ts +0 -33
  7. package/dist/api/digitalSignature.js +1 -41
  8. package/dist/api/index.d.ts +0 -3
  9. package/dist/api/index.js +0 -3
  10. package/dist/api/restful/buy/browse/index.d.ts +0 -66
  11. package/dist/api/restful/buy/browse/index.js +0 -73
  12. package/dist/api/restful/buy/deal/index.d.ts +0 -32
  13. package/dist/api/restful/buy/deal/index.js +0 -32
  14. package/dist/api/restful/buy/feed/index.d.ts +0 -33
  15. package/dist/api/restful/buy/feed/index.js +0 -33
  16. package/dist/api/restful/buy/marketing/index.d.ts +0 -18
  17. package/dist/api/restful/buy/marketing/index.js +0 -22
  18. package/dist/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  19. package/dist/api/restful/buy/marketplaceInsights/index.js +0 -21
  20. package/dist/api/restful/buy/offer/index.d.ts +0 -15
  21. package/dist/api/restful/buy/offer/index.js +0 -15
  22. package/dist/api/restful/buy/order/index.d.ts +0 -227
  23. package/dist/api/restful/buy/order/index.js +0 -227
  24. package/dist/api/restful/commerce/catalog/index.d.ts +0 -54
  25. package/dist/api/restful/commerce/catalog/index.js +0 -54
  26. package/dist/api/restful/commerce/charity/index.d.ts +0 -21
  27. package/dist/api/restful/commerce/charity/index.js +0 -21
  28. package/dist/api/restful/commerce/identity/index.d.ts +0 -7
  29. package/dist/api/restful/commerce/identity/index.js +0 -7
  30. package/dist/api/restful/commerce/notification/index.d.ts +0 -93
  31. package/dist/api/restful/commerce/notification/index.js +0 -93
  32. package/dist/api/restful/commerce/taxonomy/index.d.ts +0 -64
  33. package/dist/api/restful/commerce/taxonomy/index.js +0 -64
  34. package/dist/api/restful/commerce/translation/index.d.ts +0 -8
  35. package/dist/api/restful/commerce/translation/index.js +0 -8
  36. package/dist/api/restful/developer/analytics/index.d.ts +0 -15
  37. package/dist/api/restful/developer/analytics/index.js +0 -15
  38. package/dist/api/restful/developer/keyManagement/index.d.ts +0 -15
  39. package/dist/api/restful/developer/keyManagement/index.js +0 -15
  40. package/dist/api/restful/index.d.ts +0 -16
  41. package/dist/api/restful/index.js +1 -23
  42. package/dist/api/restful/postOrder/cancellation/index.d.ts +0 -43
  43. package/dist/api/restful/postOrder/cancellation/index.js +0 -43
  44. package/dist/api/restful/postOrder/case/index.d.ts +0 -46
  45. package/dist/api/restful/postOrder/case/index.js +0 -46
  46. package/dist/api/restful/postOrder/inquiry/index.d.ts +0 -64
  47. package/dist/api/restful/postOrder/inquiry/index.js +0 -64
  48. package/dist/api/restful/postOrder/return/index.d.ts +0 -190
  49. package/dist/api/restful/postOrder/return/index.js +0 -190
  50. package/dist/api/restful/sell/account/index.d.ts +0 -241
  51. package/dist/api/restful/sell/account/index.js +0 -241
  52. package/dist/api/restful/sell/analytics/index.d.ts +0 -26
  53. package/dist/api/restful/sell/analytics/index.js +0 -26
  54. package/dist/api/restful/sell/compliance/index.d.ts +0 -23
  55. package/dist/api/restful/sell/compliance/index.js +0 -23
  56. package/dist/api/restful/sell/feed/index.d.ts +0 -135
  57. package/dist/api/restful/sell/feed/index.js +0 -135
  58. package/dist/api/restful/sell/finances/index.d.ts +0 -51
  59. package/dist/api/restful/sell/finances/index.js +0 -51
  60. package/dist/api/restful/sell/fulfillment/index.d.ts +0 -108
  61. package/dist/api/restful/sell/fulfillment/index.js +0 -108
  62. package/dist/api/restful/sell/inventory/index.d.ts +0 -197
  63. package/dist/api/restful/sell/inventory/index.js +0 -197
  64. package/dist/api/restful/sell/listing/index.d.ts +0 -8
  65. package/dist/api/restful/sell/listing/index.js +0 -8
  66. package/dist/api/restful/sell/logistics/index.d.ts +0 -33
  67. package/dist/api/restful/sell/logistics/index.js +0 -33
  68. package/dist/api/restful/sell/marketing/index.d.ts +16 -495
  69. package/dist/api/restful/sell/marketing/index.js +48 -494
  70. package/dist/api/restful/sell/metadata/index.d.ts +0 -65
  71. package/dist/api/restful/sell/metadata/index.js +0 -65
  72. package/dist/api/restful/sell/negotiation/index.d.ts +0 -14
  73. package/dist/api/restful/sell/negotiation/index.js +0 -14
  74. package/dist/api/restful/sell/recommendation/index.d.ts +0 -15
  75. package/dist/api/restful/sell/recommendation/index.js +0 -15
  76. package/dist/api/traditional/XMLRequest.d.ts +0 -44
  77. package/dist/api/traditional/XMLRequest.js +0 -46
  78. package/dist/api/traditional/clientAlerts/index.js +0 -1
  79. package/dist/api/traditional/index.d.ts +0 -3
  80. package/dist/api/traditional/index.js +0 -5
  81. package/dist/api/traditional/shopping/index.js +0 -1
  82. package/dist/auth/authNAuth.d.ts +0 -5
  83. package/dist/auth/authNAuth.js +0 -5
  84. package/dist/auth/index.d.ts +0 -3
  85. package/dist/auth/index.js +0 -3
  86. package/dist/auth/oAuth2.d.ts +0 -52
  87. package/dist/auth/oAuth2.js +0 -53
  88. package/dist/eBayApi.d.ts +0 -11
  89. package/dist/eBayApi.js +0 -14
  90. package/dist/ebay-api.min.mjs +1 -1
  91. package/dist/enums/restfulEnums.d.ts +0 -5
  92. package/dist/enums/restfulEnums.js +0 -5
  93. package/dist/errors/index.d.ts +0 -19
  94. package/dist/errors/index.js +1 -21
  95. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  96. package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  97. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  98. package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  99. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  100. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  101. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  102. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  103. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  104. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  105. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  106. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  107. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  108. package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  109. package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
  110. package/dist/types/restful/specs/cancellation_oas3.js +0 -4
  111. package/dist/types/restful/specs/case_oas3.d.ts +0 -31
  112. package/dist/types/restful/specs/case_oas3.js +0 -4
  113. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  114. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  115. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  116. package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  117. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  118. package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  119. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  120. package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  121. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  122. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  123. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  124. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  125. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  126. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  127. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  128. package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  129. package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
  130. package/dist/types/restful/specs/inquiry_oas3.js +0 -4
  131. package/dist/types/restful/specs/return_oas3.d.ts +0 -130
  132. package/dist/types/restful/specs/return_oas3.js +0 -4
  133. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  134. package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
  135. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  136. package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  137. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  138. package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  139. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  140. package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  141. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  142. package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  143. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  144. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  145. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  146. package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  147. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  148. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  149. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  150. package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  151. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  152. package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  153. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  154. package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  155. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  156. package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  157. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  158. package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  159. package/dist/types/restfulTypes.d.ts +3 -0
  160. package/lib/api/apiFactory.d.ts +0 -3
  161. package/lib/api/apiFactory.js +0 -4
  162. package/lib/api/base.d.ts +0 -3
  163. package/lib/api/base.js +0 -3
  164. package/lib/api/digitalSignature.d.ts +0 -33
  165. package/lib/api/digitalSignature.js +1 -41
  166. package/lib/api/index.d.ts +0 -3
  167. package/lib/api/index.js +0 -3
  168. package/lib/api/restful/buy/browse/index.d.ts +0 -66
  169. package/lib/api/restful/buy/browse/index.js +0 -73
  170. package/lib/api/restful/buy/deal/index.d.ts +0 -32
  171. package/lib/api/restful/buy/deal/index.js +0 -32
  172. package/lib/api/restful/buy/feed/index.d.ts +0 -33
  173. package/lib/api/restful/buy/feed/index.js +0 -33
  174. package/lib/api/restful/buy/marketing/index.d.ts +0 -18
  175. package/lib/api/restful/buy/marketing/index.js +0 -22
  176. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  177. package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
  178. package/lib/api/restful/buy/offer/index.d.ts +0 -15
  179. package/lib/api/restful/buy/offer/index.js +0 -15
  180. package/lib/api/restful/buy/order/index.d.ts +0 -227
  181. package/lib/api/restful/buy/order/index.js +0 -227
  182. package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
  183. package/lib/api/restful/commerce/catalog/index.js +0 -54
  184. package/lib/api/restful/commerce/charity/index.d.ts +0 -21
  185. package/lib/api/restful/commerce/charity/index.js +0 -21
  186. package/lib/api/restful/commerce/identity/index.d.ts +0 -7
  187. package/lib/api/restful/commerce/identity/index.js +0 -7
  188. package/lib/api/restful/commerce/notification/index.d.ts +0 -93
  189. package/lib/api/restful/commerce/notification/index.js +0 -93
  190. package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
  191. package/lib/api/restful/commerce/taxonomy/index.js +0 -64
  192. package/lib/api/restful/commerce/translation/index.d.ts +0 -8
  193. package/lib/api/restful/commerce/translation/index.js +0 -8
  194. package/lib/api/restful/developer/analytics/index.d.ts +0 -15
  195. package/lib/api/restful/developer/analytics/index.js +0 -15
  196. package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
  197. package/lib/api/restful/developer/keyManagement/index.js +0 -15
  198. package/lib/api/restful/index.d.ts +0 -16
  199. package/lib/api/restful/index.js +1 -23
  200. package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
  201. package/lib/api/restful/postOrder/cancellation/index.js +0 -43
  202. package/lib/api/restful/postOrder/case/index.d.ts +0 -46
  203. package/lib/api/restful/postOrder/case/index.js +0 -46
  204. package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
  205. package/lib/api/restful/postOrder/inquiry/index.js +0 -64
  206. package/lib/api/restful/postOrder/return/index.d.ts +0 -190
  207. package/lib/api/restful/postOrder/return/index.js +0 -190
  208. package/lib/api/restful/sell/account/index.d.ts +0 -241
  209. package/lib/api/restful/sell/account/index.js +0 -241
  210. package/lib/api/restful/sell/analytics/index.d.ts +0 -26
  211. package/lib/api/restful/sell/analytics/index.js +0 -26
  212. package/lib/api/restful/sell/compliance/index.d.ts +0 -23
  213. package/lib/api/restful/sell/compliance/index.js +0 -23
  214. package/lib/api/restful/sell/feed/index.d.ts +0 -135
  215. package/lib/api/restful/sell/feed/index.js +0 -135
  216. package/lib/api/restful/sell/finances/index.d.ts +0 -51
  217. package/lib/api/restful/sell/finances/index.js +0 -51
  218. package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
  219. package/lib/api/restful/sell/fulfillment/index.js +0 -108
  220. package/lib/api/restful/sell/inventory/index.d.ts +0 -197
  221. package/lib/api/restful/sell/inventory/index.js +0 -197
  222. package/lib/api/restful/sell/listing/index.d.ts +0 -8
  223. package/lib/api/restful/sell/listing/index.js +0 -8
  224. package/lib/api/restful/sell/logistics/index.d.ts +0 -33
  225. package/lib/api/restful/sell/logistics/index.js +0 -33
  226. package/lib/api/restful/sell/marketing/index.d.ts +16 -495
  227. package/lib/api/restful/sell/marketing/index.js +48 -494
  228. package/lib/api/restful/sell/metadata/index.d.ts +0 -65
  229. package/lib/api/restful/sell/metadata/index.js +0 -65
  230. package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
  231. package/lib/api/restful/sell/negotiation/index.js +0 -14
  232. package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
  233. package/lib/api/restful/sell/recommendation/index.js +0 -15
  234. package/lib/api/traditional/XMLRequest.d.ts +0 -44
  235. package/lib/api/traditional/XMLRequest.js +0 -46
  236. package/lib/api/traditional/clientAlerts/index.js +0 -1
  237. package/lib/api/traditional/index.d.ts +0 -3
  238. package/lib/api/traditional/index.js +0 -5
  239. package/lib/api/traditional/shopping/index.js +0 -1
  240. package/lib/auth/authNAuth.d.ts +0 -5
  241. package/lib/auth/authNAuth.js +0 -5
  242. package/lib/auth/index.d.ts +0 -3
  243. package/lib/auth/index.js +0 -3
  244. package/lib/auth/oAuth2.d.ts +0 -52
  245. package/lib/auth/oAuth2.js +0 -53
  246. package/lib/eBayApi.d.ts +0 -11
  247. package/lib/eBayApi.js +0 -14
  248. package/lib/ebay-api.min.js +1 -1
  249. package/lib/enums/restfulEnums.d.ts +0 -5
  250. package/lib/enums/restfulEnums.js +0 -5
  251. package/lib/errors/index.d.ts +0 -19
  252. package/lib/errors/index.js +1 -21
  253. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  254. package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  255. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  256. package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  257. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  258. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  259. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  260. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  261. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  262. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  263. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  264. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  265. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  266. package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  267. package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
  268. package/lib/types/restful/specs/cancellation_oas3.js +0 -4
  269. package/lib/types/restful/specs/case_oas3.d.ts +0 -31
  270. package/lib/types/restful/specs/case_oas3.js +0 -4
  271. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  272. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  273. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  274. package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  275. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  276. package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  277. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  278. package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  279. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  280. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  281. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  282. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  283. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  284. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  285. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  286. package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  287. package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
  288. package/lib/types/restful/specs/inquiry_oas3.js +0 -4
  289. package/lib/types/restful/specs/return_oas3.d.ts +0 -130
  290. package/lib/types/restful/specs/return_oas3.js +0 -4
  291. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  292. package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
  293. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  294. package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  295. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  296. package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  297. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  298. package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  299. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  300. package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  301. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  302. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  303. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  304. package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  305. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  306. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  307. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  308. package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  309. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  310. package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  311. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  312. package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  313. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  314. package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  315. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  316. package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  317. package/lib/types/restfulTypes.d.ts +3 -0
  318. package/package.json +2 -2
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by openapi-typescript.
4
- * Do not make direct changes to the file.
5
- */
6
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,142 +1,69 @@
1
- /**
2
- * This file was auto-generated by openapi-typescript.
3
- * Do not make direct changes to the file.
4
- */
5
1
  export interface paths {
6
2
  "/merchandised_product/get_also_bought_products": {
7
- /** @description This call returns products that were also bought when shoppers bought the product specified in the request. Showing 'also bought' products inspires up-selling and cross-selling. You specify the product by one of the following: epid - eBay Product ID gtin - Global Trade Item Number (UPC, ISBN, EAN) brand (brand name, such as Nike) plus mpn (Manufacturer's Part Number) Restrictions For a list of supported sites and other restrictions, see API Restrictions. Note: A maximum of 12 products are returned. The call will return up to 12 products, but it can be less than 12. If the number of products found is less than 12, the call will return all of the products matching the criteria. */
8
3
  get: operations["getAlsoBoughtByProduct"];
9
4
  };
10
5
  "/merchandised_product/get_also_viewed_products": {
11
- /** @description This call returns products that were also viewed when shoppers viewed the product specified in the request. Showing 'also viewed' products encourages up-selling and cross-selling. You specify the product by one of the following: epid - eBay Product ID gtin - Global Trade Item Number (UPC, ISBN, EAN) brand (brand name, such as Nike) plus mpn (Manufacturer's Part Number) Restrictions For a list of supported sites and other restrictions, see API Restrictions. Note: A maximum of 12 products are returned. The call will return up to 12 products, but it can be less than 12. If the number of products found is less than 12, the call will return all of the products matching the criteria. */
12
6
  get: operations["getAlsoViewedByProduct"];
13
7
  };
14
8
  "/merchandised_product": {
15
- /** @description This call returns an array of products based on the category and metric specified. This includes details of the product, such as the eBay product ID (EPID), title, and user reviews and ratings for the product. You can use the epid returned by this call in the Browse API search call to retrieve items for this product. Restrictions For a list of supported sites and other restrictions, see API Restrictions. */
16
9
  get: operations["getMerchandisedProducts"];
17
10
  };
18
11
  }
19
12
  export type webhooks = Record<string, never>;
20
13
  export interface components {
21
14
  schemas: {
22
- /** @description The type that defines the fields that can be returned in an error. */
23
15
  Error: {
24
- /** @description This string value indicates the error category. There are three categories of errors: request errors, application errors, and system errors. */
25
16
  category?: string;
26
- /** @description The name of the primary system where the error occurred. This is relevant for application errors. */
27
17
  domain?: string;
28
- /**
29
- * Format: int32
30
- * @description A unique code that identifies the particular error or warning that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms.
31
- */
32
18
  errorId?: number;
33
- /** @description An array of reference IDs that identify the specific request elements most closely associated to the error or warning, if any. */
34
19
  inputRefIds?: (string)[];
35
- /** @description A detailed description of the condition that caused the error or warning, and information on what to do to correct the problem. */
36
20
  longMessage?: string;
37
- /** @description A description of the condition that caused the error or warning. */
38
21
  message?: string;
39
- /** @description An array of reference IDs that identify the specific response elements most closely associated to the error or warning, if any. */
40
22
  outputRefIds?: (string)[];
41
- /** @description An array of warning and error messages that return one or more variables contextual information about the error or warning. This is often the field or value that triggered the error or warning. */
42
23
  parameters?: (components["schemas"]["ErrorParameter"])[];
43
- /** @description The name of the subdomain in which the error or warning occurred. */
44
24
  subdomain?: string;
45
25
  };
46
- /** @description An array of name/value pairs that provide more details regarding error condition. */
47
26
  ErrorParameter: {
48
- /** @description This is the name of input field that caused an issue with the call request. */
49
27
  name?: string;
50
- /** @description This is the actual value that was passed in for the element specified in the name field. */
51
28
  value?: string;
52
29
  };
53
- /** @description This type defines the monetary value of an amount and the currency used. */
54
30
  Amount: {
55
- /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the value field. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/marketing/types/CurrencyCodeEnum.html'>eBay API documentation</a> */
56
31
  currency?: string;
57
- /** @description The monetary amount, in the currency specified by the currency field. */
58
32
  value?: string;
59
33
  };
60
- /** @description The type that defines the fields for the best selling product information. */
61
34
  BestSellingProductResponse: {
62
- /** @description An array of containers for the products. */
63
35
  merchandisedProducts?: (components["schemas"]["MerchandisedProduct"])[];
64
- /** @description The container with all the warnings for the input request. */
65
36
  warnings?: (components["schemas"]["Error"])[];
66
37
  };
67
- /** @description Type the defines the details of an image, such as size and URL. Currently only imageUrl is getting populated. The height and width were added for future use. */
68
38
  Image: {
69
- /**
70
- * Format: int32
71
- * @description Reserved for future use.
72
- */
73
39
  height?: number;
74
- /** @description The URL of the image. */
75
40
  imageUrl?: string;
76
- /**
77
- * Format: int32
78
- * @description Reserved for future use.
79
- */
80
41
  width?: number;
81
42
  };
82
- /** @description The type that defines the fields for details about the product, such as condition and estimated start price. */
83
43
  MarketPriceDetail: {
84
- /** @description The name for the condition of the product. For example: NEW */
85
44
  conditionGroup?: string;
86
- /** @description An array of condition identifiers for the product. */
87
45
  conditionIds?: (string)[];
88
- /** @description The lowest priced active item for this product on eBay. */
89
46
  estimatedStartPrice?: components["schemas"]["Amount"];
90
47
  };
91
- /** @description The type that defines the fields for product information, including price, condition, ratings, etc. */
92
48
  MerchandisedProduct: {
93
- /** @description The average rating for the product based on eBay user ratings. */
94
49
  averageRating?: string;
95
- /** @description The eBay product identifier of a product from the eBay product catalog. You can use this value in the Browse API search call to retrieve items for this product. */
96
50
  epid?: string;
97
- /** @description The container for the product image. */
98
51
  image?: components["schemas"]["Image"];
99
- /** @description An array of containers for the product market price details, such as condition and market price. */
100
52
  marketPriceDetails?: (components["schemas"]["MarketPriceDetail"])[];
101
- /** @description An array of containers for ratings of the product aspects, such as &quot;Is it a good value&quot;. */
102
53
  ratingAspects?: (components["schemas"]["RatingAspect"])[];
103
- /**
104
- * Format: int32
105
- * @description The total number of eBay users that rated the product.
106
- */
107
54
  ratingCount?: number;
108
- /**
109
- * Format: int32
110
- * @description The total number of eBay users that wrote a review for the product.
111
- */
112
55
  reviewCount?: number;
113
- /** @description The title of the product. */
114
56
  title?: string;
115
57
  };
116
- /** @description The type that defines the fields for the product aspect ratings. */
117
58
  RatingAspect: {
118
- /**
119
- * Format: int32
120
- * @description The number of eBay users that rated the product on this aspect.
121
- */
122
59
  count?: number;
123
- /** @description The name of the rating aspect. Camping tent examples: Is it lightweight? or Is it easy to set up? */
124
60
  description?: string;
125
- /** @description The answer or value of the rating aspect. Camping tent examples: Lightweight or Easy to set up */
126
61
  name?: string;
127
- /** @description The container for the details of the aspect rating. The details show the aspect rating value, usually TRUE or FALSE and the user count and percentage. */
128
62
  ratingAspectDistributions?: (components["schemas"]["RatingAspectDistribution"])[];
129
63
  };
130
- /** @description The type that defines the field for the aspect rating details, such as the aspect rating value, usually TRUE or FALSE and the user count and percentage. */
131
64
  RatingAspectDistribution: {
132
- /**
133
- * Format: int32
134
- * @description The number of eBay users that choose this rating aspect value.
135
- */
136
65
  count?: number;
137
- /** @description The percentage of the aspect rating value. ratingAspectDistributions.percentage = ratingAspectDistributions.count / ratingAspects.count */
138
66
  percentage?: string;
139
- /** @description The rating aspect. For example: TRUE or FALSE */
140
67
  value?: string;
141
68
  };
142
69
  };
@@ -148,30 +75,22 @@ export interface components {
148
75
  }
149
76
  export type external = Record<string, never>;
150
77
  export interface operations {
151
- /** @description This call returns products that were also bought when shoppers bought the product specified in the request. Showing 'also bought' products inspires up-selling and cross-selling. You specify the product by one of the following: epid - eBay Product ID gtin - Global Trade Item Number (UPC, ISBN, EAN) brand (brand name, such as Nike) plus mpn (Manufacturer's Part Number) Restrictions For a list of supported sites and other restrictions, see API Restrictions. Note: A maximum of 12 products are returned. The call will return up to 12 products, but it can be less than 12. If the number of products found is less than 12, the call will return all of the products matching the criteria. */
152
78
  getAlsoBoughtByProduct: {
153
79
  parameters: {
154
80
  query?: {
155
- /** @description The brand of the product. Restriction: This must be used along with mpn. Required: You must specify one epid, or one gtin, or one brand plus mpn pair. */
156
81
  brand?: string;
157
- /** @description The eBay product identifier of a product. Required: You must specify one epid, or one gtin, or one brand plus mpn pair. */
158
82
  epid?: string;
159
- /** @description The unique Global Trade Item Number of the item as defined by http://www.gtin.info. This can be a UPC (Universal Product Code), EAN (European Article Number), or an ISBN (International Standard Book Number value. Required: You must specify one epid, or one gtin, or one brand plus mpn pair. */
160
83
  gtin?: string;
161
- /** @description The manufacturer part number of the product. Restriction: This must be used along with brand. Required: You must specify one epid, or one gtin, or one brand plus mpn pair. */
162
84
  mpn?: string;
163
85
  };
164
86
  };
165
87
  responses: {
166
- /** @description This call returns products that were also bought when shoppers bought the product specified in the request. Showing 'also bought' products inspires up-selling and cross-selling. You specify the product by one of the following: epid - eBay Product ID gtin - Global Trade Item Number (UPC, ISBN, EAN) brand (brand name, such as Nike) plus mpn (Manufacturer's Part Number) Restrictions For a list of supported sites and other restrictions, see API Restrictions. Note: A maximum of 12 products are returned. The call will return up to 12 products, but it can be less than 12. If the number of products found is less than 12, the call will return all of the products matching the criteria. */
167
88
  200: {
168
89
  content: {
169
90
  "application/json": components["schemas"]["BestSellingProductResponse"];
170
91
  };
171
92
  };
172
- /** @description No Content */
173
93
  204: never;
174
- /** @description Bad Request */
175
94
  400: {
176
95
  content: {
177
96
  "application/json": {
@@ -179,7 +98,6 @@ export interface operations {
179
98
  };
180
99
  };
181
100
  };
182
- /** @description Conflict */
183
101
  409: {
184
102
  content: {
185
103
  "application/json": {
@@ -187,7 +105,6 @@ export interface operations {
187
105
  };
188
106
  };
189
107
  };
190
- /** @description Internal Server Error */
191
108
  500: {
192
109
  content: {
193
110
  "application/json": {
@@ -197,30 +114,22 @@ export interface operations {
197
114
  };
198
115
  };
199
116
  };
200
- /** @description This call returns products that were also viewed when shoppers viewed the product specified in the request. Showing 'also viewed' products encourages up-selling and cross-selling. You specify the product by one of the following: epid - eBay Product ID gtin - Global Trade Item Number (UPC, ISBN, EAN) brand (brand name, such as Nike) plus mpn (Manufacturer's Part Number) Restrictions For a list of supported sites and other restrictions, see API Restrictions. Note: A maximum of 12 products are returned. The call will return up to 12 products, but it can be less than 12. If the number of products found is less than 12, the call will return all of the products matching the criteria. */
201
117
  getAlsoViewedByProduct: {
202
118
  parameters: {
203
119
  query?: {
204
- /** @description The brand of the product. Restriction: This must be used along with mpn. Required: You must specify one epid, or one gtin, or one brand plus mpn pair. */
205
120
  brand?: string;
206
- /** @description The eBay product identifier of a product. Required: You must specify one epid, or one gtin, or one brand plus mpn pair. */
207
121
  epid?: string;
208
- /** @description The unique Global Trade Item Number of the item as defined by http://www.gtin.info. This can be a UPC (Universal Product Code), EAN (European Article Number), or an ISBN (International Standard Book Number value. Required: You must specify one epid, or one gtin, or one brand plus mpn pair. */
209
122
  gtin?: string;
210
- /** @description The manufacturer part number of the product. Restriction: This must be used along with brand. */
211
123
  mpn?: string;
212
124
  };
213
125
  };
214
126
  responses: {
215
- /** @description This call returns products that were also viewed when shoppers viewed the product specified in the request. Showing 'also viewed' products encourages up-selling and cross-selling. You specify the product by one of the following: epid - eBay Product ID gtin - Global Trade Item Number (UPC, ISBN, EAN) brand (brand name, such as Nike) plus mpn (Manufacturer's Part Number) Restrictions For a list of supported sites and other restrictions, see API Restrictions. Note: A maximum of 12 products are returned. The call will return up to 12 products, but it can be less than 12. If the number of products found is less than 12, the call will return all of the products matching the criteria. */
216
127
  200: {
217
128
  content: {
218
129
  "application/json": components["schemas"]["BestSellingProductResponse"];
219
130
  };
220
131
  };
221
- /** @description No Content */
222
132
  204: never;
223
- /** @description Bad Request */
224
133
  400: {
225
134
  content: {
226
135
  "application/json": {
@@ -228,7 +137,6 @@ export interface operations {
228
137
  };
229
138
  };
230
139
  };
231
- /** @description Conflict */
232
140
  409: {
233
141
  content: {
234
142
  "application/json": {
@@ -236,7 +144,6 @@ export interface operations {
236
144
  };
237
145
  };
238
146
  };
239
- /** @description Internal Server Error */
240
147
  500: {
241
148
  content: {
242
149
  "application/json": {
@@ -246,28 +153,21 @@ export interface operations {
246
153
  };
247
154
  };
248
155
  };
249
- /** @description This call returns an array of products based on the category and metric specified. This includes details of the product, such as the eBay product ID (EPID), title, and user reviews and ratings for the product. You can use the epid returned by this call in the Browse API search call to retrieve items for this product. Restrictions For a list of supported sites and other restrictions, see API Restrictions. */
250
156
  getMerchandisedProducts: {
251
157
  parameters: {
252
158
  query: {
253
- /** @description The aspect name/value pairs used to further refine product results. For example: &nbsp;&nbsp;&nbsp;/buy/marketing/v1_beta/merchandised_product?category_id=31388&amp;metric_name=BEST_SELLING&amp;aspect_filter=Brand:Canon You can use the Browse API search call with the fieldgroups=ASPECT_REFINEMENTS field to return the aspects of a product. For implementation help, refer to eBay API documentation at https://developer.ebay.com/devzone/rest/api-ref/marketing/types/MarketingAspectFilter.html */
254
159
  aspect_filter?: string;
255
- /** @description This query parameter limits the products returned to a specific eBay category. The list of eBay category IDs is not published and category IDs are not all the same across all the eBay maketplace. You can use the following techniques to find a category by site: Use the Category Changes page. Use the Taxonomy API. For details see Get Categories for Buy APIs. Use the Browse API and submit the following call to get the dominantCategoryId for an item. /buy/browse/v1/item_summary/search?q=keyword&amp;fieldgroups=ASPECT_REFINEMENTS Maximum: 1 Required: 1 */
256
160
  category_id: string;
257
- /** @description This value specifies the maximum number of products to return in a result set. Note: Maximum value means the call will return up to that many products per set, but it can be less than this value. If the number of products found is less than this value, the call will return all of the products matching the criteria. Default: 8 Maximum: 100 */
258
161
  limit?: string;
259
- /** @description This value filters the result set by the specified metric. Only products in this metric are returned. Currently, the only metric supported is BEST_SELLING. Default: BEST_SELLING Maximum: 1 Required: 1 */
260
162
  metric_name: string;
261
163
  };
262
164
  };
263
165
  responses: {
264
- /** @description This call returns an array of products based on the category and metric specified. This includes details of the product, such as the eBay product ID (EPID), title, and user reviews and ratings for the product. You can use the epid returned by this call in the Browse API search call to retrieve items for this product. Restrictions For a list of supported sites and other restrictions, see API Restrictions. */
265
166
  200: {
266
167
  content: {
267
168
  "application/json": components["schemas"]["BestSellingProductResponse"];
268
169
  };
269
170
  };
270
- /** @description Bad Request */
271
171
  400: {
272
172
  content: {
273
173
  "application/json": {
@@ -275,7 +175,6 @@ export interface operations {
275
175
  };
276
176
  };
277
177
  };
278
- /** @description Internal Server Error */
279
178
  500: {
280
179
  content: {
281
180
  "application/json": {
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by openapi-typescript.
4
- * Do not make direct changes to the file.
5
- */
6
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,254 +1,119 @@
1
- /**
2
- * This file was auto-generated by openapi-typescript.
3
- * Do not make direct changes to the file.
4
- */
5
1
  export interface paths {
6
2
  "/item_sales/search": {
7
- /** @description (Limited Release) This method searches for sold eBay items by various URI query parameters and retrieves the sales history of the items for the last 90 days. You can search by keyword, category, eBay product ID (ePID), or GTIN, or a combination of these. This method also supports the following: Filtering by the value of one or multiple fields, such as listing format, item condition, price range, location, and more. For the fields supported by this method, see the filter parameter. Retrieving the refinements (metadata) of an item , such as item aspects (color, brand), condition, category, etc. using the fieldgroups parameter. Filtering by item aspects and other refinements using the aspect_filter parameter. Creating aspects histograms, which enables shoppers to drill down in each refinement narrowing the search results. For details and examples of these capabilities, see Browse API in the Buying Integration Guide. Pagination and sort controls There are pagination controls (limit and offset fields) and sort query parameters that control/sort the data that is returned. By default, the results are sorted by &quot;Best Match&quot;. For more information about Best Match, see the eBay help page Best Match. URLs for this method Production URL: https://api.ebay.com/buy/marketplace_insights/v1_beta/item_sales/ Sandbox URL: https://api.sandbox.ebay.com/buy/marketplace_insights/v1_beta/item_sales/ Request headers You will want to use the X-EBAY-C-ENDUSERCTX request header with this method. If you are an eBay Network Partner you must use affiliateCampaignId=ePNCampaignId,affiliateReferenceId=referenceId in the header in order to be paid for selling eBay items on your site . For details see, Request headers in the Buy APIs Overview. URL Encoding for Parameters Query parameter values need to be URL encoded. For details, see URL encoding query parameter values. Restrictions For a list of supported sites and other restrictions, see API Restrictions. */
8
3
  get: operations["search"];
9
4
  };
10
5
  }
11
6
  export type webhooks = Record<string, never>;
12
7
  export interface components {
13
8
  schemas: {
14
- /** @description The type that define the fields for the aspect information. Aspects are the variations of an item, such as color, size, etc. */
15
9
  AspectDistribution: {
16
- /** @description An array of containers for the various values of the aspect and the match count and a HATEOAS reference ( refinementHref) for this aspect. */
17
10
  aspectValueDistributions?: (components["schemas"]["AspectValueDistribution"])[];
18
- /** @description Name of an aspect, such as Brand, Color, etc. */
19
11
  localizedAspectName?: string;
20
12
  };
21
- /** @description The container that defines the fields for the conditions refinements. This container is returned when fieldgroups is set to ASPECT_REFINEMENTS or FULL in the request. */
22
13
  AspectValueDistribution: {
23
- /** @description The value of an aspect. For example, Red is a value for the aspect Color. */
24
14
  localizedAspectValue?: string;
25
- /**
26
- * Format: int32
27
- * @description The number of items with this aspect.
28
- */
29
15
  matchCount?: number;
30
- /** @description A HATEOAS reference for this aspect. */
31
16
  refinementHref?: string;
32
17
  };
33
- /** @description The container that defines the fields for the buying options refinements. This container is returned when fieldgroups is set to BUYING_OPTION_REFINEMENTS or FULL in the request. */
34
18
  BuyingOptionDistribution: {
35
19
  buyingOption?: string;
36
- /**
37
- * Format: int32
38
- * @description The number of items having this buying option.
39
- */
40
20
  matchCount?: number;
41
- /** @description The HATEOAS reference for this buying option. */
42
21
  refinementHref?: string;
43
22
  };
44
- /** @description This type is used by the categories container in the response of the search method, and contains the primary item category ID of the item, as well as the secondary item category if the item was listed in two categories. */
45
23
  Category: {
46
- /** @description The unique identifier of the primary item category of the item, as well as the secondary item category if item was listed in two categories. */
47
24
  categoryId?: string;
48
25
  };
49
- /** @description The container that defines the fields for the category refinements. This container is returned when fieldgroups is set to CATEGORY_REFINEMENTS or FULL in the request. */
50
26
  CategoryDistribution: {
51
- /** @description The identifier of the category. */
52
27
  categoryId?: string;
53
- /** @description The name of the category, such as Baby &amp; Toddler Clothing. */
54
28
  categoryName?: string;
55
- /**
56
- * Format: int32
57
- * @description The number of items in this category.
58
- */
59
29
  matchCount?: number;
60
- /** @description The HATEOAS reference of this category. */
61
30
  refinementHref?: string;
62
31
  };
63
- /** @description The container that defines the fields for the conditions refinements. This container is returned when fieldgroups is set to CONDITION_REFINEMENTS or FULL in the request. */
64
32
  ConditionDistribution: {
65
- /** @description The text describing the condition of the item, such as New or Used. For a list of condition names, see ConditionEnum. Code so that your app gracefully handles any future changes to this list. */
66
33
  condition?: string;
67
- /** @description The identifier of the condition. For example, 1000 is the identifier for NEW. */
68
34
  conditionId?: string;
69
- /**
70
- * Format: int32
71
- * @description The number of items having the condition.
72
- */
73
35
  matchCount?: number;
74
- /** @description The HATEOAS reference of this condition. */
75
36
  refinementHref?: string;
76
37
  };
77
38
  ConvertedAmount: {
78
- /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the convertedFromValue field. This value represents the pre-conversion currency. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/buy/marketplace_insights/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
79
39
  convertedFromCurrency?: string;
80
- /** @description The monetary amount before any conversion is performed, in the currency specified by the convertedFromCurrency field. The value field contains the converted amount of this value, in the currency specified by the currency field. */
81
40
  convertedFromValue?: string;
82
- /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the value field. This value represents the post-conversion currency of the amount in the value field. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/buy/marketplace_insights/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
83
41
  currency?: string;
84
- /** @description The monetary value in the currency specified in the currency field. */
85
42
  value?: string;
86
43
  };
87
- /** @description This type defines the fields that can be returned in an error. */
88
44
  Error: {
89
- /** @description Identifies the type of erro. */
90
45
  category?: string;
91
- /** @description Name for the primary system where the error occurred. This is relevant for application errors. */
92
46
  domain?: string;
93
- /**
94
- * Format: int32
95
- * @description A unique number to identify the error.
96
- */
97
47
  errorId?: number;
98
- /** @description An array of request elements most closely associated to the error. */
99
48
  inputRefIds?: (string)[];
100
- /** @description A more detailed explanation of the error. */
101
49
  longMessage?: string;
102
- /** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
103
50
  message?: string;
104
- /** @description An array of request elements most closely associated to the error. */
105
51
  outputRefIds?: (string)[];
106
- /** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
107
52
  parameters?: (components["schemas"]["ErrorParameter"])[];
108
- /** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
109
53
  subdomain?: string;
110
54
  };
111
55
  ErrorParameter: {
112
- /** @description The object of the error. */
113
56
  name?: string;
114
- /** @description The value of the object. */
115
57
  value?: string;
116
58
  };
117
- /** @description Type the defines the details of an image, such as size and image URL. Currently only imageUrl is populated. The height and width were added for future use. */
118
59
  Image: {
119
- /**
120
- * Format: int32
121
- * @description Reserved for future use.
122
- */
123
60
  height?: number;
124
- /** @description The URL of the image. */
125
61
  imageUrl?: string;
126
- /**
127
- * Format: int32
128
- * @description Reserved for future use.
129
- */
130
62
  width?: number;
131
63
  };
132
- /** @description The type that defines the fields for the locaton of an item, including postal code, county, state/province, street address, city, and country (2-digit ISO code). */
133
64
  ItemLocation: {
134
- /** @description The first line of the street address. */
135
65
  addressLine1?: string;
136
- /** @description The second line of the street address. This field may contain such values as an apartment or suite number. */
137
66
  addressLine2?: string;
138
- /** @description The city in which the item is located. */
139
67
  city?: string;
140
- /** @description The two-letter ISO 3166 standard code that indicates the country in which the item is located. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/buy/marketplace_insights/types/ba:CountryCodeEnum'>eBay API documentation</a> */
141
68
  country?: string;
142
- /** @description The county in which the item is located. */
143
69
  county?: string;
144
- /** @description The postal code (or zip code in US) where the item is located. Note: Beginning in late January 2020, the displayed postal code will be masked to all users. Different countries will mask postal/zip codes in slightly different ways, but an example would be 951**. */
145
70
  postalCode?: string;
146
- /** @description The state or province in which the item is located. */
147
71
  stateOrProvince?: string;
148
72
  };
149
- /** @description This type defines the fields for the sold items sales history information. */
150
73
  ItemSales: {
151
- /** @description An array of containers with the URLs for the images that are in addition to the primary image. The primary image is returned in the image.imageUrl field. */
152
74
  additionalImages?: (components["schemas"]["Image"])[];
153
- /** @description This indicates if the item is for adults only. For more information about adult-only items on eBay, see Adult items policy for sellers and Adult-Only items on eBay for buyers. */
154
75
  adultOnly?: boolean;
155
- /**
156
- * Format: int32
157
- * @description This integer value indicates the total number of bids that have been placed for an auction item. This field is only returned for auction items.
158
- */
159
76
  bidCount?: number;
160
- /** @description A comma separated list of the purchase options available for the item, such as FIXED_PRICE, AUCTION. FIXED_PRICE - Returned for fixed-price items (non-auction) AUCTION - Returned for auction items without Buy It Now feature FIXED_PRICE and AUCTION - Returned for auction items enabled with the Buy It Now feature Code so that your app gracefully handles any future changes to this list. */
161
77
  buyingOptions?: (string)[];
162
- /** @description This container returns the primary category ID of the item, as well as the secondary category if the item was listed in two categories. */
163
78
  categories?: (components["schemas"]["Category"])[];
164
- /** @description The text describing the condition of the item, such as New or Used. For a list of condition names, see Item Condition IDs and Names. Code so that your app gracefully handles any future changes to this list. */
165
79
  condition?: string;
166
- /** @description The identifier of the condition of the item. For example, 1000 is the identifier for NEW. For a list of condition names and IDs, see Item Condition IDs and Names. Code so that your app gracefully handles any future changes to this list. */
167
80
  conditionId?: string;
168
- /** @description An ePID is the eBay product identifier of a product from the eBay product catalog. This indicates the product in which the item belongs. */
169
81
  epid?: string;
170
- /** @description The URL to the primary image of the item. */
171
82
  image?: components["schemas"]["Image"];
172
- /** @description The URL to the View Item page of the item, which includes the affiliate tracking ID. This field is only returned if the eBay partner enables affiliate tracking for the item by including the X-EBAY-C-ENDUSERCTX request header in the method. */
173
83
  itemAffiliateWebUrl?: string;
174
- /** @description The HATEOAS reference of the parent page of the item group. An item group is an item that has various aspect differences, such as color, size, storage capacity, etc. Note: This field is returned only for item groups. */
175
84
  itemGroupHref?: string;
176
- /** @description Indicates the item group type. An item group is an item that has various aspect differences, such as color, size, storage capacity, etc. Currently, only the SELLER_DEFINED_VARIATIONS group type is supported and indicates that this is an item group created by the seller. Note: This field is returned only for item groups. Code so that your app gracefully handles any future changes to this list. */
177
85
  itemGroupType?: string;
178
- /** @description The URI of the item. */
179
86
  itemHref?: string;
180
- /** @description The unique RESTful identifier of the item. */
181
87
  itemId?: string;
182
- /** @description This container returns the postal code and country of the location of the item. */
183
88
  itemLocation?: components["schemas"]["ItemLocation"];
184
- /** @description The URL to the View Item page of the item. */
185
89
  itemWebUrl?: string;
186
- /** @description The date the last item was purchased within the last 90 days. The totalSoldQuantity returns the total number of items that were sold. This field returns the date the last item in that group was sold. */
187
90
  lastSoldDate?: string;
188
- /** @description The sold price of the last item purchased within the last 90 days. The totalSoldQuantity returns the total number of items that were sold. This field returns the date the last item in that group was sold.. */
189
91
  lastSoldPrice?: components["schemas"]["ConvertedAmount"];
190
- /** @description This container returns basic information about the seller of the item, such as name, feedback score, etc. */
191
92
  seller?: components["schemas"]["Seller"];
192
- /** @description An array of thumbnail images for the item. */
193
93
  thumbnailImages?: (components["schemas"]["Image"])[];
194
- /** @description The seller-created title of the item. Maximum Length: 80 characters */
195
94
  title?: string;
196
- /**
197
- * Format: int32
198
- * @description The total number of this item that have been sold.
199
- */
200
95
  totalSoldQuantity?: number;
201
96
  };
202
- /** @description This type defines the fields for the various refinements of an item. You can use the information in this container to create histograms, which help shoppers choose exactly what they want. */
203
97
  Refinement: {
204
- /** @description A array of containers for the all the aspect refinements. */
205
98
  aspectDistributions?: (components["schemas"]["AspectDistribution"])[];
206
- /** @description A array of containers for the all the buying option refinements. */
207
99
  buyingOptionDistributions?: (components["schemas"]["BuyingOptionDistribution"])[];
208
- /** @description A array of containers for the all the category refinements. */
209
100
  categoryDistributions?: (components["schemas"]["CategoryDistribution"])[];
210
- /** @description A array of containers for the all the condition refinements. */
211
101
  conditionDistributions?: (components["schemas"]["ConditionDistribution"])[];
212
- /** @description The identifier of the category that most of the items are part of. */
213
102
  dominantCategoryId?: string;
214
103
  };
215
104
  SalesHistoryPagedCollection: {
216
- /** @description The URI of the current page of results from the result set. The following example returns items 1 thru 5 from the list of items found. https://api.ebay.com/buy/marketplace_insights/v1_beta/item_sales/search?q=shirt&amp;&amp;limit=5&amp;offset=0 */
217
105
  href?: string;
218
- /** @description The type that defines the fields for a paginated result set of the sold items. The response consists of 0 or more sequenced result sets where each result sets has 0 or more items. Note: For items with multiple quantities that might result in multiple transactions, and items with the SELLER_DEFINED_VARIATIONS group type that might result in multiple transactions, only one deduped transaction is returned in the search results. */
219
106
  itemSales?: (components["schemas"]["ItemSales"])[];
220
- /**
221
- * Format: int32
222
- * @description The number of items returned on a single page from the result set. This value can be set in the request with the limit query parameter.
223
- */
224
107
  limit?: number;
225
- /** @description The URI for the following page of results. This value is returned only if there is an additional page of results to display from the result set. Max length: 2048 */
226
108
  next?: string;
227
- /**
228
- * Format: int32
229
- * @description The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the offset query parameter.
230
- */
231
109
  offset?: number;
232
- /** @description The URI for the preceding page of results. This value is returned only if there is a previous page of results to display from the result set. Max length: 2048 */
233
110
  prev?: string;
234
- /** @description The container for all the search refinements. */
235
111
  refinement?: components["schemas"]["Refinement"];
236
- /**
237
- * Format: int32
238
- * @description The total number of items retrieved in the result set. If no items are found, this field is returned with a value of 0.
239
- */
240
112
  total?: number;
241
113
  };
242
- /** @description The type that defines the fields for basic information about the seller of the item. */
243
114
  Seller: {
244
- /** @description The percentage of the total positive feedback. */
245
115
  feedbackPercentage?: string;
246
- /**
247
- * Format: int32
248
- * @description The feedback score of the seller. This value is based on the ratings from eBay members that bought items from this seller.
249
- */
250
116
  feedbackScore?: number;
251
- /** @description The username created by the seller for use on eBay. */
252
117
  username?: string;
253
118
  };
254
119
  };
@@ -260,44 +125,29 @@ export interface components {
260
125
  }
261
126
  export type external = Record<string, never>;
262
127
  export interface operations {
263
- /** @description (Limited Release) This method searches for sold eBay items by various URI query parameters and retrieves the sales history of the items for the last 90 days. You can search by keyword, category, eBay product ID (ePID), or GTIN, or a combination of these. This method also supports the following: Filtering by the value of one or multiple fields, such as listing format, item condition, price range, location, and more. For the fields supported by this method, see the filter parameter. Retrieving the refinements (metadata) of an item , such as item aspects (color, brand), condition, category, etc. using the fieldgroups parameter. Filtering by item aspects and other refinements using the aspect_filter parameter. Creating aspects histograms, which enables shoppers to drill down in each refinement narrowing the search results. For details and examples of these capabilities, see Browse API in the Buying Integration Guide. Pagination and sort controls There are pagination controls (limit and offset fields) and sort query parameters that control/sort the data that is returned. By default, the results are sorted by &quot;Best Match&quot;. For more information about Best Match, see the eBay help page Best Match. URLs for this method Production URL: https://api.ebay.com/buy/marketplace_insights/v1_beta/item_sales/ Sandbox URL: https://api.sandbox.ebay.com/buy/marketplace_insights/v1_beta/item_sales/ Request headers You will want to use the X-EBAY-C-ENDUSERCTX request header with this method. If you are an eBay Network Partner you must use affiliateCampaignId=ePNCampaignId,affiliateReferenceId=referenceId in the header in order to be paid for selling eBay items on your site . For details see, Request headers in the Buy APIs Overview. URL Encoding for Parameters Query parameter values need to be URL encoded. For details, see URL encoding query parameter values. Restrictions For a list of supported sites and other restrictions, see API Restrictions. */
264
128
  search: {
265
129
  parameters: {
266
130
  query?: {
267
- /** @description This field lets you filter by item aspects. The aspect name/value pairs and category, which is required, is used to limit the results to specific aspects of the item. For example, in a clothing category one aspect pair would be Color/Red. The results are returned in the refinement container. For example, the method below uses the category ID for Women's Clothing. This will return only sold items for a woman's red or blue shirt. /buy/marketplace_insights/v1_beta/item_sales/search?q=shirt&amp;category_ids=15724&amp;aspect_filter=categoryId:15724,Color:{Red|Blue} To get a list of the aspects pairs and the category, which is returned in the dominantCategoryId field, set fieldgroups to ASPECT_REFINEMENTS. /buy/marketplace_insights/v1_beta/item_sales/search?q=shirt&amp;category_ids=15724&amp;fieldgroups=ASPECT_REFINEMENTS Format: aspectName:{value1|value2} Required: The category ID is required twice; once as a URI parameter and as part of the aspect_filter parameter. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/marketplace_insights/types/gct:AspectFilter */
268
131
  aspect_filter?: string;
269
- /** @description The category ID is required and is used to limit the results. For example, if you search for 'shirt' the result set will be very large. But if you also include the category ID 137084, the results will be limited to 'Men's Athletic Apparel'. For example: /buy/marketplace-insights/v1_beta/item_sales/search?q=shirt&amp;category_ids=137084 The list of eBay category IDs is not published and category IDs are not the same across all the eBay marketplaces. You can use the following techniques to find a category by site: For the US marketplace, use the Category Changes page. Use the Taxonomy API. For details see Get Categories for Buy APIs. Usage: This field can have one category ID or a comma separated list of IDs. You can use category_ids by itself or use it with any combination of the gtin, epid, and q fields, which gives you additional control over the result set. Restrictions: Partners will be given a list of categories they can use. To use a top-level (L1) category, you must also include the q, or gtin, or epid query parameter. Maximum number of categories: 4 */
270
132
  category_ids?: string;
271
- /** @description The ePID is the eBay product identifier of a product from the eBay product catalog. This field limits the results to only items in the specified ePID. /buy/marketplace-insights/v1_beta/item_sales/search?epid=241986085&amp;category_ids=168058 You can use the product_summary/search method in the Catalog API to search for the ePID of the product. Required: At least 1 category_ids Maximum: 1 epid Optional: Any combination of epid, gtin, or q */
272
133
  epid?: string;
273
- /** @description This field lets you control what is to be returned in the response and accepts a comma separated list of values. The default is MATCHING_ITEMS, which returns the items that match the keyword or category specified. The other values return data that can be used to create histograms. For code examples see, aspect_filter. Valid Values: ASPECT_REFINEMENTS - This returns the aspectDistributions container, which has the dominantCategoryId, matchCount, and refinementHref for the various aspects of the items found. For example, if you searched for 'Mustang', some of the aspect would be Model Year, Exterior Color, Vehicle Mileage, etc. Note: ASPECT_REFINEMENTS are category specific. BUYING_OPTION_REFINEMENTS - This returns the buyingOptionDistributions container, which has the matchCount and refinementHref for AUCTION and FIXED_PRICE (Buy It Now) items. Note: Classified items are not supported. CATEGORY_REFINEMENTS - This returns the categoryDistributions container, which has the categories that the item is in. CONDITION_REFINEMENTS - This returns the conditionDistributions container, such as NEW, USED, etc. Within these groups are multiple states of the condition. For example, New can be New without tag, New in box, New without box, etc. MATCHING_ITEMS - This is meant to be used with one or more of the refinement values above. You use this to return the specified refinements and all the matching items. FULL - This returns all the refinement containers and all the matching items. Code so that your app gracefully handles any future changes to this list. Default: MATCHING_ITEMS */
274
134
  fieldgroups?: string;
275
- /** @description This field supports multiple field filters that can be used to limit/customize the result set. The following lists the supported filters. For details and examples for all the filters, see Buy API Field Filters. buyingOptions conditionIds conditions itemLocationCountry lastSoldDate price priceCurrency The following example filters the result set by price. Note: To filter by price, price and priceCurrency must always be used together. /buy/marketplace-insights/v1_beta/item_sales/search?q=iphone&amp;category_ids=15724&amp;filter=price:[50..500],priceCurrency:USD For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/marketplace_insights/types/cos:FilterField */
276
135
  filter?: string;
277
- /** @description This field lets you search by the Global Trade Item Number of the item as defined by https://www.gtin.info. This can be a UPC (Universal Product Code), EAN (European Article Number), or an ISBN (International Standard Book Number) value. /buy/marketplace-insights/v1_beta/item_sales/search?gtin=241986085&amp;category_ids=9355 Required: At least 1 category_ids Maximum: 1 gtin Optional: Any combination of epid, gtin, or q */
278
136
  gtin?: string;
279
- /** @description The number of items, from the result set, returned in a single page. Default: 50 Maximum number of items per page (limit): 200 Maximum number of items in a result set: 10,000 */
280
137
  limit?: string;
281
- /** @description Specifies the number of items to skip in the result set. This is used with the limit field to control the pagination of the output. If offset is 0 and limit is 10, the method will retrieve items 1-10 from the list of items returned, if offset is 10 and limit is 10, the method will retrieve items 11 thru 20 from the list of items returned. Valid Values: 0-10,000 (inclusive) Default: 0 Maximum number of items returned: 10,000 */
282
138
  offset?: string;
283
- /** @description A string consisting of one or more keywords that are used to search for items on eBay. The keywords are handled as follows: If the keywords are separated by a comma, it is treated as an AND. In the following example, the query returns items that have iphone AND ipad. /buy/marketplace-insights/v1_beta/item_sales/search?q=iphone,ipad&amp;category_ids=15724 If the keywords are separated by a space, it is treated as an OR. In the following examples, the query returns items that have iphone OR ipad. /buy/marketplace-insights/v1_beta/item_sales/search?q=iphone&amp;category_ids=15724&nbsp;ipad /buy/marketplace-insights/v1_beta/item_sales/search?q=iphone,&nbsp;ipad&amp;category_ids=15724 Restriction: The * wildcard character is not allowed in this field. Required: At least 1 category_ids Optional: Any combination of epid, gtin, or q */
284
139
  q?: string;
285
- /** @description This field specifies the order and the field name to use to sort the items. To sort in descending order use - before the field name. Currently, you can only sort by price (in ascending or descending order). If no sort parameter is submitted, the result set is sorted by &quot;Best Match&quot;. The following are examples of using the sort query parameter. Sort Result &amp;sort=price Sorts by price in ascending order (lowest price first) &amp;sort=-price Sorts by price in descending order (highest price first) Default: ascending For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/marketplace_insights/types/cos:SortField */
286
140
  sort?: string;
287
141
  };
288
142
  };
289
143
  responses: {
290
- /** @description Success */
291
144
  200: {
292
145
  content: {
293
146
  "application/json": components["schemas"]["SalesHistoryPagedCollection"];
294
147
  };
295
148
  };
296
- /** @description Bad Request */
297
149
  400: never;
298
- /** @description Conflict */
299
150
  409: never;
300
- /** @description Internal Server Error */
301
151
  500: never;
302
152
  };
303
153
  };
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by openapi-typescript.
4
- * Do not make direct changes to the file.
5
- */
6
2
  Object.defineProperty(exports, "__esModule", { value: true });