ebay-api 8.5.1 → 8.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/README.md +2 -2
  2. package/dist/api/apiFactory.d.ts +0 -3
  3. package/dist/api/apiFactory.js +0 -4
  4. package/dist/api/base.d.ts +0 -3
  5. package/dist/api/base.js +0 -3
  6. package/dist/api/digitalSignature.d.ts +0 -33
  7. package/dist/api/digitalSignature.js +1 -41
  8. package/dist/api/index.d.ts +0 -3
  9. package/dist/api/index.js +0 -3
  10. package/dist/api/restful/buy/browse/index.d.ts +0 -66
  11. package/dist/api/restful/buy/browse/index.js +0 -73
  12. package/dist/api/restful/buy/deal/index.d.ts +0 -32
  13. package/dist/api/restful/buy/deal/index.js +0 -32
  14. package/dist/api/restful/buy/feed/index.d.ts +0 -33
  15. package/dist/api/restful/buy/feed/index.js +0 -33
  16. package/dist/api/restful/buy/marketing/index.d.ts +0 -18
  17. package/dist/api/restful/buy/marketing/index.js +0 -22
  18. package/dist/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  19. package/dist/api/restful/buy/marketplaceInsights/index.js +0 -21
  20. package/dist/api/restful/buy/offer/index.d.ts +0 -15
  21. package/dist/api/restful/buy/offer/index.js +0 -15
  22. package/dist/api/restful/buy/order/index.d.ts +0 -227
  23. package/dist/api/restful/buy/order/index.js +0 -227
  24. package/dist/api/restful/commerce/catalog/index.d.ts +0 -54
  25. package/dist/api/restful/commerce/catalog/index.js +0 -54
  26. package/dist/api/restful/commerce/charity/index.d.ts +0 -21
  27. package/dist/api/restful/commerce/charity/index.js +0 -21
  28. package/dist/api/restful/commerce/identity/index.d.ts +0 -7
  29. package/dist/api/restful/commerce/identity/index.js +0 -7
  30. package/dist/api/restful/commerce/notification/index.d.ts +0 -93
  31. package/dist/api/restful/commerce/notification/index.js +0 -93
  32. package/dist/api/restful/commerce/taxonomy/index.d.ts +0 -64
  33. package/dist/api/restful/commerce/taxonomy/index.js +0 -64
  34. package/dist/api/restful/commerce/translation/index.d.ts +0 -8
  35. package/dist/api/restful/commerce/translation/index.js +0 -8
  36. package/dist/api/restful/developer/analytics/index.d.ts +0 -15
  37. package/dist/api/restful/developer/analytics/index.js +0 -15
  38. package/dist/api/restful/developer/keyManagement/index.d.ts +0 -15
  39. package/dist/api/restful/developer/keyManagement/index.js +0 -15
  40. package/dist/api/restful/index.d.ts +0 -16
  41. package/dist/api/restful/index.js +1 -23
  42. package/dist/api/restful/postOrder/cancellation/index.d.ts +0 -43
  43. package/dist/api/restful/postOrder/cancellation/index.js +1 -46
  44. package/dist/api/restful/postOrder/case/index.d.ts +0 -46
  45. package/dist/api/restful/postOrder/case/index.js +0 -46
  46. package/dist/api/restful/postOrder/inquiry/index.d.ts +0 -64
  47. package/dist/api/restful/postOrder/inquiry/index.js +0 -64
  48. package/dist/api/restful/postOrder/return/index.d.ts +0 -190
  49. package/dist/api/restful/postOrder/return/index.js +0 -190
  50. package/dist/api/restful/sell/account/index.d.ts +0 -241
  51. package/dist/api/restful/sell/account/index.js +0 -241
  52. package/dist/api/restful/sell/analytics/index.d.ts +0 -26
  53. package/dist/api/restful/sell/analytics/index.js +0 -26
  54. package/dist/api/restful/sell/compliance/index.d.ts +0 -23
  55. package/dist/api/restful/sell/compliance/index.js +0 -23
  56. package/dist/api/restful/sell/feed/index.d.ts +0 -135
  57. package/dist/api/restful/sell/feed/index.js +0 -135
  58. package/dist/api/restful/sell/finances/index.d.ts +0 -51
  59. package/dist/api/restful/sell/finances/index.js +0 -51
  60. package/dist/api/restful/sell/fulfillment/index.d.ts +0 -108
  61. package/dist/api/restful/sell/fulfillment/index.js +0 -108
  62. package/dist/api/restful/sell/inventory/index.d.ts +0 -197
  63. package/dist/api/restful/sell/inventory/index.js +0 -197
  64. package/dist/api/restful/sell/listing/index.d.ts +0 -8
  65. package/dist/api/restful/sell/listing/index.js +0 -8
  66. package/dist/api/restful/sell/logistics/index.d.ts +0 -33
  67. package/dist/api/restful/sell/logistics/index.js +0 -33
  68. package/dist/api/restful/sell/marketing/index.d.ts +16 -495
  69. package/dist/api/restful/sell/marketing/index.js +48 -494
  70. package/dist/api/restful/sell/metadata/index.d.ts +0 -65
  71. package/dist/api/restful/sell/metadata/index.js +0 -65
  72. package/dist/api/restful/sell/negotiation/index.d.ts +0 -14
  73. package/dist/api/restful/sell/negotiation/index.js +0 -14
  74. package/dist/api/restful/sell/recommendation/index.d.ts +0 -15
  75. package/dist/api/restful/sell/recommendation/index.js +0 -15
  76. package/dist/api/traditional/XMLRequest.d.ts +0 -44
  77. package/dist/api/traditional/XMLRequest.js +0 -46
  78. package/dist/api/traditional/clientAlerts/index.js +0 -1
  79. package/dist/api/traditional/index.d.ts +0 -3
  80. package/dist/api/traditional/index.js +0 -5
  81. package/dist/api/traditional/shopping/index.js +0 -1
  82. package/dist/auth/authNAuth.d.ts +0 -5
  83. package/dist/auth/authNAuth.js +0 -5
  84. package/dist/auth/index.d.ts +0 -3
  85. package/dist/auth/index.js +0 -3
  86. package/dist/auth/oAuth2.d.ts +0 -52
  87. package/dist/auth/oAuth2.js +0 -53
  88. package/dist/eBayApi.d.ts +0 -11
  89. package/dist/eBayApi.js +0 -14
  90. package/dist/ebay-api.min.mjs +1 -1
  91. package/dist/enums/restfulEnums.d.ts +0 -5
  92. package/dist/enums/restfulEnums.js +0 -5
  93. package/dist/errors/index.d.ts +0 -19
  94. package/dist/errors/index.js +1 -21
  95. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  96. package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  97. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  98. package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  99. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  100. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  101. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  102. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  103. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  104. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  105. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  106. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  107. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  108. package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  109. package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
  110. package/dist/types/restful/specs/cancellation_oas3.js +0 -4
  111. package/dist/types/restful/specs/case_oas3.d.ts +0 -31
  112. package/dist/types/restful/specs/case_oas3.js +0 -4
  113. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  114. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  115. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  116. package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  117. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  118. package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  119. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  120. package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  121. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  122. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  123. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  124. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  125. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  126. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  127. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  128. package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  129. package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
  130. package/dist/types/restful/specs/inquiry_oas3.js +0 -4
  131. package/dist/types/restful/specs/return_oas3.d.ts +0 -130
  132. package/dist/types/restful/specs/return_oas3.js +0 -4
  133. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  134. package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
  135. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  136. package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  137. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  138. package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  139. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  140. package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  141. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  142. package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  143. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  144. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  145. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  146. package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  147. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  148. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  149. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  150. package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  151. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  152. package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  153. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  154. package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  155. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  156. package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  157. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  158. package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  159. package/dist/types/restfulTypes.d.ts +3 -0
  160. package/lib/api/apiFactory.d.ts +0 -3
  161. package/lib/api/apiFactory.js +0 -4
  162. package/lib/api/base.d.ts +0 -3
  163. package/lib/api/base.js +0 -3
  164. package/lib/api/digitalSignature.d.ts +0 -33
  165. package/lib/api/digitalSignature.js +1 -41
  166. package/lib/api/index.d.ts +0 -3
  167. package/lib/api/index.js +0 -3
  168. package/lib/api/restful/buy/browse/index.d.ts +0 -66
  169. package/lib/api/restful/buy/browse/index.js +0 -73
  170. package/lib/api/restful/buy/deal/index.d.ts +0 -32
  171. package/lib/api/restful/buy/deal/index.js +0 -32
  172. package/lib/api/restful/buy/feed/index.d.ts +0 -33
  173. package/lib/api/restful/buy/feed/index.js +0 -33
  174. package/lib/api/restful/buy/marketing/index.d.ts +0 -18
  175. package/lib/api/restful/buy/marketing/index.js +0 -22
  176. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  177. package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
  178. package/lib/api/restful/buy/offer/index.d.ts +0 -15
  179. package/lib/api/restful/buy/offer/index.js +0 -15
  180. package/lib/api/restful/buy/order/index.d.ts +0 -227
  181. package/lib/api/restful/buy/order/index.js +0 -227
  182. package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
  183. package/lib/api/restful/commerce/catalog/index.js +0 -54
  184. package/lib/api/restful/commerce/charity/index.d.ts +0 -21
  185. package/lib/api/restful/commerce/charity/index.js +0 -21
  186. package/lib/api/restful/commerce/identity/index.d.ts +0 -7
  187. package/lib/api/restful/commerce/identity/index.js +0 -7
  188. package/lib/api/restful/commerce/notification/index.d.ts +0 -93
  189. package/lib/api/restful/commerce/notification/index.js +0 -93
  190. package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
  191. package/lib/api/restful/commerce/taxonomy/index.js +0 -64
  192. package/lib/api/restful/commerce/translation/index.d.ts +0 -8
  193. package/lib/api/restful/commerce/translation/index.js +0 -8
  194. package/lib/api/restful/developer/analytics/index.d.ts +0 -15
  195. package/lib/api/restful/developer/analytics/index.js +0 -15
  196. package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
  197. package/lib/api/restful/developer/keyManagement/index.js +0 -15
  198. package/lib/api/restful/index.d.ts +0 -16
  199. package/lib/api/restful/index.js +1 -23
  200. package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
  201. package/lib/api/restful/postOrder/cancellation/index.js +1 -46
  202. package/lib/api/restful/postOrder/case/index.d.ts +0 -46
  203. package/lib/api/restful/postOrder/case/index.js +0 -46
  204. package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
  205. package/lib/api/restful/postOrder/inquiry/index.js +0 -64
  206. package/lib/api/restful/postOrder/return/index.d.ts +0 -190
  207. package/lib/api/restful/postOrder/return/index.js +0 -190
  208. package/lib/api/restful/sell/account/index.d.ts +0 -241
  209. package/lib/api/restful/sell/account/index.js +0 -241
  210. package/lib/api/restful/sell/analytics/index.d.ts +0 -26
  211. package/lib/api/restful/sell/analytics/index.js +0 -26
  212. package/lib/api/restful/sell/compliance/index.d.ts +0 -23
  213. package/lib/api/restful/sell/compliance/index.js +0 -23
  214. package/lib/api/restful/sell/feed/index.d.ts +0 -135
  215. package/lib/api/restful/sell/feed/index.js +0 -135
  216. package/lib/api/restful/sell/finances/index.d.ts +0 -51
  217. package/lib/api/restful/sell/finances/index.js +0 -51
  218. package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
  219. package/lib/api/restful/sell/fulfillment/index.js +0 -108
  220. package/lib/api/restful/sell/inventory/index.d.ts +0 -197
  221. package/lib/api/restful/sell/inventory/index.js +0 -197
  222. package/lib/api/restful/sell/listing/index.d.ts +0 -8
  223. package/lib/api/restful/sell/listing/index.js +0 -8
  224. package/lib/api/restful/sell/logistics/index.d.ts +0 -33
  225. package/lib/api/restful/sell/logistics/index.js +0 -33
  226. package/lib/api/restful/sell/marketing/index.d.ts +16 -495
  227. package/lib/api/restful/sell/marketing/index.js +48 -494
  228. package/lib/api/restful/sell/metadata/index.d.ts +0 -65
  229. package/lib/api/restful/sell/metadata/index.js +0 -65
  230. package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
  231. package/lib/api/restful/sell/negotiation/index.js +0 -14
  232. package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
  233. package/lib/api/restful/sell/recommendation/index.js +0 -15
  234. package/lib/api/traditional/XMLRequest.d.ts +0 -44
  235. package/lib/api/traditional/XMLRequest.js +0 -46
  236. package/lib/api/traditional/clientAlerts/index.js +0 -1
  237. package/lib/api/traditional/index.d.ts +0 -3
  238. package/lib/api/traditional/index.js +0 -5
  239. package/lib/api/traditional/shopping/index.js +0 -1
  240. package/lib/auth/authNAuth.d.ts +0 -5
  241. package/lib/auth/authNAuth.js +0 -5
  242. package/lib/auth/index.d.ts +0 -3
  243. package/lib/auth/index.js +0 -3
  244. package/lib/auth/oAuth2.d.ts +0 -52
  245. package/lib/auth/oAuth2.js +0 -53
  246. package/lib/eBayApi.d.ts +0 -11
  247. package/lib/eBayApi.js +0 -14
  248. package/lib/ebay-api.min.js +1 -1
  249. package/lib/enums/restfulEnums.d.ts +0 -5
  250. package/lib/enums/restfulEnums.js +0 -5
  251. package/lib/errors/index.d.ts +0 -19
  252. package/lib/errors/index.js +1 -21
  253. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  254. package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  255. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  256. package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  257. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  258. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  259. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  260. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  261. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  262. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  263. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  264. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  265. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  266. package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  267. package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
  268. package/lib/types/restful/specs/cancellation_oas3.js +0 -4
  269. package/lib/types/restful/specs/case_oas3.d.ts +0 -31
  270. package/lib/types/restful/specs/case_oas3.js +0 -4
  271. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  272. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  273. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  274. package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  275. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  276. package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  277. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  278. package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  279. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  280. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  281. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  282. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  283. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  284. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  285. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  286. package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  287. package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
  288. package/lib/types/restful/specs/inquiry_oas3.js +0 -4
  289. package/lib/types/restful/specs/return_oas3.d.ts +0 -130
  290. package/lib/types/restful/specs/return_oas3.js +0 -4
  291. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  292. package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
  293. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  294. package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  295. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  296. package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  297. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  298. package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  299. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  300. package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  301. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  302. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  303. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  304. package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  305. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  306. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  307. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  308. package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  309. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  310. package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  311. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  312. package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  313. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  314. package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  315. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  316. package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  317. package/lib/types/restfulTypes.d.ts +3 -0
  318. package/package.json +2 -2
