ebay-api 8.5.1 → 8.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/README.md +2 -2
  2. package/dist/api/apiFactory.d.ts +0 -3
  3. package/dist/api/apiFactory.js +0 -4
  4. package/dist/api/base.d.ts +0 -3
  5. package/dist/api/base.js +0 -3
  6. package/dist/api/digitalSignature.d.ts +0 -33
  7. package/dist/api/digitalSignature.js +1 -41
  8. package/dist/api/index.d.ts +0 -3
  9. package/dist/api/index.js +0 -3
  10. package/dist/api/restful/buy/browse/index.d.ts +0 -66
  11. package/dist/api/restful/buy/browse/index.js +0 -73
  12. package/dist/api/restful/buy/deal/index.d.ts +0 -32
  13. package/dist/api/restful/buy/deal/index.js +0 -32
  14. package/dist/api/restful/buy/feed/index.d.ts +0 -33
  15. package/dist/api/restful/buy/feed/index.js +0 -33
  16. package/dist/api/restful/buy/marketing/index.d.ts +0 -18
  17. package/dist/api/restful/buy/marketing/index.js +0 -22
  18. package/dist/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  19. package/dist/api/restful/buy/marketplaceInsights/index.js +0 -21
  20. package/dist/api/restful/buy/offer/index.d.ts +0 -15
  21. package/dist/api/restful/buy/offer/index.js +0 -15
  22. package/dist/api/restful/buy/order/index.d.ts +0 -227
  23. package/dist/api/restful/buy/order/index.js +0 -227
  24. package/dist/api/restful/commerce/catalog/index.d.ts +0 -54
  25. package/dist/api/restful/commerce/catalog/index.js +0 -54
  26. package/dist/api/restful/commerce/charity/index.d.ts +0 -21
  27. package/dist/api/restful/commerce/charity/index.js +0 -21
  28. package/dist/api/restful/commerce/identity/index.d.ts +0 -7
  29. package/dist/api/restful/commerce/identity/index.js +0 -7
  30. package/dist/api/restful/commerce/notification/index.d.ts +0 -93
  31. package/dist/api/restful/commerce/notification/index.js +0 -93
  32. package/dist/api/restful/commerce/taxonomy/index.d.ts +0 -64
  33. package/dist/api/restful/commerce/taxonomy/index.js +0 -64
  34. package/dist/api/restful/commerce/translation/index.d.ts +0 -8
  35. package/dist/api/restful/commerce/translation/index.js +0 -8
  36. package/dist/api/restful/developer/analytics/index.d.ts +0 -15
  37. package/dist/api/restful/developer/analytics/index.js +0 -15
  38. package/dist/api/restful/developer/keyManagement/index.d.ts +0 -15
  39. package/dist/api/restful/developer/keyManagement/index.js +0 -15
  40. package/dist/api/restful/index.d.ts +0 -16
  41. package/dist/api/restful/index.js +1 -23
  42. package/dist/api/restful/postOrder/cancellation/index.d.ts +0 -43
  43. package/dist/api/restful/postOrder/cancellation/index.js +0 -43
  44. package/dist/api/restful/postOrder/case/index.d.ts +0 -46
  45. package/dist/api/restful/postOrder/case/index.js +0 -46
  46. package/dist/api/restful/postOrder/inquiry/index.d.ts +0 -64
  47. package/dist/api/restful/postOrder/inquiry/index.js +0 -64
  48. package/dist/api/restful/postOrder/return/index.d.ts +0 -190
  49. package/dist/api/restful/postOrder/return/index.js +0 -190
  50. package/dist/api/restful/sell/account/index.d.ts +0 -241
  51. package/dist/api/restful/sell/account/index.js +0 -241
  52. package/dist/api/restful/sell/analytics/index.d.ts +0 -26
  53. package/dist/api/restful/sell/analytics/index.js +0 -26
  54. package/dist/api/restful/sell/compliance/index.d.ts +0 -23
  55. package/dist/api/restful/sell/compliance/index.js +0 -23
  56. package/dist/api/restful/sell/feed/index.d.ts +0 -135
  57. package/dist/api/restful/sell/feed/index.js +0 -135
  58. package/dist/api/restful/sell/finances/index.d.ts +0 -51
  59. package/dist/api/restful/sell/finances/index.js +0 -51
  60. package/dist/api/restful/sell/fulfillment/index.d.ts +0 -108
  61. package/dist/api/restful/sell/fulfillment/index.js +0 -108
  62. package/dist/api/restful/sell/inventory/index.d.ts +0 -197
  63. package/dist/api/restful/sell/inventory/index.js +0 -197
  64. package/dist/api/restful/sell/listing/index.d.ts +0 -8
  65. package/dist/api/restful/sell/listing/index.js +0 -8
  66. package/dist/api/restful/sell/logistics/index.d.ts +0 -33
  67. package/dist/api/restful/sell/logistics/index.js +0 -33
  68. package/dist/api/restful/sell/marketing/index.d.ts +16 -495
  69. package/dist/api/restful/sell/marketing/index.js +48 -494
  70. package/dist/api/restful/sell/metadata/index.d.ts +0 -65
  71. package/dist/api/restful/sell/metadata/index.js +0 -65
  72. package/dist/api/restful/sell/negotiation/index.d.ts +0 -14
  73. package/dist/api/restful/sell/negotiation/index.js +0 -14
  74. package/dist/api/restful/sell/recommendation/index.d.ts +0 -15
  75. package/dist/api/restful/sell/recommendation/index.js +0 -15
  76. package/dist/api/traditional/XMLRequest.d.ts +0 -44
  77. package/dist/api/traditional/XMLRequest.js +0 -46
  78. package/dist/api/traditional/clientAlerts/index.js +0 -1
  79. package/dist/api/traditional/index.d.ts +0 -3
  80. package/dist/api/traditional/index.js +0 -5
  81. package/dist/api/traditional/shopping/index.js +0 -1
  82. package/dist/auth/authNAuth.d.ts +0 -5
  83. package/dist/auth/authNAuth.js +0 -5
  84. package/dist/auth/index.d.ts +0 -3
  85. package/dist/auth/index.js +0 -3
  86. package/dist/auth/oAuth2.d.ts +0 -52
  87. package/dist/auth/oAuth2.js +0 -53
  88. package/dist/eBayApi.d.ts +0 -11
  89. package/dist/eBayApi.js +0 -14
  90. package/dist/ebay-api.min.mjs +1 -1
  91. package/dist/enums/restfulEnums.d.ts +0 -5
  92. package/dist/enums/restfulEnums.js +0 -5
  93. package/dist/errors/index.d.ts +0 -19
  94. package/dist/errors/index.js +1 -21
  95. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  96. package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  97. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  98. package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  99. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  100. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  101. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  102. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  103. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  104. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  105. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  106. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  107. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  108. package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  109. package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
  110. package/dist/types/restful/specs/cancellation_oas3.js +0 -4
  111. package/dist/types/restful/specs/case_oas3.d.ts +0 -31
  112. package/dist/types/restful/specs/case_oas3.js +0 -4
  113. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  114. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  115. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  116. package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  117. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  118. package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  119. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  120. package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  121. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  122. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  123. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  124. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  125. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  126. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  127. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  128. package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  129. package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
  130. package/dist/types/restful/specs/inquiry_oas3.js +0 -4
  131. package/dist/types/restful/specs/return_oas3.d.ts +0 -130
  132. package/dist/types/restful/specs/return_oas3.js +0 -4
  133. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  134. package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
  135. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  136. package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  137. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  138. package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  139. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  140. package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  141. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  142. package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  143. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  144. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  145. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  146. package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  147. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  148. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  149. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  150. package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  151. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  152. package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  153. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  154. package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  155. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  156. package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  157. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  158. package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  159. package/dist/types/restfulTypes.d.ts +3 -0
  160. package/lib/api/apiFactory.d.ts +0 -3
  161. package/lib/api/apiFactory.js +0 -4
  162. package/lib/api/base.d.ts +0 -3
  163. package/lib/api/base.js +0 -3
  164. package/lib/api/digitalSignature.d.ts +0 -33
  165. package/lib/api/digitalSignature.js +1 -41
  166. package/lib/api/index.d.ts +0 -3
  167. package/lib/api/index.js +0 -3
  168. package/lib/api/restful/buy/browse/index.d.ts +0 -66
  169. package/lib/api/restful/buy/browse/index.js +0 -73
  170. package/lib/api/restful/buy/deal/index.d.ts +0 -32
  171. package/lib/api/restful/buy/deal/index.js +0 -32
  172. package/lib/api/restful/buy/feed/index.d.ts +0 -33
  173. package/lib/api/restful/buy/feed/index.js +0 -33
  174. package/lib/api/restful/buy/marketing/index.d.ts +0 -18
  175. package/lib/api/restful/buy/marketing/index.js +0 -22
  176. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  177. package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
  178. package/lib/api/restful/buy/offer/index.d.ts +0 -15
  179. package/lib/api/restful/buy/offer/index.js +0 -15
  180. package/lib/api/restful/buy/order/index.d.ts +0 -227
  181. package/lib/api/restful/buy/order/index.js +0 -227
  182. package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
  183. package/lib/api/restful/commerce/catalog/index.js +0 -54
  184. package/lib/api/restful/commerce/charity/index.d.ts +0 -21
  185. package/lib/api/restful/commerce/charity/index.js +0 -21
  186. package/lib/api/restful/commerce/identity/index.d.ts +0 -7
  187. package/lib/api/restful/commerce/identity/index.js +0 -7
  188. package/lib/api/restful/commerce/notification/index.d.ts +0 -93
  189. package/lib/api/restful/commerce/notification/index.js +0 -93
  190. package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
  191. package/lib/api/restful/commerce/taxonomy/index.js +0 -64
  192. package/lib/api/restful/commerce/translation/index.d.ts +0 -8
  193. package/lib/api/restful/commerce/translation/index.js +0 -8
  194. package/lib/api/restful/developer/analytics/index.d.ts +0 -15
  195. package/lib/api/restful/developer/analytics/index.js +0 -15
  196. package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
  197. package/lib/api/restful/developer/keyManagement/index.js +0 -15
  198. package/lib/api/restful/index.d.ts +0 -16
  199. package/lib/api/restful/index.js +1 -23
  200. package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
  201. package/lib/api/restful/postOrder/cancellation/index.js +0 -43
  202. package/lib/api/restful/postOrder/case/index.d.ts +0 -46
  203. package/lib/api/restful/postOrder/case/index.js +0 -46
  204. package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
  205. package/lib/api/restful/postOrder/inquiry/index.js +0 -64
  206. package/lib/api/restful/postOrder/return/index.d.ts +0 -190
  207. package/lib/api/restful/postOrder/return/index.js +0 -190
  208. package/lib/api/restful/sell/account/index.d.ts +0 -241
  209. package/lib/api/restful/sell/account/index.js +0 -241
  210. package/lib/api/restful/sell/analytics/index.d.ts +0 -26
  211. package/lib/api/restful/sell/analytics/index.js +0 -26
  212. package/lib/api/restful/sell/compliance/index.d.ts +0 -23
  213. package/lib/api/restful/sell/compliance/index.js +0 -23
  214. package/lib/api/restful/sell/feed/index.d.ts +0 -135
  215. package/lib/api/restful/sell/feed/index.js +0 -135
  216. package/lib/api/restful/sell/finances/index.d.ts +0 -51
  217. package/lib/api/restful/sell/finances/index.js +0 -51
  218. package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
  219. package/lib/api/restful/sell/fulfillment/index.js +0 -108
  220. package/lib/api/restful/sell/inventory/index.d.ts +0 -197
  221. package/lib/api/restful/sell/inventory/index.js +0 -197
  222. package/lib/api/restful/sell/listing/index.d.ts +0 -8
  223. package/lib/api/restful/sell/listing/index.js +0 -8
  224. package/lib/api/restful/sell/logistics/index.d.ts +0 -33
  225. package/lib/api/restful/sell/logistics/index.js +0 -33
  226. package/lib/api/restful/sell/marketing/index.d.ts +16 -495
  227. package/lib/api/restful/sell/marketing/index.js +48 -494
  228. package/lib/api/restful/sell/metadata/index.d.ts +0 -65
  229. package/lib/api/restful/sell/metadata/index.js +0 -65
  230. package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
  231. package/lib/api/restful/sell/negotiation/index.js +0 -14
  232. package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
  233. package/lib/api/restful/sell/recommendation/index.js +0 -15
  234. package/lib/api/traditional/XMLRequest.d.ts +0 -44
  235. package/lib/api/traditional/XMLRequest.js +0 -46
  236. package/lib/api/traditional/clientAlerts/index.js +0 -1
  237. package/lib/api/traditional/index.d.ts +0 -3
  238. package/lib/api/traditional/index.js +0 -5
  239. package/lib/api/traditional/shopping/index.js +0 -1
  240. package/lib/auth/authNAuth.d.ts +0 -5
  241. package/lib/auth/authNAuth.js +0 -5
  242. package/lib/auth/index.d.ts +0 -3
  243. package/lib/auth/index.js +0 -3
  244. package/lib/auth/oAuth2.d.ts +0 -52
  245. package/lib/auth/oAuth2.js +0 -53
  246. package/lib/eBayApi.d.ts +0 -11
  247. package/lib/eBayApi.js +0 -14
  248. package/lib/ebay-api.min.js +1 -1
  249. package/lib/enums/restfulEnums.d.ts +0 -5
  250. package/lib/enums/restfulEnums.js +0 -5
  251. package/lib/errors/index.d.ts +0 -19
  252. package/lib/errors/index.js +1 -21
  253. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  254. package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  255. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  256. package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  257. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  258. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  259. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  260. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  261. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  262. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  263. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  264. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  265. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  266. package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  267. package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
  268. package/lib/types/restful/specs/cancellation_oas3.js +0 -4
  269. package/lib/types/restful/specs/case_oas3.d.ts +0 -31
  270. package/lib/types/restful/specs/case_oas3.js +0 -4
  271. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  272. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  273. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  274. package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  275. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  276. package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  277. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  278. package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  279. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  280. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  281. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  282. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  283. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  284. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  285. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  286. package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  287. package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
  288. package/lib/types/restful/specs/inquiry_oas3.js +0 -4
  289. package/lib/types/restful/specs/return_oas3.d.ts +0 -130
  290. package/lib/types/restful/specs/return_oas3.js +0 -4
  291. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  292. package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
  293. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  294. package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  295. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  296. package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  297. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  298. package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  299. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  300. package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  301. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  302. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  303. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  304. package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  305. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  306. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  307. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  308. package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  309. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  310. package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  311. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  312. package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  313. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  314. package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  315. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  316. package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  317. package/lib/types/restfulTypes.d.ts +3 -0
  318. package/package.json +2 -2
