ebay-api 8.5.0 → 8.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/README.md +4 -4
  2. package/dist/api/apiFactory.d.ts +0 -3
  3. package/dist/api/apiFactory.js +0 -4
  4. package/dist/api/base.d.ts +0 -3
  5. package/dist/api/base.js +0 -3
  6. package/dist/api/digitalSignature.d.ts +0 -33
  7. package/dist/api/digitalSignature.js +1 -41
  8. package/dist/api/index.d.ts +0 -3
  9. package/dist/api/index.js +0 -3
  10. package/dist/api/restful/buy/browse/index.d.ts +0 -66
  11. package/dist/api/restful/buy/browse/index.js +0 -73
  12. package/dist/api/restful/buy/deal/index.d.ts +0 -32
  13. package/dist/api/restful/buy/deal/index.js +0 -32
  14. package/dist/api/restful/buy/feed/index.d.ts +0 -33
  15. package/dist/api/restful/buy/feed/index.js +0 -33
  16. package/dist/api/restful/buy/marketing/index.d.ts +0 -18
  17. package/dist/api/restful/buy/marketing/index.js +0 -22
  18. package/dist/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  19. package/dist/api/restful/buy/marketplaceInsights/index.js +0 -21
  20. package/dist/api/restful/buy/offer/index.d.ts +0 -15
  21. package/dist/api/restful/buy/offer/index.js +0 -15
  22. package/dist/api/restful/buy/order/index.d.ts +0 -227
  23. package/dist/api/restful/buy/order/index.js +0 -227
  24. package/dist/api/restful/commerce/catalog/index.d.ts +0 -54
  25. package/dist/api/restful/commerce/catalog/index.js +0 -54
  26. package/dist/api/restful/commerce/charity/index.d.ts +0 -21
  27. package/dist/api/restful/commerce/charity/index.js +0 -21
  28. package/dist/api/restful/commerce/identity/index.d.ts +0 -7
  29. package/dist/api/restful/commerce/identity/index.js +0 -7
  30. package/dist/api/restful/commerce/notification/index.d.ts +0 -93
  31. package/dist/api/restful/commerce/notification/index.js +0 -93
  32. package/dist/api/restful/commerce/taxonomy/index.d.ts +0 -64
  33. package/dist/api/restful/commerce/taxonomy/index.js +0 -64
  34. package/dist/api/restful/commerce/translation/index.d.ts +0 -8
  35. package/dist/api/restful/commerce/translation/index.js +0 -8
  36. package/dist/api/restful/developer/analytics/index.d.ts +0 -15
  37. package/dist/api/restful/developer/analytics/index.js +0 -15
  38. package/dist/api/restful/developer/keyManagement/index.d.ts +0 -15
  39. package/dist/api/restful/developer/keyManagement/index.js +0 -15
  40. package/dist/api/restful/index.d.ts +0 -16
  41. package/dist/api/restful/index.js +1 -23
  42. package/dist/api/restful/postOrder/cancellation/index.d.ts +0 -43
  43. package/dist/api/restful/postOrder/cancellation/index.js +0 -43
  44. package/dist/api/restful/postOrder/case/index.d.ts +0 -46
  45. package/dist/api/restful/postOrder/case/index.js +0 -46
  46. package/dist/api/restful/postOrder/inquiry/index.d.ts +0 -64
  47. package/dist/api/restful/postOrder/inquiry/index.js +0 -64
  48. package/dist/api/restful/postOrder/return/index.d.ts +0 -190
  49. package/dist/api/restful/postOrder/return/index.js +0 -190
  50. package/dist/api/restful/sell/account/index.d.ts +0 -241
  51. package/dist/api/restful/sell/account/index.js +0 -241
  52. package/dist/api/restful/sell/analytics/index.d.ts +0 -26
  53. package/dist/api/restful/sell/analytics/index.js +0 -26
  54. package/dist/api/restful/sell/compliance/index.d.ts +0 -23
  55. package/dist/api/restful/sell/compliance/index.js +0 -23
  56. package/dist/api/restful/sell/feed/index.d.ts +0 -135
  57. package/dist/api/restful/sell/feed/index.js +0 -135
  58. package/dist/api/restful/sell/finances/index.d.ts +0 -51
  59. package/dist/api/restful/sell/finances/index.js +0 -51
  60. package/dist/api/restful/sell/fulfillment/index.d.ts +0 -108
  61. package/dist/api/restful/sell/fulfillment/index.js +0 -108
  62. package/dist/api/restful/sell/inventory/index.d.ts +0 -197
  63. package/dist/api/restful/sell/inventory/index.js +0 -197
  64. package/dist/api/restful/sell/listing/index.d.ts +0 -8
  65. package/dist/api/restful/sell/listing/index.js +0 -8
  66. package/dist/api/restful/sell/logistics/index.d.ts +0 -33
  67. package/dist/api/restful/sell/logistics/index.js +0 -33
  68. package/dist/api/restful/sell/marketing/index.d.ts +16 -495
  69. package/dist/api/restful/sell/marketing/index.js +48 -494
  70. package/dist/api/restful/sell/metadata/index.d.ts +0 -65
  71. package/dist/api/restful/sell/metadata/index.js +0 -65
  72. package/dist/api/restful/sell/negotiation/index.d.ts +0 -14
  73. package/dist/api/restful/sell/negotiation/index.js +0 -14
  74. package/dist/api/restful/sell/recommendation/index.d.ts +0 -15
  75. package/dist/api/restful/sell/recommendation/index.js +0 -15
  76. package/dist/api/traditional/XMLRequest.d.ts +0 -44
  77. package/dist/api/traditional/XMLRequest.js +0 -46
  78. package/dist/api/traditional/clientAlerts/index.js +0 -1
  79. package/dist/api/traditional/index.d.ts +0 -3
  80. package/dist/api/traditional/index.js +0 -5
  81. package/dist/api/traditional/shopping/index.js +0 -1
  82. package/dist/auth/authNAuth.d.ts +0 -5
  83. package/dist/auth/authNAuth.js +0 -5
  84. package/dist/auth/index.d.ts +0 -3
  85. package/dist/auth/index.js +0 -3
  86. package/dist/auth/oAuth2.d.ts +0 -52
  87. package/dist/auth/oAuth2.js +0 -53
  88. package/dist/eBayApi.d.ts +1 -12
  89. package/dist/eBayApi.js +0 -14
  90. package/dist/ebay-api.min.mjs +1 -1
  91. package/dist/enums/restfulEnums.d.ts +24 -23
  92. package/dist/enums/restfulEnums.js +52 -51
  93. package/dist/errors/index.d.ts +0 -19
  94. package/dist/errors/index.js +1 -20
  95. package/dist/types/apiTypes.d.ts +2 -2
  96. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  97. package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  98. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  99. package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  100. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  101. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  102. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  103. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  104. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  105. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  106. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  107. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  108. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  109. package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  110. package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
  111. package/dist/types/restful/specs/cancellation_oas3.js +0 -4
  112. package/dist/types/restful/specs/case_oas3.d.ts +0 -31
  113. package/dist/types/restful/specs/case_oas3.js +0 -4
  114. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  115. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  116. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  117. package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  118. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  119. package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  120. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  121. package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  122. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  123. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  124. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  125. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  126. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  127. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  128. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  129. package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  130. package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
  131. package/dist/types/restful/specs/inquiry_oas3.js +0 -4
  132. package/dist/types/restful/specs/return_oas3.d.ts +0 -130
  133. package/dist/types/restful/specs/return_oas3.js +0 -4
  134. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  135. package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
  136. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  137. package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  138. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  139. package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  140. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  141. package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  142. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  143. package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  144. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  145. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  146. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  147. package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  148. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  149. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  150. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  151. package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  152. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  153. package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  154. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  155. package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  156. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  157. package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  158. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  159. package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  160. package/dist/types/restfulTypes.d.ts +3 -0
  161. package/lib/api/apiFactory.d.ts +0 -3
  162. package/lib/api/apiFactory.js +0 -4
  163. package/lib/api/base.d.ts +0 -3
  164. package/lib/api/base.js +0 -3
  165. package/lib/api/digitalSignature.d.ts +0 -33
  166. package/lib/api/digitalSignature.js +1 -41
  167. package/lib/api/index.d.ts +0 -3
  168. package/lib/api/index.js +0 -3
  169. package/lib/api/restful/buy/browse/index.d.ts +0 -66
  170. package/lib/api/restful/buy/browse/index.js +0 -73
  171. package/lib/api/restful/buy/deal/index.d.ts +0 -32
  172. package/lib/api/restful/buy/deal/index.js +0 -32
  173. package/lib/api/restful/buy/feed/index.d.ts +0 -33
  174. package/lib/api/restful/buy/feed/index.js +0 -33
  175. package/lib/api/restful/buy/marketing/index.d.ts +0 -18
  176. package/lib/api/restful/buy/marketing/index.js +0 -22
  177. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  178. package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
  179. package/lib/api/restful/buy/offer/index.d.ts +0 -15
  180. package/lib/api/restful/buy/offer/index.js +0 -15
  181. package/lib/api/restful/buy/order/index.d.ts +0 -227
  182. package/lib/api/restful/buy/order/index.js +0 -227
  183. package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
  184. package/lib/api/restful/commerce/catalog/index.js +0 -54
  185. package/lib/api/restful/commerce/charity/index.d.ts +0 -21
  186. package/lib/api/restful/commerce/charity/index.js +0 -21
  187. package/lib/api/restful/commerce/identity/index.d.ts +0 -7
  188. package/lib/api/restful/commerce/identity/index.js +0 -7
  189. package/lib/api/restful/commerce/notification/index.d.ts +0 -93
  190. package/lib/api/restful/commerce/notification/index.js +0 -93
  191. package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
  192. package/lib/api/restful/commerce/taxonomy/index.js +0 -64
  193. package/lib/api/restful/commerce/translation/index.d.ts +0 -8
  194. package/lib/api/restful/commerce/translation/index.js +0 -8
  195. package/lib/api/restful/developer/analytics/index.d.ts +0 -15
  196. package/lib/api/restful/developer/analytics/index.js +0 -15
  197. package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
  198. package/lib/api/restful/developer/keyManagement/index.js +0 -15
  199. package/lib/api/restful/index.d.ts +0 -16
  200. package/lib/api/restful/index.js +1 -23
  201. package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
  202. package/lib/api/restful/postOrder/cancellation/index.js +0 -43
  203. package/lib/api/restful/postOrder/case/index.d.ts +0 -46
  204. package/lib/api/restful/postOrder/case/index.js +0 -46
  205. package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
  206. package/lib/api/restful/postOrder/inquiry/index.js +0 -64
  207. package/lib/api/restful/postOrder/return/index.d.ts +0 -190
  208. package/lib/api/restful/postOrder/return/index.js +0 -190
  209. package/lib/api/restful/sell/account/index.d.ts +0 -241
  210. package/lib/api/restful/sell/account/index.js +0 -241
  211. package/lib/api/restful/sell/analytics/index.d.ts +0 -26
  212. package/lib/api/restful/sell/analytics/index.js +0 -26
  213. package/lib/api/restful/sell/compliance/index.d.ts +0 -23
  214. package/lib/api/restful/sell/compliance/index.js +0 -23
  215. package/lib/api/restful/sell/feed/index.d.ts +0 -135
  216. package/lib/api/restful/sell/feed/index.js +0 -135
  217. package/lib/api/restful/sell/finances/index.d.ts +0 -51
  218. package/lib/api/restful/sell/finances/index.js +0 -51
  219. package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
  220. package/lib/api/restful/sell/fulfillment/index.js +0 -108
  221. package/lib/api/restful/sell/inventory/index.d.ts +0 -197
  222. package/lib/api/restful/sell/inventory/index.js +0 -197
  223. package/lib/api/restful/sell/listing/index.d.ts +0 -8
  224. package/lib/api/restful/sell/listing/index.js +0 -8
  225. package/lib/api/restful/sell/logistics/index.d.ts +0 -33
  226. package/lib/api/restful/sell/logistics/index.js +0 -33
  227. package/lib/api/restful/sell/marketing/index.d.ts +16 -495
  228. package/lib/api/restful/sell/marketing/index.js +48 -494
  229. package/lib/api/restful/sell/metadata/index.d.ts +0 -65
  230. package/lib/api/restful/sell/metadata/index.js +0 -65
  231. package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
  232. package/lib/api/restful/sell/negotiation/index.js +0 -14
  233. package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
  234. package/lib/api/restful/sell/recommendation/index.js +0 -15
  235. package/lib/api/traditional/XMLRequest.d.ts +0 -44
  236. package/lib/api/traditional/XMLRequest.js +0 -46
  237. package/lib/api/traditional/clientAlerts/index.js +0 -1
  238. package/lib/api/traditional/index.d.ts +0 -3
  239. package/lib/api/traditional/index.js +0 -5
  240. package/lib/api/traditional/shopping/index.js +0 -1
  241. package/lib/auth/authNAuth.d.ts +0 -5
  242. package/lib/auth/authNAuth.js +0 -5
  243. package/lib/auth/index.d.ts +0 -3
  244. package/lib/auth/index.js +0 -3
  245. package/lib/auth/oAuth2.d.ts +0 -52
  246. package/lib/auth/oAuth2.js +0 -53
  247. package/lib/eBayApi.d.ts +1 -12
  248. package/lib/eBayApi.js +0 -14
  249. package/lib/ebay-api.min.js +1 -1
  250. package/lib/enums/restfulEnums.d.ts +24 -23
  251. package/lib/enums/restfulEnums.js +52 -52
  252. package/lib/errors/index.d.ts +0 -19
  253. package/lib/errors/index.js +1 -20
  254. package/lib/types/apiTypes.d.ts +2 -2
  255. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  256. package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  257. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  258. package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  259. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  260. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  261. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  262. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  263. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  264. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  265. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  266. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  267. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  268. package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  269. package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
  270. package/lib/types/restful/specs/cancellation_oas3.js +0 -4
  271. package/lib/types/restful/specs/case_oas3.d.ts +0 -31
  272. package/lib/types/restful/specs/case_oas3.js +0 -4
  273. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  274. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  275. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  276. package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  277. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  278. package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  279. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  280. package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  281. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  282. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  283. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  284. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  285. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  286. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  287. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  288. package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  289. package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
  290. package/lib/types/restful/specs/inquiry_oas3.js +0 -4
  291. package/lib/types/restful/specs/return_oas3.d.ts +0 -130
  292. package/lib/types/restful/specs/return_oas3.js +0 -4
  293. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  294. package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
  295. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  296. package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  297. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  298. package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  299. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  300. package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  301. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  302. package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  303. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  304. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  305. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  306. package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  307. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  308. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  309. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  310. package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  311. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  312. package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  313. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  314. package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  315. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  316. package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  317. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  318. package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  319. package/lib/types/restfulTypes.d.ts +3 -0
  320. package/package.json +2 -2