@@ -1,268 +1,144 @@
1
- /**
2
- * This file was auto-generated by openapi-typescript.
3
- * Do not make direct changes to the file.
4
- */
5
1
  export interface paths {
6
2
  "/public_key/{public_key_id}": {
7
- /** @description This method allows users to retrieve a public key using a specified key ID. The public key that is returned in the response payload is used to process and validate eBay notifications.<br /><br />The public key ID, which is a required request parameter for this method, is retrieved from the Base64-encoded <b>X-EBAY-SIGNATURE</b> header that is included in the eBay notification.<br /><br /><span class="tablenote"><b>Note:</b> For more details about how to process eBay push notifications and validate notification message payloads, see the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a>.</span> */
8
3
  get: operations["getPublicKey"];
9
4
  };
10
5
  "/topic/{topic_id}": {
11
- /** @description This method allows applications to retrieve details for the specified topic. This information includes supported schema versions, formats, and other metadata for the topic.<br /><br />Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br /><br />A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic).<br /><br />Specify the topic to retrieve using the <b>topic_id</b> URI parameter.<br /><br /><span class="tablenote"><b>Note:</b> Use the <a href="/api-docs/commerce/notification/resources/topic/methods/getTopics">getTopics</a> method to find a topic if you do not know the topic ID.</span> */
12
6
  get: operations["getTopic"];
13
7
  };
14
8
  "/topic": {
15
- /** @description This method returns a paginated collection of all supported topics, along with the details for the topics. This information includes supported schema versions, formats, and other metadata for the topics.<br /><br />Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br /><br />A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic). */
16
9
  get: operations["getTopics"];
17
10
  };
18
11
  "/subscription": {
19
- /** @description This method allows applications to retrieve a list of all subscriptions. The list returned is a paginated collection of subscription resources.<br /><br />Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
20
12
  get: operations["getSubscriptions"];
21
- /** @description This method allows applications to create a subscription for a topic and supported schema version. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br/><br/>Each application and topic-schema pairing to a subscription should have a 1:1 cardinality.<br/><br/>You can create the subscription in disabled mode, test it (see the <b>test</b> method), and when everything is ready, you can enable the subscription (see the <b>enableSubscription</b> method).<br /><br /><span class="tablenote"><b>Note:</b> If an application is not authorized to subscribe to a topic, for example, if your authorization does not include the list of scopes required for the topic, an error code of 195011 is returned.</span> */
22
13
  post: operations["createSubscription"];
23
14
  };
24
15
  "/subscription/{subscription_id}": {
25
- /** @description This method allows applications to retrieve subscription details for the specified subscription.<br /><br />Specify the subscription to retrieve using the <strong>subscription_id</strong>. Use the <strong>getSubscriptions</strong> method to browse all subscriptions if you do not know the <strong>subscription_id</strong>.<br /><br />Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
26
16
  get: operations["getSubscription"];
27
- /** @description This method allows applications to update a subscription. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br /><br /><span class="tablenote"><b>Note:</b> This call returns an error if an application is not authorized to subscribe to a topic.</span><br/><br/>You can pause and restart a subscription. See the <b>disableSubscription</b> and <b>enableSubscription</b> methods. */
28
17
  put: operations["updateSubscription"];
29
- /** @description This method allows applications to delete a subscription. Subscriptions can be deleted regardless of status. */
30
18
  delete: operations["deleteSubscription"];
31
19
  };
32
20
  "/subscription/{subscription_id}/enable": {
33
- /** @description This method allows applications to enable a disabled subscription. To pause (or disable) an enabled subscription, call <strong>disableSubscription</strong>. */
34
21
  post: operations["enableSubscription"];
35
22
  };
36
23
  "/subscription/{subscription_id}/disable": {
37
- /** @description This method disables a subscription, which prevents the subscription from providing notifications. To restart a subscription, call <strong>enableSubscription</strong>. */
38
24
  post: operations["disableSubscription"];
39
25
  };
40
26
  "/subscription/{subscription_id}/test": {
41
- /** @description This method triggers a mocked test payload that includes a notification ID, publish date, and so on. Use this method to test your subscription end-to-end.<br /><br />You can create the subscription in disabled mode, test it using this method, and when everything is ready, you can enable the subscription (see the <strong>enableSubscription</strong> method).<br /><br /><span class="tablenote"><b>Note:</b> Use the <strong>notificationId</strong> to tell the difference between a test payload and a real payload.</span> */
42
27
  post: operations["test"];
43
28
  };
44
29
  "/destination": {
45
- /** @description This method allows applications to retrieve a paginated collection of destination resources and related details. The details include the destination names, statuses, and configurations, including the endpoints and verification tokens. */
46
30
  get: operations["getDestinations"];
47
- /** @description This method allows applications to create a destination. A destination is an endpoint that receives HTTP push notifications.<br /><br />A single destination for all topics is valid, as is individual destinations for each topic.<br /><br />To update a destination, use the <strong>updateDestination</strong> call.<br /><br />The destination created will need to be referenced while creating or updating a subscription to a topic.<br/><br/><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
48
31
  post: operations["createDestination"];
49
32
  };
50
33
  "/destination/{destination_id}": {
51
- /** @description This method allows applications to fetch the details for a destination. The details include the destination name, status, and configuration, including the endpoint and verification token. */
52
34
  get: operations["getDestination"];
53
- /** @description This method allows applications to update a destination.<br/><br/><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
54
35
  put: operations["updateDestination"];
55
- /** @description This method provides applications a way to delete a destination.<br /><br />The same destination ID can be used by many destinations.<br /><br />Trying to delete an active destination results in an error. You can disable a subscription, and when the destination is no longer in use, you can delete it. */
56
36
  delete: operations["deleteDestination"];
57
37
  };
58
38
  "/config": {
59
- /** @description This method allows applications to retrieve a previously created configuration. */
60
39
  get: operations["getConfig"];
61
- /** @description This method allows applications to create a new configuration or update an existing configuration. This app-level configuration allows developers to set up alerts. */
62
40
  put: operations["updateConfig"];
63
41
  };
64
42
  }
