ebay-api 8.5.1 → 8.6.1

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 (318) hide show
  1. package/README.md +2 -2
  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 +1 -46
  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 +0 -11
  89. package/dist/eBayApi.js +0 -14
  90. package/dist/ebay-api.min.mjs +1 -1
  91. package/dist/enums/restfulEnums.d.ts +0 -5
  92. package/dist/enums/restfulEnums.js +0 -5
  93. package/dist/errors/index.d.ts +0 -19
  94. package/dist/errors/index.js +1 -21
  95. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  96. package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  97. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  98. package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  99. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  100. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  101. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  102. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  103. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  104. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  105. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  106. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  107. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  108. package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  109. package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
  110. package/dist/types/restful/specs/cancellation_oas3.js +0 -4
  111. package/dist/types/restful/specs/case_oas3.d.ts +0 -31
  112. package/dist/types/restful/specs/case_oas3.js +0 -4
  113. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  114. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  115. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  116. package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  117. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  118. package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  119. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  120. package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  121. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  122. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  123. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  124. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  125. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  126. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  127. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  128. package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  129. package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
  130. package/dist/types/restful/specs/inquiry_oas3.js +0 -4
  131. package/dist/types/restful/specs/return_oas3.d.ts +0 -130
  132. package/dist/types/restful/specs/return_oas3.js +0 -4
  133. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  134. package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
  135. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  136. package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  137. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  138. package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  139. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  140. package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  141. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  142. package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  143. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  144. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  145. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  146. package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  147. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  148. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  149. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  150. package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  151. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  152. package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  153. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  154. package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  155. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  156. package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  157. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  158. package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  159. package/dist/types/restfulTypes.d.ts +3 -0
  160. package/lib/api/apiFactory.d.ts +0 -3
  161. package/lib/api/apiFactory.js +0 -4
  162. package/lib/api/base.d.ts +0 -3
  163. package/lib/api/base.js +0 -3
  164. package/lib/api/digitalSignature.d.ts +0 -33
  165. package/lib/api/digitalSignature.js +1 -41
  166. package/lib/api/index.d.ts +0 -3
  167. package/lib/api/index.js +0 -3
  168. package/lib/api/restful/buy/browse/index.d.ts +0 -66
  169. package/lib/api/restful/buy/browse/index.js +0 -73
  170. package/lib/api/restful/buy/deal/index.d.ts +0 -32
  171. package/lib/api/restful/buy/deal/index.js +0 -32
  172. package/lib/api/restful/buy/feed/index.d.ts +0 -33
  173. package/lib/api/restful/buy/feed/index.js +0 -33
  174. package/lib/api/restful/buy/marketing/index.d.ts +0 -18
  175. package/lib/api/restful/buy/marketing/index.js +0 -22
  176. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  177. package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
  178. package/lib/api/restful/buy/offer/index.d.ts +0 -15
  179. package/lib/api/restful/buy/offer/index.js +0 -15
  180. package/lib/api/restful/buy/order/index.d.ts +0 -227
  181. package/lib/api/restful/buy/order/index.js +0 -227
  182. package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
  183. package/lib/api/restful/commerce/catalog/index.js +0 -54
  184. package/lib/api/restful/commerce/charity/index.d.ts +0 -21
  185. package/lib/api/restful/commerce/charity/index.js +0 -21
  186. package/lib/api/restful/commerce/identity/index.d.ts +0 -7
  187. package/lib/api/restful/commerce/identity/index.js +0 -7
  188. package/lib/api/restful/commerce/notification/index.d.ts +0 -93
  189. package/lib/api/restful/commerce/notification/index.js +0 -93
  190. package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
  191. package/lib/api/restful/commerce/taxonomy/index.js +0 -64
  192. package/lib/api/restful/commerce/translation/index.d.ts +0 -8
  193. package/lib/api/restful/commerce/translation/index.js +0 -8
  194. package/lib/api/restful/developer/analytics/index.d.ts +0 -15
  195. package/lib/api/restful/developer/analytics/index.js +0 -15
  196. package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
  197. package/lib/api/restful/developer/keyManagement/index.js +0 -15
  198. package/lib/api/restful/index.d.ts +0 -16
  199. package/lib/api/restful/index.js +1 -23
  200. package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
  201. package/lib/api/restful/postOrder/cancellation/index.js +1 -46
  202. package/lib/api/restful/postOrder/case/index.d.ts +0 -46
  203. package/lib/api/restful/postOrder/case/index.js +0 -46
  204. package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
  205. package/lib/api/restful/postOrder/inquiry/index.js +0 -64
  206. package/lib/api/restful/postOrder/return/index.d.ts +0 -190
  207. package/lib/api/restful/postOrder/return/index.js +0 -190
  208. package/lib/api/restful/sell/account/index.d.ts +0 -241
  209. package/lib/api/restful/sell/account/index.js +0 -241
  210. package/lib/api/restful/sell/analytics/index.d.ts +0 -26
  211. package/lib/api/restful/sell/analytics/index.js +0 -26
  212. package/lib/api/restful/sell/compliance/index.d.ts +0 -23
  213. package/lib/api/restful/sell/compliance/index.js +0 -23
  214. package/lib/api/restful/sell/feed/index.d.ts +0 -135
  215. package/lib/api/restful/sell/feed/index.js +0 -135
  216. package/lib/api/restful/sell/finances/index.d.ts +0 -51
  217. package/lib/api/restful/sell/finances/index.js +0 -51
  218. package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
  219. package/lib/api/restful/sell/fulfillment/index.js +0 -108
  220. package/lib/api/restful/sell/inventory/index.d.ts +0 -197
  221. package/lib/api/restful/sell/inventory/index.js +0 -197
  222. package/lib/api/restful/sell/listing/index.d.ts +0 -8
  223. package/lib/api/restful/sell/listing/index.js +0 -8
  224. package/lib/api/restful/sell/logistics/index.d.ts +0 -33
  225. package/lib/api/restful/sell/logistics/index.js +0 -33
  226. package/lib/api/restful/sell/marketing/index.d.ts +16 -495
  227. package/lib/api/restful/sell/marketing/index.js +48 -494
  228. package/lib/api/restful/sell/metadata/index.d.ts +0 -65
  229. package/lib/api/restful/sell/metadata/index.js +0 -65
  230. package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
  231. package/lib/api/restful/sell/negotiation/index.js +0 -14
  232. package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
  233. package/lib/api/restful/sell/recommendation/index.js +0 -15
  234. package/lib/api/traditional/XMLRequest.d.ts +0 -44
  235. package/lib/api/traditional/XMLRequest.js +0 -46
  236. package/lib/api/traditional/clientAlerts/index.js +0 -1
  237. package/lib/api/traditional/index.d.ts +0 -3
  238. package/lib/api/traditional/index.js +0 -5
  239. package/lib/api/traditional/shopping/index.js +0 -1
  240. package/lib/auth/authNAuth.d.ts +0 -5
  241. package/lib/auth/authNAuth.js +0 -5
  242. package/lib/auth/index.d.ts +0 -3
  243. package/lib/auth/index.js +0 -3
  244. package/lib/auth/oAuth2.d.ts +0 -52
  245. package/lib/auth/oAuth2.js +0 -53
  246. package/lib/eBayApi.d.ts +0 -11
  247. package/lib/eBayApi.js +0 -14
  248. package/lib/ebay-api.min.js +1 -1
  249. package/lib/enums/restfulEnums.d.ts +0 -5
  250. package/lib/enums/restfulEnums.js +0 -5
  251. package/lib/errors/index.d.ts +0 -19
  252. package/lib/errors/index.js +1 -21
  253. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  254. package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  255. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  256. package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  257. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  258. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  259. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  260. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  261. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  262. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  263. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  264. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  265. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  266. package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  267. package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
  268. package/lib/types/restful/specs/cancellation_oas3.js +0 -4
  269. package/lib/types/restful/specs/case_oas3.d.ts +0 -31
  270. package/lib/types/restful/specs/case_oas3.js +0 -4
  271. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  272. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  273. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  274. package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  275. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  276. package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  277. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  278. package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  279. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  280. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  281. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  282. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  283. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  284. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  285. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  286. package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  287. package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
  288. package/lib/types/restful/specs/inquiry_oas3.js +0 -4
  289. package/lib/types/restful/specs/return_oas3.d.ts +0 -130
  290. package/lib/types/restful/specs/return_oas3.js +0 -4
  291. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  292. package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
  293. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  294. package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  295. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  296. package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  297. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  298. package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  299. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  300. package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  301. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  302. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  303. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  304. package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  305. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  306. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  307. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  308. package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  309. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  310. package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  311. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  312. package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  313. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  314. package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  315. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  316. package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  317. package/lib/types/restfulTypes.d.ts +3 -0
  318. package/package.json +2 -2
