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,302 +1,166 @@
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
  "/shipping_quote": {
7
- /** @description The createShippingQuote method returns a shipping quote that contains a list of live "rates." Each rate represents an offer made by a shipping carrier for a specific service and each offer has a live quote for the base service cost. Rates have a time window in which they are "live," and rates expire when their purchase window ends. If offered by the carrier, rates can include shipping options (and their associated prices), and users can add any offered shipping option to the base service should they desire. Also, depending on the services required, rates can also include pickup and delivery windows. Each rate is for a single package and is based on the following information: The shipping origin The shipping destination The package size (weight and dimensions) Rates are identified by a unique eBay-assigned rateId and rates are based on price points, pickup and delivery time frames, and other user requirements. Because each rate offered must be compliant with the eBay shipping program, all rates reflect eBay-negotiated prices. The various rates returned in a shipping quote offer the user a choice from which they can choose a shipping service that best fits their needs. Select the rate for your shipment and using the associated rateId, call cerateFromShippingQuote to create a shipment and generate a shipping label that you can use to ship the package. */
8
3
  post: operations["createShippingQuote"];
9
4
  };
10
5
  "/shipping_quote/{shippingQuoteId}": {
11
- /** @description This method retrieves the complete details of the shipping quote associated with the specified shippingQuoteId value. A "shipping quote" pertains to a single specific package and contains a set of shipping "rates" that quote the cost to ship the package by different shipping carriers and services. The quotes are based on the package's origin, destination, and size. Call createShippingQuote to create a shippingQuoteId. */
12
6
  get: operations["getShippingQuote"];
13
7
  };
14
8
  "/shipment/create_from_shipping_quote": {
15
- /** @description This method creates a "shipment" based on the shippingQuoteId and rateId values supplied in the request. The rate identified by the rateId value specifies the carrier and service for the package shipment, and the rate ID must be contained in the shipping quote identified by the shippingQuoteId value. Call createShippingQuote to retrieve a set of live shipping rates. When you create a shipment, eBay generates a shipping label that you can download and use to ship your package. In a createFromShippingQuote request, sellers can include a list of shipping options they want to add to the base service quoted in the selected rate. The list of available shipping options is specific to each quoted rate and if available, the options are listed in the rate container of the of the shipping quote. In addition to a configurable return-to location and other details about the shipment, the response to this method includes: The shipping carrier and service to be used for the package shipment A list of selected shipping options, if any The shipment tracking number The total shipping cost (the sum cost of the base shipping service and any added options) When you create a shipment, your billing agreement account is charged the sum of the baseShippingCost and the total cost of any additional shipping options you might have selected. Use the URL returned in labelDownloadUrl field, or call downloadLabelFile with the shipmentId value from the response, to download a shipping label for your package. Important! Sellers must set up their payment method with eBay before they can use this method to create a shipment and the associated shipping label. */
16
9
  post: operations["createFromShippingQuote"];
17
10
  };
18
11
  "/shipment/{shipmentId}": {
19
- /** @description This method retrieves the shipment details for the specified shipment ID. Call createFromShippingQuote to generate a shipment ID. */
20
12
  get: operations["getShipment"];
21
13
  };
22
14
  "/shipment/{shipmentId}/download_label_file": {
23
- /** @description This method returns the shipping label file that was generated for the shipmentId value specified in the request. Call createFromShippingQuote to generate a shipment ID. Use the Accept HTTP header to specify the format of the returned file. The default file format is a PDF file. */
24
15
  get: operations["downloadLabelFile"];
25
16
  };
26
17
  "/shipment/{shipmentId}/cancel": {
27
- /** @description This method cancels the shipment associated with the specified shipment ID and the associated shipping label is deleted. When you cancel a shipment, the totalShippingCost of the canceled shipment is refunded to the account established by the user's billing agreement. Note that you cannot cancel a shipment if you have used the associated shipping label. */
28
18
  post: operations["cancelShipment"];
29
19
  };
30
20
  }
31
21
  export type webhooks = Record<string, never>;