65
43
  export type webhooks = Record<string, never>;
66
44
  export interface components {
67
45
  schemas: {
68
- /** @description The type that defines the fields for the <b>alertEmail</b> field. */
69
46
  Config: {
70
- /** @description The alert email address for this application. */
71
47
  alertEmail?: string;
72
48
  };
73
- /** @description This type contains information about a subscription request. */
74
49
  CreateSubscriptionRequest: {
75
- /** @description The unique identifier for the topic associated with this subscription. */
76
50
  topicId?: string;
77
- /** @description The status of this subscription. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
78
51
  status?: string;
79
- /** @description The payload associated with this subscription. */
80
52
  payload?: components["schemas"]["SubscriptionPayloadDetail"];
81
- /** @description The unique identifier for the destination associated with this subscription. */
82
53
  destinationId?: string;
83
54
  };
84
- /** @description A type that contains information about the delivery configuration. */
85
55
  DeliveryConfig: {
86
- /** @description The endpoint for this destination. */
87
56
  endpoint?: string;
88
- /** @description The verification token associated with this endpoint. */
89
57
  verificationToken?: string;
90
58
  };
91
- /** @description A type that contains information about the destination. */
92
59
  Destination: {
93
- /** @description The unique identifier for the destination. */
94
60
  destinationId?: string;
95
- /** @description The name associated with this destination. */
96
61
  name?: string;
97
- /** @description The status for this destination.<br /><br /><span class="tablenote"><b>Note:</b> The <b>MARKED_DOWN</b> value is set by eBay systems and cannot be used in a create or update call by applications.</span><br /><br /><b>Valid values:</b><ul><li><code>ENABLED</code></li><li><code>DISABLED</code></li><li><code>MARKED_DOWN</code></li></ul> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:DestinationStatusEnum'>eBay API documentation</a> */
98
62
  status?: string;
99
- /** @description The configuration associated with this destination. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/desination'>eBay API documentation</a> */
100
63
  deliveryConfig?: string;
101
64
  };
102
- /** @description A type that contains information about the destination request. */
103
65
  DestinationRequest: {
104
- /** @description The name associated with this destination. */
105
66
  name?: string;
106
- /** @description The status for this destination.<br /><br /><span class="tablenote"><b>Note:</b> The <b>MARKED_DOWN</b> value is set by eBay systems and cannot be used in a create or update call by applications.</span><br /><br /><b>Valid values:</b><ul><li><code>ENABLED</code></li><li><code>DISABLED</code></li><li><code>MARKED_DOWN</code></li></ul> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:DestinationStatusEnum'>eBay API documentation</a> */
107
67
  status?: string;
108
- /** @description The configuration associated with this destination. */
109
68
  deliveryConfig?: components["schemas"]["DeliveryConfig"];
110
69
  };
111
- /** @description A type that contains information about the destination search response. */
112
70
  DestinationSearchResponse: {
113
- /**
114
- * Format: int32
115
- * @description The total number of matches for the search criteria.
116
- */
117
71
  total?: number;
118
- /** @description The path to the call URI that produced the current page of results. */
119
72
  href?: string;
120
- /** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
121
73
  next?: string;
122
- /**
123
- * Format: int32
124
- * @description The number of records to show in the current response.<br /><br /><b>Default:</b> 20
125
- */
126
74
  limit?: number;
127
- /** @description An array that contains the destination details. */
128
75
  destinations?: (components["schemas"]["Destination"])[];
129
76
  };
130
- /** @description This type defines the fields that can be returned in an error. */
131
77
  Error: {
132
- /** @description Identifies the type of erro. */
133
78
  category?: string;
134
- /** @description Name for the primary system where the error occurred. This is relevant for application errors. */
135
79
  domain?: string;
136
- /**
137
- * Format: int32
138
- * @description A unique number to identify the error.
139
- */
140
80
  errorId?: number;
141
- /** @description An array of request elements most closely associated to the error. */
142
81
  inputRefIds?: (string)[];
143
- /** @description A more detailed explanation of the error. */
144
82
  longMessage?: string;
145
- /** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
146
83
  message?: string;
147
- /** @description An array of request elements most closely associated to the error. */
148
84
  outputRefIds?: (string)[];
149
- /** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
150
85
  parameters?: (components["schemas"]["ErrorParameter"])[];
151
- /** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
152
86
  subdomain?: string;
153
87
  };
154
88
  ErrorParameter: {
155
- /** @description The object of the error. */
156
89
  name?: string;
157
- /** @description The value of the object. */
158
90
  value?: string;
159
91
  };
160
- /** @description A type that describes the details about a topic's payload. */
161
92
  PayloadDetail: {
162
- /** @description The supported schema version. */
163
93
  schemaVersion?: string;
164
- /** @description The supported format. Presently, <code>JSON</code> is the only supported format. */
165
94
  format?: (string)[];
166
- /** @description The supported delivery protocols. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ProtocolEnum'>eBay API documentation</a> */
167
95
  deliveryProtocol?: string;
168
- /** @description A deprecation indicator. */
169
96
  deprecated?: boolean;
170
97
  };
171
- /** @description A type that defines the public key for a unique key ID. */
172
98
  PublicKey: {
173
- /** @description The algorithm associated with the public key that is returned, such as Elliptic Curve Digital Signature Algorithm (ECDSA). */
174
99
  algorithm?: string;
175
- /** @description The digest associated with the public key that is returned, such as Secure Hash Algorithm 1 (SHA1). */
176
100
  digest?: string;
177
- /** @description The public key that is returned for the specified key ID.<br /><br />This value is used to validate the eBay push notification message payload. */
178
101
  key?: string;
179
102
  };
180
- /** @description A type that describes the subscription. */
181
103
  Subscription: {
182
- /** @description The unique identifier for the subscription. */
183
104
  subscriptionId?: string;
184
- /** @description The unique identifier for the topic associated with this subscription. */
185
105
  topicId?: string;
186
- /** @description The status of this subscription. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
187
106
  status?: string;
188
- /** @description The creation date for this subscription. */
189
107
  creationDate?: string;
190
- /** @description The payload associated with this subscription. */
191
108
  payload?: components["schemas"]["SubscriptionPayloadDetail"];
192
- /** @description The unique identifier for the destination associated with this subscription. */
193
109
  destinationId?: string;
194
110
  };
195
- /** @description A type that describes the details of the subscription payload. */
196
111
  SubscriptionPayloadDetail: {
197
- /** @description The supported format. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:FormatTypeEnum'>eBay API documentation</a> */
198
112
  format?: string;
199
- /** @description The supported schema version. */
200
113
  schemaVersion?: string;
201
- /** @description The supported protocol. For exmaple: <code>HTTPS</code> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ProtocolEnum'>eBay API documentation</a> */
202
114
  deliveryProtocol?: string;
203
115
  };
204
- /** @description A type that describes the details of the subscription search response. */
205
116
  SubscriptionSearchResponse: {
206
- /**
207
- * Format: int32
208
- * @description The total number of matches for the search criteria.
209
- */
210
117
  total?: number;
211
- /** @description The path to the call URI that produced the current page of results. */
212
118
  href?: string;
213
- /** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
214
119
  next?: string;
215
- /**
216
- * Format: int32
217
- * @description The value of the limit parameter submitted in the request, which is the maximum number of items to return per page, from the result set. A result set is the complete set of results returned by the method.<br /><br /><span class="tablenote"><b>Note:</b> Though this parameter is not required to be submitted in the request, the parameter defaults to <code>20</code> if omitted.</span><br /><br /><b>Default:</b> 20
218
- */
219
120
  limit?: number;
220
- /** @description The subscriptions that match the search criteria. */
221
121
  subscriptions?: (components["schemas"]["Subscription"])[];
222
122
  };
223
- /** @description A type that describes the details of the topic. */
224
123
  Topic: {
225
- /** @description The unique identifier for the topic. */
226
124
  topicId?: string;
227
- /** @description The description of the topic. */
228
125
  description?: string;
229
- /** @description The authorization scopes required to subscribe to this topic. */
230
126
  authorizationScopes?: (string)[];
231
- /** @description The status of this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:StatusEnum'>eBay API documentation</a> */
232
127
  status?: string;
233
- /** @description The business context associated with this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ContextEnum'>eBay API documentation</a> */
234
128
  context?: string;
235
- /** @description The scope of this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ScopeEnum'>eBay API documentation</a> */
236
129
  scope?: string;
237
- /** @description The supported payloads for this topic. */
238
130
  supportedPayloads?: (components["schemas"]["PayloadDetail"])[];
239
131
  };
240
- /** @description A type that describes the details of the topic search response. */
241
132
  TopicSearchResponse: {
242
- /**
243
- * Format: int32
244
- * @description The total number of matches for the search criteria.
245
- */
246
133
  total?: number;
247
- /** @description The path to the call URI that produced the current page of results. */
248
134
  href?: string;
249
- /** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
250
135
  next?: string;
251
- /**
252
- * Format: int32
253
- * @description The value of the limit parameter submitted in the request, which is the maximum number of items to return per page, from the result set. A result set is the complete set of results returned by the method.<br /><br /><span class="tablenote"><b>Note:</b> Though this parameter is not required to be submitted in the request, the parameter defaults to <code>20</code> if omitted.</span>
254
- */
255
136
  limit?: number;
256
- /** @description An array of topics that match the specified criteria. */
257
137
  topics?: (components["schemas"]["Topic"])[];
258
138
  };
259
- /** @description A type that describes the details of the update subscription request. */
260
139
  UpdateSubscriptionRequest: {
261
- /** @description The status of this subscription. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
262
140
  status?: string;
263
- /** @description The payload associated with this subscription. */
264
141
  payload?: components["schemas"]["SubscriptionPayloadDetail"];
265
- /** @description The unique identifier for the destination associated with this subscription. */
266
142
  destinationId?: string;
267
143
  };
268
144
  };
@@ -274,108 +150,81 @@ export interface components {
274
150
  }
275
151
  export type external = Record<string, never>;
276
152
  export interface operations {
277
- /** @description This method allows users to retrieve a public key using a specified key ID. The public key that is returned in the response payload is used to process and validate eBay notifications.<br /><br />The public key ID, which is a required request parameter for this method, is retrieved from the Base64-encoded <b>X-EBAY-SIGNATURE</b> header that is included in the eBay notification.<br /><br /><span class="tablenote"><b>Note:</b> For more details about how to process eBay push notifications and validate notification message payloads, see the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a>.</span> */
278
153
  getPublicKey: {
279
154
  parameters: {
280
155
  path: {
281
- /** @description The unique key ID that is used to retrieve the public key.<br /><br /><span class="tablenote"><b>Note: </b>This is retrieved from the <b>X-EBAY-SIGNATURE</b> header that is included with the push notification.</span> */
282
156
  public_key_id: string;
283
157
  };
284
158
  };
285
159
  responses: {
286
- /** @description OK */
287
160
  200: {
288
161
  content: {
289
162
  "application/json": components["schemas"]["PublicKey"];
290
163
  };
291
164
  };
292
- /** @description Bad Request */
293
165
  400: never;
294
- /** @description Not Found */
295
166
  404: never;
296
- /** @description Internal Server Error */
297
167
  500: never;
298
168
  };
299
169
  };
300
- /** @description This method allows applications to retrieve details for the specified topic. This information includes supported schema versions, formats, and other metadata for the topic.<br /><br />Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br /><br />A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic).<br /><br />Specify the topic to retrieve using the <b>topic_id</b> URI parameter.<br /><br /><span class="tablenote"><b>Note:</b> Use the <a href="/api-docs/commerce/notification/resources/topic/methods/getTopics">getTopics</a> method to find a topic if you do not know the topic ID.</span> */
301
170
  getTopic: {
302
171
  parameters: {
303
172
  path: {
304
- /** @description The ID of the topic for which to retrieve the details. */
305
173
  topic_id: string;
306
174
  };
307
175
  };
308
176
  responses: {
309
- /** @description OK */
310
177
  200: {
311
178
  content: {
312
179
  "application/json": components["schemas"]["Topic"];
313
180
  };
314
181
  };
315
- /** @description Bad Request */
316
182
  400: never;
317
- /** @description Not Found */
318
183
  404: never;
319
- /** @description Internal Server Error */
320
184
  500: never;
321
185
  };
322
186
  };
323
- /** @description This method returns a paginated collection of all supported topics, along with the details for the topics. This information includes supported schema versions, formats, and other metadata for the topics.<br /><br />Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br /><br />A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic). */
324
187
  getTopics: {
325
188
  parameters: {
326
189
  query?: {
327
- /** @description The maximum number of items to return per page from the result set. A result set is the complete set of results returned by the method. Range is from 10-100. <br /><br />If this parameter is omitted, the default value is used.<br/><br/><b> Default:</b> 20<br /><br /><b>Maximum:</b> 100 items per page */
328
190
  limit?: string;
329
- /** @description The token used to access the next set of results. */
330
191
  continuation_token?: string;
331
192
  };
332
193
  };
333
194
  responses: {
334
- /** @description OK */
335
195
  200: {
336
196
  content: {
337
197
  "application/json": components["schemas"]["TopicSearchResponse"];
338
198
  };
339
199
  };
340
- /** @description Bad Request */
341
200
  400: never;
342
- /** @description Internal Server Error */
343
201
  500: never;
344
202
  };
345
203
  };
346
- /** @description This method allows applications to retrieve a list of all subscriptions. The list returned is a paginated collection of subscription resources.<br /><br />Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
347
204
  getSubscriptions: {
348
205
  parameters: {
349
206
  query?: {
350
- /** @description The number of items, from the result set, returned in a single page. Range is from 10-100. If this parameter is omitted, the default value is used.<br/><br/><b>Default:</b> 20<br/><br/><b>Maximum:</b> 100 items per page */
351
207
  limit?: string;
352
- /** @description The continuation token for the next set of results. */
353
208
  continuation_token?: string;
354
209
  };
355
210
  };
