ebay-api 8.5.0 → 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 (320) hide show
  1. package/README.md +4 -4
  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 +1 -12
  89. package/dist/eBayApi.js +0 -14
  90. package/dist/ebay-api.min.mjs +1 -1
  91. package/dist/enums/restfulEnums.d.ts +24 -23
  92. package/dist/enums/restfulEnums.js +52 -51
  93. package/dist/errors/index.d.ts +0 -19
  94. package/dist/errors/index.js +1 -20
  95. package/dist/types/apiTypes.d.ts +2 -2
  96. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  97. package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  98. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  99. package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  100. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  101. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  102. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  103. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  104. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  105. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  106. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  107. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  108. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  109. package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  110. package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
  111. package/dist/types/restful/specs/cancellation_oas3.js +0 -4
  112. package/dist/types/restful/specs/case_oas3.d.ts +0 -31
  113. package/dist/types/restful/specs/case_oas3.js +0 -4
  114. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  115. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  116. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  117. package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  118. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  119. package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  120. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  121. package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  122. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  123. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  124. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  125. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  126. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  127. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  128. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  129. package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  130. package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
  131. package/dist/types/restful/specs/inquiry_oas3.js +0 -4
  132. package/dist/types/restful/specs/return_oas3.d.ts +0 -130
  133. package/dist/types/restful/specs/return_oas3.js +0 -4
  134. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  135. package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
  136. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  137. package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  138. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  139. package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  140. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  141. package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  142. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  143. package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  144. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  145. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  146. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  147. package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  148. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  149. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  150. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  151. package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  152. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  153. package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  154. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  155. package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  156. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  157. package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  158. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  159. package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  160. package/dist/types/restfulTypes.d.ts +3 -0
  161. package/lib/api/apiFactory.d.ts +0 -3
  162. package/lib/api/apiFactory.js +0 -4
  163. package/lib/api/base.d.ts +0 -3
  164. package/lib/api/base.js +0 -3
  165. package/lib/api/digitalSignature.d.ts +0 -33
  166. package/lib/api/digitalSignature.js +1 -41
  167. package/lib/api/index.d.ts +0 -3
  168. package/lib/api/index.js +0 -3
  169. package/lib/api/restful/buy/browse/index.d.ts +0 -66
  170. package/lib/api/restful/buy/browse/index.js +0 -73
  171. package/lib/api/restful/buy/deal/index.d.ts +0 -32
  172. package/lib/api/restful/buy/deal/index.js +0 -32
  173. package/lib/api/restful/buy/feed/index.d.ts +0 -33
  174. package/lib/api/restful/buy/feed/index.js +0 -33
  175. package/lib/api/restful/buy/marketing/index.d.ts +0 -18
  176. package/lib/api/restful/buy/marketing/index.js +0 -22
  177. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  178. package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
  179. package/lib/api/restful/buy/offer/index.d.ts +0 -15
  180. package/lib/api/restful/buy/offer/index.js +0 -15
  181. package/lib/api/restful/buy/order/index.d.ts +0 -227
  182. package/lib/api/restful/buy/order/index.js +0 -227
  183. package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
  184. package/lib/api/restful/commerce/catalog/index.js +0 -54
  185. package/lib/api/restful/commerce/charity/index.d.ts +0 -21
  186. package/lib/api/restful/commerce/charity/index.js +0 -21
  187. package/lib/api/restful/commerce/identity/index.d.ts +0 -7
  188. package/lib/api/restful/commerce/identity/index.js +0 -7
  189. package/lib/api/restful/commerce/notification/index.d.ts +0 -93
  190. package/lib/api/restful/commerce/notification/index.js +0 -93
  191. package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
  192. package/lib/api/restful/commerce/taxonomy/index.js +0 -64
  193. package/lib/api/restful/commerce/translation/index.d.ts +0 -8
  194. package/lib/api/restful/commerce/translation/index.js +0 -8
  195. package/lib/api/restful/developer/analytics/index.d.ts +0 -15
  196. package/lib/api/restful/developer/analytics/index.js +0 -15
  197. package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
  198. package/lib/api/restful/developer/keyManagement/index.js +0 -15
  199. package/lib/api/restful/index.d.ts +0 -16
  200. package/lib/api/restful/index.js +1 -23
  201. package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
  202. package/lib/api/restful/postOrder/cancellation/index.js +0 -43
  203. package/lib/api/restful/postOrder/case/index.d.ts +0 -46
  204. package/lib/api/restful/postOrder/case/index.js +0 -46
  205. package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
  206. package/lib/api/restful/postOrder/inquiry/index.js +0 -64
  207. package/lib/api/restful/postOrder/return/index.d.ts +0 -190
  208. package/lib/api/restful/postOrder/return/index.js +0 -190
  209. package/lib/api/restful/sell/account/index.d.ts +0 -241
  210. package/lib/api/restful/sell/account/index.js +0 -241
  211. package/lib/api/restful/sell/analytics/index.d.ts +0 -26
  212. package/lib/api/restful/sell/analytics/index.js +0 -26
  213. package/lib/api/restful/sell/compliance/index.d.ts +0 -23
  214. package/lib/api/restful/sell/compliance/index.js +0 -23
  215. package/lib/api/restful/sell/feed/index.d.ts +0 -135
  216. package/lib/api/restful/sell/feed/index.js +0 -135
  217. package/lib/api/restful/sell/finances/index.d.ts +0 -51
  218. package/lib/api/restful/sell/finances/index.js +0 -51
  219. package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
  220. package/lib/api/restful/sell/fulfillment/index.js +0 -108
  221. package/lib/api/restful/sell/inventory/index.d.ts +0 -197
  222. package/lib/api/restful/sell/inventory/index.js +0 -197
  223. package/lib/api/restful/sell/listing/index.d.ts +0 -8
  224. package/lib/api/restful/sell/listing/index.js +0 -8
  225. package/lib/api/restful/sell/logistics/index.d.ts +0 -33
  226. package/lib/api/restful/sell/logistics/index.js +0 -33
  227. package/lib/api/restful/sell/marketing/index.d.ts +16 -495
  228. package/lib/api/restful/sell/marketing/index.js +48 -494
  229. package/lib/api/restful/sell/metadata/index.d.ts +0 -65
  230. package/lib/api/restful/sell/metadata/index.js +0 -65
  231. package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
  232. package/lib/api/restful/sell/negotiation/index.js +0 -14
  233. package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
  234. package/lib/api/restful/sell/recommendation/index.js +0 -15
  235. package/lib/api/traditional/XMLRequest.d.ts +0 -44
  236. package/lib/api/traditional/XMLRequest.js +0 -46
  237. package/lib/api/traditional/clientAlerts/index.js +0 -1
  238. package/lib/api/traditional/index.d.ts +0 -3
  239. package/lib/api/traditional/index.js +0 -5
  240. package/lib/api/traditional/shopping/index.js +0 -1
  241. package/lib/auth/authNAuth.d.ts +0 -5
  242. package/lib/auth/authNAuth.js +0 -5
  243. package/lib/auth/index.d.ts +0 -3
  244. package/lib/auth/index.js +0 -3
  245. package/lib/auth/oAuth2.d.ts +0 -52
  246. package/lib/auth/oAuth2.js +0 -53
  247. package/lib/eBayApi.d.ts +1 -12
  248. package/lib/eBayApi.js +0 -14
  249. package/lib/ebay-api.min.js +1 -1
  250. package/lib/enums/restfulEnums.d.ts +24 -23
  251. package/lib/enums/restfulEnums.js +52 -52
  252. package/lib/errors/index.d.ts +0 -19
  253. package/lib/errors/index.js +1 -20
  254. package/lib/types/apiTypes.d.ts +2 -2
  255. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  256. package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  257. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  258. package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  259. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  260. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  261. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  262. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  263. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  264. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  265. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  266. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  267. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  268. package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  269. package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
  270. package/lib/types/restful/specs/cancellation_oas3.js +0 -4
  271. package/lib/types/restful/specs/case_oas3.d.ts +0 -31
  272. package/lib/types/restful/specs/case_oas3.js +0 -4
  273. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  274. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  275. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  276. package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  277. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  278. package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  279. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  280. package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  281. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  282. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  283. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  284. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  285. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  286. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  287. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  288. package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  289. package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
  290. package/lib/types/restful/specs/inquiry_oas3.js +0 -4
  291. package/lib/types/restful/specs/return_oas3.d.ts +0 -130
  292. package/lib/types/restful/specs/return_oas3.js +0 -4
  293. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  294. package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
  295. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  296. package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  297. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  298. package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  299. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  300. package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  301. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  302. package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  303. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  304. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  305. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  306. package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  307. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  308. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  309. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  310. package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  311. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  312. package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  313. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  314. package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  315. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  316. package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  317. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  318. package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  319. package/lib/types/restfulTypes.d.ts +3 -0
  320. package/package.json +2 -2
@@ -1,519 +1,265 @@
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
  "/change_request/{change_request_id}": {
7
- /**
8
- * @deprecated
9
- * @description Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be decommissioned in Q1 of 2020. Currently, this method may still return data for a valid change request ID, but the data will be static, the status will not change, and it will not be possible to make any changes to the change request. At any time, it is possible that all catalog change requests for a user will be removed, and then this method will just trigger this error: The specified change request ID was not found. (error code 75150). Use this call to retrieve the contents of a catalog change request based on its unique identifier, change_request_id. The change_request_id value was originally generated by the createChangeRequest call, and is returned by the getChangeRequests call in the changeRequests.changeRequestId field.
10
- */
11
3
  get: operations["getChangeRequest"];
12
4
  };