@@ -2,298 +2,57 @@ import { PaymentsProgramType } from '../../../../enums/index.js';
2
2
  import { CustomPolicyCreateRequest, CustomPolicyRequest, FulfillmentPolicyRequest, FulfillmentSellAccountProgram, InventoryLocation, InventoryLocationFull, PaymentPolicyRequest, ReturnPolicyRequest, SalesTaxBase } from '../../../../types/index.js';
3
3
  import { operations } from '../../../../types/restful/specs/sell_account_v1_oas3.js';
4
4
  import Restful, { OpenApi } from '../../index.js';
5
- /**
6
- * The <b>Account API</b> gives sellers the ability to configure their eBay seller accounts,
7
- * including the seller's policies (the Fulfillment Policy, Payment Policy, and Return Policy),
8
- * opt in and out of eBay seller programs, configure sales tax tables, and get account information.
9
- */
10
5
  export default class Account extends Restful implements OpenApi<operations> {
11
6
  static id: string;
12
7
  get basePath(): string;
13
- /**
14
- * This method retrieves the list of custom policies specified by the <b>policy_types</b> query parameter for the selected eBay marketplace.
15
- * @param policyTypes This query parameter specifies the type of custom policies to be returned.
16
- */
17
8
  getCustomPolicies(policyTypes: string): Promise<any>;
18
- /**
19
- * This method creates a new custom policy in which a seller specifies their terms for complying with local governmental regulations.
20
- * @param body Request to create a new Custom Policy.
21
- */
22
9
  createCustomPolicy(body: CustomPolicyCreateRequest): Promise<any>;
23
- /**
24
- * This method retrieves the custom policy specified by the <b>custom_policy_id</b> path parameter for the selected eBay marketplace.
25
- * @param customPolicyId This path parameter is the unique custom policy identifier for the policy to be returned.
26
- */
27
10
  getCustomPolicy(customPolicyId: string): Promise<any>;
28
- /**
29
- * This method updates an existing custom policy specified by the <b>custom_policy_id</b> path parameter for the selected marketplace.
30
- * @param customPolicyId This path parameter is the unique custom policy identifier for the policy to be returned.
31
- * @param body Request to update a current custom policy.
32
- */
33
11
  updateCustomPolicy(customPolicyId: string, body: CustomPolicyRequest): Promise<any>;
34
- /**
35
- * This method retrieves all the fulfillment policies configured for the marketplace you specify using the
36
- * marketplace_id query parameter.
37
- *
38
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policies you want to retrieve.
39
- */
40
12
  getFulfillmentPolicies(marketplaceId: string): Promise<any>;
41
- /**
42
- * This method creates a new fulfillment policy where the policy encapsulates seller's terms for fulfilling item
43
- * purchases.
44
- *
45
- * @param body Request to create a seller account fulfillment policy.
46
- */
47
13
  createFulfillmentPolicy(body: FulfillmentPolicyRequest): Promise<any>;
48
- /**
49
- * This method updates an existing fulfillment policy.
50
- *
51
- * @param fulfillmentPolicyId This path parameter specifies the ID of the fulfillment policy you want to update.
52
- * @param body Request to create a seller account fulfillment policy.
53
- */
54
14
  updateFulfillmentPolicy(fulfillmentPolicyId: string, body: FulfillmentPolicyRequest): Promise<any>;
55
- /**
56
- * This method deletes a fulfillment policy.
57
- *
58
- * @param fulfillmentPolicyId This path parameter specifies the ID of the fulfillment policy to delete.
59
- */
60
15
  deleteFulfillmentPolicy(fulfillmentPolicyId: string): Promise<any>;
61
- /**
62
- * This method retrieves the complete details of a fulfillment policy.
63
- * Supply the ID of the policy you want to retrieve using the fulfillmentPolicyId path parameter.
64
- *
65
- * @param fulfillmentPolicyId This path parameter specifies the ID of the fulfillment policy you want to retrieve.
66
- */
67
16
  getFulfillmentPolicy(fulfillmentPolicyId: string): Promise<any>;
68
- /**
69
- * This method retrieves the complete details for a single fulfillment policy.
70
- *
71
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
72
- * @param name This query parameter specifies the user-defined name of the fulfillment policy you want to retrieve.
73
- */
74
17
  getFulfillmentPolicyByName(marketplaceId: string, name: string): Promise<any>;
75
- /**
76
- * This method retrieves all the payment policies configured for the marketplace you specify using the
77
- * marketplace_id query parameter.
78
- *
79
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
80
- */
81
18
  getPaymentPolicies(marketplaceId: string): Promise<any>;
82
- /**
83
- * This method retrieves the complete details of a payment policy. Supply the ID of the policy you want to retrieve
84
- * using the paymentPolicyId path parameter.
85
- *
86
- * @param paymentPolicyId This path parameter specifies the ID of the payment policy you want to retrieve.
87
- */
88
19
  getPaymentPolicy(paymentPolicyId: string): Promise<any>;
89
- /**
90
- * This method creates a new payment policy where the policy encapsulates seller's terms for purchase payments.
91
- *
92
- * @param body Payment policy request
93
- */
94
20
  createPaymentPolicy(body: PaymentPolicyRequest): Promise<any>;
95
- /**
96
- * This method updates an existing payment policy.
97
- *
98
- * @param paymentPolicyId This path parameter specifies the ID of the payment policy you want to update.
99
- * @param body Payment policy request
100
- */
101
21
  updatePaymentPolicy(paymentPolicyId: string, body: PaymentPolicyRequest): Promise<any>;
102
- /**
103
- * This method updates an existing payment policy.
104
- *
105
- * @param paymentPolicyId This path parameter specifies the ID of the payment policy you want to delete.
106
- */
107
22
  deletePaymentPolicy(paymentPolicyId: string): Promise<any>;
108
- /**
109
- * This method retrieves the complete details of a single payment policy.
110
- *
111
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
112
- * @param name This query parameter specifies the user-defined name of the payment policy you want to retrieve.
113
- */
114
23
  getPaymentPolicyByName(marketplaceId: string, name: string): Promise<any>;
115
- /**
116
- * This method returns whether or not the user is opted-in to the payment program.
117
- *
118
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
119
- * @param paymentsProgramType This path parameter specifies the payments program whose status is returned by the
120
- * call.
121
- */
122
24
  getPaymentsProgram(marketplaceId: string, paymentsProgramType: PaymentsProgramType | `${PaymentsProgramType}`): Promise<any>;
123
- /**
124
- * This method retrieves a seller's onboarding status of eBay managed payments for a specified marketplace.
125
- *
126
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
127
- * @param paymentsProgramType This path parameter specifies the payments program whose status is returned by the
128
- * call.
129
- */
130
25
  getPaymentsProgramOnboarding(marketplaceId: string, paymentsProgramType: PaymentsProgramType | `${PaymentsProgramType}`): Promise<any>;
131
- /**
132
- * This method retrieves the seller's current set of privileges.
133
- */
134
26
  getPrivileges(): Promise<any>;
135
- /**
136
- * This method gets a list of the seller programs that the seller has opted-in to.
137
- */
138
27
  getOptedInPrograms(): Promise<any>;
139
- /**
140
- * This method opts the seller in to an eBay seller program.
141
- *
142
- * @param body Program being opted-in to.
143
- */
144
28
  optInToProgram(body?: FulfillmentSellAccountProgram): Promise<any>;
145
- /**
146
- * This method opts the seller out of a seller program to which you have previously opted-in to.
147
- *
148
- * @param body Program being opted-out of.
149
- */
150
29
  optOutOfProgram(body?: FulfillmentSellAccountProgram): Promise<any>;
151
- /**
152
- * This method retrieves a seller's shipping rate tables for the country specified in the country_code query
153
- * parameter.
154
- *
155
- * @param countryCode This query parameter specifies the two-letter ISO 3166-1 Alpha-2 code of country for which
156
- * you want shipping-rate table information.
157
- */
158
30
  getRateTables(countryCode?: string): Promise<any>;
159
- /**
160
- * This method retrieves all the return policies configured for the marketplace you specify using the
161
- * marketplace_id query parameter.
162
- *
163
- * @param marketplaceId This query parameter specifies the ID of the eBay marketplace of the policy you want to
164
- * retrieve.
165
- */
166
31
  getReturnPolicies(marketplaceId: string): Promise<any>;
167
- /**
168
- * This method retrieves the complete details of the return policy specified by the returnPolicyId path parameter.
169
- *
170
- * @param returnPolicyId This path parameter specifies the of the return policy you want to retrieve.
171
- */
172
32
  getReturnPolicy(returnPolicyId: string): Promise<any>;
173
- /**
174
- * This method creates a new return policy where the policy encapsulates seller's terms for returning items.
175
- *
176
- * @param body Return policy request
177
- */
178
33
  createReturnPolicy(body: ReturnPolicyRequest): Promise<any>;
179
- /**
180
- * This method creates a new return policy where the policy encapsulates seller's terms for returning items.
181
- *
182
- * @param returnPolicyId This path parameter specifies the ID of the return policy you want to update.
183
- * @param body Return policy request
184
- */
185
34
  updateReturnPolicy(returnPolicyId: string, body: ReturnPolicyRequest): Promise<any>;
186
- /**
187
- * This method deletes a return policy.
188
- *
189
- * @param returnPolicyId This path parameter specifies the ID of the return policy you want to delete.
190
- */
191
35
  deleteReturnPolicy(returnPolicyId: string): Promise<any>;
192
- /**
193
- * This method retrieves the complete details of a single return policy.
194
- *
195
- * @param marketplaceId This query parameter specifies the ID of the eBay marketplace of the policy you want to
196
- * retrieve.
197
- * @param name This query parameter specifies the user-defined name of the return policy you want to retrieve.
198
- */
199
36
  getReturnPolicyByName(marketplaceId: string, name: string): Promise<any>;
200
- /**
201
- * This call gets the current tax table entry for a specific tax jurisdiction.
202
- *
203
- * @param countryCode This path parameter specifies the two-letter ISO 3166-1 Alpha-2 code for the country whose
204
- * tax table you want to retrieve.
205
- * @param jurisdictionId This path parameter specifies the ID of the sales tax jurisdiction for the tax table entry
206
- * you want to retrieve.
207
- */
208
37
  getSalesTax(countryCode: string, jurisdictionId: string): Promise<any>;
209
- /**
210
- * This method creates or updates a sales tax table entry for a jurisdiction.
211
- *
212
- * @param countryCode This path parameter specifies the two-letter ISO 3166-1 Alpha-2 code for the country for
213
- * which you want to create tax table entry.
214
- * @param jurisdictionId This path parameter specifies the ID of the sales-tax jurisdiction for the table entry you
215
- * want to create.
216
- * @param body A container that describes the how the sales tax is calculated.
217
- */
218
38
  createOrReplaceSalesTax(countryCode: string, jurisdictionId: string, body: SalesTaxBase): Promise<any>;
219
- /**
220
- * This call deletes a tax table entry for a jurisdiction.
221
- *
222
- * @param countryCode This path parameter specifies the two-letter ISO 3166-1 Alpha-2 code for the country for
223
- * which you want to create tax table entry.
224
- * @param jurisdictionId This path parameter specifies the ID of the sales-tax jurisdiction for the table entry you
225
- * want to delete.
226
- */
227
39
  deleteSalesTax(countryCode: string, jurisdictionId: string): Promise<any>;
228
- /**
229
- * Use this call to retrieve a sales tax table that the seller established for a specific country.
230
- *
231
- * @param countryCode This path parameter specifies the two-letter ISO 3166-1 Alpha-2 code for the country whose
232
- * tax table you want to retrieve.
233
- */
234
40
  getSalesTaxes(countryCode: string): Promise<any>;
235
- /**
236
- * This method retrieves a list of subscriptions associated with the seller account.
237
- * @param limit This field is for future use.
238
- * @param continuationToken This field is for future use.
239
- */
240
41
  getSubscription({ limit, continuationToken }?: {
241
42
  limit?: string;
242
43
  continuationToken?: string;
243
44
  }): Promise<any>;
244
- /**
245
- * his method is used by sellers onboarded for eBay managed payments, or sellers who are currently going through, or who are eligible for onboarding for eBay managed payments.
246
- */
247
45
  getKYC(): Promise<any>;
248
- /**
249
- * This method allows developers to check the seller eligibility status for eBay advertising programs.
250
- * @param programTypes A comma-separated list of eBay advertising programs.
251
- */
252
46
  getAdvertisingEligibility(programTypes?: string): Promise<any>;
253
- /**
254
- * This call retrieves all defined details of the inventory location that is specified by the <b>merchantLocationKey</b> path parameter.
255
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
256
- */
257
47
  getInventoryLocation(merchantLocationKey: string): Promise<any>;
258
- /**
259
- * <p>Use this call to create a new inventory location.
260
- * @param merchantLocationKey A unique, merchant-defined key (ID) for an inventory location.
261
- * @param body Inventory Location details
262
- */
263
48
  createInventoryLocation(merchantLocationKey: string, body: InventoryLocationFull): Promise<any>;
264
- /**
265
- * <p>This call deletes the inventory location that is specified in the <code>merchantLocationKey</code> path parameter.
266
- * @param merchantLocationKey
267
- */
268
49
  deleteInventoryLocation(merchantLocationKey: string): Promise<any>;
269
- /**
270
- * <p>This call disables the inventory location that is specified in the <code>merchantLocationKey</code> path parameter.
271
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
272
- */
273
50
  disableInventoryLocation(merchantLocationKey: string): Promise<any>;
274
- /**
275
- * <p>This call enables a disabled inventory location that is specified in the <code>merchantLocationKey</code> path parameter.
276
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
277
- */
278
51
  enableInventoryLocation(merchantLocationKey: string): Promise<any>;
279
- /**
280
- * This call retrieves all defined details for every inventory location associated with the seller's account.
281
- * @param limit The value passed in this query parameter sets the maximum number of records to return per page of data.
282
- * @param offset Specifies the number of locations to skip in the result set before returning the first location in the paginated response.
283
- */
284
52
  getInventoryLocations({ limit, offset }?: {
285
53
  limit?: number;
286
54
  offset?: number;
287
55
  }): Promise<any>;
288
- /**
289
- * <p>Use this call to update non-physical location details for an existing inventory location.
290
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
291
- * @param body The inventory location details to be updated (other than the address and geo co-ordinates).
292
- */
293
56
  updateInventoryLocation(merchantLocationKey: string, body: InventoryLocation): Promise<any>;
294
- /**
295
- * This method retrieves all the sales tax jurisdictions for the country that you specify in the <b>countryCode</b> path parameter.
296
- * @param countryCode This path parameter specifies the two-letter <a href="https://www.iso.org/iso-3166-country-codes.html " title="https://www.iso.org " target="_blank">ISO 3166</a> country code for the country whose jurisdictions you want to retrieve. eBay provides sales tax jurisdiction information for Canada and the United States.
297
- */
298
57
  getSalesTaxJurisdictions(countryCode: string): Promise<any>;
299
58
  }