@@ -1,118 +1,25 @@
1
1
  import { CommerceNotificationConfig, CreateSubscriptionRequest, DestinationRequest, NotificationParams, UpdateSubscriptionRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/commerce_notification_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * The eBay Notification API allows third-party developers and applications to process eBay notifications and verify the integrity of the notification message payload.
6
- */
7
4
  export default class Notification extends Restful implements OpenApi<operations> {
8
5
  static id: string;
9
6
  get basePath(): string;
10
- /**
11
- * This method allows users to retrieve a public key using a specified key ID.
12
- *
13
- * @param publicKeyId The unique key ID that is used to retrieve the public key
14
- */
15
7
  getPublicKey(publicKeyId: string): Promise<any>;
16
- /**
17
- * This method allows applications to retrieve details for the specified topic.
18
- *
19
- * @param topicId The ID of the topic for which to retrieve the details.
20
- */
21
8
  getTopic(topicId: string): Promise<any>;
22
- /**
23
- * This method returns a paginated collection of all supported topics, along with the details for the topics.
24
- *
25
- * @param limit The maximum number of items to return per page from the result set.
26
- * @param continuationToken The token used to access the next set of results.
27
- */
28
9
  getTopics({ limit, continuationToken: continuation_token }: NotificationParams): Promise<any>;
29
- /**
30
- * This method allows applications to retrieve a list of all subscriptions.
31
- *
32
- * @param limit The number of items, from the result set, returned in a single page.
33
- * @param continuation_token The continuation token for the next set of results.
34
- */
35
10
  getSubscriptions({ limit, continuationToken: continuation_token }: NotificationParams): Promise<any>;
36
- /**
37
- * This method allows applications to retrieve a list of all subscriptions.
38
- *
39
- * @param body The create subscription request.
40
- */
41
11
  createSubscription(body: CreateSubscriptionRequest): Promise<any>;
42
- /**
43
- * This method allows applications to retrieve subscription details for the specified subscription.
44
- *
45
- * @param subscriptionId The unique identifier for the subscription.
46
- */
47
12
  getSubscription(subscriptionId: string): Promise<any>;
48
- /**
49
- * This method allows applications to retrieve subscription details for the specified subscription.
50
- *
51
- * @param subscriptionId The unique identifier for the subscription.
52
- * @param body The update subscription request.
53
- */
54
13
  updateSubscription(subscriptionId: string, body: UpdateSubscriptionRequest): Promise<any>;
55
- /**
56
- * This method allows applications to delete a subscription.
57
- *
58
- * @param subscriptionId The unique identifier for the subscription.
59
- */
60
14
  deleteSubscription(subscriptionId: string): Promise<any>;
61
- /**
62
- * This method allows applications to enable a disabled subscription.
63
- *
64
- * @param subscriptionId The unique identifier for the subscription.
65
- */
66
15
  enableSubscription(subscriptionId: string): Promise<any>;
67
- /**
68
- * This method disables a subscription, which prevents the subscription from providing notifications.
69
- * @param subscriptionId The unique identifier for the subscription.
70
- */
71
16
  disableSubscription(subscriptionId: string): Promise<any>;
72
- /**
73
- * This method triggers a mocked test payload that includes a notification ID, publish date, and so on.
74
- *
75
- * @param subscriptionId The unique identifier for the subscription.
76
- */
77
17
  test(subscriptionId: string): Promise<any>;
78
- /**
79
- * This method allows applications to retrieve a paginated collection of destination resources and related details.
80
- * @param subscriptionId The unique identifier for the subscription.
81
- */
82
18
  getDestinations({ limit, continuationToken: continuation_token }: NotificationParams): Promise<any>;
83
- /**
84
- * This method allows applications to create a destination.
85
- *
86
- * @param body The create destination request.
87
- */
88
19
  createDestination(body: DestinationRequest): Promise<any>;
89
- /**
90
- * This method allows applications to fetch the details for a destination.
91
- *
92
- * @param destinationId The unique identifier for the destination.
93
- */
94
20
  getDestination(destinationId: string): Promise<any>;
95
- /**
96
- * This method allows applications to update a destination.
97
- *
98
- * @param destinationId The unique identifier for the destination.
99
- * @param body The create subscription request.
100
- */
101
21
  updateDestination(destinationId: string, body: DestinationRequest): Promise<any>;
102
- /**
103
- * his method provides applications a way to delete a destination.
104
- *
105
- * @param destinationId The unique identifier for the destination.
106
- */
107
22
  deleteDestination(destinationId: string): Promise<any>;
108
- /**
109
- * This method allows applications to retrieve a previously created configuration.
110
- */
111
23
  getConfig(): Promise<any>;
112
- /**
113
- * This method allows applications to create a new configuration or update an existing configuration.
114
- *
115
- * @param body The configurations for this application.
116
- */
117
24
  updateConfig(body: CommerceNotificationConfig): Promise<any>;
118
25
  }
@@ -1,35 +1,16 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * The eBay Notification API allows third-party developers and applications to process eBay notifications and verify the integrity of the notification message payload.
4
- */
5
2
  class Notification extends Restful {
6
3
  get basePath() {
7
4
  return '/commerce/notification/v1';
8
5
  }
9
- /**
10
- * This method allows users to retrieve a public key using a specified key ID.
11
- *
12
- * @param publicKeyId The unique key ID that is used to retrieve the public key
13
- */
14
6
  getPublicKey(publicKeyId) {
15
7
  publicKeyId = encodeURIComponent(publicKeyId);
16
8
  return this.get(`/public_key/${publicKeyId}`);
17
9
  }
18
- /**
19
- * This method allows applications to retrieve details for the specified topic.
20
- *
21
- * @param topicId The ID of the topic for which to retrieve the details.
22
- */
23
10
  getTopic(topicId) {
24
11
  topicId = encodeURIComponent(topicId);
25
12
  return this.get(`/topic/${topicId}`);
26
13
  }
27
- /**
28
- * This method returns a paginated collection of all supported topics, along with the details for the topics.
29
- *
30
- * @param limit The maximum number of items to return per page from the result set.
31
- * @param continuationToken The token used to access the next set of results.
32
- */
33
14
  getTopics({ limit, continuationToken: continuation_token }) {
34
15
  return this.get(`/topic`, {
35
16
  params: {
@@ -38,12 +19,6 @@ class Notification extends Restful {
38
19
  }
39
20
  });
40
21
  }
41
- /**
42
- * This method allows applications to retrieve a list of all subscriptions.
43
- *
44
- * @param limit The number of items, from the result set, returned in a single page.
45
- * @param continuation_token The continuation token for the next set of results.
46
- */
47
22
  getSubscriptions({ limit, continuationToken: continuation_token }) {
48
23
  return this.get(`/subscription`, {
49
24
  params: {
@@ -52,72 +27,33 @@ class Notification extends Restful {
52
27
  }
53
28
  });
54
29
  }
55
- /**
56
- * This method allows applications to retrieve a list of all subscriptions.
57
- *
58
- * @param body The create subscription request.
59
- */
60
30
  createSubscription(body) {
61
31
  return this.post(`/subscription`, body);
62
32
  }
63
- /**
64
- * This method allows applications to retrieve subscription details for the specified subscription.
65
- *
66
- * @param subscriptionId The unique identifier for the subscription.
67
- */
68
33
  getSubscription(subscriptionId) {
69
34
  subscriptionId = encodeURIComponent(subscriptionId);
70
35
  return this.get(`/subscription/${subscriptionId}`);
71
36
  }
72
- /**
73
- * This method allows applications to retrieve subscription details for the specified subscription.
74
- *
75
- * @param subscriptionId The unique identifier for the subscription.
76
- * @param body The update subscription request.
77
- */
78
37
  updateSubscription(subscriptionId, body) {
79
38
  subscriptionId = encodeURIComponent(subscriptionId);
80
39
  return this.put(`/subscription/${subscriptionId}`, body);
81
40
  }
82
- /**
83
- * This method allows applications to delete a subscription.
84
- *
85
- * @param subscriptionId The unique identifier for the subscription.
86
- */
87
41
  deleteSubscription(subscriptionId) {
88
42
  subscriptionId = encodeURIComponent(subscriptionId);
89
43
  return this.delete(`/subscription/${subscriptionId}`);
90
44
  }
91
- /**
92
- * This method allows applications to enable a disabled subscription.
93
- *
94
- * @param subscriptionId The unique identifier for the subscription.
95
- */
96
45
  enableSubscription(subscriptionId) {
97
46
  subscriptionId = encodeURIComponent(subscriptionId);
98
47
  return this.post(`/subscription/${subscriptionId}/enable`);
99
48
  }
100
- /**
101
- * This method disables a subscription, which prevents the subscription from providing notifications.
102
- * @param subscriptionId The unique identifier for the subscription.
103
- */
104
49
  disableSubscription(subscriptionId) {
105
50
  subscriptionId = encodeURIComponent(subscriptionId);
106
51
  return this.post(`/subscription/${subscriptionId}/disable`);
107
52
  }
108
- /**
109
- * This method triggers a mocked test payload that includes a notification ID, publish date, and so on.
110
- *
111
- * @param subscriptionId The unique identifier for the subscription.
112
- */
113
53
  test(subscriptionId) {
114
54
  subscriptionId = encodeURIComponent(subscriptionId);
115
55
  return this.post(`/subscription/${subscriptionId}/test`);
116
56
  }
117
- /**
118
- * This method allows applications to retrieve a paginated collection of destination resources and related details.
119
- * @param subscriptionId The unique identifier for the subscription.
120
- */
121
57
  getDestinations({ limit, continuationToken: continuation_token }) {
122
58
  return this.get(`/destination`, {
123
59
  params: {
@@ -126,53 +62,24 @@ class Notification extends Restful {
126
62
  }
127
63
  });
128
64
  }
129
- /**
130
- * This method allows applications to create a destination.
131
- *
132
- * @param body The create destination request.
133
- */
134
65
  createDestination(body) {
135
66
  return this.post(`/destination`, body);
136
67
  }
137
- /**
138
- * This method allows applications to fetch the details for a destination.
139
- *
140
- * @param destinationId The unique identifier for the destination.
141
- */
142
68
  getDestination(destinationId) {
143
69
  destinationId = encodeURIComponent(destinationId);
144
70
  return this.get(`/destination/${destinationId}`);
145
71
  }
146
- /**
147
- * This method allows applications to update a destination.
148
- *
149
- * @param destinationId The unique identifier for the destination.
150
- * @param body The create subscription request.
151
- */
152
72
  updateDestination(destinationId, body) {
153
73
  destinationId = encodeURIComponent(destinationId);
154
74
  return this.put(`/destination/${destinationId}`, body);
155
75
  }
156
- /**
157
- * his method provides applications a way to delete a destination.
158
- *
159
- * @param destinationId The unique identifier for the destination.
160
- */
161
76
  deleteDestination(destinationId) {
162
77
  destinationId = encodeURIComponent(destinationId);
163
78
  return this.delete(`/destination/${destinationId}`);
164
79
  }
165
- /**
166
- * This method allows applications to retrieve a previously created configuration.
167
- */
168
80
  getConfig() {
169
81
  return this.get(`/config`);
170
82
  }
171
- /**
172
- * This method allows applications to create a new configuration or update an existing configuration.
173
- *
174
- * @param body The configurations for this application.
175
- */
176
83
  updateConfig(body) {
177
84
  return this.put(`/config`, body);
178
85
  }
@@ -1,79 +1,15 @@
1
1
  /// <reference types="node" resolution-mode="require"/>
2
2
  import { operations } from '../../../../types/restful/specs/commerce_taxonomy_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * Use the Taxonomy API to discover the most appropriate eBay categories under which sellers can offer inventory items
6
- * for sale, and the most likely categories under which buyers can browse or search for items to purchase.
7
- */
8
4
  export default class Taxonomy extends Restful implements OpenApi<operations> {
9
5
  static id: string;
10
6
  get basePath(): string;
11
- /**
12
- * A given eBay marketplace might use multiple category trees, but one of those trees is considered to be the
13
- * default for that marketplace.
14
- *
15
- * @param marketplaceId The ID of the eBay marketplace for which the category tree ID is being requested.
16
- */
17
7
  getDefaultCategoryTreeId(marketplaceId: string): Promise<any>;
18
- /**
19
- * This call retrieves the complete category tree that is identified by the category_tree_id parameter.
20
- *
21
- * @param categoryTreeId
22
- */
23
8
  getCategoryTree(categoryTreeId: string): Promise<any>;
24
- /**
25
- * This call retrieves the details of all nodes of the category tree hierarchy (the subtree) below a specified
26
- * category of a category tree.
27
- *
28
- * @param categoryTreeId The unique identifier of the eBay category tree from which a category subtree is being
29
- * requested.
30
- * @param categoryId The unique identifier of the category at the top of the subtree being requested.
31
- */
32
9
  getCategorySubtree(categoryTreeId: string, categoryId: string): Promise<any>;
33
- /**
34
- * This call returns an array of category tree leaf nodes in the specified category tree that are considered by eBay
35
- * to most closely correspond to the query string q.
36
- *
37
- * @param categoryTreeId The unique identifier of the eBay category tree for which suggested nodes are being
38
- * requested.
39
- * @param q A quoted string that describes or characterizes the item being offered for sale.
40
- */
41
10
  getCategorySuggestions(categoryTreeId: string, q: string): Promise<any>;
42
- /**
43
- * This call returns a list of aspects that are appropriate or necessary for accurately describing items in the
44
- * specified leaf category.
45
- *
46
- * @param categoryTreeId The unique identifier of the eBay category tree from which the specified category's
47
- * aspects are being requested.
48
- * @param categoryId The unique identifier of the leaf category for which aspects are being requested.
49
- */
50
11
  getItemAspectsForCategory(categoryTreeId: string, categoryId: string): Promise<any>;
51
- /**
52
- * This call retrieves the compatible vehicle aspects that are used to define a motor vehicle that is compatible
53
- * with a motor vehicle part or accessory.
54
- *
55
- * @param categoryTreeId This is the unique identifier of category tree. The following is the list of
56
- * category_tree_id values and the eBay marketplaces that they represent.
57
- *
58
- * @param categoryId The unique identifier of an eBay category.
59
- */
60
12
  getCompatibilityProperties(categoryTreeId: string, categoryId: string): Promise<any>;
61
- /**
62
- * This call retrieves applicable compatible vehicle property values based on the specified eBay marketplace,
63
- * specified eBay category, and filters used in the request.
64
- *
65
- * @param categoryTreeId This is the unique identifier of the category tree.
66
- * @param categoryId The unique identifier of an eBay category.
67
- * @param compatibilityProperty One compatible vehicle property applicable to the specified eBay marketplace and
68
- * eBay category is specified in this required filter.
69
- */
70
13
  getCompatibilityPropertyValues(categoryTreeId: string, categoryId: string, compatibilityProperty: string): Promise<any>;
71
- /**
72
- * This call returns a complete list of aspects for all of the leaf categories that belong to an eBay marketplace.
73
- *
74
- * @param categoryTreeId
75
- *
76
- * @return A JSON GZIP compressed file buffer
77
- */
78
14
  fetchItemAspects(categoryTreeId: string): Promise<Buffer>;
79
15
  }
@@ -1,18 +1,8 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * Use the Taxonomy API to discover the most appropriate eBay categories under which sellers can offer inventory items
4
- * for sale, and the most likely categories under which buyers can browse or search for items to purchase.
5
- */
6
2
  class Taxonomy extends Restful {
7
3
  get basePath() {
8
4
  return '/commerce/taxonomy/v1';
9
5
  }
10
- /**
11
- * A given eBay marketplace might use multiple category trees, but one of those trees is considered to be the
12
- * default for that marketplace.
13
- *
14
- * @param marketplaceId The ID of the eBay marketplace for which the category tree ID is being requested.
15
- */
16
6
  getDefaultCategoryTreeId(marketplaceId) {
17
7
  return this.get(`/get_default_category_tree_id`, {
18
8
  params: {
@@ -20,23 +10,10 @@ class Taxonomy extends Restful {
20
10
  }
21
11
  });
22
12
  }
23
- /**
24
- * This call retrieves the complete category tree that is identified by the category_tree_id parameter.
25
- *
26
- * @param categoryTreeId
27
- */
28
13
  getCategoryTree(categoryTreeId) {
29
14
  const cId = encodeURIComponent(categoryTreeId);
30
15
  return this.get(`/category_tree/${cId}`);
31
16
  }
32
- /**
33
- * This call retrieves the details of all nodes of the category tree hierarchy (the subtree) below a specified
34
- * category of a category tree.
35
- *
36
- * @param categoryTreeId The unique identifier of the eBay category tree from which a category subtree is being
37
- * requested.
38
- * @param categoryId The unique identifier of the category at the top of the subtree being requested.
39
- */
40
17
  getCategorySubtree(categoryTreeId, categoryId) {
41
18
  categoryTreeId = encodeURIComponent(categoryTreeId);
42
19
  return this.get(`/category_tree/${categoryTreeId}/get_category_subtree`, {
@@ -45,14 +22,6 @@ class Taxonomy extends Restful {
45
22
  }
46
23
  });
47
24
  }
48
- /**
49
- * This call returns an array of category tree leaf nodes in the specified category tree that are considered by eBay
50
- * to most closely correspond to the query string q.
51
- *
52
- * @param categoryTreeId The unique identifier of the eBay category tree for which suggested nodes are being
53
- * requested.
54
- * @param q A quoted string that describes or characterizes the item being offered for sale.
55
- */
56
25
  getCategorySuggestions(categoryTreeId, q) {
57
26
  return this.get(`/category_tree/${categoryTreeId}/get_category_suggestions`, {
58
27
  params: {
@@ -60,14 +29,6 @@ class Taxonomy extends Restful {
60
29
  }
61
30
  });
62
31
  }
63
- /**
64
- * This call returns a list of aspects that are appropriate or necessary for accurately describing items in the
65
- * specified leaf category.
66
- *
67
- * @param categoryTreeId The unique identifier of the eBay category tree from which the specified category's
68
- * aspects are being requested.
69
- * @param categoryId The unique identifier of the leaf category for which aspects are being requested.
70
- */
71
32
  getItemAspectsForCategory(categoryTreeId, categoryId) {
72
33
  categoryTreeId = encodeURIComponent(categoryTreeId);
73
34
  return this.get(`/category_tree/${categoryTreeId}/get_item_aspects_for_category`, {
@@ -76,15 +37,6 @@ class Taxonomy extends Restful {
76
37
  }
77
38
  });
78
39
  }
79
- /**
80
- * This call retrieves the compatible vehicle aspects that are used to define a motor vehicle that is compatible
81
- * with a motor vehicle part or accessory.
82
- *
83
- * @param categoryTreeId This is the unique identifier of category tree. The following is the list of
84
- * category_tree_id values and the eBay marketplaces that they represent.
85
- *
86
- * @param categoryId The unique identifier of an eBay category.
87
- */
88
40
  getCompatibilityProperties(categoryTreeId, categoryId) {
89
41
  categoryTreeId = encodeURIComponent(categoryTreeId);
90
42
  return this.get(`/category_tree/${categoryTreeId}/get_compatibility_properties`, {
@@ -93,15 +45,6 @@ class Taxonomy extends Restful {
93
45
  }
94
46
  });
95
47
  }
96
- /**
97
- * This call retrieves applicable compatible vehicle property values based on the specified eBay marketplace,
98
- * specified eBay category, and filters used in the request.
99
- *
100
- * @param categoryTreeId This is the unique identifier of the category tree.
101
- * @param categoryId The unique identifier of an eBay category.
102
- * @param compatibilityProperty One compatible vehicle property applicable to the specified eBay marketplace and
103
- * eBay category is specified in this required filter.
104
- */
105
48
  getCompatibilityPropertyValues(categoryTreeId, categoryId, compatibilityProperty) {
106
49
  categoryTreeId = encodeURIComponent(categoryTreeId);
107
50
  return this.get(`/category_tree/${categoryTreeId}/get_compatibility_property_values`, {
@@ -111,13 +54,6 @@ class Taxonomy extends Restful {
111
54
  }
112
55
  });
113
56
  }
114
- /**
115
- * This call returns a complete list of aspects for all of the leaf categories that belong to an eBay marketplace.
116
- *
117
- * @param categoryTreeId
118
- *
119
- * @return A JSON GZIP compressed file buffer
120
- */
121
57
  fetchItemAspects(categoryTreeId) {
122
58
  categoryTreeId = encodeURIComponent(categoryTreeId);
123
59
  return this.get(`/category_tree/${categoryTreeId}/fetch_item_aspects`, {
@@ -1,16 +1,8 @@
1
1
  import { TranslateRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/commerce_translation_v1_beta_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
- /**
5
- * This API allows 3rd party developers to translate item title, description, search query.
6
- */
7
4
  export default class Translation extends Restful implements OpenApi<operations> {
8
5
  static id: string;
9
6
  get basePath(): string;
10
- /**
11
- * Translates input text inot a given language.
12
- *
13
- * @param body TranslateRequest
14
- */
15
7
  translate(body: TranslateRequest): Promise<any>;
16
8
  }
@@ -1,16 +1,8 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * This API allows 3rd party developers to translate item title, description, search query.
4
- */
5
2
  class Translation extends Restful {
6
3
  get basePath() {
7
4
  return '/commerce/translation/v1_beta';
8
5
  }
9
- /**
10
- * Translates input text inot a given language.
11
- *
12
- * @param body TranslateRequest
13
- */
14
6
  translate(body) {
15
7
  return this.post(`/translate`, body);
16
8
  }
@@ -1,23 +1,8 @@
1
1
  import { operations } from '../../../../types/restful/specs/developer_analytics_v1_beta_oas3.js';
2
2
  import Restful, { OpenApi } from '../../index.js';
3
- /**
4
- * This method retrieves the call limit and utilization data for an application.
5
- */
6
3
  export default class Analytics extends Restful implements OpenApi<operations> {
7
4
  static id: string;
8
5
  get basePath(): string;
9
- /**
10
- * This method retrieves the call limit and utilization data for an application.
11
- *
12
- * @param apiContext This optional query parameter filters the result to include only the specified API context.
13
- * @param apiName This optional query parameter filters the result to include only the APIs specified.
14
- */
15
6
  getRateLimits(apiContext: string, apiName: string): Promise<any>;
16
- /**
17
- * This method retrieves the call limit and utilization data for an application user.
18
- *
19
- * @param apiContext This optional query parameter filters the result to include only the specified API context.
20
- * @param apiName This optional query parameter filters the result to include only the APIs specified.
21
- */
22
7
  getUserRateLimits(apiContext: string, apiName: string): Promise<any>;
23
8
  }
@@ -1,17 +1,8 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * This method retrieves the call limit and utilization data for an application.
4
- */
5
2
  class Analytics extends Restful {
6
3
  get basePath() {
7
4
  return '/developer/analytics/v1_beta';
8
5
  }
9
- /**
10
- * This method retrieves the call limit and utilization data for an application.
11
- *
12
- * @param apiContext This optional query parameter filters the result to include only the specified API context.
13
- * @param apiName This optional query parameter filters the result to include only the APIs specified.
14
- */
15
6
  getRateLimits(apiContext, apiName) {
16
7
  return this.get(`/rate_limit/`, {
17
8
  params: {
@@ -20,12 +11,6 @@ class Analytics extends Restful {
20
11
  }
21
12
  });
22
13
  }
23
- /**
24
- * This method retrieves the call limit and utilization data for an application user.
25
- *
26
- * @param apiContext This optional query parameter filters the result to include only the specified API context.
27
- * @param apiName This optional query parameter filters the result to include only the APIs specified.
28
- */
29
14
  getUserRateLimits(apiContext, apiName) {
30
15
  return this.get(`/user_rate_limit/`, {
31
16
  params: {
@@ -1,25 +1,10 @@
1
1
  import { operations } from '../../../../types/restful/specs/developer_key_management_v1_oas3.js';
2
2
  import Restful, { OpenApi } from '../../index.js';
3
- /**
4
- * This method retrieves the call limit and utilization data for an application.
5
- */
6
3
  export default class KeyManagement extends Restful implements OpenApi<operations> {
7
4
  static id: string;
8
5
  get subdomain(): string;
9
6
  get basePath(): string;
10
- /**
11
- * This method returns the <b>Public Key</b>, <b>Public Key as JWE</b>,
12
- * and metadata for all keypairs associated with the application key making the call.
13
- */
14
7
  getSigningKeys(): Promise<any>;
15
- /**
16
- * This method creates keypairs.
17
- */
18
8
  createSigningKey(signingKeyCipher: 'ED25519' | 'RSA'): Promise<any>;
19
- /**
20
- * This method returns the <b>Public Key</b>, <b>Public Key as JWE</b>,
21
- * and metadata for a specified <code>signingKeyId</code> associated with the application key making the call.
22
- * @param signingKeyId the signin key
23
- */
24
9
  getSigningKey(signingKeyId: string): Promise<any>;
25
10
  }
@@ -1,7 +1,4 @@
1
1
  import Restful from '../../index.js';
2
- /**
3
- * This method retrieves the call limit and utilization data for an application.
4
- */
5
2
  class KeyManagement extends Restful {
6
3
  get subdomain() {
7
4
  return 'apiz';
@@ -9,26 +6,14 @@ class KeyManagement extends Restful {
9
6
  get basePath() {
10
7
  return '/developer/key_management/v1';
11
8
  }
12
- /**
13
- * This method returns the <b>Public Key</b>, <b>Public Key as JWE</b>,
14
- * and metadata for all keypairs associated with the application key making the call.
15
- */
16
9
  getSigningKeys() {
17
10
  return this.get(`/signing_key`);
18
11
  }
19
- /**
20
- * This method creates keypairs.
21
- */
22
12
  createSigningKey(signingKeyCipher) {
23
13
  return this.post(`/signing_key`, {
24
14
  signingKeyCipher
25
15
  });
26
16
  }
27
- /**
28
- * This method returns the <b>Public Key</b>, <b>Public Key as JWE</b>,
29
- * and metadata for a specified <code>signingKeyId</code> associated with the application key making the call.
30
- * @param signingKeyId the signin key
31
- */
32
17
  getSigningKey(signingKeyId) {
33
18
  return this.get(`/signing_key/${signingKeyId}`);
34
19
  }
@@ -31,9 +31,6 @@ export default abstract class Restful extends Api {
31
31
  constructor(config: AppConfig, req?: IEBayApiRequest, auth?: Auth, apiConfig?: RestfulApiConfig);
32
32
  static buildServerUrl(schema: string, subdomain: string, sandbox: boolean, tld: string): string;
33
33
  abstract get basePath(): string;
34
- /**
35
- * Enable to supports the use of OAuth tokens for user authorization.
36
- */
37
34
  get useIaf(): boolean;
38
35
  get schema(): string;
39
36
  get subdomain(): string;
@@ -41,22 +38,9 @@ export default abstract class Restful extends Api {
41
38
  getServerUrl({ schema, subdomain, apiVersion, basePath, sandbox, tld }: Required<RestfulApiConfig>): string;
42
39
  getApiConfig(): Required<RestfulApiConfig>;
43
40
  get baseUrl(): string;
44
- /**
45
- * Create a new instances of it self with specified api config.
46
- * @param apiConfig
47
- */
48
41
  api(apiConfig: RestfulApiConfig): this;
49
- /**
50
- * Use "apix" subdomain
51
- */
52
42
  get apix(): this;
53
- /**
54
- * Use "apiz" subdomain
55
- */
56
43
  get apiz(): this;
57
- /**
58
- * Sign request
59
- */
60
44
  get sign(): this;
61
45
  get(path: string, config?: any, apiConfig?: RestfulApiConfig): Promise<any>;
62
46
  delete(path: string, config?: any, apiConfig?: RestfulApiConfig): Promise<any>;