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,49 +1,20 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * The Inventory API is used to create and manage inventory, and then to publish and manage this inventory on an eBay
4
- * marketplace.
5
- */
6
2
  class Inventory extends Restful {
7
3
  get basePath() {
8
4
  return '/sell/inventory/v1';
9
5
  }
10
- /**
11
- * This call retrieves all defined details of the inventory location that is specified by the
12
- * <b>merchantLocationKey</b> path parameter.
13
- *
14
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
15
- */
16
6
  getInventoryLocation(merchantLocationKey) {
17
7
  const key = encodeURIComponent(merchantLocationKey);
18
8
  return this.get(`/location/${key}`);
19
9
  }
20
- /**
21
- * <p>This call disables the inventory location that is specified in the <code>merchantLocationKey</code> path
22
- * parameter.
23
- *
24
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
25
- */
26
10
  disableInventoryLocation(merchantLocationKey) {
27
11
  const key = encodeURIComponent(merchantLocationKey);
28
12
  return this.post(`/location/${key}/disable`);
29
13
  }
30
- /**
31
- * <p>This call enables a disabled inventory location that is specified in the <code>merchantLocationKey</code>
32
- * path parameter.
33
- *
34
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
35
- */
36
14
  enableInventoryLocation(merchantLocationKey) {
37
15
  const key = encodeURIComponent(merchantLocationKey);
38
16
  return this.post(`/location/${key}/enable`);
39
17
  }
40
- /**
41
- * This call retrieves all defined details for every inventory location associated with the seller's account.
42
- *
43
- * @param limit The value passed in this query parameter sets the maximum number of records to return per page of
44
- * data.
45
- * @param offset The value passed in this query parameter sets the page number to retrieve.
46
- */
47
18
  getInventoryLocations({ limit, offset, } = {}) {
48
19
  return this.get(`/location`, {
49
20
  params: {
@@ -52,74 +23,30 @@ class Inventory extends Restful {
52
23
  },
53
24
  });
54
25
  }
55
- /**
56
- * <p>Use this call to create a new inventory location.
57
- *
58
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
59
- * @param body Inventory Location details
60
- */
61
26
  createInventoryLocation(merchantLocationKey, body) {
62
27
  const key = encodeURIComponent(merchantLocationKey);
63
28
  return this.post(`/location/${key}`, body);
64
29
  }
65
- /**
66
- * <p>This call deletes the inventory location that is specified in the <code>merchantLocationKey</code> path
67
- * parameter.
68
- *
69
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
70
- */
71
30
  deleteInventoryLocation(merchantLocationKey) {
72
31
  const key = encodeURIComponent(merchantLocationKey);
73
32
  return this.delete(`/location/${key}`);
74
33
  }
75
- /**
76
- * <p>Use this call to update non-physical location details for an existing inventory location.
77
- *
78
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
79
- * @param body The inventory location details to be updated (other than the address and geo co-ordinates).
80
- */
81
34
  updateInventoryLocation(merchantLocationKey, body) {
82
35
  const key = encodeURIComponent(merchantLocationKey);
83
36
  return this.post(`/location/${key}/update_location_details`, body);
84
37
  }
85
- /**
86
- * This call retrieves the inventory item record for a given SKU.
87
- *
88
- * @param sku his is the seller-defined SKU value of the product whose inventory item record you wish to
89
- * retrieve.<br/><br/><strong>Max length</strong>: 50.
90
- */
91
38
  getInventoryItem(sku) {
92
39
  sku = encodeURIComponent(sku);
93
40
  return this.get(`/inventory_item/${sku}`);
94
41
  }
95
- /**
96
- * This call creates a new inventory item record or replaces an existing inventory item record.
97
- *
98
- * @param sku The seller-defined SKU value for the inventory item is required whether the seller is creating a new
99
- * inventory item, or updating an existing inventory item.
100
- * @param body Details of the inventory item record.
101
- */
102
42
  createOrReplaceInventoryItem(sku, body) {
103
43
  sku = encodeURIComponent(sku);
104
44
  return this.put(`/inventory_item/${sku}`, body);
105
45
  }
106
- /**
107
- * This call is used to delete an inventory item record associated with a specified SKU.
108
- *
109
- * @param sku The seller-defined SKU value for the inventory item is required whether the seller is creating a new
110
- * inventory item, or updating an existing inventory item.
111
- */
112
46
  deleteInventoryItem(sku) {
113
47
  sku = encodeURIComponent(sku);
114
48
  return this.delete(`/inventory_item/${sku}`);
115
49
  }
116
- /**
117
- * This call retrieves all inventory item records defined for the seller's account.
118
- *
119
- * @param limit The value passed in this query parameter sets the maximum number of records to return per page of
120
- * data.
121
- * @param offset The value passed in this query parameter sets the page number to retrieve.
122
- */
123
50
  getInventoryItems({ limit, offset, } = {}) {
124
51
  return this.get(`/inventory_item`, {
125
52
  params: {
@@ -128,72 +55,27 @@ class Inventory extends Restful {
128
55
  },
129
56
  });
130
57
  }
131
- /**
132
- * This call is used by the seller to update the total ship-to-home quantity of one inventory item,
133
- * and/or to update the price and/or quantity of one or more offers associated with one inventory item.
134
- *
135
- * @param body BulkPriceQuantity
136
- */
137
58
  bulkUpdatePriceQuantity(body) {
138
59
  return this.post(`/bulk_update_price_quantity`, body);
139
60
  }
140
- /**
141
- * This call can be used to create and/or update up to 25 new inventory item records.
142
- *
143
- * @param body BulkInventoryItem
144
- */
145
61
  bulkCreateOrReplaceInventoryItem(body) {
146
62
  return this.post(`/bulk_create_or_replace_inventory_item`, body);
147
63
  }
148
- /**
149
- * This call retrieves up to 25 inventory item records. The SKU value of each inventory item record to retrieve is
150
- * specified in the request payload.
151
- *
152
- * @param body BulkInventoryItem
153
- */
154
64
  bulkGetInventoryItem(body) {
155
65
  return this.post(`/bulk_get_inventory_item`, body);
156
66
  }
157
- /**
158
- * This call is used by the seller to retrieve the list of products that are compatible with the inventory item.
159
- *
160
- * @param sku A SKU (stock keeping unit) is an unique identifier defined by a seller for a product
161
- */
162
67
  getProductCompatibility(sku) {
163
68
  sku = encodeURIComponent(sku);
164
69
  return this.get(`/inventory_item/${sku}/product_compatibility`);
165
70
  }
166
- /**
167
- * This call is used by the seller to create or replace a list of products that are compatible with the inventory
168
- * item.
169
- *
170
- * @param sku A SKU (stock keeping unit) is an unique identifier defined by a seller for a product
171
- * @param body Details of the compatibility
172
- */
173
71
  createOrReplaceProductCompatibility(sku, body) {
174
72
  sku = encodeURIComponent(sku);
175
73
  return this.put(`/inventory_item/${sku}/product_compatibility`, body);
176
74
  }
177
- /**
178
- * This call is used by the seller to delete the list of products that are compatible with the inventory item that
179
- * is associated with the compatible product list.
180
- *
181
- * @param sku A SKU (stock keeping unit) is an unique identifier defined by a seller for a product
182
- */
183
75
  deleteProductCompatibility(sku) {
184
76
  sku = encodeURIComponent(sku);
185
77
  return this.delete(`/inventory_item/${sku}/product_compatibility`);
186
78
  }
187
- /**
188
- * This call retrieves all existing offers for the specified SKU value.
189
- *
190
- * @param sku The seller-defined SKU value is passed in as a query parameter.
191
- * @param marketplace_id The unique identifier of the eBay marketplace.
192
- * @param format This enumeration value sets the listing format for the offer.
193
- * @param limit The value passed in this query parameter sets the maximum number of records to return per page of
194
- * data.
195
- * @param offset The value passed in this query parameter sets the page number to retrieve.
196
- */
197
79
  getOffers({ sku, marketplaceId, format, limit, offset, } = {}) {
198
80
  return this.get(`/offer`, {
199
81
  params: {
@@ -205,133 +87,54 @@ class Inventory extends Restful {
205
87
  },
206
88
  });
207
89
  }
208
- /**
209
- * This call retrieves a specific published or unpublished offer.
210
- *
211
- * @param offerId The unique identifier of the offer that is to be retrieved.
212
- */
213
90
  getOffer(offerId) {
214
91
  offerId = encodeURIComponent(offerId);
215
92
  return this.get(`/offer/${offerId}`);
216
93
  }
217
- /**
218
- * This call creates an offer for a specific inventory item on a specific eBay marketplace.
219
- *
220
- * @param body Details of the offer for the channel
221
- */
222
94
  createOffer(body) {
223
95
  return this.post(`/offer`, body);
224
96
  }
225
- /**
226
- * This call updates an existing offer.
227
- *
228
- * @param offerId The unique identifier of the offer that is being updated.
229
- * @param body Details of the offer for the channel
230
- */
231
97
  updateOffer(offerId, body) {
232
98
  offerId = encodeURIComponent(offerId);
233
99
  return this.put(`/offer/${offerId}`, body);
234
100
  }
235
- /**
236
- * If used against an unpublished offer, this call will permanently delete that offer.
237
- *
238
- * @param offerId The unique identifier of the offer to delete.
239
- */
240
101
  deleteOffer(offerId) {
241
102
  return this.delete(`/offer/${offerId}`);
242
103
  }
243
- /**
244
- * This call is used to convert an unpublished offer into a published offer, or live eBay listing.
245
- *
246
- * @param offerId The unique identifier of the offer that is to be published.
247
- */
248
104
  publishOffer(offerId) {
249
105
  const id = encodeURIComponent(offerId);
250
106
  return this.post(`/offer/${id}/publish/`);
251
107
  }
252
- /**
253
- * This call is used to convert all unpublished offers associated with an inventory item group into an active,
254
- * multiple-variation listing.
255
- *
256
- * @param body PublishByInventoryItemGroupRequest
257
- */
258
108
  publishOfferByInventoryItemGroup(body) {
259
109
  return this.post(`/offer/publish_by_inventory_item_group/`, body);
260
110
  }
261
- /**
262
- * This call is used to end a multiple-variation eBay listing that is associated with the specified inventory item
263
- * group.
264
- *
265
- * @param body WithdrawByInventoryItemGroupRequest
266
- */
267
111
  withdrawOfferByInventoryItemGroup(body) {
268
112
  return this.post(`/offer/withdraw_by_inventory_item_group`, body);
269
113
  }
270
- /**
271
- * This call is used to retrieve the expected listing fees for up to 250 unpublished offers.
272
- *
273
- * @param body OfferKeysWithId
274
- */
275
114
  getListingFees(body) {
276
115
  return this.post(`/offer/get_listing_fees`, body);
277
116
  }
278
- /**
279
- * This call creates multiple offers (up to 25) for specific inventory items on a specific eBay marketplace.
280
- *
281
- * @param body BulkEbayOfferDetailsWithKeys
282
- */
283
117
  bulkCreateOffer(body) {
284
118
  return this.post(`/bulk_create_offer`, body);
285
119
  }
286
- /**
287
- * This call is used to convert unpublished offers (up to 25) into published offers, or live eBay listings.
288
- *
289
- * @param body BulkOffer
290
- */
291
120
  bulkPublishOffer(body) {
292
121
  return this.post(`/bulk_publish_offer`, body);
293
122
  }
294
- /**
295
- * This call is used to end a single-variation listing that is associated with the specified offer.
296
- *
297
- * @param offerId he unique identifier of the offer that is to be withdrawn.
298
- */
299
123
  withdrawOffer(offerId) {
300
124
  const id = encodeURIComponent(offerId);
301
125
  return this.post(`/offer/${id}/withdraw`);
302
126
  }
303
- /**
304
- * This call retrieves the inventory item group for a given <strong>inventoryItemGroupKey</strong> value.
305
- *
306
- * @param inventoryItemGroupKey The unique identifier of an inventory item group.
307
- */
308
127
  getInventoryItemGroup(inventoryItemGroupKey) {
309
128
  inventoryItemGroupKey = encodeURIComponent(inventoryItemGroupKey);
310
129
  return this.get(`/inventory_item_group/${inventoryItemGroupKey}`);
311
130
  }
312
- /**
313
- * This call creates a new inventory item group or updates an existing inventory item group.
314
- *
315
- * @param inventoryItemGroupKey Unique identifier of the inventory item group.
316
- * @param body Details of the inventory Item Group
317
- */
318
131
  createOrReplaceInventoryItemGroup(inventoryItemGroupKey, body) {
319
132
  inventoryItemGroupKey = encodeURIComponent(inventoryItemGroupKey);
320
133
  return this.put(`/inventory_item_group/${inventoryItemGroupKey}`, body);
321
134
  }
322
- /**
323
- * This call deletes the inventory item group for a given <strong>inventoryItemGroupKey</strong> value.
324
- *
325
- * @param inventoryItemGroupKey Unique identifier of the inventory item group.
326
- */
327
135
  deleteInventoryItemGroup(inventoryItemGroupKey) {
328
136
  return this.delete(`/inventory_item_group/${inventoryItemGroupKey}`);
329
137
  }
330
- /**
331
- * This call is used to convert existing eBay Listings to the corresponding Inventory API objects.
332
- *
333
- * @param body BulkMigrateListing
334
- */
335
138
  bulkMigrateListing(body) {
336
139
  return this.post(`/bulk_migrate_listing`, body);
337
140
  }
@@ -1,15 +1,7 @@
1
1
  import { operations } from '../../../../types/restful/specs/sell_listing_v1_beta_oas3.js';
2
2
  import Restful, { OpenApi } from '../../index.js';
3
- /**
4
- * Enables a seller adding an ad or item on a Partner's site to automatically create an eBay listing draft using the item details from the Partner's site.
5
- */
6
3
  export default class Listing extends Restful implements OpenApi<operations> {
7
4
  static id: string;
8
5
  get basePath(): string;
9
- /**
10
- * This call gives Partners the ability to create an eBay draft of a item for their seller using information from their site.
11
- *
12
- * @param data The ItemDraft
13
- */
14
6
  createItemDraft(data?: any): Promise<any>;
15
7
  }
@@ -1,16 +1,8 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * Enables a seller adding an ad or item on a Partner's site to automatically create an eBay listing draft using the item details from the Partner's site.
4
- */
5
2
  class Listing extends Restful {
6
3
  get basePath() {
7
4
  return '/sell/listing/v1_beta';
8
5
  }
9
- /**
10
- * This call gives Partners the ability to create an eBay draft of a item for their seller using information from their site.
11
- *
12
- * @param data The ItemDraft
13
- */
14
6
  createItemDraft(data) {
15
7
  return this.post(`/item_draft/`, data);
16
8
  }
@@ -1,45 +1,12 @@
1
1
  import { operations } from '../../../../types/restful/specs/sell_logistics_v1_oas3.js';
2
2
  import Restful, { OpenApi } from '../../index.js';
3
- /**
4
- * The <b>Logistics API</b> resources offer the following capabilities: <ul><li><b>shipping_quote</b> &ndash; Consolidates into a list a set of live shipping rates, or quotes, from which you can select a rate to ship a package.
5
- */
6
3
  export default class Logistics extends Restful implements OpenApi<operations> {
7
4
  static id: string;
8
5
  get basePath(): string;
9
- /**
10
- * The createShippingQuote method returns a shipping quote that contains a list of live &quot;rates.&quot;
11
- *
12
- * @param data The ShippingQuoteRequest
13
- */
14
6
  createShippingQuote(data: any): Promise<any>;
15
- /**
16
- * This method retrieves the complete details of the shipping quote associated with the specified shippingQuoteId value.
17
- *
18
- * @param shippingQuoteId This path parameter specifies the unique eBay-assigned ID of the shipping quote you want to retrieve.
19
- */
20
7
  getShippingQuote(shippingQuoteId: string): Promise<any>;
21
- /**
22
- * This method creates a &quot;shipment&quot; based on the shippingQuoteId and rateId values supplied in the request.
23
- *
24
- * @param data The CreateShipmentFromQuoteRequest
25
- */
26
8
  createFromShippingQuote(data: any): Promise<any>;
27
- /**
28
- * This method retrieves the shipment details for the specified shipment ID.
29
- *
30
- * @param shipmentId This path parameter specifies the unique eBay-assigned ID of the shipment you want to retrieve.
31
- */
32
9
  getShipment(shipmentId: any): Promise<any>;
33
- /**
34
- * This method returns the shipping label file that was generated for the shipmentId value specified in the request.
35
- *
36
- * @param shipmentId This path parameter specifies the unique eBay-assigned ID of the shipment associated with the shipping label you want to download.
37
- */
38
10
  downloadLabelFile(shipmentId: any): Promise<any>;
39
- /**
40
- * This method cancels the shipment associated with the specified shipment ID and the associated shipping label is deleted.
41
- *
42
- * @param shipmentId This path parameter specifies the unique eBay-assigned ID of the shipment to be canceled.
43
- */
44
11
  cancelShipment(shipmentId: any): Promise<any>;
45
12
  }
@@ -1,57 +1,24 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * The <b>Logistics API</b> resources offer the following capabilities: <ul><li><b>shipping_quote</b> &ndash; Consolidates into a list a set of live shipping rates, or quotes, from which you can select a rate to ship a package.
4
- */
5
2
  class Logistics extends Restful {
6
3
  get basePath() {
7
4
  return '/sell/logistics/v1_beta';
8
5
  }
9
- /**
10
- * The createShippingQuote method returns a shipping quote that contains a list of live &quot;rates.&quot;
11
- *
12
- * @param data The ShippingQuoteRequest
13
- */
14
6
  createShippingQuote(data) {
15
7
  return this.post(`/shipping_quote`, data);
16
8
  }
17
- /**
18
- * This method retrieves the complete details of the shipping quote associated with the specified shippingQuoteId value.
19
- *
20
- * @param shippingQuoteId This path parameter specifies the unique eBay-assigned ID of the shipping quote you want to retrieve.
21
- */
22
9
  getShippingQuote(shippingQuoteId) {
23
10
  shippingQuoteId = encodeURIComponent(shippingQuoteId);
24
11
  return this.get(`/shipping_quote/${shippingQuoteId}`);
25
12
  }
26
- /**
27
- * This method creates a &quot;shipment&quot; based on the shippingQuoteId and rateId values supplied in the request.
28
- *
29
- * @param data The CreateShipmentFromQuoteRequest
30
- */
31
13
  createFromShippingQuote(data) {
32
14
  return this.post(`/shipment/create_from_shipping_quote`, data);
33
15
  }
34
- /**
35
- * This method retrieves the shipment details for the specified shipment ID.
36
- *
37
- * @param shipmentId This path parameter specifies the unique eBay-assigned ID of the shipment you want to retrieve.
38
- */
39
16
  getShipment(shipmentId) {
40
17
  return this.get(`/shipment/${shipmentId}`);
41
18
  }
42
- /**
43
- * This method returns the shipping label file that was generated for the shipmentId value specified in the request.
44
- *
45
- * @param shipmentId This path parameter specifies the unique eBay-assigned ID of the shipment associated with the shipping label you want to download.
46
- */
47
19
  downloadLabelFile(shipmentId) {
48
20
  return this.get(`/shipment/${shipmentId}/download_label_file`);
49
21
  }
50
- /**
51
- * This method cancels the shipment associated with the specified shipment ID and the associated shipping label is deleted.
52
- *
53
- * @param shipmentId This path parameter specifies the unique eBay-assigned ID of the shipment to be canceled.
54
- */
55
22
  cancelShipment(shipmentId) {
56
23
  return this.post(`/shipment/${shipmentId}/cancel`);
57
24
  }