@@ -1,28 +1,10 @@
1
1
  import { BuyMarketingGetAlsoBoughtByProductParams, BuyMarketingGetAlsoViewedByProductParams, BuyMarketingGetMerchandisedProductsParams } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/buy_marketing_v1_beta_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were
6
- * also bought and also viewed.
7
- */
8
4
  export default class Marketing extends Restful implements OpenApi<operations> {
9
5
  static id: string;
10
6
  get basePath(): string;
11
- /**
12
- * This call returns products that were also bought when shoppers bought the product specified in the request.
13
- * @param params
14
- */
15
7
  getAlsoBoughtByProduct(params: BuyMarketingGetAlsoBoughtByProductParams): Promise<any>;
16
- /**
17
- * This call returns products that were also viewed when shoppers viewed the product specified in the request.
18
- *
19
- * @param params
20
- */
21
8
  getAlsoViewedByProduct(params: BuyMarketingGetAlsoViewedByProductParams): Promise<any>;
22
- /**
23
- * This call returns an array of products based on the category and metric specified.
24
- *
25
- * @param params
26
- */
27
9
  getMerchandisedProducts(params: BuyMarketingGetMerchandisedProductsParams): Promise<any>;
28
10
  }
@@ -1,40 +1,18 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were
4
- * also bought and also viewed.
5
- */
6
2
  class Marketing extends Restful {
7
3
  get basePath() {
8
4
  return '/buy/marketing/v1_beta';
9
5
  }
10
- //
11
- // Marketing
12
- // Client Credentials: https://api.ebay.com/oauth/api_scope/buy.marketing
13
- //
14
- /**
15
- * This call returns products that were also bought when shoppers bought the product specified in the request.
16
- * @param params
17
- */
18
6
  getAlsoBoughtByProduct(params) {
19
7
  return this.get(`/merchandised_product/get_also_bought_products`, {
20
8
  params
21
9
  });
22
10
  }
23
- /**
24
- * This call returns products that were also viewed when shoppers viewed the product specified in the request.
25
- *
26
- * @param params
27
- */
28
11
  getAlsoViewedByProduct(params) {
29
12
  return this.get(`/merchandised_product/get_also_viewed_products`, {
30
13
  params
31
14
  });
32
15
  }
33
- /**
34
- * This call returns an array of products based on the category and metric specified.
35
- *
36
- * @param params
37
- */
38
16
  getMerchandisedProducts(params) {
39
17
  return this.get(`/merchandised_product`, {
40
18
  params
@@ -1,29 +1,8 @@
1
1
  import { MarketingInsightsSearchParams } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * (Limited Release) The Marketplace Insights API provides the ability to search for sold items on eBay by keyword,
6
- * GTIN, category, and product and returns the of sales history of those items.
7
- */
8
4
  export default class MarketplaceInsights extends Restful implements OpenApi<operations> {
9
5
  static id: string;
10
6
  get basePath(): string;
11
- /**
12
- * (Limited Release) This method searches for sold eBay items by various URI query parameters and retrieves the sales
13
- * history of the items for the last 90 days. You can search by keyword, category, eBay product ID (ePID), or GTIN,
14
- * or a combination of these.
15
- *
16
- * @param itemId
17
- * @param aspectFilter This field lets you filter by item aspects.
18
- * @param categoryIds The category ID is required and is used to limit the results.
19
- * @param epid The ePID is the eBay product identifier of a product from the eBay product catalog.
20
- * @param fieldgroups This field lets you control what is to be returned in the response and accepts a comma separated list of values.
21
- * @param filter This field supports multiple field filters that can be used to limit/customize the result set.
22
- * @param gtin This field lets you search by the Global Trade Item Number of the item as defined by https://www.gtin.info.
23
- * @param limit The number of items, from the result set, returned in a single page.
24
- * @param offset Specifies the number of items to skip in the result set.
25
- * @param q A string consisting of one or more keywords that are used to search for items on eBay.
26
- * @param sort This field specifies the order and the field name to use to sort the items.
27
- */
28
7
  search({ aspectFilter, categoryIds, epid, fieldgroups, filter, gtin, limit, offset, q, sort, }: MarketingInsightsSearchParams): Promise<any>;
29
8
  }
@@ -1,29 +1,8 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * (Limited Release) The Marketplace Insights API provides the ability to search for sold items on eBay by keyword,
4
- * GTIN, category, and product and returns the of sales history of those items.
5
- */
6
2
  class MarketplaceInsights extends Restful {
7
3
  get basePath() {
8
4
  return '/buy/marketplace_insights/v1_beta';
9
5
  }
10
- /**
11
- * (Limited Release) This method searches for sold eBay items by various URI query parameters and retrieves the sales
12
- * history of the items for the last 90 days. You can search by keyword, category, eBay product ID (ePID), or GTIN,
13
- * or a combination of these.
14
- *
15
- * @param itemId
16
- * @param aspectFilter This field lets you filter by item aspects.
17
- * @param categoryIds The category ID is required and is used to limit the results.
18
- * @param epid The ePID is the eBay product identifier of a product from the eBay product catalog.
19
- * @param fieldgroups This field lets you control what is to be returned in the response and accepts a comma separated list of values.
20
- * @param filter This field supports multiple field filters that can be used to limit/customize the result set.
21
- * @param gtin This field lets you search by the Global Trade Item Number of the item as defined by https://www.gtin.info.
22
- * @param limit The number of items, from the result set, returned in a single page.
23
- * @param offset Specifies the number of items to skip in the result set.
24
- * @param q A string consisting of one or more keywords that are used to search for items on eBay.
25
- * @param sort This field specifies the order and the field name to use to sort the items.
26
- */
27
6
  search({ aspectFilter, categoryIds, epid, fieldgroups, filter, gtin, limit, offset, q, sort, }) {
28
7
  return this.get(`/item_sales/search`, {
29
8
  params: {
@@ -1,24 +1,9 @@
1
1
  import { PlaceProxyBidRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/buy_offer_v1_beta_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * The Api Offer API enables Partners to place proxy bids for a buyer and retrieve the auctions where the buyer is
6
- * bidding. Client Credentials: https://api.ebay.com/oauth/api_scope/buy.offer.auction
7
- */
8
4
  export default class Offer extends Restful implements OpenApi<operations> {
9
5
  static id: string;
10
6
  get basePath(): string;
11
- /**
12
- * This method retrieves the bidding details that are specific to the buyer of the specified auction.
13
- *
14
- * @param itemId
15
- */
16
7
  getBidding(itemId: string): Promise<any>;
17
- /**
18
- * This method uses a user access token to place a proxy bid for the buyer on a specific auction item.
19
- *
20
- * @param itemId
21
- * @param {PlaceProxyBidRequest} body
22
- */
23
8
  placeProxyBid(itemId: string, body?: PlaceProxyBidRequest): Promise<any>;
24
9
  }
@@ -1,27 +1,12 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * The Api Offer API enables Partners to place proxy bids for a buyer and retrieve the auctions where the buyer is
4
- * bidding. Client Credentials: https://api.ebay.com/oauth/api_scope/buy.offer.auction
5
- */
6
2
  class Offer extends Restful {
7
3
  get basePath() {
8
4
  return '/buy/offer/v1_beta';
9
5
  }
10
- /**
11
- * This method retrieves the bidding details that are specific to the buyer of the specified auction.
12
- *
13
- * @param itemId
14
- */
15
6
  getBidding(itemId) {
16
7
  const id = encodeURIComponent(itemId);
17
8
  return this.get(`/bidding/${id}`);
18
9
  }
19
- /**
20
- * This method uses a user access token to place a proxy bid for the buyer on a specific auction item.
21
- *
22
- * @param itemId
23
- * @param {PlaceProxyBidRequest} body
24
- */
25
10
  placeProxyBid(itemId, body) {
26
11
  const id = encodeURIComponent(itemId);
27
12
  return this.post(`/bidding/${id}/place_proxy_bid`, body);
@@ -1,265 +1,38 @@
1
1
  import { CheckoutSessionRequestWithoutPayment, CouponRequest, CreateGuestCheckoutSessionRequest, CreateSignInCheckoutSessionRequest, GuestPlaceOrderRequest, InitiatePaymentRequest, ShippingAddressImpl, UpdatePaymentInformation, UpdateQuantity, UpdateShippingOption } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/buy_order_v1_beta_oas3.js';
3
3
  import Api, { OpenApi } from '../../index.js';
4
- /**
5
- * The Order API provides interfaces that lets shoppers pay for items (for both eBay guest and eBay member buyers).
6
- * Client Credentials: https://api.ebay.com/oauth/api_scope/buy.order
7
- */
8
4
  export default class Order extends Api implements OpenApi<operations> {
9
5
  static id: string;
10
6
  get basePath(): string;
11
- /**
12
- * (Limited Release) You must be whitelisted to use this method.
13
- * This method adds a coupon to an eBay proxy guest checkout session and applies it to all the eligible items in
14
- * the order.
15
- *
16
- * @param {String} checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is
17
- * returned by the initiateCheckoutSession method.
18
- * @param body The container for the fields used to apply a coupon to a checkout session.
19
- */
20
7
  applyCoupon(checkoutSessionId: string, body: CouponRequest): Promise<any>;
21
- /**
22
- * This method returns the details of the specified eBay member checkout session.
23
- *
24
- * @param {String} checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is
25
- * returned by the initiateCheckoutSession method.
26
- */
27
8
  getCheckoutSession(checkoutSessionId: string): Promise<any>;
28
- /**
29
- * This method creates a eBay member checkout session, which is the first step in performing a checkout.
30
- *
31
- * @param body The container for the fields used by the initiateCheckoutSession method.
32
- */
33
9
  initiateCheckoutSession(body?: CreateSignInCheckoutSessionRequest): Promise<any>;
34
- /**
35
- * This method creates the purchase order, pays for the items, and terminates the specified eBay member checkout
36
- * session.
37
- *
38
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
39
- * initiateCheckoutSession method.
40
- */
41
10
  placeOrder(checkoutSessionId: string): Promise<any>;
42
- /**
43
- * (Limited Release) You must be whitelisted to use this method. This method removes a coupon from an eBay member
44
- * checkout session.
45
- *
46
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
47
- * initiateCheckoutSession method.
48
- * @param body CouponRequest
49
- */
50
11
  removeCoupon(checkoutSessionId: string, body?: CouponRequest): Promise<any>;
51
- /**
52
- * This method changes the payment method information of the specified eBay member checkout session.
53
- *
54
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
55
- * initiateCheckoutSession method.
56
- * @param body UpdatePaymentInformation
57
- */
58
12
  updatePaymentInfo(checkoutSessionId: string, body?: UpdatePaymentInformation): Promise<any>;
59
- /**
60
- * This method changes the quantity of the specified line item in an eBay member checkout session.
61
- *
62
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
63
- * initiateCheckoutSession method.
64
- * @param body UpdateQuantity
65
- */
66
13
  updateQuantity(checkoutSessionId: string, body?: UpdateQuantity): Promise<any>;
67
- /**
68
- * This method changes the quantity of the specified line item in an eBay member checkout session.
69
- *
70
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
71
- * initiateCheckoutSession method.
72
- * @param body UpdateQuantity
73
- */
74
14
  checkoutSessionId(checkoutSessionId: string, body?: UpdateQuantity): Promise<any>;
75
- /**
76
- * This method changes the shipping address for in an eBay member checkout session.
77
- *
78
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
79
- * initiateCheckoutSession method.
80
- * @param body ShippingAddressImpl
81
- */
82
15
  updateShippingAddress(checkoutSessionId: string, body?: ShippingAddressImpl): Promise<any>;
83
- /**
84
- * This method changes the shipping method for the specified line item in an eBay member checkout session.
85
- *
86
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
87
- * initiateCheckoutSession method.
88
- * @param body UpdateShippingOption
89
- */
90
16
  updateShippingOption(checkoutSessionId: string, body?: UpdateShippingOption): Promise<any>;
91
- /**
92
- * (Limited Release) You must be whitelisted to use this method. This method adds a coupon to an eBay guest
93
- * checkout
94
- * session and applies it to all the eligible items in the order.
95
- *
96
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
97
- * initiateCheckoutSession method.
98
- * @param body CouponRequest
99
- */
100
17
  applyGuestCoupon(checkoutSessionId: string, body?: CouponRequest): Promise<any>;
101
- /**
102
- * This method returns the details of the specified guest checkout session. The checkoutSessionId is passed in as a
103
- * URI parameter and is required.
104
- *
105
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
106
- * initiateCheckoutSession method.
107
- */
108
18
  getGuestCheckoutSession(checkoutSessionId: string): Promise<any>;
109
- /**
110
- * This method creates an eBay guest checkout session, which is the first step in performing a checkout.
111
- *
112
- * @param body CheckoutSessionRequest
113
- */
114
19
  initiateGuestCheckoutSession(body?: CreateGuestCheckoutSessionRequest): Promise<any>;
115
- /**
116
- * This method is used only in the PayPal Smart Button eBay guest payment flow.
117
- *
118
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
119
- * initiateCheckoutSession method.
120
- * @param body InitiatePaymentRequest
121
- */
122
20
  initiateGuestPayment(checkoutSessionId: string, body?: InitiatePaymentRequest): Promise<any>;
123
- /**
124
- * This method creates the purchase order, pays for the items, and terminates the specified guest checkout session.
125
- *
126
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
127
- * initiateCheckoutSession method.
128
- * @param body GuestPlaceOrderRequest
129
- */
130
21
  placeGuestOrder(checkoutSessionId: string, body?: GuestPlaceOrderRequest): Promise<any>;
131
- /**
132
- * (Limited Release) You must be whitelisted to use this method. This method removes a coupon from an eBay guest
133
- * checkout session.
134
- *
135
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
136
- * initiateCheckoutSession method.
137
- * @param body CouponRequest
138
- */
139
22
  removeGuestCoupon(checkoutSessionId: string, body?: CouponRequest): Promise<any>;
140
- /**
141
- * This method changes the payment method information of the specified guest checkout session.
142
- *
143
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
144
- * initiateCheckoutSession method.
145
- * @param body UpdatePaymentInformation
146
- */
147
23
  updateGuestPaymentInfo(checkoutSessionId: string, body?: UpdatePaymentInformation): Promise<any>;
148
- /**
149
- * This method changes the quantity of the specified line item in an eBay guest checkout session.
150
- *
151
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
152
- * initiateCheckoutSession method.
153
- * @param body UpdateQuantity
154
- */
155
24
  updateGuestQuantity(checkoutSessionId: string, body?: UpdateQuantity): Promise<any>;
156
- /**
157
- * This method changes the shipping address for the order in an eBay guest checkout session.
158
- *
159
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
160
- * initiateCheckoutSession method.
161
- * @param body ShippingAddressImpl
162
- */
163
25
  updateGuestShippingAddress(checkoutSessionId: string, body?: ShippingAddressImpl): Promise<any>;
164
- /**
165
- * This method changes the shipping method for the specified line item in an eBay guest checkout session.
166
- *
167
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
168
- * initiateCheckoutSession method.
169
- * @param body UpdateShippingOption
170
- */
171
26
  updateGuestShippingOption(checkoutSessionId: string, body?: UpdateShippingOption): Promise<any>;
172
- /**
173
- * (Limited Release) You must be whitelisted to use this method. This method adds a coupon to an eBay proxy guest
174
- * checkout session and applies it to all the eligible items in the order.
175
- *
176
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
177
- * initiateCheckoutSession method.
178
- * @param body CouponRequest
179
- */
180
27
  applyProxyGuestCoupon(checkoutSessionId: string, body?: CouponRequest): Promise<any>;
181
- /**
182
- * This method returns the details of the specified eBay proxy guest checkout session.
183
- *
184
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
185
- * initiateCheckoutSession method.
186
- */
187
28
  getProxyGuestCheckoutSession(checkoutSessionId: string): Promise<any>;
188
- /**
189
- * This method creates an eBay proxy guest checkout session, which is a payment flow that requires apps
190
- * with a VSP (vault service provider), such as Braintree. The VSP handles only the methods within this flow that
191
- * contain payment information.
192
- *
193
- * @param body CheckoutSessionRequest
194
- */
195
29
  initiateProxyGuestCheckoutSession(body?: CheckoutSessionRequestWithoutPayment): Promise<any>;
196
- /**
197
- * This method creates the proxy guest purchase order, pays for the items, and terminates the specified guest
198
- * checkout session.
199
- *
200
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
201
- * initiateCheckoutSession method.
202
- * @param body GuestPlaceOrderRequest
203
- */
204
30
  placeProxyGuestOrder(checkoutSessionId: string, body?: GuestPlaceOrderRequest): Promise<any>;
205
- /**
206
- * (Limited Release) You must be whitelisted to use this method. This method removes a coupon from an eBay proxy
207
- * guest checkout session. The checkoutSessionId is passed in as a URI parameter and is required.
208
- *
209
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
210
- * initiateCheckoutSession method.
211
- * @param body CouponRequest
212
- */
213
31
  removeProxyGuestCoupon(checkoutSessionId: string, body?: CouponRequest): Promise<any>;
214
- /**
215
- * This method adds or changes the payment information of the specified proxy guest checkout session.
216
- *
217
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
218
- * initiateCheckoutSession method.
219
- * @param authorization The oAuth2 token. Note: The eBay partner must include this header in the request.
220
- * @param date The UTC timestamp of the request, which is generated and added to the request by the VSP.
221
- * @param requestNonce A UUID (a 128-bit universal unique ID), which is generated and added to the request by the
222
- * VSP.
223
- * @param signature The HMAC signature, which is generated and added to the request by the VSP.
224
- * @param body UpdatePaymentInformation
225
- */
226
32
  updateProxyGuestPaymentInfo(checkoutSessionId: string, authorization: string, date: string, requestNonce: string, signature: string, body?: UpdatePaymentInformation): Promise<any>;
227
- /**
228
- * This method changes the quantity of the specified line item in an eBay proxy guest checkout session.
229
- *
230
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
231
- * initiateCheckoutSession method.
232
- * @param body UpdateQuantity
233
- */
234
33
  updateProxyGuestQuantity(checkoutSessionId: string, body?: UpdateQuantity): Promise<any>;
235
- /**
236
- * This method changes the shipping address for the order in an eBay proxy guest checkout session.
237
- *
238
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
239
- * initiateCheckoutSession method.
240
- * @param body ShippingAddressImpl
241
- */
242
34
  updateProxyGuestShippingAddress(checkoutSessionId: string, body?: ShippingAddressImpl): Promise<any>;
243
- /**
244
- * This method changes the shipping method for the specified line item in an eBay proxy guest checkout session.
245
- *
246
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
247
- * initiateCheckoutSession method.
248
- * @param body UpdateShippingOption
249
- */
250
35
  updateProxyGuestShippingOption(checkoutSessionId: string, body?: UpdateShippingOption): Promise<any>;
251
- /**
252
- * This method retrieves the details about a specific guest purchase order.
253
- *
254
- * @param purchaseOrderId The unique identifier of a purchase order made by a guest buyer, for which details are to
255
- * be retrieved.
256
- */
257
36
  getGuestPurchaseOrder(purchaseOrderId: string): Promise<any>;
258
- /**
259
- * This method retrieves the details about a specific eBay member purchase order.
260
- *
261
- * @param purchaseOrderId The unique identifier of a purchase order made by an eBay member, for which details are
262
- * to be retrieved.
263
- */
264
37
  getPurchaseOrder(purchaseOrderId: string): Promise<any>;
265
38
  }