@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 { Interval } from "./Interval.js";
2
+ /**
3
+ * An enumerated type defining the days of the week. This type is used by the dayOfWeekEnum field under the
4
+ * operatingHours container to indicate which days a merchant's store is open to pick up In-Store Pickup or Click and
5
+ * Collect orders.
6
+ */
7
+ export declare enum DayOfWeekEnum {
8
+ Monday = "MONDAY",
9
+ Tuesday = "TUESDAY",
10
+ Wednesday = "WEDNESDAY",
11
+ Thursday = "THURSDAY",
12
+ Friday = "FRIDAY"
13
+ }
14
+ /**
15
+ * This type is used to express the regular operating hours of a merchant's store during the days of the week.
16
+ */
17
+ export interface OperatingHours {
18
+ /**
19
+ * A dayOfWeekEnum value is required for each day of the week that the store location has regular operating hours.
20
+ *
21
+ * This field is returned if operating hours are defined for the store location.
22
+ */
23
+ dayOfWeekEnum: DayOfWeekEnum;
24
+ /**
25
+ * This container is used to define the opening and closing times of a store's working day (defined in the
26
+ * dayOfWeekEnum field). An intervals container is needed for each day of the week that the store location is open.
27
+ * If a store location closes for lunch (or any other period during the day) and then reopens, multiple open and
28
+ * close pairs are needed
29
+ *
30
+ * This container is returned if operating hours are defined for the store location.
31
+ */
32
+ intervals: Interval[];
33
+ }
34
+ //# sourceMappingURL=OperatingHours.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperatingHours.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/OperatingHours.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC;;;;GAIG;AAEH,oBAAY,aAAa;IACxB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B;;;;OAIG;IACH,aAAa,EAAE,aAAa,CAAC;IAC7B;;;;;;;OAOG;IACH,SAAS,EAAE,QAAQ,EAAE,CAAC;CACtB"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * An enumerated type defining the days of the week. This type is used by the dayOfWeekEnum field under the
3
+ * operatingHours container to indicate which days a merchant's store is open to pick up In-Store Pickup or Click and
4
+ * Collect orders.
5
+ */
6
+ export var DayOfWeekEnum;
7
+ (function (DayOfWeekEnum) {
8
+ DayOfWeekEnum["Monday"] = "MONDAY";
9
+ DayOfWeekEnum["Tuesday"] = "TUESDAY";
10
+ DayOfWeekEnum["Wednesday"] = "WEDNESDAY";
11
+ DayOfWeekEnum["Thursday"] = "THURSDAY";
12
+ DayOfWeekEnum["Friday"] = "FRIDAY";
13
+ })(DayOfWeekEnum || (DayOfWeekEnum = {}));
14
+ //# sourceMappingURL=OperatingHours.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperatingHours.js","sourceRoot":"","sources":["../../../src/entities/ebay/OperatingHours.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACxB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AAClB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB"}
@@ -0,0 +1,132 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * This enumeration type is used to specify/indicate the unit of measurement with which the dimensions of the shipping
4
+ * package are being measured.
5
+ */
6
+ export declare enum EbayLengthUnitOfMeasureEnum {
7
+ /** This enumeration value indicates that the dimensions of the shipping package is being measured in inches. */
8
+ Inch = "INCH",
9
+ /** This enumeration value indicates that the dimensions of the shipping package is being measured in feet. */
10
+ Feet = "FEET",
11
+ /** This enumeration value indicates that the dimensions of the shipping package is being measured in centimeters.*/
12
+ Centimeter = "CENTIMETER",
13
+ /** This enumeration value indicates that the dimensions of the shipping package is being measured in meters. */
14
+ Meter = "METER"
15
+ }
16
+ /**
17
+ * Indicates that the unit of measurement used for measuring the weight of the shipping package.
18
+ */
19
+ export declare enum EbayWeightUnitOfMeasureEnum {
20
+ Pound = "POUND",
21
+ Kilogram = "KILOGRAM",
22
+ Ounce = "OUNCE",
23
+ Gram = "GRAM"
24
+ }
25
+ /**
26
+ * This enumeration value indicates the type of shipping package used to ship the inventory item.
27
+ * There are more than what's listed here.
28
+ * source: https://developer.ebay.com/api-docs/sell/inventory/types/slr:PackageTypeEnum
29
+ */
30
+ export declare enum EbayPackageTypeEnum {
31
+ /** This enumeration value indicates that the inventory item is considered a "bulky good". */
32
+ BulkyGoods = "BULKY_GOODS",
33
+ /** This enumeration value indicates that the shipping package is a letter. */
34
+ Letter = "LETTER",
35
+ /** This enumeration value indicates that the shipping package is a standard mailing box. */
36
+ MailingBox = "MAILING_BOX",
37
+ /** This enumeration value indicates that the shipping package is a pallet. */
38
+ Pallet = "ONE_WAY_PALLET",
39
+ /** This enumeration value indicates that the shipping package is a parcel or padded envelope. */
40
+ Parcel = "PARCEL_OR_PADDED_ENVELOPE",
41
+ /** This enumeration value indicates that the shipping package is a flat rate envelope. */
42
+ UspsFlatRateEnvelope = "USPS_FLAT_RATE_ENVELOPE"
43
+ }
44
+ /**
45
+ * Used to specifiy the weight and unit of a shipping package.
46
+ * Conditionally required if the seller will be offering calculated shipping rates to determine shipping
47
+ * cost, or is using flat-rate costs, but charging a weight surcharge.
48
+ */
49
+ export declare const Weight: z.ZodObject<{
50
+ unit: z.ZodNativeEnum<typeof EbayWeightUnitOfMeasureEnum>;
51
+ value: z.ZodNumber;
52
+ }, "strip", z.ZodTypeAny, {
53
+ unit?: EbayWeightUnitOfMeasureEnum;
54
+ value?: number;
55
+ }, {
56
+ unit?: EbayWeightUnitOfMeasureEnum;
57
+ value?: number;
58
+ }>;
59
+ export declare const PackageWeightAndSize: z.ZodObject<{
60
+ /**
61
+ * This container is used to indicate the length, width, and height of the shipping package that will be used to ship the inventory item.
62
+ * The dimensions of a shipping package are needed when calculated shipping is used.
63
+ */
64
+ dimensions: z.ZodObject<{
65
+ height: z.ZodNumber;
66
+ length: z.ZodNumber;
67
+ unit: z.ZodNativeEnum<typeof EbayLengthUnitOfMeasureEnum>;
68
+ width: z.ZodNumber;
69
+ }, "strip", z.ZodTypeAny, {
70
+ unit?: EbayLengthUnitOfMeasureEnum;
71
+ length?: number;
72
+ height?: number;
73
+ width?: number;
74
+ }, {
75
+ unit?: EbayLengthUnitOfMeasureEnum;
76
+ length?: number;
77
+ height?: number;
78
+ width?: number;
79
+ }>;
80
+ /**
81
+ * This enumeration value indicates the type of shipping package used to ship the inventory item
82
+ */
83
+ packageType: z.ZodNativeEnum<typeof EbayPackageTypeEnum>;
84
+ /**
85
+ * A value of true indicates that the package is irregular and cannot go through the stamping machine at the shipping service office.
86
+ * This field applies to calculated shipping only.
87
+ * Irregular packages require special or fragile handling.
88
+ */
89
+ shippingIrregular: z.ZodBoolean;
90
+ /**
91
+ * This container is used to specify the weight of the shipping package that will be used to ship the inventory item.
92
+ * The weight of a shipping package are needed when calculated shipping is used, or if flat-rate shipping rates are used, but with a weight surcharge.
93
+ */
94
+ weight: z.ZodObject<{
95
+ unit: z.ZodNativeEnum<typeof EbayWeightUnitOfMeasureEnum>;
96
+ value: z.ZodNumber;
97
+ }, "strip", z.ZodTypeAny, {
98
+ unit?: EbayWeightUnitOfMeasureEnum;
99
+ value?: number;
100
+ }, {
101
+ unit?: EbayWeightUnitOfMeasureEnum;
102
+ value?: number;
103
+ }>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ dimensions?: {
106
+ unit?: EbayLengthUnitOfMeasureEnum;
107
+ length?: number;
108
+ height?: number;
109
+ width?: number;
110
+ };
111
+ packageType?: EbayPackageTypeEnum;
112
+ shippingIrregular?: boolean;
113
+ weight?: {
114
+ unit?: EbayWeightUnitOfMeasureEnum;
115
+ value?: number;
116
+ };
117
+ }, {
118
+ dimensions?: {
119
+ unit?: EbayLengthUnitOfMeasureEnum;
120
+ length?: number;
121
+ height?: number;
122
+ width?: number;
123
+ };
124
+ packageType?: EbayPackageTypeEnum;
125
+ shippingIrregular?: boolean;
126
+ weight?: {
127
+ unit?: EbayWeightUnitOfMeasureEnum;
128
+ value?: number;
129
+ };
130
+ }>;
131
+ export type PackageWeightAndSize = z.infer<typeof PackageWeightAndSize>;
132
+ //# sourceMappingURL=PackageWeightAndSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PackageWeightAndSize.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/PackageWeightAndSize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,oBAAY,2BAA2B;IACnC,gHAAgH;IAChH,IAAI,SAAS;IACb,8GAA8G;IAC9G,IAAI,SAAS;IACb,oHAAoH;IACpH,UAAU,eAAe;IACzB,gHAAgH;IAChH,KAAK,UAAU;CAClB;AAED;;GAEG;AACH,oBAAY,2BAA2B;IACnC,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;CAChB;AAED;;;;GAIG;AAEH,oBAAY,mBAAmB;IAC3B,6FAA6F;IAC7F,UAAU,gBAAgB;IAC1B,8EAA8E;IAC9E,MAAM,WAAW;IACjB,4FAA4F;IAC5F,UAAU,gBAAgB;IAC1B,8EAA8E;IAC9E,MAAM,mBAAmB;IACzB,iGAAiG;IACjG,MAAM,8BAA8B;IACpC,0FAA0F;IAC1F,oBAAoB,4BAA4B;CACnD;AAeD;;;;GAIG;AACH,eAAO,MAAM,MAAM;;;;;;;;;EAGjB,CAAA;AAEF,eAAO,MAAM,oBAAoB;IAC7B;;;OAGG;;;;;;;;;;;;;;;;;IAGH;;OAEG;;IAEH;;;;OAIG;;IAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIL,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -0,0 +1,90 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * This enumeration type is used to specify/indicate the unit of measurement with which the dimensions of the shipping
4
+ * package are being measured.
5
+ */
6
+ export var EbayLengthUnitOfMeasureEnum;
7
+ (function (EbayLengthUnitOfMeasureEnum) {
8
+ /** This enumeration value indicates that the dimensions of the shipping package is being measured in inches. */
9
+ EbayLengthUnitOfMeasureEnum["Inch"] = "INCH";
10
+ /** This enumeration value indicates that the dimensions of the shipping package is being measured in feet. */
11
+ EbayLengthUnitOfMeasureEnum["Feet"] = "FEET";
12
+ /** This enumeration value indicates that the dimensions of the shipping package is being measured in centimeters.*/
13
+ EbayLengthUnitOfMeasureEnum["Centimeter"] = "CENTIMETER";
14
+ /** This enumeration value indicates that the dimensions of the shipping package is being measured in meters. */
15
+ EbayLengthUnitOfMeasureEnum["Meter"] = "METER";
16
+ })(EbayLengthUnitOfMeasureEnum || (EbayLengthUnitOfMeasureEnum = {}));
17
+ /**
18
+ * Indicates that the unit of measurement used for measuring the weight of the shipping package.
19
+ */
20
+ export var EbayWeightUnitOfMeasureEnum;
21
+ (function (EbayWeightUnitOfMeasureEnum) {
22
+ EbayWeightUnitOfMeasureEnum["Pound"] = "POUND";
23
+ EbayWeightUnitOfMeasureEnum["Kilogram"] = "KILOGRAM";
24
+ EbayWeightUnitOfMeasureEnum["Ounce"] = "OUNCE";
25
+ EbayWeightUnitOfMeasureEnum["Gram"] = "GRAM";
26
+ })(EbayWeightUnitOfMeasureEnum || (EbayWeightUnitOfMeasureEnum = {}));
27
+ /**
28
+ * This enumeration value indicates the type of shipping package used to ship the inventory item.
29
+ * There are more than what's listed here.
30
+ * source: https://developer.ebay.com/api-docs/sell/inventory/types/slr:PackageTypeEnum
31
+ */
32
+ export var EbayPackageTypeEnum;
33
+ (function (EbayPackageTypeEnum) {
34
+ /** This enumeration value indicates that the inventory item is considered a "bulky good". */
35
+ EbayPackageTypeEnum["BulkyGoods"] = "BULKY_GOODS";
36
+ /** This enumeration value indicates that the shipping package is a letter. */
37
+ EbayPackageTypeEnum["Letter"] = "LETTER";
38
+ /** This enumeration value indicates that the shipping package is a standard mailing box. */
39
+ EbayPackageTypeEnum["MailingBox"] = "MAILING_BOX";
40
+ /** This enumeration value indicates that the shipping package is a pallet. */
41
+ EbayPackageTypeEnum["Pallet"] = "ONE_WAY_PALLET";
42
+ /** This enumeration value indicates that the shipping package is a parcel or padded envelope. */
43
+ EbayPackageTypeEnum["Parcel"] = "PARCEL_OR_PADDED_ENVELOPE";
44
+ /** This enumeration value indicates that the shipping package is a flat rate envelope. */
45
+ EbayPackageTypeEnum["UspsFlatRateEnvelope"] = "USPS_FLAT_RATE_ENVELOPE";
46
+ })(EbayPackageTypeEnum || (EbayPackageTypeEnum = {}));
47
+ /**
48
+ * This type is used to specify the dimensions (and the unit used to measure those dimensions) of a shipping package.
49
+ * The dimensions container is conditionally required if the seller will be offering calculated shipping rates to
50
+ * determine shipping cost. See the Calculated shipping help page for more information on calculated shipping.
51
+ * Conditional: Required if the seller will be offering calculated shipping rates to determine shipping cost.
52
+ */
53
+ const Dimension = z.object({
54
+ height: z.number(),
55
+ length: z.number(),
56
+ unit: z.nativeEnum(EbayLengthUnitOfMeasureEnum),
57
+ width: z.number()
58
+ });
59
+ /**
60
+ * Used to specifiy the weight and unit of a shipping package.
61
+ * Conditionally required if the seller will be offering calculated shipping rates to determine shipping
62
+ * cost, or is using flat-rate costs, but charging a weight surcharge.
63
+ */
64
+ export const Weight = z.object({
65
+ unit: z.nativeEnum(EbayWeightUnitOfMeasureEnum),
66
+ value: z.number()
67
+ });
68
+ export const PackageWeightAndSize = z.object({
69
+ /**
70
+ * This container is used to indicate the length, width, and height of the shipping package that will be used to ship the inventory item.
71
+ * The dimensions of a shipping package are needed when calculated shipping is used.
72
+ */
73
+ dimensions: Dimension,
74
+ /**
75
+ * This enumeration value indicates the type of shipping package used to ship the inventory item
76
+ */
77
+ packageType: z.nativeEnum(EbayPackageTypeEnum),
78
+ /**
79
+ * A value of true indicates that the package is irregular and cannot go through the stamping machine at the shipping service office.
80
+ * This field applies to calculated shipping only.
81
+ * Irregular packages require special or fragile handling.
82
+ */
83
+ shippingIrregular: z.boolean(),
84
+ /**
85
+ * This container is used to specify the weight of the shipping package that will be used to ship the inventory item.
86
+ * The weight of a shipping package are needed when calculated shipping is used, or if flat-rate shipping rates are used, but with a weight surcharge.
87
+ */
88
+ weight: Weight
89
+ });
90
+ //# sourceMappingURL=PackageWeightAndSize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PackageWeightAndSize.js","sourceRoot":"","sources":["../../../src/entities/ebay/PackageWeightAndSize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,MAAM,CAAN,IAAY,2BASX;AATD,WAAY,2BAA2B;IACnC,gHAAgH;IAChH,4CAAa,CAAA;IACb,8GAA8G;IAC9G,4CAAa,CAAA;IACb,oHAAoH;IACpH,wDAAyB,CAAA;IACzB,gHAAgH;IAChH,8CAAe,CAAA;AACnB,CAAC,EATW,2BAA2B,KAA3B,2BAA2B,QAStC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACnC,8CAAe,CAAA;IACf,oDAAqB,CAAA;IACrB,8CAAe,CAAA;IACf,4CAAa,CAAA;AACjB,CAAC,EALW,2BAA2B,KAA3B,2BAA2B,QAKtC;AAED;;;;GAIG;AAEH,MAAM,CAAN,IAAY,mBAaX;AAbD,WAAY,mBAAmB;IAC3B,6FAA6F;IAC7F,iDAA0B,CAAA;IAC1B,8EAA8E;IAC9E,wCAAiB,CAAA;IACjB,4FAA4F;IAC5F,iDAA0B,CAAA;IAC1B,8EAA8E;IAC9E,gDAAyB,CAAA;IACzB,iGAAiG;IACjG,2DAAoC,CAAA;IACpC,0FAA0F;IAC1F,uEAAgD,CAAA;AACpD,CAAC,EAbW,mBAAmB,KAAnB,mBAAmB,QAa9B;AAED;;;;;GAKG;AACH,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IACvB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAC/C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAC/C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC;;;OAGG;IACH,UAAU,EAAE,SAAS;IAErB;;OAEG;IACH,WAAW,EAAE,CAAC,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAC9C;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAE9B;;;OAGG;IACH,MAAM,EAAE,MAAM;CAGjB,CAAC,CAAA"}
@@ -0,0 +1,55 @@
1
+ import { CategoryType } from "./CategoryType.js";
2
+ import { MarketplaceEnum } from "./MarketplaceEnum.js";
3
+ /**
4
+ * Root container that defines the fields for a seller's payment policy. The paymentPolicy encapsulates a seller's
5
+ * payment terms and consists of payment details for the seller, the name and description of the policy, and the
6
+ * marketplace and category group(s) covered by the payment policy. While each seller must define at least one payment
7
+ * policy for every marketplace into which they sell, sellers can define multiple payment policies for a single
8
+ * marketplace by specifying different configurations for the unique policies.
9
+ */
10
+ export interface PaymentPolicy {
11
+ /**
12
+ * The CategoryTypeEnum value to which this policy applies. Used to discern accounts that sell motor vehicles from
13
+ * those that don't. (Currently, each policy can be set to only one categoryTypes value at a time.)
14
+ */
15
+ categoryTypes: CategoryType[];
16
+ /**
17
+ * An optional seller-defined description of the payment policy for internal use (this value is not displayed to end
18
+ * users).
19
+ *
20
+ * Max length: 250
21
+ */
22
+ description: string;
23
+ /**
24
+ * The ID of the eBay marketplace to which the payment policy applies. If this value is not specified, value
25
+ * defaults to the seller's eBay registration site.
26
+ */
27
+ marketplaceId: MarketplaceEnum;
28
+ /**
29
+ * A user-defined name for this payment policy. Names must be unique for policies assigned to the same marketplace.
30
+ *
31
+ * Max length: 64
32
+ */
33
+ name: string;
34
+ /**
35
+ * This free-form string field gives sellers the ability add detailed payment instructions to their listings. The
36
+ * payment instructions appear on eBay's View Item and Checkout pages.
37
+ *
38
+ * eBay recommends sellers use this field to clarify payment policies for motor vehicle listings on eBay Motors. For
39
+ * example, sellers can include the specifics on the deposit (if required), pickup/delivery arrangements, and full
40
+ * payment details on the vehicle.
41
+ *
42
+ * The field allows only 500 characters as input, but due to the way the eBay web site UI treats characters, this
43
+ * field can return more than 500 characters in the response. For example, characters like & and ' (ampersand and
44
+ * single quote) count as 5 characters each.
45
+ */
46
+ paymentInstructions: string;
47
+ /** A unique eBay-assigned ID for a payment policy. This ID is generated when the policy is created. */
48
+ paymentPolicyId: string;
49
+ }
50
+ export interface PaymentPolicyResponse {
51
+ href: string;
52
+ paymentPolicies: PaymentPolicy[];
53
+ total: number;
54
+ }
55
+ //# sourceMappingURL=PaymentPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentPolicy.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/PaymentPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAItD;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC7B;;;OAGG;IACH,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,aAAa,EAAE,eAAe,CAAA;IAC9B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;;;;;OAWG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B,uGAAuG;IACvG,eAAe,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,qBAAqB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,aAAa,EAAE,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PaymentPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentPolicy.js","sourceRoot":"","sources":["../../../src/entities/ebay/PaymentPolicy.ts"],"names":[],"mappings":""}
@@ -0,0 +1,80 @@
1
+ import { Amount } from "./Amount.js";
2
+ import { ValidationResult } from "./validation.js";
3
+ /**
4
+ * This enumeration type is used to indicate if the product was sold for the price in the originalRetailPrice field on
5
+ * an eBay site, or sold for that price by a third-party retailer. This type is only applicable if the seller and
6
+ * listing are eligible to use the Strikethrough Pricing feature, a feature which is limited to the US (core site and
7
+ * Motors), UK, Germany, Canada (English and French versions), France, Italy, and Spain.
8
+ */
9
+ declare enum SoldOnEnum {
10
+ OnEbay = "ON_EBAY",
11
+ OffEbay = "OFF_EBAY",
12
+ OnAndOffEbay = "ON_AND_OFF_EBAY"
13
+ }
14
+ /**
15
+ * This type is used to control how/when the Minimum Advertised Price is shown for an offer. The Minimum Advertised
16
+ * Price (MAP) feature is only available on the US site.
17
+ */
18
+ declare enum MinimumAdvertisedPriceHandlingEnum {
19
+ None = "NONE",
20
+ PreCheckout = "PRE_CHECKOUT",
21
+ DuringCheckout = "DURING_CHECKOUT"
22
+ }
23
+ /**
24
+ * This type is used to specify the listing price for the product and settings for the Minimum Advertised Price and
25
+ * Strikethrough Pricing features. The price field must be supplied before an offer is published, but a seller may
26
+ * create an offer without supplying a price initially. The Minimum Advertised Price feature is only available on the US
27
+ * site. Strikethrough Pricing is available on the US, eBay Motors, UK, Germany, Canada (English and French), France,
28
+ * Italy, and Spain sites.
29
+ */
30
+ export interface PricingSummary {
31
+ /**
32
+ * This container is needed if the Minimum Advertised Price (MAP) feature will be used in the offer. Minimum
33
+ * Advertised Price (MAP) is an agreement between suppliers (or manufacturers (OEM)) and the retailers (sellers)
34
+ * stipulating the lowest price an item is allowed to be advertised at. Sellers can only offer prices below this
35
+ * price through the use of other discounts. The MAP feature is only available to eligible US sellers. This field
36
+ * will be ignored if the seller and or the listing is not eligible for the MAP feature.
37
+ */
38
+ minimumAdvertisedPrice?: Amount;
39
+ /**
40
+ * This field is needed if the Strikethrough Pricing (STP) feature will be used in the offer. This field indicates
41
+ * that the product was sold for the price in the originalRetailPrice field on an eBay site, or sold for that price
42
+ * by a third-party retailer. When using the createOffer or updateOffer calls, the seller will pass in a value of
43
+ * ON_EBAY to indicate that the product was sold for the originalRetailPrice on an eBay site, or the seller will
44
+ * pass in a value of OFF_EBAY to indicate that the product was sold for the originalRetailPrice through a
45
+ * third-party retailer. This field and the originalRetailPrice field are only applicable if the seller and listing
46
+ * are eligible to use the Strikethrough Pricing feature, a feature which is limited to the US (core site and
47
+ * Motors), UK, Germany, Canada (English and French versions), France, Italy, and Spain sites.
48
+ */
49
+ originallySoldForRetailPrice?: SoldOnEnum;
50
+ /**
51
+ * This container is needed if the Strikethrough Pricing (STP) feature will be used in the offer. The dollar value
52
+ * passed into this field indicates the original retail price set by the manufacturer (OEM). eBay does not maintain
53
+ * or validate the value supplied here by the seller. The dollar value in this field should always be more than the
54
+ * dollar value in the price container. This field and the originallySoldForRetailPriceOn field are only applicable
55
+ * if the seller and listing are eligible to use the Strikethrough Pricing feature, a feature which is limited to
56
+ * the US (core site and Motors), UK, Germany, Canada (English and French versions), France, Italy, and Spain sites.
57
+ * Compare the originalRetailPrice and the dollar value in the price field to determine the amount of savings to the
58
+ * buyer. This Original Retail Price will have a strikethrough line through for a marketing affect.
59
+ */
60
+ originalRetailPrice?: Amount;
61
+ /**
62
+ * This is the listing price of the product. A listing price must be specified before publishing an offer, but it is
63
+ * possible to create an offer without a price.
64
+ */
65
+ price: Amount;
66
+ /**
67
+ * This field is needed if the Minimum Advertised Price (MAP) feature will be used in the offer. This field is only
68
+ * applicable if an eligible US seller is using the Minimum Advertised Price (MAP) feature and a
69
+ * minimumAdvertisedPrice has been specified. The value set in this field will determine whether the MAP price is
70
+ * shown to a prospective buyer prior to checkout through a pop-up window accessed from the View Item page, or if
71
+ * the MAP price is not shown until the checkout flow after the buyer has already committed to buying the item. To
72
+ * show the MAP price prior to checkout, the seller will set this value to PRE_CHECKOUT. To show the MAP price after
73
+ * the buyer already commits to buy the item, the seller will set this value to DURING_CHECKOUT. This field will be
74
+ * ignored if the seller and/or the listing is not eligible for the MAP feature.
75
+ */
76
+ pricingVisibility?: MinimumAdvertisedPriceHandlingEnum;
77
+ }
78
+ export declare const validatePricingSummary: (pricingSummary: unknown) => ValidationResult<PricingSummary>;
79
+ export {};
80
+ //# sourceMappingURL=PricingSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PricingSummary.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/PricingSummary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,aAAa,CAAA;AACtD,OAAO,EAAY,gBAAgB,EAAoD,MAAM,iBAAiB,CAAA;AAE9G;;;;;GAKG;AACH,aAAK,UAAU;IACd,MAAM,YAAY;IAClB,OAAO,aAAa;IACpB,YAAY,oBAAoB;CAChC;AAED;;;GAGG;AACH,aAAK,kCAAkC;IACtC,IAAI,SAAS;IACb,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;CAClC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC9B;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B;;;;;;;;;OASG;IACH,4BAA4B,CAAC,EAAE,UAAU,CAAA;IACzC;;;;;;;;;OASG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;;;;OASG;IACH,iBAAiB,CAAC,EAAE,kCAAkC,CAAA;CACtD;AA8CD,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,OAAO,KAAG,gBAAgB,CAAC,cAAc,CAuB/F,CAAA"}
@@ -0,0 +1,80 @@
1
+ import { CurrencyCodeEnum } from "./Amount.js";
2
+ import { isObject, validateEnum, validateString } from "./validation.js";
3
+ /**
4
+ * This enumeration type is used to indicate if the product was sold for the price in the originalRetailPrice field on
5
+ * an eBay site, or sold for that price by a third-party retailer. This type is only applicable if the seller and
6
+ * listing are eligible to use the Strikethrough Pricing feature, a feature which is limited to the US (core site and
7
+ * Motors), UK, Germany, Canada (English and French versions), France, Italy, and Spain.
8
+ */
9
+ var SoldOnEnum;
10
+ (function (SoldOnEnum) {
11
+ SoldOnEnum["OnEbay"] = "ON_EBAY";
12
+ SoldOnEnum["OffEbay"] = "OFF_EBAY";
13
+ SoldOnEnum["OnAndOffEbay"] = "ON_AND_OFF_EBAY";
14
+ })(SoldOnEnum || (SoldOnEnum = {}));
15
+ /**
16
+ * This type is used to control how/when the Minimum Advertised Price is shown for an offer. The Minimum Advertised
17
+ * Price (MAP) feature is only available on the US site.
18
+ */
19
+ var MinimumAdvertisedPriceHandlingEnum;
20
+ (function (MinimumAdvertisedPriceHandlingEnum) {
21
+ MinimumAdvertisedPriceHandlingEnum["None"] = "NONE";
22
+ MinimumAdvertisedPriceHandlingEnum["PreCheckout"] = "PRE_CHECKOUT";
23
+ MinimumAdvertisedPriceHandlingEnum["DuringCheckout"] = "DURING_CHECKOUT";
24
+ })(MinimumAdvertisedPriceHandlingEnum || (MinimumAdvertisedPriceHandlingEnum = {}));
25
+ // Helper function to validate Amount objects
26
+ const validateAmount = (amount, fieldName, required = false) => {
27
+ const errors = [];
28
+ if (!required && (amount === undefined || amount === null)) {
29
+ return [];
30
+ }
31
+ if (!isObject(amount)) {
32
+ errors.push({
33
+ type: 'validation_error',
34
+ field: fieldName,
35
+ message: `${fieldName} must be an object`,
36
+ value: amount,
37
+ code: 'INVALID_TYPE'
38
+ });
39
+ return errors;
40
+ }
41
+ const amountObj = amount;
42
+ // Validate currency field
43
+ errors.push(...validateEnum(`${fieldName}.currency`, amountObj.currency, CurrencyCodeEnum, { required: true }));
44
+ // Validate value field (should be a numeric string)
45
+ errors.push(...validateString(`${fieldName}.value`, amountObj.value, { required: true }));
46
+ // Additional validation: ensure value is numeric
47
+ if (typeof amountObj.value === 'string' && amountObj.value !== '') {
48
+ const numericValue = parseFloat(amountObj.value);
49
+ if (isNaN(numericValue) || numericValue < 0) {
50
+ errors.push({
51
+ type: 'validation_error',
52
+ field: `${fieldName}.value`,
53
+ message: `${fieldName}.value must be a valid positive number`,
54
+ value: amountObj.value,
55
+ code: 'INVALID_FORMAT'
56
+ });
57
+ }
58
+ }
59
+ return errors;
60
+ };
61
+ export const validatePricingSummary = (pricingSummary) => {
62
+ const errors = [];
63
+ if (!isObject(pricingSummary)) {
64
+ errors.push({
65
+ type: 'validation_error',
66
+ field: 'pricingSummary',
67
+ message: 'pricingSummary must be an object',
68
+ value: pricingSummary,
69
+ code: 'INVALID_TYPE'
70
+ });
71
+ return { success: false, errors };
72
+ }
73
+ // Validate required price field
74
+ errors.push(...validateAmount(pricingSummary.price, 'price', true));
75
+ if (errors.length > 0) {
76
+ return { success: false, errors };
77
+ }
78
+ return { success: true, data: pricingSummary };
79
+ };
80
+ //# sourceMappingURL=PricingSummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PricingSummary.js","sourceRoot":"","sources":["../../../src/entities/ebay/PricingSummary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAwC,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAE9G;;;;;GAKG;AACH,IAAK,UAIJ;AAJD,WAAK,UAAU;IACd,gCAAkB,CAAA;IAClB,kCAAoB,CAAA;IACpB,8CAAgC,CAAA;AACjC,CAAC,EAJI,UAAU,KAAV,UAAU,QAId;AAED;;;GAGG;AACH,IAAK,kCAIJ;AAJD,WAAK,kCAAkC;IACtC,mDAAa,CAAA;IACb,kEAA4B,CAAA;IAC5B,wEAAkC,CAAA;AACnC,CAAC,EAJI,kCAAkC,KAAlC,kCAAkC,QAItC;AA0DD,6CAA6C;AAC7C,MAAM,cAAc,GAAG,CAAC,MAAe,EAAE,SAAiB,EAAE,WAAoB,KAAK,EAAwB,EAAE;IAC9G,MAAM,MAAM,GAAyB,EAAE,CAAA;IAEvC,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,CAAC,EAAE,CAAC;QAC5D,OAAO,EAAE,CAAA;IACV,CAAC;IAED,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACvB,MAAM,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE,GAAG,SAAS,oBAAoB;YACzC,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,cAAc;SACpB,CAAC,CAAA;QACF,OAAO,MAAM,CAAA;IACd,CAAC;IAED,MAAM,SAAS,GAAG,MAAa,CAAA;IAE/B,0BAA0B;IAC1B,MAAM,CAAC,IAAI,CAAC,GAAG,YAAY,CAAC,GAAG,SAAS,WAAW,EAAE,SAAS,CAAC,QAAQ,EAAE,gBAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;IAE/G,oDAAoD;IACpD,MAAM,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,GAAG,SAAS,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;IAEzF,iDAAiD;IACjD,IAAI,OAAO,SAAS,CAAC,KAAK,KAAK,QAAQ,IAAI,SAAS,CAAC,KAAK,KAAK,EAAE,EAAE,CAAC;QACnE,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;QAChD,IAAI,KAAK,CAAC,YAAY,CAAC,IAAI,YAAY,GAAG,CAAC,EAAE,CAAC;YAC7C,MAAM,CAAC,IAAI,CAAC;gBACX,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,GAAG,SAAS,QAAQ;gBAC3B,OAAO,EAAE,GAAG,SAAS,wCAAwC;gBAC7D,KAAK,EAAE,SAAS,CAAC,KAAK;gBACtB,IAAI,EAAE,gBAAgB;aACtB,CAAC,CAAA;QACH,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAA;AACd,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,cAAuB,EAAoC,EAAE;IACnG,MAAM,MAAM,GAAyB,EAAE,CAAA;IAEvC,IAAI,CAAC,QAAQ,CAAiB,cAAc,CAAC,EAAE,CAAC;QAC/C,MAAM,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,gBAAgB;YACvB,OAAO,EAAE,kCAAkC;YAC3C,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,cAAc;SACpB,CAAC,CAAA;QACF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA;IAClC,CAAC;IAED,gCAAgC;IAChC,MAAM,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAA;IAGnE,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA;IAClC,CAAC;IAED,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,cAAgC,EAAE,CAAA;AACjE,CAAC,CAAA"}
@@ -0,0 +1,119 @@
1
+ import { ValidationResult } from "./validation.js";
2
+ export type Aspects = {
3
+ "Brand": string[];
4
+ "Manufacturer Part Number"?: string[];
5
+ "OE/OEM Part Number"?: string[];
6
+ };
7
+ /**
8
+ * This type is used to define the product details, such as a title, a product description, product aspects/item
9
+ * specifics, and links to images for the product. Optionally, in a createOrReplaceInventoryItem call, a seller can pass
10
+ * in an eBay Product Identifier (ePID) or a Global Trade Item Number (GTIN) value, such as an EAN, an ISBN, a UPC, to
11
+ * identify a product to be matched with a product in the eBay Catalog. The information in this type is also returned in
12
+ * the getInventoryItem, getInventoryItems, and bulkGetInventoryItem calls if defined.
13
+ *
14
+ * https://developer.ebay.com/api-docs/sell/inventory/types/slr:Product
15
+ */
16
+ export interface Product {
17
+ /**
18
+ * This is a collection of item specifics (aka product aspects) name-value pairs that provide more information about the product and might make it easier for buyers to find.
19
+ * To view required/recommended product aspects/item specifics names (and corresponding values) for a specific eBay category,
20
+ * sellers can use the getItemAspectsForCategory method of the Taxonomy API.
21
+ *
22
+ * Occurrence: Required for offer
23
+ */
24
+ aspects: Aspects;
25
+ /**
26
+ * The brand of the product. This field is often paired with the mpn field to identify a specific product by
27
+ * Manufacture Part Number. This field is conditionally required if the eBay category requires a Manufacturer Part
28
+ * Number (MPN) value. If eBay is able to find a product match in the eBay Catalog when an eBay Product ID (ePID) or
29
+ * GTIN value (UPC, ISBN, or EAN) is supplied, all product details of that eBay Catalog product is picked up by the
30
+ * inventory item record (including brand) if the createOrUpdateInventoryItem call is successful.
31
+ */
32
+ brand?: string;
33
+ /**
34
+ * The description of the product. The description of an existing inventory item can be added or modified with a
35
+ * createOrReplaceInventoryItem call. The description of an inventory item is automatically populated if the seller
36
+ * specifies an eBay Product ID (ePID) or a Global Trade Item Number (GTIN) and eBay is able to find a matching
37
+ * product in the eBay Catalog.
38
+ *
39
+ * Note that this field is optional but recommended. If a listingDescription field is omitted when creating and
40
+ * publishing a single-variation offer, the text in this field will be used instead. If neither the
41
+ * product.description field for the inventory item nor the listingDescription field for the offer exist, the
42
+ * publishOffer call will fail. If the inventory item will be part of an inventory item group/multiple-variation
43
+ * listing, this field should definitely be used to specify how the corresponding product variation is different
44
+ * (e.g. This is the green, extra-large version of the shirt). However, in the case of an inventory item group, the
45
+ * text in the description field of the inventory item group will become the listing description of the actual eBay
46
+ * listing instead of the text in this field.
47
+ *
48
+ * Min Length: 1, Max Length: 4000
49
+ */
50
+ description: string;
51
+ ean?: string[];
52
+ epid?: string;
53
+ /**
54
+ * An array of one or more links to images for the product. URLs must use the "HTTPS" protocol. Images can be
55
+ * self-hosted by the seller, or sellers can use the UploadSiteHostedPictures call of the Trading API to upload
56
+ * images to an eBay Picture Server. If successful, the response of the UploadSiteHostedPictures call will contain a
57
+ * full URL to the image on an eBay Picture Server. This is the URL that will be passed in through the imageUrls
58
+ * array. Before an offer can be published, at least one image must exist for the inventory item. Most eBay sites
59
+ * support up to 12 pictures free of charge, and eBay Motors listings can have up to 24 pictures.
60
+ */
61
+ imageUrls?: string[];
62
+ isbn?: string[];
63
+ /**
64
+ * The Manufacturer Part Number (MPN) of a product. This field is paired with the brand field to identify a product.
65
+ * Some eBay categories require MPN values. The GetCategorySpecifics call of the Trading API can be used to see if a
66
+ * category requires an MPN. The MPN value for a product may automatically be populated for an inventory item if the
67
+ * seller specifies an eBay Product ID (ePID) or a Global Trade Item Number (GTIN) and eBay is able to find a
68
+ * matching product in the eBay Catalog.
69
+ */
70
+ mpn?: string;
71
+ /**
72
+ * A subtitle is an optional listing feature that allows the seller to provide more information about the product,
73
+ * possibly including keywords that may assist with search results. An additional listing fee will be charged to the
74
+ * seller if a subtitle is used. For more information on using listing subtitles on the US site, see the Adding a
75
+ * subtitle to your listings help page. The subtitle of an existing inventory item can added, modified, or removed
76
+ * with a createOrReplaceInventoryItem call.
77
+ *
78
+ * Note that the same subtitle text should be used for each inventory item that will be part of an inventory item
79
+ * group, and ultimately become one product variation within a multiple-variation listing.
80
+ *
81
+ * This field will only be returned if set for an inventory item.
82
+ *
83
+ * Max Length: 55
84
+ */
85
+ subtitle?: string;
86
+ /**
87
+ * The title of an inventory item can be added or modified with a createOrReplaceInventoryItem call. Although not
88
+ * immediately required, a title will be needed before an offer with the inventory item is published. The title of
89
+ * an inventory item is automatically populated if the seller specifies an eBay Product ID (ePID) or a Global Trade
90
+ * Item Number (GTIN) and eBay is able to find a matching product in the eBay Catalog. If the inventory item will
91
+ * become part of a single-variation offer, and the listing is not a product-based listing, the text in this field
92
+ * will become the actual listing title for the published offer. However, if the inventory item will become part of
93
+ * a multiple-variation offer, the text in title field of the inventory item group entity will actually become the
94
+ * listing title for the published offer instead, although a title can still be provided for the inventory item, and
95
+ * it will actually become the title of the variation.
96
+ *
97
+ * This field will always be returned for an inventory item that is part of a published offer since a published
98
+ * offer will always have a listing title, but this field will only be returned if defined for inventory items that
99
+ * are not a part of a published offer.
100
+ *
101
+ * Max Length: 80
102
+ */
103
+ title: string;
104
+ /**
105
+ * The Universal Product Code (UPC) value for the product. Although an ePID value is preferred when trying to find a
106
+ * product match in the eBay Catalog, this field can also be used in an attempt to find a product match in the eBay
107
+ * Catalog. If a product match is found in the eBay Catalog, the inventory item is automatically populated with
108
+ * available product details such as a title, a product description, product aspects (including the specified UPC
109
+ * value), and a link to any stock image that exists for the catalog product.
110
+ *
111
+ * This field is returned if defined for an inventory item. If a UPC was passed in as an item specific name-value
112
+ * pair through the aspects array in a createOrReplaceInventoryItem call, this value is also picked up by the upc
113
+ * field.
114
+ */
115
+ upc?: string[];
116
+ }
117
+ export declare function validateProduct(product: unknown): ValidationResult<Product>;
118
+ export declare const validate: (product: unknown) => any;
119
+ //# sourceMappingURL=Product.d.ts.map