@isoftdata/ebay-utility 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (660) hide show
  1. package/Readme.md +110 -0
  2. package/lib/adapters/AdapterResult.d.ts +84 -0
  3. package/lib/adapters/AdapterResult.d.ts.map +1 -0
  4. package/lib/adapters/AdapterResult.js +117 -0
  5. package/lib/adapters/AdapterResult.js.map +1 -0
  6. package/lib/adapters/AdapterToUseCaseConverter.d.ts +77 -0
  7. package/lib/adapters/AdapterToUseCaseConverter.d.ts.map +1 -0
  8. package/lib/adapters/AdapterToUseCaseConverter.js +223 -0
  9. package/lib/adapters/AdapterToUseCaseConverter.js.map +1 -0
  10. package/lib/adapters/AuthServerRepo.d.ts +13 -0
  11. package/lib/adapters/AuthServerRepo.d.ts.map +1 -0
  12. package/lib/adapters/AuthServerRepo.js +23 -0
  13. package/lib/adapters/AuthServerRepo.js.map +1 -0
  14. package/lib/adapters/ebay/EbayAdapter.d.ts +51 -0
  15. package/lib/adapters/ebay/EbayAdapter.d.ts.map +1 -0
  16. package/lib/adapters/ebay/EbayAdapter.js +310 -0
  17. package/lib/adapters/ebay/EbayAdapter.js.map +1 -0
  18. package/lib/adapters/itrack/ItrackAdapter.d.ts +52 -0
  19. package/lib/adapters/itrack/ItrackAdapter.d.ts.map +1 -0
  20. package/lib/adapters/itrack/ItrackAdapter.js +166 -0
  21. package/lib/adapters/itrack/ItrackAdapter.js.map +1 -0
  22. package/lib/entities/Request.d.ts +8 -0
  23. package/lib/entities/Request.d.ts.map +1 -0
  24. package/lib/entities/Request.js +2 -0
  25. package/lib/entities/Request.js.map +1 -0
  26. package/lib/entities/ebay/Address.d.ts +63 -0
  27. package/lib/entities/ebay/Address.d.ts.map +1 -0
  28. package/lib/entities/ebay/Address.js +24 -0
  29. package/lib/entities/ebay/Address.js.map +1 -0
  30. package/lib/entities/ebay/Amount.d.ts +19 -0
  31. package/lib/entities/ebay/Amount.d.ts.map +1 -0
  32. package/lib/entities/ebay/Amount.js +6 -0
  33. package/lib/entities/ebay/Amount.js.map +1 -0
  34. package/lib/entities/ebay/Availability.d.ts +437 -0
  35. package/lib/entities/ebay/Availability.d.ts.map +1 -0
  36. package/lib/entities/ebay/Availability.js +140 -0
  37. package/lib/entities/ebay/Availability.js.map +1 -0
  38. package/lib/entities/ebay/CategoryType.d.ts +41 -0
  39. package/lib/entities/ebay/CategoryType.d.ts.map +1 -0
  40. package/lib/entities/ebay/CategoryType.js +22 -0
  41. package/lib/entities/ebay/CategoryType.js.map +1 -0
  42. package/lib/entities/ebay/Charity.d.ts +34 -0
  43. package/lib/entities/ebay/Charity.d.ts.map +1 -0
  44. package/lib/entities/ebay/Charity.js +13 -0
  45. package/lib/entities/ebay/Charity.js.map +1 -0
  46. package/lib/entities/ebay/ConditionDescription.d.ts +13 -0
  47. package/lib/entities/ebay/ConditionDescription.d.ts.map +1 -0
  48. package/lib/entities/ebay/ConditionDescription.js +12 -0
  49. package/lib/entities/ebay/ConditionDescription.js.map +1 -0
  50. package/lib/entities/ebay/ConditionDescriptors.d.ts +16 -0
  51. package/lib/entities/ebay/ConditionDescriptors.d.ts.map +1 -0
  52. package/lib/entities/ebay/ConditionDescriptors.js +13 -0
  53. package/lib/entities/ebay/ConditionDescriptors.js.map +1 -0
  54. package/lib/entities/ebay/ConditionEnum.d.ts +62 -0
  55. package/lib/entities/ebay/ConditionEnum.d.ts.map +1 -0
  56. package/lib/entities/ebay/ConditionEnum.js +73 -0
  57. package/lib/entities/ebay/ConditionEnum.js.map +1 -0
  58. package/lib/entities/ebay/ErrorDetailsV3.d.ts +16 -0
  59. package/lib/entities/ebay/ErrorDetailsV3.d.ts.map +1 -0
  60. package/lib/entities/ebay/ErrorDetailsV3.js +2 -0
  61. package/lib/entities/ebay/ErrorDetailsV3.js.map +1 -0
  62. package/lib/entities/ebay/FulfillmentPolicy.d.ts +130 -0
  63. package/lib/entities/ebay/FulfillmentPolicy.d.ts.map +1 -0
  64. package/lib/entities/ebay/FulfillmentPolicy.js +2 -0
  65. package/lib/entities/ebay/FulfillmentPolicy.js.map +1 -0
  66. package/lib/entities/ebay/GeoCoordinates.d.ts +21 -0
  67. package/lib/entities/ebay/GeoCoordinates.d.ts.map +1 -0
  68. package/lib/entities/ebay/GeoCoordinates.js +2 -0
  69. package/lib/entities/ebay/GeoCoordinates.js.map +1 -0
  70. package/lib/entities/ebay/ImageUpload.d.ts +45 -0
  71. package/lib/entities/ebay/ImageUpload.d.ts.map +1 -0
  72. package/lib/entities/ebay/ImageUpload.js +2 -0
  73. package/lib/entities/ebay/ImageUpload.js.map +1 -0
  74. package/lib/entities/ebay/Interval.d.ts +23 -0
  75. package/lib/entities/ebay/Interval.d.ts.map +1 -0
  76. package/lib/entities/ebay/Interval.js +2 -0
  77. package/lib/entities/ebay/Interval.js.map +1 -0
  78. package/lib/entities/ebay/InventoryItem.d.ts +112 -0
  79. package/lib/entities/ebay/InventoryItem.d.ts.map +1 -0
  80. package/lib/entities/ebay/InventoryItem.js +102 -0
  81. package/lib/entities/ebay/InventoryItem.js.map +1 -0
  82. package/lib/entities/ebay/InventoryLocation.d.ts +77 -0
  83. package/lib/entities/ebay/InventoryLocation.d.ts.map +1 -0
  84. package/lib/entities/ebay/InventoryLocation.js +2 -0
  85. package/lib/entities/ebay/InventoryLocation.js.map +1 -0
  86. package/lib/entities/ebay/InventoryLocationFull.d.ts +64 -0
  87. package/lib/entities/ebay/InventoryLocationFull.d.ts.map +1 -0
  88. package/lib/entities/ebay/InventoryLocationFull.js +42 -0
  89. package/lib/entities/ebay/InventoryLocationFull.js.map +1 -0
  90. package/lib/entities/ebay/ListingDurationEnum.d.ts +26 -0
  91. package/lib/entities/ebay/ListingDurationEnum.d.ts.map +1 -0
  92. package/lib/entities/ebay/ListingDurationEnum.js +33 -0
  93. package/lib/entities/ebay/ListingDurationEnum.js.map +1 -0
  94. package/lib/entities/ebay/ListingPolicies.d.ts +164 -0
  95. package/lib/entities/ebay/ListingPolicies.d.ts.map +1 -0
  96. package/lib/entities/ebay/ListingPolicies.js +30 -0
  97. package/lib/entities/ebay/ListingPolicies.js.map +1 -0
  98. package/lib/entities/ebay/LocationDetails.d.ts +34 -0
  99. package/lib/entities/ebay/LocationDetails.d.ts.map +1 -0
  100. package/lib/entities/ebay/LocationDetails.js +12 -0
  101. package/lib/entities/ebay/LocationDetails.js.map +1 -0
  102. package/lib/entities/ebay/MarketplaceEnum.d.ts +17 -0
  103. package/lib/entities/ebay/MarketplaceEnum.d.ts.map +1 -0
  104. package/lib/entities/ebay/MarketplaceEnum.js +31 -0
  105. package/lib/entities/ebay/MarketplaceEnum.js.map +1 -0
  106. package/lib/entities/ebay/MerchantLocationKey.d.ts +4 -0
  107. package/lib/entities/ebay/MerchantLocationKey.d.ts.map +1 -0
  108. package/lib/entities/ebay/MerchantLocationKey.js +3 -0
  109. package/lib/entities/ebay/MerchantLocationKey.js.map +1 -0
  110. package/lib/entities/ebay/Offer.d.ts +158 -0
  111. package/lib/entities/ebay/Offer.d.ts.map +1 -0
  112. package/lib/entities/ebay/Offer.js +110 -0
  113. package/lib/entities/ebay/Offer.js.map +1 -0
  114. package/lib/entities/ebay/OperatingHours.d.ts +34 -0
  115. package/lib/entities/ebay/OperatingHours.d.ts.map +1 -0
  116. package/lib/entities/ebay/OperatingHours.js +14 -0
  117. package/lib/entities/ebay/OperatingHours.js.map +1 -0
  118. package/lib/entities/ebay/PackageWeightAndSize.d.ts +132 -0
  119. package/lib/entities/ebay/PackageWeightAndSize.d.ts.map +1 -0
  120. package/lib/entities/ebay/PackageWeightAndSize.js +90 -0
  121. package/lib/entities/ebay/PackageWeightAndSize.js.map +1 -0
  122. package/lib/entities/ebay/PaymentPolicy.d.ts +55 -0
  123. package/lib/entities/ebay/PaymentPolicy.d.ts.map +1 -0
  124. package/lib/entities/ebay/PaymentPolicy.js +2 -0
  125. package/lib/entities/ebay/PaymentPolicy.js.map +1 -0
  126. package/lib/entities/ebay/PricingSummary.d.ts +80 -0
  127. package/lib/entities/ebay/PricingSummary.d.ts.map +1 -0
  128. package/lib/entities/ebay/PricingSummary.js +80 -0
  129. package/lib/entities/ebay/PricingSummary.js.map +1 -0
  130. package/lib/entities/ebay/Product.d.ts +119 -0
  131. package/lib/entities/ebay/Product.d.ts.map +1 -0
  132. package/lib/entities/ebay/Product.js +201 -0
  133. package/lib/entities/ebay/Product.js.map +1 -0
  134. package/lib/entities/ebay/ReturnPolicy.d.ts +72 -0
  135. package/lib/entities/ebay/ReturnPolicy.d.ts.map +1 -0
  136. package/lib/entities/ebay/ReturnPolicy.js +6 -0
  137. package/lib/entities/ebay/ReturnPolicy.js.map +1 -0
  138. package/lib/entities/ebay/Scopes.d.ts +7 -0
  139. package/lib/entities/ebay/Scopes.d.ts.map +1 -0
  140. package/lib/entities/ebay/Scopes.js +11 -0
  141. package/lib/entities/ebay/Scopes.js.map +1 -0
  142. package/lib/entities/ebay/ShippingOption.d.ts +91 -0
  143. package/lib/entities/ebay/ShippingOption.d.ts.map +1 -0
  144. package/lib/entities/ebay/ShippingOption.js +45 -0
  145. package/lib/entities/ebay/ShippingOption.js.map +1 -0
  146. package/lib/entities/ebay/ShippingService.d.ts +117 -0
  147. package/lib/entities/ebay/ShippingService.d.ts.map +1 -0
  148. package/lib/entities/ebay/ShippingService.js +11 -0
  149. package/lib/entities/ebay/ShippingService.js.map +1 -0
  150. package/lib/entities/ebay/Sku.d.ts +4 -0
  151. package/lib/entities/ebay/Sku.d.ts.map +1 -0
  152. package/lib/entities/ebay/Sku.js +3 -0
  153. package/lib/entities/ebay/Sku.js.map +1 -0
  154. package/lib/entities/ebay/SpecialHours.d.ts +30 -0
  155. package/lib/entities/ebay/SpecialHours.d.ts.map +1 -0
  156. package/lib/entities/ebay/SpecialHours.js +2 -0
  157. package/lib/entities/ebay/SpecialHours.js.map +1 -0
  158. package/lib/entities/ebay/TimeDuration.d.ts +38 -0
  159. package/lib/entities/ebay/TimeDuration.d.ts.map +1 -0
  160. package/lib/entities/ebay/TimeDuration.js +28 -0
  161. package/lib/entities/ebay/TimeDuration.js.map +1 -0
  162. package/lib/entities/ebay/url.d.ts +3 -0
  163. package/lib/entities/ebay/url.d.ts.map +1 -0
  164. package/lib/entities/ebay/url.js +7 -0
  165. package/lib/entities/ebay/url.js.map +1 -0
  166. package/lib/entities/ebay/validation.d.ts +52 -0
  167. package/lib/entities/ebay/validation.d.ts.map +1 -0
  168. package/lib/entities/ebay/validation.js +174 -0
  169. package/lib/entities/ebay/validation.js.map +1 -0
  170. package/lib/entities/htp/InventoryDetails.d.ts +20 -0
  171. package/lib/entities/htp/InventoryDetails.d.ts.map +1 -0
  172. package/lib/entities/htp/InventoryDetails.js +2 -0
  173. package/lib/entities/htp/InventoryDetails.js.map +1 -0
  174. package/lib/entities/http/HttpHeaders.d.ts +21 -0
  175. package/lib/entities/http/HttpHeaders.d.ts.map +1 -0
  176. package/lib/entities/http/HttpHeaders.js +10 -0
  177. package/lib/entities/http/HttpHeaders.js.map +1 -0
  178. package/lib/entities/http/HttpMethod.d.ts +7 -0
  179. package/lib/entities/http/HttpMethod.d.ts.map +1 -0
  180. package/lib/entities/http/HttpMethod.js +8 -0
  181. package/lib/entities/http/HttpMethod.js.map +1 -0
  182. package/lib/entities/http/HttpRequest.d.ts +10 -0
  183. package/lib/entities/http/HttpRequest.d.ts.map +1 -0
  184. package/lib/entities/http/HttpRequest.js +2 -0
  185. package/lib/entities/http/HttpRequest.js.map +1 -0
  186. package/lib/entities/itrack/FulfillmentPolicy.d.ts +10 -0
  187. package/lib/entities/itrack/FulfillmentPolicy.d.ts.map +1 -0
  188. package/lib/entities/itrack/FulfillmentPolicy.js +2 -0
  189. package/lib/entities/itrack/FulfillmentPolicy.js.map +1 -0
  190. package/lib/entities/itrack/InventoryListingDetail.d.ts +118 -0
  191. package/lib/entities/itrack/InventoryListingDetail.d.ts.map +1 -0
  192. package/lib/entities/itrack/InventoryListingDetail.js +2 -0
  193. package/lib/entities/itrack/InventoryListingDetail.js.map +1 -0
  194. package/lib/entities/itrack/ItrackEbayInventoryItem.js +25 -0
  195. package/lib/entities/itrack/ItrackEbayInventoryItem.js.map +1 -0
  196. package/lib/entities/itrack/ItrackEbayListing.d.ts +45 -0
  197. package/lib/entities/itrack/ItrackEbayListing.d.ts.map +1 -0
  198. package/lib/entities/itrack/ItrackEbayListing.js +25 -0
  199. package/lib/entities/itrack/ItrackEbayListing.js.map +1 -0
  200. package/lib/entities/itrack/ItrackEbayListing_deprecated.d.ts +46 -0
  201. package/lib/entities/itrack/ItrackEbayListing_deprecated.d.ts.map +1 -0
  202. package/lib/entities/itrack/ItrackEbayListing_deprecated.js +27 -0
  203. package/lib/entities/itrack/ItrackEbayListing_deprecated.js.map +1 -0
  204. package/lib/entities/itrack/PaymentPolicy.d.ts +10 -0
  205. package/lib/entities/itrack/PaymentPolicy.d.ts.map +1 -0
  206. package/lib/entities/itrack/PaymentPolicy.js +2 -0
  207. package/lib/entities/itrack/PaymentPolicy.js.map +1 -0
  208. package/lib/entities/itrack/ReturnPolicy.d.ts +10 -0
  209. package/lib/entities/itrack/ReturnPolicy.d.ts.map +1 -0
  210. package/lib/entities/itrack/ReturnPolicy.js +2 -0
  211. package/lib/entities/itrack/ReturnPolicy.js.map +1 -0
  212. package/lib/entities/itrack/ShouldBeOnEbayEnum.d.ts +5 -0
  213. package/lib/entities/itrack/ShouldBeOnEbayEnum.d.ts.map +1 -0
  214. package/lib/entities/itrack/ShouldBeOnEbayEnum.js +6 -0
  215. package/lib/entities/itrack/ShouldBeOnEbayEnum.js.map +1 -0
  216. package/lib/index.d.ts +35 -0
  217. package/lib/index.d.ts.map +1 -0
  218. package/lib/index.js +44 -0
  219. package/lib/index.js.map +1 -0
  220. package/lib/infrastructure/HttpToRepoConverter.d.ts +8 -0
  221. package/lib/infrastructure/HttpToRepoConverter.d.ts.map +1 -0
  222. package/lib/infrastructure/HttpToRepoConverter.js +28 -0
  223. package/lib/infrastructure/HttpToRepoConverter.js.map +1 -0
  224. package/lib/infrastructure/TokenManager.d.ts +33 -0
  225. package/lib/infrastructure/TokenManager.d.ts.map +1 -0
  226. package/lib/infrastructure/TokenManager.js +145 -0
  227. package/lib/infrastructure/TokenManager.js.map +1 -0
  228. package/lib/infrastructure/http.d.ts +15 -0
  229. package/lib/infrastructure/http.d.ts.map +1 -0
  230. package/lib/infrastructure/http.js +59 -0
  231. package/lib/infrastructure/http.js.map +1 -0
  232. package/lib/infrastructure/httpMultipart.d.ts +27 -0
  233. package/lib/infrastructure/httpMultipart.d.ts.map +1 -0
  234. package/lib/infrastructure/httpMultipart.js +98 -0
  235. package/lib/infrastructure/httpMultipart.js.map +1 -0
  236. package/lib/infrastructure/mysql/MysqlDatastore.d.ts +11 -0
  237. package/lib/infrastructure/mysql/MysqlDatastore.d.ts.map +1 -0
  238. package/lib/infrastructure/mysql/MysqlDatastore.js +42 -0
  239. package/lib/infrastructure/mysql/MysqlDatastore.js.map +1 -0
  240. package/lib/infrastructure/mysql/getPool.d.ts +12 -0
  241. package/lib/infrastructure/mysql/getPool.d.ts.map +1 -0
  242. package/lib/infrastructure/mysql/getPool.js +25 -0
  243. package/lib/infrastructure/mysql/getPool.js.map +1 -0
  244. package/lib/ports/DatastoreInterface.d.ts +8 -0
  245. package/lib/ports/DatastoreInterface.d.ts.map +1 -0
  246. package/lib/ports/DatastoreInterface.js +2 -0
  247. package/lib/ports/DatastoreInterface.js.map +1 -0
  248. package/lib/ports/EbayInterface.d.ts +17 -0
  249. package/lib/ports/EbayInterface.d.ts.map +1 -0
  250. package/lib/ports/EbayInterface.js +2 -0
  251. package/lib/ports/EbayInterface.js.map +1 -0
  252. package/lib/ports/HtpInterface.d.ts +1 -0
  253. package/lib/ports/HtpInterface.d.ts.map +1 -0
  254. package/lib/ports/HtpInterface.js +1 -0
  255. package/lib/ports/HtpInterface.js.map +1 -0
  256. package/lib/ports/ItrackInterface.d.ts +10 -0
  257. package/lib/ports/ItrackInterface.d.ts.map +1 -0
  258. package/lib/ports/ItrackInterface.js +2 -0
  259. package/lib/ports/ItrackInterface.js.map +1 -0
  260. package/lib/repositories/EbaySandboxRefreshTokenRepo.d.ts +5 -0
  261. package/lib/repositories/EbaySandboxRefreshTokenRepo.d.ts.map +1 -0
  262. package/lib/repositories/EbaySandboxRefreshTokenRepo.js +8 -0
  263. package/lib/repositories/EbaySandboxRefreshTokenRepo.js.map +1 -0
  264. package/lib/repositories/KeyValueRepo.d.ts +9 -0
  265. package/lib/repositories/KeyValueRepo.d.ts.map +1 -0
  266. package/lib/repositories/KeyValueRepo.js +20 -0
  267. package/lib/repositories/KeyValueRepo.js.map +1 -0
  268. package/lib/repositories/RemoteEbaySandboxTokenRepo.d.ts +5 -0
  269. package/lib/repositories/RemoteEbaySandboxTokenRepo.d.ts.map +1 -0
  270. package/lib/repositories/RemoteEbaySandboxTokenRepo.js +8 -0
  271. package/lib/repositories/RemoteEbaySandboxTokenRepo.js.map +1 -0
  272. package/lib/repositories/RemoteEbayTokenRepo.d.ts +5 -0
  273. package/lib/repositories/RemoteEbayTokenRepo.d.ts.map +1 -0
  274. package/lib/repositories/RemoteEbayTokenRepo.js +8 -0
  275. package/lib/repositories/RemoteEbayTokenRepo.js.map +1 -0
  276. package/lib/repositories/ebay/BaseRepo.d.ts +30 -0
  277. package/lib/repositories/ebay/BaseRepo.d.ts.map +1 -0
  278. package/lib/repositories/ebay/BaseRepo.js +7 -0
  279. package/lib/repositories/ebay/BaseRepo.js.map +1 -0
  280. package/lib/repositories/ebay/CompanyRepo.d.ts +5 -0
  281. package/lib/repositories/ebay/CompanyRepo.d.ts.map +1 -0
  282. package/lib/repositories/ebay/CompanyRepo.js +15 -0
  283. package/lib/repositories/ebay/CompanyRepo.js.map +1 -0
  284. package/lib/repositories/ebay/EbayRefreshTokenRepo.d.ts +1 -0
  285. package/lib/repositories/ebay/EbayRefreshTokenRepo.d.ts.map +1 -0
  286. package/lib/repositories/ebay/EbayRefreshTokenRepo.js +1 -0
  287. package/lib/repositories/ebay/EbayRefreshTokenRepo.js.map +1 -0
  288. package/lib/repositories/ebay/FulfillmentPolicyRepo.d.ts +32 -0
  289. package/lib/repositories/ebay/FulfillmentPolicyRepo.d.ts.map +1 -0
  290. package/lib/repositories/ebay/FulfillmentPolicyRepo.js +42 -0
  291. package/lib/repositories/ebay/FulfillmentPolicyRepo.js.map +1 -0
  292. package/lib/repositories/ebay/ImageUploadRepo.d.ts +25 -0
  293. package/lib/repositories/ebay/ImageUploadRepo.d.ts.map +1 -0
  294. package/lib/repositories/ebay/ImageUploadRepo.js +131 -0
  295. package/lib/repositories/ebay/ImageUploadRepo.js.map +1 -0
  296. package/lib/repositories/ebay/InventoryItemRepo.d.ts +18 -0
  297. package/lib/repositories/ebay/InventoryItemRepo.d.ts.map +1 -0
  298. package/lib/repositories/ebay/InventoryItemRepo.js +54 -0
  299. package/lib/repositories/ebay/InventoryItemRepo.js.map +1 -0
  300. package/lib/repositories/ebay/InventoryLocationRepo.d.ts +21 -0
  301. package/lib/repositories/ebay/InventoryLocationRepo.d.ts.map +1 -0
  302. package/lib/repositories/ebay/InventoryLocationRepo.js +53 -0
  303. package/lib/repositories/ebay/InventoryLocationRepo.js.map +1 -0
  304. package/lib/repositories/ebay/ListingRepo.d.ts +31 -0
  305. package/lib/repositories/ebay/ListingRepo.d.ts.map +1 -0
  306. package/lib/repositories/ebay/ListingRepo.js +43 -0
  307. package/lib/repositories/ebay/ListingRepo.js.map +1 -0
  308. package/lib/repositories/ebay/OfferRepo.d.ts +68 -0
  309. package/lib/repositories/ebay/OfferRepo.d.ts.map +1 -0
  310. package/lib/repositories/ebay/OfferRepo.js +147 -0
  311. package/lib/repositories/ebay/OfferRepo.js.map +1 -0
  312. package/lib/repositories/ebay/PaymentPolicyRepo.d.ts +30 -0
  313. package/lib/repositories/ebay/PaymentPolicyRepo.d.ts.map +1 -0
  314. package/lib/repositories/ebay/PaymentPolicyRepo.js +41 -0
  315. package/lib/repositories/ebay/PaymentPolicyRepo.js.map +1 -0
  316. package/lib/repositories/ebay/ReturnPolicyRepo.d.ts +30 -0
  317. package/lib/repositories/ebay/ReturnPolicyRepo.d.ts.map +1 -0
  318. package/lib/repositories/ebay/ReturnPolicyRepo.js +41 -0
  319. package/lib/repositories/ebay/ReturnPolicyRepo.js.map +1 -0
  320. package/lib/repositories/ebay/ShippingOptionRepo.d.ts +1 -0
  321. package/lib/repositories/ebay/ShippingOptionRepo.d.ts.map +1 -0
  322. package/lib/repositories/ebay/ShippingOptionRepo.js +1 -0
  323. package/lib/repositories/ebay/ShippingOptionRepo.js.map +1 -0
  324. package/lib/repositories/ebay/ShippingServiceRepo.d.ts +1 -0
  325. package/lib/repositories/ebay/ShippingServiceRepo.d.ts.map +1 -0
  326. package/lib/repositories/ebay/ShippingServiceRepo.js +2 -0
  327. package/lib/repositories/ebay/ShippingServiceRepo.js.map +1 -0
  328. package/lib/repositories/htp/InventoryDetailsRepo.d.ts +8 -0
  329. package/lib/repositories/htp/InventoryDetailsRepo.d.ts.map +1 -0
  330. package/lib/repositories/htp/InventoryDetailsRepo.js +25 -0
  331. package/lib/repositories/htp/InventoryDetailsRepo.js.map +1 -0
  332. package/lib/repositories/itrack/BaseRepo.d.ts +7 -0
  333. package/lib/repositories/itrack/BaseRepo.d.ts.map +1 -0
  334. package/lib/repositories/itrack/BaseRepo.js +6 -0
  335. package/lib/repositories/itrack/BaseRepo.js.map +1 -0
  336. package/lib/repositories/itrack/CompanyRepo.d.ts +5 -0
  337. package/lib/repositories/itrack/CompanyRepo.d.ts.map +1 -0
  338. package/lib/repositories/itrack/CompanyRepo.js +8 -0
  339. package/lib/repositories/itrack/CompanyRepo.js.map +1 -0
  340. package/lib/repositories/itrack/EbayInventoryItemRowRepo.d.ts +27 -0
  341. package/lib/repositories/itrack/EbayInventoryItemRowRepo.d.ts.map +1 -0
  342. package/lib/repositories/itrack/EbayInventoryItemRowRepo.js +2 -0
  343. package/lib/repositories/itrack/EbayInventoryItemRowRepo.js.map +1 -0
  344. package/lib/repositories/itrack/EbayInventoryItemRowRepo_deprecated.d.ts +27 -0
  345. package/lib/repositories/itrack/EbayInventoryItemRowRepo_deprecated.d.ts.map +1 -0
  346. package/lib/repositories/itrack/EbayInventoryItemRowRepo_deprecated.js +2 -0
  347. package/lib/repositories/itrack/EbayInventoryItemRowRepo_deprecated.js.map +1 -0
  348. package/lib/repositories/itrack/ImageRepo.d.ts +7 -0
  349. package/lib/repositories/itrack/ImageRepo.d.ts.map +1 -0
  350. package/lib/repositories/itrack/ImageRepo.js +23 -0
  351. package/lib/repositories/itrack/ImageRepo.js.map +1 -0
  352. package/lib/repositories/itrack/ItrackEbayConditionRepo.d.ts +36 -0
  353. package/lib/repositories/itrack/ItrackEbayConditionRepo.d.ts.map +1 -0
  354. package/lib/repositories/itrack/ItrackEbayConditionRepo.js +113 -0
  355. package/lib/repositories/itrack/ItrackEbayConditionRepo.js.map +1 -0
  356. package/lib/repositories/itrack/ItrackEbayFulfillmentPolicyRepo.d.ts +11 -0
  357. package/lib/repositories/itrack/ItrackEbayFulfillmentPolicyRepo.d.ts.map +1 -0
  358. package/lib/repositories/itrack/ItrackEbayFulfillmentPolicyRepo.js +35 -0
  359. package/lib/repositories/itrack/ItrackEbayFulfillmentPolicyRepo.js.map +1 -0
  360. package/lib/repositories/itrack/ItrackEbayInventoryItemRepo.js +75 -0
  361. package/lib/repositories/itrack/ItrackEbayInventoryItemRepo.js.map +1 -0
  362. package/lib/repositories/itrack/ItrackEbayInventoryListingDetailRepo_deprecated.d.ts +8 -0
  363. package/lib/repositories/itrack/ItrackEbayInventoryListingDetailRepo_deprecated.d.ts.map +1 -0
  364. package/lib/repositories/itrack/ItrackEbayInventoryListingDetailRepo_deprecated.js +66 -0
  365. package/lib/repositories/itrack/ItrackEbayInventoryListingDetailRepo_deprecated.js.map +1 -0
  366. package/lib/repositories/itrack/ItrackEbayListingRepo.d.ts +8 -0
  367. package/lib/repositories/itrack/ItrackEbayListingRepo.d.ts.map +1 -0
  368. package/lib/repositories/itrack/ItrackEbayListingRepo.js +66 -0
  369. package/lib/repositories/itrack/ItrackEbayListingRepo.js.map +1 -0
  370. package/lib/repositories/itrack/ItrackEbayPaymentPolicyRepo.d.ts +11 -0
  371. package/lib/repositories/itrack/ItrackEbayPaymentPolicyRepo.d.ts.map +1 -0
  372. package/lib/repositories/itrack/ItrackEbayPaymentPolicyRepo.js +35 -0
  373. package/lib/repositories/itrack/ItrackEbayPaymentPolicyRepo.js.map +1 -0
  374. package/lib/repositories/itrack/ItrackEbayReturnPolicyRepo.d.ts +11 -0
  375. package/lib/repositories/itrack/ItrackEbayReturnPolicyRepo.d.ts.map +1 -0
  376. package/lib/repositories/itrack/ItrackEbayReturnPolicyRepo.js +34 -0
  377. package/lib/repositories/itrack/ItrackEbayReturnPolicyRepo.js.map +1 -0
  378. package/lib/repositories/itrack/ItrackFulfillmentPolicyRepo.d.ts +11 -0
  379. package/lib/repositories/itrack/ItrackFulfillmentPolicyRepo.d.ts.map +1 -0
  380. package/lib/repositories/itrack/ItrackFulfillmentPolicyRepo.js +35 -0
  381. package/lib/repositories/itrack/ItrackFulfillmentPolicyRepo.js.map +1 -0
  382. package/lib/repositories/itrack/ItrackPaymentPolicyRepo.d.ts +11 -0
  383. package/lib/repositories/itrack/ItrackPaymentPolicyRepo.d.ts.map +1 -0
  384. package/lib/repositories/itrack/ItrackPaymentPolicyRepo.js +35 -0
  385. package/lib/repositories/itrack/ItrackPaymentPolicyRepo.js.map +1 -0
  386. package/lib/repositories/itrack/ItrackReturnPolicyRepo.d.ts +11 -0
  387. package/lib/repositories/itrack/ItrackReturnPolicyRepo.d.ts.map +1 -0
  388. package/lib/repositories/itrack/ItrackReturnPolicyRepo.js +34 -0
  389. package/lib/repositories/itrack/ItrackReturnPolicyRepo.js.map +1 -0
  390. package/lib/repositories/itrack/StoreRepo.d.ts +35 -0
  391. package/lib/repositories/itrack/StoreRepo.d.ts.map +1 -0
  392. package/lib/repositories/itrack/StoreRepo.js +35 -0
  393. package/lib/repositories/itrack/StoreRepo.js.map +1 -0
  394. package/lib/tests/processImageUrlTest.d.ts +29 -0
  395. package/lib/tests/processImageUrlTest.d.ts.map +1 -0
  396. package/lib/tests/processImageUrlTest.js +402 -0
  397. package/lib/tests/processImageUrlTest.js.map +1 -0
  398. package/lib/tests/test.d.ts +2 -0
  399. package/lib/tests/test.d.ts.map +1 -0
  400. package/lib/tests/test.js +130 -0
  401. package/lib/tests/test.js.map +1 -0
  402. package/lib/tests/tests.js +130 -0
  403. package/lib/tests/tests.js.map +1 -0
  404. package/lib/types/PushEbayListing.d.ts +1 -0
  405. package/lib/types/PushEbayListing.d.ts.map +1 -0
  406. package/lib/types/PushEbayListing.js +1 -0
  407. package/lib/types/PushEbayListing.js.map +1 -0
  408. package/lib/types/UseCaseResult.d.ts +107 -0
  409. package/lib/types/UseCaseResult.d.ts.map +1 -0
  410. package/lib/types/UseCaseResult.examples.d.ts +42 -0
  411. package/lib/types/UseCaseResult.examples.d.ts.map +1 -0
  412. package/lib/types/UseCaseResult.examples.js +168 -0
  413. package/lib/types/UseCaseResult.examples.js.map +1 -0
  414. package/lib/types/UseCaseResult.js +201 -0
  415. package/lib/types/UseCaseResult.js.map +1 -0
  416. package/lib/usecases/Agg_StoreEvent.d.ts +21 -0
  417. package/lib/usecases/Agg_StoreEvent.d.ts.map +1 -0
  418. package/lib/usecases/Agg_StoreEvent.js +12 -0
  419. package/lib/usecases/Agg_StoreEvent.js.map +1 -0
  420. package/lib/usecases/FulfillmentPolicy/AddFulfillmentPolicyToItrack.d.ts +7 -0
  421. package/lib/usecases/FulfillmentPolicy/AddFulfillmentPolicyToItrack.d.ts.map +1 -0
  422. package/lib/usecases/FulfillmentPolicy/AddFulfillmentPolicyToItrack.js +5 -0
  423. package/lib/usecases/FulfillmentPolicy/AddFulfillmentPolicyToItrack.js.map +1 -0
  424. package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromEbay.d.ts +6 -0
  425. package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromEbay.d.ts.map +1 -0
  426. package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromEbay.js +6 -0
  427. package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromEbay.js.map +1 -0
  428. package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromItrack.d.ts +6 -0
  429. package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromItrack.d.ts.map +1 -0
  430. package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromItrack.js +5 -0
  431. package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromItrack.js.map +1 -0
  432. package/lib/usecases/FulfillmentPolicy/RemoveFulfillmentPolicyFromItrack.d.ts +7 -0
  433. package/lib/usecases/FulfillmentPolicy/RemoveFulfillmentPolicyFromItrack.d.ts.map +1 -0
  434. package/lib/usecases/FulfillmentPolicy/RemoveFulfillmentPolicyFromItrack.js +5 -0
  435. package/lib/usecases/FulfillmentPolicy/RemoveFulfillmentPolicyFromItrack.js.map +1 -0
  436. package/lib/usecases/FulfillmentPolicy/SyncFulfillmentPolicy.d.ts +10 -0
  437. package/lib/usecases/FulfillmentPolicy/SyncFulfillmentPolicy.d.ts.map +1 -0
  438. package/lib/usecases/FulfillmentPolicy/SyncFulfillmentPolicy.js +35 -0
  439. package/lib/usecases/FulfillmentPolicy/SyncFulfillmentPolicy.js.map +1 -0
  440. package/lib/usecases/FulfillmentPolicy/UpdateFulfillmentPolicyFromItrack.d.ts +7 -0
  441. package/lib/usecases/FulfillmentPolicy/UpdateFulfillmentPolicyFromItrack.d.ts.map +1 -0
  442. package/lib/usecases/FulfillmentPolicy/UpdateFulfillmentPolicyFromItrack.js +5 -0
  443. package/lib/usecases/FulfillmentPolicy/UpdateFulfillmentPolicyFromItrack.js.map +1 -0
  444. package/lib/usecases/FulfillmentPolicy/integration.test.d.ts +2 -0
  445. package/lib/usecases/FulfillmentPolicy/integration.test.d.ts.map +1 -0
  446. package/lib/usecases/FulfillmentPolicy/integration.test.js +52 -0
  447. package/lib/usecases/FulfillmentPolicy/integration.test.js.map +1 -0
  448. package/lib/usecases/GetSigninUrl.d.ts +9 -0
  449. package/lib/usecases/GetSigninUrl.d.ts.map +1 -0
  450. package/lib/usecases/GetSigninUrl.js +18 -0
  451. package/lib/usecases/GetSigninUrl.js.map +1 -0
  452. package/lib/usecases/Images/GetImageFromProduct.d.ts +12 -0
  453. package/lib/usecases/Images/GetImageFromProduct.d.ts.map +1 -0
  454. package/lib/usecases/Images/GetImageFromProduct.js +16 -0
  455. package/lib/usecases/Images/GetImageFromProduct.js.map +1 -0
  456. package/lib/usecases/Images/PushImageToEbay.d.ts +15 -0
  457. package/lib/usecases/Images/PushImageToEbay.d.ts.map +1 -0
  458. package/lib/usecases/Images/PushImageToEbay.js +25 -0
  459. package/lib/usecases/Images/PushImageToEbay.js.map +1 -0
  460. package/lib/usecases/Images/SyncImageToEbay.d.ts +21 -0
  461. package/lib/usecases/Images/SyncImageToEbay.d.ts.map +1 -0
  462. package/lib/usecases/Images/SyncImageToEbay.js +36 -0
  463. package/lib/usecases/Images/SyncImageToEbay.js.map +1 -0
  464. package/lib/usecases/Images/SyncMultipleImagesToEbay.d.ts +19 -0
  465. package/lib/usecases/Images/SyncMultipleImagesToEbay.d.ts.map +1 -0
  466. package/lib/usecases/Images/SyncMultipleImagesToEbay.js +53 -0
  467. package/lib/usecases/Images/SyncMultipleImagesToEbay.js.map +1 -0
  468. package/lib/usecases/Images/integration.test.d.ts +30 -0
  469. package/lib/usecases/Images/integration.test.d.ts.map +1 -0
  470. package/lib/usecases/Images/integration.test.js +320 -0
  471. package/lib/usecases/Images/integration.test.js.map +1 -0
  472. package/lib/usecases/Inventory/ConvertInventoryItemToSku.js +54 -0
  473. package/lib/usecases/Inventory/ConvertInventoryItemToSku.js.map +1 -0
  474. package/lib/usecases/Inventory/GetInventoryFromProduct.d.ts +8 -0
  475. package/lib/usecases/Inventory/GetInventoryFromProduct.d.ts.map +1 -0
  476. package/lib/usecases/Inventory/GetInventoryFromProduct.js +6 -0
  477. package/lib/usecases/Inventory/GetInventoryFromProduct.js.map +1 -0
  478. package/lib/usecases/Inventory/PushInventorySkuToEbay.d.ts +18 -0
  479. package/lib/usecases/Inventory/PushInventorySkuToEbay.d.ts.map +1 -0
  480. package/lib/usecases/Inventory/PushInventorySkuToEbay.js +21 -0
  481. package/lib/usecases/Inventory/PushInventorySkuToEbay.js.map +1 -0
  482. package/lib/usecases/Inventory/PushInventorySkuUpdateToEbay.d.ts +1 -0
  483. package/lib/usecases/Inventory/PushInventorySkuUpdateToEbay.d.ts.map +1 -0
  484. package/lib/usecases/Inventory/PushInventorySkuUpdateToEbay.js +1 -0
  485. package/lib/usecases/Inventory/PushInventorySkuUpdateToEbay.js.map +1 -0
  486. package/lib/usecases/Inventory/SyncInventoryToEbay.d.ts +19 -0
  487. package/lib/usecases/Inventory/SyncInventoryToEbay.d.ts.map +1 -0
  488. package/lib/usecases/Inventory/SyncInventoryToEbay.js +42 -0
  489. package/lib/usecases/Inventory/SyncInventoryToEbay.js.map +1 -0
  490. package/lib/usecases/Inventory/integration.test.d.ts +35 -0
  491. package/lib/usecases/Inventory/integration.test.d.ts.map +1 -0
  492. package/lib/usecases/Inventory/integration.test.js +333 -0
  493. package/lib/usecases/Inventory/integration.test.js.map +1 -0
  494. package/lib/usecases/Listing/GetListingFromProduct.js +15 -0
  495. package/lib/usecases/Listing/GetListingFromProduct.js.map +1 -0
  496. package/lib/usecases/Listing/PushListingToEbay.js +31 -0
  497. package/lib/usecases/Listing/PushListingToEbay.js.map +1 -0
  498. package/lib/usecases/Listing/SyncListing.js +182 -0
  499. package/lib/usecases/Listing/SyncListing.js.map +1 -0
  500. package/lib/usecases/Listing_old/GetListingFromProduct.d.ts +8 -0
  501. package/lib/usecases/Listing_old/GetListingFromProduct.d.ts.map +1 -0
  502. package/lib/usecases/Listing_old/GetListingFromProduct.js +6 -0
  503. package/lib/usecases/Listing_old/GetListingFromProduct.js.map +1 -0
  504. package/lib/usecases/Listing_old/PushListingToEbay.d.ts +16 -0
  505. package/lib/usecases/Listing_old/PushListingToEbay.d.ts.map +1 -0
  506. package/lib/usecases/Listing_old/PushListingToEbay.js +22 -0
  507. package/lib/usecases/Listing_old/PushListingToEbay.js.map +1 -0
  508. package/lib/usecases/Listing_old/SyncListing.d.ts +11 -0
  509. package/lib/usecases/Listing_old/SyncListing.d.ts.map +1 -0
  510. package/lib/usecases/Listing_old/SyncListing.js +173 -0
  511. package/lib/usecases/Listing_old/SyncListing.js.map +1 -0
  512. package/lib/usecases/Location/GetInventoryLocationsFromEbay.d.ts +11 -0
  513. package/lib/usecases/Location/GetInventoryLocationsFromEbay.d.ts.map +1 -0
  514. package/lib/usecases/Location/GetInventoryLocationsFromEbay.js +5 -0
  515. package/lib/usecases/Location/GetInventoryLocationsFromEbay.js.map +1 -0
  516. package/lib/usecases/Location/PushInventoryLocationToEbay.d.ts +12 -0
  517. package/lib/usecases/Location/PushInventoryLocationToEbay.d.ts.map +1 -0
  518. package/lib/usecases/Location/PushInventoryLocationToEbay.js +12 -0
  519. package/lib/usecases/Location/PushInventoryLocationToEbay.js.map +1 -0
  520. package/lib/usecases/Location/PushInventoryLocationUpdateToEbay.d.ts +1 -0
  521. package/lib/usecases/Location/PushInventoryLocationUpdateToEbay.d.ts.map +1 -0
  522. package/lib/usecases/Location/PushInventoryLocationUpdateToEbay.js +1 -0
  523. package/lib/usecases/Location/PushInventoryLocationUpdateToEbay.js.map +1 -0
  524. package/lib/usecases/Location/SyncInventoryLocations.d.ts +17 -0
  525. package/lib/usecases/Location/SyncInventoryLocations.d.ts.map +1 -0
  526. package/lib/usecases/Location/SyncInventoryLocations.js +67 -0
  527. package/lib/usecases/Location/SyncInventoryLocations.js.map +1 -0
  528. package/lib/usecases/Location/integration.test.d.ts +2 -0
  529. package/lib/usecases/Location/integration.test.d.ts.map +1 -0
  530. package/lib/usecases/Location/integration.test.js +31 -0
  531. package/lib/usecases/Location/integration.test.js.map +1 -0
  532. package/lib/usecases/Offer/ConvertItrackInventoryListingDetailToEbayOffer.d.ts +22 -0
  533. package/lib/usecases/Offer/ConvertItrackInventoryListingDetailToEbayOffer.d.ts.map +1 -0
  534. package/lib/usecases/Offer/ConvertItrackInventoryListingDetailToEbayOffer.js +67 -0
  535. package/lib/usecases/Offer/ConvertItrackInventoryListingDetailToEbayOffer.js.map +1 -0
  536. package/lib/usecases/Offer/ConvertItrackListingToEbayOffer.d.ts +17 -0
  537. package/lib/usecases/Offer/ConvertItrackListingToEbayOffer.d.ts.map +1 -0
  538. package/lib/usecases/Offer/ConvertItrackListingToEbayOffer.js +66 -0
  539. package/lib/usecases/Offer/ConvertItrackListingToEbayOffer.js.map +1 -0
  540. package/lib/usecases/Offer/CreateEbayOffer.d.ts +11 -0
  541. package/lib/usecases/Offer/CreateEbayOffer.d.ts.map +1 -0
  542. package/lib/usecases/Offer/CreateEbayOffer.js +31 -0
  543. package/lib/usecases/Offer/CreateEbayOffer.js.map +1 -0
  544. package/lib/usecases/Offer/GetEbayDefaultsFromProduct.d.ts +8 -0
  545. package/lib/usecases/Offer/GetEbayDefaultsFromProduct.d.ts.map +1 -0
  546. package/lib/usecases/Offer/GetEbayDefaultsFromProduct.js +10 -0
  547. package/lib/usecases/Offer/GetEbayDefaultsFromProduct.js.map +1 -0
  548. package/lib/usecases/Offer/PublishEbayOffer.d.ts +11 -0
  549. package/lib/usecases/Offer/PublishEbayOffer.d.ts.map +1 -0
  550. package/lib/usecases/Offer/PublishEbayOffer.js +20 -0
  551. package/lib/usecases/Offer/PublishEbayOffer.js.map +1 -0
  552. package/lib/usecases/Offer/PushEbayOffer.d.ts +14 -0
  553. package/lib/usecases/Offer/PushEbayOffer.d.ts.map +1 -0
  554. package/lib/usecases/Offer/PushEbayOffer.js +54 -0
  555. package/lib/usecases/Offer/PushEbayOffer.js.map +1 -0
  556. package/lib/usecases/Offer/SyncEbayInventoryAndOffer.d.ts +26 -0
  557. package/lib/usecases/Offer/SyncEbayInventoryAndOffer.d.ts.map +1 -0
  558. package/lib/usecases/Offer/SyncEbayInventoryAndOffer.js +145 -0
  559. package/lib/usecases/Offer/SyncEbayInventoryAndOffer.js.map +1 -0
  560. package/lib/usecases/Offer/SyncEbayOffer.d.ts +20 -0
  561. package/lib/usecases/Offer/SyncEbayOffer.d.ts.map +1 -0
  562. package/lib/usecases/Offer/SyncEbayOffer.js +49 -0
  563. package/lib/usecases/Offer/SyncEbayOffer.js.map +1 -0
  564. package/lib/usecases/Offer/convertItrackListingToEbayInventoryAndOffer.d.ts +36 -0
  565. package/lib/usecases/Offer/convertItrackListingToEbayInventoryAndOffer.d.ts.map +1 -0
  566. package/lib/usecases/Offer/convertItrackListingToEbayInventoryAndOffer.js +102 -0
  567. package/lib/usecases/Offer/convertItrackListingToEbayInventoryAndOffer.js.map +1 -0
  568. package/lib/usecases/Offer/createOfferSample.d.ts +1 -0
  569. package/lib/usecases/Offer/createOfferSample.d.ts.map +1 -0
  570. package/lib/usecases/Offer/createOfferSample.js +230 -0
  571. package/lib/usecases/Offer/createOfferSample.js.map +1 -0
  572. package/lib/usecases/Offer/integration.test.d.ts +37 -0
  573. package/lib/usecases/Offer/integration.test.d.ts.map +1 -0
  574. package/lib/usecases/Offer/integration.test.js +472 -0
  575. package/lib/usecases/Offer/integration.test.js.map +1 -0
  576. package/lib/usecases/PaymentPolicy/AddPaymentPolicyToItrack.d.ts +7 -0
  577. package/lib/usecases/PaymentPolicy/AddPaymentPolicyToItrack.d.ts.map +1 -0
  578. package/lib/usecases/PaymentPolicy/AddPaymentPolicyToItrack.js +5 -0
  579. package/lib/usecases/PaymentPolicy/AddPaymentPolicyToItrack.js.map +1 -0
  580. package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromEbay.d.ts +6 -0
  581. package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromEbay.d.ts.map +1 -0
  582. package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromEbay.js +6 -0
  583. package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromEbay.js.map +1 -0
  584. package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromItrack.d.ts +6 -0
  585. package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromItrack.d.ts.map +1 -0
  586. package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromItrack.js +5 -0
  587. package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromItrack.js.map +1 -0
  588. package/lib/usecases/PaymentPolicy/RemovePaymentPolicyFromItrack.d.ts +7 -0
  589. package/lib/usecases/PaymentPolicy/RemovePaymentPolicyFromItrack.d.ts.map +1 -0
  590. package/lib/usecases/PaymentPolicy/RemovePaymentPolicyFromItrack.js +5 -0
  591. package/lib/usecases/PaymentPolicy/RemovePaymentPolicyFromItrack.js.map +1 -0
  592. package/lib/usecases/PaymentPolicy/SyncPaymentPoliciesFromEbay.d.ts +15 -0
  593. package/lib/usecases/PaymentPolicy/SyncPaymentPoliciesFromEbay.d.ts.map +1 -0
  594. package/lib/usecases/PaymentPolicy/SyncPaymentPoliciesFromEbay.js +40 -0
  595. package/lib/usecases/PaymentPolicy/SyncPaymentPoliciesFromEbay.js.map +1 -0
  596. package/lib/usecases/PaymentPolicy/UpdatePaymentPolicyFromItrack.d.ts +7 -0
  597. package/lib/usecases/PaymentPolicy/UpdatePaymentPolicyFromItrack.d.ts.map +1 -0
  598. package/lib/usecases/PaymentPolicy/UpdatePaymentPolicyFromItrack.js +5 -0
  599. package/lib/usecases/PaymentPolicy/UpdatePaymentPolicyFromItrack.js.map +1 -0
  600. package/lib/usecases/ReturnPolicy/AddReturnPolicyToItrack.d.ts +7 -0
  601. package/lib/usecases/ReturnPolicy/AddReturnPolicyToItrack.d.ts.map +1 -0
  602. package/lib/usecases/ReturnPolicy/AddReturnPolicyToItrack.js +5 -0
  603. package/lib/usecases/ReturnPolicy/AddReturnPolicyToItrack.js.map +1 -0
  604. package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromEbay.d.ts +6 -0
  605. package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromEbay.d.ts.map +1 -0
  606. package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromEbay.js +6 -0
  607. package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromEbay.js.map +1 -0
  608. package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromItrack.d.ts +6 -0
  609. package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromItrack.d.ts.map +1 -0
  610. package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromItrack.js +5 -0
  611. package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromItrack.js.map +1 -0
  612. package/lib/usecases/ReturnPolicy/RemoveReturnPolicyFromItrack.d.ts +7 -0
  613. package/lib/usecases/ReturnPolicy/RemoveReturnPolicyFromItrack.d.ts.map +1 -0
  614. package/lib/usecases/ReturnPolicy/RemoveReturnPolicyFromItrack.js +5 -0
  615. package/lib/usecases/ReturnPolicy/RemoveReturnPolicyFromItrack.js.map +1 -0
  616. package/lib/usecases/ReturnPolicy/SyncReturnPoliciesFromEbay.d.ts +15 -0
  617. package/lib/usecases/ReturnPolicy/SyncReturnPoliciesFromEbay.d.ts.map +1 -0
  618. package/lib/usecases/ReturnPolicy/SyncReturnPoliciesFromEbay.js +40 -0
  619. package/lib/usecases/ReturnPolicy/SyncReturnPoliciesFromEbay.js.map +1 -0
  620. package/lib/usecases/ReturnPolicy/UpdateReturnPolicyInItrack.d.ts +7 -0
  621. package/lib/usecases/ReturnPolicy/UpdateReturnPolicyInItrack.d.ts.map +1 -0
  622. package/lib/usecases/ReturnPolicy/UpdateReturnPolicyInItrack.js +5 -0
  623. package/lib/usecases/ReturnPolicy/UpdateReturnPolicyInItrack.js.map +1 -0
  624. package/lib/usecases/ReturnPolicy/integration.test.d.ts +2 -0
  625. package/lib/usecases/ReturnPolicy/integration.test.d.ts.map +1 -0
  626. package/lib/usecases/ReturnPolicy/integration.test.js +56 -0
  627. package/lib/usecases/ReturnPolicy/integration.test.js.map +1 -0
  628. package/lib/usecases/integration.test.d.ts +33 -0
  629. package/lib/usecases/integration.test.d.ts.map +1 -0
  630. package/lib/usecases/integration.test.js +499 -0
  631. package/lib/usecases/integration.test.js.map +1 -0
  632. package/lib/usecases/types/CompleteListing.d.ts +29 -0
  633. package/lib/usecases/types/CompleteListing.d.ts.map +1 -0
  634. package/lib/usecases/types/CompleteListing.js +2 -0
  635. package/lib/usecases/types/CompleteListing.js.map +1 -0
  636. package/lib/utils/buildInventoryListingRow.d.ts +23 -0
  637. package/lib/utils/buildInventoryListingRow.d.ts.map +1 -0
  638. package/lib/utils/buildInventoryListingRow.js +14 -0
  639. package/lib/utils/buildInventoryListingRow.js.map +1 -0
  640. package/lib/utils/ebayResponseParser.d.ts +50 -0
  641. package/lib/utils/ebayResponseParser.d.ts.map +1 -0
  642. package/lib/utils/ebayResponseParser.js +98 -0
  643. package/lib/utils/ebayResponseParser.js.map +1 -0
  644. package/lib/utils/imageUrlComparison.d.ts +5 -0
  645. package/lib/utils/imageUrlComparison.d.ts.map +1 -0
  646. package/lib/utils/imageUrlComparison.js +46 -0
  647. package/lib/utils/imageUrlComparison.js.map +1 -0
  648. package/lib/utils/imageUrlComparison.test.d.ts +2 -0
  649. package/lib/utils/imageUrlComparison.test.d.ts.map +1 -0
  650. package/lib/utils/imageUrlComparison.test.js +113 -0
  651. package/lib/utils/imageUrlComparison.test.js.map +1 -0
  652. package/lib/utils/typeHelpers.d.ts +5 -0
  653. package/lib/utils/typeHelpers.d.ts.map +1 -0
  654. package/lib/utils/typeHelpers.js +2 -0
  655. package/lib/utils/typeHelpers.js.map +1 -0
  656. package/lib/utils/utils.d.ts +25 -0
  657. package/lib/utils/utils.d.ts.map +1 -0
  658. package/lib/utils/utils.js +124 -0
  659. package/lib/utils/utils.js.map +1 -0
  660. package/package.json +56 -0