356
211
  responses: {
357
- /** @description OK */
358
212
  200: {
359
213
  content: {
360
214
  "application/json": components["schemas"]["SubscriptionSearchResponse"];
361
215
  };
362
216
  };
363
- /** @description Bad Request */
364
217
  400: never;
365
- /** @description Internal Server Error */
366
218
  500: never;
367
219
  };
368
220
  };
369
- /** @description This method allows applications to create a subscription for a topic and supported schema version. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br/><br/>Each application and topic-schema pairing to a subscription should have a 1:1 cardinality.<br/><br/>You can create the subscription in disabled mode, test it (see the <b>test</b> method), and when everything is ready, you can enable the subscription (see the <b>enableSubscription</b> method).<br /><br /><span class="tablenote"><b>Note:</b> If an application is not authorized to subscribe to a topic, for example, if your authorization does not include the list of scopes required for the topic, an error code of 195011 is returned.</span> */
370
221
  createSubscription: {
371
- /** @description The create subscription request. */
372
222
  requestBody?: {
373
223
  content: {
374
224
  "application/json": components["schemas"]["CreateSubscriptionRequest"];
375
225
  };
376
226
  };
377
227
  responses: {
378
- /** @description Created */
379
228
  201: {
380
229
  headers: {
381
230
  Location?: string;
@@ -384,177 +233,125 @@ export interface operations {
384
233
  "application/json": Record<string, never>;
385
234
  };
386
235
  };
387
- /** @description Bad Request */
388
236
  400: never;
389
- /** @description Forbidden */
390
237
  403: never;
391
- /** @description Conflict */
392
238
  409: never;
393
- /** @description Internal Server Error */
394
239
  500: never;
395
240
  };
396
241
  };
397
- /** @description This method allows applications to retrieve subscription details for the specified subscription.<br /><br />Specify the subscription to retrieve using the <strong>subscription_id</strong>. Use the <strong>getSubscriptions</strong> method to browse all subscriptions if you do not know the <strong>subscription_id</strong>.<br /><br />Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
398
242
  getSubscription: {
399
243
  parameters: {
400
244
  path: {
401
- /** @description The unique identifier for the subscription. */
402
245
  subscription_id: string;
403
246
  };
