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,299 +1,105 @@
1
1
  import Api from '../../index.js';
2
- /**
3
- * The Order API provides interfaces that lets shoppers pay for items (for both eBay guest and eBay member buyers).
4
- * Client Credentials: https://api.ebay.com/oauth/api_scope/buy.order
5
- */
6
2
  class Order extends Api {
7
3
  get basePath() {
8
4
  return '/buy/order/v1';
9
5
  }
10
- /**
11
- * (Limited Release) You must be whitelisted to use this method.
12
- * This method adds a coupon to an eBay proxy guest checkout session and applies it to all the eligible items in
13
- * the order.
14
- *
15
- * @param {String} checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is
16
- * returned by the initiateCheckoutSession method.
17
- * @param body The container for the fields used to apply a coupon to a checkout session.
18
- */
19
6
  applyCoupon(checkoutSessionId, body) {
20
7
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
21
8
  return this.post(`/checkout_session/${checkoutSessionId}/apply_coupon`, body);
22
9
  }
23
- /**
24
- * This method returns the details of the specified eBay member checkout session.
25
- *
26
- * @param {String} checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is
27
- * returned by the initiateCheckoutSession method.
28
- */
29
10
  getCheckoutSession(checkoutSessionId) {
30
11
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
31
12
  return this.get(`/checkout_session/${checkoutSessionId}`);
32
13
  }
33
- /**
34
- * This method creates a eBay member checkout session, which is the first step in performing a checkout.
35
- *
36
- * @param body The container for the fields used by the initiateCheckoutSession method.
37
- */
38
14
  initiateCheckoutSession(body) {
39
15
  return this.post(`/checkout_session/initiate`, body);
40
16
  }
41
- /**
42
- * This method creates the purchase order, pays for the items, and terminates the specified eBay member checkout
43
- * session.
44
- *
45
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
46
- * initiateCheckoutSession method.
47
- */
48
17
  placeOrder(checkoutSessionId) {
49
18
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
50
19
  return this.post(`/checkout_session/${checkoutSessionId}/place_order`);
51
20
  }
52
- /**
53
- * (Limited Release) You must be whitelisted to use this method. This method removes a coupon from an eBay member
54
- * checkout session.
55
- *
56
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
57
- * initiateCheckoutSession method.
58
- * @param body CouponRequest
59
- */
60
21
  removeCoupon(checkoutSessionId, body) {
61
22
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
62
23
  return this.post(`/checkout_session/${checkoutSessionId}/remove_coupon`, body);
63
24
  }
64
- /**
65
- * This method changes the payment method information of the specified eBay member checkout session.
66
- *
67
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
68
- * initiateCheckoutSession method.
69
- * @param body UpdatePaymentInformation
70
- */
71
25
  updatePaymentInfo(checkoutSessionId, body) {
72
26
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
73
27
  return this.post(`/checkout_session/${checkoutSessionId}/update_payment_info`, body);
74
28
  }
75
- /**
76
- * This method changes the quantity of the specified line item 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 UpdateQuantity
81
- */
82
29
  updateQuantity(checkoutSessionId, body) {
83
30
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
84
31
  return this.post(`/checkout_session/${checkoutSessionId}/update_quantity`, body);
85
32
  }
86
- /**
87
- * This method changes the quantity of the specified line item in an eBay member checkout session.
88
- *
89
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
90
- * initiateCheckoutSession method.
91
- * @param body UpdateQuantity
92
- */
93
33
  checkoutSessionId(checkoutSessionId, body) {
94
34
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
95
35
  return this.post(`/checkout_session/${checkoutSessionId}/update_quantity`, body);
96
36
  }
97
- /**
98
- * This method changes the shipping address for in an eBay member checkout session.
99
- *
100
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
101
- * initiateCheckoutSession method.
102
- * @param body ShippingAddressImpl
103
- */
104
37
  updateShippingAddress(checkoutSessionId, body) {
105
38
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
106
39
  return this.post(`/checkout_session/${checkoutSessionId}/update_shipping_address`, body);
107
40
  }
108
- /**
109
- * This method changes the shipping method for the specified line item in an eBay member checkout session.
110
- *
111
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
112
- * initiateCheckoutSession method.
113
- * @param body UpdateShippingOption
114
- */
115
41
  updateShippingOption(checkoutSessionId, body) {
116
42
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
117
43
  return this.post(`/checkout_session/${checkoutSessionId}/update_shipping_option`, body);
118
44
  }
119
- /**
120
- * (Limited Release) You must be whitelisted to use this method. This method adds a coupon to an eBay guest
121
- * checkout
122
- * session and applies it to all the eligible items in the order.
123
- *
124
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
125
- * initiateCheckoutSession method.
126
- * @param body CouponRequest
127
- */
128
45
  applyGuestCoupon(checkoutSessionId, body) {
129
46
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
130
47
  return this.post(`/guest_checkout_session/${checkoutSessionId}/apply_coupon`, body);
131
48
  }
132
- /**
133
- * This method returns the details of the specified guest checkout session. The checkoutSessionId is passed in as a
134
- * URI parameter and is required.
135
- *
136
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
137
- * initiateCheckoutSession method.
138
- */
139
49
  getGuestCheckoutSession(checkoutSessionId) {
140
50
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
141
51
  return this.get(`/guest_checkout_session/${checkoutSessionId}`);
142
52
  }
143
- /**
144
- * This method creates an eBay guest checkout session, which is the first step in performing a checkout.
145
- *
146
- * @param body CheckoutSessionRequest
147
- */
148
53
  initiateGuestCheckoutSession(body) {
149
54
  return this.post(`/guest_checkout_session/initiate`, body);
150
55
  }
151
- /**
152
- * This method is used only in the PayPal Smart Button eBay guest payment flow.
153
- *
154
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
155
- * initiateCheckoutSession method.
156
- * @param body InitiatePaymentRequest
157
- */
158
56
  initiateGuestPayment(checkoutSessionId, body) {
159
57
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
160
58
  return this.post(`/guest_checkout_session/${checkoutSessionId}/initiate_payment`, body);
161
59
  }
162
- /**
163
- * This method creates the purchase order, pays for the items, and terminates the specified guest checkout session.
164
- *
165
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
166
- * initiateCheckoutSession method.
167
- * @param body GuestPlaceOrderRequest
168
- */
169
60
  placeGuestOrder(checkoutSessionId, body) {
170
61
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
171
62
  return this.post(`/guest_checkout_session/${checkoutSessionId}/place_order`, body);
172
63
  }
173
- /**
174
- * (Limited Release) You must be whitelisted to use this method. This method removes a coupon from an eBay guest
175
- * checkout session.
176
- *
177
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
178
- * initiateCheckoutSession method.
179
- * @param body CouponRequest
180
- */
181
64
  removeGuestCoupon(checkoutSessionId, body) {
182
65
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
183
66
  return this.post(`/guest_checkout_session/${checkoutSessionId}/remove_coupon`, body);
184
67
  }
185
- /**
186
- * This method changes the payment method information of the specified guest checkout session.
187
- *
188
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
189
- * initiateCheckoutSession method.
190
- * @param body UpdatePaymentInformation
191
- */
192
68
  updateGuestPaymentInfo(checkoutSessionId, body) {
193
69
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
194
70
  return this.post(`/guest_checkout_session/${checkoutSessionId}/update_payment_info`, body);
195
71
  }
196
- /**
197
- * This method changes the quantity of the specified line item in an eBay guest checkout session.
198
- *
199
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
200
- * initiateCheckoutSession method.
201
- * @param body UpdateQuantity
202
- */
203
72
  updateGuestQuantity(checkoutSessionId, body) {
204
73
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
205
74
  return this.post(`/guest_checkout_session/${checkoutSessionId}/update_quantity`, body);
206
75
  }
207
- /**
208
- * This method changes the shipping address for the order in an eBay guest checkout session.
209
- *
210
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
211
- * initiateCheckoutSession method.
212
- * @param body ShippingAddressImpl
213
- */
214
76
  updateGuestShippingAddress(checkoutSessionId, body) {
215
77
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
216
78
  return this.post(`/guest_checkout_session/${checkoutSessionId}/update_shipping_address`, body);
217
79
  }
218
- /**
219
- * This method changes the shipping method for the specified line item in an eBay guest checkout session.
220
- *
221
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
222
- * initiateCheckoutSession method.
223
- * @param body UpdateShippingOption
224
- */
225
80
  updateGuestShippingOption(checkoutSessionId, body) {
226
81
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
227
82
  return this.post(`/guest_checkout_session/${checkoutSessionId}/update_shipping_option`, body);
228
83
  }
229
- /**
230
- * (Limited Release) You must be whitelisted to use this method. This method adds a coupon to an eBay proxy guest
231
- * checkout session and applies it to all the eligible items in the order.
232
- *
233
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
234
- * initiateCheckoutSession method.
235
- * @param body CouponRequest
236
- */
237
84
  applyProxyGuestCoupon(checkoutSessionId, body) {
238
85
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
239
86
  return this.post(`/proxy_guest_checkout_session/${checkoutSessionId}/apply_coupon`, body);
240
87
  }
241
- /**
242
- * This method returns the details of the specified eBay proxy guest checkout session.
243
- *
244
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
245
- * initiateCheckoutSession method.
246
- */
247
88
  getProxyGuestCheckoutSession(checkoutSessionId) {
248
89
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
249
90
  return this.get(`/proxy_guest_checkout_session/${checkoutSessionId}`);
250
91
  }
251
- /**
252
- * This method creates an eBay proxy guest checkout session, which is a payment flow that requires apps
253
- * with a VSP (vault service provider), such as Braintree. The VSP handles only the methods within this flow that
254
- * contain payment information.
255
- *
256
- * @param body CheckoutSessionRequest
257
- */
258
92
  initiateProxyGuestCheckoutSession(body) {
259
93
  return this.post(`/proxy_guest_checkout_session/initiate`, body);
260
94
  }
261
- /**
262
- * This method creates the proxy guest purchase order, pays for the items, and terminates the specified guest
263
- * checkout session.
264
- *
265
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
266
- * initiateCheckoutSession method.
267
- * @param body GuestPlaceOrderRequest
268
- */
269
95
  placeProxyGuestOrder(checkoutSessionId, body) {
270
96
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
271
97
  return this.post(`/proxy_guest_checkout_session/${checkoutSessionId}/place_order`, body);
272
98
  }
273
- /**
274
- * (Limited Release) You must be whitelisted to use this method. This method removes a coupon from an eBay proxy
275
- * guest checkout session. The checkoutSessionId is passed in as a URI parameter and is required.
276
- *
277
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
278
- * initiateCheckoutSession method.
279
- * @param body CouponRequest
280
- */
281
99
  removeProxyGuestCoupon(checkoutSessionId, body) {
282
100
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
283
101
  return this.post(`/proxy_guest_checkout_session/${checkoutSessionId}/remove_coupon`, body);
284
102
  }
285
- /**
286
- * This method adds or changes the payment information of the specified proxy guest checkout session.
287
- *
288
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
289
- * initiateCheckoutSession method.
290
- * @param authorization The oAuth2 token. Note: The eBay partner must include this header in the request.
291
- * @param date The UTC timestamp of the request, which is generated and added to the request by the VSP.
292
- * @param requestNonce A UUID (a 128-bit universal unique ID), which is generated and added to the request by the
293
- * VSP.
294
- * @param signature The HMAC signature, which is generated and added to the request by the VSP.
295
- * @param body UpdatePaymentInformation
296
- */
297
103
  updateProxyGuestPaymentInfo(checkoutSessionId, authorization, date, requestNonce, signature, body) {
298
104
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
299
105
  return this.post(`/proxy_guest_checkout_session/${checkoutSessionId}/update_payment_info`, body, {
@@ -305,55 +111,22 @@ class Order extends Api {
305
111
  }
306
112
  });
307
113
  }
308
- /**
309
- * This method changes the quantity of the specified line item in an eBay proxy guest checkout session.
310
- *
311
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
312
- * initiateCheckoutSession method.
313
- * @param body UpdateQuantity
314
- */
315
114
  updateProxyGuestQuantity(checkoutSessionId, body) {
316
115
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
317
116
  return this.post(`/proxy_guest_checkout_session/${checkoutSessionId}/update_quantity`, body);
318
117
  }
319
- /**
320
- * This method changes the shipping address for the order in an eBay proxy guest checkout session.
321
- *
322
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
323
- * initiateCheckoutSession method.
324
- * @param body ShippingAddressImpl
325
- */
326
118
  updateProxyGuestShippingAddress(checkoutSessionId, body) {
327
119
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
328
120
  return this.post(`/proxy_guest_checkout_session/${checkoutSessionId}/update_shipping_address`, body);
329
121
  }
330
- /**
331
- * This method changes the shipping method for the specified line item in an eBay proxy guest checkout session.
332
- *
333
- * @param checkoutSessionId The eBay-assigned session ID, for a specific eBay marketplace, that is returned by the
334
- * initiateCheckoutSession method.
335
- * @param body UpdateShippingOption
336
- */
337
122
  updateProxyGuestShippingOption(checkoutSessionId, body) {
338
123
  checkoutSessionId = encodeURIComponent(checkoutSessionId);
339
124
  return this.post(`/proxy_guest_checkout_session/${checkoutSessionId}/update_shipping_option`, body);
340
125
  }
341
- /**
342
- * This method retrieves the details about a specific guest purchase order.
343
- *
344
- * @param purchaseOrderId The unique identifier of a purchase order made by a guest buyer, for which details are to
345
- * be retrieved.
346
- */
347
126
  getGuestPurchaseOrder(purchaseOrderId) {
348
127
  purchaseOrderId = encodeURIComponent(purchaseOrderId);
349
128
  return this.get(`/guest_purchase_order/${purchaseOrderId}`);
350
129
  }
351
- /**
352
- * This method retrieves the details about a specific eBay member purchase order.
353
- *
354
- * @param purchaseOrderId The unique identifier of a purchase order made by an eBay member, for which details are
355
- * to be retrieved.
356
- */
357
130
  getPurchaseOrder(purchaseOrderId) {
358
131
  purchaseOrderId = encodeURIComponent(purchaseOrderId);
359
132
  return this.get(`/purchase_order/${purchaseOrderId}`);
@@ -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
  }
@@ -1,31 +1,11 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * Use the Catalog API to search the eBay catalog for products on which to base a seller's item listing;
4
- */
5
2
  class Catalog extends Restful {
6
3
  get basePath() {
7
4
  return '/commerce/catalog/v1_beta';
8
5
  }
9
- /**
10
- * Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be
11
- * decommissioned in Q1 of 2020.
12
- *
13
- * @param changeRequestId The unique identifier of the change request being requested.
14
- */
15
6
  getChangeRequest(changeRequestId) {
16
7
  return this.get(`/change_request/${changeRequestId}`);
17
8
  }
18
- /**
19
- * Note: The three catalog change request methods in the Catalog API are deprecated, and are scheduled to be
20
- * decommissioned in Q1 of 2020.
21
- *
22
- * @param filter One or more comma-separated criteria for narrowing down the collection of change requests returned
23
- * by this call.
24
- * @param limit The number of change requests to return. This is the result set, a subset of the full collection of
25
- * change requests that match the filter criteria of this call.
26
- * @param offset The first change request to return based on its position in the returned collection of change
27
- * requests.
28
- */
29
9
  getChangeRequests({ filter, limit, offset } = {}) {
30
10
  return this.get(`/change_request`, {
31
11
  params: {
@@ -35,41 +15,15 @@ class Catalog extends Restful {
35
15
  }
36
16
  });
37
17
  }
38
- /**
39
- * This call retrieves details of the catalog product identified by the eBay product identifier (ePID) specified in
40
- * the request.
41
- *
42
- * @param epid The ePID of the product being requested.
43
- */
44
18
  getProduct(epid) {
45
19
  const e = encodeURIComponent(epid);
46
20
  return this.get(`/product/${e}`);
47
21
  }
48
- /**
49
- * This call searches for and retrieves summaries of one or more products in the eBay catalog that match the search
50
- * criteria provided by a seller.
51
- *
52
- * @param params SearchCatalogParams
53
- */
54
22
  search(params) {
55
23
  return this.get(`/product_summary/search`, {
56
24
  params
57
25
  });
58
26
  }
59
- /**
60
- * This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified
61
- * catalog product and its associated or suggested categories, as well as the values currently associated with that
62
- * product.
63
- *
64
- * @param epid The unique eBay product identifier of the catalog product that you want to update.
65
- * @param acceptLanguage This request header sets the natural language that will be provided in the field values of
66
- * the response payload.
67
- * @param otherApplicableCategoryIds Use only if you are also including the primary_category_id parameter in the
68
- * request.
69
- * @param primaryCategoryId Use only if the seller believes this product is associated with the wrong primary
70
- * category.
71
- * @param marketplaceId Use this header to specify the eBay marketplace identifier.
72
- */
73
27
  getProductMetadata(epid, { otherApplicableCategoryIds, primaryCategoryId } = {}) {
74
28
  return this.get(`/get_product_metadata`, {
75
29
  params: {
@@ -79,14 +33,6 @@ class Catalog extends Restful {
79
33
  }
80
34
  });
81
35
  }
82
- /**
83
- * This call retrieves an array of all supported aspects, aspect constraints, and aspect values for the specified
84
- * eBay categories.
85
- *
86
- * @param primaryCategoryId The unique identifier of the primary eBay category for which you will retrieve product
87
- * aspects.
88
- * @param otherApplicableCategoryIds A string of comma-separated category IDs.
89
- */
90
36
  getProductMetadataForCategories(primaryCategoryId, otherApplicableCategoryIds) {
91
37
  return this.get(`/get_product_metadata_for_categories`, {
92
38
  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
  }
@@ -1,28 +1,12 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * The Charity API allows third-party developers to search for and access details on supported charitable organizations.
4
- */
5
2
  class Charity extends Restful {
6
3
  get basePath() {
7
4
  return '/commerce/charity/v1';
8
5
  }
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) {
15
7
  charityOrgId = encodeURIComponent(charityOrgId);
16
8
  return this.get(`/charity_org/${charityOrgId}`);
17
9
  }
18
- /**
19
- * This call is used to retrieve detailed information about supported charitable organizations.
20
- *
21
- * @param limit The number of items, from the result set, returned in a single page. Valid Values: 1-100 Default: 20
22
- * @param offset The number of items that will be skipped in the result set.
23
- * @param q A query string that matches the keywords in name, mission statement, or description.
24
- * @param registrationIds A comma-separated list of charitable organization registration IDs.
25
- */
26
10
  getCharityOrgs({ limit, offset, q, registrationIds }) {
27
11
  return this.get(`/charity_org`, {
28
12
  params: {
@@ -33,11 +17,6 @@ class Charity extends Restful {
33
17
  }
34
18
  });
35
19
  }
36
- /**
37
- * 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.
38
- *
39
- * @param legacyCharityOrgId The legacy ID of the charitable organization.
40
- */
41
20
  getCharityOrgByLegacyId(legacyCharityOrgId) {
42
21
  return this.get(`/charity_org/get_charity_org_by_legacy_id`, {
43
22
  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
  }
@@ -1,7 +1,4 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * Retrieves the authenticated user's account profile information.
4
- */
5
2
  class Identity extends Restful {
6
3
  get basePath() {
7
4
  return '/commerce/identity/v1';
@@ -9,10 +6,6 @@ class Identity extends Restful {
9
6
  get subdomain() {
10
7
  return 'apiz';
11
8
  }
12
- /**
13
- * This method retrieves the account profile information for an authenticated user, which requires a User access
14
- * token. What is returned is controlled by the scopes.
15
- */
16
9
  getUser() {
17
10
  return this.get(`/user/`);
18
11
  }