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
@@ -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 Return API
9
- */
10
7
  class Return extends index_js_1.default {
11
8
  get basePath() {
12
9
  return '/post-order/v2';
@@ -14,22 +11,10 @@ class Return extends index_js_1.default {
14
11
  get useIaf() {
15
12
  return true;
16
13
  }
17
- /**
18
- * Create or update a shipping label provided by the seller.
19
- *
20
- * @param returnId The unique eBay-assigned ID of the return.
21
- * @param payload the ProvideLabelRequest
22
- */
23
14
  addShippingLabelInfo(returnId, payload) {
24
15
  const id = encodeURIComponent(returnId);
25
16
  return this.post(`/return/${id}/add_shipping_label`, payload);
26
17
  }
27
- /**
28
- * Cancel a return request.
29
- *
30
- * @param returnId The unique eBay-assigned ID of the return request.
31
- * @param payload The CloseReturnRequest.
32
- */
33
18
  cancelReturnRequest(returnId, payload) {
34
19
  const id = encodeURIComponent(returnId);
35
20
  if (payload && payload.buyerCloseReason) {
@@ -37,37 +22,16 @@ class Return extends index_js_1.default {
37
22
  }
38
23
  return this.post(`/return/${id}/cancel`, payload);
39
24
  }
40
- /**
41
- * Check to see if an item is eligible for a return.
42
- *
43
- * @param payload the CheckEligibilityRequest
44
- */
45
25
  checkReturnEligibility(payload) {
46
26
  return this.post(`/return/check_eligibility`, payload);
47
27
  }
48
- /**
49
- * Validate the eligibility of an existing shipping label.
50
- *
51
- * @param returnId The unique eBay-assigned ID of the return.
52
- */
53
28
  checkShippingLabelEligibility(returnId) {
54
29
  const id = encodeURIComponent(returnId);
55
30
  return this.get(`/return/${id}/check_label_print_eligibility`);
56
31
  }
57
- /**
58
- * Create a return draft.
59
- *
60
- * @param payload the SetReturnCreationSessionRequest
61
- */
62
32
  createReturnDraft(payload) {
63
33
  return this.post(`/return/draft`, payload);
64
34
  }
65
- /**
66
- * Request a return for an item.
67
- *
68
- * @param payload the CreateReturnRequest
69
- * @param fieldGroups can be used in the call URI to control the detail level that is returned in response.
70
- */
71
35
  createReturnRequest(payload, fieldGroups) {
72
36
  return this.post(`/return`, payload, {
73
37
  params: {
@@ -75,42 +39,19 @@ class Return extends index_js_1.default {
75
39
  }
76
40
  });
77
41
  }
78
- /**
79
- * Create an eBay shipping label for the buyer.
80
- *
81
- * @param returnId The unique eBay-assigned ID of the return.
82
- */
83
42
  createReturnShippingLabel(returnId) {
84
43
  const id = encodeURIComponent(returnId);
85
44
  return this.post(`/return/${id}/initiate_shipping_label`);
86
45
  }
87
- /**
88
- * Delete a file associated with a return draft.
89
- *
90
- * @param draftId The unique eBay-assigned ID of the return draft.
91
- * @param fileId The unique eBay-assigned ID of the draft file.
92
- */
93
46
  deleteReturnDraftFile(draftId, fileId) {
94
47
  draftId = encodeURIComponent(draftId);
95
48
  fileId = encodeURIComponent(fileId);
96
49
  return this.delete(`/return/draft/${draftId}/file/${fileId}`);
97
50
  }
98
- /**
99
- * Escalate an existing return to eBay customer support.
100
- *
101
- * @param returnId The unique eBay-assigned ID of the return request.
102
- * @param payload the EscalateRequest
103
- */
104
51
  escalateReturn(returnId, payload) {
105
52
  const id = encodeURIComponent(returnId);
106
53
  return this.post(`/return/${id}/escalate`, payload);
107
54
  }
108
- /**
109
- * Retrieve the details of a specific return.
110
- *
111
- * @param returnId The unique eBay-assigned ID of the return request.
112
- * @param fieldGroups can be used in the call URI to control the detail level that is returned in response.
113
- */
114
55
  getReturn(returnId, fieldGroups) {
115
56
  returnId = encodeURIComponent(returnId);
116
57
  return this.get(`/return/${returnId}`, {
@@ -119,63 +60,28 @@ class Return extends index_js_1.default {
119
60
  }
120
61
  });
121
62
  }
122
- /**
123
- * Retrieve a return draft.
124
- *
125
- * @param returnId The unique eBay-assigned ID of the return request.
126
- */
127
63
  getReturnDraft(returnId) {
128
64
  const id = encodeURIComponent(returnId);
129
65
  return this.get(`/return/draft/${id}`);
130
66
  }
131
- /**
132
- * Retrieve the files associated with a return draft.
133
- *
134
- * @param returnId The unique eBay-assigned ID of the return draft.
135
- */
136
67
  getReturnDraftFiles(returnId) {
137
68
  const id = encodeURIComponent(returnId);
138
69
  return this.get(`/return/draft/${id}/files`);
139
70
  }
140
- /**
141
- * Retrieve the cost estimate of a refund with its shipping cost.
142
- *
143
- * @param payload the GetEstimateRequest
144
- */
145
71
  getReturnEstimate(payload) {
146
72
  return this.post(`/return/estimate`, payload);
147
73
  }
148
- /**
149
- * Retrieve the cost estimate of a refund with its shipping cost.
150
- *
151
- * @param returnId The unique eBay-assigned ID of the return.
152
- */
153
74
  getReturnFiles(returnId) {
154
75
  const id = encodeURIComponent(returnId);
155
76
  return this.get(`/return/${id}/files`);
156
77
  }
157
- /**
158
- * Retrieve seller's return preferences.
159
- */
160
78
  getReturnPreferences() {
161
79
  return this.get(`/return/preference`);
162
80
  }
163
- /**
164
- * Retrieve the data for an existing shipping label.
165
- *
166
- * @param returnId The unique eBay-assigned ID of the return.
167
- */
168
81
  getReturnShippingLabel(returnId) {
169
82
  returnId = encodeURIComponent(returnId);
170
83
  return this.get(`/return/${returnId}/get_shipping_label`);
171
84
  }
172
- /**
173
- * Retrieve shipment tracking activity for a return.
174
- *
175
- * @param returnId The unique eBay-assigned ID of the return.
176
- * @param carrierUsed The shipping carrier used to to ship the package.
177
- * @param trackingNumber The tracking number of the package.
178
- */
179
85
  getShipmentTrackingInfo(returnId, carrierUsed, trackingNumber) {
180
86
  returnId = encodeURIComponent(returnId);
181
87
  return this.get(`/return/${returnId}/tracking`, {
@@ -185,91 +91,39 @@ class Return extends index_js_1.default {
185
91
  }
186
92
  });
187
93
  }
188
- /**
189
- * Issue a refund.
190
- *
191
- * @param returnId The unique eBay-assigned ID of the return.
192
- * @param payload The IssueRefundRequest.
193
- */
194
94
  issueReturnRefund(returnId, payload) {
195
95
  returnId = encodeURIComponent(returnId);
196
96
  return this.post(`/return/${returnId}/issue_refund`, payload);
197
97
  }
198
- /**
199
- * Mark a returned item as received.
200
- *
201
- * @param returnId The unique eBay-assigned ID of the return.
202
- * @param payload the MarkAsReceivedRequest
203
- */
204
98
  markReturnReceived(returnId, payload) {
205
99
  returnId = encodeURIComponent(returnId);
206
100
  return this.post(`/return/${returnId}/mark_as_received`, payload);
207
101
  }
208
- /**
209
- * Mark a refund as received.
210
- *
211
- * @param returnId The unique eBay-assigned ID of the return.
212
- */
213
102
  markReturnRefundReceived(returnId) {
214
103
  returnId = encodeURIComponent(returnId);
215
104
  return this.post(`/return/${returnId}/mark_refund_received`);
216
105
  }
217
- /**
218
- * Notify the buyer that a refund has been issued.
219
- *
220
- * @param returnId The unique eBay-assigned ID of the return.
221
- * @param payload the MarkRefundSentRequest
222
- */
223
106
  markReturnRefundSent(returnId, payload) {
224
107
  returnId = encodeURIComponent(returnId);
225
108
  return this.post(`/return/${returnId}/mark_refund_sent`, payload);
226
109
  }
227
- /**
228
- * Mark a return as shipped.
229
- *
230
- * @param returnId The unique eBay-assigned ID of the return.
231
- * @param payload the MarkAsShippedRequest
232
- */
233
110
  markReturnShipped(returnId, payload) {
234
111
  returnId = encodeURIComponent(returnId);
235
112
  return this.post(`/return/${returnId}/mark_as_shipped`, payload);
236
113
  }
237
- /**
238
- * Perform an action on a return, such as APPROVE.
239
- *
240
- * @param returnId The unique eBay-assigned ID of the return.
241
- * @param payload the DecideReturnRequest
242
- */
243
114
  processReturnRequest(returnId, payload) {
244
115
  returnId = encodeURIComponent(returnId);
245
116
  return this.post(`/return/${returnId}/decide`, payload);
246
117
  }
247
- /**
248
- * Retrieve details on items being returned.
249
- *
250
- * @param params the SearchReturnParams
251
- */
252
118
  search(params) {
253
119
  return this.get(`/return/search`, {
254
120
  params
255
121
  });
256
122
  }
257
- /**
258
- * Send a message to the buyer or seller regarding a return.
259
- *
260
- * @param returnId The unique eBay-assigned ID of the return.
261
- * @param payload the SendMessageRequest
262
- */
263
123
  sendReturnMessage(returnId, payload) {
264
124
  returnId = encodeURIComponent(returnId);
265
125
  return this.post(`/return/${returnId}/send_message`, payload);
266
126
  }
267
- /**
268
- * Send a shipping label to an email address.
269
- *
270
- * @param returnId The unique eBay-assigned ID of the return.
271
- * @param toEmailAddress The recipient's email address is specified in this field.
272
- */
273
127
  sendReturnShippingLabel(returnId, toEmailAddress) {
274
128
  returnId = encodeURIComponent(returnId);
275
129
  return this.post(`/return/${returnId}/send_shipping_label`, {}, {
@@ -278,79 +132,35 @@ class Return extends index_js_1.default {
278
132
  }
279
133
  });
280
134
  }
281
- /**
282
- * Send a shipping label to an email address.
283
- *
284
- * @param rmaRequired This field is included and set to true if the seller wishes to require that the buyer provide
285
- * a Return Merchandise Authorization (RMA) when returning an item.
286
- */
287
135
  setReturnPreferences(rmaRequired) {
288
136
  return this.post(`/return/preference`, {
289
137
  rmaRequired
290
138
  });
291
139
  }
292
- /**
293
- * Activate the files associated with a return.
294
- *
295
- * @param returnId The unique eBay-assigned ID of the return.
296
- * @param filePurpose This value is used to indicate if the file(s) are being used to provide more information
297
- * about the condition of the item, or intended to provide more information about shipment tracking or about
298
- * the shipping label.
299
- */
300
140
  submitReturnFile(returnId, filePurpose) {
301
141
  returnId = encodeURIComponent(returnId);
302
142
  return this.post(`/return/${returnId}/file/submit`, {
303
143
  filePurpose
304
144
  });
305
145
  }
306
- /**
307
- * Update an existing return draft.
308
- *
309
- * @param draftId The unique eBay-assigned ID of the return draft.
310
- * @param returnRequest the ReturnRequestType
311
- */
312
146
  updateReturnDraft(draftId, returnRequest) {
313
147
  draftId = encodeURIComponent(draftId);
314
148
  return this.put(`/return/draft/${draftId}`, {
315
149
  returnRequest
316
150
  });
317
151
  }
318
- /**
319
- * Update shipment tracking information.
320
- *
321
- * @param returnId The unique eBay-assigned ID of the return request.
322
- * @param payload the UpdateTrackingRequest
323
- */
324
152
  updateShipmentTrackingInfo(returnId, payload) {
325
153
  returnId = encodeURIComponent(returnId);
326
154
  return this.put(`/return/${returnId}/update_tracking`, payload);
327
155
  }
328
- /**
329
- * Upload the files relating to a return draft.
330
- *
331
- * @param draftId The unique eBay-assigned ID of the return draft.
332
- * @param payload the UploadFileRequest
333
- */
334
156
  uploadReturnDraftFile(draftId, payload) {
335
157
  draftId = encodeURIComponent(draftId);
336
158
  return this.post(`/return/draft/${draftId}/file/upload`, payload);
337
159
  }
338
- /**
339
- * Upload the files relating to a return.
340
- *
341
- * @param returnId The unique eBay-assigned ID of the return.
342
- * @param payload the UploadFileRequest
343
- */
344
160
  uploadReturnFile(returnId, payload) {
345
161
  returnId = encodeURIComponent(returnId);
346
162
  return this.post(`/return/${returnId}/file/upload`, payload);
347
163
  }
348
- /**
349
- * Void a shipping label.
350
- *
351
- * @param returnId The unique eBay-assigned ID of the return.
352
- * @param payload the VoidLabelRequest
353
- */
354
164
  voidShippingLabel(returnId, payload) {
355
165
  returnId = encodeURIComponent(returnId);
356
166
  return this.post(`/return/${returnId}/void_shipping_label`, payload);
@@ -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
  }