404
247
  };
405
248
  responses: {
406
- /** @description OK */
407
249
  200: {
408
250
  content: {
409
251
  "application/json": components["schemas"]["Subscription"];
410
252
  };
411
253
  };
412
- /** @description Bad Request */
413
254
  400: never;
414
- /** @description Not Found */
415
255
  404: never;
416
- /** @description Internal Server Error */
417
256
  500: never;
418
257
  };
419
258
  };
420
- /** @description This method allows applications to update a subscription. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br /><br /><span class="tablenote"><b>Note:</b> This call returns an error if an application is not authorized to subscribe to a topic.</span><br/><br/>You can pause and restart a subscription. See the <b>disableSubscription</b> and <b>enableSubscription</b> methods. */
421
259
  updateSubscription: {
422
260
  parameters: {
423
261
  path: {
424
- /** @description The unique identifier for the subscription. */
425
262
  subscription_id: string;
426
263
  };
427
264
  };
428
- /** @description The create subscription request. */
429
265
  requestBody?: {
430
266
  content: {
431
267
  "application/json": components["schemas"]["UpdateSubscriptionRequest"];
432
268
  };
433
269
  };
434
270
  responses: {
435
- /** @description No Content */
436
271
  204: never;
437
- /** @description Bad Request */
438
272
  400: never;
439
- /** @description Not Found */
440
273
  404: never;
441
- /** @description Conflict */
442
274
  409: never;
443
- /** @description Internal Server Error */
444
275
  500: never;
445
276
  };
446
277
  };
