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,74 +1,20 @@
1
1
  import { CommerceCatalogSearchParams } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/commerce_catalog_v1_beta_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * Use the Catalog API to search the eBay catalog for products on which to base a seller's item listing;
6
- */
7
4
  export default class Catalog extends Restful implements OpenApi<Omit<operations, 'createChangeRequest'>> {
8
5
  static id: string;
9
6
  get basePath(): string;
10
- /**
11
- * Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be
12
- * decommissioned in Q1 of 2020.
13
- *
14
- * @param changeRequestId The unique identifier of the change request being requested.
15
- */
16
7
  getChangeRequest(changeRequestId: string): Promise<any>;
17
- /**
18
- * Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be
19
- * decommissioned in Q1 of 2020.
20
- *
21
- * @param filter One or more comma-separated criteria for narrowing down the collection of change requests returned
22
- * by this call.
23
- * @param limit The number of change requests to return. This is the result set, a subset of the full collection of
24
- * change requests that match the filter criteria of this call.
25
- * @param offset The first change request to return based on its position in the returned collection of change
26
- * requests.
27
- */
28
8
  getChangeRequests({ filter, limit, offset }?: {
29
9
  filter?: string;
30
10
  limit?: number;
31
11
  offset?: number;
32
12
  }): Promise<any>;
33
- /**
34
- * This call retrieves details of the catalog product identified by the eBay product identifier (ePID) specified in
35
- * the request.
36
- *
37
- * @param epid The ePID of the product being requested.
38
- */
39
13
  getProduct(epid: string): Promise<any>;
40
- /**
41
- * This call searches for and retrieves summaries of one or more products in the eBay catalog that match the search
42
- * criteria provided by a seller.
43
- *
44
- * @param params SearchCatalogParams
45
- */
46
14
  search(params?: CommerceCatalogSearchParams): Promise<any>;
47
- /**
48
- * This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified
49
- * catalog product and its associated or suggested categories, as well as the values currently associated with that
50
- * product.
51
- *
52
- * @param epid The unique eBay product identifier of the catalog product that you want to update.
53
- * @param acceptLanguage This request header sets the natural language that will be provided in the field values of
54
- * the response payload.
55
- * @param otherApplicableCategoryIds Use only if you are also including the primary_category_id parameter in the
56
- * request.
57
- * @param primaryCategoryId Use only if the seller believes this product is associated with the wrong primary
58
- * category.
59
- * @param marketplaceId Use this header to specify the eBay marketplace identifier.
60
- */
61
15
  getProductMetadata(epid: string, { otherApplicableCategoryIds, primaryCategoryId }?: {
62
16
  otherApplicableCategoryIds?: string;
63
17
  primaryCategoryId?: string;
64
18
  }): Promise<any>;
65
- /**
66
- * This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified
67
- * eBay categories.
68
- *
69
- * @param primaryCategoryId The unique identifier of the primary eBay category for which you will retrieve product
70
- * aspects.
71
- * @param otherApplicableCategoryIds A string of comma-separated category IDs.
72
- */
73
19
  getProductMetadataForCategories(primaryCategoryId: string, otherApplicableCategoryIds?: string): Promise<any>;
74
20
  }