13
5
  "/change_request": {
14
- /**
15
- * @deprecated
16
- * @description Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be decommissioned in Q1 of 2020. Currently, this method may still return existing change requests for a user, but the data will be static, the statuses will not change, and it will not be possible to make any changes to any of the change requests. At any time, it is possible that all catalog change requests for a user will be removed, and then this method will just return an empty changeRequests array. Use this call to search for and retrieve one or more catalog change requests that were submitted by the authenticated user based on their creation date, processing status, reference type or reference ID.
17
- */
18
6
  get: operations["getChangeRequests"];
19
- /**
20
- * @deprecated
21
- * @description Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be decommissioned in Q1 of 2020. This method is no longer supported for any eBay categories and will return this error if used: Change Request is not supported for this product at this moment. (error code 75157) When sellers are unable to identify an eBay catalog product on which to base their item listing, this call enables you to request that eBay update an existing product record or create a new product record that will successfully match the seller's inventory item.
22
- */
23
7
  post: operations["createChangeRequest"];
24
8
  };
25
9
  "/product/{epid}": {
26
- /** @description This call retrieves details of the catalog product identified by the eBay product identifier (ePID) specified in the request. These details include the product's title and description, aspects and their values, associated images, applicable category IDs, and any recognized identifiers that apply to the product. For a new listing, you can use the search call to identify candidate products on which to base the listing, then use the getProduct call to present the full details of those candidate products to the seller to makea a final selection. */
27
10
  get: operations["getProduct"];
28
11
  };
29
12
  "/product_summary/search": {
30
- /** @description This call searches for and retrieves summaries of one or more products in the eBay catalog that match the search criteria provided by a seller. The seller can use the summaries to select the product in the eBay catalog that corresponds to the item that the seller wants to offer for sale. When a corresponding product is found and adopted by the seller, eBay will use the product information to populate the item listing. The criteria supported by search include keywords, product categories, and category aspects. To see the full details of a selected product, use the getProduct call. In addition to product summaries, this call can also be used to identify refinements, which help you to better pinpoint the product you're looking for. A refinement consists of one or more aspect values and a count of the number of times that each value has been used in previous eBay listings. An aspect is a property (e.g. color or size) of an eBay category, used by sellers to provide details about the items they're listing. The refinement container is returned when you include the fieldGroups query parameter in the request with a value of ASPECT_REFINEMENTS or FULL. Example A seller wants to find a product that is "gray" in color, but doesn't know what term the manufacturer uses for that color. It might be Silver, Brushed Nickel, Pewter, or even Grey. The returned refinement container identifies all aspects that have been used in past listings for products that match your search criteria, along with all of the values those aspects have taken, and the number of times each value was used. You can use this data to present the seller with a histogram of the values of each aspect. The seller can see which color values have been used in the past, and how frequently they have been used, and selects the most likely value or values for their product. You issue the search call again with those values in the aspect_filter parameter to narrow down the collection of products returned by the call. Although all query parameters are optional, this call must include at least the q parameter, or the category_ids, gtin, or mpn parameter with a valid value. If you provide more than one of these parameters, they will be combined with a logical AND to further refine the returned collection of matching products. Note: This call requires that certain special characters in the query parameters be percent-encoded:     (space) = %20       , = %2C       : = %3A       [ = %5B       ] = %5D       { = %7B       | = %7C       } = %7D This requirement applies to all query parameter values. However, for readability, call examples and samples in this documentation will not use the encoding. This call returns product summaries rather than the full details of the products. To retrieve the full details of a product, use the getProduct call with an ePID. */
31
13
  get: operations["search"];
32
14
  };
33
15
  "/get_product_metadata": {
34
- /** @description This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified catalog product and its associated or suggested categories, as well as the values currently associated with that product. The array is a union (with duplicates removed) of all returned aspects. After using the search and getProduct calls to find a catalog product that matches a seller's inventory item, you may discover a matching product, but determine that one or more product details are missing or inaccurate. You can propose updates to the product's aspects and aspect values for the catalog by taking the following steps: Use the Taxonomy API's category_tree calls to discover the appropriate category or categories for the seller's inventory item. See Finding categories for a listing or promotion. Use getProductMetadata to determine the aspects of your selected categories and the values of those aspects that should be added to the aspects and values already associated with your product. Use the createChangeRequest call to to submit a change request to update the product in the eBay catalog for your seller's marketplace. Note: The X-EBAY-C-MARKETPLACE-ID request header is required to identify the user's business context. The eBay Product Identifier (ePID) for a catalog product is also required and is specified through the epid query parameter. */
35
16
  get: operations["getProductMetadata"];
36
17
  };
37
18
  "/get_product_metadata_for_categories": {
38
- /** @description This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified eBay categories. The array is a union (with duplicates removed) of all returned aspects. After using the search and getProduct calls to find a catalog product that matches a seller's inventory item, you may determine that a matching product does not exist in the eBay catalog. You can propose a new product for the catalog by taking the following steps: Use the Taxonomy API's category_tree calls to discover the appropriate category or categories for the seller's inventory item. See Finding categories for a listing or promotion. Use getProductMetadataForCategories to determine the aspects of your selected categories that should be associated with your new product. Use the createChangeRequest call to to submit a change request to add the new product to the eBay catalog for your seller's marketplace. Note: The X-EBAY-C-MARKETPLACE-ID request header is required to identify the user's business context. At least one eBay category ID is required and is specified through the primary_category_id query parameter. */
39
19
  get: operations["getProductMetadataForCategories"];
40
20
  };
41
21
  }
42
22
  export type webhooks = Record<string, never>;