32
22
  export interface components {
33
23
  schemas: {
34
- /** @description This complex type contains information about a shipping option that can be purchased in addition to the base shipping cost of a recommended rate. Additional options for each rate are defined, named, and offered by the selected shipping carrier. Examples include shipping insurance or the requirement for a recipient signature. */
35
24
  AdditionalOption: {
36
- /** @description The monetary cost of the additional shipping option identified by the optionType field. */
37
25
  additionalCost?: components["schemas"]["Amount"];
38
- /** @description The name of a shipping option that can be purchased in addition to the base shipping cost of this rate. The value supplied in this field must match exactly the option name as supplied by the selected rate. */
39
26
  optionType?: string;
40
27
  };
41
- /** @description A complex type that describes the value of a monetary amount as represented by a global currency. */
42
28
  Amount: {
43
- /** @description The base currency applied to the value field to establish a monetary amount. The currency is represented as a 3-letter ISO 4217 currency code. For example, the code for the Canadian Dollar is CAD. Default: The default currency of the eBay marketplace that hosts the listing. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/logistics/types/bas:CurrencyCodeEnum'>eBay API documentation</a> */
44
29
  currency?: string;
45
- /** @description The monetary amount in the specified currency. */
46
30
  value?: string;
47
31
  };
48
- /** @description This complex type contains contact information for an individual buyer or seller. */
49
32
  Contact: {
50
- /** @description The company name with which the contact is associated. */
51
33
  companyName?: string;
52
- /** @description The details of the contact's geographical address. */
53
34
  contactAddress?: components["schemas"]["ContactAddress"];
54
- /** @description The contact's full name. */
55
35
  fullName?: string;
56
- /** @description The contact's primary telephone number. */
57
36
  primaryPhone?: components["schemas"]["PhoneNumber"];
58
37
  };
59
- /** @description This complex type specifies the details of a geographical address. */
60
38
  ContactAddress: {
61
- /** @description The first line of the street address. */
62
39
  addressLine1?: string;
63
- /** @description The second line of the street address. Use this field for additional address information, such as a suite or apartment number. */
64
40
  addressLine2?: string;
65
- /** @description The city in which the address is located. */
66
41
  city?: string;
67
- /** @description The country of the address, represented as two-letter ISO 3166 country code. For example, US represents the United States and DE represents Germany. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/logistics/types/bas:CountryCodeEnum'>eBay API documentation</a> */
68
42
  countryCode?: string;
69
- /** @description The county (not country) in which the address is located. Counties typically contain multiple cities or towns. */
70
43
  county?: string;
71
- /** @description The postal code of the address. */
72
44
  postalCode?: string;
73
- /** @description The state or province in which the address is located. States and provinces often contain multiple counties. */
74
45
  stateOrProvince?: string;
75
46
  };
76
- /** @description This complex type contains the request payload for the createFromShippingQuote method. */
77
47
  CreateShipmentFromQuoteRequest: {
78
- /** @description Supply a list of one or more shipping options that the seller wants to purchase for this shipment. The baseShippingCost field that's associated with the selected shipping rate is the cost of the base service offered in the rate. In addition to the base service, sellers can add additional shipping services to the base service. Shipping options include things such as shipping insurance or a recipient's signature upon delivery. The cost of any added services is summed with the base shipping cost to determine the final cost for the shipment. All options added to the shipment must be chosen from the set of shipping options offered with the selected rate. */
79
48
  additionalOptions?: (components["schemas"]["AdditionalOption"])[];
80
- /** @description Optional text to be printed on the shipping label if the selected shipping carrier supports custom messages on their labels. */
81
49
  labelCustomMessage?: string;
82
- /** @description The seller's desired label size. Any supplied value is applied only if the shipping carrier supports multiple label sizes, otherwise the carrier's default label size is used. 4&quot;x6&quot; */
83
50
  labelSize?: string;
84
- /** @description The eBay-assigned ID of the shipping rate that the seller selected for the shipment. This value is generated by a call to createShippingQuote and is returned in the rates.rateId field. */
85
51
  rateId?: string;
86
- /** @description The optional return address and contact details for the shipment. The return address is printed on the shipping label. If not specified, the return address defaults to the shipFrom address returned in shipping quote. */
87
52
  returnTo?: components["schemas"]["Contact"];
88
- /** @description The unique eBay-assigned ID of the shipping quote that was generated by a call to createShippingQuote. */
89
53
  shippingQuoteId?: string;
90
54
  };
91
- /** @description This complex type defines the dimensions of a package to be shipped. */
92
55
  Dimensions: {
93
- /** @description The numeric value of the height of the package. */
94
56
  height?: string;
95
- /** @description The numeric value of the length of the package. */
96
57
  length?: string;
97
- /** @description The unit of measure used to express the height, length, and width of the package. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/logistics/types/api:LengthUnitOfMeasureEnum'>eBay API documentation</a> */
98
58
  unit?: string;
99
- /** @description The numeric value of the width of the package. */
100
59
  width?: string;
101
60
  };
102
- /** @description A container that defines the elements of error and warning message. */
103
61
  Error: {
104
- /** @description The category type for this error or warning. It takes a string that can have one of three values: Application: Indicates an exception or error occurred in the application code or at runtime. Examples include catching an exception in a service's business logic, system failures, or request errors from a dependency. Business: Used when your service or a dependent service refused to continue processing on the resource because of a business rule violation such as &quot;Seller does not ship item to Antarctica&quot; or &quot;Buyer ineligible to purchase an alcoholic item&quot;. Business errors are not syntactical input errors. Request: Used when there is anything wrong with the request, such as authentication, syntactical errors, rate limiting or missing headers, bad HTTP header values, and so on. */
105
62
  category?: string;
106
- /** @description Name of the domain containing the service or application. */
107
63
  domain?: string;
108
- /**
109
- * Format: int32
110
- * @description A positive integer that uniquely identifies the specific error condition that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms.
111
- */
112
64
  errorId?: number;
113
- /** @description Identifies specific request elements associated with the error, if any. inputRefId's response is format specific. For JSON, use JSONPath notation. */
114
65
  inputRefIds?: (string)[];
115
- /** @description An expanded version of message that should be around 100-200 characters long, but is not required to be such. */
116
66
  longMessage?: string;
117
- /** @description An end user and app-developer friendly device agnostic message. It explains what the error or warning is, and how to fix it (in a general sense). Its value is at most 50 characters long. If applicable, the value is localized in the end user's requested locale. */
118
67
  message?: string;
119
- /** @description Identifies specific response elements associated with the error, if any. Path format is the same as inputRefId. */
120
68
  outputRefIds?: (string)[];
121
- /** @description This optional complex field type contains a list of one or more context-specific ErrorParameter objects, with each item in the list entry being a parameter (or input field name) that caused an error condition. Each ErrorParameter object consists of two fields, a name and a value. */
122
69
  parameters?: (components["schemas"]["ErrorParameter"])[];
123
- /** @description Name of the domain's subsystem or subdivision. For example, checkout is a subdomain in the buying domain. */
124
70
  subdomain?: string;
125
71
  };
126
- /** @description Container for an error parameter. */
127
72
  ErrorParameter: {
128
- /** @description Name of the entity that threw the error. */
129
73
  name?: string;
130
- /** @description A description of the error. */
131
74
  value?: string;
132
75
  };
133
- /** @description This complex type defines an order from which a seller is including one or more line items in a single package to be shipped. */
134
76
  Order: {
135
- /** @description The e-commerce platform or environment where the order was created. Use the value EBAY to get the rates available for eBay orders. */
136
77
  channel?: string;
137
- /** @description The unique ID of the order supplied by the channel of origin. For eBay orders, this would be the orderId. */
138
78
  orderId?: string;
139
79
  };
140
- /** @description This complex type specifies the dimensions and weight of a package. */
141
80
  PackageSpecification: {
142
- /** @description Declares the height, length, width, and unit of measure for the package to be shipped. */
143
81
  dimensions?: components["schemas"]["Dimensions"];
144
- /** @description Declares the weight of the package. */
145
82
  weight?: components["schemas"]["Weight"];
146
83
  };
147
- /** @description This complex type contains a string field representing a telephone number. */
148
84
  PhoneNumber: {
149
- /** @description A telephone number. */
150
85
  phoneNumber?: string;
151
86
  };
152
- /** @description This complex type defines a time window for the pickup of a package. */
153
87
  PickupSlot: {
154
- /** @description The date and time the pickup slot ends, formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock. Format: [YYYY]-[MM]-[DD]T[HH]:[MM]:[SS].[SSS]Z Example: 2018-08-20T07:09:00.000Z */
155
88
  pickupSlotEndTime?: string;
156
- /** @description Seller-defined name for the pickup slot. */
157
89
  pickupSlotId?: string;
158
- /** @description The date and time the pickup slot begins, formatted as an ISO 8601 UTC string. */
159
90
  pickupSlotStartTime?: string;
160
- /** @description The time zone of the pickup location, returned as Time Zone Database ID (also know as an Olson time zone ID). */
161
91
  pickupSlotTimeZone?: string;
162
92
  };
163
- /** @description The &quot;rate&quot; that has been selected and purchased for the shipment, as referenced by the rateId value. */
164
93
  PurchasedRate: {
165
- /** @description An list of additional, optional features that have been purchased for the shipment. */
166
94
  additionalOptions?: (components["schemas"]["AdditionalOption"])[];
167
- /** @description The amount of the &quot;base cost&quot; for the shipment as set by the given carrier for the specified service. This cost excludes any addition costs accrued from the addition of any optional shipping options. */
168
95
  baseShippingCost?: components["schemas"]["Amount"];
169
- /** @description The time zone of the destination according to Time Zone Database. For example, &quot;America/Los_Angeles&quot;. */
170
96
  destinationTimeZone?: string;
171
- /** @description A string value representing maximum (latest) estimated delivery time, formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock. Format: [YYYY]-[MM]-[DD]T[HH]:[MM]:[SS].[SSS]Z Example: 2018-08-20T07:09:00.000Z */
172
97
  maxEstimatedDeliveryDate?: string;
173
- /** @description A string value representing minimum (earliest) estimated delivery time, formatted as an ISO 8601ISO 8601 UTC string. */
174
98
  minEstimatedDeliveryDate?: string;
175
- /** @description A list of pickup networks compatible with the shipping service. */
176
99
  pickupNetworks?: (string)[];
177
- /** @description This unique eBay-assigned ID value is returned only if the shipment has been configured for a scheduled pickup. */
178
100
  pickupSlotId?: string;
179
- /** @description The type of pickup or drop off configured for the shipment. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/logistics/types/api:PickupTypeEnum'>eBay API documentation</a> */
180
101
  pickupType?: string;
181
- /** @description The eBay-generated ID of the shipping rate that the seller has chosen to purchase for the shipment. */
182
102
  rateId?: string;
183
- /** @description The ID code for the carrier that was selected for the package shipment. */
184
103
  shippingCarrierCode?: string;
185
- /** @description The name of the shipping carrier. */
186
104
  shippingCarrierName?: string;
187
- /** @description The unique eBay-generated ID of the shipping quote from which the seller selected a shipping rate (rateId). */
188
105
  shippingQuoteId?: string;
189
- /** @description String ID code for the shipping service selected for the package shipment. This is a service that the shipping carrier supplies. */
190
106
  shippingServiceCode?: string;
191
- /** @description The name of the shipping service. */
192
107
  shippingServiceName?: string;
193
- /** @description The total shipping cost, which is the sum cost of the base shipping cost and the cost of all the selected shipping options. */
194
108
  totalShippingCost?: components["schemas"]["Amount"];
195
109
  };
196
- /** @description This complex type contains live quote information about a shipping service that's available for a given shipping quote request, including the shipping carrier and service, delivery window, shipping cost, and additional shipping options. */
197
110
  Rate: {
198
- /** @description Contains service and pricing information for one or more shipping options that are offered by the carrier and can be purchased in addition to the base shipping service provided by this rate. Shipping options can include items such as INSURANCE and SIGNATURE. */
199
111
  additionalOptions?: (components["schemas"]["AdditionalOption"])[];
200
- /** @description A live quote for the cost that the carrier (identified by shippingCarrierCode) is charging for the shipping service being offered (identified by shippingServiceCode), excluding any additional shipping options. */
201
112
  baseShippingCost?: components["schemas"]["Amount"];
202
- /** @description The name of the time zone region, as defined in the IANA Time Zone Database, to which the package is being shipped. Delivery dates are calculated relative to this time zone. Note: This is different from a Coordinated Universal Time (UTC) offset. For example, the America/Los_Angeles time zone identifies a region with the UTC standard time offset of -08:00, but so do several other time zones, including America/Tijuana,America/Dawson, and Pacific/Pitcairn. */
203
113
  destinationTimeZone?: string;
204
- /** @description The latest stated date and time the shipment will be delivered at this rate. The time stamp is formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock. Format: [YYYY]-[MM]-[DD]T[HH]:[MM]:[SS].[SSS]Z Example: 2018-08-20T07:09:00.000Z */
205
114
  maxEstimatedDeliveryDate?: string;
206
- /** @description The estimated earliest date and time the shipment will be delivered at this rate. The time stamp is formatted as an ISO 8601 UTC string. */
207
115
  minEstimatedDeliveryDate?: string;
208
- /** @description A list of pickup networks compatible with the shipping service. */
209
116
  pickupNetworks?: (string)[];
210
- /** @description A list of available pickup slots for the package. */
211
117
  pickupSlots?: (components["schemas"]["PickupSlot"])[];
212
- /** @description The type of pickup or drop-off service associated with the pickupSlots time frames. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/logistics/types/api:PickupTypeEnum'>eBay API documentation</a> */
213
118
  pickupType?: string;
214
- /** @description The unique eBay-assigned ID for this shipping rate. */
215
119
  rateId?: string;
216
- /** @description A list of reasons this rate is recommended. Available values are: BUYER_CHOSEN &mdash; The rate meets or exceeds the requirements of the buyer's preferred shipping option. CHEAPEST_ON_TIME &mdash; The rate is the cheapest rate available that will provide delivery within the seller's time frame commitment. EBAY_PLUS_OK &mdash; The rate complies with the shipping requirements of the eBay Plus program. FASTEST_ON_TIME &mdash; The rate has the fastest shipping time, and will provide delivery within the seller's time frame commitment. GUARANTEED_DELIVERY_OK &mdash; The rate complies with the shipping requirements of the eBay Guaranteed Delivery program. */
217
120
  rateRecommendation?: (string)[];
218
- /** @description The code name of the shipping carrier who will provide the service identified by shippingServiceCode. */
219
121
  shippingCarrierCode?: string;
220
- /** @description The common name of the shipping carrier. */
221
122
  shippingCarrierName?: string;
222
- /** @description The code name of the shipping service to be provided by the carrier identified by shippingCarrierCode. */
223
123
  shippingServiceCode?: string;
224
- /** @description The common name of the shipping service. */
225
124
  shippingServiceName?: string;
226
125
  };
227
- /** @description This complex type defines a shipment for a specific package (for example, a box or letter). Shipments are always linked to a purchased shipping label. */
228
126
  Shipment: {
229
- /** @description Cancellation status for the package, if one exists. */
230
127
  cancellation?: components["schemas"]["ShipmentCancellation"];
231
- /** @description The date and time the shipment was created, formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock. Format: [YYYY]-[MM]-[DD]T[HH]:[MM]:[SS].[SSS]Z Example: 2018-08-20T07:09:00.000Z */
232
128
  creationDate?: string;
233
- /** @description If supported by the selected shipping carrier, this field can contain optional seller text to be printed on the shipping label. */
234
129
  labelCustomMessage?: string;
235
- /** @description The direct URL the seller can use to download an image of the shipping label. By default, the file format is PDF. See downloadLabelFile for requesting different response file formats. */
236
130
  labelDownloadUrl?: string;
237
- /** @description The seller's desired label size. The support for multi-sized labels is shipping-carrier specific and if the size requested in the creaateFromShippingQuote call matches a size the carrier supports, the value will be represented here in the shipment. Currently, the only valid value is: 4&quot;x6&quot; */
238
131
  labelSize?: string;
239
- /** @description This list value is optionally assigned by the seller. When present, each element in the returned list contains seller-assigned information about an order (such as an order number). Because a package can contain all or part of one or more orders, this field provides a way for sellers to identify the packages that contain specific orders. */
240
132
  orders?: (components["schemas"]["Order"])[];
241
- /** @description The weight and dimensions of the package. */
242
133
  packageSpecification?: components["schemas"]["PackageSpecification"];
243
- /** @description The shipping rate that the seller has chosen to purchase for this shipment. Each rate, identified by a rateId, contains the offered base service, options, and shipping parameters that were selected for the package shipment. */
244
134
  rate?: components["schemas"]["PurchasedRate"];
245
- /** @description The address and contact details that should be used for item returns. Sellers have the option to define a return address that is different from their shipFrom address. If not specified, the return address defaults to the shipFrom address in the shipping quote. */
246
135
  returnTo?: components["schemas"]["Contact"];
247
- /** @description The address and contact details for the origin of the package shipment. */
248
136
  shipFrom?: components["schemas"]["Contact"];
249
- /** @description The unique eBay-assigned ID for the shipment. The ID is generated when the shipment is created by a call to createFromShippingQuote. */
250
137
  shipmentId?: string;
251
- /** @description A unique carrier-assigned ID string that can be used to track the shipment. */
252
138
  shipmentTrackingNumber?: string;
253
- /** @description The address and contact details for the destination of the shipment. */
254
139
  shipTo?: components["schemas"]["Contact"];
255
140
  };
256
- /** @description This type defines a shipment cancellation by the date and time the cancellation request was made and the current status of the request. */
257
141
  ShipmentCancellation: {
258
- /** @description The time and date the request was made to cancel the shipment, formatted as an ISO 8601 UTC string. */
259
142
  cancellationRequestedDate?: string;
260
- /** @description This enum specifies the current cancellation status of a shipment, if a cancellation request has been made. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/logistics/types/api:ShipmentCancellationStatusEnum'>eBay API documentation</a> */
261
143
  cancellationStatus?: string;
262
144
  };
263
- /** @description This complex type describes a &quot;shipping quote,&quot; which contains the parameters for a package shipment. The shipping quote contains a list of &quot;live quotes&quot; or rates for the shipment. Rates are offerd by a carrier for a particular service, of set of services, for shipping the package. Included in the shipping quote are the package specifications, the shipment's origin and destination addresses, and the shipping parameters specified by the seller. Use the rateId value to select the specific service you want when you create a shipment by calling createFromShippingQuote. */
264
145
  ShippingQuote: {
265
- /** @description The date and time this quote was created, expressed as an ISO 8601 UTC string. */
266
146
  creationDate?: string;
267
- /** @description The last date and time that this quote will be honored, expressed as an ISO 8601 UTC string. After this time the quote expires and the expressed rates can no longer be purchased. */
268
147
  expirationDate?: string;
269
- /** @description This list value is optionally assigned by the seller. When present, each element in the returned list contains seller-assigned information about an order (such as an order number). Because a package can contain all or part of one or more orders, this field provides a way for sellers to identify the packages that contain specific orders. */
270
148
  orders?: (components["schemas"]["Order"])[];
271
- /** @description The weight and dimensions of the package covered by this shipping quote. */
272
149
  packageSpecification?: components["schemas"]["PackageSpecification"];
273
- /** @description A list of rates where each rate, as identified by a rateId, contains information about a specific shipping service offered by a carrier. Rates include shipping carrier and service, the to and from locations, the pickup and delivery windows, the seller's shipping parameters, the service constraints, and the cost for the base service and a list of additional shipping options. Each rate offered is supported by a label service where you can purchase the rate, and associated shipping label, via a call to createFromShippingQuote. */
274
150
  rates?: (components["schemas"]["Rate"])[];
275
- /** @description The address and contact details for the origin of the shipment. */
276
151
  shipFrom?: components["schemas"]["Contact"];
277
- /** @description The unique eBay-assigned ID for this shipping quote. The value of this field is associated with a specific package, based on its origin, destination, and size. */
278
152
  shippingQuoteId?: string;
279
- /** @description The address and contact details for the origin of the shipment. */
280
153
  shipTo?: components["schemas"]["Contact"];
281
- /** @description A list of any warnings triggered by the request. */
282
154
  warnings?: (components["schemas"]["Error"])[];
283
155
  };
284
- /** @description This complex type defines the request body for createShippingQuote. Sellers request a quote for a shipment by defining the &quot;To&quot; and &quot;From&quot; addresses for the package, plus the package's size. Carriers respond by offering up a &quot;rate&quot; for the service of theirs that best fits seller's needs. */
285
156
  ShippingQuoteRequest: {
286
- /** @description A seller-defined list that contains information about the orders in the package. This allows sellers to include information about the line items in the package with the shipment information. A package can contain any number of line items from one or more orders, providing they all ship in the same package. Maximum list size: 10 */
287
157
  orders?: (components["schemas"]["Order"])[];
288
- /** @description Declares the weight and dimensions of the package. */
289
158
  packageSpecification?: components["schemas"]["PackageSpecification"];
290
- /** @description The address and contact details pertaining to the origin of the shipment. */
291
159
  shipFrom?: components["schemas"]["Contact"];
292
- /** @description The address and contact details pertaining to the shipment's destination. */
293
160
  shipTo?: components["schemas"]["Contact"];
294
161
  };
295
- /** @description This complex type contains information about the weight of an object such as a shipping package. */
296
162
  Weight: {
297
- /** @description The unit of measurement used to specify the weight of a shipping package. Both the unit and value fields are required if the weight container is used. If the English system of measurement is being used, the applicable values for weight units are POUND and OUNCE. If the metric system of measurement is being used, the applicable values for weight units are KILOGRAM and GRAM. The metric system is used by most countries outside of the US. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/logistics/types/api:WeightUnitOfMeasureEnum'>eBay API documentation</a> */
298
163
  unit?: string;
299
- /** @description The numeric value of the weight of the package, as measured by the value of unit. */
300
164
  value?: string;
301
165
  };
302
166
  };
@@ -308,143 +172,106 @@ export interface components {
308
172
  }
309
173
  export type external = Record<string, never>;
310
174
  export interface operations {
311
- /** @description The createShippingQuote method returns a shipping quote that contains a list of live &quot;rates.&quot; Each rate represents an offer made by a shipping carrier for a specific service and each offer has a live quote for the base service cost. Rates have a time window in which they are &quot;live,&quot; and rates expire when their purchase window ends. If offered by the carrier, rates can include shipping options (and their associated prices), and users can add any offered shipping option to the base service should they desire. Also, depending on the services required, rates can also include pickup and delivery windows. Each rate is for a single package and is based on the following information: The shipping origin The shipping destination The package size (weight and dimensions) Rates are identified by a unique eBay-assigned rateId and rates are based on price points, pickup and delivery time frames, and other user requirements. Because each rate offered must be compliant with the eBay shipping program, all rates reflect eBay-negotiated prices. The various rates returned in a shipping quote offer the user a choice from which they can choose a shipping service that best fits their needs. Select the rate for your shipment and using the associated rateId, call cerateFromShippingQuote to create a shipment and generate a shipping label that you can use to ship the package. */
312
175
  createShippingQuote: {
313
- /** @description The request object for createShippingQuote. */
314
176
  requestBody: {
315
177
  content: {
316
178
  "application/json": components["schemas"]["ShippingQuoteRequest"];
317
179
  };
318
180
  };
319
181
  responses: {
320
- /** @description Created */
321
182
  201: {
322
183
  content: {
323
184
  "application/json": components["schemas"]["ShippingQuote"];
324
185
  };
325
186
  };
326
- /** @description Bad Request */
327
187
  400: never;
328
- /** @description Conflict */
329
188
  409: never;
330
- /** @description Internal Server Error */
331
189
  500: never;
332
190
  };
333
191
  };
334
- /** @description This method retrieves the complete details of the shipping quote associated with the specified shippingQuoteId value. A &quot;shipping quote&quot; pertains to a single specific package and contains a set of shipping &quot;rates&quot; that quote the cost to ship the package by different shipping carriers and services. The quotes are based on the package's origin, destination, and size. Call createShippingQuote to create a shippingQuoteId. */
335
192
  getShippingQuote: {
336
193
  parameters: {
337
194
  path: {
338
- /** @description This path parameter specifies the unique eBay-assigned ID of the shipping quote you want to retrieve. The shippingQuoteId value is generated and returned by a call to createShippingQuote. */
339
195
  shippingQuoteId: string;
340
196
  };
341
197
  };
342
198
  responses: {
343
- /** @description Success */
344
199
  200: {
345
200
  content: {
346
201
  "application/json": components["schemas"]["ShippingQuote"];
347
202
  };
348
203
  };
349
- /** @description Bad Request */
350
204
  400: never;
351
- /** @description Not Found */
352
205
  404: never;
353
- /** @description Internal Server Error */
354
206
  500: never;
355
207
  };
356
208
  };
357
- /** @description This method creates a &quot;shipment&quot; based on the shippingQuoteId and rateId values supplied in the request. The rate identified by the rateId value specifies the carrier and service for the package shipment, and the rate ID must be contained in the shipping quote identified by the shippingQuoteId value. Call createShippingQuote to retrieve a set of live shipping rates. When you create a shipment, eBay generates a shipping label that you can download and use to ship your package. In a createFromShippingQuote request, sellers can include a list of shipping options they want to add to the base service quoted in the selected rate. The list of available shipping options is specific to each quoted rate and if available, the options are listed in the rate container of the of the shipping quote. In addition to a configurable return-to location and other details about the shipment, the response to this method includes: The shipping carrier and service to be used for the package shipment A list of selected shipping options, if any The shipment tracking number The total shipping cost (the sum cost of the base shipping service and any added options) When you create a shipment, your billing agreement account is charged the sum of the baseShippingCost and the total cost of any additional shipping options you might have selected. Use the URL returned in labelDownloadUrl field, or call downloadLabelFile with the shipmentId value from the response, to download a shipping label for your package. Important! Sellers must set up their payment method with eBay before they can use this method to create a shipment and the associated shipping label. */
358
209
  createFromShippingQuote: {
359
- /** @description The create shipment from quote request. */
360
210
  requestBody: {
361
211
  content: {
362
212
  "application/json": components["schemas"]["CreateShipmentFromQuoteRequest"];
363
213
  };
364
214
  };
365
215
  responses: {
366
- /** @description Created */
367
216
  201: {
368
217
  content: {
369
218
  "application/json": components["schemas"]["Shipment"];
370
219
  };
371
220
  };
372
- /** @description Bad Request */
373
221
  400: never;
374
- /** @description Conflict */
375
222
  409: never;
376
- /** @description Internal Server Error */
377
223
  500: never;
378
224
  };
379
225
  };
380
- /** @description This method retrieves the shipment details for the specified shipment ID. Call createFromShippingQuote to generate a shipment ID. */
381
226
  getShipment: {
382
227
  parameters: {
383
228
  path: {
384
- /** @description This path parameter specifies the unique eBay-assigned ID of the shipment you want to retrieve. The shipmentId value is generated and returned by a call to createFromShippingQuote. */
385
229
  shipmentId: string;
386
230
  };
387
231
  };
388
232
  responses: {
389
- /** @description Success */
390
233
  200: {
391
234
  content: {
392
235
  "application/json": components["schemas"]["Shipment"];
393
236
  };
394
237
  };
395
- /** @description Bad Request */
396
238
  400: never;
397
- /** @description Not Found */
398
239
  404: never;
399
- /** @description Internal Server Error */
400
240
  500: never;
401
241
  };
402
242
  };
403
- /** @description This method returns the shipping label file that was generated for the shipmentId value specified in the request. Call createFromShippingQuote to generate a shipment ID. Use the Accept HTTP header to specify the format of the returned file. The default file format is a PDF file. */
404
243
  downloadLabelFile: {
405
244
  parameters: {
406
245
  path: {
407
- /** @description This path parameter specifies the unique eBay-assigned ID of the shipment associated with the shipping label you want to download. The shipmentId value is generated and returned by a call to createFromShippingQuote. */
408
246
  shipmentId: string;
409
247
  };
410
248
  };
411
249
  responses: {
412
- /** @description Success */
413
250
  200: {
414
251
  content: {
415
252
  "application/pdf": (string)[];
416
253
  };
417
254
  };
418
- /** @description Bad Request */
419
255
  400: never;
420
- /** @description Not Found */
421
256
  404: never;
422
- /** @description Internal Server Error */
423
257
  500: never;
424
258
  };
425
259
  };
426
- /** @description This method cancels the shipment associated with the specified shipment ID and the associated shipping label is deleted. When you cancel a shipment, the totalShippingCost of the canceled shipment is refunded to the account established by the user's billing agreement. Note that you cannot cancel a shipment if you have used the associated shipping label. */
427
260
  cancelShipment: {
428
261
  parameters: {
429
262
  path: {
430
- /** @description This path parameter specifies the unique eBay-assigned ID of the shipment to be canceled. The shipmentId value is generated and returned by a call to createFromShippingQuote. */
431
263
  shipmentId: string;
432
264
  };
433
265
  };
434
266
  responses: {
435
- /** @description Success */
436
267
  200: {
437
268
  content: {
438
269
  "application/json": components["schemas"]["Shipment"];
439
270
  };
440
271
  };
441
- /** @description Bad Request */
442
272
  400: never;
443
- /** @description Not Found */
444
273
  404: never;
445
- /** @description Conflict */
446
274
  409: never;
447
- /** @description Internal Server Error */
448
275
  500: never;
449
276
  };
450
277
  };
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by openapi-typescript.
4
- * Do not make direct changes to the file.
5
- */
6
2
  Object.defineProperty(exports, "__esModule", { value: true });