ebay-api 8.4.1 → 8.5.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 (394) hide show
  1. package/README.md +3 -3
  2. package/dist/api/apiFactory.d.ts +27 -27
  3. package/dist/api/apiFactory.js +94 -94
  4. package/dist/api/base.d.ts +10 -10
  5. package/dist/api/base.js +10 -10
  6. package/dist/api/digitalSignature.d.ts +43 -43
  7. package/dist/api/digitalSignature.js +105 -105
  8. package/dist/api/index.d.ts +13 -13
  9. package/dist/api/index.js +29 -29
  10. package/dist/api/restful/buy/browse/index.d.ts +84 -84
  11. package/dist/api/restful/buy/browse/index.js +132 -135
  12. package/dist/api/restful/buy/deal/index.d.ts +56 -55
  13. package/dist/api/restful/buy/deal/index.js +74 -73
  14. package/dist/api/restful/buy/feed/index.d.ts +44 -43
  15. package/dist/api/restful/buy/feed/index.js +79 -78
  16. package/dist/api/restful/buy/index.d.ts +17 -17
  17. package/dist/api/restful/buy/index.js +8 -8
  18. package/dist/api/restful/buy/marketing/index.d.ts +28 -27
  19. package/dist/api/restful/buy/marketing/index.js +45 -44
  20. package/dist/api/restful/buy/marketplaceInsights/index.d.ts +29 -28
  21. package/dist/api/restful/buy/marketplaceInsights/index.js +45 -44
  22. package/dist/api/restful/buy/offer/index.d.ts +24 -23
  23. package/dist/api/restful/buy/offer/index.js +31 -30
  24. package/dist/api/restful/buy/order/index.d.ts +265 -264
  25. package/dist/api/restful/buy/order/index.js +363 -362
  26. package/dist/api/restful/commerce/catalog/index.d.ts +74 -73
  27. package/dist/api/restful/commerce/catalog/index.js +100 -101
  28. package/dist/api/restful/commerce/charity/index.d.ts +35 -34
  29. package/dist/api/restful/commerce/charity/index.js +50 -49
  30. package/dist/api/restful/commerce/identity/index.d.ts +15 -14
  31. package/dist/api/restful/commerce/identity/index.js +21 -20
  32. package/dist/api/restful/commerce/index.d.ts +15 -15
  33. package/dist/api/restful/commerce/index.js +7 -7
  34. package/dist/api/restful/commerce/notification/index.d.ts +118 -117
  35. package/dist/api/restful/commerce/notification/index.js +181 -180
  36. package/dist/api/restful/commerce/taxonomy/index.d.ts +79 -78
  37. package/dist/api/restful/commerce/taxonomy/index.js +129 -128
  38. package/dist/api/restful/commerce/translation/index.d.ts +16 -15
  39. package/dist/api/restful/commerce/translation/index.js +19 -18
  40. package/dist/api/restful/developer/analytics/index.d.ts +23 -22
  41. package/dist/api/restful/developer/analytics/index.js +39 -38
  42. package/dist/api/restful/developer/index.d.ts +7 -7
  43. package/dist/api/restful/developer/index.js +3 -3
  44. package/dist/api/restful/developer/keyManagement/index.d.ts +25 -24
  45. package/dist/api/restful/developer/keyManagement/index.js +37 -36
  46. package/dist/api/restful/index.d.ts +70 -67
  47. package/dist/api/restful/index.js +180 -180
  48. package/dist/api/restful/postOrder/cancellation/index.d.ts +57 -57
  49. package/dist/api/restful/postOrder/cancellation/index.js +89 -88
  50. package/dist/api/restful/postOrder/case/index.d.ts +63 -63
  51. package/dist/api/restful/postOrder/case/index.js +89 -88
  52. package/dist/api/restful/postOrder/index.d.ts +11 -11
  53. package/dist/api/restful/postOrder/index.js +5 -5
  54. package/dist/api/restful/postOrder/inquiry/index.d.ts +82 -82
  55. package/dist/api/restful/postOrder/inquiry/index.js +125 -124
  56. package/dist/api/restful/postOrder/return/index.d.ts +231 -231
  57. package/dist/api/restful/postOrder/return/index.js +355 -354
  58. package/dist/api/restful/sell/account/index.d.ts +299 -298
  59. package/dist/api/restful/sell/account/index.js +461 -460
  60. package/dist/api/restful/sell/analytics/index.d.ts +42 -41
  61. package/dist/api/restful/sell/analytics/index.js +55 -54
  62. package/dist/api/restful/sell/compliance/index.d.ts +38 -37
  63. package/dist/api/restful/sell/compliance/index.js +51 -50
  64. package/dist/api/restful/sell/feed/index.d.ts +172 -171
  65. package/dist/api/restful/sell/feed/index.js +278 -277
  66. package/dist/api/restful/sell/finances/index.d.ts +79 -78
  67. package/dist/api/restful/sell/finances/index.js +103 -102
  68. package/dist/api/restful/sell/fulfillment/index.d.ts +138 -137
  69. package/dist/api/restful/sell/fulfillment/index.js +193 -192
  70. package/dist/api/restful/sell/index.d.ts +29 -29
  71. package/dist/api/restful/sell/index.js +14 -14
  72. package/dist/api/restful/sell/inventory/index.d.ts +249 -248
  73. package/dist/api/restful/sell/inventory/index.js +340 -339
  74. package/dist/api/restful/sell/listing/index.d.ts +15 -14
  75. package/dist/api/restful/sell/listing/index.js +19 -18
  76. package/dist/api/restful/sell/logistics/index.d.ts +45 -44
  77. package/dist/api/restful/sell/logistics/index.js +60 -59
  78. package/dist/api/restful/sell/marketing/index.d.ts +627 -626
  79. package/dist/api/restful/sell/marketing/index.js +863 -862
  80. package/dist/api/restful/sell/metadata/index.d.ts +78 -77
  81. package/dist/api/restful/sell/metadata/index.js +125 -124
  82. package/dist/api/restful/sell/negotiation/index.d.ts +25 -24
  83. package/dist/api/restful/sell/negotiation/index.js +33 -32
  84. package/dist/api/restful/sell/recommendation/index.d.ts +27 -26
  85. package/dist/api/restful/sell/recommendation/index.js +33 -32
  86. package/dist/api/traditional/XMLRequest.d.ts +109 -109
  87. package/dist/api/traditional/XMLRequest.js +176 -175
  88. package/dist/api/traditional/clientAlerts/index.d.ts +9 -9
  89. package/dist/api/traditional/clientAlerts/index.js +11 -11
  90. package/dist/api/traditional/clientAlerts/types.d.ts +31 -31
  91. package/dist/api/traditional/clientAlerts/types.js +32 -32
  92. package/dist/api/traditional/fields.d.ts +1948 -1948
  93. package/dist/api/traditional/fields.js +1946 -1946
  94. package/dist/api/traditional/finding/index.d.ts +12 -12
  95. package/dist/api/traditional/finding/index.js +13 -13
  96. package/dist/api/traditional/index.d.ts +17 -17
  97. package/dist/api/traditional/index.js +191 -191
  98. package/dist/api/traditional/merchandising/index.d.ts +7 -7
  99. package/dist/api/traditional/merchandising/index.js +8 -8
  100. package/dist/api/traditional/shopping/index.d.ts +11 -11
  101. package/dist/api/traditional/shopping/index.js +13 -13
  102. package/dist/api/traditional/trading/index.d.ts +142 -142
  103. package/dist/api/traditional/trading/index.js +143 -143
  104. package/dist/auth/authNAuth.d.ts +49 -49
  105. package/dist/auth/authNAuth.js +117 -116
  106. package/dist/auth/index.d.ts +17 -17
  107. package/dist/auth/index.js +25 -25
  108. package/dist/auth/oAuth2.d.ts +95 -95
  109. package/dist/auth/oAuth2.js +260 -259
  110. package/dist/eBayApi.d.ts +59 -59
  111. package/dist/eBayApi.js +105 -104
  112. package/dist/ebay-api.min.mjs +1 -1
  113. package/dist/enums/apiEnums.d.ts +49 -49
  114. package/dist/enums/apiEnums.js +51 -51
  115. package/dist/enums/index.d.ts +2 -2
  116. package/dist/enums/index.js +2 -2
  117. package/dist/enums/restfulEnums.d.ts +976 -970
  118. package/dist/enums/restfulEnums.js +1019 -1013
  119. package/dist/errors/index.d.ts +66 -66
  120. package/dist/errors/index.js +190 -189
  121. package/dist/nanoevents.d.ts +6 -6
  122. package/dist/nanoevents.js +20 -20
  123. package/dist/request.d.ts +26 -26
  124. package/dist/request.js +43 -43
  125. package/dist/types/apiTypes.d.ts +40 -40
  126. package/dist/types/apiTypes.js +1 -1
  127. package/dist/types/index.d.ts +3 -3
  128. package/dist/types/index.js +3 -3
  129. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +1531 -0
  130. package/dist/types/restful/specs/buy_browse_v1_oas3.js +5 -0
  131. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +434 -0
  132. package/dist/types/restful/specs/buy_deal_v1_oas3.js +5 -0
  133. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +561 -0
  134. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +5 -0
  135. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +288 -0
  136. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +5 -0
  137. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +304 -0
  138. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +5 -0
  139. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +173 -0
  140. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +5 -0
  141. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1701 -0
  142. package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +5 -0
  143. package/dist/types/restful/specs/cancellation_oas3.d.ts +112 -0
  144. package/dist/types/restful/specs/cancellation_oas3.js +5 -0
  145. package/dist/types/restful/specs/case_oas3.d.ts +124 -0
  146. package/dist/types/restful/specs/case_oas3.js +5 -0
  147. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +758 -0
  148. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +5 -0
  149. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +224 -0
  150. package/dist/types/restful/specs/commerce_charity_v1_oas3.js +5 -0
  151. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +152 -0
  152. package/dist/types/restful/specs/commerce_identity_v1_oas3.js +5 -0
  153. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +677 -0
  154. package/dist/types/restful/specs/commerce_notification_v1_oas3.js +5 -0
  155. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +530 -0
  156. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +5 -0
  157. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +100 -0
  158. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +5 -0
  159. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +158 -0
  160. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +5 -0
  161. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +162 -0
  162. package/dist/types/restful/specs/developer_key_management_v1_oas3.js +5 -0
  163. package/dist/types/restful/specs/inquiry_oas3.d.ts +180 -0
  164. package/dist/types/restful/specs/inquiry_oas3.js +5 -0
  165. package/dist/types/restful/specs/return_oas3.d.ts +528 -0
  166. package/dist/types/restful/specs/return_oas3.js +5 -0
  167. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +2061 -0
  168. package/dist/types/restful/specs/sell_account_v1_oas3.js +5 -0
  169. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +340 -0
  170. package/dist/types/restful/specs/sell_analytics_v1_oas3.js +5 -0
  171. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +253 -0
  172. package/dist/types/restful/specs/sell_compliance_v1_oas3.js +5 -0
  173. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +1191 -0
  174. package/dist/types/restful/specs/sell_feed_v1_oas3.js +5 -0
  175. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +572 -0
  176. package/dist/types/restful/specs/sell_finances_v1_oas3.js +5 -0
  177. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +1386 -0
  178. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +5 -0
  179. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +2175 -0
  180. package/dist/types/restful/specs/sell_inventory_v1_oas3.js +5 -0
  181. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +150 -0
  182. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +5 -0
  183. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +451 -0
  184. package/dist/types/restful/specs/sell_logistics_v1_oas3.js +5 -0
  185. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +3728 -0
  186. package/dist/types/restful/specs/sell_marketing_v1_oas3.js +5 -0
  187. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +429 -0
  188. package/dist/types/restful/specs/sell_metadata_v1_oas3.js +5 -0
  189. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +225 -0
  190. package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +5 -0
  191. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +148 -0
  192. package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +5 -0
  193. package/dist/types/restfulTypes.d.ts +439 -1179
  194. package/dist/types/restfulTypes.js +1 -1
  195. package/dist/types/traditonalTypes.d.ts +35 -35
  196. package/dist/types/traditonalTypes.js +1 -1
  197. package/lib/api/apiFactory.d.ts +27 -27
  198. package/lib/api/apiFactory.js +100 -100
  199. package/lib/api/base.d.ts +10 -10
  200. package/lib/api/base.js +13 -13
  201. package/lib/api/digitalSignature.d.ts +43 -43
  202. package/lib/api/digitalSignature.js +112 -112
  203. package/lib/api/index.d.ts +13 -13
  204. package/lib/api/index.js +35 -35
  205. package/lib/api/restful/buy/browse/index.d.ts +84 -84
  206. package/lib/api/restful/buy/browse/index.js +137 -141
  207. package/lib/api/restful/buy/deal/index.d.ts +56 -55
  208. package/lib/api/restful/buy/deal/index.js +79 -79
  209. package/lib/api/restful/buy/feed/index.d.ts +44 -43
  210. package/lib/api/restful/buy/feed/index.js +84 -84
  211. package/lib/api/restful/buy/index.d.ts +17 -17
  212. package/lib/api/restful/buy/index.js +20 -20
  213. package/lib/api/restful/buy/marketing/index.d.ts +28 -27
  214. package/lib/api/restful/buy/marketing/index.js +50 -50
  215. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +29 -28
  216. package/lib/api/restful/buy/marketplaceInsights/index.js +50 -50
  217. package/lib/api/restful/buy/offer/index.d.ts +24 -23
  218. package/lib/api/restful/buy/offer/index.js +36 -36
  219. package/lib/api/restful/buy/order/index.d.ts +265 -264
  220. package/lib/api/restful/buy/order/index.js +368 -368
  221. package/lib/api/restful/commerce/catalog/index.d.ts +74 -73
  222. package/lib/api/restful/commerce/catalog/index.js +105 -107
  223. package/lib/api/restful/commerce/charity/index.d.ts +35 -34
  224. package/lib/api/restful/commerce/charity/index.js +55 -55
  225. package/lib/api/restful/commerce/identity/index.d.ts +15 -14
  226. package/lib/api/restful/commerce/identity/index.js +26 -26
  227. package/lib/api/restful/commerce/index.d.ts +15 -15
  228. package/lib/api/restful/commerce/index.js +18 -18
  229. package/lib/api/restful/commerce/notification/index.d.ts +118 -117
  230. package/lib/api/restful/commerce/notification/index.js +186 -186
  231. package/lib/api/restful/commerce/taxonomy/index.d.ts +79 -78
  232. package/lib/api/restful/commerce/taxonomy/index.js +134 -134
  233. package/lib/api/restful/commerce/translation/index.d.ts +16 -15
  234. package/lib/api/restful/commerce/translation/index.js +24 -24
  235. package/lib/api/restful/developer/analytics/index.d.ts +23 -22
  236. package/lib/api/restful/developer/analytics/index.js +44 -44
  237. package/lib/api/restful/developer/index.d.ts +7 -7
  238. package/lib/api/restful/developer/index.js +10 -10
  239. package/lib/api/restful/developer/keyManagement/index.d.ts +25 -24
  240. package/lib/api/restful/developer/keyManagement/index.js +42 -42
  241. package/lib/api/restful/index.d.ts +70 -67
  242. package/lib/api/restful/index.js +187 -187
  243. package/lib/api/restful/postOrder/cancellation/index.d.ts +57 -57
  244. package/lib/api/restful/postOrder/cancellation/index.js +94 -94
  245. package/lib/api/restful/postOrder/case/index.d.ts +63 -63
  246. package/lib/api/restful/postOrder/case/index.js +94 -94
  247. package/lib/api/restful/postOrder/index.d.ts +11 -11
  248. package/lib/api/restful/postOrder/index.js +14 -14
  249. package/lib/api/restful/postOrder/inquiry/index.d.ts +82 -82
  250. package/lib/api/restful/postOrder/inquiry/index.js +130 -130
  251. package/lib/api/restful/postOrder/return/index.d.ts +231 -231
  252. package/lib/api/restful/postOrder/return/index.js +360 -360
  253. package/lib/api/restful/sell/account/index.d.ts +299 -298
  254. package/lib/api/restful/sell/account/index.js +466 -466
  255. package/lib/api/restful/sell/analytics/index.d.ts +42 -41
  256. package/lib/api/restful/sell/analytics/index.js +60 -60
  257. package/lib/api/restful/sell/compliance/index.d.ts +38 -37
  258. package/lib/api/restful/sell/compliance/index.js +56 -56
  259. package/lib/api/restful/sell/feed/index.d.ts +172 -171
  260. package/lib/api/restful/sell/feed/index.js +283 -283
  261. package/lib/api/restful/sell/finances/index.d.ts +79 -78
  262. package/lib/api/restful/sell/finances/index.js +108 -108
  263. package/lib/api/restful/sell/fulfillment/index.d.ts +138 -137
  264. package/lib/api/restful/sell/fulfillment/index.js +198 -198
  265. package/lib/api/restful/sell/index.d.ts +29 -29
  266. package/lib/api/restful/sell/index.js +32 -32
  267. package/lib/api/restful/sell/inventory/index.d.ts +249 -248
  268. package/lib/api/restful/sell/inventory/index.js +345 -345
  269. package/lib/api/restful/sell/listing/index.d.ts +15 -14
  270. package/lib/api/restful/sell/listing/index.js +24 -24
  271. package/lib/api/restful/sell/logistics/index.d.ts +45 -44
  272. package/lib/api/restful/sell/logistics/index.js +65 -65
  273. package/lib/api/restful/sell/marketing/index.d.ts +627 -626
  274. package/lib/api/restful/sell/marketing/index.js +868 -868
  275. package/lib/api/restful/sell/metadata/index.d.ts +78 -77
  276. package/lib/api/restful/sell/metadata/index.js +130 -130
  277. package/lib/api/restful/sell/negotiation/index.d.ts +25 -24
  278. package/lib/api/restful/sell/negotiation/index.js +38 -38
  279. package/lib/api/restful/sell/recommendation/index.d.ts +27 -26
  280. package/lib/api/restful/sell/recommendation/index.js +38 -38
  281. package/lib/api/traditional/XMLRequest.d.ts +109 -109
  282. package/lib/api/traditional/XMLRequest.js +182 -182
  283. package/lib/api/traditional/clientAlerts/index.d.ts +9 -9
  284. package/lib/api/traditional/clientAlerts/index.js +14 -14
  285. package/lib/api/traditional/clientAlerts/types.d.ts +31 -31
  286. package/lib/api/traditional/clientAlerts/types.js +34 -35
  287. package/lib/api/traditional/fields.d.ts +1948 -1948
  288. package/lib/api/traditional/fields.js +1948 -1948
  289. package/lib/api/traditional/finding/index.d.ts +12 -12
  290. package/lib/api/traditional/finding/index.js +15 -15
  291. package/lib/api/traditional/index.d.ts +17 -17
  292. package/lib/api/traditional/index.js +220 -220
  293. package/lib/api/traditional/merchandising/index.d.ts +7 -7
  294. package/lib/api/traditional/merchandising/index.js +10 -10
  295. package/lib/api/traditional/shopping/index.d.ts +11 -11
  296. package/lib/api/traditional/shopping/index.js +15 -15
  297. package/lib/api/traditional/trading/index.d.ts +142 -142
  298. package/lib/api/traditional/trading/index.js +145 -145
  299. package/lib/auth/authNAuth.d.ts +49 -49
  300. package/lib/auth/authNAuth.js +122 -122
  301. package/lib/auth/index.d.ts +17 -17
  302. package/lib/auth/index.js +31 -31
  303. package/lib/auth/oAuth2.d.ts +95 -95
  304. package/lib/auth/oAuth2.js +265 -265
  305. package/lib/eBayApi.d.ts +59 -59
  306. package/lib/eBayApi.js +141 -141
  307. package/lib/ebay-api.min.js +1 -1
  308. package/lib/enums/apiEnums.d.ts +49 -49
  309. package/lib/enums/apiEnums.js +54 -54
  310. package/lib/enums/index.d.ts +2 -2
  311. package/lib/enums/index.js +18 -18
  312. package/lib/enums/restfulEnums.d.ts +976 -970
  313. package/lib/enums/restfulEnums.js +1021 -1016
  314. package/lib/errors/index.d.ts +66 -66
  315. package/lib/errors/index.js +213 -212
  316. package/lib/index.d.ts +2 -2
  317. package/lib/index.js +6 -6
  318. package/lib/nanoevents.d.ts +6 -6
  319. package/lib/nanoevents.js +24 -24
  320. package/lib/request.d.ts +26 -26
  321. package/lib/request.js +50 -50
  322. package/lib/types/apiTypes.d.ts +40 -40
  323. package/lib/types/apiTypes.js +2 -2
  324. package/lib/types/index.d.ts +3 -3
  325. package/lib/types/index.js +19 -19
  326. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +1531 -0
  327. package/lib/types/restful/specs/buy_browse_v1_oas3.js +6 -0
  328. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +434 -0
  329. package/lib/types/restful/specs/buy_deal_v1_oas3.js +6 -0
  330. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +561 -0
  331. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +6 -0
  332. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +288 -0
  333. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +6 -0
  334. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +304 -0
  335. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +6 -0
  336. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +173 -0
  337. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +6 -0
  338. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1701 -0
  339. package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +6 -0
  340. package/lib/types/restful/specs/cancellation_oas3.d.ts +112 -0
  341. package/lib/types/restful/specs/cancellation_oas3.js +6 -0
  342. package/lib/types/restful/specs/case_oas3.d.ts +124 -0
  343. package/lib/types/restful/specs/case_oas3.js +6 -0
  344. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +758 -0
  345. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +6 -0
  346. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +224 -0
  347. package/lib/types/restful/specs/commerce_charity_v1_oas3.js +6 -0
  348. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +152 -0
  349. package/lib/types/restful/specs/commerce_identity_v1_oas3.js +6 -0
  350. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +677 -0
  351. package/lib/types/restful/specs/commerce_notification_v1_oas3.js +6 -0
  352. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +530 -0
  353. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +6 -0
  354. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +100 -0
  355. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +6 -0
  356. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +158 -0
  357. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +6 -0
  358. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +162 -0
  359. package/lib/types/restful/specs/developer_key_management_v1_oas3.js +6 -0
  360. package/lib/types/restful/specs/inquiry_oas3.d.ts +180 -0
  361. package/lib/types/restful/specs/inquiry_oas3.js +6 -0
  362. package/lib/types/restful/specs/return_oas3.d.ts +528 -0
  363. package/lib/types/restful/specs/return_oas3.js +6 -0
  364. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +2061 -0
  365. package/lib/types/restful/specs/sell_account_v1_oas3.js +6 -0
  366. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +340 -0
  367. package/lib/types/restful/specs/sell_analytics_v1_oas3.js +6 -0
  368. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +253 -0
  369. package/lib/types/restful/specs/sell_compliance_v1_oas3.js +6 -0
  370. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +1191 -0
  371. package/lib/types/restful/specs/sell_feed_v1_oas3.js +6 -0
  372. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +572 -0
  373. package/lib/types/restful/specs/sell_finances_v1_oas3.js +6 -0
  374. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +1386 -0
  375. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +6 -0
  376. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +2175 -0
  377. package/lib/types/restful/specs/sell_inventory_v1_oas3.js +6 -0
  378. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +150 -0
  379. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +6 -0
  380. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +451 -0
  381. package/lib/types/restful/specs/sell_logistics_v1_oas3.js +6 -0
  382. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +3728 -0
  383. package/lib/types/restful/specs/sell_marketing_v1_oas3.js +6 -0
  384. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +429 -0
  385. package/lib/types/restful/specs/sell_metadata_v1_oas3.js +6 -0
  386. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +225 -0
  387. package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +6 -0
  388. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +148 -0
  389. package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +6 -0
  390. package/lib/types/restfulTypes.d.ts +439 -1179
  391. package/lib/types/restfulTypes.js +2 -2
  392. package/lib/types/traditonalTypes.d.ts +35 -35
  393. package/lib/types/traditonalTypes.js +2 -2
  394. package/package.json +6 -4
