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,82 +1,18 @@
1
1
  import Restful from '../../index.js';
2
2
  import { BuyerCloseInquiryRequest, CheckInquiryEligibilityRequest, CreateInquiryRequest, EscalateInquiryRequest, InquirySearchParams, InquiryVoluntaryRefundRequest, SellerProvideRefundInfoRequest, SendMessageRequest, ShipmentInfoRequest } from '../../../../types/index.js';
3
- /**
4
- * Post-Order Inquiry API
5
- */
6
3
  export default class Inquiry extends Restful {
7
4
  static id: string;
8
5
  get basePath(): string;
9
6
  get useIaf(): boolean;
10
- /**
11
- * Check if a buyer is eligible to open an inquiry on an order.
12
- *
13
- * @param payload the CheckInquiryEligibilityRequest
14
- */
15
7
  checkInquiryEligibility(payload: CheckInquiryEligibilityRequest): Promise<any>;
16
- /**
17
- * Close an inquiry for the buyer
18
- *
19
- * @param inquiryId The unique ID of the inquiry to be closed.
20
- * @param payload the BuyerCloseInquiryRequest
21
- */
22
8
  closeInquiry(inquiryId: string, payload?: BuyerCloseInquiryRequest): Promise<any>;
23
- /**
24
- * Buyer confirms the refund from an inquiry was received
25
- *
26
- * @param inquiryId The unique identifier of a case.
27
- */
28
9
  confirmInquiryRefund(inquiryId: string): Promise<any>;
29
- /**
30
- * Create an inquiry for the buyer.
31
- *
32
- * @param payload the CreateInquiryRequest
33
- */
34
10
  createInquiry(payload: CreateInquiryRequest): Promise<any>;
35
- /**
36
- * Escalate an inquiry to an INR case.
37
- *
38
- * @param inquiryId the unique identifier of the inquiry to be escalated.
39
- * @param payload the EscalateInquiryRequest
40
- */
41
11
  escalateInquiry(inquiryId: string, payload: EscalateInquiryRequest): Promise<any>;
42
- /**
43
- * Retrieve the history and details related to a specific inquiry.
44
- *
45
- * @param inquiryId the unique ID of the inquiry for which details and history are to be retrieved.
46
- */
47
12
  getInquiry(inquiryId: string): Promise<any>;
48
- /**
49
- * Issue a refund for an inquiry.
50
- *
51
- * @param inquiryId the unique ID of the inquiry for which a refund is to be issued.
52
- * @param payload the InquiryVoluntaryRefundRequest
53
- */
54
13
  issueInquiryRefund(inquiryId: string, payload?: InquiryVoluntaryRefundRequest): Promise<any>;
55
- /**
56
- * Provide refund information about an inquiry to the buyer.
57
- *
58
- * @param inquiryId The unique ID of the inquiry for which to provide refund information.
59
- * @param payload the InquiryVoluntaryRefundRequest
60
- */
61
14
  provideInquiryRefundInfo(inquiryId: string, payload: SellerProvideRefundInfoRequest): Promise<any>;
62
- /**
63
- * Provide shipment information for an inquiry.
64
- *
65
- * @param inquiryId The unique ID of the inquiry for which to provide shipment information.
66
- * @param payload the ShipmentInfoRequest
67
- */
68
15
  provideInquiryShipmentInfo(inquiryId: string, payload?: ShipmentInfoRequest): Promise<any>;
69
- /**
70
- * This call is used to search for inquiries using multiple filter types.
71
- *
72
- * @param params the InquirySearchParams
73
- */
74
16
  search(params?: InquirySearchParams): Promise<any>;
75
- /**
76
- * Contact the buyer or seller about an inquiry.
77
- *
78
- * @param inquiryId The unique ID of the inquiry being discussed.
79
- * @param payload the SendMessageRequest
80
- */
81
17
  sendInquiryMessage(inquiryId: string, payload: SendMessageRequest): Promise<any>;
82
18
  }
