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
@@ -760,6 +760,29 @@ export declare enum CurrencyCode {
760
760
  ZMW = "ZMW",
761
761
  ZWL = "ZWL"
762
762
  }
763
+ export declare enum Locale {
764
+ de_AT = "de-AT",
765
+ de_CH = "de-CH",
766
+ de_DE = "de-DE",
767
+ en_AU = "en-AU",
768
+ en_CA = "en-CA",
769
+ en_GB = "en-GB",
770
+ en_IE = "en-IE",
771
+ en_PH = "en-PH",
772
+ en_US = "en-US",
773
+ es_ES = "es-ES",
774
+ fr_BE = "fr-BE",
775
+ fr_CA = "fr-CA",
776
+ fr_FR = "fr-FR",
777
+ it_IT = "it-IT",
778
+ nl_BE = "nl-BE",
779
+ nl_NL = "nl-NL",
780
+ pl_PL = "pl-PL",
781
+ th_TH = "th-TH",
782
+ zh_HK = "zh-HK",
783
+ zh_TW = "zh-TW"
784
+ }
785
+ export { Locale as ContentLanguage };
763
786
  export declare enum Condition {
764
787
  NEW = "NEW",
765
788
  LIKE_NEW = "LIKE_NEW",
@@ -773,7 +796,7 @@ export declare enum Condition {
773
796
  USED_ACCEPTABLE = "USED_ACCEPTABLE",
774
797
  FOR_PARTS_OR_NOT_WORKING = "FOR_PARTS_OR_NOT_WORKING"
775
798
  }
776
- export declare enum Locale {
799
+ export declare enum LocaleEnum {
777
800
  en_US = "en_US",
778
801
  en_CA = "en_CA",
779
802
  fr_CA = "fr_CA",
@@ -800,28 +823,6 @@ export declare enum Locale {
800
823
  en_IE = "en_IE",
801
824
  en_MY = "en_MY"
802
825
  }
803
- export declare enum ContentLanguage {
804
- de_AT = "de-AT",
805
- de_CH = "de-CH",
806
- de_DE = "de-DE",
807
- en_AU = "en-AU",
808
- en_CA = "en-CA",
809
- en_GB = "en-GB",
810
- en_IE = "en-IE",
811
- en_PH = "en-PH",
812
- en_US = "en-US",
813
- es_ES = "es-ES",
814
- fr_BE = "fr-BE",
815
- fr_CA = "fr-CA",
816
- fr_FR = "fr-FR",
817
- it_IT = "it-IT",
818
- nl_BE = "nl-BE",
819
- nl_NL = "nl-NL",
820
- pl_PL = "pl-PL",
821
- th_TH = "th-TH",
822
- zh_HK = "zh-HK",
823
- zh_TW = "zh-TW"
824
- }
825
826
  export declare enum Marketplace {
826
827
  EBAY_US = "EBAY_US",
827
828
  EBAY_MOTORS = "EBAY_MOTORS",
@@ -788,6 +788,30 @@ export var CurrencyCode;
788
788
  CurrencyCode["ZMW"] = "ZMW";
789
789
  CurrencyCode["ZWL"] = "ZWL";
790
790
  })(CurrencyCode || (CurrencyCode = {}));
791
+ export var Locale;
792
+ (function (Locale) {
793
+ Locale["de_AT"] = "de-AT";
794
+ Locale["de_CH"] = "de-CH";
795
+ Locale["de_DE"] = "de-DE";
796
+ Locale["en_AU"] = "en-AU";
797
+ Locale["en_CA"] = "en-CA";
798
+ Locale["en_GB"] = "en-GB";
799
+ Locale["en_IE"] = "en-IE";
800
+ Locale["en_PH"] = "en-PH";
801
+ Locale["en_US"] = "en-US";
802
+ Locale["es_ES"] = "es-ES";
803
+ Locale["fr_BE"] = "fr-BE";
804
+ Locale["fr_CA"] = "fr-CA";
805
+ Locale["fr_FR"] = "fr-FR";
806
+ Locale["it_IT"] = "it-IT";
807
+ Locale["nl_BE"] = "nl-BE";
808
+ Locale["nl_NL"] = "nl-NL";
809
+ Locale["pl_PL"] = "pl-PL";
810
+ Locale["th_TH"] = "th-TH";
811
+ Locale["zh_HK"] = "zh-HK";
812
+ Locale["zh_TW"] = "zh-TW";
813
+ })(Locale || (Locale = {}));
814
+ export { Locale as ContentLanguage };
791
815
  export var Condition;
792
816
  (function (Condition) {
793
817
  Condition["NEW"] = "NEW";
@@ -802,57 +826,34 @@ export var Condition;
802
826
  Condition["USED_ACCEPTABLE"] = "USED_ACCEPTABLE";
803
827
  Condition["FOR_PARTS_OR_NOT_WORKING"] = "FOR_PARTS_OR_NOT_WORKING";
804
828
  })(Condition || (Condition = {}));
805
- export var Locale;
806
- (function (Locale) {
807
- Locale["en_US"] = "en_US";
808
- Locale["en_CA"] = "en_CA";
809
- Locale["fr_CA"] = "fr_CA";
810
- Locale["en_GB"] = "en_GB";
811
- Locale["en_AU"] = "en_AU";
812
- Locale["en_IN"] = "en_IN";
813
- Locale["de_AT"] = "de_AT";
814
- Locale["fr_BE"] = "fr_BE";
815
- Locale["fr_FR"] = "fr_FR";
816
- Locale["de_DE"] = "de_DE";
817
- Locale["it_IT"] = "it_IT";
818
- Locale["nl_BE"] = "nl_BE";
819
- Locale["nl_NL"] = "nl_NL";
820
- Locale["es_ES"] = "es_ES";
821
- Locale["de_CH"] = "de_CH";
822
- Locale["fi_FI"] = "fi_FI";
823
- Locale["zh_HK"] = "zh_HK";
824
- Locale["hu_HU"] = "hu_HU";
825
- Locale["en_PH"] = "en_PH";
826
- Locale["pl_PL"] = "pl_PL";
827
- Locale["pt_PT"] = "pt_PT";
828
- Locale["ru_RU"] = "ru_RU";
829
- Locale["en_SG"] = "en_SG";
830
- Locale["en_IE"] = "en_IE";
831
- Locale["en_MY"] = "en_MY";
832
- })(Locale || (Locale = {}));
833
- export var ContentLanguage;
834
- (function (ContentLanguage) {
835
- ContentLanguage["de_AT"] = "de-AT";
836
- ContentLanguage["de_CH"] = "de-CH";
837
- ContentLanguage["de_DE"] = "de-DE";
838
- ContentLanguage["en_AU"] = "en-AU";
839
- ContentLanguage["en_CA"] = "en-CA";
840
- ContentLanguage["en_GB"] = "en-GB";
841
- ContentLanguage["en_IE"] = "en-IE";
842
- ContentLanguage["en_PH"] = "en-PH";
843
- ContentLanguage["en_US"] = "en-US";
844
- ContentLanguage["es_ES"] = "es-ES";
845
- ContentLanguage["fr_BE"] = "fr-BE";
846
- ContentLanguage["fr_CA"] = "fr-CA";
847
- ContentLanguage["fr_FR"] = "fr-FR";
848
- ContentLanguage["it_IT"] = "it-IT";
849
- ContentLanguage["nl_BE"] = "nl-BE";
850
- ContentLanguage["nl_NL"] = "nl-NL";
851
- ContentLanguage["pl_PL"] = "pl-PL";
852
- ContentLanguage["th_TH"] = "th-TH";
853
- ContentLanguage["zh_HK"] = "zh-HK";
854
- ContentLanguage["zh_TW"] = "zh-TW";
855
- })(ContentLanguage || (ContentLanguage = {}));
829
+ export var LocaleEnum;
830
+ (function (LocaleEnum) {
831
+ LocaleEnum["en_US"] = "en_US";
832
+ LocaleEnum["en_CA"] = "en_CA";
833
+ LocaleEnum["fr_CA"] = "fr_CA";
834
+ LocaleEnum["en_GB"] = "en_GB";
835
+ LocaleEnum["en_AU"] = "en_AU";
836
+ LocaleEnum["en_IN"] = "en_IN";
837
+ LocaleEnum["de_AT"] = "de_AT";
838
+ LocaleEnum["fr_BE"] = "fr_BE";
839
+ LocaleEnum["fr_FR"] = "fr_FR";
840
+ LocaleEnum["de_DE"] = "de_DE";
841
+ LocaleEnum["it_IT"] = "it_IT";
842
+ LocaleEnum["nl_BE"] = "nl_BE";
843
+ LocaleEnum["nl_NL"] = "nl_NL";
844
+ LocaleEnum["es_ES"] = "es_ES";
845
+ LocaleEnum["de_CH"] = "de_CH";
846
+ LocaleEnum["fi_FI"] = "fi_FI";
847
+ LocaleEnum["zh_HK"] = "zh_HK";
848
+ LocaleEnum["hu_HU"] = "hu_HU";
849
+ LocaleEnum["en_PH"] = "en_PH";
850
+ LocaleEnum["pl_PL"] = "pl_PL";
851
+ LocaleEnum["pt_PT"] = "pt_PT";
852
+ LocaleEnum["ru_RU"] = "ru_RU";
853
+ LocaleEnum["en_SG"] = "en_SG";
854
+ LocaleEnum["en_IE"] = "en_IE";
855
+ LocaleEnum["en_MY"] = "en_MY";
856
+ })(LocaleEnum || (LocaleEnum = {}));
856
857
  export var Marketplace;
857
858
  (function (Marketplace) {
858
859
  Marketplace["EBAY_US"] = "EBAY_US";
@@ -1,18 +1,8 @@
1
1
  export declare const rawError: unique symbol;
2
- /**
3
- * Error object for ease of capturing if some service depends on .toJSON() method to log something
4
- *
5
- * @ignore
6
- */
7
2
  export declare class EBayError extends Error {
8
3
  readonly meta: any;
9
4
  readonly description: string;
10
5
  constructor(message: string, description?: string, meta?: any);
11
- /**
12
- * returns a JSON representation of the Error
13
- *
14
- * @return {Object} json representation of the Error
15
- */
16
6
  toJSON(): {
17
7
  message: string;
18
8
  description: string;
@@ -21,23 +11,14 @@ export declare class EBayError extends Error {
21
11
  meta: any;
22
12
  };
23
13
  }
24
- /**
25
- * thrown when Request.prototype.run() is called without having defined an eBay API call
26
- */
27
14
  export declare class EbayNoCallError extends EBayError {
28
15
  constructor(msg?: string);
29
16
  }
30
- /**
31
- * thrown when attempting to load environment variables that don't exist
32
- */
33
17
  export declare class ApiEnvError extends EBayError {
34
18
  constructor(key: any);
35
19
  }
36
20
  export declare const getErrorMessage: (err: any) => any;
37
21
  export declare const getErrorDescription: (err: any) => any;
38
- /**
39
- * Thrown when an Error occurs on eBay's side.
40
- */
41
22
  export declare class EbayApiError extends EBayError {
42
23
  constructor(err: any);
43
24
  }
@@ -1,12 +1,6 @@
1
- // tslint:disable:max-classes-per-file
2
1
  import debug from 'debug';
3
2
  const log = debug('ebay:error');
4
3
  export const rawError = Symbol('raw-error');
5
- /**
6
- * Error object for ease of capturing if some service depends on .toJSON() method to log something
7
- *
8
- * @ignore
9
- */
10
4
  export class EBayError extends Error {
11
5
  constructor(message, description = '', meta = {}) {
12
6
  super(message);
@@ -15,11 +9,6 @@ export class EBayError extends Error {
15
9
  this.description = description;
16
10
  this.meta = meta;
17
11
  }
18
- /**
19
- * returns a JSON representation of the Error
20
- *
21
- * @return {Object} json representation of the Error
22
- */
23
12
  toJSON() {
24
13
  return {
25
14
  message: this.message,
@@ -30,17 +19,11 @@ export class EBayError extends Error {
30
19
  };
31
20
  }
32
21
  }
33
- /**
34
- * thrown when Request.prototype.run() is called without having defined an eBay API call
35
- */
36
22
  export class EbayNoCallError extends EBayError {
37
23
  constructor(msg = 'No eBay API call defined, please invoke one.') {
38
24
  super(msg);
39
25
  }
40
26
  }
41
- /**
42
- * thrown when attempting to load environment variables that don't exist
43
- */
44
27
  export class ApiEnvError extends EBayError {
45
28
  constructor(key) {
46
29
  super(`Could not find ${key} in process.env.`);
@@ -60,9 +43,6 @@ export const getErrorDescription = (err) => err.response?.data?.error_descriptio
60
43
  || err.Errors?.LongMessage
61
44
  || err.response?.statusText
62
45
  || '';
63
- /**
64
- * Thrown when an Error occurs on eBay's side.
65
- */
66
46
  export class EbayApiError extends EBayError {
67
47
  constructor(err) {
68
48
  const { message, description, meta } = mapEBayError(err);
@@ -176,6 +156,7 @@ export const checkEBayResponse = (data) => {
176
156
  case EBayIAFTokenExpired.code:
177
157
  throw new EBayIAFTokenExpired(data);
178
158
  case EBayIAFTokenInvalid.code:
159
+ case 1.32:
179
160
  throw new EBayIAFTokenInvalid(data);
180
161
  case EBayTokenRequired.code:
181
162
  throw new EBayTokenRequired(data);
@@ -1,5 +1,5 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- import { ContentLanguage, Locale, MarketplaceId, SiteId } from '../enums/index.js';
2
+ import { Locale, MarketplaceId, SiteId } from '../enums/index.js';
3
3
  export type Scope = string[];
4
4
  export type Keyset = {
5
5
  appId: string;
@@ -9,7 +9,7 @@ export type Keyset = {
9
9
  export type RestConfig = {
10
10
  marketplaceId?: MarketplaceId | `${MarketplaceId}`;
11
11
  endUserCtx?: string;
12
- contentLanguage?: ContentLanguage | `${ContentLanguage}`;
12
+ contentLanguage?: Locale | `${Locale}`;
13
13
  acceptLanguage?: Locale | `${Locale}`;
14
14
  };
15
15
  export type TraditionalConfig = {