447
- /** @description This method allows applications to delete a subscription. Subscriptions can be deleted regardless of status. */
448
278
  deleteSubscription: {
449
279
  parameters: {
450
280
  path: {
451
- /** @description The unique identifier for the subscription. */
452
281
  subscription_id: string;
453
282
  };
454
283
  };
455
284
  responses: {
456
- /** @description No Content */
457
285
  204: never;
458
- /** @description Bad Request */
459
286
  400: never;
460
- /** @description Not Found */
461
287
  404: never;
462
- /** @description Internal Server Error */
463
288
  500: never;
464
289
  };
465
290
  };
466
- /** @description This method allows applications to enable a disabled subscription. To pause (or disable) an enabled subscription, call <strong>disableSubscription</strong>. */
467
291
  enableSubscription: {
468
292
  parameters: {
469
293
  path: {
470
- /** @description The unique identifier for the subscription. */
471
294
  subscription_id: string;
472
295
  };
473
296
  };
474
297
  responses: {
475
- /** @description No Content */
476
298
  204: never;
477
- /** @description Bad Request */
478
299
  400: never;
479
- /** @description Not Found */
480
300
  404: never;
481
- /** @description Conflict */
482
301
  409: never;
483
- /** @description Internal Server Error */
484
302
  500: never;
485
303
  };
486
304
  };