@@ -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
- * Post-Order Inquiry API
9
- */
10
7
  class Inquiry extends index_js_1.default {
11
8
  get basePath() {
12
9
  return '/post-order/v2';
@@ -14,20 +11,9 @@ class Inquiry extends index_js_1.default {
14
11
  get useIaf() {
15
12
  return true;
16
13
  }
17
- /**
18
- * Check if a buyer is eligible to open an inquiry on an order.
19
- *
20
- * @param payload the CheckInquiryEligibilityRequest
21
- */
22
14
  checkInquiryEligibility(payload) {
23
15
  return this.post(`/inquiry/check_eligibility`, payload);
24
16
  }
25
- /**
26
- * Close an inquiry for the buyer
27
- *
28
- * @param inquiryId The unique ID of the inquiry to be closed.
29
- * @param payload the BuyerCloseInquiryRequest
30
- */
31
17
  closeInquiry(inquiryId, payload) {
32
18
  inquiryId = encodeURIComponent(inquiryId);
33
19
  if (typeof payload?.closeReason === 'string') {
@@ -35,92 +21,42 @@ class Inquiry extends index_js_1.default {
35
21
  }
36
22
  return this.post(`/inquiry/${inquiryId}/close`, payload);
37
23
  }
38
- /**
39
- * Buyer confirms the refund from an inquiry was received
40
- *
41
- * @param inquiryId The unique identifier of a case.
42
- */
43
24
  confirmInquiryRefund(inquiryId) {
44
25
  inquiryId = encodeURIComponent(inquiryId);
45
26
  return this.post(`/inquiry/${inquiryId}/confirm_refund`);
46
27
  }
47
- /**
48
- * Create an inquiry for the buyer.
49
- *
50
- * @param payload the CreateInquiryRequest
51
- */
52
28
  createInquiry(payload) {
53
29
  if (typeof payload.desiredOutcome === 'string') {
54
30
  payload.desiredOutcome = payload.desiredOutcome.trim();
55
31
  }
56
32
  return this.post(`/inquiry`, payload);
57
33
  }
58
- /**
59
- * Escalate an inquiry to an INR case.
60
- *
61
- * @param inquiryId the unique identifier of the inquiry to be escalated.
62
- * @param payload the EscalateInquiryRequest
63
- */
64
34
  escalateInquiry(inquiryId, payload) {
65
35
  inquiryId = encodeURIComponent(inquiryId);
66
36
  payload.escalateInquiryReason = payload.escalateInquiryReason.trim();
67
37
  return this.post(`/inquiry/${inquiryId}/escalate`, payload);
68
38
  }
69
- /**
70
- * Retrieve the history and details related to a specific inquiry.
71
- *
72
- * @param inquiryId the unique ID of the inquiry for which details and history are to be retrieved.
73
- */
74
39
  getInquiry(inquiryId) {
75
40
  inquiryId = encodeURIComponent(inquiryId);
76
41
  return this.get(`/inquiry/${inquiryId}`);
77
42
  }
78
- /**
79
- * Issue a refund for an inquiry.
80
- *
81
- * @param inquiryId the unique ID of the inquiry for which a refund is to be issued.
82
- * @param payload the InquiryVoluntaryRefundRequest
83
- */
84
43
  issueInquiryRefund(inquiryId, payload) {
85
44
  inquiryId = encodeURIComponent(inquiryId);
86
45
  return this.post(`/inquiry/${inquiryId}/issue_refund`, payload);
87
46
  }
88
- /**
89
- * Provide refund information about an inquiry to the buyer.
90
- *
91
- * @param inquiryId The unique ID of the inquiry for which to provide refund information.
92
- * @param payload the InquiryVoluntaryRefundRequest
93
- */
94
47
  provideInquiryRefundInfo(inquiryId, payload) {
95
48
  inquiryId = encodeURIComponent(inquiryId);
96
49
  return this.post(`/inquiry/${inquiryId}/provide_refund_info`, payload);
97
50
  }
98
- /**
99
- * Provide shipment information for an inquiry.
100
- *
101
- * @param inquiryId The unique ID of the inquiry for which to provide shipment information.
102
- * @param payload the ShipmentInfoRequest
103
- */
104
51
  provideInquiryShipmentInfo(inquiryId, payload) {
105
52
  inquiryId = encodeURIComponent(inquiryId);
106
53
  return this.post(`/inquiry/${inquiryId}/provide_shipment_info`, payload);
107
54
  }
108
- /**
109
- * This call is used to search for inquiries using multiple filter types.
110
- *
111
- * @param params the InquirySearchParams
112
- */
113
55
  search(params) {
114
56
  return this.get(`/inquiry/search`, {
115
57
  params
116
58
  });
117
59
  }
118
- /**
119
- * Contact the buyer or seller about an inquiry.
120
- *
121
- * @param inquiryId The unique ID of the inquiry being discussed.
122
- * @param payload the SendMessageRequest
123
- */
124
60
  sendInquiryMessage(inquiryId, payload) {
125
61
  inquiryId = encodeURIComponent(inquiryId);
126
62
  return this.post(`/inquiry/${inquiryId}/send_message`, payload);
@@ -1,231 +1,41 @@
1
1
  import { FilePurpose, GetReturnFieldGroupEnum } from '../../../../enums/index.js';
2
2
  import { CheckEligibilityRequest, CloseReturnRequest, CreateReturnRequest, DecideReturnRequest, EscalateRequest, GetEstimateRequest, MarkAsReceivedRequest, MarkAsShippedRequest, MarkRefundSentRequest, PostOrderIssueRefundRequest, ProvideLabelRequest, ReturnRequestType, SearchReturnParams, SendMessageRequest, SetReturnCreationSessionRequest, UpdateTrackingRequest, UploadFileRequest, VoidLabelRequest } from '../../../../types/index.js';
3
3
  import Restful from '../../index.js';
4
- /**
5
- * Post-Order Return API
6
- */
7
4
  export default class Return extends Restful {
8
5
  static id: string;
9
6
  get basePath(): string;
10
7
  get useIaf(): boolean;
11
- /**
12
- * Create or update a shipping label provided by the seller.
13
- *
14
- * @param returnId The unique eBay-assigned ID of the return.
15
- * @param payload the ProvideLabelRequest
16
- */
17
8
  addShippingLabelInfo(returnId: string, payload: ProvideLabelRequest): Promise<any>;
18
- /**
19
- * Cancel a return request.
20
- *
21
- * @param returnId The unique eBay-assigned ID of the return request.
22
- * @param payload The CloseReturnRequest.
23
- */
24
9
  cancelReturnRequest(returnId: string, payload?: CloseReturnRequest): Promise<any>;
25
- /**
26
- * Check to see if an item is eligible for a return.
27
- *
28
- * @param payload the CheckEligibilityRequest
29
- */
30
10
  checkReturnEligibility(payload: CheckEligibilityRequest): Promise<any>;
31
- /**
32
- * Validate the eligibility of an existing shipping label.
33
- *
34
- * @param returnId The unique eBay-assigned ID of the return.
35
- */
36
11
  checkShippingLabelEligibility(returnId: string): Promise<any>;
37
- /**
38
- * Create a return draft.
39
- *
40
- * @param payload the SetReturnCreationSessionRequest
41
- */
42
12
  createReturnDraft(payload: SetReturnCreationSessionRequest): Promise<any>;
43
- /**
44
- * Request a return for an item.
45
- *
46
- * @param payload the CreateReturnRequest
47
- * @param fieldGroups can be used in the call URI to control the detail level that is returned in response.
48
- */
49
13
  createReturnRequest(payload: CreateReturnRequest, fieldGroups?: GetReturnFieldGroupEnum | `${GetReturnFieldGroupEnum}`): Promise<any>;
50
- /**
51
- * Create an eBay shipping label for the buyer.
52
- *
53
- * @param returnId The unique eBay-assigned ID of the return.
54
- */
55
14
  createReturnShippingLabel(returnId: string): Promise<any>;
56
- /**
57
- * Delete a file associated with a return draft.
58
- *
59
- * @param draftId The unique eBay-assigned ID of the return draft.
60
- * @param fileId The unique eBay-assigned ID of the draft file.
61
- */
62
15
  deleteReturnDraftFile(draftId: string, fileId: string): Promise<any>;
63
- /**
64
- * Escalate an existing return to eBay customer support.
65
- *
66
- * @param returnId The unique eBay-assigned ID of the return request.
67
- * @param payload the EscalateRequest
68
- */
69
16
  escalateReturn(returnId: string, payload?: EscalateRequest): Promise<any>;
70
- /**
71
- * Retrieve the details of a specific return.
72
- *
73
- * @param returnId The unique eBay-assigned ID of the return request.
74
- * @param fieldGroups can be used in the call URI to control the detail level that is returned in response.
75
- */
76
17
  getReturn(returnId: string, fieldGroups?: GetReturnFieldGroupEnum | `${GetReturnFieldGroupEnum}`): Promise<any>;
77
- /**
78
- * Retrieve a return draft.
79
- *
80
- * @param returnId The unique eBay-assigned ID of the return request.
81
- */
82
18
  getReturnDraft(returnId: string): Promise<any>;
83
- /**
84
- * Retrieve the files associated with a return draft.
85
- *
86
- * @param returnId The unique eBay-assigned ID of the return draft.
87
- */
88
19
  getReturnDraftFiles(returnId: string): Promise<any>;
89
- /**
90
- * Retrieve the cost estimate of a refund with its shipping cost.
91
- *
92
- * @param payload the GetEstimateRequest
93
- */
94
20
  getReturnEstimate(payload: GetEstimateRequest): Promise<any>;
95
- /**
96
- * Retrieve the cost estimate of a refund with its shipping cost.
97
- *
98
- * @param returnId The unique eBay-assigned ID of the return.
99
- */
100
21
  getReturnFiles(returnId: string): Promise<any>;
101
- /**
102
- * Retrieve seller's return preferences.
103
- */
104
22
  getReturnPreferences(): Promise<any>;
105
- /**
106
- * Retrieve the data for an existing shipping label.
107
- *
108
- * @param returnId The unique eBay-assigned ID of the return.
109
- */
110
23
  getReturnShippingLabel(returnId: string): Promise<any>;
111
- /**
112
- * Retrieve shipment tracking activity for a return.
113
- *
114
- * @param returnId The unique eBay-assigned ID of the return.
115
- * @param carrierUsed The shipping carrier used to to ship the package.
116
- * @param trackingNumber The tracking number of the package.
117
- */
118
24
  getShipmentTrackingInfo(returnId: string, carrierUsed: string, trackingNumber: string): Promise<any>;
119
- /**
120
- * Issue a refund.
121
- *
122
- * @param returnId The unique eBay-assigned ID of the return.
123
- * @param payload The IssueRefundRequest.
124
- */
125
25
  issueReturnRefund(returnId: string, payload: PostOrderIssueRefundRequest): Promise<any>;
126
- /**
127
- * Mark a returned item as received.
128
- *
129
- * @param returnId The unique eBay-assigned ID of the return.
130
- * @param payload the MarkAsReceivedRequest
131
- */
132
26
  markReturnReceived(returnId: string, payload?: MarkAsReceivedRequest): Promise<any>;
133
- /**
134
- * Mark a refund as received.
135
- *
136
- * @param returnId The unique eBay-assigned ID of the return.
137
- */
138
27
  markReturnRefundReceived(returnId: string): Promise<any>;
139
- /**
140
- * Notify the buyer that a refund has been issued.
141
- *
142
- * @param returnId The unique eBay-assigned ID of the return.
143
- * @param payload the MarkRefundSentRequest
144
- */
145
28
  markReturnRefundSent(returnId: string, payload: MarkRefundSentRequest): Promise<any>;
146
- /**
147
- * Mark a return as shipped.
148
- *
149
- * @param returnId The unique eBay-assigned ID of the return.
150
- * @param payload the MarkAsShippedRequest
151
- */
152
29
  markReturnShipped(returnId: string, payload?: MarkAsShippedRequest): Promise<any>;
153
- /**
154
- * Perform an action on a return, such as APPROVE.
155
- *
156
- * @param returnId The unique eBay-assigned ID of the return.
157
- * @param payload the DecideReturnRequest
158
- */
159
30
  processReturnRequest(returnId: string, payload: DecideReturnRequest): Promise<any>;
160
- /**
161
- * Retrieve details on items being returned.
162
- *
163
- * @param params the SearchReturnParams
164
- */
165
31
  search(params: SearchReturnParams): Promise<any>;
166
- /**
167
- * Send a message to the buyer or seller regarding a return.
168
- *
169
- * @param returnId The unique eBay-assigned ID of the return.
170
- * @param payload the SendMessageRequest
171
- */
172
32
  sendReturnMessage(returnId: string, payload?: SendMessageRequest): Promise<any>;
173
- /**
174
- * Send a shipping label to an email address.
175
- *
176
- * @param returnId The unique eBay-assigned ID of the return.
177
- * @param toEmailAddress The recipient's email address is specified in this field.
178
- */
179
33
  sendReturnShippingLabel(returnId: string, toEmailAddress?: string): Promise<any>;
180
- /**
181
- * Send a shipping label to an email address.
182
- *
183
- * @param rmaRequired This field is included and set to true if the seller wishes to require that the buyer provide
184
- * a Return Merchandise Authorization (RMA) when returning an item.
185
- */
186
34
  setReturnPreferences(rmaRequired: boolean): Promise<any>;
187
- /**
188
- * Activate the files associated with a return.
189
- *
190
- * @param returnId The unique eBay-assigned ID of the return.
191
- * @param filePurpose This value is used to indicate if the file(s) are being used to provide more information
192
- * about the condition of the item, or intended to provide more information about shipment tracking or about
193
- * the shipping label.
194
- */
195
35
  submitReturnFile(returnId: string, filePurpose?: FilePurpose | keyof typeof FilePurpose): Promise<any>;
196
- /**
197
- * Update an existing return draft.
198
- *
199
- * @param draftId The unique eBay-assigned ID of the return draft.
200
- * @param returnRequest the ReturnRequestType
201
- */
202
36
  updateReturnDraft(draftId: string, returnRequest: ReturnRequestType): Promise<any>;
203
- /**
204
- * Update shipment tracking information.
205
- *
206
- * @param returnId The unique eBay-assigned ID of the return request.
207
- * @param payload the UpdateTrackingRequest
208
- */
209
37
  updateShipmentTrackingInfo(returnId: string, payload: UpdateTrackingRequest): Promise<any>;
210
- /**
211
- * Upload the files relating to a return draft.
212
- *
213
- * @param draftId The unique eBay-assigned ID of the return draft.
214
- * @param payload the UploadFileRequest
215
- */
216
38
  uploadReturnDraftFile(draftId: string, payload: UploadFileRequest): Promise<any>;
217
- /**
218
- * Upload the files relating to a return.
219
- *
220
- * @param returnId The unique eBay-assigned ID of the return.
221
- * @param payload the UploadFileRequest
222
- */
223
39
  uploadReturnFile(returnId: string, payload: UploadFileRequest): Promise<any>;
224
- /**
225
- * Void a shipping label.
226
- *
227
- * @param returnId The unique eBay-assigned ID of the return.
228
- * @param payload the VoidLabelRequest
229
- */
230
40
  voidShippingLabel(returnId: string, payload: VoidLabelRequest): Promise<any>;
231
41
  }