@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,437 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * This enumeration type is used to indicate whether an inventory item has quantity available for purchase at the
4
+ * merchant's store indicated in the pickupAtLocationAvailability.merchantLocationKey field. This type is only
5
+ * applicable to inventory available for In-Store Pickup orders.
6
+ */
7
+ export declare enum AvailabilityTypeEnum {
8
+ /**
9
+ * This enumeration value indicates that the inventory item has quantity available for purchase at the merchant's
10
+ * store indicated in the pickupAtLocationAvailability.merchantLocationKey field. The quantity available for
11
+ * purchase is shown in the pickupAtLocationAvailability.quantity field. If the product is "In Stock", the
12
+ * corresponding pickupAtLocationAvailability.Quantity value should be an integer value greater than 0.
13
+ */
14
+ InStock = "IN_STOCK",
15
+ /**
16
+ * This enumeration value indicates that the inventory item is out of stock at the merchant's store indicated in the
17
+ * pickupAtLocationAvailability.merchantLocationKey field. If the product is "Out of Stock", the corresponding
18
+ * pickupAtLocationAvailability.Quantity value should be 0.
19
+ */
20
+ OutOfStock = "OUT_OF_STOCK",
21
+ /**
22
+ * This enumeration value indicates that the merchant's store (indicated in the
23
+ * pickupAtLocationAvailability.merchantLocationKey field) is temporarily out of stock of the product, but some
24
+ * inventory of the product is being shipped from a warehouse to that store. The quantity being shipped is shown in
25
+ * the pickupAtLocationAvailability.quantity field, and this value should be an integer value greater than 0.
26
+ */
27
+ ShipToStore = "SHIP_TO_STORE"
28
+ }
29
+ /**
30
+ * Used by the fufillmentTime field of the PickupAtLocationAvailability type to specify the time unit that is used to indicate the fulfillment time,
31
+ * which is how soon an In-Store Pickup order will be ready for pickup at the store identified in the merchantLocationKey field.
32
+ * Typically is HOUR
33
+ */
34
+ export declare enum TimeDurationUnitEnum {
35
+ Year = "YEAR",
36
+ Month = "MONTH",
37
+ Day = "DAY",
38
+ Hour = "HOUR",
39
+ CalendarDay = "CALENDAR_DAY",
40
+ BusinessDay = "BUSINESS_DAY",
41
+ Minute = "MINUTE",
42
+ Second = "SECOND",
43
+ Millisecond = "MILLISECOND"
44
+ }
45
+ /**
46
+ * This type is used to set the available quantity of the inventory item at one or more warehouse locations.
47
+ */
48
+ export declare const AvailabilityDistribution: z.ZodObject<{
49
+ /**
50
+ * Used to indicate the expected fulfillment time if the inventory item is shipped from the warehouse location identified in merchantLocationKey field.
51
+ * The fulfillment time is the estimated number of business days after purchase that the buyer can expect the item to be delivered.
52
+ */
53
+ fulfillmentTime: z.ZodObject<{
54
+ /**
55
+ * This enumeration value indicates the time unit used to specify the fulfillment time, such as HOUR.
56
+ */
57
+ unit: z.ZodNativeEnum<typeof TimeDurationUnitEnum>;
58
+ /**
59
+ * The integer value in this field, along with the time unit in the unit field, will indicate how soon after an
60
+ * In-Store Pickup purchase can the buyer pick up the item at the designated store location. If the value of this
61
+ * field is 4, and the value of the unit field is HOUR, then the fulfillment time for the In-Store Pickup order is
62
+ * four hours, which means that the buyer will be able to pick up the item at the store four hours after the
63
+ * transaction took place.
64
+ */
65
+ value: z.ZodNumber;
66
+ }, "strip", z.ZodTypeAny, {
67
+ unit?: TimeDurationUnitEnum;
68
+ value?: number;
69
+ }, {
70
+ unit?: TimeDurationUnitEnum;
71
+ value?: number;
72
+ }>;
73
+ /**
74
+ * The unique identifier of an inventory location where quantity is available for the inventory item.
75
+ * The field is conditionally required to identify the inventory location that has quantity of the inventory item.
76
+ */
77
+ merchantLocationKey: z.ZodString;
78
+ /**
79
+ * Integer that indicates the quantity of the inventory item that is available at this inventory location.
80
+ * This field is conditionally required.
81
+ */
82
+ quantity: z.ZodNumber;
83
+ }, "strip", z.ZodTypeAny, {
84
+ fulfillmentTime?: {
85
+ unit?: TimeDurationUnitEnum;
86
+ value?: number;
87
+ };
88
+ merchantLocationKey?: string;
89
+ quantity?: number;
90
+ }, {
91
+ fulfillmentTime?: {
92
+ unit?: TimeDurationUnitEnum;
93
+ value?: number;
94
+ };
95
+ merchantLocationKey?: string;
96
+ quantity?: number;
97
+ }>;
98
+ /**
99
+ * Type used to specify the total ship-to-home quantity of the inventory item that will be available for purchase through one or more published offers.
100
+ */
101
+ export declare const ShipToLocationAvailability: z.ZodObject<{
102
+ /**
103
+ * Used to set the available quantity of the inventory item at one or more warehouse locations.
104
+ * This container will be returned if available quantity is set for one or more inventory locations.
105
+ */
106
+ availabilityDistributions: z.ZodArray<z.ZodObject<{
107
+ /**
108
+ * Used to indicate the expected fulfillment time if the inventory item is shipped from the warehouse location identified in merchantLocationKey field.
109
+ * The fulfillment time is the estimated number of business days after purchase that the buyer can expect the item to be delivered.
110
+ */
111
+ fulfillmentTime: z.ZodObject<{
112
+ /**
113
+ * This enumeration value indicates the time unit used to specify the fulfillment time, such as HOUR.
114
+ */
115
+ unit: z.ZodNativeEnum<typeof TimeDurationUnitEnum>;
116
+ /**
117
+ * The integer value in this field, along with the time unit in the unit field, will indicate how soon after an
118
+ * In-Store Pickup purchase can the buyer pick up the item at the designated store location. If the value of this
119
+ * field is 4, and the value of the unit field is HOUR, then the fulfillment time for the In-Store Pickup order is
120
+ * four hours, which means that the buyer will be able to pick up the item at the store four hours after the
121
+ * transaction took place.
122
+ */
123
+ value: z.ZodNumber;
124
+ }, "strip", z.ZodTypeAny, {
125
+ unit?: TimeDurationUnitEnum;
126
+ value?: number;
127
+ }, {
128
+ unit?: TimeDurationUnitEnum;
129
+ value?: number;
130
+ }>;
131
+ /**
132
+ * The unique identifier of an inventory location where quantity is available for the inventory item.
133
+ * The field is conditionally required to identify the inventory location that has quantity of the inventory item.
134
+ */
135
+ merchantLocationKey: z.ZodString;
136
+ /**
137
+ * Integer that indicates the quantity of the inventory item that is available at this inventory location.
138
+ * This field is conditionally required.
139
+ */
140
+ quantity: z.ZodNumber;
141
+ }, "strip", z.ZodTypeAny, {
142
+ fulfillmentTime?: {
143
+ unit?: TimeDurationUnitEnum;
144
+ value?: number;
145
+ };
146
+ merchantLocationKey?: string;
147
+ quantity?: number;
148
+ }, {
149
+ fulfillmentTime?: {
150
+ unit?: TimeDurationUnitEnum;
151
+ value?: number;
152
+ };
153
+ merchantLocationKey?: string;
154
+ quantity?: number;
155
+ }>, "many">;
156
+ /**
157
+ * This field is not immediately required but 'ship-to-home' quantity must be set before an offer can be published.
158
+ * If an existing inventory item is being updated, and the ship-to-home quantity already exists, this field should be included again.
159
+ * The availableQuantity field, if set in the offer, overrides this quantity field.
160
+ */
161
+ quantity: z.ZodNumber;
162
+ }, "strip", z.ZodTypeAny, {
163
+ quantity?: number;
164
+ availabilityDistributions?: {
165
+ fulfillmentTime?: {
166
+ unit?: TimeDurationUnitEnum;
167
+ value?: number;
168
+ };
169
+ merchantLocationKey?: string;
170
+ quantity?: number;
171
+ }[];
172
+ }, {
173
+ quantity?: number;
174
+ availabilityDistributions?: {
175
+ fulfillmentTime?: {
176
+ unit?: TimeDurationUnitEnum;
177
+ value?: number;
178
+ };
179
+ merchantLocationKey?: string;
180
+ quantity?: number;
181
+ }[];
182
+ }>;
183
+ /**
184
+ * Type used to specify the quantity of the inventory that is available for an In-Store Pickup order at the merchant's physical store (specified by merchantLocationKey field).
185
+ */
186
+ export declare const PickupAtLocationAvailability: z.ZodObject<{
187
+ /**
188
+ * This field indicates the availability status of the inventory item at the merchant's physical store specified by the pickupAtLocationAvailability.merchantLocationKey field
189
+ * Required if pickupAtLocationAvailability container is used and is always returned with pickupAtLocationAvailability container.
190
+ */
191
+ availabilityType: z.ZodNativeEnum<typeof AvailabilityTypeEnum>;
192
+ /**
193
+ * How soon an in-store pickup order will be available for pickup by the buyer after the order takes place.
194
+ * Required if pickupAtLocationAvailability is used.
195
+ */
196
+ fulfillmentTime: z.ZodObject<{
197
+ /**
198
+ * This enumeration value indicates the time unit used to specify the fulfillment time, such as HOUR.
199
+ */
200
+ unit: z.ZodNativeEnum<typeof TimeDurationUnitEnum>;
201
+ /**
202
+ * The integer value in this field, along with the time unit in the unit field, will indicate how soon after an
203
+ * In-Store Pickup purchase can the buyer pick up the item at the designated store location. If the value of this
204
+ * field is 4, and the value of the unit field is HOUR, then the fulfillment time for the In-Store Pickup order is
205
+ * four hours, which means that the buyer will be able to pick up the item at the store four hours after the
206
+ * transaction took place.
207
+ */
208
+ value: z.ZodNumber;
209
+ }, "strip", z.ZodTypeAny, {
210
+ unit?: TimeDurationUnitEnum;
211
+ value?: number;
212
+ }, {
213
+ unit?: TimeDurationUnitEnum;
214
+ value?: number;
215
+ }>;
216
+ /**
217
+ * Unique identifier of a merchant's store where the in-store pickup inventory item is located or where it will be sent to.
218
+ * If merchant's store is waiting for inventory, the availabilityType value should be "SHIP_TO_STORE"
219
+ * Required if pickupAtLocationAvailability container is used.
220
+ * Use the getInventoryLocations call to retrieve merchant location keys.
221
+ * Max length: 36
222
+ */
223
+ merchantLocationKey: z.ZodString;
224
+ /**
225
+ * This integer value indicates the quantity of the inventory item that is available for In-Store Pickup at the
226
+ * store identified by the merchantLocationKey value. The value of quantity should be an integer value greater than
227
+ * 0, unless the inventory item is out of stock. This field is required if the pickupAtLocationAvailability
228
+ * container is used, and is always returned with the pickupAtLocationAvailability container.
229
+ */
230
+ quantity: z.ZodNumber;
231
+ }, "strip", z.ZodTypeAny, {
232
+ fulfillmentTime?: {
233
+ unit?: TimeDurationUnitEnum;
234
+ value?: number;
235
+ };
236
+ merchantLocationKey?: string;
237
+ quantity?: number;
238
+ availabilityType?: AvailabilityTypeEnum;
239
+ }, {
240
+ fulfillmentTime?: {
241
+ unit?: TimeDurationUnitEnum;
242
+ value?: number;
243
+ };
244
+ merchantLocationKey?: string;
245
+ quantity?: number;
246
+ availabilityType?: AvailabilityTypeEnum;
247
+ }>;
248
+ export declare const Availability: z.ZodObject<{
249
+ pickupAtLocationAvailability: z.ZodArray<z.ZodObject<{
250
+ /**
251
+ * This field indicates the availability status of the inventory item at the merchant's physical store specified by the pickupAtLocationAvailability.merchantLocationKey field
252
+ * Required if pickupAtLocationAvailability container is used and is always returned with pickupAtLocationAvailability container.
253
+ */
254
+ availabilityType: z.ZodNativeEnum<typeof AvailabilityTypeEnum>;
255
+ /**
256
+ * How soon an in-store pickup order will be available for pickup by the buyer after the order takes place.
257
+ * Required if pickupAtLocationAvailability is used.
258
+ */
259
+ fulfillmentTime: z.ZodObject<{
260
+ /**
261
+ * This enumeration value indicates the time unit used to specify the fulfillment time, such as HOUR.
262
+ */
263
+ unit: z.ZodNativeEnum<typeof TimeDurationUnitEnum>;
264
+ /**
265
+ * The integer value in this field, along with the time unit in the unit field, will indicate how soon after an
266
+ * In-Store Pickup purchase can the buyer pick up the item at the designated store location. If the value of this
267
+ * field is 4, and the value of the unit field is HOUR, then the fulfillment time for the In-Store Pickup order is
268
+ * four hours, which means that the buyer will be able to pick up the item at the store four hours after the
269
+ * transaction took place.
270
+ */
271
+ value: z.ZodNumber;
272
+ }, "strip", z.ZodTypeAny, {
273
+ unit?: TimeDurationUnitEnum;
274
+ value?: number;
275
+ }, {
276
+ unit?: TimeDurationUnitEnum;
277
+ value?: number;
278
+ }>;
279
+ /**
280
+ * Unique identifier of a merchant's store where the in-store pickup inventory item is located or where it will be sent to.
281
+ * If merchant's store is waiting for inventory, the availabilityType value should be "SHIP_TO_STORE"
282
+ * Required if pickupAtLocationAvailability container is used.
283
+ * Use the getInventoryLocations call to retrieve merchant location keys.
284
+ * Max length: 36
285
+ */
286
+ merchantLocationKey: z.ZodString;
287
+ /**
288
+ * This integer value indicates the quantity of the inventory item that is available for In-Store Pickup at the
289
+ * store identified by the merchantLocationKey value. The value of quantity should be an integer value greater than
290
+ * 0, unless the inventory item is out of stock. This field is required if the pickupAtLocationAvailability
291
+ * container is used, and is always returned with the pickupAtLocationAvailability container.
292
+ */
293
+ quantity: z.ZodNumber;
294
+ }, "strip", z.ZodTypeAny, {
295
+ fulfillmentTime?: {
296
+ unit?: TimeDurationUnitEnum;
297
+ value?: number;
298
+ };
299
+ merchantLocationKey?: string;
300
+ quantity?: number;
301
+ availabilityType?: AvailabilityTypeEnum;
302
+ }, {
303
+ fulfillmentTime?: {
304
+ unit?: TimeDurationUnitEnum;
305
+ value?: number;
306
+ };
307
+ merchantLocationKey?: string;
308
+ quantity?: number;
309
+ availabilityType?: AvailabilityTypeEnum;
310
+ }>, "many">;
311
+ shipToLocationAvailability: z.ZodObject<{
312
+ /**
313
+ * Used to set the available quantity of the inventory item at one or more warehouse locations.
314
+ * This container will be returned if available quantity is set for one or more inventory locations.
315
+ */
316
+ availabilityDistributions: z.ZodArray<z.ZodObject<{
317
+ /**
318
+ * Used to indicate the expected fulfillment time if the inventory item is shipped from the warehouse location identified in merchantLocationKey field.
319
+ * The fulfillment time is the estimated number of business days after purchase that the buyer can expect the item to be delivered.
320
+ */
321
+ fulfillmentTime: z.ZodObject<{
322
+ /**
323
+ * This enumeration value indicates the time unit used to specify the fulfillment time, such as HOUR.
324
+ */
325
+ unit: z.ZodNativeEnum<typeof TimeDurationUnitEnum>;
326
+ /**
327
+ * The integer value in this field, along with the time unit in the unit field, will indicate how soon after an
328
+ * In-Store Pickup purchase can the buyer pick up the item at the designated store location. If the value of this
329
+ * field is 4, and the value of the unit field is HOUR, then the fulfillment time for the In-Store Pickup order is
330
+ * four hours, which means that the buyer will be able to pick up the item at the store four hours after the
331
+ * transaction took place.
332
+ */
333
+ value: z.ZodNumber;
334
+ }, "strip", z.ZodTypeAny, {
335
+ unit?: TimeDurationUnitEnum;
336
+ value?: number;
337
+ }, {
338
+ unit?: TimeDurationUnitEnum;
339
+ value?: number;
340
+ }>;
341
+ /**
342
+ * The unique identifier of an inventory location where quantity is available for the inventory item.
343
+ * The field is conditionally required to identify the inventory location that has quantity of the inventory item.
344
+ */
345
+ merchantLocationKey: z.ZodString;
346
+ /**
347
+ * Integer that indicates the quantity of the inventory item that is available at this inventory location.
348
+ * This field is conditionally required.
349
+ */
350
+ quantity: z.ZodNumber;
351
+ }, "strip", z.ZodTypeAny, {
352
+ fulfillmentTime?: {
353
+ unit?: TimeDurationUnitEnum;
354
+ value?: number;
355
+ };
356
+ merchantLocationKey?: string;
357
+ quantity?: number;
358
+ }, {
359
+ fulfillmentTime?: {
360
+ unit?: TimeDurationUnitEnum;
361
+ value?: number;
362
+ };
363
+ merchantLocationKey?: string;
364
+ quantity?: number;
365
+ }>, "many">;
366
+ /**
367
+ * This field is not immediately required but 'ship-to-home' quantity must be set before an offer can be published.
368
+ * If an existing inventory item is being updated, and the ship-to-home quantity already exists, this field should be included again.
369
+ * The availableQuantity field, if set in the offer, overrides this quantity field.
370
+ */
371
+ quantity: z.ZodNumber;
372
+ }, "strip", z.ZodTypeAny, {
373
+ quantity?: number;
374
+ availabilityDistributions?: {
375
+ fulfillmentTime?: {
376
+ unit?: TimeDurationUnitEnum;
377
+ value?: number;
378
+ };
379
+ merchantLocationKey?: string;
380
+ quantity?: number;
381
+ }[];
382
+ }, {
383
+ quantity?: number;
384
+ availabilityDistributions?: {
385
+ fulfillmentTime?: {
386
+ unit?: TimeDurationUnitEnum;
387
+ value?: number;
388
+ };
389
+ merchantLocationKey?: string;
390
+ quantity?: number;
391
+ }[];
392
+ }>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ pickupAtLocationAvailability?: {
395
+ fulfillmentTime?: {
396
+ unit?: TimeDurationUnitEnum;
397
+ value?: number;
398
+ };
399
+ merchantLocationKey?: string;
400
+ quantity?: number;
401
+ availabilityType?: AvailabilityTypeEnum;
402
+ }[];
403
+ shipToLocationAvailability?: {
404
+ quantity?: number;
405
+ availabilityDistributions?: {
406
+ fulfillmentTime?: {
407
+ unit?: TimeDurationUnitEnum;
408
+ value?: number;
409
+ };
410
+ merchantLocationKey?: string;
411
+ quantity?: number;
412
+ }[];
413
+ };
414
+ }, {
415
+ pickupAtLocationAvailability?: {
416
+ fulfillmentTime?: {
417
+ unit?: TimeDurationUnitEnum;
418
+ value?: number;
419
+ };
420
+ merchantLocationKey?: string;
421
+ quantity?: number;
422
+ availabilityType?: AvailabilityTypeEnum;
423
+ }[];
424
+ shipToLocationAvailability?: {
425
+ quantity?: number;
426
+ availabilityDistributions?: {
427
+ fulfillmentTime?: {
428
+ unit?: TimeDurationUnitEnum;
429
+ value?: number;
430
+ };
431
+ merchantLocationKey?: string;
432
+ quantity?: number;
433
+ }[];
434
+ };
435
+ }>;
436
+ export type Availability = z.infer<typeof Availability>;
437
+ //# sourceMappingURL=Availability.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Availability.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/Availability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;GAIG;AACH,oBAAY,oBAAoB;IAC/B;;;;;OAKG;IACH,OAAO,aAAa;IACpB;;;;OAIG;IACH,UAAU,iBAAiB;IAC3B;;;;;OAKG;IACH,WAAW,kBAAkB;CAC7B;AAED;;;;GAIG;AACH,oBAAY,oBAAoB;IAC5B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;IAC5B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC9B;AAmBD;;GAEG;AACH,eAAO,MAAM,wBAAwB;IACjC;;;OAGG;;QArBH;;WAEA;;QAEA;;;;;;WAMA;;;;;;;;;IAcA;;;OAGG;;IAGH;;;OAGG;;;;;;;;;;;;;;;;EAEL,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B;IACnC;;;OAGG;;QA1BH;;;WAGG;;YArBH;;eAEA;;YAEA;;;;;;eAMA;;;;;;;;;QAcA;;;WAGG;;QAGH;;;WAGG;;;;;;;;;;;;;;;;;IAaH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;EAEL,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B;IACrC;;;OAGG;;IAEH;;;OAGG;;QAlEH;;WAEA;;QAEA;;;;;;WAMA;;;;;;;;;IA0DA;;;;;;OAMG;;IAEH;;;;;OAKA;;;;;;;;;;;;;;;;;;EAEF,CAAA;AAQF,eAAO,MAAM,YAAY;;QAjCrB;;;WAGG;;QAEH;;;WAGG;;YAlEH;;eAEA;;YAEA;;;;;;eAMA;;;;;;;;;QA0DA;;;;;;WAMG;;QAEH;;;;;WAKA;;;;;;;;;;;;;;;;;;;;QAxCA;;;WAGG;;YA1BH;;;eAGG;;gBArBH;;mBAEA;;gBAEA;;;;;;mBAMA;;;;;;;;;YAcA;;;eAGG;;YAGH;;;eAGG;;;;;;;;;;;;;;;;;QAaH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CL,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
@@ -0,0 +1,140 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * This enumeration type is used to indicate whether an inventory item has quantity available for purchase at the
4
+ * merchant's store indicated in the pickupAtLocationAvailability.merchantLocationKey field. This type is only
5
+ * applicable to inventory available for In-Store Pickup orders.
6
+ */
7
+ export var AvailabilityTypeEnum;
8
+ (function (AvailabilityTypeEnum) {
9
+ /**
10
+ * This enumeration value indicates that the inventory item has quantity available for purchase at the merchant's
11
+ * store indicated in the pickupAtLocationAvailability.merchantLocationKey field. The quantity available for
12
+ * purchase is shown in the pickupAtLocationAvailability.quantity field. If the product is "In Stock", the
13
+ * corresponding pickupAtLocationAvailability.Quantity value should be an integer value greater than 0.
14
+ */
15
+ AvailabilityTypeEnum["InStock"] = "IN_STOCK";
16
+ /**
17
+ * This enumeration value indicates that the inventory item is out of stock at the merchant's store indicated in the
18
+ * pickupAtLocationAvailability.merchantLocationKey field. If the product is "Out of Stock", the corresponding
19
+ * pickupAtLocationAvailability.Quantity value should be 0.
20
+ */
21
+ AvailabilityTypeEnum["OutOfStock"] = "OUT_OF_STOCK";
22
+ /**
23
+ * This enumeration value indicates that the merchant's store (indicated in the
24
+ * pickupAtLocationAvailability.merchantLocationKey field) is temporarily out of stock of the product, but some
25
+ * inventory of the product is being shipped from a warehouse to that store. The quantity being shipped is shown in
26
+ * the pickupAtLocationAvailability.quantity field, and this value should be an integer value greater than 0.
27
+ */
28
+ AvailabilityTypeEnum["ShipToStore"] = "SHIP_TO_STORE";
29
+ })(AvailabilityTypeEnum || (AvailabilityTypeEnum = {}));
30
+ /**
31
+ * Used by the fufillmentTime field of the PickupAtLocationAvailability type to specify the time unit that is used to indicate the fulfillment time,
32
+ * which is how soon an In-Store Pickup order will be ready for pickup at the store identified in the merchantLocationKey field.
33
+ * Typically is HOUR
34
+ */
35
+ export var TimeDurationUnitEnum;
36
+ (function (TimeDurationUnitEnum) {
37
+ TimeDurationUnitEnum["Year"] = "YEAR";
38
+ TimeDurationUnitEnum["Month"] = "MONTH";
39
+ TimeDurationUnitEnum["Day"] = "DAY";
40
+ TimeDurationUnitEnum["Hour"] = "HOUR";
41
+ TimeDurationUnitEnum["CalendarDay"] = "CALENDAR_DAY";
42
+ TimeDurationUnitEnum["BusinessDay"] = "BUSINESS_DAY";
43
+ TimeDurationUnitEnum["Minute"] = "MINUTE";
44
+ TimeDurationUnitEnum["Second"] = "SECOND";
45
+ TimeDurationUnitEnum["Millisecond"] = "MILLISECOND";
46
+ })(TimeDurationUnitEnum || (TimeDurationUnitEnum = {}));
47
+ /**
48
+ * Used to indicate the fulfillment time for an in-store pickup order or for an order that will be shipped to the buyer.
49
+ */
50
+ const TimeDuration = z.object({
51
+ /**
52
+ * This enumeration value indicates the time unit used to specify the fulfillment time, such as HOUR.
53
+ */
54
+ unit: z.nativeEnum(TimeDurationUnitEnum),
55
+ /**
56
+ * The integer value in this field, along with the time unit in the unit field, will indicate how soon after an
57
+ * In-Store Pickup purchase can the buyer pick up the item at the designated store location. If the value of this
58
+ * field is 4, and the value of the unit field is HOUR, then the fulfillment time for the In-Store Pickup order is
59
+ * four hours, which means that the buyer will be able to pick up the item at the store four hours after the
60
+ * transaction took place.
61
+ */
62
+ value: z.number().int()
63
+ });
64
+ /**
65
+ * This type is used to set the available quantity of the inventory item at one or more warehouse locations.
66
+ */
67
+ export const AvailabilityDistribution = z.object({
68
+ /**
69
+ * Used to indicate the expected fulfillment time if the inventory item is shipped from the warehouse location identified in merchantLocationKey field.
70
+ * The fulfillment time is the estimated number of business days after purchase that the buyer can expect the item to be delivered.
71
+ */
72
+ fulfillmentTime: TimeDuration,
73
+ /**
74
+ * The unique identifier of an inventory location where quantity is available for the inventory item.
75
+ * The field is conditionally required to identify the inventory location that has quantity of the inventory item.
76
+ */
77
+ merchantLocationKey: z.string(),
78
+ /**
79
+ * Integer that indicates the quantity of the inventory item that is available at this inventory location.
80
+ * This field is conditionally required.
81
+ */
82
+ quantity: z.number().int()
83
+ });
84
+ /**
85
+ * Type used to specify the total ship-to-home quantity of the inventory item that will be available for purchase through one or more published offers.
86
+ */
87
+ export const ShipToLocationAvailability = z.object({
88
+ /**
89
+ * Used to set the available quantity of the inventory item at one or more warehouse locations.
90
+ * This container will be returned if available quantity is set for one or more inventory locations.
91
+ */
92
+ availabilityDistributions: z.array(AvailabilityDistribution),
93
+ /**
94
+ * This field is not immediately required but 'ship-to-home' quantity must be set before an offer can be published.
95
+ * If an existing inventory item is being updated, and the ship-to-home quantity already exists, this field should be included again.
96
+ * The availableQuantity field, if set in the offer, overrides this quantity field.
97
+ */
98
+ quantity: z.number().int()
99
+ });
100
+ /**
101
+ * Type used to specify the quantity of the inventory that is available for an In-Store Pickup order at the merchant's physical store (specified by merchantLocationKey field).
102
+ */
103
+ export const PickupAtLocationAvailability = z.object({
104
+ /**
105
+ * This field indicates the availability status of the inventory item at the merchant's physical store specified by the pickupAtLocationAvailability.merchantLocationKey field
106
+ * Required if pickupAtLocationAvailability container is used and is always returned with pickupAtLocationAvailability container.
107
+ */
108
+ availabilityType: z.nativeEnum(AvailabilityTypeEnum),
109
+ /**
110
+ * How soon an in-store pickup order will be available for pickup by the buyer after the order takes place.
111
+ * Required if pickupAtLocationAvailability is used.
112
+ */
113
+ fulfillmentTime: TimeDuration,
114
+ /**
115
+ * Unique identifier of a merchant's store where the in-store pickup inventory item is located or where it will be sent to.
116
+ * If merchant's store is waiting for inventory, the availabilityType value should be "SHIP_TO_STORE"
117
+ * Required if pickupAtLocationAvailability container is used.
118
+ * Use the getInventoryLocations call to retrieve merchant location keys.
119
+ * Max length: 36
120
+ */
121
+ merchantLocationKey: z.string().max(36).min(1),
122
+ /**
123
+ * This integer value indicates the quantity of the inventory item that is available for In-Store Pickup at the
124
+ * store identified by the merchantLocationKey value. The value of quantity should be an integer value greater than
125
+ * 0, unless the inventory item is out of stock. This field is required if the pickupAtLocationAvailability
126
+ * container is used, and is always returned with the pickupAtLocationAvailability container.
127
+ */
128
+ quantity: z.number().int().min(1)
129
+ });
130
+ /*
131
+ Types used by InventoryItem and InventoryItemWithSkuLocale
132
+ Calls that use Availability: /bulk_create_or_replace_inventory_item /inventory_item/{sku}
133
+ Source: https://developer.ebay.com/api-docs/sell/inventory/types/slr:Availability
134
+
135
+ */
136
+ export const Availability = z.object({
137
+ pickupAtLocationAvailability: z.array(PickupAtLocationAvailability),
138
+ shipToLocationAvailability: ShipToLocationAvailability
139
+ });
140
+ //# sourceMappingURL=Availability.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Availability.js","sourceRoot":"","sources":["../../../src/entities/ebay/Availability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;GAIG;AACH,MAAM,CAAN,IAAY,oBAqBX;AArBD,WAAY,oBAAoB;IAC/B;;;;;OAKG;IACH,4CAAoB,CAAA;IACpB;;;;OAIG;IACH,mDAA2B,CAAA;IAC3B;;;;;OAKG;IACH,qDAA6B,CAAA;AAC9B,CAAC,EArBW,oBAAoB,KAApB,oBAAoB,QAqB/B;AAED;;;;GAIG;AACH,MAAM,CAAN,IAAY,oBAUX;AAVD,WAAY,oBAAoB;IAC5B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,mCAAW,CAAA;IACX,qCAAa,CAAA;IACb,oDAA4B,CAAA;IAC5B,oDAA4B,CAAA;IAC5B,yCAAiB,CAAA;IACjB,yCAAiB,CAAA;IACjB,mDAA2B,CAAA;AAC/B,CAAC,EAVW,oBAAoB,KAApB,oBAAoB,QAU/B;AACD;;GAEG;AACH,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1B;;OAEA;IACD,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC;IACvC;;;;;;OAMA;IACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACzB,CAAC,CAAA;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C;;;OAGG;IACH,eAAe,EAAE,YAAY;IAE7B;;;OAGG;IACH,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAE/B;;;OAGG;IACH,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC7B,CAAC,CAAA;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C;;;OAGG;IACH,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC;IAC5D;;;;OAIG;IACH,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC7B,CAAC,CAAA;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD;;;OAGG;IACH,gBAAgB,EAAE,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC;IACpD;;;OAGG;IACH,eAAe,EAAE,YAAY;IAC7B;;;;;;OAMG;IACH,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9C;;;;;OAKA;IACA,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACpC,CAAC,CAAA;AAEF;;;;;EAKE;AACF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,4BAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC;IACnE,0BAA0B,EAAE,0BAA0B;CACzD,CAAC,CAAA"}
@@ -0,0 +1,41 @@
1
+ import { NonFunctionProperties } from "../../utils/typeHelpers.js";
2
+ /**
3
+ * An enum type that describes the category type (motor vehicles or non-motor vehicles).
4
+ */
5
+ export declare enum CategoryTypeEnum {
6
+ /** Category type name for motor vehicle listings. */
7
+ MotorsVehicles = "MOTORS_VEHICLES",
8
+ /** Category type name for all non-motor vehicle listings. */
9
+ AllExcludingMotorsVehicles = "ALL_EXCLUDING_MOTORS_VEHICLES"
10
+ }
11
+ /**
12
+ * The category type discerns whether the policy covers the sale of motor vehicles (via eBay Motors), or the sale of
13
+ * everything except motor vehicles. Each business policy can be associated with either or both categories
14
+ * ('MOTORS_VEHICLES' and 'ALL_EXCLUDING_MOTORS_VEHICLES'); however,the 'MOTORS_VEHICLES' category type is not valid for
15
+ * return policies–return policies cannot be used with motor vehicle listings.
16
+ */
17
+ export declare class CategoryType {
18
+ /**
19
+ * Specifies the default policy for a marketplaceId and categoryTypes.name pair. Sellers can create multiple
20
+ * policies for any marketplaceId and categoryTypes.name combination. For example, you can create multiple
21
+ * fulfillment policies for one marketplace, where they all target the same category type name. However, only one
22
+ * policy can be the default for any marketplaceId and name combination, and eBay designates the first policy
23
+ * created for a combination as the default. If set to true, this policy is the default policy for the associated
24
+ * categoryTypes.name and marketplaceId pair.
25
+ */
26
+ default: boolean;
27
+ /**
28
+ * The category type to which the policy applies (motor vehicles or non-motor vehicles).
29
+ *
30
+ * Restrictions:
31
+ *
32
+ * The MOTORS_VEHICLES category type is not valid for return policies. eBay flows do not support the return of
33
+ * motor vehicles.
34
+ *
35
+ * Only the ALL_EXCLUDING_MOTORS_VEHICLES category type is supported for sellers who opt-in to the managed
36
+ * payments program. Managed payments does not currently support the sale of motor vehicles.
37
+ */
38
+ name: CategoryTypeEnum;
39
+ constructor(init: NonFunctionProperties<CategoryType>);
40
+ }
41
+ //# sourceMappingURL=CategoryType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryType.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/CategoryType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAElE;;GAEG;AACH,oBAAY,gBAAgB;IAC3B,qDAAqD;IACrD,cAAc,oBAAoB;IAClC,6DAA6D;IAC7D,0BAA0B,kCAAkC;CAC5D;AAED;;;;;GAKG;AACH,qBAAa,YAAY;IACxB;;;;;;;OAOG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;;;;;;;;;OAUG;IACH,IAAI,EAAE,gBAAgB,CAAA;gBAEV,IAAI,EAAE,qBAAqB,CAAC,YAAY,CAAC;CAGrD"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * An enum type that describes the category type (motor vehicles or non-motor vehicles).
3
+ */
4
+ export var CategoryTypeEnum;
5
+ (function (CategoryTypeEnum) {
6
+ /** Category type name for motor vehicle listings. */
7
+ CategoryTypeEnum["MotorsVehicles"] = "MOTORS_VEHICLES";
8
+ /** Category type name for all non-motor vehicle listings. */
9
+ CategoryTypeEnum["AllExcludingMotorsVehicles"] = "ALL_EXCLUDING_MOTORS_VEHICLES";
10
+ })(CategoryTypeEnum || (CategoryTypeEnum = {}));
11
+ /**
12
+ * The category type discerns whether the policy covers the sale of motor vehicles (via eBay Motors), or the sale of
13
+ * everything except motor vehicles. Each business policy can be associated with either or both categories
14
+ * ('MOTORS_VEHICLES' and 'ALL_EXCLUDING_MOTORS_VEHICLES'); however,the 'MOTORS_VEHICLES' category type is not valid for
15
+ * return policies–return policies cannot be used with motor vehicle listings.
16
+ */
17
+ export class CategoryType {
18
+ constructor(init) {
19
+ Object.assign(this, init);
20
+ }
21
+ }
22
+ //# sourceMappingURL=CategoryType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryType.js","sourceRoot":"","sources":["../../../src/entities/ebay/CategoryType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC3B,qDAAqD;IACrD,sDAAkC,CAAA;IAClC,6DAA6D;IAC7D,gFAA4D,CAAA;AAC7D,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAED;;;;;GAKG;AACH,MAAM,OAAO,YAAY;IAuBxB,YAAY,IAAyC;QACpD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;IAC1B,CAAC;CACD"}