487
- /** @description This method disables a subscription, which prevents the subscription from providing notifications. To restart a subscription, call <strong>enableSubscription</strong>. */
488
305
  disableSubscription: {
489
306
  parameters: {
490
307
  path: {
491
- /** @description The unique identifier for the subscription. */
492
308
  subscription_id: string;
493
309
  };
494
310
  };
495
311
  responses: {
496
- /** @description No Content */
497
312
  204: never;
498
- /** @description Bad Request */
499
313
  400: never;
500
- /** @description Not Found */
501
314
  404: never;
502
- /** @description Internal Server Error */
503
315
  500: never;
504
316
  };
505
317
  };
506
- /** @description This method triggers a mocked test payload that includes a notification ID, publish date, and so on. Use this method to test your subscription end-to-end.<br /><br />You can create the subscription in disabled mode, test it using this method, and when everything is ready, you can enable the subscription (see the <strong>enableSubscription</strong> method).<br /><br /><span class="tablenote"><b>Note:</b> Use the <strong>notificationId</strong> to tell the difference between a test payload and a real payload.</span> */
507
318
  test: {
508
319
  parameters: {
509
320
  path: {
510
- /** @description The unique identifier for the subscription. */
511
321
  subscription_id: string;
512
322
  };
513
323
  };
514
324
  responses: {
515
- /** @description Accepted */
516
325
  202: never;
517
- /** @description Bad Request */
518
326
  400: never;
519
- /** @description Not Found */
520
327
  404: never;
521
- /** @description Internal Server Error */
522
328
  500: never;
523
329
  };
524
330
  };
