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
@@ -1,38 +1,12 @@
1
1
  import { AddEvidencePaymentDisputeRequest, ContestPaymentDisputeRequest, IssueRefundRequest, PaymentParams, ShippingFulfillmentDetails, UpdateEvidencePaymentDisputeRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/sell_fulfillment_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * Use the Fulfillment API to complete the process of packaging, addressing, handling, and shipping each order on
6
- * behalf of the seller, in accordance with the payment method and timing specified at checkout.
7
- *
8
- * https://api.ebay.com/oauth/api_scope/sell.fulfillment
9
- * https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly
10
- *
11
- */
12
4
  export default class Fulfillment extends Restful implements OpenApi<operations> {
13
5
  static id: string;
14
6
  get basePath(): string;
15
- /**
16
- * Use this call to retrieve the contents of an order based on its unique identifier, orderId.
17
- *
18
- * @param orderId The unique identifier of the order.
19
- * @param fieldGroups The response type associated with the order. The only presently supported value is <code>TAX_BREAKDOWN</code>.
20
- */
21
7
  getOrder(orderId: string, { fieldGroups }?: {
22
8
  fieldGroups?: string[];
23
9
  }): Promise<any>;
24
- /**
25
- * Use this call to search for and retrieve one or more orders based on their creation date, last modification
26
- * date,
27
- * or fulfillment status using the filter parameter.
28
- *
29
- * @param filter One or more comma-separated criteria for narrowing down the collection of orders returned by this
30
- * call.
31
- * @param limit The number of orders to return per page of the result set.
32
- * @param offset Specifies the number of orders to skip in the result set before returning the first order in the
33
- * paginated response.
34
- * @param orderIds A comma-separated list of the unique identifiers of the orders to retrieve (maximum 50).
35
- */
36
10
  getOrders({ filter, limit, offset, orderIds, fieldGroups, }?: {
37
11
  filter?: string;
38
12
  limit?: number;
@@ -40,99 +14,17 @@ export default class Fulfillment extends Restful implements OpenApi<operations>
40
14
  orderIds?: string | string[];
41
15
  fieldGroups?: string[];
42
16
  }): Promise<any>;
43
- /**
44
- * This method allows a seller (opted in to eBay Managed Payments) to issue a full or partial refund to a buyer for
45
- * an order. auth: https://api.ebay.com/oauth/api_scope/sell.finances
46
- *
47
- * @param orderId The unique identifier of the order. Order IDs are returned in the getOrders method (and GetOrders
48
- * call of Trading API).
49
- * @param body IssueRefundRequest
50
- */
51
17
  issueRefund(orderId: string, body?: IssueRefundRequest): Promise<any>;
52
- /**
53
- * Use this call to retrieve the contents of all fulfillments currently defined for a specified order based on the
54
- * order's unique identifier, orderId.
55
- *
56
- * @param orderId The unique identifier of the order.
57
- */
58
18
  getShippingFulfillments(orderId: string): Promise<any>;
59
- /**
60
- * Create a Shipping Fulfillment
61
- *
62
- * @param orderId The unique identifier of the order.
63
- * @param body fulfillment payload
64
- */
65
19
  createShippingFulfillment(orderId: string, body: ShippingFulfillmentDetails): Promise<any>;
66
- /**
67
- * Use this call to retrieve the contents of a fulfillment based on its unique identifier, fulfillmentId (combined
68
- * with the associated order's orderId).
69
- *
70
- * @param orderId The unique identifier of the order.
71
- * @param fulfillmentId The unique identifier of the fulfillment.
72
- */
73
20
  getShippingFulfillment(orderId: string, fulfillmentId: string): Promise<any>;
74
- /**
75
- * This method retrieves detailed information on a specific payment dispute.
76
- *
77
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
78
- */
79
21
  getPaymentDispute(paymentDisputeId: string): Promise<any>;
80
- /**
81
- * This call retrieves a specific evidence file for a payment dispute.
82
- *
83
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
84
- */
85
22
  fetchEvidenceContent(paymentDisputeId: string): Promise<any>;
86
- /**
87
- * This method retrieve a log of activity for a payment dispute.
88
- *
89
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
90
- */
91
23
  getActivities(paymentDisputeId: string): Promise<any>;
92
- /**
93
- * This method is used retrieve one or more payment disputes filed against the seller.
94
- *
95
- * @param orderId This filter is used if the seller wishes to retrieve one or more payment disputes filed against a specific order.
96
- * @param buyerUsername This filter is used if the seller wishes to retrieve one or more payment disputes opened by a specific seller.
97
- * @param openDateFrom The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range.
98
- * @param paymentDisputeStatus The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range.
99
- * @param paymentDisputeStatus his filter is used if the seller wishes to only retrieve payment disputes in a specific state.
100
- * @param limit The value passed in this query parameter sets the maximum number of payment disputes to return per page of data.
101
- * @param offset This field is used to specify the number of records to skip in the result set before returning the first payment dispute in the paginated response.
102
- */
103
24
  getPaymentDisputeSummaries({ orderId: order_id, buyerUsername: buyer_username, openDateFrom: open_date_from, openDateTo: open_date_to, paymentDisputeStatus: payment_dispute_status, limit, offset }: PaymentParams): Promise<any>;
104
- /**
105
- * This method is used if the seller wishes to contest a payment dispute initiated by the buyer.
106
- *
107
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
108
- * @param body This is the unique identifier of the payment dispute.
109
- */
110
25
  contestPaymentDispute(paymentDisputeId: string, body: ContestPaymentDisputeRequest): Promise<any>;
111
- /**
112
- * This method is used if the seller wishes to accept a payment dispute.
113
- *
114
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
115
- */
116
26
  acceptPaymentDispute(paymentDisputeId: string): Promise<any>;
117
- /**
118
- * This method is used to upload an evidence file for a contested payment dispute.
119
- *
120
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
121
- * @param data uploads an encrypted, binary image file (using multipart/form-data HTTP request header)
122
- */
123
27
  uploadEvidenceFile(paymentDisputeId: string, data: any): Promise<any>;
124
- /**
125
- * This method is used by the seller to add one or more evidence files to address a payment dispute initiated by the buyer.
126
- *
127
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
128
- * @param body AddEvidencePaymentDisputeRequest
129
- */
130
28
  addEvidence(paymentDisputeId: string, body: AddEvidencePaymentDisputeRequest): Promise<any>;
131
- /**
132
- * This method is used by the seller to update an existing evidence set for a payment dispute with one or more evidence files.
133
- *
134
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
135
- * @param body AddEvidencePaymentDisputeRequest
136
- */
137
29
  updateEvidence(paymentDisputeId: string, body: UpdateEvidencePaymentDisputeRequest): Promise<any>;
138
30
  }
@@ -1,23 +1,9 @@
1
1
  import { multipartHeader } from '../../../../request.js';
2
2
  import Restful from '../../index.js';
3
- /**
4
- * Use the Fulfillment API to complete the process of packaging, addressing, handling, and shipping each order on
5
- * behalf of the seller, in accordance with the payment method and timing specified at checkout.
6
- *
7
- * https://api.ebay.com/oauth/api_scope/sell.fulfillment
8
- * https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly
9
- *
10
- */
11
3
  class Fulfillment extends Restful {
12
4
  get basePath() {
13
5
  return '/sell/fulfillment/v1';
14
6
  }
15
- /**
16
- * Use this call to retrieve the contents of an order based on its unique identifier, orderId.
17
- *
18
- * @param orderId The unique identifier of the order.
19
- * @param fieldGroups The response type associated with the order. The only presently supported value is <code>TAX_BREAKDOWN</code>.
20
- */
21
7
  getOrder(orderId, { fieldGroups } = {}) {
22
8
  return this.get(`/order/${orderId}`, {
23
9
  params: {
@@ -25,18 +11,6 @@ class Fulfillment extends Restful {
25
11
  }
26
12
  });
27
13
  }
28
- /**
29
- * Use this call to search for and retrieve one or more orders based on their creation date, last modification
30
- * date,
31
- * or fulfillment status using the filter parameter.
32
- *
33
- * @param filter One or more comma-separated criteria for narrowing down the collection of orders returned by this
34
- * call.
35
- * @param limit The number of orders to return per page of the result set.
36
- * @param offset Specifies the number of orders to skip in the result set before returning the first order in the
37
- * paginated response.
38
- * @param orderIds A comma-separated list of the unique identifiers of the orders to retrieve (maximum 50).
39
- */
40
14
  getOrders({ filter, limit, offset, orderIds, fieldGroups, } = {}) {
41
15
  return this.get(`/order`, {
42
16
  params: {
@@ -48,85 +22,32 @@ class Fulfillment extends Restful {
48
22
  },
49
23
  });
50
24
  }
51
- /**
52
- * This method allows a seller (opted in to eBay Managed Payments) to issue a full or partial refund to a buyer for
53
- * an order. auth: https://api.ebay.com/oauth/api_scope/sell.finances
54
- *
55
- * @param orderId The unique identifier of the order. Order IDs are returned in the getOrders method (and GetOrders
56
- * call of Trading API).
57
- * @param body IssueRefundRequest
58
- */
59
25
  issueRefund(orderId, body) {
60
26
  orderId = encodeURIComponent(orderId);
61
27
  return this.post(`/order/${orderId}/issue_refund`, body);
62
28
  }
63
- /**
64
- * Use this call to retrieve the contents of all fulfillments currently defined for a specified order based on the
65
- * order's unique identifier, orderId.
66
- *
67
- * @param orderId The unique identifier of the order.
68
- */
69
29
  getShippingFulfillments(orderId) {
70
30
  orderId = encodeURIComponent(orderId);
71
31
  return this.get(`/order/${orderId}/shipping_fulfillment`);
72
32
  }
73
- /**
74
- * Create a Shipping Fulfillment
75
- *
76
- * @param orderId The unique identifier of the order.
77
- * @param body fulfillment payload
78
- */
79
33
  createShippingFulfillment(orderId, body) {
80
34
  orderId = encodeURIComponent(orderId);
81
35
  return this.post(`/order/${orderId}/shipping_fulfillment`, body);
82
36
  }
83
- /**
84
- * Use this call to retrieve the contents of a fulfillment based on its unique identifier, fulfillmentId (combined
85
- * with the associated order's orderId).
86
- *
87
- * @param orderId The unique identifier of the order.
88
- * @param fulfillmentId The unique identifier of the fulfillment.
89
- */
90
37
  getShippingFulfillment(orderId, fulfillmentId) {
91
38
  orderId = encodeURIComponent(orderId);
92
39
  fulfillmentId = encodeURIComponent(fulfillmentId);
93
40
  return this.get(`/order/${orderId}/shipping_fulfillment/${fulfillmentId}`);
94
41
  }
95
- /**
96
- * This method retrieves detailed information on a specific payment dispute.
97
- *
98
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
99
- */
100
42
  getPaymentDispute(paymentDisputeId) {
101
43
  return this.get(`/payment_dispute/${paymentDisputeId}`);
102
44
  }
103
- /**
104
- * This call retrieves a specific evidence file for a payment dispute.
105
- *
106
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
107
- */
108
45
  fetchEvidenceContent(paymentDisputeId) {
109
46
  return this.get(`/payment_dispute/${paymentDisputeId}/fetch_evidence_content`);
110
47
  }
111
- /**
112
- * This method retrieve a log of activity for a payment dispute.
113
- *
114
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
115
- */
116
48
  getActivities(paymentDisputeId) {
117
49
  return this.get(`/payment_dispute/${paymentDisputeId}/activity`);
118
50
  }
119
- /**
120
- * This method is used retrieve one or more payment disputes filed against the seller.
121
- *
122
- * @param orderId This filter is used if the seller wishes to retrieve one or more payment disputes filed against a specific order.
123
- * @param buyerUsername This filter is used if the seller wishes to retrieve one or more payment disputes opened by a specific seller.
124
- * @param openDateFrom The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range.
125
- * @param paymentDisputeStatus The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range.
126
- * @param paymentDisputeStatus his filter is used if the seller wishes to only retrieve payment disputes in a specific state.
127
- * @param limit The value passed in this query parameter sets the maximum number of payment disputes to return per page of data.
128
- * @param offset This field is used to specify the number of records to skip in the result set before returning the first payment dispute in the paginated response.
129
- */
130
51
  getPaymentDisputeSummaries({ orderId: order_id, buyerUsername: buyer_username, openDateFrom: open_date_from, openDateTo: open_date_to, paymentDisputeStatus: payment_dispute_status, limit, offset }) {
131
52
  return this.get(`/payment_dispute_summary`, {
132
53
  params: {
@@ -140,29 +61,12 @@ class Fulfillment extends Restful {
140
61
  }
141
62
  });
142
63
  }
143
- /**
144
- * This method is used if the seller wishes to contest a payment dispute initiated by the buyer.
145
- *
146
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
147
- * @param body This is the unique identifier of the payment dispute.
148
- */
149
64
  contestPaymentDispute(paymentDisputeId, body) {
150
65
  return this.post(`/payment_dispute/${paymentDisputeId}/contest`, body);
151
66
  }
152
- /**
153
- * This method is used if the seller wishes to accept a payment dispute.
154
- *
155
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
156
- */
157
67
  acceptPaymentDispute(paymentDisputeId) {
158
68
  return this.post(`/payment_dispute/${paymentDisputeId}/accept`);
159
69
  }
160
- /**
161
- * This method is used to upload an evidence file for a contested payment dispute.
162
- *
163
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
164
- * @param data uploads an encrypted, binary image file (using multipart/form-data HTTP request header)
165
- */
166
70
  uploadEvidenceFile(paymentDisputeId, data) {
167
71
  return this.post(`/payment_dispute/${paymentDisputeId}/upload_evidence_file`, data, {
168
72
  headers: {
@@ -170,21 +74,9 @@ class Fulfillment extends Restful {
170
74
  }
171
75
  });
172
76
  }
173
- /**
174
- * This method is used by the seller to add one or more evidence files to address a payment dispute initiated by the buyer.
175
- *
176
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
177
- * @param body AddEvidencePaymentDisputeRequest
178
- */
179
77
  addEvidence(paymentDisputeId, body) {
180
78
  return this.post(`/payment_dispute/${paymentDisputeId}/add_evidence`, body);
181
79
  }
182
- /**
183
- * This method is used by the seller to update an existing evidence set for a payment dispute with one or more evidence files.
184
- *
185
- * @param paymentDisputeId This is the unique identifier of the payment dispute.
186
- * @param body AddEvidencePaymentDisputeRequest
187
- */
188
80
  updateEvidence(paymentDisputeId, body) {
189
81
  return this.post(`/payment_dispute/${paymentDisputeId}/update_evidence`, body);
190
82
  }
@@ -1,150 +1,32 @@
1
1
  import { BulkEbayOfferDetailsWithKeys, BulkInventoryItem, BulkMigrateListing, BulkOffer, BulkPriceQuantity, Compatibility, EbayOfferDetailsWithId, EbayOfferDetailsWithKeys, InventoryItem, InventoryItemGroup, InventoryLocation, InventoryLocationFull, OfferKeysWithId, PublishByInventoryItemGroupRequest, WithdrawByInventoryItemGroupRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/sell_inventory_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * The Inventory API is used to create and manage inventory, and then to publish and manage this inventory on an eBay
6
- * marketplace.
7
- */
8
4
  export default class Inventory extends Restful implements OpenApi<operations> {
9
5
  static id: string;
10
6
  get basePath(): string;
11
- /**
12
- * This call retrieves all defined details of the inventory location that is specified by the
13
- * <b>merchantLocationKey</b> path parameter.
14
- *
15
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
16
- */
17
7
  getInventoryLocation(merchantLocationKey: string): Promise<any>;
18
- /**
19
- * <p>This call disables the inventory location that is specified in the <code>merchantLocationKey</code> path
20
- * parameter.
21
- *
22
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
23
- */
24
8
  disableInventoryLocation(merchantLocationKey: string): Promise<any>;
25
- /**
26
- * <p>This call enables a disabled inventory location that is specified in the <code>merchantLocationKey</code>
27
- * path parameter.
28
- *
29
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
30
- */
31
9
  enableInventoryLocation(merchantLocationKey: string): Promise<any>;
32
- /**
33
- * This call retrieves all defined details for every inventory location associated with the seller's account.
34
- *
35
- * @param limit The value passed in this query parameter sets the maximum number of records to return per page of
36
- * data.
37
- * @param offset The value passed in this query parameter sets the page number to retrieve.
38
- */
39
10
  getInventoryLocations({ limit, offset, }?: {
40
11
  limit?: number;
41
12
  offset?: number;
42
13
  }): Promise<any>;
43
- /**
44
- * <p>Use this call to create a new inventory location.
45
- *
46
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
47
- * @param body Inventory Location details
48
- */
49
14
  createInventoryLocation(merchantLocationKey: string, body: InventoryLocationFull): Promise<any>;
50
- /**
51
- * <p>This call deletes the inventory location that is specified in the <code>merchantLocationKey</code> path
52
- * parameter.
53
- *
54
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
55
- */
56
15
  deleteInventoryLocation(merchantLocationKey: string): Promise<any>;
57
- /**
58
- * <p>Use this call to update non-physical location details for an existing inventory location.
59
- *
60
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
61
- * @param body The inventory location details to be updated (other than the address and geo co-ordinates).
62
- */
63
16
  updateInventoryLocation(merchantLocationKey: string, body?: InventoryLocation): Promise<any>;
64
- /**
65
- * This call retrieves the inventory item record for a given SKU.
66
- *
67
- * @param sku his is the seller-defined SKU value of the product whose inventory item record you wish to
68
- * retrieve.<br/><br/><strong>Max length</strong>: 50.
69
- */
70
17
  getInventoryItem(sku: string): Promise<any>;
71
- /**
72
- * This call creates a new inventory item record or replaces an existing inventory item record.
73
- *
74
- * @param sku The seller-defined SKU value for the inventory item is required whether the seller is creating a new
75
- * inventory item, or updating an existing inventory item.
76
- * @param body Details of the inventory item record.
77
- */
78
18
  createOrReplaceInventoryItem(sku: string, body: InventoryItem): Promise<any>;
79
- /**
80
- * This call is used to delete an inventory item record associated with a specified SKU.
81
- *
82
- * @param sku The seller-defined SKU value for the inventory item is required whether the seller is creating a new
83
- * inventory item, or updating an existing inventory item.
84
- */
85
19
  deleteInventoryItem(sku: string): Promise<any>;
86
- /**
87
- * This call retrieves all inventory item records defined for the seller's account.
88
- *
89
- * @param limit The value passed in this query parameter sets the maximum number of records to return per page of
90
- * data.
91
- * @param offset The value passed in this query parameter sets the page number to retrieve.
92
- */
93
20
  getInventoryItems({ limit, offset, }?: {
94
21
  limit?: number;
95
22
  offset?: number;
96
23
  }): Promise<any>;
97
- /**
98
- * This call is used by the seller to update the total ship-to-home quantity of one inventory item,
99
- * and/or to update the price and/or quantity of one or more offers associated with one inventory item.
100
- *
101
- * @param body BulkPriceQuantity
102
- */
103
24
  bulkUpdatePriceQuantity(body: BulkPriceQuantity): Promise<any>;
104
- /**
105
- * This call can be used to create and/or update up to 25 new inventory item records.
106
- *
107
- * @param body BulkInventoryItem
108
- */
109
25
  bulkCreateOrReplaceInventoryItem(body: BulkInventoryItem): Promise<any>;
110
- /**
111
- * This call retrieves up to 25 inventory item records. The SKU value of each inventory item record to retrieve is
112
- * specified in the request payload.
113
- *
114
- * @param body BulkInventoryItem
115
- */
116
26
  bulkGetInventoryItem(body: BulkInventoryItem): Promise<any>;
117
- /**
118
- * This call is used by the seller to retrieve the list of products that are compatible with the inventory item.
119
- *
120
- * @param sku A SKU (stock keeping unit) is an unique identifier defined by a seller for a product
121
- */
122
27
  getProductCompatibility(sku: string): Promise<any>;
123
- /**
124
- * This call is used by the seller to create or replace a list of products that are compatible with the inventory
125
- * item.
126
- *
127
- * @param sku A SKU (stock keeping unit) is an unique identifier defined by a seller for a product
128
- * @param body Details of the compatibility
129
- */
130
28
  createOrReplaceProductCompatibility(sku: string, body: Compatibility): Promise<any>;
131
- /**
132
- * This call is used by the seller to delete the list of products that are compatible with the inventory item that
133
- * is associated with the compatible product list.
134
- *
135
- * @param sku A SKU (stock keeping unit) is an unique identifier defined by a seller for a product
136
- */
137
29
  deleteProductCompatibility(sku: string): Promise<any>;
138
- /**
139
- * This call retrieves all existing offers for the specified SKU value.
140
- *
141
- * @param sku The seller-defined SKU value is passed in as a query parameter.
142
- * @param marketplace_id The unique identifier of the eBay marketplace.
143
- * @param format This enumeration value sets the listing format for the offer.
144
- * @param limit The value passed in this query parameter sets the maximum number of records to return per page of
145
- * data.
146
- * @param offset The value passed in this query parameter sets the page number to retrieve.
147
- */
148
30
  getOffers({ sku, marketplaceId, format, limit, offset, }?: {
149
31
  sku?: string;
150
32
  marketplaceId?: string;
@@ -152,98 +34,19 @@ export default class Inventory extends Restful implements OpenApi<operations> {
152
34
  limit?: number;
153
35
  offset?: number;
154
36
  }): Promise<any>;
155
- /**
156
- * This call retrieves a specific published or unpublished offer.
157
- *
158
- * @param offerId The unique identifier of the offer that is to be retrieved.
159
- */
160
37
  getOffer(offerId: string): Promise<any>;
161
- /**
162
- * This call creates an offer for a specific inventory item on a specific eBay marketplace.
163
- *
164
- * @param body Details of the offer for the channel
165
- */
166
38
  createOffer(body: EbayOfferDetailsWithKeys): Promise<any>;
167
- /**
168
- * This call updates an existing offer.
169
- *
170
- * @param offerId The unique identifier of the offer that is being updated.
171
- * @param body Details of the offer for the channel
172
- */
173
39
  updateOffer(offerId: string, body: EbayOfferDetailsWithId): Promise<any>;
174
- /**
175
- * If used against an unpublished offer, this call will permanently delete that offer.
176
- *
177
- * @param offerId The unique identifier of the offer to delete.
178
- */
179
40
  deleteOffer(offerId: string): Promise<any>;
180
- /**
181
- * This call is used to convert an unpublished offer into a published offer, or live eBay listing.
182
- *
183
- * @param offerId The unique identifier of the offer that is to be published.
184
- */
185
41
  publishOffer(offerId: string): Promise<any>;
186
- /**
187
- * This call is used to convert all unpublished offers associated with an inventory item group into an active,
188
- * multiple-variation listing.
189
- *
190
- * @param body PublishByInventoryItemGroupRequest
191
- */
192
42
  publishOfferByInventoryItemGroup(body: PublishByInventoryItemGroupRequest): Promise<any>;
193
- /**
194
- * This call is used to end a multiple-variation eBay listing that is associated with the specified inventory item
195
- * group.
196
- *
197
- * @param body WithdrawByInventoryItemGroupRequest
198
- */
199
43
  withdrawOfferByInventoryItemGroup(body: WithdrawByInventoryItemGroupRequest): Promise<any>;
200
- /**
201
- * This call is used to retrieve the expected listing fees for up to 250 unpublished offers.
202
- *
203
- * @param body OfferKeysWithId
204
- */
205
44
  getListingFees(body: OfferKeysWithId): Promise<any>;
206
- /**
207
- * This call creates multiple offers (up to 25) for specific inventory items on a specific eBay marketplace.
208
- *
209
- * @param body BulkEbayOfferDetailsWithKeys
210
- */
211
45
  bulkCreateOffer(body: BulkEbayOfferDetailsWithKeys): Promise<any>;
212
- /**
213
- * This call is used to convert unpublished offers (up to 25) into published offers, or live eBay listings.
214
- *
215
- * @param body BulkOffer
216
- */
217
46
  bulkPublishOffer(body: BulkOffer): Promise<any>;
218
- /**
219
- * This call is used to end a single-variation listing that is associated with the specified offer.
220
- *
221
- * @param offerId he unique identifier of the offer that is to be withdrawn.
222
- */
223
47
  withdrawOffer(offerId: string): Promise<any>;
224
- /**
225
- * This call retrieves the inventory item group for a given <strong>inventoryItemGroupKey</strong> value.
226
- *
227
- * @param inventoryItemGroupKey The unique identifier of an inventory item group.
228
- */
229
48
  getInventoryItemGroup(inventoryItemGroupKey: string): Promise<any>;
230
- /**
231
- * This call creates a new inventory item group or updates an existing inventory item group.
232
- *
233
- * @param inventoryItemGroupKey Unique identifier of the inventory item group.
234
- * @param body Details of the inventory Item Group
235
- */
236
49
  createOrReplaceInventoryItemGroup(inventoryItemGroupKey: string, body: InventoryItemGroup): Promise<any>;
237
- /**
238
- * This call deletes the inventory item group for a given <strong>inventoryItemGroupKey</strong> value.
239
- *
240
- * @param inventoryItemGroupKey Unique identifier of the inventory item group.
241
- */
242
50
  deleteInventoryItemGroup(inventoryItemGroupKey: string): Promise<any>;
243
- /**
244
- * This call is used to convert existing eBay Listings to the corresponding Inventory API objects.
245
- *
246
- * @param body BulkMigrateListing
247
- */
248
51
  bulkMigrateListing(body: BulkMigrateListing): Promise<any>;
249
52
  }