@@ -4,33 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const index_js_1 = __importDefault(require("../../index.js"));
7
- /**
8
- * Use the Catalog API to search the eBay catalog for products on which to base a seller's item listing;
9
- */
10
7
  class Catalog extends index_js_1.default {
11
8
  get basePath() {
12
9
  return '/commerce/catalog/v1_beta';
13
10
  }
14
- /**
15
- * Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be
16
- * decommissioned in Q1 of 2020.
17
- *
18
- * @param changeRequestId The unique identifier of the change request being requested.
19
- */
20
11
  getChangeRequest(changeRequestId) {
21
12
  return this.get(`/change_request/${changeRequestId}`);
22
13
  }
23
- /**
24
- * Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be
25
- * decommissioned in Q1 of 2020.
26
- *
27
- * @param filter One or more comma-separated criteria for narrowing down the collection of change requests returned
28
- * by this call.
29
- * @param limit The number of change requests to return. This is the result set, a subset of the full collection of
30
- * change requests that match the filter criteria of this call.
31
- * @param offset The first change request to return based on its position in the returned collection of change
32
- * requests.
33
- */
34
14
  getChangeRequests({ filter, limit, offset } = {}) {
35
15
  return this.get(`/change_request`, {
36
16
  params: {
@@ -40,41 +20,15 @@ class Catalog extends index_js_1.default {
40
20
  }
41
21
  });
42
22
  }
43
- /**
44
- * This call retrieves details of the catalog product identified by the eBay product identifier (ePID) specified in
45
- * the request.
46
- *
47
- * @param epid The ePID of the product being requested.
48
- */
49
23
  getProduct(epid) {
50
24
  const e = encodeURIComponent(epid);
51
25
  return this.get(`/product/${e}`);
52
26
  }
53
- /**
54
- * This call searches for and retrieves summaries of one or more products in the eBay catalog that match the search
55
- * criteria provided by a seller.
56
- *
57
- * @param params SearchCatalogParams
58
- */
59
27
  search(params) {
60
28
  return this.get(`/product_summary/search`, {
61
29
  params
62
30
  });
63
31
  }
64
- /**
65
- * This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified
66
- * catalog product and its associated or suggested categories, as well as the values currently associated with that
67
- * product.
68
- *
69
- * @param epid The unique eBay product identifier of the catalog product that you want to update.
70
- * @param acceptLanguage This request header sets the natural language that will be provided in the field values of
71
- * the response payload.
72
- * @param otherApplicableCategoryIds Use only if you are also including the primary_category_id parameter in the
73
- * request.
74
- * @param primaryCategoryId Use only if the seller believes this product is associated with the wrong primary
75
- * category.
76
- * @param marketplaceId Use this header to specify the eBay marketplace identifier.
77
- */
78
32
  getProductMetadata(epid, { otherApplicableCategoryIds, primaryCategoryId } = {}) {
79
33
  return this.get(`/get_product_metadata`, {
80
34
  params: {
@@ -84,14 +38,6 @@ class Catalog extends index_js_1.default {
84
38
  }
85
39
  });
86
40
  }
87
- /**
88
- * This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified
89
- * eBay categories.
90
- *
91
- * @param primaryCategoryId The unique identifier of the primary eBay category for which you will retrieve product
92
- * aspects.
93
- * @param otherApplicableCategoryIds A string of comma-separated category IDs.
94
- */
95
41
  getProductMetadataForCategories(primaryCategoryId, otherApplicableCategoryIds) {
96
42
  return this.get(`/get_product_metadata_for_categories`, {
97
43
  params: {
@@ -1,35 +1,14 @@
1
1
  import { operations } from '../../../../types/restful/specs/commerce_charity_v1_oas3.js';
2
2
  import Restful, { OpenApi } from '../../index.js';
3
- /**
4
- * The Charity API allows third-party developers to search for and access details on supported charitable organizations.
5
- */
6
3
  export default class Charity extends Restful implements OpenApi<operations> {
7
4
  static id: string;
8
5
  get basePath(): string;
9
- /**
10
- * This call is used to retrieve detailed information about supported charitable organizations.
11
- *
12
- * @param charityOrgId The unique ID of the charitable organization.
13
- */
14
6
  getCharityOrg(charityOrgId: string): Promise<any>;
15
- /**
16
- * This call is used to retrieve detailed information about supported charitable organizations.
17
- *
18
- * @param limit The number of items, from the result set, returned in a single page. Valid Values: 1-100 Default: 20
19
- * @param offset The number of items that will be skipped in the result set.
20
- * @param q A query string that matches the keywords in name, mission statement, or description.
21
- * @param registrationIds A comma-separated list of charitable organization registration IDs.
22
- */
23
7
  getCharityOrgs({ limit, offset, q, registrationIds }: {
24
8
  limit?: string;
25
9
  offset?: string;
26
10
  q?: string;
27
11
  registrationIds?: string;
28
12
  }): Promise<any>;
29
- /**
30
- * This call allows users to retrieve the details for a specific charitable organization using its legacy charity ID, which has also been referred to as the charity number, external ID, and PayPal Giving Fund ID.
31
- *
32
- * @param legacyCharityOrgId The legacy ID of the charitable organization.
33
- */
34
13
  getCharityOrgByLegacyId(legacyCharityOrgId: string): Promise<any>;
35
14
  }
@@ -4,30 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const index_js_1 = __importDefault(require("../../index.js"));
7
- /**
8
- * The Charity API allows third-party developers to search for and access details on supported charitable organizations.
9
- */
10
7
  class Charity extends index_js_1.default {
11
8
  get basePath() {
12
9
  return '/commerce/charity/v1';
13
10
  }
14
- /**
15
- * This call is used to retrieve detailed information about supported charitable organizations.
16
- *
17
- * @param charityOrgId The unique ID of the charitable organization.
18
- */
19
11
  getCharityOrg(charityOrgId) {
20
12
  charityOrgId = encodeURIComponent(charityOrgId);
21
13
  return this.get(`/charity_org/${charityOrgId}`);
22
14
  }
23
- /**
24
- * This call is used to retrieve detailed information about supported charitable organizations.
25
- *
26
- * @param limit The number of items, from the result set, returned in a single page. Valid Values: 1-100 Default: 20
27
- * @param offset The number of items that will be skipped in the result set.
28
- * @param q A query string that matches the keywords in name, mission statement, or description.
29
- * @param registrationIds A comma-separated list of charitable organization registration IDs.
30
- */
31
15
  getCharityOrgs({ limit, offset, q, registrationIds }) {
32
16
  return this.get(`/charity_org`, {
33
17
  params: {
@@ -38,11 +22,6 @@ class Charity extends index_js_1.default {
38
22
  }
39
23
  });
40
24
  }
41
- /**
42
- * This call allows users to retrieve the details for a specific charitable organization using its legacy charity ID, which has also been referred to as the charity number, external ID, and PayPal Giving Fund ID.
43
- *
44
- * @param legacyCharityOrgId The legacy ID of the charitable organization.
45
- */
46
25
  getCharityOrgByLegacyId(legacyCharityOrgId) {
47
26
  return this.get(`/charity_org/get_charity_org_by_legacy_id`, {
48
27
  params: {
@@ -1,15 +1,8 @@
1
1
  import { operations } from '../../../../types/restful/specs/commerce_identity_v1_oas3.js';
2
2
  import Restful, { OpenApi } from '../../index.js';
3
- /**
4
- * Retrieves the authenticated user's account profile information.
5
- */
6
3
  export default class Identity extends Restful implements OpenApi<operations> {
7
4
  static id: string;
8
5
  get basePath(): string;
9
6
  get subdomain(): string;
10
- /**
11
- * This method retrieves the account profile information for an authenticated user, which requires a User access
12
- * token. What is returned is controlled by the scopes.
13
- */
14
7
  getUser(): Promise<any>;
15
8
  }
@@ -4,9 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const index_js_1 = __importDefault(require("../../index.js"));
7
- /**
8
- * Retrieves the authenticated user's account profile information.
9
- */
10
7
  class Identity extends index_js_1.default {
11
8
  get basePath() {
12
9
  return '/commerce/identity/v1';
@@ -14,10 +11,6 @@ class Identity extends index_js_1.default {
14
11
  get subdomain() {
15
12
  return 'apiz';
16
13
  }
17
- /**
18
- * This method retrieves the account profile information for an authenticated user, which requires a User access
19
- * token. What is returned is controlled by the scopes.
20
- */
21
14
  getUser() {
22
15
  return this.get(`/user/`);
23
16
  }
@@ -1,118 +1,25 @@
1
1
  import { CommerceNotificationConfig, CreateSubscriptionRequest, DestinationRequest, NotificationParams, UpdateSubscriptionRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/commerce_notification_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * The eBay Notification API allows third-party developers and applications to process eBay notifications and verify the integrity of the notification message payload.
6
- */
7
4
  export default class Notification extends Restful implements OpenApi<operations> {
8
5
  static id: string;
9
6
  get basePath(): string;
10
- /**
11
- * This method allows users to retrieve a public key using a specified key ID.
12
- *
13
- * @param publicKeyId The unique key ID that is used to retrieve the public key
14
- */
15
7
  getPublicKey(publicKeyId: string): Promise<any>;
16
- /**
17
- * This method allows applications to retrieve details for the specified topic.
18
- *
19
- * @param topicId The ID of the topic for which to retrieve the details.
20
- */
21
8
  getTopic(topicId: string): Promise<any>;
22
- /**
23
- * This method returns a paginated collection of all supported topics, along with the details for the topics.
24
- *
25
- * @param limit The maximum number of items to return per page from the result set.
26
- * @param continuationToken The token used to access the next set of results.
27
- */
28
9
  getTopics({ limit, continuationToken: continuation_token }: NotificationParams): Promise<any>;
29
- /**
30
- * This method allows applications to retrieve a list of all subscriptions.
31
- *
32
- * @param limit The number of items, from the result set, returned in a single page.
33
- * @param continuation_token The continuation token for the next set of results.
34
- */
35
10
  getSubscriptions({ limit, continuationToken: continuation_token }: NotificationParams): Promise<any>;
36
- /**
37
- * This method allows applications to retrieve a list of all subscriptions.
38
- *
39
- * @param body The create subscription request.
40
- */
41
11
  createSubscription(body: CreateSubscriptionRequest): Promise<any>;
42
- /**
43
- * This method allows applications to retrieve subscription details for the specified subscription.
44
- *
45
- * @param subscriptionId The unique identifier for the subscription.
46
- */
47
12
  getSubscription(subscriptionId: string): Promise<any>;
48
- /**
49
- * This method allows applications to retrieve subscription details for the specified subscription.
50
- *
51
- * @param subscriptionId The unique identifier for the subscription.
52
- * @param body The update subscription request.
53
- */
54
13
  updateSubscription(subscriptionId: string, body: UpdateSubscriptionRequest): Promise<any>;
55
- /**
56
- * This method allows applications to delete a subscription.
57
- *
58
- * @param subscriptionId The unique identifier for the subscription.
59
- */
60
14
  deleteSubscription(subscriptionId: string): Promise<any>;
61
- /**
62
- * This method allows applications to enable a disabled subscription.
63
- *
64
- * @param subscriptionId The unique identifier for the subscription.
65
- */
66
15
  enableSubscription(subscriptionId: string): Promise<any>;
67
- /**
68
- * This method disables a subscription, which prevents the subscription from providing notifications.
69
- * @param subscriptionId The unique identifier for the subscription.
70
- */
71
16
  disableSubscription(subscriptionId: string): Promise<any>;
72
- /**
73
- * This method triggers a mocked test payload that includes a notification ID, publish date, and so on.
74
- *
75
- * @param subscriptionId The unique identifier for the subscription.
76
- */
77
17
  test(subscriptionId: string): Promise<any>;
78
- /**
79
- * This method allows applications to retrieve a paginated collection of destination resources and related details.
80
- * @param subscriptionId The unique identifier for the subscription.
81
- */
82
18
  getDestinations({ limit, continuationToken: continuation_token }: NotificationParams): Promise<any>;
83
- /**
84
- * This method allows applications to create a destination.
85
- *
86
- * @param body The create destination request.
87
- */
88
19
  createDestination(body: DestinationRequest): Promise<any>;
89
- /**
90
- * This method allows applications to fetch the details for a destination.
91
- *
92
- * @param destinationId The unique identifier for the destination.
93
- */
94
20
  getDestination(destinationId: string): Promise<any>;
95
- /**
96
- * This method allows applications to update a destination.
97
- *
98
- * @param destinationId The unique identifier for the destination.
99
- * @param body The create subscription request.
100
- */
101
21
  updateDestination(destinationId: string, body: DestinationRequest): Promise<any>;
102
- /**
103
- * his method provides applications a way to delete a destination.
104
- *
105
- * @param destinationId The unique identifier for the destination.
106
- */
107
22
  deleteDestination(destinationId: string): Promise<any>;
108
- /**
109
- * This method allows applications to retrieve a previously created configuration.
110
- */
111
23
  getConfig(): Promise<any>;
112
- /**
113
- * This method allows applications to create a new configuration or update an existing configuration.
114
- *
115
- * @param body The configurations for this application.
116
- */
117
24
  updateConfig(body: CommerceNotificationConfig): Promise<any>;
118
25
  }
@@ -4,37 +4,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const index_js_1 = __importDefault(require("../../index.js"));
7
- /**
8
- * The eBay Notification API allows third-party developers and applications to process eBay notifications and verify the integrity of the notification message payload.
9
- */
10
7
  class Notification extends index_js_1.default {
11
8
  get basePath() {
12
9
  return '/commerce/notification/v1';
13
10
  }
14
- /**
15
- * This method allows users to retrieve a public key using a specified key ID.
16
- *
17
- * @param publicKeyId The unique key ID that is used to retrieve the public key
18
- */
19
11
  getPublicKey(publicKeyId) {
20
12
  publicKeyId = encodeURIComponent(publicKeyId);
21
13
  return this.get(`/public_key/${publicKeyId}`);
22
14
  }
23
- /**
24
- * This method allows applications to retrieve details for the specified topic.
25
- *
26
- * @param topicId The ID of the topic for which to retrieve the details.
27
- */
28
15
  getTopic(topicId) {
29
16
  topicId = encodeURIComponent(topicId);
30
17
  return this.get(`/topic/${topicId}`);
31
18
  }
32
- /**
33
- * This method returns a paginated collection of all supported topics, along with the details for the topics.
34
- *
35
- * @param limit The maximum number of items to return per page from the result set.
36
- * @param continuationToken The token used to access the next set of results.
37
- */
38
19
  getTopics({ limit, continuationToken: continuation_token }) {
39
20
  return this.get(`/topic`, {
40
21
  params: {
@@ -43,12 +24,6 @@ class Notification extends index_js_1.default {
43
24
  }
44
25
  });
45
26
  }
46
- /**
47
- * This method allows applications to retrieve a list of all subscriptions.
48
- *
49
- * @param limit The number of items, from the result set, returned in a single page.
50
- * @param continuation_token The continuation token for the next set of results.
51
- */
52
27
  getSubscriptions({ limit, continuationToken: continuation_token }) {
53
28
  return this.get(`/subscription`, {
54
29
  params: {
@@ -57,72 +32,33 @@ class Notification extends index_js_1.default {
57
32
  }
58
33
  });
59
34
  }
60
- /**
61
- * This method allows applications to retrieve a list of all subscriptions.
62
- *
63
- * @param body The create subscription request.
64
- */
65
35
  createSubscription(body) {
66
36
  return this.post(`/subscription`, body);
67
37
  }
68
- /**
69
- * This method allows applications to retrieve subscription details for the specified subscription.
70
- *
71
- * @param subscriptionId The unique identifier for the subscription.
72
- */
73
38
  getSubscription(subscriptionId) {
74
39
  subscriptionId = encodeURIComponent(subscriptionId);
75
40
  return this.get(`/subscription/${subscriptionId}`);
76
41
  }
77
- /**
78
- * This method allows applications to retrieve subscription details for the specified subscription.
79
- *
80
- * @param subscriptionId The unique identifier for the subscription.
81
- * @param body The update subscription request.
82
- */
83
42
  updateSubscription(subscriptionId, body) {
84
43
  subscriptionId = encodeURIComponent(subscriptionId);
85
44
  return this.put(`/subscription/${subscriptionId}`, body);
86
45
  }
87
- /**
88
- * This method allows applications to delete a subscription.
89
- *
90
- * @param subscriptionId The unique identifier for the subscription.
91
- */
92
46
  deleteSubscription(subscriptionId) {
93
47
  subscriptionId = encodeURIComponent(subscriptionId);
94
48
  return this.delete(`/subscription/${subscriptionId}`);
95
49
  }
96
- /**
97
- * This method allows applications to enable a disabled subscription.
98
- *
99
- * @param subscriptionId The unique identifier for the subscription.
100
- */
101
50
  enableSubscription(subscriptionId) {
102
51
  subscriptionId = encodeURIComponent(subscriptionId);
103
52
  return this.post(`/subscription/${subscriptionId}/enable`);
104
53
  }
105
- /**
106
- * This method disables a subscription, which prevents the subscription from providing notifications.
107
- * @param subscriptionId The unique identifier for the subscription.
108
- */
109
54
  disableSubscription(subscriptionId) {
110
55
  subscriptionId = encodeURIComponent(subscriptionId);
111
56
  return this.post(`/subscription/${subscriptionId}/disable`);
112
57
  }
113
- /**
114
- * This method triggers a mocked test payload that includes a notification ID, publish date, and so on.
115
- *
116
- * @param subscriptionId The unique identifier for the subscription.
117
- */
118
58
  test(subscriptionId) {
119
59
  subscriptionId = encodeURIComponent(subscriptionId);
120
60
  return this.post(`/subscription/${subscriptionId}/test`);
121
61
  }
122
- /**
123
- * This method allows applications to retrieve a paginated collection of destination resources and related details.
124
- * @param subscriptionId The unique identifier for the subscription.
125
- */
126
62
  getDestinations({ limit, continuationToken: continuation_token }) {
127
63
  return this.get(`/destination`, {
128
64
  params: {
@@ -131,53 +67,24 @@ class Notification extends index_js_1.default {
131
67
  }
132
68
  });
133
69
  }
134
- /**
135
- * This method allows applications to create a destination.
136
- *
137
- * @param body The create destination request.
138
- */
139
70
  createDestination(body) {
140
71
  return this.post(`/destination`, body);
141
72
  }
142
- /**
143
- * This method allows applications to fetch the details for a destination.
144
- *
145
- * @param destinationId The unique identifier for the destination.
146
- */
147
73
  getDestination(destinationId) {
148
74
  destinationId = encodeURIComponent(destinationId);
149
75
  return this.get(`/destination/${destinationId}`);
150
76
  }
151
- /**
152
- * This method allows applications to update a destination.
153
- *
154
- * @param destinationId The unique identifier for the destination.
155
- * @param body The create subscription request.
156
- */
157
77
  updateDestination(destinationId, body) {
158
78
  destinationId = encodeURIComponent(destinationId);
159
79
  return this.put(`/destination/${destinationId}`, body);
160
80
  }
161
- /**
162
- * his method provides applications a way to delete a destination.
163
- *
164
- * @param destinationId The unique identifier for the destination.
165
- */
166
81
  deleteDestination(destinationId) {
167
82
  destinationId = encodeURIComponent(destinationId);
168
83
  return this.delete(`/destination/${destinationId}`);
169
84
  }
170
- /**
171
- * This method allows applications to retrieve a previously created configuration.
172
- */
173
85
  getConfig() {
174
86
  return this.get(`/config`);
175
87
  }
176
- /**
177
- * This method allows applications to create a new configuration or update an existing configuration.
178
- *
179
- * @param body The configurations for this application.
180
- */
181
88
  updateConfig(body) {
182
89
  return this.put(`/config`, body);
183
90
  }
@@ -1,79 +1,15 @@
1
1
  /// <reference types="node" />
2
2
  import { operations } from '../../../../types/restful/specs/commerce_taxonomy_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * Use the Taxonomy API to discover the most appropriate eBay categories under which sellers can offer inventory items
6
- * for sale, and the most likely categories under which buyers can browse or search for items to purchase.
7
- */
8
4
  export default class Taxonomy extends Restful implements OpenApi<operations> {
9
5
  static id: string;
10
6
  get basePath(): string;
11
- /**
12
- * A given eBay marketplace might use multiple category trees, but one of those trees is considered to be the
13
- * default for that marketplace.
14
- *
15
- * @param marketplaceId The ID of the eBay marketplace for which the category tree ID is being requested.
16
- */
17
7
  getDefaultCategoryTreeId(marketplaceId: string): Promise<any>;
18
- /**
19
- * This call retrieves the complete category tree that is identified by the category_tree_id parameter.
20
- *
21
- * @param categoryTreeId
22
- */
23
8
  getCategoryTree(categoryTreeId: string): Promise<any>;
24
- /**
25
- * This call retrieves the details of all nodes of the category tree hierarchy (the subtree) below a specified
26
- * category of a category tree.
27
- *
28
- * @param categoryTreeId The unique identifier of the eBay category tree from which a category subtree is being
29
- * requested.
30
- * @param categoryId The unique identifier of the category at the top of the subtree being requested.
31
- */
32
9
  getCategorySubtree(categoryTreeId: string, categoryId: string): Promise<any>;
33
- /**
34
- * This call returns an array of category tree leaf nodes in the specified category tree that are considered by eBay
35
- * to most closely correspond to the query string q.
36
- *
37
- * @param categoryTreeId The unique identifier of the eBay category tree for which suggested nodes are being
38
- * requested.
39
- * @param q A quoted string that describes or characterizes the item being offered for sale.
40
- */
41
10
  getCategorySuggestions(categoryTreeId: string, q: string): Promise<any>;
42
- /**
43
- * This call returns a list of aspects that are appropriate or necessary for accurately describing items in the
44
- * specified leaf category.
45
- *
46
- * @param categoryTreeId The unique identifier of the eBay category tree from which the specified category's
47
- * aspects are being requested.
48
- * @param categoryId The unique identifier of the leaf category for which aspects are being requested.
49
- */
50
11
  getItemAspectsForCategory(categoryTreeId: string, categoryId: string): Promise<any>;
51
- /**
52
- * This call retrieves the compatible vehicle aspects that are used to define a motor vehicle that is compatible
53
- * with a motor vehicle part or accessory.
54
- *
55
- * @param categoryTreeId This is the unique identifier of category tree. The following is the list of
56
- * category_tree_id values and the eBay marketplaces that they represent.
57
- *
58
- * @param categoryId The unique identifier of an eBay category.
59
- */
60
12
  getCompatibilityProperties(categoryTreeId: string, categoryId: string): Promise<any>;
61
- /**
62
- * This call retrieves applicable compatible vehicle property values based on the specified eBay marketplace,
63
- * specified eBay category, and filters used in the request.
64
- *
65
- * @param categoryTreeId This is the unique identifier of the category tree.
66
- * @param categoryId The unique identifier of an eBay category.
67
- * @param compatibilityProperty One compatible vehicle property applicable to the specified eBay marketplace and
68
- * eBay category is specified in this required filter.
69
- */
70
13
  getCompatibilityPropertyValues(categoryTreeId: string, categoryId: string, compatibilityProperty: string): Promise<any>;
71
- /**
72
- * This call returns a complete list of aspects for all of the leaf categories that belong to an eBay marketplace.
73
- *
74
- * @param categoryTreeId
75
- *
76
- * @return A JSON GZIP compressed file buffer
77
- */
78
14
  fetchItemAspects(categoryTreeId: string): Promise<Buffer>;
79
15
  }