@@ -1,1179 +1,439 @@
1
- import { CancelReason, CaseSearchFieldGroup, CaseStatusFilter, CategoryType as CategoryTypeEnum, Condition, CountryCode, CurrencyCode, Decision, EscalateReason, FilePurpose, FormatType, InquirySearchFieldGroup, InquiryStatusFilter, LengthUnitOfMeasure, Locale, Marketplace, MarketplaceId, PackageType, PaymentMethodType, ReasonForRefund, RecipientAccountReferenceType, RefundFeeType, RefundMethod, RegionType, RequestType, ReturnCountFilter, ReturnMethod, ReturnReason, ReturnShippingCostPayer, ReturnState, ReturnType, ShippingCarrier, ShippingCostType, ShippingOptionType, StoreType, TimeDurationUnit, UserRoleFilter, WeightUnitOfMeasure } from '../enums/index.js';
2
- export type AttributeNameValue = {
3
- name: string;
4
- value: string;
5
- };
6
- export type CompatibilityPayload = {
7
- compatibilityProperties: AttributeNameValue[];
8
- };
9
- export type CatalogSearchParams = {
10
- aspect_filter?: string;
11
- category_ids?: string;
12
- fieldgroups?: string;
13
- gtin?: string;
14
- limit?: number;
15
- offset?: number;
16
- q?: string;
17
- };
18
- export type BrowseSearchParams = {
19
- aspect_filter?: string;
20
- category_ids?: string;
21
- charity_ids?: string;
22
- compatibility_filter?: string;
23
- epid?: string;
24
- fieldgroups?: string;
25
- filter?: string;
26
- gtin?: string;
27
- limit?: number;
28
- offset?: number;
29
- q?: string;
30
- sort?: string;
31
- };
32
- export type SearchByImageParams = {
33
- aspect_filter?: string;
34
- category_ids?: string;
35
- epid?: string;
36
- filter?: string;
37
- limit?: number;
38
- offset?: number;
39
- sort?: string;
40
- };
41
- export type LegacyItemParams = {
42
- legacy_item_id: string;
43
- fieldgroups?: string;
44
- legacy_variation_id?: string;
45
- legacy_variation_sku?: string;
46
- };
47
- export type AddCartItemInput = {
48
- itemId: string;
49
- quantity: number;
50
- };
51
- export type RemoveCartItemInput = {
52
- cartItemId: string;
53
- };
54
- export type UpdateCartItemInput = {
55
- cartItemId: string;
56
- quantity: number;
57
- };
58
- export type SimpleAmount = {
59
- currency: string;
60
- value: string;
61
- };
62
- export type Amount = {
63
- convertedFromCurrency?: CurrencyCode;
64
- convertedFromValue?: number;
65
- currency?: CurrencyCode;
66
- value: string;
67
- };
68
- export type BuyFeedParams = {
69
- feed_scope: string;
70
- category_id: string;
71
- date: string;
72
- };
73
- export type AlsoBoughtByProductParams = {
74
- name?: string;
75
- epid?: string;
76
- gtin?: string;
77
- mpn?: string;
78
- };
79
- export type AlsoViewedByProductParams = {
80
- brand?: string;
81
- epid?: string;
82
- gtin?: string;
83
- mpn?: string;
84
- };
85
- export type MerchandisedProductsParams = {
86
- aspect_filter?: false;
87
- category_id: string;
88
- limit?: number;
89
- metric_name: string;
90
- };
91
- export type UserConsent = {
92
- adultOnlyItem: boolean;
93
- };
94
- export type PlaceProxyBidRequest = {
95
- maxAmount: Amount;
96
- userConsent: UserConsent;
97
- };
98
- export type CouponRequest = {
99
- redemptionCode: string;
100
- };
101
- export type CreditCard = {
102
- accountHolderName: string;
103
- billingAddress: BillingAddress;
104
- brand: string;
105
- cardNumber: string;
106
- cvvNumber: string;
107
- expireMonth: number;
108
- expireYear: number;
109
- };
110
- export type BillingAddress = {
111
- addressLine1: string;
112
- addressLine2: string;
113
- city: string;
114
- country: CountryCode;
115
- county: string;
116
- firstName: string;
117
- lastName: string;
118
- postalCode: string;
119
- stateOrProvince: string;
120
- };
121
- export type Wallet = {
122
- paymentToken: string;
123
- };
124
- export type LineItemInput = {
125
- itemId: string;
126
- quantity: number;
127
- };
128
- export type ShippingAddress = {
129
- addressLine1: string;
130
- addressLine2: string;
131
- city: string;
132
- country: CountryCode;
133
- county: string;
134
- phoneNumber: string;
135
- postalCode: string;
136
- recipient: string;
137
- stateOrProvince: string;
138
- };
139
- export type CreateSignInCheckoutSessionRequest = {
140
- creditCard: CreditCard;
141
- lineItemInputs: LineItemInput;
142
- shippingAddress: ShippingAddress;
143
- };
144
- export type UpdatePaymentInformation = {
145
- creditCard: CreditCard;
146
- wallet: Wallet;
147
- };
148
- export type UpdateQuantity = {
149
- lineItemId: string;
150
- quantity: number;
151
- };
152
- export type ShippingAddressImpl = {
153
- addressLine1: string;
154
- addressLine2: string;
155
- city: string;
156
- country: CountryCode;
157
- county: string;
158
- phoneNumber: string;
159
- postalCode: string;
160
- recipient: Recipient;
161
- stateOrProvince: string;
162
- };
163
- export type Recipient = {
164
- firstName: string;
165
- lastName: string;
166
- };
167
- export type UpdateShippingOption = {
168
- lineItemId: string;
169
- shippingOptionId: string;
170
- };
171
- export type CheckoutSessionRequest = {
172
- contactEmail: string;
173
- contactFirstName: string;
174
- contactLastName: string;
175
- creditCard: string;
176
- lineItemInputs: LineItemInput;
177
- shippingAddress: ShippingAddress;
178
- };
179
- export type InitiatePaymentRequest = {
180
- paymentMethodBrandType: string;
181
- paymentMethodType: string;
182
- };
183
- export type MarketingTerms = {
184
- marketingChannels: string[];
185
- marketingTermsAccepted: boolean;
186
- marketingTypes: string[];
187
- };
188
- export type GuestPlaceOrderRequest = {
189
- marketingTerms: MarketingTerms[];
190
- };
191
- export type Program = {
192
- programType: string;
193
- };
194
- export type LegacyReference = {
195
- legacyItemId: string;
196
- legacyTransactionId: string;
197
- };
198
- export type RefundItem = {
199
- refundAmount: Amount;
200
- lineItemId: string;
201
- legacyReference?: LegacyReference;
202
- };
203
- export type IssueRefundRequest = {
204
- reasonForRefund: ReasonForRefund;
205
- comment?: string;
206
- refundItems?: RefundItem[];
207
- orderLevelRefundAmount?: SimpleAmount;
208
- };
209
- export type PaymentParams = {
210
- orderId?: string;
211
- buyerUsername?: string;
212
- openDateFrom?: string;
213
- openDateTo?: string;
214
- paymentDisputeStatus?: string;
215
- limit?: string;
216
- offset?: string;
217
- };
218
- export type Phone = {
219
- countryCode: string;
220
- number: number;
221
- };
222
- export type ReturnAddress = {
223
- addressLine1: string;
224
- addressLine2: string;
225
- city: string;
226
- country: string;
227
- county: string;
228
- fullName: string;
229
- postalCode: string;
230
- primaryPhone: Phone;
231
- stateOrProvince: string;
232
- };
233
- export type ContestPaymentDisputeRequest = {
234
- returnAddress: ReturnAddress;
235
- revision: number;
236
- };
237
- export type FileEvidence = {
238
- fileId: string;
239
- };
240
- export type OrderLineItems = {
241
- itemId: string;
242
- lineItemId: string;
243
- };
244
- export type AddEvidencePaymentDisputeRequest = {
245
- evidenceType: string;
246
- files: FileEvidence[];
247
- lineItems: OrderLineItems[];
248
- };
249
- export type UpdateEvidencePaymentDisputeRequest = AddEvidencePaymentDisputeRequest & {
250
- evidenceId: string;
251
- };
252
- export type Comments = {
253
- content: string;
254
- language?: string;
255
- translatedFromContent?: string;
256
- translatedFromLanguage?: string;
257
- };
258
- export type PostOrderItemizedRefundDetailType = {
259
- refundAmount: Amount;
260
- refundFeeType: RefundFeeType;
261
- restockingFeePercentage?: string;
262
- };
263
- export type RefundDetail = {
264
- itemizedRefundDetail: PostOrderItemizedRefundDetailType[];
265
- totalAmount: Amount;
266
- };
267
- export type PostOrderIssueRefundRequest = {
268
- comments?: Comments;
269
- refundDetail: RefundDetail;
270
- relistItem?: boolean;
271
- };
272
- export type Interval = {
273
- close: string;
274
- open: string;
275
- };
276
- export type OperatingHours = {
277
- dayOfWeekEnum: string;
278
- intervals: Interval[];
279
- };
280
- export type SpecialHours = {
281
- date: string;
282
- intervals: Interval[];
283
- };
284
- export type InventoryLocation = {
285
- locationAdditionalInformation?: string;
286
- locationInstructions?: string;
287
- locationWebUrl?: string;
288
- name?: string;
289
- operatingHours?: OperatingHours;
290
- phone?: string;
291
- specialHours?: SpecialHours;
292
- };
293
- export type GeoCoordinates = {
294
- latitude: number;
295
- longitude: number;
296
- };
297
- export type LocationDetails = {
298
- address: Address;
299
- geoCoordinates?: GeoCoordinates;
300
- };
301
- export type InventoryLocationFull = InventoryLocation & {
302
- location: LocationDetails;
303
- locationTypes?: StoreType[];
304
- merchantLocationStatus?: string;
305
- };
306
- export type AvailabilityDistribution = {
307
- fulfillmentTime?: TimeDuration;
308
- merchantLocationKey: string;
309
- quantity: number;
310
- };
311
- export type ShipToLocationAvailability = {
312
- availabilityDistributions?: AvailabilityDistribution[];
313
- quantity: number;
314
- };
315
- export type OfferPriceQuantity = {
316
- offerId: string;
317
- availableQuantity: number;
318
- price: Amount;
319
- };
320
- export type PriceQuantity = {
321
- sku: string;
322
- shipToLocationAvailability: ShipToLocationAvailability;
323
- offers: OfferPriceQuantity[];
324
- };
325
- export type BulkPriceQuantity = {
326
- requests: PriceQuantity[];
327
- };
328
- export type PickupAtLocationAvailability = {
329
- availabilityType: string;
330
- fulfillmentTime: TimeDuration;
331
- merchantLocationKey: string;
332
- quantity: number;
333
- };
334
- export type Availability = {
335
- pickupAtLocationAvailability?: PickupAtLocationAvailability;
336
- shipToLocationAvailability: ShipToLocationAvailability;
337
- };
338
- export type Dimension = {
339
- height: number;
340
- length: number;
341
- unit: LengthUnitOfMeasure;
342
- width: number;
343
- };
344
- export type Weight = {
345
- unit: WeightUnitOfMeasure;
346
- value: number;
347
- };
348
- export type PackageWeightAndSize = {
349
- dimensions?: Dimension;
350
- packageType?: PackageType;
351
- weight: Weight;
352
- };
353
- export type Product = {
354
- aspects?: any;
355
- brand?: string;
356
- description?: string;
357
- imageUrls: string[];
358
- mpn?: string;
359
- subtitle?: string;
360
- title: string;
361
- isbn?: string[];
362
- upc?: string[];
363
- ean?: string[];
364
- epid?: string;
365
- };
366
- export type InventoryItemWithSkuLocale = SellInventoryItem & {
367
- sku: string;
368
- locale?: Locale;
369
- };
370
- export type BulkInventoryItem = {
371
- requests: InventoryItemWithSkuLocale[];
372
- };
373
- export type PublishByInventoryItemGroupRequest = {
374
- inventoryItemGroupKey: string;
375
- marketplaceId: Marketplace;
376
- };
377
- export type WithdrawByInventoryItemGroupRequest = {
378
- inventoryItemGroupKey: string;
379
- marketplaceId: Marketplace;
380
- };
381
- export type OfferKeyWithId = {
382
- offerId: string;
383
- };
384
- export type OfferKeysWithId = {
385
- offers: OfferKeyWithId[];
386
- };
387
- export type ShippingCostOverride = {
388
- surcharge?: Amount;
389
- additionalShippingCost?: Amount;
390
- priority: number;
391
- shippingCost?: Amount;
392
- shippingServiceType: string;
393
- };
394
- export type BestOffer = {
395
- autoAcceptPrice?: Amount;
396
- autoDeclinePrice?: Amount;
397
- bestOfferEnabled?: boolean;
398
- };
399
- export type ListingPolicies = {
400
- bestOfferTerms?: BestOffer;
401
- paymentPolicyId: string;
402
- returnPolicyId: string;
403
- shippingCostOverrides?: ShippingCostOverride[];
404
- fulfillmentPolicyId: string;
405
- ebayPlusIfEligible?: boolean;
406
- };
407
- export type PricingSummary = {
408
- minimumAdvertisedPrice?: Amount;
409
- pricingVisibility?: string;
410
- originallySoldForRetailPriceOn?: string;
411
- originalRetailPrice?: Amount;
412
- price: Amount;
413
- };
414
- export type Tax = {
415
- applyTax: boolean;
416
- thirdPartyTaxCategory?: string;
417
- vatPercentage?: number;
418
- };
419
- export type Charity = {
420
- charityId: string;
421
- donationPercentage: string;
422
- };
423
- export type EbayOfferDetailsWithId = {
424
- availableQuantity?: number;
425
- categoryId?: string;
426
- charity?: Charity;
427
- includeCatalogProductDetails?: boolean;
428
- listingDescription?: string;
429
- listingDuration?: string;
430
- listingPolicies: ListingPolicies;
431
- merchantLocationKey: string;
432
- pricingSummary: PricingSummary;
433
- quantityLimitPerBuyer?: number;
434
- secondaryCategoryId?: string;
435
- tax?: Tax;
436
- storeCategoryNames?: string[];
437
- lotSize?: number;
438
- };
439
- export type EbayOfferDetailsWithKeys = EbayOfferDetailsWithId & {
440
- sku: string;
441
- marketplaceId: Marketplace;
442
- format: FormatType;
443
- };
444
- export type BulkEbayOfferDetailsWithKeys = {
445
- requests: EbayOfferDetailsWithKeys[];
446
- };
447
- export type BulkOffer = {
448
- requests: OfferKeyWithId[];
449
- };
450
- export type MigrateListing = {
451
- listingId: string;
452
- };
453
- export type BulkMigrateListing = {
454
- requests: MigrateListing[];
455
- };
456
- export type FindListingRecommendationRequest = {
457
- listingIds: string[];
458
- };
459
- export type TranslateRequest = {
460
- from: string;
461
- to: string;
462
- translationContext: string;
463
- text: string[];
464
- };
465
- export type CreateAdsByInventoryReferenceRequest = {
466
- bidPercentage: string;
467
- inventoryReferenceId: string;
468
- inventoryReferenceType: string;
469
- };
470
- export type BulkCreateAdsByInventoryReferenceRequest = {
471
- requests: CreateAdsByInventoryReferenceRequest[];
472
- };
473
- export type CreateAdRequest = {
474
- bidPercentage: string;
475
- listingId: string;
476
- };
477
- export type BulkCreateAdRequest = {
478
- requests: CreateAdRequest[];
479
- };
480
- export type AdStatus = 'ACTIVE' | 'PAUSED' | 'ARCHIVED';
481
- export type UpdateAdStatusRequest = {
482
- adId: string;
483
- adStatus: AdStatus;
484
- };
485
- export type BulkUpdateAdStatusRequest = {
486
- items: UpdateAdStatusRequest[];
487
- };
488
- export type UpdateAdStatusByListingIdRequest = {
489
- adGroupId: string;
490
- adStatus: AdStatus;
491
- listingId: string;
492
- };
493
- export type BulkUpdateAdStatusByListingIdRequest = {
494
- items: UpdateAdStatusByListingIdRequest[];
495
- };
496
- export type CreateAdGroupRequest = {
497
- defaultBid: Amount;
498
- name: string;
499
- };
500
- export type AdGroupStatus = 'ACTIVE' | 'PAUSED' | 'ARCHIVED';
501
- export type UpdateAdGroupRequest = {
502
- adGroupStatus: AdGroupStatus;
503
- defaultBid: Amount;
504
- name: string;
505
- };
506
- export type KeywordRequest = {
507
- keywordText: string;
508
- matchType: string;
509
- };
510
- export type TargetedBidRequest = {
511
- keywords: KeywordRequest[];
512
- };
513
- export type TargetedKeywordRequest = {
514
- additionalInfo: string[];
515
- exclusions: string[];
516
- listingIds: string[];
517
- matchType: string;
518
- };
519
- export type DynamicAdRatePreference = {
520
- adRateAdjustmentPercent: string;
521
- adRateCapPercent: string;
522
- };
523
- export type UpdateAdrateStrategyRequest = {
524
- adRateStrategy: string;
525
- bidPercentage: string;
526
- dynamicAdRatePreferences: DynamicAdRatePreference[];
527
- };
528
- export type BudgetRequest = {
529
- amount: Amount;
530
- };
531
- export type UpdateCampaignBudgetRequest = {
532
- daily: BudgetRequest;
533
- };
534
- export type CreateKeywordRequest = {
535
- adGroupId: string;
536
- bid: Amount;
537
- keywordText: string;
538
- matchType: string;
539
- };
540
- export type UpdateKeywordRequest = {
541
- bid: Amount;
542
- keywordStatus: string;
543
- };
544
- export type UpdateKeywordByKeywordIdRequest = {
545
- bid: Amount;
546
- keywordId: string;
547
- keywordStatus: string;
548
- };
549
- export type BulkCreateKeywordRequest = {
550
- requests: CreateKeywordRequest[];
551
- };
552
- export type BulkUpdateKeywordRequest = {
553
- requests: UpdateKeywordByKeywordIdRequest[];
554
- };
555
- export type CreateNegativeKeywordRequest = {
556
- adGroupId: string;
557
- campaignId: string;
558
- negativeKeywordMatchType: string;
559
- negativeKeywordText: string;
560
- };
561
- export type BulkCreateNegativeKeywordRequest = {
562
- requests: CreateNegativeKeywordRequest[];
563
- };
564
- export type BulkUpdateNegativeKeywordRequest = {
565
- requests: CreateNegativeKeywordRequest[];
566
- };
567
- export type UpdateNegativeKeywordRequest = {
568
- negativeKeywordStatus: string;
569
- };
570
- export type DeleteAdsByInventoryReferenceRequest = {
571
- inventoryReferenceId: string;
572
- inventoryReferenceType: string;
573
- };
574
- export type BulkDeleteAdsByInventoryReferenceRequest = {
575
- requests: DeleteAdsByInventoryReferenceRequest[];
576
- };
577
- export type DeleteAdRequest = {
578
- listingId: string;
579
- };
580
- export type BulkDeleteAdRequest = {
581
- requests: DeleteAdRequest[];
582
- };
583
- export type UpdateBidPercentageRequest = {
584
- bidPercentage: string;
585
- };
586
- export type FundingStrategy = {
587
- bidPercentage: string;
588
- fundingModel: string;
589
- };
590
- export type CloneCampaignRequest = {
591
- campaignName: string;
592
- endDate: string;
593
- fundingStrategy: FundingStrategy;
594
- startDate: string;
595
- };
596
- export type UpdateCampaignIdentificationRequest = {
597
- campaignName: string;
598
- endDate: string;
599
- startDate: string;
600
- };
601
- export type DiscountBenefit = {
602
- amountOffItem: Amount;
603
- amountOffOrder: Amount;
604
- percentageOffItem: string;
605
- percentageOffOrder: string;
606
- };
607
- export type InventoryItem = {
608
- inventoryReferenceId: string;
609
- };
610
- export type SelectionRule = {
611
- brands: string[];
612
- categoryIds: string[];
613
- categoryScope: string;
614
- listingConditionIds: string[];
615
- maxPrice: Amount;
616
- minPrice: Amount;
617
- };
618
- export type RuleCriteria = {
619
- excludeInventoryItems: InventoryItem[];
620
- excludeListingIds: string[];
621
- markupInventoryItems: InventoryItem[];
622
- markupListingIds: string[];
623
- selectionRules: SelectionRule;
624
- };
625
- export type InventoryCriterion = {
626
- inventoryCriterionType: string;
627
- inventoryItems: InventoryItem;
628
- listingIds: string[];
629
- ruleCriteria: RuleCriteria;
630
- };
631
- export type SelectedInventoryDiscount = {
632
- discountBenefit: DiscountBenefit;
633
- discountId: string;
634
- inventoryCriterion: InventoryCriterion;
635
- ruleOrder: number;
636
- };
637
- export type ItemPriceMarkdown = {
638
- applyFreeShipping: boolean;
639
- autoSelectFutureInventory: boolean;
640
- blockPriceIncreaseInItemRevision: boolean;
641
- description: string;
642
- endDate: string;
643
- marketplaceId: MarketplaceId;
644
- name: string;
645
- priority: string;
646
- promotionImageUrl: string;
647
- promotionStatus: string;
648
- selectedInventoryDiscounts: SelectedInventoryDiscount;
649
- startDate: string;
650
- };
651
- export type DiscountSpecification = {
652
- properties: Amount;
653
- forEachQuantity: number;
654
- minAmount: Amount;
655
- minQuantity: number;
656
- numberOfDiscountedItems: number;
657
- };
658
- export type DiscountRule = {
659
- discountBenefit: DiscountBenefit;
660
- discountSpecification: DiscountSpecification;
661
- ruleOrder: number;
662
- };
663
- export type ItemPromotion = {
664
- applyDiscountToSingleItemOnly: boolean;
665
- description: string;
666
- discountRules: DiscountRule[];
667
- endDate: string;
668
- inventoryCriterion: InventoryCriterion;
669
- marketplaceId: MarketplaceId;
670
- name: string;
671
- priority: string;
672
- promotionImageUrl: string;
673
- promotionStatus: string;
674
- promotionType: string;
675
- startDate: string;
676
- };
677
- export type DateTime = {
678
- formattedValue?: string;
679
- value: string;
680
- };
681
- export type LineItem = {
682
- itemId: number;
683
- quantity: number;
684
- transactionId: number;
685
- };
686
- export type CreateCancelRequest = {
687
- buyerPaid?: boolean;
688
- buyerPaidDate?: DateTime;
689
- cancelReason?: CancelReason;
690
- legacyOrderId: string;
691
- relistLineItem?: LineItem[];
692
- };
693
- export type ConfirmRefundRequest = {
694
- refundDate?: DateTime;
695
- unpaidOrder?: boolean;
696
- };
697
- export type RejectCancelRequest = {
698
- shipmentDate?: DateTime;
699
- trackingNumber?: string;
700
- };
701
- export type CancelSortField = {
702
- ascending: boolean;
703
- enumValue: 'CANCEL_ID' | 'CANCEL_REQUEST_DATE';
704
- field: '+' | '-';
705
- };
706
- export type CancellationSearchParams = {
707
- cancel_id?: string;
708
- creation_date_range_from?: string;
709
- creation_date_range_to?: string;
710
- item_id?: string;
711
- legacy_order_id?: string;
712
- limit?: string;
713
- offset?: string;
714
- role?: UserRoleFilter;
715
- sort?: CancelSortField;
716
- transaction_id?: string;
717
- };
718
- export type Text = {
719
- content: string;
720
- language?: string;
721
- translatedFromContent?: string;
722
- translatedFromLanguage?: string;
723
- };
724
- export type AppealRequest = {
725
- comments: Text;
726
- };
727
- export type BuyerCloseCaseRequest = {
728
- closeReason: boolean;
729
- comments?: Text;
730
- };
731
- export type Address = {
732
- addressLine1?: string;
733
- addressLine2?: string;
734
- addressType?: string;
735
- city?: string;
736
- country?: CountryCode;
737
- county?: string;
738
- isTransliterated?: boolean;
739
- nationalRegion?: string;
740
- postalCode?: string;
741
- script?: string;
742
- stateOrProvince?: string;
743
- transliteratedFromScript?: string;
744
- worldRegion?: string;
745
- };
746
- export type ReturnAddressRequest = {
747
- firstName?: string;
748
- lastName?: string;
749
- returnAddress?: Address;
750
- RMA?: string;
751
- };
752
- export type CaseSearchParams = {
753
- case_creation_date_range_from: string;
754
- case_creation_date_range_to: string;
755
- case_status_filter: CaseStatusFilter;
756
- fieldgroups: CaseSearchFieldGroup;
757
- item_id: string;
758
- limit: number;
759
- offset: number;
760
- order_id: string;
761
- return_id: string;
762
- sort: string;
763
- transaction_id: string;
764
- };
765
- export type CheckInquiryEligibilityRequest = {
766
- itemId: string;
767
- transactionId: string;
768
- };
769
- export type Token = string;
770
- export type BuyerCloseInquiryRequest = {
771
- closeReason?: Token;
772
- comments?: Text;
773
- };
774
- export type CreateInquiryRequest = {
775
- claimQuantity?: number;
776
- comments?: Text;
777
- desiredOutcome?: Token;
778
- itemId: string;
779
- transactionId: string;
780
- };
781
- export type EscalateInquiryRequest = {
782
- comments?: Text;
783
- escalateInquiryReason: Token;
784
- };
785
- export type InquiryVoluntaryRefundRequest = {
786
- comments?: Text;
787
- };
788
- export type SellerProvideRefundInfoRequest = {
789
- message: Text;
790
- };
791
- export type ShipmentInfoRequest = {
792
- proofOfShipmentUploaded?: boolean;
793
- sellerComments?: Text;
794
- shippedWithTracking?: boolean;
795
- shippingCarrierName?: string;
796
- shippingDate?: DateTime;
797
- trackingNumber?: string;
798
- };
799
- export type InquirySearchParams = {
800
- fieldgroups?: InquirySearchFieldGroup;
801
- inquiry_creation_date_range_from?: string;
802
- inquiry_creation_date_range_to?: string;
803
- inquiry_status?: InquiryStatusFilter;
804
- item_id?: string;
805
- limit?: number;
806
- offset?: number;
807
- order_id?: string;
808
- sort?: string;
809
- transaction_id?: string;
810
- };
811
- export type SendMessageRequest = {
812
- message: Text;
813
- };
814
- export type UpdateTrackingRequest = {
815
- newCarrierEnum?: ShippingCarrier;
816
- newCarrierName?: string;
817
- newTrackingNumber?: string;
818
- usedCarrierEnum?: ShippingCarrier;
819
- usedCarrierName?: string;
820
- usedTrackingNumber?: string;
821
- };
822
- export type ReturnRequestType = {
823
- carrier?: ShippingCarrier;
824
- comments?: Text;
825
- itemId: string;
826
- reason?: ReturnReason;
827
- requestType: RequestType;
828
- returnQuantity?: number;
829
- transactionId: string;
830
- type?: ReturnType;
831
- };
832
- export type SetReturnCreationSessionRequest = {
833
- returnRequest: ReturnRequestType;
834
- };
835
- export type CreateReturnRequest = {
836
- draftId?: string;
837
- returnRequest: ReturnRequestType;
838
- };
839
- export type ProvideLabelRequest = {
840
- carrierEnum?: ShippingCarrier;
841
- carrierName?: string;
842
- comments?: Text;
843
- fileId?: string;
844
- forwardShippingLabelProvided?: boolean;
845
- labelAction: Token;
846
- labelSentDate?: DateTime;
847
- noLabelReason: Token;
848
- returnLabelCost?: Amount;
849
- trackingNumber?: string;
850
- };
851
- export type CloseReturnRequest = {
852
- buyerCloseReason?: Token;
853
- comments?: Text;
854
- };
855
- export type CheckEligibilityRequest = {
856
- checkTypes: Token[];
857
- itemId: string;
858
- reason: Token;
859
- returnQuantity?: number;
860
- transactionId: string;
861
- };
862
- export type EscalateRequest = {
863
- comments: Text;
864
- reason: EscalateReason;
865
- };
866
- export type GetEstimateRequest = {
867
- itemId: string;
868
- reason?: ReturnReason;
869
- returnQuantity?: number;
870
- transactionId: string;
871
- };
872
- export type MarkAsReceivedRequest = {
873
- comments?: Text;
874
- };
875
- export type ItemizedRefundDetailType = {
876
- refundAmount: Amount;
877
- refundFeeType: Token;
878
- };
879
- export type RefundDetailType = {
880
- itemizedRefundDetail: ItemizedRefundDetailType;
881
- totalAmount: Amount;
882
- };
883
- export type MarkRefundSentRequest = {
884
- comments?: Text;
885
- partialRefundAmount?: Amount;
886
- refundDetail: RefundDetailType;
887
- };
888
- export type MarkAsShippedRequest = {
889
- carrierEnum?: ShippingCarrier;
890
- carrierName?: string;
891
- carrierUsed?: string;
892
- comments?: Text;
893
- shippedDate?: DateTime;
894
- trackingNumber: string;
895
- };
896
- export type UploadFileRequest = {
897
- data: any;
898
- fileName?: string;
899
- filePurpose: FilePurpose;
900
- };
901
- export type VoidLabelRequest = {
902
- comments?: Text;
903
- labelId: string;
904
- };
905
- export type SearchReturnParams = {
906
- creation_date_range_from?: string;
907
- creation_date_range_to?: string;
908
- item_id?: string;
909
- limit?: number;
910
- offset?: number;
911
- order_id?: string;
912
- return_id?: string;
913
- return_state?: Token;
914
- role?: Token;
915
- sort?: ReturnCountFilter;
916
- states?: ReturnState;
917
- transaction_id?: string;
918
- };
919
- export type DecideReturnRequest = {
920
- comments?: Text;
921
- decision: Decision;
922
- keepOriginalItem?: boolean;
923
- partialRefundAmount?: Amount;
924
- RMANumber?: string;
925
- rMAProvided?: boolean;
926
- };
927
- export type CategoryType = {
928
- default?: boolean;
929
- name: CategoryTypeEnum;
930
- };
931
- export type TimeDuration = {
932
- unit: TimeDurationUnit;
933
- value: number;
934
- };
935
- export type Region = {
936
- regionName: string;
937
- regionType?: RegionType;
938
- };
939
- export type RegionSet = {
940
- regionExcluded?: Region[];
941
- regionIncluded?: Region[];
942
- };
943
- export type ShippingService = {
944
- additionalShippingCost?: Amount;
945
- buyerResponsibleForPickup?: boolean;
946
- buyerResponsibleForShipping?: boolean;
947
- cashOnDeliveryFee?: Amount;
948
- freeShipping?: boolean;
949
- shippingCarrierCode?: string;
950
- shippingCost?: Amount;
951
- shippingServiceCode?: string;
952
- shipToLocations?: RegionSet;
953
- sortOrder?: number;
954
- surcharge?: Amount;
955
- };
956
- export type ShippingOption = {
957
- costType: ShippingCostType;
958
- insuranceFee?: Amount;
959
- insuranceOffered?: boolean;
960
- optionType: ShippingOptionType;
961
- packageHandlingCost?: Amount;
962
- rateTableId?: string;
963
- shippingServices: ShippingService[];
964
- };
965
- export type FulfillmentPolicyRequest = {
966
- categoryTypes: CategoryType[];
967
- description?: string;
968
- freightShipping?: boolean;
969
- globalShipping?: boolean;
970
- handlingTime: TimeDuration;
971
- localPickup?: boolean;
972
- marketplaceId: MarketplaceId;
973
- name: string;
974
- pickupDropOff?: boolean;
975
- shippingOptions?: ShippingOption[];
976
- shipToLocations?: RegionSet;
977
- };
978
- export type CustomPolicyCreateRequest = {
979
- description: string;
980
- label: string;
981
- name: string;
982
- policyType: string;
983
- };
984
- export type CustomPolicyRequest = Omit<CustomPolicyCreateRequest, 'policyType'>;
985
- export type RecipientAccountReference = {
986
- referenceId: string;
987
- referenceType: RecipientAccountReferenceType;
988
- };
989
- export type PaymentMethod = {
990
- brands?: string[];
991
- paymentMethodType?: PaymentMethodType;
992
- recipientAccountReference?: RecipientAccountReference;
993
- };
994
- export type Deposit = {
995
- amount?: Amount;
996
- dueIn?: TimeDuration;
997
- paymentMethods: PaymentMethod[];
998
- };
999
- export type PaymentPolicyRequest = {
1000
- categoryTypes: CategoryType[];
1001
- deposit?: Deposit;
1002
- description?: string;
1003
- fullPaymentDueIn?: TimeDuration;
1004
- immediatePay?: boolean;
1005
- marketplaceId: MarketplaceId;
1006
- name: string;
1007
- paymentInstructions?: string;
1008
- paymentMethods?: PaymentMethod[];
1009
- };
1010
- export type InternationalReturnOverrideType = {
1011
- returnMethod?: ReturnMethod;
1012
- returnPeriod?: TimeDuration;
1013
- returnsAccepted?: boolean;
1014
- returnShippingCostPayer?: ReturnShippingCostPayer;
1015
- };
1016
- export type ReturnPolicyRequest = {
1017
- categoryTypes?: CategoryType[];
1018
- description?: string;
1019
- extendedHolidayReturnsOffered?: boolean;
1020
- internationalOverride?: InternationalReturnOverrideType;
1021
- marketplaceId: MarketplaceId;
1022
- name: string;
1023
- refundMethod?: RefundMethod;
1024
- restockingFeePercentage?: string;
1025
- returnInstructions?: string;
1026
- returnMethod?: ReturnMethod;
1027
- returnPeriod?: TimeDuration;
1028
- returnsAccepted: boolean;
1029
- returnShippingCostPayer?: ReturnShippingCostPayer;
1030
- };
1031
- export type SalesTaxBase = {
1032
- salesTaxPercentage: string;
1033
- shippingAndHandlingTaxed: boolean;
1034
- };
1035
- export type LineItemReference = {
1036
- lineItemId: string;
1037
- quantity?: number;
1038
- };
1039
- export type ShippingFulfillmentDetails = {
1040
- lineItems: LineItemReference[];
1041
- shippedDate?: string;
1042
- shippingCarrierCode: string;
1043
- trackingNumber: string;
1044
- };
1045
- export type SellInventoryItem = {
1046
- availability: Availability;
1047
- condition: Condition;
1048
- conditionDescription?: string;
1049
- packageWeightAndSize?: PackageWeightAndSize;
1050
- product: Product;
1051
- };
1052
- export type ProductFamilyProperties = {
1053
- make: string;
1054
- model: string;
1055
- year: string;
1056
- trim?: string;
1057
- engine?: string;
1058
- };
1059
- export type ProductIdentifier = {
1060
- epid?: string;
1061
- gtin?: string;
1062
- ktype?: string;
1063
- };
1064
- export type NameValueList = {
1065
- name: string;
1066
- value: string;
1067
- };
1068
- export type CompatibleProduct = {
1069
- compatibilityProperties?: NameValueList[];
1070
- productFamilyProperties?: ProductFamilyProperties;
1071
- productIdentifier?: ProductIdentifier;
1072
- notes?: string;
1073
- };
1074
- export type Compatibility = {
1075
- compatibleProducts: CompatibleProduct[];
1076
- };
1077
- export type Specification = {
1078
- name: string;
1079
- values: string[];
1080
- };
1081
- export type VariesBy = {
1082
- aspectsImageVariesBy: string[];
1083
- specifications: Specification[];
1084
- };
1085
- export type InventoryItemGroup = {
1086
- aspects: any;
1087
- description: string;
1088
- inventoryItemGroupKey: string;
1089
- imageUrls: string[];
1090
- subtitle?: string;
1091
- title: string;
1092
- variantSKUs: string[];
1093
- variesBy: VariesBy;
1094
- };
1095
- export type CampaignCriterion = {
1096
- autoSelectFutureInventory: boolean;
1097
- criterionType: string;
1098
- selectionRules: SelectionRule[];
1099
- };
1100
- export type CreateCampaignRequest = {
1101
- campaignCriterion: CampaignCriterion;
1102
- campaignName: string;
1103
- endDate: string;
1104
- fundingStrategy: FundingStrategy;
1105
- marketplaceId: MarketplaceId;
1106
- startDate: string;
1107
- };
1108
- export type InventoryReference = {
1109
- inventoryReferenceId?: string;
1110
- inventoryReferenceType?: string;
1111
- };
1112
- export type CreateReportTask = {
1113
- campaignIds: string[];
1114
- dateFrom: string;
1115
- dateTo: string;
1116
- dimensions: Dimension[];
1117
- inventoryReferences?: InventoryReference;
1118
- listingIds: string[];
1119
- marketplaceId: MarketplaceId;
1120
- metricKeys: string[];
1121
- reportFormat: string;
1122
- reportType: string;
1123
- };
1124
- export type SellFeedParams = {
1125
- dateRange?: string;
1126
- feedType?: string;
1127
- limit?: string;
1128
- lookBackDays?: string;
1129
- offset?: string;
1130
- scheduleId?: string;
1131
- };
1132
- export type MarketingInsightsSearchParams = {
1133
- aspectFilter?: string;
1134
- categoryIds?: string;
1135
- epid?: string;
1136
- fieldgroups?: string;
1137
- filter?: string;
1138
- gtin?: string;
1139
- limit?: string;
1140
- offset?: string;
1141
- q?: string;
1142
- sort?: string;
1143
- };
1144
- export type NotificationParams = {
1145
- limit?: string;
1146
- continuationToken?: string;
1147
- };
1148
- export type SubscriptionPayloadDetail = {
1149
- format: string;
1150
- schemaVersion: string;
1151
- deliveryProtocol: string;
1152
- };
1153
- export type CreateSubscriptionRequest = {
1154
- topicId: string;
1155
- status: string;
1156
- payload: SubscriptionPayloadDetail;
1157
- destinationId: string;
1158
- };
1159
- export type UpdateSubscriptionRequest = Omit<CreateSubscriptionRequest, 'topicId'>;
1160
- export type DeliveryConfig = {
1161
- endpoint: string;
1162
- verificationToken: string;
1163
- };
1164
- export type DestinationRequest = {
1165
- name: string;
1166
- status: string;
1167
- deliveryConfig: DeliveryConfig;
1168
- };
1169
- export type NotificationConfig = {
1170
- alertEmail: string;
1171
- };
1172
- export type ItemsParams = {
1173
- itemIds: string;
1174
- itemGroupIds: string;
1175
- };
1176
- export type SuppressViolationRequest = {
1177
- complianceType: string;
1178
- listingId: string;
1179
- };
1
+ import { CancelReason, CaseSearchFieldGroup, CaseStatusFilter, CountryCode, CurrencyCode, Decision, EscalateReason, FilePurpose, InquirySearchFieldGroup, InquiryStatusFilter, RefundFeeType, RequestType, ReturnCountFilter, ReturnReason, ReturnState, ReturnType, ShippingCarrier, UserRoleFilter } from '../enums/index.js';
2
+ import { components as buyBrowse, operations as buyBrowseOperations } from './restful/specs/buy_browse_v1_oas3.js';
3
+ import { operations as buyMarketingOperations } from './restful/specs/buy_marketing_v1_beta_oas3.js';
4
+ import { components as buyOffer } from './restful/specs/buy_offer_v1_beta_oas3.js';
5
+ import { components as buyOrder } from './restful/specs/buy_order_v1_beta_oas3.js';
6
+ import { operations as commerceCatalogOperations } from './restful/specs/commerce_catalog_v1_beta_oas3.js';
7
+ import { components as commerceNotification } from './restful/specs/commerce_notification_v1_oas3.js';
8
+ import { components as commerceTranslation } from './restful/specs/commerce_translation_v1_beta_oas3.js';
9
+ import { components as sellAccount } from './restful/specs/sell_account_v1_oas3.js';
10
+ import { components as sellCompliance } from './restful/specs/sell_compliance_v1_oas3.js';
11
+ import { components as sellFulfillment } from './restful/specs/sell_fulfillment_v1_oas3.js';
12
+ import { components as sellInventory } from './restful/specs/sell_inventory_v1_oas3.js';
13
+ import { components as sellMarketing } from './restful/specs/sell_marketing_v1_oas3.js';
14
+ import { components as sellRecommendation } from './restful/specs/sell_recommendation_v1_oas3.js';
15
+ export type BrowseSearchParams = {
16
+ aspect_filter?: string;
17
+ category_ids?: string;
18
+ charity_ids?: string;
19
+ compatibility_filter?: string;
20
+ epid?: string;
21
+ fieldgroups?: string;
22
+ filter?: string;
23
+ gtin?: string;
24
+ limit?: number;
25
+ offset?: number;
26
+ q?: string;
27
+ sort?: string;
28
+ };
29
+ export type LegacyItemParams = {
30
+ legacy_item_id: string;
31
+ fieldgroups?: string;
32
+ legacy_variation_id?: string;
33
+ legacy_variation_sku?: string;
34
+ };
35
+ export type BuyFeedParams = {
36
+ feed_scope: string;
37
+ category_id: string;
38
+ date: string;
39
+ };
40
+ export type MarketingInsightsSearchParams = {
41
+ aspectFilter?: string;
42
+ categoryIds?: string;
43
+ epid?: string;
44
+ fieldgroups?: string;
45
+ filter?: string;
46
+ gtin?: string;
47
+ limit?: string;
48
+ offset?: string;
49
+ q?: string;
50
+ sort?: string;
51
+ };
52
+ export type NotificationParams = {
53
+ limit?: string;
54
+ continuationToken?: string;
55
+ };
56
+ export type SellFeedParams = {
57
+ dateRange?: string;
58
+ feedType?: string;
59
+ limit?: string;
60
+ lookBackDays?: string;
61
+ offset?: string;
62
+ scheduleId?: string;
63
+ };
64
+ export type PaymentParams = {
65
+ orderId?: string;
66
+ buyerUsername?: string;
67
+ openDateFrom?: string;
68
+ openDateTo?: string;
69
+ paymentDisputeStatus?: string;
70
+ limit?: string;
71
+ offset?: string;
72
+ };
73
+ export type CancelSortField = {
74
+ ascending: boolean;
75
+ enumValue: 'CANCEL_ID' | 'CANCEL_REQUEST_DATE';
76
+ field: '+' | '-';
77
+ };
78
+ export type CancellationSearchParams = {
79
+ cancel_id?: string;
80
+ creation_date_range_from?: string;
81
+ creation_date_range_to?: string;
82
+ item_id?: string;
83
+ legacy_order_id?: string;
84
+ limit?: string;
85
+ offset?: string;
86
+ role?: UserRoleFilter | `${UserRoleFilter}`;
87
+ sort?: CancelSortField;
88
+ transaction_id?: string;
89
+ };
90
+ export type DateTime = {
91
+ formattedValue?: string;
92
+ value: string;
93
+ };
94
+ export type ConfirmRefundRequest = {
95
+ refundDate?: DateTime;
96
+ unpaidOrder?: boolean;
97
+ };
98
+ export type LineItem = {
99
+ itemId: number;
100
+ quantity: number;
101
+ transactionId: number;
102
+ };
103
+ export type CreateCancelRequest = {
104
+ buyerPaid?: boolean;
105
+ buyerPaidDate?: DateTime;
106
+ cancelReason?: CancelReason | `${CancelReason}`;
107
+ legacyOrderId: string;
108
+ relistLineItem?: LineItem[];
109
+ };
110
+ export type RejectCancelRequest = {
111
+ shipmentDate?: DateTime;
112
+ trackingNumber?: string;
113
+ };
114
+ export type AppealRequest = {
115
+ comments: Text;
116
+ };
117
+ export type BuyerCloseCaseRequest = {
118
+ closeReason: boolean;
119
+ comments?: Text;
120
+ };
121
+ export type CaseSearchParams = {
122
+ case_creation_date_range_from: string;
123
+ case_creation_date_range_to: string;
124
+ case_status_filter: CaseStatusFilter | `${CaseStatusFilter}`;
125
+ fieldgroups: CaseSearchFieldGroup | `${CaseSearchFieldGroup}`;
126
+ item_id: string;
127
+ limit: number;
128
+ offset: number;
129
+ order_id: string;
130
+ return_id: string;
131
+ sort: string;
132
+ transaction_id: string;
133
+ };
134
+ export type Address = {
135
+ addressLine1?: string;
136
+ addressLine2?: string;
137
+ addressType?: string;
138
+ city?: string;
139
+ country?: CountryCode | `${CountryCode}`;
140
+ county?: string;
141
+ isTransliterated?: boolean;
142
+ nationalRegion?: string;
143
+ postalCode?: string;
144
+ script?: string;
145
+ stateOrProvince?: string;
146
+ transliteratedFromScript?: string;
147
+ worldRegion?: string;
148
+ };
149
+ export type ReturnAddressRequest = {
150
+ firstName?: string;
151
+ lastName?: string;
152
+ returnAddress?: Address;
153
+ RMA?: string;
154
+ };
155
+ export type Text = {
156
+ content: string;
157
+ language?: string;
158
+ translatedFromContent?: string;
159
+ translatedFromLanguage?: string;
160
+ };
161
+ export type Token = string;
162
+ export type BuyerCloseInquiryRequest = {
163
+ closeReason?: Token;
164
+ comments?: Text;
165
+ };
166
+ export type CheckInquiryEligibilityRequest = {
167
+ itemId: string;
168
+ transactionId: string;
169
+ };
170
+ export type CreateInquiryRequest = {
171
+ claimQuantity?: number;
172
+ comments?: Text;
173
+ desiredOutcome?: Token;
174
+ itemId: string;
175
+ transactionId: string;
176
+ };
177
+ export type EscalateInquiryRequest = {
178
+ comments?: Text;
179
+ escalateInquiryReason: Token;
180
+ };
181
+ export type InquiryVoluntaryRefundRequest = {
182
+ comments?: Text;
183
+ };
184
+ export type SellerProvideRefundInfoRequest = {
185
+ message: Text;
186
+ };
187
+ export type ShipmentInfoRequest = {
188
+ proofOfShipmentUploaded?: boolean;
189
+ sellerComments?: Text;
190
+ shippedWithTracking?: boolean;
191
+ shippingCarrierName?: string;
192
+ shippingDate?: DateTime;
193
+ trackingNumber?: string;
194
+ };
195
+ export type InquirySearchParams = {
196
+ fieldgroups?: InquirySearchFieldGroup | `${InquirySearchFieldGroup}`;
197
+ inquiry_creation_date_range_from?: string;
198
+ inquiry_creation_date_range_to?: string;
199
+ inquiry_status?: InquiryStatusFilter | `${InquiryStatusFilter}`;
200
+ item_id?: string;
201
+ limit?: number;
202
+ offset?: number;
203
+ order_id?: string;
204
+ sort?: string;
205
+ transaction_id?: string;
206
+ };
207
+ export type SendMessageRequest = {
208
+ message: Text;
209
+ };
210
+ export type CheckEligibilityRequest = {
211
+ checkTypes: Token[];
212
+ itemId: string;
213
+ reason: Token;
214
+ returnQuantity?: number;
215
+ transactionId: string;
216
+ };
217
+ export type CloseReturnRequest = {
218
+ buyerCloseReason?: Token;
219
+ comments?: Text;
220
+ };
221
+ export type ReturnRequestType = {
222
+ carrier?: ShippingCarrier | `${ShippingCarrier}`;
223
+ comments?: Text;
224
+ itemId: string;
225
+ reason?: ReturnReason | `${ReturnReason}`;
226
+ requestType: RequestType | `${RequestType}`;
227
+ returnQuantity?: number;
228
+ transactionId: string;
229
+ type?: ReturnType | `${ReturnType}`;
230
+ };
231
+ export type CreateReturnRequest = {
232
+ draftId?: string;
233
+ returnRequest: ReturnRequestType;
234
+ };
235
+ export type Amount = {
236
+ convertedFromCurrency?: CurrencyCode | `${CurrencyCode}`;
237
+ convertedFromValue?: number;
238
+ currency?: CurrencyCode | `${CurrencyCode}`;
239
+ value: string;
240
+ };
241
+ export type DecideReturnRequest = {
242
+ comments?: Text;
243
+ decision: Decision | `${Decision}`;
244
+ keepOriginalItem?: boolean;
245
+ partialRefundAmount?: Amount;
246
+ RMANumber?: string;
247
+ rMAProvided?: boolean;
248
+ };
249
+ export type EscalateRequest = {
250
+ comments: Text;
251
+ reason: EscalateReason | `${EscalateReason}`;
252
+ };
253
+ export type GetEstimateRequest = {
254
+ itemId: string;
255
+ reason?: ReturnReason | `${ReturnReason}`;
256
+ returnQuantity?: number;
257
+ transactionId: string;
258
+ };
259
+ export type MarkAsReceivedRequest = {
260
+ comments?: Text;
261
+ };
262
+ export type MarkAsShippedRequest = {
263
+ carrierEnum?: ShippingCarrier | `${ShippingCarrier}`;
264
+ carrierName?: string;
265
+ carrierUsed?: string;
266
+ comments?: Text;
267
+ shippedDate?: DateTime;
268
+ trackingNumber: string;
269
+ };
270
+ export type ItemizedRefundDetailType = {
271
+ refundAmount: Amount;
272
+ refundFeeType: Token;
273
+ };
274
+ export type RefundDetailType = {
275
+ itemizedRefundDetail: ItemizedRefundDetailType;
276
+ totalAmount: Amount;
277
+ };
278
+ export type MarkRefundSentRequest = {
279
+ comments?: Text;
280
+ partialRefundAmount?: Amount;
281
+ refundDetail: RefundDetailType;
282
+ };
283
+ export type Comments = {
284
+ content: string;
285
+ language?: string;
286
+ translatedFromContent?: string;
287
+ translatedFromLanguage?: string;
288
+ };
289
+ export type PostOrderItemizedRefundDetailType = {
290
+ refundAmount: Amount;
291
+ refundFeeType: RefundFeeType | `${RefundFeeType}`;
292
+ restockingFeePercentage?: string;
293
+ };
294
+ export type RefundDetail = {
295
+ itemizedRefundDetail: PostOrderItemizedRefundDetailType[];
296
+ totalAmount: Amount;
297
+ };
298
+ export type PostOrderIssueRefundRequest = {
299
+ comments?: Comments;
300
+ refundDetail: RefundDetail;
301
+ relistItem?: boolean;
302
+ };
303
+ export type ProvideLabelRequest = {
304
+ carrierEnum?: ShippingCarrier | `${ShippingCarrier}`;
305
+ carrierName?: string;
306
+ comments?: Text;
307
+ fileId?: string;
308
+ forwardShippingLabelProvided?: boolean;
309
+ labelAction: Token;
310
+ labelSentDate?: DateTime;
311
+ noLabelReason: Token;
312
+ returnLabelCost?: Amount;
313
+ trackingNumber?: string;
314
+ };
315
+ export type SearchReturnParams = {
316
+ creation_date_range_from?: string;
317
+ creation_date_range_to?: string;
318
+ item_id?: string;
319
+ limit?: number;
320
+ offset?: number;
321
+ order_id?: string;
322
+ return_id?: string;
323
+ return_state?: Token;
324
+ role?: Token;
325
+ sort?: ReturnCountFilter | `${ReturnCountFilter}`;
326
+ states?: ReturnState | `${ReturnState}`;
327
+ transaction_id?: string;
328
+ };
329
+ export type SetReturnCreationSessionRequest = {
330
+ returnRequest: ReturnRequestType;
331
+ };
332
+ export type UpdateTrackingRequest = {
333
+ newCarrierEnum?: ShippingCarrier | `${ShippingCarrier}`;
334
+ newCarrierName?: string;
335
+ newTrackingNumber?: string;
336
+ usedCarrierEnum?: ShippingCarrier | `${ShippingCarrier}`;
337
+ usedCarrierName?: string;
338
+ usedTrackingNumber?: string;
339
+ };
340
+ export type UploadFileRequest = {
341
+ data: any;
342
+ fileName?: string;
343
+ filePurpose: FilePurpose | `${FilePurpose}`;
344
+ };
345
+ export type VoidLabelRequest = {
346
+ comments?: Text;
347
+ labelId: string;
348
+ };
349
+ export type CreateSubscriptionRequest = commerceNotification['schemas']['CreateSubscriptionRequest'];
350
+ export type UpdateSubscriptionRequest = commerceNotification['schemas']['UpdateSubscriptionRequest'];
351
+ export type DestinationRequest = commerceNotification['schemas']['DestinationRequest'];
352
+ export type CommerceNotificationConfig = commerceNotification['schemas']['Config'];
353
+ export type TranslateRequest = commerceTranslation['schemas']['TranslateRequest'];
354
+ export type CommerceCatalogSearchParams = commerceCatalogOperations['search']['parameters']['query'];
355
+ export type AttributeNameValue = buyBrowse['schemas']['AttributeNameValue'];
356
+ export type CompatibilityPayload = buyBrowse['schemas']['CompatibilityPayload'];
357
+ export type AddCartItemInput = buyBrowse['schemas']['AddCartItemInput'];
358
+ export type RemoveCartItemInput = buyBrowse['schemas']['RemoveCartItemInput'];
359
+ export type UpdateCartItemInput = buyBrowse['schemas']['UpdateCartItemInput'];
360
+ export type PlaceProxyBidRequest = buyOffer['schemas']['PlaceProxyBidRequest'];
361
+ export type SearchByImageRequest = buyBrowse['schemas']['SearchByImageRequest'];
362
+ export type BuyBrowseSearchParams = buyBrowseOperations['search']['parameters']['query'];
363
+ export type BuyBrowseSearchByImageParams = buyBrowseOperations['searchByImage']['parameters']['query'];
364
+ export type BuyBrowseGetItemsParams = buyBrowseOperations['getItems']['parameters']['query'];
365
+ export type BuyBrowseItemByLegacyIdParams = buyBrowseOperations['getItemByLegacyId']['parameters']['query'];
366
+ export type BuyMarketingGetAlsoBoughtByProductParams = buyMarketingOperations['getAlsoBoughtByProduct']['parameters']['query'];
367
+ export type BuyMarketingGetAlsoViewedByProductParams = buyMarketingOperations['getAlsoViewedByProduct']['parameters']['query'];
368
+ export type BuyMarketingGetMerchandisedProductsParams = buyMarketingOperations['getMerchandisedProducts']['parameters']['query'];
369
+ export type CreateGuestCheckoutSessionRequest = buyOrder['schemas']['CreateGuestCheckoutSessionRequest'];
370
+ export type CheckoutSessionRequestWithoutPayment = buyOrder['schemas']['CheckoutSessionRequestWithoutPayment'];
371
+ export type CouponRequest = buyOrder['schemas']['CouponRequest'];
372
+ export type CreateSignInCheckoutSessionRequest = buyOrder['schemas']['CreateSignInCheckoutSessionRequest'];
373
+ export type GuestPlaceOrderRequest = buyOrder['schemas']['GuestPlaceOrderRequest'];
374
+ export type InitiatePaymentRequest = buyOrder['schemas']['InitiatePaymentRequest'];
375
+ export type ShippingAddressImpl = buyOrder['schemas']['ShippingAddressImpl'];
376
+ export type UpdatePaymentInformation = buyOrder['schemas']['UpdatePaymentInformation'];
377
+ export type UpdateQuantity = buyOrder['schemas']['UpdateQuantity'];
378
+ export type UpdateShippingOption = buyOrder['schemas']['UpdateShippingOption'];
379
+ export type SuppressViolationRequest = sellCompliance['schemas']['SuppressViolationRequest'];
380
+ export type CustomPolicyCreateRequest = sellAccount['schemas']['CustomPolicyCreateRequest'];
381
+ export type CustomPolicyRequest = sellAccount['schemas']['CustomPolicyRequest'];
382
+ export type FulfillmentPolicyRequest = sellAccount['schemas']['FulfillmentPolicyRequest'];
383
+ export type FulfillmentSellAccountProgram = sellAccount['schemas']['Program'];
384
+ export type PaymentPolicyRequest = sellAccount['schemas']['PaymentPolicyRequest'];
385
+ export type ReturnPolicyRequest = sellAccount['schemas']['ReturnPolicyRequest'];
386
+ export type SalesTaxBase = sellAccount['schemas']['SalesTaxBase'];
387
+ export type LineItemReference = sellFulfillment['schemas']['LineItemReference'];
388
+ export type UpdateEvidencePaymentDisputeRequest = sellFulfillment['schemas']['UpdateEvidencePaymentDisputeRequest'];
389
+ export type RefundItem = sellFulfillment['schemas']['RefundItem'];
390
+ export type SimpleAmount = sellFulfillment['schemas']['SimpleAmount'];
391
+ export type AddEvidencePaymentDisputeRequest = sellFulfillment['schemas']['AddEvidencePaymentDisputeRequest'];
392
+ export type ContestPaymentDisputeRequest = sellFulfillment['schemas']['ContestPaymentDisputeRequest'];
393
+ export type IssueRefundRequest = sellFulfillment['schemas']['IssueRefundRequest'];
394
+ export type ShippingFulfillmentDetails = sellFulfillment['schemas']['ShippingFulfillmentDetails'];
395
+ export type BulkEbayOfferDetailsWithKeys = sellInventory['schemas']['BulkEbayOfferDetailsWithKeys'];
396
+ export type BulkInventoryItem = sellInventory['schemas']['BulkInventoryItem'];
397
+ export type BulkMigrateListing = sellInventory['schemas']['BulkMigrateListing'];
398
+ export type BulkOffer = sellInventory['schemas']['BulkOffer'];
399
+ export type BulkPriceQuantity = sellInventory['schemas']['BulkPriceQuantity'];
400
+ export type Compatibility = sellInventory['schemas']['Compatibility'];
401
+ export type EbayOfferDetailsWithId = sellInventory['schemas']['EbayOfferDetailsWithId'];
402
+ export type EbayOfferDetailsWithKeys = sellInventory['schemas']['EbayOfferDetailsWithKeys'];
403
+ export type InventoryItemGroup = sellInventory['schemas']['InventoryItemGroup'];
404
+ export type InventoryLocation = sellInventory['schemas']['InventoryLocation'];
405
+ export type InventoryLocationFull = sellInventory['schemas']['InventoryLocationFull'];
406
+ export type OfferKeysWithId = sellInventory['schemas']['OfferKeysWithId'];
407
+ export type PublishByInventoryItemGroupRequest = sellInventory['schemas']['PublishByInventoryItemGroupRequest'];
408
+ export type WithdrawByInventoryItemGroupRequest = sellInventory['schemas']['WithdrawByInventoryItemGroupRequest'];
409
+ export type InventoryItem = sellInventory['schemas']['InventoryItem'];
410
+ export type BulkCreateAdRequest = sellMarketing['schemas']['BulkCreateAdRequest'];
411
+ export type BulkCreateAdsByInventoryReferenceRequest = sellMarketing['schemas']['BulkCreateAdsByInventoryReferenceRequest'];
412
+ export type BulkCreateKeywordRequest = sellMarketing['schemas']['BulkCreateKeywordRequest'];
413
+ export type BulkCreateNegativeKeywordRequest = sellMarketing['schemas']['BulkCreateNegativeKeywordRequest'];
414
+ export type BulkDeleteAdRequest = sellMarketing['schemas']['BulkDeleteAdRequest'];
415
+ export type BulkDeleteAdsByInventoryReferenceRequest = sellMarketing['schemas']['BulkDeleteAdsByInventoryReferenceRequest'];
416
+ export type BulkUpdateAdStatusByListingIdRequest = sellMarketing['schemas']['BulkUpdateAdStatusByListingIdRequest'];
417
+ export type BulkUpdateAdStatusRequest = sellMarketing['schemas']['BulkUpdateAdStatusRequest'];
418
+ export type BulkUpdateKeywordRequest = sellMarketing['schemas']['BulkUpdateKeywordRequest'];
419
+ export type BulkUpdateNegativeKeywordRequest = sellMarketing['schemas']['BulkUpdateNegativeKeywordRequest'];
420
+ export type CloneCampaignRequest = sellMarketing['schemas']['CloneCampaignRequest'];
421
+ export type CreateAdGroupRequest = sellMarketing['schemas']['CreateAdGroupRequest'];
422
+ export type CreateAdRequest = sellMarketing['schemas']['CreateAdRequest'];
423
+ export type CreateAdsByInventoryReferenceRequest = sellMarketing['schemas']['CreateAdsByInventoryReferenceRequest'];
424
+ export type CreateCampaignRequest = sellMarketing['schemas']['CreateCampaignRequest'];
425
+ export type CreateKeywordRequest = sellMarketing['schemas']['CreateKeywordRequest'];
426
+ export type CreateNegativeKeywordRequest = sellMarketing['schemas']['CreateNegativeKeywordRequest'];
427
+ export type CreateReportTask = sellMarketing['schemas']['CreateReportTask'];
428
+ export type ItemPriceMarkdown = sellMarketing['schemas']['ItemPriceMarkdown'];
429
+ export type ItemPromotion = sellMarketing['schemas']['ItemPromotion'];
430
+ export type TargetedBidRequest = sellMarketing['schemas']['TargetedBidRequest'];
431
+ export type TargetedKeywordRequest = sellMarketing['schemas']['TargetedKeywordRequest'];
432
+ export type UpdateAdGroupRequest = sellMarketing['schemas']['UpdateAdGroupRequest'];
433
+ export type UpdateAdrateStrategyRequest = sellMarketing['schemas']['UpdateAdrateStrategyRequest'];
434
+ export type UpdateBidPercentageRequest = sellMarketing['schemas']['UpdateBidPercentageRequest'];
435
+ export type UpdateCampaignBudgetRequest = sellMarketing['schemas']['UpdateCampaignBudgetRequest'];
436
+ export type UpdateCampaignIdentificationRequest = sellMarketing['schemas']['UpdateCampaignIdentificationRequest'];
437
+ export type UpdateKeywordRequest = sellMarketing['schemas']['UpdateKeywordRequest'];
438
+ export type UpdateNegativeKeywordRequest = sellMarketing['schemas']['UpdateNegativeKeywordRequest'];
439
+ export type FindListingRecommendationRequest = sellRecommendation['schemas']['FindListingRecommendationRequest'];