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,19 +4,10 @@ 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
- * The <b>Account API</b> gives sellers the ability to configure their eBay seller accounts,
9
- * including the seller's policies (the Fulfillment Policy, Payment Policy, and Return Policy),
10
- * opt in and out of eBay seller programs, configure sales tax tables, and get account information.
11
- */
12
7
  class Account extends index_js_1.default {
13
8
  get basePath() {
14
9
  return '/sell/account/v1';
15
10
  }
16
- /**
17
- * This method retrieves the list of custom policies specified by the <b>policy_types</b> query parameter for the selected eBay marketplace.
18
- * @param policyTypes This query parameter specifies the type of custom policies to be returned.
19
- */
20
11
  getCustomPolicies(policyTypes) {
21
12
  return this.get(`/custom_policy/`, {
22
13
  params: {
@@ -24,36 +15,17 @@ class Account extends index_js_1.default {
24
15
  }
25
16
  });
26
17
  }
27
- /**
28
- * This method creates a new custom policy in which a seller specifies their terms for complying with local governmental regulations.
29
- * @param body Request to create a new Custom Policy.
30
- */
31
18
  createCustomPolicy(body) {
32
19
  return this.post(`/custom_policy/`, body);
33
20
  }
34
- /**
35
- * This method retrieves the custom policy specified by the <b>custom_policy_id</b> path parameter for the selected eBay marketplace.
36
- * @param customPolicyId This path parameter is the unique custom policy identifier for the policy to be returned.
37
- */
38
21
  getCustomPolicy(customPolicyId) {
39
22
  customPolicyId = encodeURIComponent(customPolicyId);
40
23
  return this.get(`/custom_policy/${customPolicyId}`);
41
24
  }
42
- /**
43
- * This method updates an existing custom policy specified by the <b>custom_policy_id</b> path parameter for the selected marketplace.
44
- * @param customPolicyId This path parameter is the unique custom policy identifier for the policy to be returned.
45
- * @param body Request to update a current custom policy.
46
- */
47
25
  updateCustomPolicy(customPolicyId, body) {
48
26
  customPolicyId = encodeURIComponent(customPolicyId);
49
27
  return this.put(`/custom_policy/${customPolicyId}`, body);
50
28
  }
51
- /**
52
- * This method retrieves all the fulfillment policies configured for the marketplace you specify using the
53
- * marketplace_id query parameter.
54
- *
55
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policies you want to retrieve.
56
- */
57
29
  getFulfillmentPolicies(marketplaceId) {
58
30
  return this.get(`/fulfillment_policy`, {
59
31
  params: {
@@ -61,49 +33,20 @@ class Account extends index_js_1.default {
61
33
  }
62
34
  });
63
35
  }
64
- /**
65
- * This method creates a new fulfillment policy where the policy encapsulates seller's terms for fulfilling item
66
- * purchases.
67
- *
68
- * @param body Request to create a seller account fulfillment policy.
69
- */
70
36
  createFulfillmentPolicy(body) {
71
37
  return this.post(`/fulfillment_policy/`, body);
72
38
  }
73
- /**
74
- * This method updates an existing fulfillment policy.
75
- *
76
- * @param fulfillmentPolicyId This path parameter specifies the ID of the fulfillment policy you want to update.
77
- * @param body Request to create a seller account fulfillment policy.
78
- */
79
39
  updateFulfillmentPolicy(fulfillmentPolicyId, body) {
80
40
  fulfillmentPolicyId = encodeURIComponent(fulfillmentPolicyId);
81
41
  return this.put(`/fulfillment_policy/${fulfillmentPolicyId}`, body);
82
42
  }
83
- /**
84
- * This method deletes a fulfillment policy.
85
- *
86
- * @param fulfillmentPolicyId This path parameter specifies the ID of the fulfillment policy to delete.
87
- */
88
43
  deleteFulfillmentPolicy(fulfillmentPolicyId) {
89
44
  fulfillmentPolicyId = encodeURIComponent(fulfillmentPolicyId);
90
45
  return this.delete(`/fulfillment_policy/${fulfillmentPolicyId}`);
91
46
  }
92
- /**
93
- * This method retrieves the complete details of a fulfillment policy.
94
- * Supply the ID of the policy you want to retrieve using the fulfillmentPolicyId path parameter.
95
- *
96
- * @param fulfillmentPolicyId This path parameter specifies the ID of the fulfillment policy you want to retrieve.
97
- */
98
47
  getFulfillmentPolicy(fulfillmentPolicyId) {
99
48
  return this.get(`/fulfillment_policy/${fulfillmentPolicyId}`);
100
49
  }
101
- /**
102
- * This method retrieves the complete details for a single fulfillment policy.
103
- *
104
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
105
- * @param name This query parameter specifies the user-defined name of the fulfillment policy you want to retrieve.
106
- */
107
50
  getFulfillmentPolicyByName(marketplaceId, name) {
108
51
  return this.get(`/fulfillment_policy/get_by_policy_name`, {
109
52
  params: {
@@ -112,12 +55,6 @@ class Account extends index_js_1.default {
112
55
  }
113
56
  });
114
57
  }
115
- /**
116
- * This method retrieves all the payment policies configured for the marketplace you specify using the
117
- * marketplace_id query parameter.
118
- *
119
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
120
- */
121
58
  getPaymentPolicies(marketplaceId) {
122
59
  return this.get(`/payment_policy`, {
123
60
  params: {
@@ -125,49 +62,21 @@ class Account extends index_js_1.default {
125
62
  }
126
63
  });
127
64
  }
128
- /**
129
- * This method retrieves the complete details of a payment policy. Supply the ID of the policy you want to retrieve
130
- * using the paymentPolicyId path parameter.
131
- *
132
- * @param paymentPolicyId This path parameter specifies the ID of the payment policy you want to retrieve.
133
- */
134
65
  getPaymentPolicy(paymentPolicyId) {
135
66
  paymentPolicyId = encodeURIComponent(paymentPolicyId);
136
67
  return this.get(`/payment_policy/${paymentPolicyId}`);
137
68
  }
138
- /**
139
- * This method creates a new payment policy where the policy encapsulates seller's terms for purchase payments.
140
- *
141
- * @param body Payment policy request
142
- */
143
69
  createPaymentPolicy(body) {
144
70
  return this.post(`/payment_policy`, body);
145
71
  }
146
- /**
147
- * This method updates an existing payment policy.
148
- *
149
- * @param paymentPolicyId This path parameter specifies the ID of the payment policy you want to update.
150
- * @param body Payment policy request
151
- */
152
72
  updatePaymentPolicy(paymentPolicyId, body) {
153
73
  paymentPolicyId = encodeURIComponent(paymentPolicyId);
154
74
  return this.put(`/payment_policy/${paymentPolicyId}`, body);
155
75
  }
156
- /**
157
- * This method updates an existing payment policy.
158
- *
159
- * @param paymentPolicyId This path parameter specifies the ID of the payment policy you want to delete.
160
- */
161
76
  deletePaymentPolicy(paymentPolicyId) {
162
77
  paymentPolicyId = encodeURIComponent(paymentPolicyId);
163
78
  return this.delete(`/payment_policy/${paymentPolicyId}`);
164
79
  }
165
- /**
166
- * This method retrieves the complete details of a single payment policy.
167
- *
168
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
169
- * @param name This query parameter specifies the user-defined name of the payment policy you want to retrieve.
170
- */
171
80
  getPaymentPolicyByName(marketplaceId, name) {
172
81
  return this.get(`/payment_policy/get_by_policy_name`, {
173
82
  params: {
@@ -176,65 +85,28 @@ class Account extends index_js_1.default {
176
85
  }
177
86
  });
178
87
  }
179
- /**
180
- * This method returns whether or not the user is opted-in to the payment program.
181
- *
182
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
183
- * @param paymentsProgramType This path parameter specifies the payments program whose status is returned by the
184
- * call.
185
- */
186
88
  getPaymentsProgram(marketplaceId, paymentsProgramType) {
187
89
  marketplaceId = encodeURIComponent(marketplaceId);
188
90
  const type = encodeURIComponent(paymentsProgramType);
189
91
  return this.get(`/payments_program/${marketplaceId}/${type}`);
190
92
  }
191
- /**
192
- * This method retrieves a seller's onboarding status of eBay managed payments for a specified marketplace.
193
- *
194
- * @param marketplaceId This query parameter specifies the eBay marketplace of the policy you want to retrieve.
195
- * @param paymentsProgramType This path parameter specifies the payments program whose status is returned by the
196
- * call.
197
- */
198
93
  getPaymentsProgramOnboarding(marketplaceId, paymentsProgramType) {
199
94
  marketplaceId = encodeURIComponent(marketplaceId);
200
95
  const type = encodeURIComponent(paymentsProgramType);
201
96
  return this.get(`/payments_program/${marketplaceId}/${type}/onboarding`);
202
97
  }
203
- /**
204
- * This method retrieves the seller's current set of privileges.
205
- */
206
98
  getPrivileges() {
207
99
  return this.get(`/privilege`);
208
100
  }
209
- /**
210
- * This method gets a list of the seller programs that the seller has opted-in to.
211
- */
212
101
  getOptedInPrograms() {
213
102
  return this.get(`/program/get_opted_in_programs`);
214
103
  }
215
- /**
216
- * This method opts the seller in to an eBay seller program.
217
- *
218
- * @param body Program being opted-in to.
219
- */
220
104
  optInToProgram(body) {
221
105
  return this.post(`/program/opt_in`, body);
222
106
  }
223
- /**
224
- * This method opts the seller out of a seller program to which you have previously opted-in to.
225
- *
226
- * @param body Program being opted-out of.
227
- */
228
107
  optOutOfProgram(body) {
229
108
  return this.post(`/program/opt_out`, body);
230
109
  }
231
- /**
232
- * This method retrieves a seller's shipping rate tables for the country specified in the country_code query
233
- * parameter.
234
- *
235
- * @param countryCode This query parameter specifies the two-letter ISO 3166-1 Alpha-2 code of country for which
236
- * you want shipping-rate table information.
237
- */
238
110
  getRateTables(countryCode) {
239
111
  return this.get(`/rate_table`, {
240
112
  params: {
@@ -242,13 +114,6 @@ class Account extends index_js_1.default {
242
114
  }
243
115
  });
244
116
  }
245
- /**
246
- * This method retrieves all the return policies configured for the marketplace you specify using the
247
- * marketplace_id query parameter.
248
- *
249
- * @param marketplaceId This query parameter specifies the ID of the eBay marketplace of the policy you want to
250
- * retrieve.
251
- */
252
117
  getReturnPolicies(marketplaceId) {
253
118
  return this.get(`/return_policy`, {
254
119
  params: {
@@ -256,49 +121,21 @@ class Account extends index_js_1.default {
256
121
  }
257
122
  });
258
123
  }
259
- /**
260
- * This method retrieves the complete details of the return policy specified by the returnPolicyId path parameter.
261
- *
262
- * @param returnPolicyId This path parameter specifies the of the return policy you want to retrieve.
263
- */
264
124
  getReturnPolicy(returnPolicyId) {
265
125
  returnPolicyId = encodeURIComponent(returnPolicyId);
266
126
  return this.get(`/return_policy/${returnPolicyId}`);
267
127
  }
268
- /**
269
- * This method creates a new return policy where the policy encapsulates seller's terms for returning items.
270
- *
271
- * @param body Return policy request
272
- */
273
128
  createReturnPolicy(body) {
274
129
  return this.post(`/return_policy`, body);
275
130
  }
276
- /**
277
- * This method creates a new return policy where the policy encapsulates seller's terms for returning items.
278
- *
279
- * @param returnPolicyId This path parameter specifies the ID of the return policy you want to update.
280
- * @param body Return policy request
281
- */
282
131
  updateReturnPolicy(returnPolicyId, body) {
283
132
  returnPolicyId = encodeURIComponent(returnPolicyId);
284
133
  return this.put(`/return_policy/${returnPolicyId}`, body);
285
134
  }
286
- /**
287
- * This method deletes a return policy.
288
- *
289
- * @param returnPolicyId This path parameter specifies the ID of the return policy you want to delete.
290
- */
291
135
  deleteReturnPolicy(returnPolicyId) {
292
136
  returnPolicyId = encodeURIComponent(returnPolicyId);
293
137
  return this.delete(`/return_policy/${returnPolicyId}`);
294
138
  }
295
- /**
296
- * This method retrieves the complete details of a single return policy.
297
- *
298
- * @param marketplaceId This query parameter specifies the ID of the eBay marketplace of the policy you want to
299
- * retrieve.
300
- * @param name This query parameter specifies the user-defined name of the return policy you want to retrieve.
301
- */
302
139
  getReturnPolicyByName(marketplaceId, name) {
303
140
  return this.get(`/return_policy/get_by_policy_name`, {
304
141
  params: {
@@ -307,52 +144,21 @@ class Account extends index_js_1.default {
307
144
  }
308
145
  });
309
146
  }
310
- /**
311
- * This call gets the current tax table entry for a specific tax jurisdiction.
312
- *
313
- * @param countryCode This path parameter specifies the two-letter ISO 3166-1 Alpha-2 code for the country whose
314
- * tax table you want to retrieve.
315
- * @param jurisdictionId This path parameter specifies the ID of the sales tax jurisdiction for the tax table entry
316
- * you want to retrieve.
317
- */
318
147
  getSalesTax(countryCode, jurisdictionId) {
319
148
  countryCode = encodeURIComponent(countryCode);
320
149
  jurisdictionId = encodeURIComponent(jurisdictionId);
321
150
  return this.get(`/sales_tax/${countryCode}/${jurisdictionId}`);
322
151
  }
323
- /**
324
- * This method creates or updates a sales tax table entry for a jurisdiction.
325
- *
326
- * @param countryCode This path parameter specifies the two-letter ISO 3166-1 Alpha-2 code for the country for
327
- * which you want to create tax table entry.
328
- * @param jurisdictionId This path parameter specifies the ID of the sales-tax jurisdiction for the table entry you
329
- * want to create.
330
- * @param body A container that describes the how the sales tax is calculated.
331
- */
332
152
  createOrReplaceSalesTax(countryCode, jurisdictionId, body) {
333
153
  countryCode = encodeURIComponent(countryCode);
334
154
  jurisdictionId = encodeURIComponent(jurisdictionId);
335
155
  return this.put(`/sales_tax/${countryCode}/${jurisdictionId}`, body);
336
156
  }
337
- /**
338
- * This call deletes a tax table entry for a jurisdiction.
339
- *
340
- * @param countryCode This path parameter specifies the two-letter ISO 3166-1 Alpha-2 code for the country for
341
- * which you want to create tax table entry.
342
- * @param jurisdictionId This path parameter specifies the ID of the sales-tax jurisdiction for the table entry you
343
- * want to delete.
344
- */
345
157
  deleteSalesTax(countryCode, jurisdictionId) {
346
158
  countryCode = encodeURIComponent(countryCode);
347
159
  jurisdictionId = encodeURIComponent(jurisdictionId);
348
160
  return this.delete(`/sales_tax/${countryCode}/${jurisdictionId}`);
349
161
  }
350
- /**
351
- * Use this call to retrieve a sales tax table that the seller established for a specific country.
352
- *
353
- * @param countryCode This path parameter specifies the two-letter ISO 3166-1 Alpha-2 code for the country whose
354
- * tax table you want to retrieve.
355
- */
356
162
  getSalesTaxes(countryCode) {
357
163
  return this.get(`/sales_tax`, {
358
164
  params: {
@@ -360,11 +166,6 @@ class Account extends index_js_1.default {
360
166
  }
361
167
  });
362
168
  }
363
- /**
364
- * This method retrieves a list of subscriptions associated with the seller account.
365
- * @param limit This field is for future use.
366
- * @param continuationToken This field is for future use.
367
- */
368
169
  getSubscription({ limit, continuationToken } = {}) {
369
170
  return this.get(`/subscription`, {
370
171
  params: {
@@ -373,16 +174,9 @@ class Account extends index_js_1.default {
373
174
  }
374
175
  });
375
176
  }
376
- /**
377
- * 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.
378
- */
379
177
  getKYC() {
380
178
  return this.get(`/kyc`);
381
179
  }
382
- /**
383
- * This method allows developers to check the seller eligibility status for eBay advertising programs.
384
- * @param programTypes A comma-separated list of eBay advertising programs.
385
- */
386
180
  getAdvertisingEligibility(programTypes) {
387
181
  return this.get(`/advertising_eligibility`, {
388
182
  params: {
@@ -390,52 +184,26 @@ class Account extends index_js_1.default {
390
184
  }
391
185
  });
392
186
  }
393
- /**
394
- * This call retrieves all defined details of the inventory location that is specified by the <b>merchantLocationKey</b> path parameter.
395
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
396
- */
397
187
  getInventoryLocation(merchantLocationKey) {
398
188
  merchantLocationKey = encodeURIComponent(merchantLocationKey);
399
189
  return this.get(`/location/${merchantLocationKey}`);
400
190
  }
401
- /**
402
- * <p>Use this call to create a new inventory location.
403
- * @param merchantLocationKey A unique, merchant-defined key (ID) for an inventory location.
404
- * @param body Inventory Location details
405
- */
406
191
  createInventoryLocation(merchantLocationKey, body) {
407
192
  merchantLocationKey = encodeURIComponent(merchantLocationKey);
408
193
  return this.post(`/location/${merchantLocationKey}`, body);
409
194
  }
410
- /**
411
- * <p>This call deletes the inventory location that is specified in the <code>merchantLocationKey</code> path parameter.
412
- * @param merchantLocationKey
413
- */
414
195
  deleteInventoryLocation(merchantLocationKey) {
415
196
  merchantLocationKey = encodeURIComponent(merchantLocationKey);
416
197
  return this.delete(`/location/${merchantLocationKey}`);
417
198
  }
418
- /**
419
- * <p>This call disables the inventory location that is specified in the <code>merchantLocationKey</code> path parameter.
420
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
421
- */
422
199
  disableInventoryLocation(merchantLocationKey) {
423
200
  merchantLocationKey = encodeURIComponent(merchantLocationKey);
424
201
  return this.post(`/location/${merchantLocationKey}/disable`);
425
202
  }
426
- /**
427
- * <p>This call enables a disabled inventory location that is specified in the <code>merchantLocationKey</code> path parameter.
428
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
429
- */
430
203
  enableInventoryLocation(merchantLocationKey) {
431
204
  merchantLocationKey = encodeURIComponent(merchantLocationKey);
432
205
  return this.post(`/location/${merchantLocationKey}/enable`);
433
206
  }
434
- /**
435
- * This call retrieves all defined details for every inventory location associated with the seller's account.
436
- * @param limit The value passed in this query parameter sets the maximum number of records to return per page of data.
437
- * @param offset Specifies the number of locations to skip in the result set before returning the first location in the paginated response.
438
- */
439
207
  getInventoryLocations({ limit, offset } = {}) {
440
208
  return this.get(`/location`, {
441
209
  params: {
@@ -444,19 +212,10 @@ class Account extends index_js_1.default {
444
212
  }
445
213
  });
446
214
  }
447
- /**
448
- * <p>Use this call to update non-physical location details for an existing inventory location.
449
- * @param merchantLocationKey A unique merchant-defined key (ID) for an inventory location.
450
- * @param body The inventory location details to be updated (other than the address and geo co-ordinates).
451
- */
452
215
  updateInventoryLocation(merchantLocationKey, body) {
453
216
  merchantLocationKey = encodeURIComponent(merchantLocationKey);
454
217
  return this.post(`/location/${merchantLocationKey}/update_location_details`, body);
455
218
  }
456
- /**
457
- * This method retrieves all the sales tax jurisdictions for the country that you specify in the <b>countryCode</b> path parameter.
458
- * @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.
459
- */
460
219
  getSalesTaxJurisdictions(countryCode) {
461
220
  countryCode = encodeURIComponent(countryCode);
462
221
  return this.get(`/country/${countryCode}/sales_tax_jurisdiction`);
@@ -1,42 +1,16 @@
1
1
  import { Metric } from '../../../../enums/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/sell_analytics_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * The Analytics API provides information about a seller's business performance.
6
- */
7
4
  export default class Analytics extends Restful implements OpenApi<operations> {
8
5
  static id: string;
9
6
  get basePath(): string;
10
- /**
11
- * This call retrieves all the profiles for the associated seller.
12
- */
13
7
  findSellerStandardsProfiles(): Promise<any>;
14
- /**
15
- * This call retrieves seller's profiles based on a program or cycle.
16
- *
17
- * @param program Specifies the program of the requested profile.
18
- * @param cycle Specifies the cycle of the requested profile.
19
- */
20
8
  getSellerStandardsProfile(program: string, cycle: string): Promise<any>;
21
- /**
22
- * This call returns a report that details the user-traffic a seller's listings receives.
23
- *
24
- * @param dimension Specifies the basis of the report data.
25
- * @param filter Limits the report data returned.
26
- * @param metric Specifies a comma separated list of the metrics you want included in the report.
27
- * @param sort Specifies a single metric to be sorted and whether you want to sort in ascending or descending order.
28
- */
29
9
  getTrafficReport({ dimension, filter, metric, sort }?: {
30
10
  dimension?: string;
31
11
  filter?: string;
32
12
  metric?: Metric | `${Metric}`;
33
13
  sort?: string;
34
14
  }): Promise<any>;
35
- /**
36
- * Use this method to retrieve a seller's performance and rating for the customer service metric.
37
- *
38
- * @param customerServiceMetricType Use this path parameter to specify the type of customer service metrics and benchmark data you want returned for the seller.
39
- * @param evaluationType Use this query parameter to specify the Marketplace ID to evaluate for the customer service metrics and benchmark data.
40
- */
41
15
  getCustomerServiceMetric(customerServiceMetricType: string, evaluationType: string): Promise<any>;
42
16
  }
@@ -4,38 +4,18 @@ 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
- * The Analytics API provides information about a seller's business performance.
9
- */
10
7
  class Analytics extends index_js_1.default {
11
8
  get basePath() {
12
9
  return '/sell/analytics/v1';
13
10
  }
14
- /**
15
- * This call retrieves all the profiles for the associated seller.
16
- */
17
11
  findSellerStandardsProfiles() {
18
12
  return this.get(`/seller_standards_profile`);
19
13
  }
20
- /**
21
- * This call retrieves seller's profiles based on a program or cycle.
22
- *
23
- * @param program Specifies the program of the requested profile.
24
- * @param cycle Specifies the cycle of the requested profile.
25
- */
26
14
  getSellerStandardsProfile(program, cycle) {
27
15
  program = encodeURIComponent(program);
28
16
  cycle = encodeURIComponent(cycle);
29
17
  return this.get(`/seller_standards_profile/${program}/${cycle}`);
30
18
  }
31
- /**
32
- * This call returns a report that details the user-traffic a seller's listings receives.
33
- *
34
- * @param dimension Specifies the basis of the report data.
35
- * @param filter Limits the report data returned.
36
- * @param metric Specifies a comma separated list of the metrics you want included in the report.
37
- * @param sort Specifies a single metric to be sorted and whether you want to sort in ascending or descending order.
38
- */
39
19
  getTrafficReport({ dimension, filter, metric, sort } = {}) {
40
20
  return this.get(`/traffic_report`, {
41
21
  params: {
@@ -46,12 +26,6 @@ class Analytics extends index_js_1.default {
46
26
  }
47
27
  });
48
28
  }
49
- /**
50
- * Use this method to retrieve a seller's performance and rating for the customer service metric.
51
- *
52
- * @param customerServiceMetricType Use this path parameter to specify the type of customer service metrics and benchmark data you want returned for the seller.
53
- * @param evaluationType Use this query parameter to specify the Marketplace ID to evaluate for the customer service metrics and benchmark data.
54
- */
55
29
  getCustomerServiceMetric(customerServiceMetricType, evaluationType) {
56
30
  return this.get(`/customer_service_metric/${customerServiceMetricType}/${evaluationType}`);
57
31
  }
@@ -1,38 +1,15 @@
1
1
  import { SuppressViolationRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/sell_compliance_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * Service for providing the compliance violations of seller account/listings
6
- */
7
4
  export default class Compliance extends Restful implements OpenApi<operations> {
8
5
  static id: string;
9
6
  get basePath(): string;
10
- /**
11
- * This call returns listing violation counts for a seller.
12
- *
13
- * @param complianceType A user passes in one or more compliance type values through this query parameter.
14
- */
15
7
  getListingViolationsSummary(complianceType?: string): Promise<any>;
16
- /**
17
- * This call returns specific listing violations for five different compliance types.
18
- *
19
- * @param complianceType A user passes in one or more compliance type values through this query parameter.
20
- * @param offset The first policy violation to return based on its position in the collection of listing
21
- * violations.
22
- * @param listingId
23
- * @param limit This query parameter is used if the user wants to set a limit on the number of listing violations
24
- * that are returned in the current result set.
25
- */
26
8
  getListingViolations({ complianceType, offset, listingId, limit }?: {
27
9
  complianceType?: string;
28
10
  offset?: number;
29
11
  listingId?: string;
30
12
  limit?: number;
31
13
  }): Promise<any>;
32
- /**
33
- * This call suppresses a listing violation for a specific listing. Only listing violations in the AT_RISK state (returned in the violations.complianceState field of the getListingViolations call) can be suppressed.
34
- *
35
- * @param body SuppressViolationRequest
36
- */
37
14
  suppressViolation(body: SuppressViolationRequest): Promise<any>;
38
15
  }
@@ -4,18 +4,10 @@ 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
- * Service for providing the compliance violations of seller account/listings
9
- */
10
7
  class Compliance extends index_js_1.default {
11
8
  get basePath() {
12
9
  return '/sell/compliance/v1';
13
10
  }
14
- /**
15
- * This call returns listing violation counts for a seller.
16
- *
17
- * @param complianceType A user passes in one or more compliance type values through this query parameter.
18
- */
19
11
  getListingViolationsSummary(complianceType) {
20
12
  return this.get(`/listing_violation_summary`, {
21
13
  params: {
@@ -23,16 +15,6 @@ class Compliance extends index_js_1.default {
23
15
  }
24
16
  });
25
17
  }
26
- /**
27
- * This call returns specific listing violations for five different compliance types.
28
- *
29
- * @param complianceType A user passes in one or more compliance type values through this query parameter.
30
- * @param offset The first policy violation to return based on its position in the collection of listing
31
- * violations.
32
- * @param listingId
33
- * @param limit This query parameter is used if the user wants to set a limit on the number of listing violations
34
- * that are returned in the current result set.
35
- */
36
18
  getListingViolations({ complianceType, offset, listingId, limit } = {}) {
37
19
  return this.get(`/listing_violation`, {
38
20
  params: {
@@ -43,11 +25,6 @@ class Compliance extends index_js_1.default {
43
25
  }
44
26
  });
45
27
  }
46
- /**
47
- * This call suppresses a listing violation for a specific listing. Only listing violations in the AT_RISK state (returned in the violations.complianceState field of the getListingViolations call) can be suppressed.
48
- *
49
- * @param body SuppressViolationRequest
50
- */
51
28
  suppressViolation(body) {
52
29
  return this.post(`/suppress_listing_violation`, body);
53
30
  }