43
23
  export interface components {
44
24
  schemas: {
45
- /** @description This type contains the name and values of a category aspect. */
46
25
  Aspect: {
47
- /** @description The localized name of this category aspect. */
48
26
  localizedName?: string;
49
- /** @description A list of the localized values of this category aspect. */
50
27
  localizedValues?: (string)[];
51
28
  };
52
- /** @description This type contains information about one category aspect that is associated with a specified category. */
53
29
  AspectDistribution: {
54
- /** @description Contains information about one or more values of the category aspect identified by localizedAspectName. */
55
30
  aspectValueDistributions?: (components["schemas"]["AspectValueDistribution"])[];
56
- /** @description The localized name of an aspect that is associated with the category identified by dominantCategoryId. */
57
31
  localizedAspectName?: string;
58
32
  };
59
- /** @description This type contains information about one value of a specified aspect. This value serves as a product refinement. */
60
33
  AspectValueDistribution: {
61
- /** @description The localized value of the category aspect identified by refinement.aspectDistributions.localizedAspectName. */
62
34
  localizedAspectValue?: string;
63
- /**
64
- * Format: int32
65
- * @description The number of times the value of localizedAspectValue has been used for eBay product listings. By comparing this quantity to the matchCount for other values of the same aspect, you can present a histogram of the values to sellers, who can use that information to select which aspect value is most appropriate for their product. You can then include the user-selected value in the the search call's aspect_filter parameter to refine your search.
66
- */
67
35
  matchCount?: number;
68
- /** @description A HATEOAS reference that further refines the search with this particular localizedAspectValue. */
69
36
  refinementHref?: string;
70
37
  };
71
- /** @description This type contains detailed information about each required and recommended aspect associated with an eBay category. These details include the aspect name, supported/possible values, and constraint information. */
72
38
  CategoryAspect: {
73
- /** @description Returned only if this field is populated. This provides information and context for the category aspect. The help text can be presented to the seller to clarify the intended purpose of this aspect, and recommendations for its use. For example, the help text for the Country/Region of Manufacture aspect is: Specifying the country/region of manufacture can help streamline customs clearance. */
74
39
  aspectHelpText?: string;
75
- /** @description Contains information about the input and formatting constraints of the category aspect, including the data type and format, input mode, occurrence, and cardinality. */
76
40
  constraint?: components["schemas"]["ProductAspectConstraint"];
77
- /** @description The name of the category aspect. */
78
41
  name?: string;
79
- /** @description Not returned if the value of the constraint field is FREE_TEXT and there are no stored values for this aspect. Contains information about one or more supported values for the category identified by the name field), as well as constraint information for those values. */
80
42
  values?: (components["schemas"]["CategoryAspectValue"])[];
81
43
  };
82
- /** @description This type contains the supported values for a given category aspect name, as well as constraint information for specified category aspect values for a product. */
83
44
  CategoryAspectValue: {
84
- /** @description A supported value of the corresponding category aspect (shown in the aspects.name field). Every supported value for the category aspect is shown in the aspects.values container. */
85
45
  value?: string;
86
- /** @description Not returned if the value of the value field can always be selected for this aspect of the specified category (that is, when no constraints apply to using the value). Contains a list of the dependencies that identify when the value of the value field is available for the current aspect. Each dependency specifies the values of another aspect of the same category (a control aspect), for which the current value of the current aspect can also be selected by the seller. Example: A shirt is available in three sizes and three colors, but only the Small and Medium sizes come in Green. Thus for the Color aspect, the value Green is constrained by its dependency on Size (the control aspect). Only when the Size aspect value is Small or Medium, can the Color aspect value of Green be selected by the seller. */
87
46
  valueConstraints?: (components["schemas"]["ValueConstraint"])[];
88
47
  };
89
- /** @description This type contains the full details of a specified catalog change request, including the original payload of the createChangeRequest call, processing status and key dates, and resolution details. */
90
48
  ChangeRequest: {
91
- /** @description The unique identifier of this change request. This value was originally generated by the createChangeRequest call and returned in the location code of that call's HTTP response header. */
92
49
  changeRequestId?: string;
93
- /** @description The current processing status of this change request. If the value of this field is APPROVED_WITH_MODIFICATIONS, the change request has been approved with one or more modifications applied by eBay. Check the processResolution.corrections response object for details about the modifications. If the value of this field is REJECTED, the change request has been rejected for violating eBay standards or for conflicting with an existing product record. Check the processResolution.violations response object for details about the rejection. Available values: APPROVED &mdash; Upon review, the change request has been approved as submitted. APPROVED_WITH_MODIFICATIONS &mdash; Upon review, the change request has been approved with one or more corrections applied by eBay. Check the processResolution.corrections response object for details about the modifications. REJECTED &mdash; Upon review, the change request has been rejected for a conflict with an existing catalog product, or for violating eBay standards. Check the processResolution.violations response object for details about the rejection. SUBMITTED &mdash; The change request has been submitted and is being processed. UNDER_EXTENDED_REVIEW &mdash; After one hour of review, the change request is under extended review by eBay. UNDER_REVIEW &mdash; Upon submission/processing, the change request is under review by eBay. This typically takes up to one hour. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ChangeRequestStatus.html'>eBay API documentation</a> */
94
50
  changeRequestStatus?: string;
95
- /** @description The type of catalog modification being requested by this change request. Available values: PRODUCT_CREATION &mdash; Change request to create a new product PRODUCT_UPDATE &mdash; Change request to update an existing product For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ChangeRequestType.html'>eBay API documentation</a> */
96
51
  changeRequestType?: string;
97
- /** @description The creation date of this change request. */
98
52
  creationDate?: string;
99
- /** @description eBay's estimate of the completion date of this change request. */
100
53
  expectedCompletionDate?: string;
101
- /** @description Returned if the value of changeRequestStatus is one of the following: APPROVED APPROVED_WITH_MODIFICATIONS &mdash; Indicates that the product was created or updated by eBay with certain corrections applied to its attributes or aspects. REJECTED &mdash; Indicates that the suggested product either conflicts with existing products or violates eBay standards. This container provides details of conflicting products, corrections required, or violations that were discovered in this change request */
102
54
  processResolution?: components["schemas"]["ProcessResolution"];
103
- /** @description A text description and explanation of the status indicated by the changeRequestStatus field. */
104
55
  processStatusMessage?: string;
105
- /** @description A text description of why this change request was submitted. */
106
56
  reasonForChangeRequest?: string;
107
- /** @description Returned if the referenceType field is returned in the response. This is the identifier of an object of the type specified by the value of referenceType. For example, if the value of referenceType is INVENTORY_ITEM, this field should contain the seller's SKU for an inventory item. */
108
57
  referenceId?: string;
109
- /** @description Returned if this field was included in the the createChangeRequest call. This specifies the type of eBay object that the seller wants to create or update using the requested change. It applies to objects that are incomplete due to the need for a matching catalog product. Providing a referenceType and a referenceId in a catalog change request enables eBay to automatically apply the resulting new or updated product directly to the specified object without requiring additional action on your part. Available values: INVENTORY_ITEM &mdash; The requested change will support the completion of an inventory item, which you can then use to create an offer. LISTING &mdash; The requested change will support the modification of an active product listing. LISTING_DRAFT &mdash; The requested change will support the completion of an offer, which you can then publish as a product listing. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ReferenceType.html'>eBay API documentation</a> */
110
58
  referenceType?: string;
111
- /** @description Returned if the value of changeRequestStatus is APPROVED, APPROVED_WITH_MODIFICATIONS, or REJECTED. This is the date that the change request was resolved. */
112
59
  resolutionDate?: string;
113
- /** @description Contains the full details of the suggested product, including information about the product's identifiers, description, product images, categories, and aspects. */
114
60
  suggestedProduct?: components["schemas"]["SuggestedProduct"];
115
61
  };
116
- /** @description This type contains information about an existing catalog product that presents a conflict with a seller's suggested product. */
117
62
  ConflictingProduct: {
118
- /** @description The eBay assigned identifier of this conflict. */
119
63
  conflictCode?: string;
120
- /** @description Contains information about one or more aspects of the conflicting product, which the seller's change request either duplicates or provides similar values. The seller should either accept the conflicting product's aspects and values and adopt the product as is, or submit a change request to create or update a product that doesn't conflict with an existing product record. */
121
64
  differentiatingAspects?: (components["schemas"]["ProductAspect"])[];
122
- /** @description The eBay product ID of the conflicting catalog product. */
123
65
  epid?: string;
124
- /** @description The reason for this conflict. */
125
66
  reason?: string;
126
67
  };
127
- /** @description This type contains information about a correction that eBay has applied to the suggested product in a change request. */
128
68
  Correction: {
129
- /** @description Returned only if the value of corrections.productAttribute.attributeName is ASPECT_NAME. Contains the name and values of a product aspect that has been corrected by eBay in this change request. */
130
69
  aspectValues?: components["schemas"]["CorrectionAspectValues"];
131
- /** @description The eBay-assigned identifier of the correction type for this correction. */
132
70
  correctionCode?: string;
133
- /** @description Contains the name of a particular product attribute with an incorrect value, and if the name is not ASPECT_NAME (a product aspect), the incorrect and correct values of the attribute. For correction information about a product aspect, see the corrections.aspectValues container. */
134
71
  productAttribute?: components["schemas"]["CorrectionProductAttribute"];
135
- /** @description The reason why this correction is required. */
136
72
  reason?: string;
137
73
  };
138
- /** @description This type contains a value of a given eBay product aspect which must be corrected, along with the correct value. */
139
74
  CorrectionAspectValue: {
140
- /** @description The aspect's correct value */
141
75
  newValue?: string;
142
- /** @description The aspect's current incorrect value. */
143
76
  value?: string;
144
77
  };
145
- /** @description This type identifies a product aspect that requires correction in a catalog change request, along with its aspect values that must be corrected. */
146
78
  CorrectionAspectValues: {
147
- /** @description The localized name of this product aspect that requires correction, such as Model Number, Size, or Color. */
148
79
  aspectName?: string;
149
- /** @description A list of one or more values of this product aspect that must be corrected. */
150
80
  values?: (components["schemas"]["CorrectionAspectValue"])[];
151
81
  };
152
- /** @description Contains information about a particular product attribute with an incorrect value. */
153
82
  CorrectionProductAttribute: {
154
- /** @description The name of the product attribute type in the change request which requires correction, such as BRAND, CATEGORY, or TITLE. See the ProductAttributeName type for available values. Note: If the value of this field is ASPECT_NAME, see corrections.aspectValues for correction information. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ProductAttributeName.html'>eBay API documentation</a> */
155
83
  attributeName?: string;
156
- /** @description Not returned if the value of attributeName is ASPECT_NAME (see instead corrections.aspectValues). This is the named attribute's correct value. */
157
84
  newValue?: string;
158
- /** @description Not returned if the value of attributeName is ASPECT_NAME (see instead corrections.aspectValues). This is the named attribute's current incorrect value. */
159
85
  value?: string;
160
86
  };
161
- /** @description This type contains the input payload of the createChangeRequest call, including the type of request, the reason for a product update request, and the details of the new or updated product being suggested. */
162
87
  CreateChangeRequestPayload: {
163
- /** @description The type of catalog modification being requested by this change request. Available values: PRODUCT_CREATION &mdash; Change request to create a new product PRODUCT_UPDATE &mdash; Change request to update an existing product For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ChangeRequestType.html'>eBay API documentation</a> */
164
88
  changeRequestType?: string;
165
- /** @description Required if the value of changeRequestType is PRODUCT_UPDATE, and optional otherwise; this is a text description of why this change is being requested. */
166
89
  reasonForChangeRequest?: string;
167
- /** @description Required if the referenceType field is included in the request. This is the identifier of an object of the type specified by the value of referenceType. For example, if the value of referenceType is INVENTORY_ITEM, this field should contain the seller's SKU for an inventory item. */
168
90
  referenceId?: string;
169
- /** @description The type of object that the requested change is intended to support. This applies to objects that are incomplete due to the need for a matching catalog product. Providing a referenceType and a referenceId in a catalog change request enables eBay to automatically apply the resulting new or updated product directly to the specified object without requiring additional action on your part. Available values: INVENTORY_ITEM &mdash; The requested change will support the completion of an inventory item, which you can then use to create an offer. LISTING &mdash; The requested change will support the modification of an active product listing. LISTING_DRAFT &mdash; The requested change will support the completion of an offer, which you can then publish as a product listing. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ReferenceType.html'>eBay API documentation</a> */
170
91
  referenceType?: string;
171
- /** @description Contains the full details of the suggested product, including information about the product's identifiers, description, product images, categories, and aspects. */
172
92
  suggestedProduct?: components["schemas"]["SuggestedProduct"];
173
93
  };
174
- /** @description This type defines the fields that can be returned in an error. */
175
94
  Error: {
176
- /** @description Identifies the type of erro. */
177
95
  category?: string;
178
- /** @description Name for the primary system where the error occurred. This is relevant for application errors. */
179
96
  domain?: string;
180
- /**
181
- * Format: int32
182
- * @description A unique number to identify the error.
183
- */
184
97
  errorId?: number;
185
- /** @description An array of request elements most closely associated to the error. */
186
98
  inputRefIds?: (string)[];
187
- /** @description A more detailed explanation of the error. */
188
99
  longMessage?: string;
189
- /** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
190
100
  message?: string;
191
- /** @description An array of request elements most closely associated to the error. */
192
101
  outputRefIds?: (string)[];
193
- /** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
194
102
  parameters?: (components["schemas"]["ErrorParameter"])[];
195
- /** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
196
103
  subdomain?: string;
197
104
  };
198
105
  ErrorParameter: {
199
- /** @description The object of the error. */
200
106
  name?: string;
201
- /** @description The value of the object. */
202
107
  value?: string;
203
108
  };
204
- /** @description This type contains the output payload of the getChangeRequests call, which is a portion of the collection of change requests that match the search criteria. The returned set of change requests is a page, and the response includes information for navigating the output pages. */
205
109
  GetChangeRequestsResponse: {
206
- /** @description Contains the full details of one or more catalog change requests, including the original payload of the createChangeRequest call, processing status and key dates, and resolution details. */
207
110
  changeRequests?: (components["schemas"]["ChangeRequest"])[];
208
- /** @description The URI of the getChangeRequests call request that produced this page of results. */
209
111
  href?: string;
210
- /**
211
- * Format: int32
212
- * @description The maximum number of change requests in this page, a subset of the full collection of change requests that match the filter criteria of this call. This field combines with the offset field to identify the change requests being returned.
213
- */
214
112
  limit?: number;
215
- /** @description The getChangeRequests call URI for the next page. For example, the following URI returns records 41 thru 50 from the collection of change requests: path/change_request?limit=10&amp;offset=40 Note: This feature employs a zero-based list, where the first order in the list has an offset of 0. */
216
113
  next?: string;
217
- /**
218
- * Format: int32
219
- * @description The first change request in this page based on its position in the returned collection of change requests. For example, if offset is set to 10 and limit is set to 10, this page includes change requests 11 thru 20 from the resulting collection of change requests. Note: This feature employs a zero-based list, where the first item in the list has an offset of 0.
220
- */
221
114
  offset?: number;
222
- /** @description The getChangeRequests call URI for the previous page. For example, the following URI returns orders 21 thru 30 from the collection of orders: path/change_request?limit=10&amp;offset=20 Note: This feature employs a zero-based list, where the first order in the list has an offset of 0. */
223
115
  prev?: string;
224
- /**
225
- * Format: int32
226
- * @description The total number of change requests in the collection. Note: If no change requests are found, this field is returned with a value of 0.
227
- */
228
116
  total?: number;
229
117
  };
230
- /** @description This type contains information about a product image stored in eBay Picture Services (EPS). */
231
118
  Image: {
232
- /**
233
- * Format: int32
234
- * @description The height of the image in pixels.
235
- */
236
119
  height?: number;
237
- /** @description The eBay Picture Services (EPS) URL of the image. */
238
120
  imageUrl?: string;
239
- /**
240
- * Format: int32
241
- * @description The width of the image in pixels.
242
- */
243
121
  width?: number;
244
122
  };
245
- /** @description This type provides details of conflicting products, corrections required, or violations that were discovered in a change request. */
246
123
  ProcessResolution: {
247
- /** @description Contains information about one or more existing products with identifying information that matches or instersects with the suggested product. For each conflicting product, the difference is in the presence or value of one or more product aspects. If the seller accepts the aspects and their values of the conflicting product (such as a color value of scarlet instead of crimson), that product can be adopted by the seller instead of the suggested product. If the seller does not accept any of the conflicting products as is, you can submit a change request to update one of them, or to create a new product for which identifying information doesn't overlap with an existing product enough to produce a conflict. */
248
124
  conflictingProducts?: (components["schemas"]["ConflictingProduct"])[];
249
- /** @description Contains information about one or more corrections to this change request that eBay has applied to the new or updated product. Sellers can accept these corrections by adopting the product, which is identified by the epid field. */
250
125
  corrections?: (components["schemas"]["Correction"])[];
251
- /** @description Returned only if the value of changeRequestStatus is APPROVED or APPROVED_WITH_MODIFICATIONS; this is the eBay identifier of the resulting product. */
252
126
  epid?: string;
253
- /** @description The URI of the getProduct call request that retrieves this product's details. This field is returned under one of the following conditions: The value of changeRequestType is PRODUCT_UPDATE. The value of changeRequestType is PRODUCT_CREATION, and the value of changeRequestStatus is APPROVED or APPROVED_WITH_MODIFICATIONS. */
254
127
  productHref?: string;
255
- /** @description Contains information about one or more violations in the values of the suggested product's aspects or fixed attributes. */
256
128
  violations?: (components["schemas"]["Violation"])[];
257
129
  };
258
- /** @description This type contains the full details of a specified product, including information about the product's identifiers, product images, aspects, and categories. */
259
130
  Product: {
260
- /** @description Contains information about additional images associated with this product. For the primary image, see the image container. */
261
131
  additionalImages?: (components["schemas"]["Image"])[];
262
- /** @description Contains an array of the category aspects and their values that are associated with this product. */
263
132
  aspects?: (components["schemas"]["Aspect"])[];
264
- /** @description The manufacturer's brand name for this product. */
265
133
  brand?: string;
266
- /** @description The rich description of this product, which might contain HTML. */
267
134
  description?: string;
268
- /** @description A list of all European Article Numbers (EANs) that identify this product. */
269
135
  ean?: (string)[];
270
- /** @description The eBay product ID of this product. */
271
136
  epid?: string;
272
- /** @description A list of all GTINs that identify this product. Currently this can include EAN, ISBN, and UPC identifier types. */
273
137
  gtin?: (string)[];
274
- /** @description Contains information about the primary image of this product. For more images of this product, see the additionalImages container. */
275
138
  image?: components["schemas"]["Image"];
276
- /** @description A list of all International Standard Book Numbers (ISBNs) that identify this product. */
277
139
  isbn?: (string)[];
278
- /** @description A list of all MPN values that the manufacturer uses to identify this product. */
279
140
  mpn?: (string)[];
280
- /** @description A list of category IDs (other than the value of primaryCategoryId) for all the leaf categories to which this product might belong. */
281
141
  otherApplicableCategoryIds?: (string)[];
282
- /** @description The identifier of the leaf category that eBay recommends using to list this product, based on previous listings of similar products. Products in the eBay catalog are not automatically associated with any particular category, but using an inappropriate category can make it difficult for prospective buyers to find the product. For other possible categories that might be used, see otherApplicableCategoryIds. */
283
142
  primaryCategoryId?: string;
284
- /** @description The URL for this product's eBay product page. */
285
143
  productWebUrl?: string;
286
- /** @description The title of this product on eBay. */
287
144
  title?: string;
288
- /** @description A list of Universal Product Codes (UPCs) that identify this product. */
289
145
  upc?: (string)[];
290
- /** @description The current version number of this product record in the catalog. */
291
146
  version?: string;
292
147
  };
293
- /** @description This type contains the name and values of a category aspect that is associated with a particular product. */
294
148
  ProductAspect: {
295
- /** @description The name of the product aspect, such as Model Number, Size, or Color. */
296
149
  name?: string;
297
- /** @description Required or returned if a value is provided for the name field. This is a list of one or more localized values of this product aspect. */
298
150
  values?: (string)[];
299
151
  };
300
- /** @description This type contains information about the constraints for an aspect that's associated with a specific eBay category or eBay Catalog product. */
301
152
  ProductAspectConstraint: {
302
- /** @description The data type used to represent the aspect. See the AspectDataTypeEnum type for more information about each data type. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/AspectDataTypeEnum.html'>eBay API documentation</a> */
303
153
  aspectDataType?: string;
304
- /** @description Returned only if the value of aspectDataType is STRING or NUMBER. The required format for date or number values (e.g. a date value may be expressed as MMYYYY or MMYY). */
305
154
  aspectFormat?: string;
306
- /** @description Indicates whether the seller must select from a closed list of aspect values, or can input the aspect value manually. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/AspectModeEnum.html'>eBay API documentation</a> */
307
155
  aspectMode?: string;
308
- /** @description A value of true indicates that the aspect is mandatory for products listed in this category. */
309
156
  aspectRequired?: boolean;
310
- /** @description This value indicates the level of importance of the product identifier appearing in the catalog product. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ImportanceEnum.html'>eBay API documentation</a> */
311
157
  importance?: string;
312
- /** @description Indicates whether the aspect requires only one value, or can accept multiple values when listing in this category. An example of a product aspect that will often have numerous values is Features. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ItemToAspectCardinalityEnum.html'>eBay API documentation</a> */
313
158
  productToAspectCardinality?: string;
314
159
  };
315
- /** @description This type contains information about a product aspect associated with a given catalog product. */
316
160
  ProductAspectValue: {
317
- /** @description A supported value of the corresponding product aspect (shown in the aspects.name field). Every supported value for the product aspect is shown under the aspects.values container. Note that one of these values can possibly be used instead of the product aspect value(s) currently defined for the eBay Catalog product and specified in the aspects.valuesAssociatedWithProduct array. */
318
161
  value?: string;
319
- /** @description Not returned if the value of the value field can always be selected for this aspect of the specified category. Contains a list of the dependencies that identify when the value of the value field is available for the current aspect. Each dependency specifies the values of another aspect of the same category (a control aspect), for which the current value of the current aspect can also be selected by the seller. Example: A shirt is available in three sizes and three colors, but only the Small and Medium sizes come in Green. Thus for the Color aspect, the value Green is constrained by its dependency on Size (the control aspect). Only when the Size aspect value is Small or Medium, can the Color aspect value of Green be selected by the seller. */
320
162
  valueConstraints?: (components["schemas"]["ValueConstraint"])[];
321
163
  };
322
- /** @description This type contains information about certain available product attributes, their input requirements, and their constraints for specified categories. */
323
164
  ProductIdentifier: {
324
- /** @description Contains information about the input, formatting, and occurrence constraints of the product identifier. */
325
165
  constraint?: components["schemas"]["ProductIdentifierConstraint"];
326
- /** @description A list of one or more valid values for this product identifier. */
327
166
  values?: (string)[];
328
167
  };
329
- /** @description This type contains information about the input, formatting, and occurrence constraints of a product identifier. */
330
168
  ProductIdentifierConstraint: {
331
- /** @description This value indicates the level of importance of the product identifier appearing in the catalog product. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ImportanceEnum.html'>eBay API documentation</a> */
332
169
  importance?: string;
333
- /** @description Indicates whether the seller must select from a closed list of identifier values, or can input the identifier manually. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/AspectModeEnum.html'>eBay API documentation</a> */
334
170
  mode?: string;
335
- /** @description A value of true indicates that the identifier is mandatory for the product or categories specified. */
336
171
  required?: boolean;
337
172
  };
338
- /** @description This type contains information about certain available product attributes, their input requirements, and their constraints for a specified product and any specified categories. */
339
173
  ProductIdentifierForProductMetadata: {
340
- /** @description Contains information about the input, formatting, and occurrence constraints of the product identifier. */
341
174
  constraint?: components["schemas"]["ProductIdentifierConstraint"];
342
- /** @description The identifier value currently associated with the product. */
343
175
  valueAssociatedWithProduct?: string;
344
- /** @description A list of one or more valid values for this product identifier. */
345
176
  values?: (string)[];
346
177
  };
347
- /** @description This type is the container type for the response payload of the getProductMetadata call, which returns merged aspect metadata for a catalog product. */
348
178
  ProductMetadata: {
349
- /** @description Contains information about one or more aspects that are supported for the specified catalog product, including those that are currently associated with the product. This is a union (with duplicates removed) of all aspects associated with the specified category or categories (if provided) and those associated with the product. */
350
179
  aspects?: (components["schemas"]["ProductMetadataAspect"])[];
351
- /** @description Contains information about available brand names, their input requirements, and their constraints for the specified product and categories. */
352
180
  brand?: components["schemas"]["ProductIdentifierForProductMetadata"];
353
- /** @description The European Article Numbers (EANs) that identify this product. */
354
181
  ean?: components["schemas"]["ProductIdentifierForProductMetadata"];
355
- /** @description The International Standard Book Numbers (ISBNs) associated with the product. */
356
182
  isbn?: components["schemas"]["ProductIdentifierForProductMetadata"];
357
- /** @description Contains information about available Manufacturer Product Numbers (MPNs), their input requirements, and their constraints for the specified product and categories. */
358
183
  mpn?: components["schemas"]["ProductIdentifierForProductMetadata"];
359
- /** @description The Universal Product Codes (UPCs) associated with the product. */
360
184
  upc?: components["schemas"]["ProductIdentifierForProductMetadata"];
361
185
  };
362
- /** @description This type contains detailed information about an aspect that's supported for a given eBay Catalog product. These details include the aspect name, current value(s), supported/possible values, and constraint information. */
363
186
  ProductMetadataAspect: {
364
- /** @description Returned only if this field is populated. This provides information and context for the product aspect. The help text can be presented to the seller to clarify the intended purpose of the aspect, and recommendations for its use. For example, the help text for the Country/Region of Manufacture aspect is: Specifying the country/region of manufacture can help streamline customs clearance. */
365
187
  aspectHelpText?: string;
366
- /** @description Contains information about the constraints for this product aspect, including data type and format, input mode, and occurrence. */
367
188
  constraint?: components["schemas"]["ProductAspectConstraint"];
368
- /** @description A value of true indicates that this product aspect can be removed from the specified catalog product definition by omitting it from a product change request. A value of false indicates that this product aspect cannot be dropped (although it is possible that its value could be modified). */
369
189
  droppable?: boolean;
370
- /** @description The name of the product aspect, such as Model Number, Size, or Color. */
371
190
  name?: string;
372
- /** @description Not returned if the value of the constraint field is FREE_TEXT and there are no stored values for this aspect. Contains information about the supported values for the product aspect identified by the name field, as well as constraint information for the product aspect values. These values can be used instead of the product aspect value(s) currently defined for the eBay Catalog product, and those specified in the valuesAssociatedWithProduct array. */
373
191
  values?: (components["schemas"]["ProductAspectValue"])[];
374
- /** @description The value(s) currently defined for the eBay Catalog product for the product aspect identified by the corresponding name field. */
375
192
  valuesAssociatedWithProduct?: (string)[];
376
193
  };
377
- /** @description This type is the container type for the response payload of the getProductMetadataForCategories call, which returns required and recommended product aspects, brand names, and manufacturer part numbers for one or more eBay categories. */
378
194
  ProductMetadataForCategories: {
379
- /** @description Contains information about one or more required and recommended product aspects associated with the specified eBay category or categories. This is a union (with duplicates removed) of all aspects associated with the specified categories. */
380
195
  aspects?: (components["schemas"]["CategoryAspect"])[];
381
- /** @description Contains information about available brand names, their input requirements, and their constraints for the specified categories. */
382
196
  brand?: components["schemas"]["ProductIdentifier"];
383
- /** @description The European Article Numbers (EANs) that identify this product. */
384
197
  ean?: components["schemas"]["ProductIdentifier"];
385
- /** @description The International Standard Book Numbers (ISBNs) associated with the product. */
386
198
  isbn?: components["schemas"]["ProductIdentifier"];
387
- /** @description Contains information about available Manufacturer Product Numbers (MPNs), their input requirements, and their constraints for the specified categories. */
388
199
  mpn?: components["schemas"]["ProductIdentifier"];
389
- /** @description The Universal Product Codes (UPCs) associated with the product. */
390
200
  upc?: components["schemas"]["ProductIdentifier"];
391
201
  };
392
- /** @description This type contains the specifications for the collection of products that match the search or filter criteria of a search call. A maximum of 200 product summaries is returned (the result set), fewer if you include the limit query parameter in the request. */
393
202
  ProductSearchResponse: {
394
- /** @description This field is reserved for internal or future use. */
395
203
  href?: string;
396
- /**
397
- * Format: int32
398
- * @description The number of product summaries returned in the response. This is the result set, a subset of the full collection of products that match the search or filter criteria of this call. If the limit query parameter was included in the request, this field will have the same value. Default: 50
399
- */
400
204
  limit?: number;
401
- /** @description This field is reserved for internal or future use. */
402
205
  next?: string;
403
- /**
404
- * Format: int32
405
- * @description This field is reserved for internal or future use.
406
- */
407
206
  offset?: number;
408
- /** @description This field is reserved for internal or future use. */
409
207
  prev?: string;
410
- /** @description Returned if the fieldGroups query parameter was omitted from the request, or if it was included with a value of MATCHING_PRODUCTS or FULL. This container provides an array of product summaries in the current result set for products that match the combination of the q, category_ids, and aspect_filter parameters that were provided in the request. Each product summary includes information about the product's identifiers, product images, aspects, the product page URL, and the getProduct URL for retrieving the product details. */
411
208
  productSummaries?: (components["schemas"]["ProductSummary"])[];
412
- /** @description Returned only if the fieldGroups query parameter was included in the request with a value of ASPECT_REFINEMENTS or FULL. An aspect is a property of a category, used by sellers to provide details about the items they're listing. For example, the Cell Phones &amp; Smartphones category (#9355) includes a Storage Capacity aspect. This container provides information about the distribution of values of a set of category aspects. The category aspects are those associated with the category that eBay determines is most likely to cover the products that match the search criteria. */
413
209
  refinement?: components["schemas"]["Refinement"];
414
- /**
415
- * Format: int32
416
- * @description This field is reserved for internal or future use.
417
- */
418
210
  total?: number;
419
211
  };
420
- /** @description This type contains a summary of a specified product. The product summary includes information about the product's identifiers, product images, aspects, and the getProduct URL for retrieving the product details. */
421
212
  ProductSummary: {
422
- /** @description Contains information about additional images associated with this product. For the primary image, see the image container. */
423
213
  additionalImages?: (components["schemas"]["Image"])[];
424
- /** @description Contains an array of the category aspects and their values that are associated with this product. */
425
214
  aspects?: (components["schemas"]["Aspect"])[];
426
- /** @description The manufacturer's brand name for this product. */
427
215
  brand?: string;
428
- /** @description A list of all European Article Numbers (EANs) that identify this product. */
429
216
  ean?: (string)[];
430
- /** @description The eBay product ID of this product. */
431
217
  epid?: string;
432
- /** @description A list of all GTINs that identify this product. This includes all of the values returned in the ean, isbn, and upc fields. */
433
218
  gtin?: (string)[];
434
- /** @description Contains information about the primary image of this product. For more images of this product, see the additionalImages container. */
435
219
  image?: components["schemas"]["Image"];
436
- /** @description A list of all International Standard Book Numbers (ISBNs) that identify this product. */
437
220
  isbn?: (string)[];
438
- /** @description A list of all Manufacturer Product Number (MPN) values that the manufacturer uses to identify this product. */
439
221
  mpn?: (string)[];
440
- /** @description The URI of the getProduct call request that retrieves this product's details. */
441
222
  productHref?: string;
442
- /** @description The URL for this product's eBay product page. */
443
223
  productWebUrl?: string;
444
- /** @description The title of this product on eBay. */
445
224
  title?: string;
446
- /** @description A list of Universal Product Codes (UPCs) that identify this product. */
447
225
  upc?: (string)[];
448
226
  };
449
- /** @description This type identifies a product category and the aspects associated with that category. Each aspect distribution container returns the distribution of values that have been used for the aspect. */
450
227
  Refinement: {
451
- /** @description Contains information about one or more aspects that are associated with the category identified by dominantCategoryId. */
452
228
  aspectDistributions?: (components["schemas"]["AspectDistribution"])[];
453
- /** @description The ID of the category that eBay determines is most likely to cover the products matching the search criteria. */
454
229
  dominantCategoryId?: string;
455
230
  };
456
- /** @description This type contains the full details of a suggested product, including information about the product's identifiers, description, product images, categories, and aspects. */
457
231
  SuggestedProduct: {
458
- /** @description A list of URLs for additional images associated with the suggested product. For the URL of the primary image, see the imageUrl field. */
459
232
  additionalImageUrls?: (string)[];
460
- /** @description Contains one or more category aspects and their values that are associated with the suggested product. */
461
233
  aspects?: (components["schemas"]["ProductAspect"])[];
462
- /** @description The manufacturer's brand name for the suggested product. */
463
234
  brand?: string;
464
- /** @description A rich description of the suggested product, which can contain HTML, including the following basic tags: Text formatting tags such as &lt;b&gt;, &lt;i&gt;, &lt;br&gt;, &lt;ol&gt;, &lt;ul&gt;, and &lt;li&gt; Table formatting tags such as &lt;table&gt;, &lt;tr&gt;, &lt;td&gt;, &lt;th&gt;, &lt;thead&gt;, &lt;tfoot&gt;, &lt;tbody&gt;, &lt;caption&gt;, &lt;col&gt;, and &lt;colgroup&gt; Note: Active content from sellers is prohibited on eBay, including animation or video via JavaScript, Flash, plug-ins, or form actions. */
465
235
  description?: string;
466
- /** @description A list of all European Article Numbers (EANs) that identify the suggested product. */
467
236
  ean?: (string)[];
468
- /** @description Required or returned only if the value of the changeRequestType field is PRODUCT_UPDATE. This is the eBay product ID of the product record for which an update is being suggested. */
469
237
  epid?: string;
470
- /** @description Required or returned if the value of the changeRequestType field is PRODUCT_CREATION. This is the URL of the primary image associated with the suggested product. */
471
238
  imageUrl?: string;
472
- /** @description A list of all International Standard Book Numbers (ISBNs) that identify the suggested product. */
473
239
  isbn?: (string)[];
474
- /** @description A list of all Manufacturer Product Number (MPN) values that the manufacturer uses to identify the suggested product. */
475
240
  mpn?: (string)[];
476
- /** @description A list of category IDs (other than the value of primaryCategoryId) for all the leaf categories to which the suggested product might belong. */
477
241
  otherApplicableCategoryIds?: (string)[];
478
- /** @description The identifier of the category that eBay recommends using to list the suggested product, based on previous listings of similar products. Products in the eBay catalog are not automatically associated with any particular category, but using an inappropriate category can make it difficult for prospective buyers to find the product. For other possible categories that might be used, see otherApplicableCategoryIds. */
479
242
  primaryCategoryId?: string;
480
- /** @description The catalog title that will be used as the listing title for all item listings based on the suggested product. */
481
243
  title?: string;
482
- /** @description A list of all Universal Product Codes (UPCs) that identify the suggested product. */
483
244
  upc?: (string)[];
484
- /** @description Required or returned only if the value of changeRequestType is PRODUCT_UPDATE. This is the current version number in the catalog of the product record for which an update is being suggested. */
485
245
  version?: string;
486
246
  };
487
- /** @description This type contains a list of the dependencies that identify when a particular value is available for a given aspect of a given category. Each dependency specifies the values of another aspect of the same category (the control aspect), for which the given value of the given aspect can also be selected by the seller. This container consists of constraint information for the corresponding product aspect value. */
488
247
  ValueConstraint: {
489
- /** @description The name of the control aspect on which the current aspect value depends. */
490
248
  applicableForAspectName?: string;
491
- /** @description Contains a list of the values of the control aspect on which this aspect's value depends. When the control aspect has any of the specified values, the current value of the current aspect will also be available. */
492
249
  applicableForAspectValues?: (string)[];
493
250
  };
494
- /** @description This type contains information about a violation of eBay standards in a change request. */
495
251
  Violation: {
496
- /** @description Returned only if the value of productAttribute.name is ASPECT_NAME. Contains the name of a product aspect that is in violation of eBay standards in this change request, along with its values that produced the violation. */
497
252
  aspectsValues?: components["schemas"]["ViolationAspectValues"];
498
- /** @description Contains the name of a particular product attribute with a value in violation of eBay standards, and if the name is not ASPECT_NAME (a product aspect), the value of the attribute that's in violation of eBay standards. */
499
253
  productAttribute?: components["schemas"]["ViolationProductAttribute"];
500
- /** @description An explanation of the reason for this violation. */
501
254
  reason?: string;
502
- /** @description The eBay-assigned identifier of the violation type of this violation. */
503
255
  violationCode?: string;
504
256
  };
505
- /** @description Contains the name of a product aspect that is in violation of eBay standards in a particular catalog change request, along with its values that produced the violation. */
506
257
  ViolationAspectValues: {
507
- /** @description The localized name of this product aspect that's in violation, such as Model Number, Size, or Color. */
508
258
  aspectName?: string;
509
- /** @description A list of one or more values of this product aspect that are in violation of eBay standards. */
510
259
  values?: (string)[];
511
260
  };
512
- /** @description This type contains the name of a particular product attribute with a value in violation of eBay standards, and if the name is not ASPECT_NAME (a product aspect), the values of the attribute that are in violation. */
513
261
  ViolationProductAttribute: {
514
- /** @description The name of the product attribute type in the change request which is in violation, such as BRAND, CATEGORY, or TITLE. See the ProductAttributeName type for available values. Note: If the value of this field is ASPECT_NAME, see violations.aspectsValues for violation information. For implementation help, refer to <a href='https://developer.ebay.com/devzone/rest/api-ref/catalog/types/ProductAttributeName.html'>eBay API documentation</a> */
515
262
  name?: string;
516
- /** @description Not returned if the value of name is ASPECT_NAME (see instead violations.aspectsValues). This is a list of the named attribute's values that are in violation. */
517
263
  values?: (string)[];
518
264
  };
519
265
  };
@@ -525,233 +271,156 @@ export interface components {
525
271
  }
526
272
  export type external = Record<string, never>;
527
273
  export interface operations {
528
- /**
529
- * @deprecated
530
- * @description Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be decommissioned in Q1 of 2020. Currently, this method may still return data for a valid change request ID, but the data will be static, the status will not change, and it will not be possible to make any changes to the change request. At any time, it is possible that all catalog change requests for a user will be removed, and then this method will just trigger this error: The specified change request ID was not found. (error code 75150). Use this call to retrieve the contents of a catalog change request based on its unique identifier, change_request_id. The change_request_id value was originally generated by the createChangeRequest call, and is returned by the getChangeRequests call in the changeRequests.changeRequestId field.
531
- */
532
274
  getChangeRequest: {
533
275
  parameters: {
534
276
  header: {
535
- /** @description Use this header to identify the authenticated user's business context. This header is currently limited to EBAY_US, EBAY_AU, EBAY_CA, and EBAY_GB values. If not included with your request, the marketplace value defaults to EBAY_US. Note that it does not indicate a language preference or end-user location. */
536
277
  "X-EBAY-C-MARKETPLACE-ID": string;
537
- /** @description Use this header to specify the natural language in which the authenticated user desires the response. */
538
278
  "Accept-Language"?: string;
539
279
  };
540
280
  path: {
541
- /** @description The unique identifier of the change request being requested. This value was originally generated by the createChangeRequest call, and is returned by the getChangeRequests call in the changeRequests.changeRequestId field. */
542
281
  change_request_id: string;
543
282
  };
544
283
  };
545
284
  responses: {
546
- /** @description Success */
547
285
  200: {
548
286
  content: {
549
287
  "application/json": components["schemas"]["ChangeRequest"];
550
288
  };
551
289
  };
552
- /** @description Bad Request */
553
290
  400: never;
554
- /** @description Forbidden */
555
291
  403: never;
556
- /** @description Not Found */
557
292
  404: never;
558
- /** @description Internal Server Error */
559
293
  500: never;
560
294
  };
561
295
  };
562
- /**
563
- * @deprecated
564
- * @description Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be decommissioned in Q1 of 2020. Currently, this method may still return existing change requests for a user, but the data will be static, the statuses will not change, and it will not be possible to make any changes to any of the change requests. At any time, it is possible that all catalog change requests for a user will be removed, and then this method will just return an empty changeRequests array. Use this call to search for and retrieve one or more catalog change requests that were submitted by the authenticated user based on their creation date, processing status, reference type or reference ID.
565
- */
566
296
  getChangeRequests: {
567
297
  parameters: {
568
298
  query?: {
569
- /** @description One or more comma-separated criteria for narrowing down the collection of change requests returned by this call. These criteria correspond to specific fields in the response payload. Multiple filter criteria combine to further restrict the results. The available criteria are as follows: creationDate The time period during which qualifying change requests were created (the changeRequests.creationDate field). In the URI, this is expressed as a starting timestamp, with or without an ending timestamp (in brackets). The timestamps are in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. For example: creationDate:[2016-02-21T08:25:43.511Z..] identifies orders created on or after the given timestamp. creationDate:[2016-02-21T08:25:43.511Z..2016-04-21T08:25:43.511Z] identifies orders created between the given timestamps, inclusive. changeRequestStatus The degree to which qualifying change requests have been resolved (the changeRequests.changeRequestStatus field). For example: changeRequestStatus:{SUBMITTED} specifies change requests that have been submitted and are being processed. changeRequestStatus:{UNDER_REVIEW|APPROVED_WITH_MODIFICATIONS} specifies change requests that are being reviewed by eBay, and change requests that have been approved, but eBay has made some modifications such as correcting typographic errors. changeRequestStatus:{REJECTED} specifies change requests that have been rejected by eBay because of a violation. referenceId The identifier of an object of the type specified by the value of the referenceType parameter. For example, if the value of referenceType is INVENTORY_ITEM, this field should contain the seller's SKU for an inventory item. If you include this without the referenceType parameter, the filter will apply to objects of any reference type with this reference ID, if specified in the change request. This parameter can take multiple values. For example: referenceId:{234242|675756} referenceType The type of object that a requested catalog change is intended to support, if specified in the change request (the changeRequests.referenceType field). For example: referenceType:{INVENTORY_ITEM} indicates that the requested change will support the completion of an inventory item, which you can then use to create an offer. referenceType:{LISTING} indicates that the requested change will support the modification of an active product listing. referenceType:{LISTING_DRAFT} indicates that the requested change will support the completion of an offer, which you can then publish as a product listing. For implementation help, refer to eBay API documentation at https://developer.ebay.com/devzone/rest/api-ref/catalog/types/FilterField.html */
570
299
  filter?: string;
571
- /** @description The number of change requests to return. This is the result set, a subset of the full collection of change requests that match the filter criteria of this call. Maximum: 200 Default: 50 */
572
300
  limit?: string;
573
- /** @description The first change request to return based on its position in the returned collection of change requests. Use this parameter in conjunction with the limit parameter to control the pagination of the output. For example, if offset is set to 10 and limit is set to 10, the call retrieves change requests 11 thru 20 from the resulting collection of change requests. Note: This feature employs a zero-based list, where the first item in the list has an offset of 0. Default: 0 (zero) */
574
301
  offset?: string;
575
302
  };
576
303
  header: {
577
- /** @description Use this header to identify the authenticated user's business context. This header is currently limited to EBAY_US, EBAY_AU, EBAY_CA, and EBAY_GB values. If not included with your request, the marketplace value defaults to EBAY_US. Note that it does not indicate a language preference or end-user location. */
578
304
  "X-EBAY-C-MARKETPLACE-ID": string;
579
- /** @description Use this header to specify the natural language in which the authenticated user desires the response. */
580
305
  "Accept-Language"?: string;
581
306
  };
582
307
  };
583
308
  responses: {
584
- /** @description Success */
585
309
  200: {
586
310
  content: {
587
311
  "application/json": components["schemas"]["GetChangeRequestsResponse"];
588
312
  };
589
313
  };
590
- /** @description No Content */
591
314
  204: never;
592
- /** @description Bad Request */
593
315
  400: never;
594
- /** @description Forbidden */
595
316
  403: never;
596
- /** @description Internal Server Error */
597
317
  500: never;
598
318
  };
599
319
  };
600
- /**
601
- * @deprecated
602
- * @description Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be decommissioned in Q1 of 2020. This method is no longer supported for any eBay categories and will return this error if used: Change Request is not supported for this product at this moment. (error code 75157) When sellers are unable to identify an eBay catalog product on which to base their item listing, this call enables you to request that eBay update an existing product record or create a new product record that will successfully match the seller's inventory item.
603
- */
604
320
  createChangeRequest: {
605
321
  parameters: {
606
322
  header: {
607
- /** @description Use this header to identify the authenticated user's business context. This header is currently limited to EBAY_US, EBAY_AU, EBAY_CA, and EBAY_GB values. If not included with your request, the marketplace value defaults to EBAY_US. Note that it does not indicate a language preference or end-user location. */
608
323
  "X-EBAY-C-MARKETPLACE-ID": string;
609
- /** @description Use this header to specify the natural language in which the authenticated user desires the response. */
610
324
  "Accept-Language"?: string;
611
325
  };
612
326
  };
613
- /** @description Contains the full details of a specified catalog change request, including the type of request, the reason for a product update request, and the details of the new or updated product being suggested. */
614
327
  requestBody?: {
615
328
  content: {
616
329
  "application/json": components["schemas"]["CreateChangeRequestPayload"];
617
330
  };
618
331
  };
619
332
  responses: {
620
- /** @description Accepted */
621
333
  202: never;
622
- /** @description Bad Request */
623
334
  400: never;
624
- /** @description Forbidden */
625
335
  403: never;
626
- /** @description Internal Server Error */
627
336
  500: never;
628
337
  };
629
338
  };
630
- /** @description This call retrieves details of the catalog product identified by the eBay product identifier (ePID) specified in the request. These details include the product's title and description, aspects and their values, associated images, applicable category IDs, and any recognized identifiers that apply to the product. For a new listing, you can use the search call to identify candidate products on which to base the listing, then use the getProduct call to present the full details of those candidate products to the seller to makea a final selection. */
631
339
  getProduct: {
632
340
  parameters: {
633
341
  path: {
634
- /** @description The ePID of the product being requested. This value can be discovered by issuing the search call and examining the value of the productSummaries.epid field for the desired returned product summary. */
635
342
  epid: string;
636
343
  };
637
344
  };
638
345
  responses: {
639
- /** @description OK */
640
346
  200: {
641
347
  content: {
642
348
  "application/json": components["schemas"]["Product"];
643
349
  };
644
350
  };
645
- /** @description Bad Request */
646
351
  400: never;
647
- /** @description Forbidden */
648
352
  403: never;
649
- /** @description Not Found */
650
353
  404: never;
651
- /** @description Internal Server Error */
652
354
  500: never;
653
355
  };
654
356
  };
655
- /** @description This call searches for and retrieves summaries of one or more products in the eBay catalog that match the search criteria provided by a seller. The seller can use the summaries to select the product in the eBay catalog that corresponds to the item that the seller wants to offer for sale. When a corresponding product is found and adopted by the seller, eBay will use the product information to populate the item listing. The criteria supported by search include keywords, product categories, and category aspects. To see the full details of a selected product, use the getProduct call. In addition to product summaries, this call can also be used to identify refinements, which help you to better pinpoint the product you're looking for. A refinement consists of one or more aspect values and a count of the number of times that each value has been used in previous eBay listings. An aspect is a property (e.g. color or size) of an eBay category, used by sellers to provide details about the items they're listing. The refinement container is returned when you include the fieldGroups query parameter in the request with a value of ASPECT_REFINEMENTS or FULL. Example A seller wants to find a product that is &quot;gray&quot; in color, but doesn't know what term the manufacturer uses for that color. It might be Silver, Brushed Nickel, Pewter, or even Grey. The returned refinement container identifies all aspects that have been used in past listings for products that match your search criteria, along with all of the values those aspects have taken, and the number of times each value was used. You can use this data to present the seller with a histogram of the values of each aspect. The seller can see which color values have been used in the past, and how frequently they have been used, and selects the most likely value or values for their product. You issue the search call again with those values in the aspect_filter parameter to narrow down the collection of products returned by the call. Although all query parameters are optional, this call must include at least the q parameter, or the category_ids, gtin, or mpn parameter with a valid value. If you provide more than one of these parameters, they will be combined with a logical AND to further refine the returned collection of matching products. Note: This call requires that certain special characters in the query parameters be percent-encoded: &nbsp;&nbsp;&nbsp;&nbsp;(space) = %20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;, = %2C &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: = %3A &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ = %5B &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;] = %5D &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ = %7B &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| = %7C &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} = %7D This requirement applies to all query parameter values. However, for readability, call examples and samples in this documentation will not use the encoding. This call returns product summaries rather than the full details of the products. To retrieve the full details of a product, use the getProduct call with an ePID. */
656
357
  search: {
657
358
  parameters: {
658
359
  query?: {
659
- /** @description An eBay category and one or more aspects of that category, with the values that can be used to narrow down the collection of products returned by this call. Aspects are product attributes that can represent different types of information for different products. Every product has aspects, but different products have different sets of aspects. You can determine appropriate values for the aspects by first submitting this call without this parameter. It will return either the productSummaries.aspects container, the refinement.aspectDistributions container, or both, depending on the value of the fieldgroups parameter in the request. The productSummaries.aspects container provides the category aspects and their values that are associated with each returned product. The refinement.aspectDistributions container provides information about the distribution of values of the set of category aspects associated with the specified categories. In both cases sellers can select from among the returned aspects to use with this parameter. Note: You can also use the Taxonomy API's getItemAspectsForCategory call to retrieve detailed information about aspects and their values that are appropriate for your selected category. The syntax for the aspect_filter parameter is as follows (on several lines for readability; categoryId is required): aspect_filter=categoryId:category_id, aspect1:{valueA|valueB|...}, aspect2:{valueC|valueD|...},... A matching product must be within the specified category, and it must have least one of the values identified for every specified aspect. Note: Aspect names and values are case sensitive. Here is an example of an aspect_filter parameter in which 9355 is the category ID, Color is an aspect of that category, and Black and White are possible values of that aspect (on several lines for readability): GET https://api.ebay.com/commerce/catalog/v1_beta/product_summary/search? aspect_filter=categoryId:9355,Color:{White|Black} Here is the aspect_filter with required URL encoding and a second aspect (on several lines for readability): GET https://api.ebay.com/commerce/catalog/v1_beta/product_summary/search? aspect_filter=categoryId:9355,Color:%7BWhite%7CBlack%7D, Storage%20Capacity:%128GB%7C256GB%7D Note: You cannot use the aspect_filter parameter in the same call with either the gtin parameter or the mpn parameter. For implementation help, refer to eBay API documentation at https://developer.ebay.com/devzone/rest/api-ref/catalog/types/AspectFilter.html */
660
360
  aspect_filter?: string;
661
- /** @description Important: Currently, only the first category_id value is accepted. One or more comma-separated category identifiers for narrowing down the collection of products returned by this call. Note: This parameter requires a valid category ID value. You can use the Taxonomy API's getCategorySuggestions call to retrieve appropriate category IDs for your product based on keywords. The syntax for this parameter is as follows: category_ids=category_id1,category_id2,... Here is an example of a call with the category_ids parameter: GET https://api.ebay.com/commerce/catalog/v1_beta/product_summary/search? category_ids=178893 Note: Although all query parameters are optional, this call must include at least the q parameter, or the category_ids, gtin, or mpn parameter with a valid value. If you provide only the category_ids parameter, you cannot specify a top-level (L1) category. */
662
361
  category_ids?: string;
663
- /** @description The type of information to return in the response. Important: This parameter may not produce valid results if you also provide more than one value for the category_ids parameter. It is recommended that you avoid using this combination. Valid Values: ASPECT_REFINEMENTS &mdash; This returns the refinement container, which includes the category aspect and aspect value distributions that apply to the returned products. For example, if you searched for Ford Mustang, some of the category aspects might be Model Year, Exterior Color, Vehicle Mileage, and so on. Note: Aspects are category specific. FULL &mdash; This returns all the refinement containers and all the matching products. This value overrides the other values, which will be ignored. MATCHING_PRODUCTS &mdash; This returns summaries for all products that match the values you provide for the q and category_ids parameters. This does not affect your use of the ASPECT_REFINEMENTS value, which you can use in the same call. Code so that your app gracefully handles any future changes to this list. Default: MATCHING_PRODUCTS */
664
362
  fieldgroups?: string;
665
- /** @description A string consisting of one or more comma-separated Global Trade Item Numbers (GTINs) that identify products to search for. Currently the GTIN values can include EAN, ISBN, and UPC identifier types. Note: Although all query parameters are optional, this call must include at least the q parameter, or the category_ids, gtin, or mpn parameter with a valid value. You cannot use the gtin parameter in the same call with either the q parameter or the aspect_filter parameter. */
666
363
  gtin?: string;
667
- /** @description The number of product summaries to return. This is the result set, a subset of the full collection of products that match the search or filter criteria of this call. Maximum: 200 Default: 50 */
668
364
  limit?: string;
669
- /** @description A string consisting of one or more comma-separated Manufacturer Part Numbers (MPNs) that identify products to search for. This call will return all products that have one of the specified MPNs. MPNs are defined by manufacturers for their own products, and are therefore certain to be unique only within a given brand. However, many MPNs do turn out to be globally unique. Note: Although all query parameters are optional, this call must include at least the q parameter, or the category_ids, gtin, or mpn parameter with a valid value. You cannot use the mpn parameter in the same call with either the q parameter or the aspect_filter parameter. */
670
365
  mpn?: string;
671
- /** @description This parameter is reserved for internal or future use. */
672
366
  offset?: string;
673
- /** @description A string consisting of one or more keywords to use to search for products in the eBay catalog. Note: This call searches the following product record fields: title, description, brand, and aspects.localizedName, which do not include product IDs. Wildcard characters (e.g. *) are not allowed. The keywords are handled as follows: If the keywords are separated by a comma (e.g. iPhone,256GB), the query returns products that have iPhone AND 256GB. If the keywords are separated by a space (e.g. &quot;iPhone&nbsp;ipad&quot; or &quot;iPhone,&nbsp;ipad&quot;), the query ignores any commas and returns products that have iPhone OR iPad. Note: Although all query parameters are optional, this call must include at least the q parameter, or the category_ids, gtin, or mpn parameter with a valid value. You cannot use the q parameter in the same call with either the gtin parameter or the mpn parameter. */
674
367
  q?: string;
675
368
  };
676
369
  };
677
370
  responses: {
678
- /** @description Success */
679
371
  200: {
680
372
  content: {
681
373
  "application/json": components["schemas"]["ProductSearchResponse"];
682
374
  };
683
375
  };
684
- /** @description No Content */
685
376
  204: never;
686
- /** @description Bad Request */
687
377
  400: never;
688
- /** @description Forbidden */
689
378
  403: never;
690
- /** @description Internal Server Error */
691
379
  500: never;
692
380
  };
693
381
  };
694
- /** @description This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified catalog product and its associated or suggested categories, as well as the values currently associated with that product. The array is a union (with duplicates removed) of all returned aspects. After using the search and getProduct calls to find a catalog product that matches a seller's inventory item, you may discover a matching product, but determine that one or more product details are missing or inaccurate. You can propose updates to the product's aspects and aspect values for the catalog by taking the following steps: Use the Taxonomy API's category_tree calls to discover the appropriate category or categories for the seller's inventory item. See Finding categories for a listing or promotion. Use getProductMetadata to determine the aspects of your selected categories and the values of those aspects that should be added to the aspects and values already associated with your product. Use the createChangeRequest call to to submit a change request to update the product in the eBay catalog for your seller's marketplace. Note: The X-EBAY-C-MARKETPLACE-ID request header is required to identify the user's business context. The eBay Product Identifier (ePID) for a catalog product is also required and is specified through the epid query parameter. */
695
382
  getProductMetadata: {
696
383
  parameters: {
697
384
  query: {
698
- /** @description The unique eBay product identifier of the catalog product that you want to update. The supported and applied aspects, constraints, and values for this eBay catalog product are returned. */
699
385
  epid: string;
700
- /** @description Use only if you are also including the primary_category_id parameter in the request. Provide one or more comma-separated category IDs in this parameter. Sellers can use other_applicable_category_ids to retrieve information about the specified categories' associated aspects, constraints, and values, along with the same information for the category specified in the primary_category_id parameter, for the seller to assess, select, and populate for submission with the createChangeRequest call. eBay category IDs are returned by the Taxonomy API's category_tree calls. */
701
386
  other_applicable_category_ids?: string;
702
- /** @description Use only if the seller believes this product is associated with the wrong primary category. Use this parameter to submit the unique identifier of the primary category that the seller wants to use instead. This call retrieves information about the specified category's associated aspects, constraints, and values for the seller to assess, select, and populate for submission with the Catalog API's createChangeRequest call. If you exclude this parameter from your request, this call retrieves information about the aspects, constraints, and values of the specified product's current primary category and other applicable categories. If you include this parameter in your request, this call does not return any information about the specified product's current primary or other applicable categories, but only about the specified category. To retrieve information about any other categories, you must specify them with the other_applicable_category_ids parameter. eBay category IDs are returned by the Taxonomy API's category_tree calls. */
703
387
  primary_category_id?: string;
704
388
  };
705
389
  header: {
706
- /** @description This request header sets the natural language that will be provided in the field values of the response payload. Supported values for this header can be found in the Marketplace ID and language header values table. */
707
390
  "Accept-Language"?: string;
708
- /** @description Use this header to specify the eBay marketplace identifier. Supported values for this header can be found in the MarketplaceIdEnum type definition. */
709
391
  "X-EBAY-C-MARKETPLACE-ID": string;
710
392
  };
711
393
  };
712
394
  responses: {
713
- /** @description Success */
714
395
  200: {
715
396
  content: {
716
397
  "application/json": components["schemas"]["ProductMetadata"];
717
398
  };
718
399
  };
719
- /** @description No Content */
720
400
  204: never;
721
- /** @description Bad Request */
722
401
  400: never;
723
- /** @description Internal Server Error */
724
402
  500: never;
725
403
  };
726
404
  };
727
- /** @description This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified eBay categories. The array is a union (with duplicates removed) of all returned aspects. After using the search and getProduct calls to find a catalog product that matches a seller's inventory item, you may determine that a matching product does not exist in the eBay catalog. You can propose a new product for the catalog by taking the following steps: Use the Taxonomy API's category_tree calls to discover the appropriate category or categories for the seller's inventory item. See Finding categories for a listing or promotion. Use getProductMetadataForCategories to determine the aspects of your selected categories that should be associated with your new product. Use the createChangeRequest call to to submit a change request to add the new product to the eBay catalog for your seller's marketplace. Note: The X-EBAY-C-MARKETPLACE-ID request header is required to identify the user's business context. At least one eBay category ID is required and is specified through the primary_category_id query parameter. */
728
405
  getProductMetadataForCategories: {
729
406
  parameters: {
730
407
  query: {
731
- /** @description A string of comma-separated category IDs. if sellers want to specify more than the primary category under which to offer a product, they can use this parameter to retrieve the aspects associated with all of the additional specified categories. eBay category IDs are returned by the Taxonomy API's category_tree calls. */
732
408
  other_applicable_category_ids?: string;
733
- /** @description The unique identifier of the primary eBay category for which you will retrieve product aspects. eBay category IDs are returned by the Taxonomy API's category_tree calls. */
734
409
  primary_category_id: string;
735
410
  };
736
411
  header: {
737
- /** @description This request header sets the natural language that will be provided in the field values of the response payload. Supported values for this header can be found in the Marketplace ID and language header values table. */
738
412
  "Accept-Language"?: string;
739
- /** @description Use this header to specify the eBay marketplace identifier. Supported values for this header can be found under Supported marketplaces on the Catalog API Overview page. */
740
413
  "X-EBAY-C-MARKETPLACE-ID": string;
741
414
  };
742
415
  };
743
416
  responses: {
744
- /** @description Success */
745
417
  200: {
746
418
  content: {
747
419
  "application/json": components["schemas"]["ProductMetadataForCategories"];
748
420
  };
749
421
  };
750
- /** @description No Content */
751
422
  204: never;
752
- /** @description Bad Request */
753
423
  400: never;
754
- /** @description Internal Server Error */
755
424
  500: never;
756
425
  };
757
426
  };