525
- /** @description This method allows applications to retrieve a paginated collection of destination resources and related details. The details include the destination names, statuses, and configurations, including the endpoints and verification tokens. */
526
331
  getDestinations: {
527
332
  parameters: {
528
333
  query?: {
529
- /** @description The number of items, from the result set, returned in a single page. Range is from 10-100. If this parameter is omitted, the default value is used.<br/><br/><b>Default:</b> 20<br/><br/><b>Maximum:</b> 100 items per page */
530
334
  limit?: string;
531
- /** @description The continuation token for the next set of results. */
532
335
  continuation_token?: string;
533
336
  };
534
337
  };
535
338
  responses: {
536
- /** @description OK */
537
339
  200: {
538
340
  content: {
539
341
  "application/json": components["schemas"]["DestinationSearchResponse"];
540
342
  };
541
343
  };
542
- /** @description Bad Request */
543
344
  400: never;
544
- /** @description Internal Server Error */
545
345
  500: never;
546
346
  };
547
347
  };
548
- /** @description This method allows applications to create a destination. A destination is an endpoint that receives HTTP push notifications.<br /><br />A single destination for all topics is valid, as is individual destinations for each topic.<br /><br />To update a destination, use the <strong>updateDestination</strong> call.<br /><br />The destination created will need to be referenced while creating or updating a subscription to a topic.<br/><br/><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
549
348
  createDestination: {
550
- /** @description The create destination request. */
551
349
  requestBody?: {
552
350
  content: {
553
351
  "application/json": components["schemas"]["DestinationRequest"];
554
352
  };
555
353
  };
556
354
  responses: {
557
- /** @description Created */
558
355
  201: {
559
356
  headers: {
560
357
  Location?: string;
@@ -563,114 +360,81 @@ export interface operations {
563
360
  "application/json": Record<string, never>;
564
361
  };
565
362
  };
566
- /** @description Bad Request */
567
363
  400: never;
568
- /** @description Conflict */
569
364
  409: never;
570
- /** @description Internal Server Error */
571
365
  500: never;
572
366
  };
573
367
  };
574
- /** @description This method allows applications to fetch the details for a destination. The details include the destination name, status, and configuration, including the endpoint and verification token. */
575
368
  getDestination: {
576
369
  parameters: {
577
370
  path: {
578
- /** @description The unique identifier for the destination. */
579
371
  destination_id: string;
580
372
  };
581
373
  };
582
374
  responses: {
583
- /** @description OK */
584
375
  200: {
585
376
  content: {
586
377
  "application/json": components["schemas"]["Destination"];
587
378
  };
588
379
  };
589
- /** @description Bad Request */
590
380
  400: never;
591
- /** @description Not Found */
592
381
  404: never;
593
- /** @description Internal Server Error */
594
382
  500: never;
595
383
  };
596
384
  };
597
- /** @description This method allows applications to update a destination.<br/><br/><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
598
385
  updateDestination: {
599
386
  parameters: {
600
387
  path: {
601
- /** @description The unique identifier for the destination. */
602
388
  destination_id: string;
603
389
  };
604
390
  };
605
- /** @description The create subscription request. */
606
391
  requestBody?: {
607
392
  content: {
608
393
  "application/json": components["schemas"]["DestinationRequest"];
609
394
  };
610
395
  };
611
396
  responses: {
612
- /** @description No Content */
613
397
  204: never;
614
- /** @description Bad Request */
615
398
  400: never;
616
- /** @description Not Found */
617
399
  404: never;
618
- /** @description Conflict */
619
400
  409: never;
620
- /** @description Internal Server Error */
621
401
  500: never;
622
402
  };
623
403
  };
624
- /** @description This method provides applications a way to delete a destination.<br /><br />The same destination ID can be used by many destinations.<br /><br />Trying to delete an active destination results in an error. You can disable a subscription, and when the destination is no longer in use, you can delete it. */
625
404
  deleteDestination: {
626
405
  parameters: {
627
406
  path: {
628
- /** @description The unique identifier for the destination. */
629
407
  destination_id: string;
630
408
  };
631
409
  };
632
410
  responses: {
633
- /** @description No Content */
634
411
  204: never;
635
- /** @description Bad Request */
636
412
  400: never;
637
- /** @description Not Found */
638
413
  404: never;
639
- /** @description Conflict */
640
414
  409: never;
641
- /** @description Internal Server Error */
642
415
  500: never;
643
416
  };
644
417
  };
645
- /** @description This method allows applications to retrieve a previously created configuration. */
646
418
  getConfig: {
647
419
  responses: {
648
- /** @description OK */
649
420
  200: {
650
421
  content: {
651
422
  "application/json": components["schemas"]["Config"];
652
423
  };
653
424
  };
654
- /** @description Not Found */
655
425
  404: never;
656
- /** @description Internal Server Error */
657
426
  500: never;
658
427
  };
659
428
  };
660
- /** @description This method allows applications to create a new configuration or update an existing configuration. This app-level configuration allows developers to set up alerts. */
661
429
  updateConfig: {
662
- /** @description The configurations for this application. */
663
430
  requestBody?: {
664
431
  content: {
665
432
  "application/json": components["schemas"]["Config"];
666
433
  };
667
434
  };
668
435
  responses: {
669
- /** @description No Content */
670
436
  204: never;
671
- /** @description Bad Request */
672
437
  400: never;
673
- /** @description Internal Server Error */
674
438
  500: never;
675
439
  };
676
440
  };