@@ -0,0 +1,34 @@
1
+ import { NonFunctionProperties } from "../../utils/typeHelpers.js";
2
+ /**
3
+ * This type is used to identify the charitable organization associated with the listing, and the percentage of the sale
4
+ * proceeds that the charitable organization will receive for each sale generated by the listing.
5
+ *
6
+ * In order to receive a percentage of the sales proceeds, the charitable organization must be registered with the
7
+ * PayPal Giving Fund, which is a partner of eBay for Charity.
8
+ */
9
+ export declare class Charity {
10
+ /**
11
+ * The eBay-assigned unique identifier of the charitable organization that will receive a percentage of the sales
12
+ * proceeds. The charitable organization must be reqistered with the PayPal Giving Fund in order to receive sales
13
+ * proceeds through eBay listings.
14
+ *
15
+ * This field is conditionally required if a seller is planning on donating a percentage of the sale proceeds to a
16
+ * charitable organization.
17
+ *
18
+ * The eBay-assigned unique identifier of a charitable organization can be found using the GetCharities call of the
19
+ * Trading API. In the GetCharities call response, this unique identifier is shown in the id attribute of the
20
+ * Charity container.
21
+ */
22
+ charityId: string;
23
+ /**
24
+ * This field is the percentage of the purchase price that the charitable organization (identified in the charityId
25
+ * field) will receive for each sale that the listing generates. This field is conditionally required if a seller is
26
+ * planning on donating a percentage of the sale proceeds to a charitable organization. This numeric value can range
27
+ * from 10 to 100, and in any 5 (percent) increments in between this range (e.g. 10, 15, 20...95,... 100). The
28
+ * seller would pass in 10 for 10 percent, 15 for 15 percent, 20 for 20 percent, and so on, all the way to 100 for
29
+ * 100 percent.
30
+ */
31
+ donationPercentage: string;
32
+ constructor(init: NonFunctionProperties<Charity>);
33
+ }
34
+ //# sourceMappingURL=Charity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Charity.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/Charity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAElE;;;;;;GAMG;AACH,qBAAa,OAAO;IACnB;;;;;;;;;;;OAWG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;;;OAOG;IACH,kBAAkB,EAAE,MAAM,CAAA;gBAEd,IAAI,EAAE,qBAAqB,CAAC,OAAO,CAAC;CAGhD"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This type is used to identify the charitable organization associated with the listing, and the percentage of the sale
3
+ * proceeds that the charitable organization will receive for each sale generated by the listing.
4
+ *
5
+ * In order to receive a percentage of the sales proceeds, the charitable organization must be registered with the
6
+ * PayPal Giving Fund, which is a partner of eBay for Charity.
7
+ */
8
+ export class Charity {
9
+ constructor(init) {
10
+ Object.assign(this, init);
11
+ }
12
+ }
13
+ //# sourceMappingURL=Charity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Charity.js","sourceRoot":"","sources":["../../../src/entities/ebay/Charity.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,OAAO,OAAO;IAwBnB,YAAY,IAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;IAC1B,CAAC;CACD"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * This string field is used by the seller to more clearly describe the condition of a used inventory item, or an inventory item whose condition value is not NEW, LIKE_NEW, NEW_OTHER, or NEW_WITH_DEFECTS.
4
+ * The conditionDescription field is available for all eBay categories.
5
+ * If the conditionDescription field is used with an item in one of the new conditions (mentioned in previous paragraph), eBay will simply ignore this field if included, and eBay will return a warning message to the user.
6
+ * This field should only be used to further clarify the condition of the used item.
7
+ * It should not be used for branding, promotions, shipping, returns, payment or other information unrelated to the condition of the used item. Make sure that the condition value, condition description, listing description, and the item's pictures do not contradict one another.
8
+ * This field is not always required, but is required if an inventory item is being updated and a condition description already exists for that inventory item.
9
+ * Conditional, see above.
10
+ */
11
+ export declare const ConditionDescription: z.ZodString;
12
+ export type ConditionDescription = z.infer<typeof ConditionDescription>;
13
+ //# sourceMappingURL=ConditionDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionDescription.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/ConditionDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;;GAQG;AAEH,eAAO,MAAM,oBAAoB,aAAa,CAAA;AAC9C,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * This string field is used by the seller to more clearly describe the condition of a used inventory item, or an inventory item whose condition value is not NEW, LIKE_NEW, NEW_OTHER, or NEW_WITH_DEFECTS.
4
+ * The conditionDescription field is available for all eBay categories.
5
+ * If the conditionDescription field is used with an item in one of the new conditions (mentioned in previous paragraph), eBay will simply ignore this field if included, and eBay will return a warning message to the user.
6
+ * This field should only be used to further clarify the condition of the used item.
7
+ * It should not be used for branding, promotions, shipping, returns, payment or other information unrelated to the condition of the used item. Make sure that the condition value, condition description, listing description, and the item's pictures do not contradict one another.
8
+ * This field is not always required, but is required if an inventory item is being updated and a condition description already exists for that inventory item.
9
+ * Conditional, see above.
10
+ */
11
+ export const ConditionDescription = z.string();
12
+ //# sourceMappingURL=ConditionDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionDescription.js","sourceRoot":"","sources":["../../../src/entities/ebay/ConditionDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;;GAQG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ export declare const ConditionDescriptors: z.ZodArray<z.ZodObject<{
3
+ additionalInfo: z.ZodString;
4
+ name: z.ZodString;
5
+ values: z.ZodArray<z.ZodString, "many">;
6
+ }, "strip", z.ZodTypeAny, {
7
+ name?: string;
8
+ values?: string[];
9
+ additionalInfo?: string;
10
+ }, {
11
+ name?: string;
12
+ values?: string[];
13
+ additionalInfo?: string;
14
+ }>, "many">;
15
+ export type ConditionDescriptors = z.infer<typeof ConditionDescriptors>;
16
+ //# sourceMappingURL=ConditionDescriptors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionDescriptors.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/ConditionDescriptors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;WAA+B,CAAA;AAChE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Used by the seller to provide additional information about the condition of an item in a structured format.
4
+ * Condition descriptors are name-value attributes that can be either closed set or open text inputs.
5
+ * Conditional
6
+ */
7
+ const ConditionDescriptor = z.object({
8
+ additionalInfo: z.string(),
9
+ name: z.string(),
10
+ values: z.array(z.string())
11
+ });
12
+ export const ConditionDescriptors = z.array(ConditionDescriptor);
13
+ //# sourceMappingURL=ConditionDescriptors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionDescriptors.js","sourceRoot":"","sources":["../../../src/entities/ebay/ConditionDescriptors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;GAIG;AAEH,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC9B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAA"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Condition of the item.
3
+ * Optional up until seller is ready to publish an offer.
4
+ * Manufacturer Refurbished is no longer allowed and is changing to Certified Refurbished
5
+ * There are far more than what we're using here.
6
+ * This list was updated to match allowed categories by ebay motors us for cars/trucks/etc 8/18/2025
7
+ * https://developer.ebay.com/api-docs/sell/inventory/types/slr:ConditionEnum
8
+ * Allowed conditions do not one-to-one match conditions returned in the itemConditionPolicies call for
9
+ * various ebay motors categories
10
+ *
11
+ * https://developer.ebay.com/api-docs/sell/metadata/resources/marketplace/methods/getItemConditionPolicies
12
+ */
13
+ export declare enum EbayConditionEnum {
14
+ /**
15
+ * This enumeration value indicates that the inventory item is not fully functioning as originally designed. A buyer will generally buy an item in this condition knowing that the item will need to be repaired, or a buyer will buy that item just to use one or more of the parts/components that comprise the item.
16
+ * When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
17
+ * This enumeration value should be used if the Condition ID value is 7000.
18
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
19
+ */
20
+ ForPartsOrNotWorking = "FOR_PARTS_OR_NOT_WORKING",
21
+ /**
22
+ * Indicates that the inventory item is a brand-new, unopened item in its original packaging.
23
+ * This enumeration value should be used if the Condition ID value is 1000.
24
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
25
+ */
26
+ New = "NEW",
27
+ /**
28
+ * This enumeration value indicates that the inventory item is a new, unused item, but it may be missing the original packaging or perhaps not sealed. When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
29
+ * This enumeration value should be used if the Condition ID value is 1500.
30
+ */
31
+ NewOther = "NEW_OTHER",
32
+ /**
33
+ * Not sure if allowed, it's considered an allowed value when calling item condition policies for one or more of our motor categories but not in documentation for ConditionEnum
34
+ * Condition ID value 2500
35
+ */
36
+ SellerRefurbished = "SELLER_REFURBISHED",
37
+ /**
38
+ * Condition ID value 3000 in itemConditionPolicies call.
39
+ * ConditionEnum however lists it as USED_EXCELLENT
40
+ */
41
+ UsedExcellent = "USED_EXCELLENT"
42
+ /**
43
+ * Indicates that the inventory item is in acceptable condition.
44
+ * When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
45
+ * This enumeration value should be used if the Condition ID value is 6000.
46
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
47
+ */
48
+ /**
49
+ * indicates that the inventory item is used but in excellent condition.
50
+ * When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
51
+ * This enumeration value should be used if the Condition ID value is 3000.
52
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
53
+ */
54
+ /**
55
+ * indicates that the inventory item is used but in good condition.
56
+ * When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
57
+ * This enumeration value should be used if the Condition ID value is 5000.
58
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
59
+ */
60
+ }
61
+ export declare const checkEbayConditionEnum: (val: string) => EbayConditionEnum;
62
+ //# sourceMappingURL=ConditionEnum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionEnum.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/ConditionEnum.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,oBAAY,iBAAiB;IACzB;;;;;OAKG;IACH,oBAAoB,6BAA6B;IACjD;;;;OAIG;IACH,GAAG,QAAQ;IAEX;;;OAGG;IACH,QAAQ,cAAc;IAEtB;;;OAGG;IACH,iBAAiB,uBAAuB;IAExC;;;OAGG;IACH,aAAa,mBAAmB;IAGhC;;;;;OAKG;IAEH;;;;;OAKG;IAEH;;;;;OAKG;CAGN;AAGD,eAAO,MAAM,sBAAsB,GAAI,KAAK,MAAM,sBAGjD,CAAA"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Condition of the item.
3
+ * Optional up until seller is ready to publish an offer.
4
+ * Manufacturer Refurbished is no longer allowed and is changing to Certified Refurbished
5
+ * There are far more than what we're using here.
6
+ * This list was updated to match allowed categories by ebay motors us for cars/trucks/etc 8/18/2025
7
+ * https://developer.ebay.com/api-docs/sell/inventory/types/slr:ConditionEnum
8
+ * Allowed conditions do not one-to-one match conditions returned in the itemConditionPolicies call for
9
+ * various ebay motors categories
10
+ *
11
+ * https://developer.ebay.com/api-docs/sell/metadata/resources/marketplace/methods/getItemConditionPolicies
12
+ */
13
+ export var EbayConditionEnum;
14
+ (function (EbayConditionEnum) {
15
+ /**
16
+ * This enumeration value indicates that the inventory item is not fully functioning as originally designed. A buyer will generally buy an item in this condition knowing that the item will need to be repaired, or a buyer will buy that item just to use one or more of the parts/components that comprise the item.
17
+ * When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
18
+ * This enumeration value should be used if the Condition ID value is 7000.
19
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
20
+ */
21
+ EbayConditionEnum["ForPartsOrNotWorking"] = "FOR_PARTS_OR_NOT_WORKING";
22
+ /**
23
+ * Indicates that the inventory item is a brand-new, unopened item in its original packaging.
24
+ * This enumeration value should be used if the Condition ID value is 1000.
25
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
26
+ */
27
+ EbayConditionEnum["New"] = "NEW";
28
+ /**
29
+ * This enumeration value indicates that the inventory item is a new, unused item, but it may be missing the original packaging or perhaps not sealed. When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
30
+ * This enumeration value should be used if the Condition ID value is 1500.
31
+ */
32
+ EbayConditionEnum["NewOther"] = "NEW_OTHER";
33
+ /**
34
+ * Not sure if allowed, it's considered an allowed value when calling item condition policies for one or more of our motor categories but not in documentation for ConditionEnum
35
+ * Condition ID value 2500
36
+ */
37
+ EbayConditionEnum["SellerRefurbished"] = "SELLER_REFURBISHED";
38
+ /**
39
+ * Condition ID value 3000 in itemConditionPolicies call.
40
+ * ConditionEnum however lists it as USED_EXCELLENT
41
+ */
42
+ EbayConditionEnum["UsedExcellent"] = "USED_EXCELLENT";
43
+ //SellerRefurbished = "SELLER_REFURBISHED",
44
+ /**
45
+ * Indicates that the inventory item is in acceptable condition.
46
+ * When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
47
+ * This enumeration value should be used if the Condition ID value is 6000.
48
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
49
+ */
50
+ //UsedAcceptable = "USED_ACCEPTABLE",
51
+ /**
52
+ * indicates that the inventory item is used but in excellent condition.
53
+ * When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
54
+ * This enumeration value should be used if the Condition ID value is 3000.
55
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
56
+ */
57
+ //UsedExcellent = "USED_EXCELLENT",
58
+ /**
59
+ * indicates that the inventory item is used but in good condition.
60
+ * When a seller specifies this condition for an item, that seller should also provide a more detailed explanation of the item's condition in the conditionDescription field.
61
+ * This enumeration value should be used if the Condition ID value is 5000.
62
+ * Condition ID values are used in both the Trading and Metadata APIs to indicate item condition.
63
+ */
64
+ //UsedGood = "USED_GOOD",
65
+ //UsedVeryGood = "USED_VERY_GOOD"
66
+ })(EbayConditionEnum || (EbayConditionEnum = {}));
67
+ // Validation to ensure the given value is a valid ebay condition
68
+ export const checkEbayConditionEnum = (val) => {
69
+ if (Object.values(EbayConditionEnum).includes(val))
70
+ return val;
71
+ throw new Error(`'${val}' is not a valid eBay condition`);
72
+ };
73
+ //# sourceMappingURL=ConditionEnum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionEnum.js","sourceRoot":"","sources":["../../../src/entities/ebay/ConditionEnum.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,CAAN,IAAY,iBAwDX;AAxDD,WAAY,iBAAiB;IACzB;;;;;OAKG;IACH,sEAAiD,CAAA;IACjD;;;;OAIG;IACH,gCAAW,CAAA;IAEX;;;OAGG;IACH,2CAAsB,CAAA;IAEtB;;;OAGG;IACH,6DAAwC,CAAA;IAExC;;;OAGG;IACH,qDAAgC,CAAA;IAEhC,2CAA2C;IAC3C;;;;;OAKG;IACH,qCAAqC;IACrC;;;;;OAKG;IACH,mCAAmC;IACnC;;;;;OAKG;IACH,yBAAyB;IACzB,iCAAiC;AACrC,CAAC,EAxDW,iBAAiB,KAAjB,iBAAiB,QAwD5B;AAED,iEAAiE;AACjE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,GAAW,EAAE,EAAE;IACrD,IAAI,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,GAAwB,CAAC;QAAE,OAAO,GAAwB,CAAA;IACxG,MAAM,IAAI,KAAK,CAAC,IAAI,GAAG,iCAAiC,CAAC,CAAA;AAC1D,CAAC,CAAA"}
@@ -0,0 +1,16 @@
1
+ export interface ErrorParametersV3 {
2
+ name: string;
3
+ value: string;
4
+ }
5
+ export interface ErrorDetailV3 {
6
+ category: string;
7
+ domain: string;
8
+ errorId: number;
9
+ inputRefIds: string[];
10
+ longMessage: string;
11
+ message: string;
12
+ outputRefIds: string[];
13
+ parameters: ErrorParametersV3[];
14
+ subdomain: string;
15
+ }
16
+ //# sourceMappingURL=ErrorDetailsV3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorDetailsV3.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/ErrorDetailsV3.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ErrorDetailsV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorDetailsV3.js","sourceRoot":"","sources":["../../../src/entities/ebay/ErrorDetailsV3.ts"],"names":[],"mappings":""}
@@ -0,0 +1,130 @@
1
+ import { MarketplaceEnum } from "./MarketplaceEnum.js";
2
+ import { ShippingOption } from "./ShippingOption.js";
3
+ import { TimeDuration } from "./TimeDuration.js";
4
+ /**
5
+ * This root response container defines a seller's fulfillment policy for a specific marketplace and category type.
6
+ * fulfillmentPolicy encapsulates a seller's terms for fulfilling an order and includes the shipping carriers and
7
+ * services used for shipment and time the seller takes to ship an order. While each seller must define at least one
8
+ * fulfillment policy for every marketplace into which they sell, sellers can define multiple fulfillment policies for a
9
+ * single marketplace by specifying different configurations for the unique policies.
10
+ *
11
+ * https://developer.ebay.com/api-docs/sell/account/resources/fulfillment_policy/methods/createFulfillmentPolicy#h2-samples
12
+ */
13
+ export interface FulfillmentPolicy {
14
+ /**
15
+ * An optional seller-defined description of the fulfillment policy for internal use (this value is not displayed to
16
+ * end users).
17
+ *
18
+ * Max length: 250
19
+ */
20
+ description: string;
21
+ /**
22
+ * If set to true, the seller offers freight shipping. Freight shipping can be used for large items over 150 lbs.
23
+ *
24
+ * Default: false
25
+ */
26
+ freightShipping?: boolean;
27
+ /**
28
+ * A unique eBay-assigned ID for the fulfillment policy. This ID is generated when the policy is created.
29
+ */
30
+ fulfillmentPolicyId: string;
31
+ /**
32
+ * If set to true, the seller has opted-in to the eBay Global Shipping Program and that they use that service for
33
+ * their international shipments. Setting this value automatically sets the international shipping service for the
34
+ * policy to International Priority Shipping and the buyer does not need to set any other shipping services for
35
+ * their INTERNATIONAL shipping options (unless they sell items not covered by the Global Shipping Program).
36
+ *
37
+ * If this value is set to false, the seller is responsible for manually specifying the international shipping
38
+ * services, as described in Setting up worldwide shipping. To opt-in to the Global Shipping Program, log in to eBay
39
+ * and navigate to My Account > Site Preferences > Shipping preferences.
40
+ *
41
+ * Default: false
42
+ */
43
+ globalShipping?: boolean;
44
+ /**
45
+ * Specifies the maximum number of business days the seller commits to for preparing and shipping an order after
46
+ * receiving a cleared payment for the order. This time does not include the transit time it takes the shipping
47
+ * carrier to deliver the order.
48
+ *
49
+ * Valid values can vary by site and by category. To obtain the supported values for a site, call GeteBayDetails in
50
+ * the Trading API with DetailName set to DispatchTimeMaxDetails, then inspect the DispatchTimeMaxDetails container
51
+ * in the response for the time values supported by the site (typical handling times are 0, 1, 2, 3, 4, 5, 10, 15,
52
+ * and 20, but these can vary by site and may change over time.)
53
+ *
54
+ * This field is required when the seller uses a flat or calculated shipping service, and it does not apply when
55
+ * there is no shipping service specified (for example, if the policy specifies only localPickup or
56
+ * freightShipping). In these cases, this field is not used and you can set it to 0.
57
+ *
58
+ * Note that Top-Rated sellers must offer same-day or one-day handling for a listing in order for that listing to
59
+ * receive a Top Rated Plus seal on the View Item or Search Results pages. To offer zero-day or one-day handling,
60
+ * set field to '0' or '1', respectively.
61
+ *
62
+ * Min: 0 Max: 30
63
+ */
64
+ handlingTime?: TimeDuration;
65
+ /**
66
+ * If set to true, no shipping is offered by this policy and the seller offers only local pickup of the item
67
+ * (normally from a non-business location). This option is most often used for customer-to-customer sales and if
68
+ * set, costType should be set to NOT_SPECIFIED.
69
+ *
70
+ * Default: false
71
+ */
72
+ localPickup?: boolean;
73
+ /**
74
+ * The ID of the eBay marketplace to which this fulfillment policy applies. If this value is not specified, value
75
+ * defaults to the seller's eBay registration site.
76
+ */
77
+ marketplaceId: MarketplaceEnum;
78
+ /**
79
+ * A user-defined name for this fulfillment policy. Names must be unique for policies assigned to the same
80
+ * marketplace.
81
+ *
82
+ * Max length: 64
83
+ */
84
+ name: string;
85
+ /**
86
+ * If set to true, the seller offers the "Click and Collect" feature. Click and Collect is supported by the
87
+ * Inventory API, and it can be used with Add/Revise/Relist calls.
88
+ *
89
+ * To enable "Click and Collect", a seller (1) must be eligible for Click and Collect and (2) must set this boolean
90
+ * field to 'true'. Currently, Click and Collect is available to only large retail merchants selling in the eBay AU
91
+ * and UK marketplaces.
92
+ *
93
+ * In addition to setting this field, the merchant must also do the following to enable the "Click and Collect"
94
+ * option on a listing:
95
+ *
96
+ * Have inventory for the product at one or more physical stores tied to the merchant's account.
97
+ *
98
+ * Sellers can use the createInventoryLocaion method in the Inventory API to associate physical stores to their
99
+ * account and they can then can add inventory to specific store locations.
100
+ *
101
+ * Set an immediate payment requirement on the item. The immediate payment feature requires the seller to: Set the
102
+ * immediatePay flag in the payment policy to 'true'. Include only one paymentMethods field in the payment policy
103
+ * and set its value to PAYPAL. Include a valid PayPal contact in the recipientAccountReference.referenceId field
104
+ * of the payment policy. Have a valid store location with a complete street address.
105
+ *
106
+ * When a UK merchant successfully lists an item with Click and Collect, prospective buyers within a reasonable
107
+ * distance from one of the merchant's stores (that has stock available) will see the "Available for Click and
108
+ * Collect" option on the listing, along with information on the closest store that has the item.
109
+ *
110
+ * Default: false
111
+ */
112
+ pickupDropOff?: boolean;
113
+ /**
114
+ * A list that defines the seller's shipping configurations for DOMESTIC and INTERNATIONAL order shipments.
115
+ *
116
+ * shippingOptions is a list with a single element if the seller ships to only domestic locations. If the seller
117
+ * also ships internationally, the list contains a second element that defines their international shipping options.
118
+ *
119
+ * Shipping options configure the high-level shipping settings that apply to orders, such as flat-rate or calculated
120
+ * shipping, any rate tables the seller wants to associate with the shipping services, plus other details (such as
121
+ * the shippingServices offered for domestic or international shipments).
122
+ */
123
+ shippingOptions?: ShippingOption[];
124
+ }
125
+ export interface FulfillmentPolicyResponse {
126
+ fulfillmentPolicies: FulfillmentPolicy[];
127
+ href: string;
128
+ total: number;
129
+ }
130
+ //# sourceMappingURL=FulfillmentPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FulfillmentPolicy.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/FulfillmentPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IACjC;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B;;;;;;;;;;;OAWG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,aAAa,EAAE,eAAe,CAAA;IAC9B;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;;;;;OASG;IACH,eAAe,CAAC,EAAE,cAAc,EAAE,CAAA;CAElC;AAED,MAAM,WAAW,yBAAyB;IACzC,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FulfillmentPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FulfillmentPolicy.js","sourceRoot":"","sources":["../../../src/entities/ebay/FulfillmentPolicy.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This type is used to express the Global Positioning System (GPS) latitude and longitude coordinates of an inventory
3
+ * location.
4
+ */
5
+ export interface GeoCoordinates {
6
+ /**
7
+ * The latitude (North-South) component of the geographic coordinate. This field is required if a geoCoordinates
8
+ * container is used.
9
+ *
10
+ * This field is returned if geographical coordinates are set for the inventory location.
11
+ */
12
+ latitude: number;
13
+ /**
14
+ * The longitude (East-West) component of the geographic coordinate. This field is required if a geoCoordinates
15
+ * container is used.
16
+ *
17
+ * This field is returned if geographical coordinates are set for the inventory location.
18
+ */
19
+ longitude: number;
20
+ }
21
+ //# sourceMappingURL=GeoCoordinates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoCoordinates.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/GeoCoordinates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC9B;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GeoCoordinates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoCoordinates.js","sourceRoot":"","sources":["../../../src/entities/ebay/GeoCoordinates.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
1
+ export interface UploadSiteHostedPicturesRequest {
2
+ PictureName: string;
3
+ PictureSet: 'Standard' | 'Supersize' | 'Large';
4
+ ExternalPictureURL?: string;
5
+ }
6
+ export interface UploadSiteHostedPicturesResponse {
7
+ Timestamp: string;
8
+ Ack: 'Success' | 'Warning' | 'Failure';
9
+ Version: string;
10
+ Build: string;
11
+ SiteHostedPictureDetails?: {
12
+ PictureSetMember: Array<{
13
+ MemberURL: string;
14
+ PictureHeight: number;
15
+ PictureWidth: number;
16
+ UseByDate: string;
17
+ }>;
18
+ BaseURL: string;
19
+ PictureSet: string;
20
+ FullURL: string;
21
+ PictureFormat: string;
22
+ PictureName: string;
23
+ };
24
+ Errors?: Array<{
25
+ ShortMessage: string;
26
+ LongMessage: string;
27
+ ErrorCode: string;
28
+ SeverityCode: 'Error' | 'Warning';
29
+ ErrorClassification: string;
30
+ }>;
31
+ }
32
+ export interface ImageUploadOptions {
33
+ pictureName: string;
34
+ fileData: Buffer;
35
+ pictureSet?: 'Standard' | 'Supersize' | 'Large';
36
+ }
37
+ export interface ImageUploadData {
38
+ pictureUrls: string[];
39
+ baseUrl: string;
40
+ pictureSet: string;
41
+ pictureName: string;
42
+ fullUrl: string;
43
+ warnings?: string[];
44
+ }
45
+ //# sourceMappingURL=ImageUpload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageUpload.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/ImageUpload.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,+BAA+B;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAA;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED,MAAM,WAAW,gCAAgC;IAC7C,SAAS,EAAE,MAAM,CAAA;IACjB,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;IACtC,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,wBAAwB,CAAC,EAAE;QACvB,gBAAgB,EAAE,KAAK,CAAC;YACpB,SAAS,EAAE,MAAM,CAAA;YACjB,aAAa,EAAE,MAAM,CAAA;YACrB,YAAY,EAAE,MAAM,CAAA;YACpB,SAAS,EAAE,MAAM,CAAA;SACpB,CAAC,CAAA;QACF,OAAO,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;QAClB,OAAO,EAAE,MAAM,CAAA;QACf,aAAa,EAAE,MAAM,CAAA;QACrB,WAAW,EAAE,MAAM,CAAA;KACtB,CAAA;IACD,MAAM,CAAC,EAAE,KAAK,CAAC;QACX,YAAY,EAAE,MAAM,CAAA;QACpB,WAAW,EAAE,MAAM,CAAA;QACnB,SAAS,EAAE,MAAM,CAAA;QACjB,YAAY,EAAE,OAAO,GAAG,SAAS,CAAA;QACjC,mBAAmB,EAAE,MAAM,CAAA;KAC9B,CAAC,CAAA;CACL;AAED,MAAM,WAAW,kBAAkB;IAC/B,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAA;CAClD;AAGD,MAAM,WAAW,eAAe;IAC5B,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ImageUpload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageUpload.js","sourceRoot":"","sources":["../../../src/entities/ebay/ImageUpload.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This type is used by the intervals container to define the opening and closing times of a store's working day. Local
3
+ * time (in Military format) is used, with the following format: hh:mm:ss.
4
+ */
5
+ export interface Interval {
6
+ /**
7
+ * The close value is actually the time that the store closes. Local time (in Military format) is used. So, if a
8
+ * store closed at 8 PM local time, the close time would look like the following: 20:00:00. This field is
9
+ * conditionally required if the intervals container is used to specify working hours or special hours for a store.
10
+ *
11
+ * This field is returned if set for the store location.
12
+ */
13
+ close: string;
14
+ /**
15
+ * The open value is actually the time that the store opens. Local time (in Military format) is used. So, if a store
16
+ * opens at 9 AM local time, the close time would look like the following: 09:00:00. This field is conditionally
17
+ * required if the intervals container is used to specify working hours or special hours for a store.
18
+ *
19
+ * This field is returned if set for the store location.
20
+ */
21
+ open: string;
22
+ }
23
+ //# sourceMappingURL=Interval.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Interval.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/Interval.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACxB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;CACb"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Interval.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Interval.js","sourceRoot":"","sources":["../../../src/entities/ebay/Interval.ts"],"names":[],"mappings":""}