@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.
- package/Readme.md +110 -0
- package/lib/adapters/AdapterResult.d.ts +84 -0
- package/lib/adapters/AdapterResult.d.ts.map +1 -0
- package/lib/adapters/AdapterResult.js +117 -0
- package/lib/adapters/AdapterResult.js.map +1 -0
- package/lib/adapters/AdapterToUseCaseConverter.d.ts +77 -0
- package/lib/adapters/AdapterToUseCaseConverter.d.ts.map +1 -0
- package/lib/adapters/AdapterToUseCaseConverter.js +223 -0
- package/lib/adapters/AdapterToUseCaseConverter.js.map +1 -0
- package/lib/adapters/AuthServerRepo.d.ts +13 -0
- package/lib/adapters/AuthServerRepo.d.ts.map +1 -0
- package/lib/adapters/AuthServerRepo.js +23 -0
- package/lib/adapters/AuthServerRepo.js.map +1 -0
- package/lib/adapters/ebay/EbayAdapter.d.ts +51 -0
- package/lib/adapters/ebay/EbayAdapter.d.ts.map +1 -0
- package/lib/adapters/ebay/EbayAdapter.js +310 -0
- package/lib/adapters/ebay/EbayAdapter.js.map +1 -0
- package/lib/adapters/itrack/ItrackAdapter.d.ts +52 -0
- package/lib/adapters/itrack/ItrackAdapter.d.ts.map +1 -0
- package/lib/adapters/itrack/ItrackAdapter.js +166 -0
- package/lib/adapters/itrack/ItrackAdapter.js.map +1 -0
- package/lib/entities/Request.d.ts +8 -0
- package/lib/entities/Request.d.ts.map +1 -0
- package/lib/entities/Request.js +2 -0
- package/lib/entities/Request.js.map +1 -0
- package/lib/entities/ebay/Address.d.ts +63 -0
- package/lib/entities/ebay/Address.d.ts.map +1 -0
- package/lib/entities/ebay/Address.js +24 -0
- package/lib/entities/ebay/Address.js.map +1 -0
- package/lib/entities/ebay/Amount.d.ts +19 -0
- package/lib/entities/ebay/Amount.d.ts.map +1 -0
- package/lib/entities/ebay/Amount.js +6 -0
- package/lib/entities/ebay/Amount.js.map +1 -0
- package/lib/entities/ebay/Availability.d.ts +437 -0
- package/lib/entities/ebay/Availability.d.ts.map +1 -0
- package/lib/entities/ebay/Availability.js +140 -0
- package/lib/entities/ebay/Availability.js.map +1 -0
- package/lib/entities/ebay/CategoryType.d.ts +41 -0
- package/lib/entities/ebay/CategoryType.d.ts.map +1 -0
- package/lib/entities/ebay/CategoryType.js +22 -0
- package/lib/entities/ebay/CategoryType.js.map +1 -0
- package/lib/entities/ebay/Charity.d.ts +34 -0
- package/lib/entities/ebay/Charity.d.ts.map +1 -0
- package/lib/entities/ebay/Charity.js +13 -0
- package/lib/entities/ebay/Charity.js.map +1 -0
- package/lib/entities/ebay/ConditionDescription.d.ts +13 -0
- package/lib/entities/ebay/ConditionDescription.d.ts.map +1 -0
- package/lib/entities/ebay/ConditionDescription.js +12 -0
- package/lib/entities/ebay/ConditionDescription.js.map +1 -0
- package/lib/entities/ebay/ConditionDescriptors.d.ts +16 -0
- package/lib/entities/ebay/ConditionDescriptors.d.ts.map +1 -0
- package/lib/entities/ebay/ConditionDescriptors.js +13 -0
- package/lib/entities/ebay/ConditionDescriptors.js.map +1 -0
- package/lib/entities/ebay/ConditionEnum.d.ts +62 -0
- package/lib/entities/ebay/ConditionEnum.d.ts.map +1 -0
- package/lib/entities/ebay/ConditionEnum.js +73 -0
- package/lib/entities/ebay/ConditionEnum.js.map +1 -0
- package/lib/entities/ebay/ErrorDetailsV3.d.ts +16 -0
- package/lib/entities/ebay/ErrorDetailsV3.d.ts.map +1 -0
- package/lib/entities/ebay/ErrorDetailsV3.js +2 -0
- package/lib/entities/ebay/ErrorDetailsV3.js.map +1 -0
- package/lib/entities/ebay/FulfillmentPolicy.d.ts +130 -0
- package/lib/entities/ebay/FulfillmentPolicy.d.ts.map +1 -0
- package/lib/entities/ebay/FulfillmentPolicy.js +2 -0
- package/lib/entities/ebay/FulfillmentPolicy.js.map +1 -0
- package/lib/entities/ebay/GeoCoordinates.d.ts +21 -0
- package/lib/entities/ebay/GeoCoordinates.d.ts.map +1 -0
- package/lib/entities/ebay/GeoCoordinates.js +2 -0
- package/lib/entities/ebay/GeoCoordinates.js.map +1 -0
- package/lib/entities/ebay/ImageUpload.d.ts +45 -0
- package/lib/entities/ebay/ImageUpload.d.ts.map +1 -0
- package/lib/entities/ebay/ImageUpload.js +2 -0
- package/lib/entities/ebay/ImageUpload.js.map +1 -0
- package/lib/entities/ebay/Interval.d.ts +23 -0
- package/lib/entities/ebay/Interval.d.ts.map +1 -0
- package/lib/entities/ebay/Interval.js +2 -0
- package/lib/entities/ebay/Interval.js.map +1 -0
- package/lib/entities/ebay/InventoryItem.d.ts +112 -0
- package/lib/entities/ebay/InventoryItem.d.ts.map +1 -0
- package/lib/entities/ebay/InventoryItem.js +102 -0
- package/lib/entities/ebay/InventoryItem.js.map +1 -0
- package/lib/entities/ebay/InventoryLocation.d.ts +77 -0
- package/lib/entities/ebay/InventoryLocation.d.ts.map +1 -0
- package/lib/entities/ebay/InventoryLocation.js +2 -0
- package/lib/entities/ebay/InventoryLocation.js.map +1 -0
- package/lib/entities/ebay/InventoryLocationFull.d.ts +64 -0
- package/lib/entities/ebay/InventoryLocationFull.d.ts.map +1 -0
- package/lib/entities/ebay/InventoryLocationFull.js +42 -0
- package/lib/entities/ebay/InventoryLocationFull.js.map +1 -0
- package/lib/entities/ebay/ListingDurationEnum.d.ts +26 -0
- package/lib/entities/ebay/ListingDurationEnum.d.ts.map +1 -0
- package/lib/entities/ebay/ListingDurationEnum.js +33 -0
- package/lib/entities/ebay/ListingDurationEnum.js.map +1 -0
- package/lib/entities/ebay/ListingPolicies.d.ts +164 -0
- package/lib/entities/ebay/ListingPolicies.d.ts.map +1 -0
- package/lib/entities/ebay/ListingPolicies.js +30 -0
- package/lib/entities/ebay/ListingPolicies.js.map +1 -0
- package/lib/entities/ebay/LocationDetails.d.ts +34 -0
- package/lib/entities/ebay/LocationDetails.d.ts.map +1 -0
- package/lib/entities/ebay/LocationDetails.js +12 -0
- package/lib/entities/ebay/LocationDetails.js.map +1 -0
- package/lib/entities/ebay/MarketplaceEnum.d.ts +17 -0
- package/lib/entities/ebay/MarketplaceEnum.d.ts.map +1 -0
- package/lib/entities/ebay/MarketplaceEnum.js +31 -0
- package/lib/entities/ebay/MarketplaceEnum.js.map +1 -0
- package/lib/entities/ebay/MerchantLocationKey.d.ts +4 -0
- package/lib/entities/ebay/MerchantLocationKey.d.ts.map +1 -0
- package/lib/entities/ebay/MerchantLocationKey.js +3 -0
- package/lib/entities/ebay/MerchantLocationKey.js.map +1 -0
- package/lib/entities/ebay/Offer.d.ts +158 -0
- package/lib/entities/ebay/Offer.d.ts.map +1 -0
- package/lib/entities/ebay/Offer.js +110 -0
- package/lib/entities/ebay/Offer.js.map +1 -0
- package/lib/entities/ebay/OperatingHours.d.ts +34 -0
- package/lib/entities/ebay/OperatingHours.d.ts.map +1 -0
- package/lib/entities/ebay/OperatingHours.js +14 -0
- package/lib/entities/ebay/OperatingHours.js.map +1 -0
- package/lib/entities/ebay/PackageWeightAndSize.d.ts +132 -0
- package/lib/entities/ebay/PackageWeightAndSize.d.ts.map +1 -0
- package/lib/entities/ebay/PackageWeightAndSize.js +90 -0
- package/lib/entities/ebay/PackageWeightAndSize.js.map +1 -0
- package/lib/entities/ebay/PaymentPolicy.d.ts +55 -0
- package/lib/entities/ebay/PaymentPolicy.d.ts.map +1 -0
- package/lib/entities/ebay/PaymentPolicy.js +2 -0
- package/lib/entities/ebay/PaymentPolicy.js.map +1 -0
- package/lib/entities/ebay/PricingSummary.d.ts +80 -0
- package/lib/entities/ebay/PricingSummary.d.ts.map +1 -0
- package/lib/entities/ebay/PricingSummary.js +80 -0
- package/lib/entities/ebay/PricingSummary.js.map +1 -0
- package/lib/entities/ebay/Product.d.ts +119 -0
- package/lib/entities/ebay/Product.d.ts.map +1 -0
- package/lib/entities/ebay/Product.js +201 -0
- package/lib/entities/ebay/Product.js.map +1 -0
- package/lib/entities/ebay/ReturnPolicy.d.ts +72 -0
- package/lib/entities/ebay/ReturnPolicy.d.ts.map +1 -0
- package/lib/entities/ebay/ReturnPolicy.js +6 -0
- package/lib/entities/ebay/ReturnPolicy.js.map +1 -0
- package/lib/entities/ebay/Scopes.d.ts +7 -0
- package/lib/entities/ebay/Scopes.d.ts.map +1 -0
- package/lib/entities/ebay/Scopes.js +11 -0
- package/lib/entities/ebay/Scopes.js.map +1 -0
- package/lib/entities/ebay/ShippingOption.d.ts +91 -0
- package/lib/entities/ebay/ShippingOption.d.ts.map +1 -0
- package/lib/entities/ebay/ShippingOption.js +45 -0
- package/lib/entities/ebay/ShippingOption.js.map +1 -0
- package/lib/entities/ebay/ShippingService.d.ts +117 -0
- package/lib/entities/ebay/ShippingService.d.ts.map +1 -0
- package/lib/entities/ebay/ShippingService.js +11 -0
- package/lib/entities/ebay/ShippingService.js.map +1 -0
- package/lib/entities/ebay/Sku.d.ts +4 -0
- package/lib/entities/ebay/Sku.d.ts.map +1 -0
- package/lib/entities/ebay/Sku.js +3 -0
- package/lib/entities/ebay/Sku.js.map +1 -0
- package/lib/entities/ebay/SpecialHours.d.ts +30 -0
- package/lib/entities/ebay/SpecialHours.d.ts.map +1 -0
- package/lib/entities/ebay/SpecialHours.js +2 -0
- package/lib/entities/ebay/SpecialHours.js.map +1 -0
- package/lib/entities/ebay/TimeDuration.d.ts +38 -0
- package/lib/entities/ebay/TimeDuration.d.ts.map +1 -0
- package/lib/entities/ebay/TimeDuration.js +28 -0
- package/lib/entities/ebay/TimeDuration.js.map +1 -0
- package/lib/entities/ebay/url.d.ts +3 -0
- package/lib/entities/ebay/url.d.ts.map +1 -0
- package/lib/entities/ebay/url.js +7 -0
- package/lib/entities/ebay/url.js.map +1 -0
- package/lib/entities/ebay/validation.d.ts +52 -0
- package/lib/entities/ebay/validation.d.ts.map +1 -0
- package/lib/entities/ebay/validation.js +174 -0
- package/lib/entities/ebay/validation.js.map +1 -0
- package/lib/entities/htp/InventoryDetails.d.ts +20 -0
- package/lib/entities/htp/InventoryDetails.d.ts.map +1 -0
- package/lib/entities/htp/InventoryDetails.js +2 -0
- package/lib/entities/htp/InventoryDetails.js.map +1 -0
- package/lib/entities/http/HttpHeaders.d.ts +21 -0
- package/lib/entities/http/HttpHeaders.d.ts.map +1 -0
- package/lib/entities/http/HttpHeaders.js +10 -0
- package/lib/entities/http/HttpHeaders.js.map +1 -0
- package/lib/entities/http/HttpMethod.d.ts +7 -0
- package/lib/entities/http/HttpMethod.d.ts.map +1 -0
- package/lib/entities/http/HttpMethod.js +8 -0
- package/lib/entities/http/HttpMethod.js.map +1 -0
- package/lib/entities/http/HttpRequest.d.ts +10 -0
- package/lib/entities/http/HttpRequest.d.ts.map +1 -0
- package/lib/entities/http/HttpRequest.js +2 -0
- package/lib/entities/http/HttpRequest.js.map +1 -0
- package/lib/entities/itrack/FulfillmentPolicy.d.ts +10 -0
- package/lib/entities/itrack/FulfillmentPolicy.d.ts.map +1 -0
- package/lib/entities/itrack/FulfillmentPolicy.js +2 -0
- package/lib/entities/itrack/FulfillmentPolicy.js.map +1 -0
- package/lib/entities/itrack/InventoryListingDetail.d.ts +118 -0
- package/lib/entities/itrack/InventoryListingDetail.d.ts.map +1 -0
- package/lib/entities/itrack/InventoryListingDetail.js +2 -0
- package/lib/entities/itrack/InventoryListingDetail.js.map +1 -0
- package/lib/entities/itrack/ItrackEbayInventoryItem.js +25 -0
- package/lib/entities/itrack/ItrackEbayInventoryItem.js.map +1 -0
- package/lib/entities/itrack/ItrackEbayListing.d.ts +45 -0
- package/lib/entities/itrack/ItrackEbayListing.d.ts.map +1 -0
- package/lib/entities/itrack/ItrackEbayListing.js +25 -0
- package/lib/entities/itrack/ItrackEbayListing.js.map +1 -0
- package/lib/entities/itrack/ItrackEbayListing_deprecated.d.ts +46 -0
- package/lib/entities/itrack/ItrackEbayListing_deprecated.d.ts.map +1 -0
- package/lib/entities/itrack/ItrackEbayListing_deprecated.js +27 -0
- package/lib/entities/itrack/ItrackEbayListing_deprecated.js.map +1 -0
- package/lib/entities/itrack/PaymentPolicy.d.ts +10 -0
- package/lib/entities/itrack/PaymentPolicy.d.ts.map +1 -0
- package/lib/entities/itrack/PaymentPolicy.js +2 -0
- package/lib/entities/itrack/PaymentPolicy.js.map +1 -0
- package/lib/entities/itrack/ReturnPolicy.d.ts +10 -0
- package/lib/entities/itrack/ReturnPolicy.d.ts.map +1 -0
- package/lib/entities/itrack/ReturnPolicy.js +2 -0
- package/lib/entities/itrack/ReturnPolicy.js.map +1 -0
- package/lib/entities/itrack/ShouldBeOnEbayEnum.d.ts +5 -0
- package/lib/entities/itrack/ShouldBeOnEbayEnum.d.ts.map +1 -0
- package/lib/entities/itrack/ShouldBeOnEbayEnum.js +6 -0
- package/lib/entities/itrack/ShouldBeOnEbayEnum.js.map +1 -0
- package/lib/index.d.ts +35 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +44 -0
- package/lib/index.js.map +1 -0
- package/lib/infrastructure/HttpToRepoConverter.d.ts +8 -0
- package/lib/infrastructure/HttpToRepoConverter.d.ts.map +1 -0
- package/lib/infrastructure/HttpToRepoConverter.js +28 -0
- package/lib/infrastructure/HttpToRepoConverter.js.map +1 -0
- package/lib/infrastructure/TokenManager.d.ts +33 -0
- package/lib/infrastructure/TokenManager.d.ts.map +1 -0
- package/lib/infrastructure/TokenManager.js +145 -0
- package/lib/infrastructure/TokenManager.js.map +1 -0
- package/lib/infrastructure/http.d.ts +15 -0
- package/lib/infrastructure/http.d.ts.map +1 -0
- package/lib/infrastructure/http.js +59 -0
- package/lib/infrastructure/http.js.map +1 -0
- package/lib/infrastructure/httpMultipart.d.ts +27 -0
- package/lib/infrastructure/httpMultipart.d.ts.map +1 -0
- package/lib/infrastructure/httpMultipart.js +98 -0
- package/lib/infrastructure/httpMultipart.js.map +1 -0
- package/lib/infrastructure/mysql/MysqlDatastore.d.ts +11 -0
- package/lib/infrastructure/mysql/MysqlDatastore.d.ts.map +1 -0
- package/lib/infrastructure/mysql/MysqlDatastore.js +42 -0
- package/lib/infrastructure/mysql/MysqlDatastore.js.map +1 -0
- package/lib/infrastructure/mysql/getPool.d.ts +12 -0
- package/lib/infrastructure/mysql/getPool.d.ts.map +1 -0
- package/lib/infrastructure/mysql/getPool.js +25 -0
- package/lib/infrastructure/mysql/getPool.js.map +1 -0
- package/lib/ports/DatastoreInterface.d.ts +8 -0
- package/lib/ports/DatastoreInterface.d.ts.map +1 -0
- package/lib/ports/DatastoreInterface.js +2 -0
- package/lib/ports/DatastoreInterface.js.map +1 -0
- package/lib/ports/EbayInterface.d.ts +17 -0
- package/lib/ports/EbayInterface.d.ts.map +1 -0
- package/lib/ports/EbayInterface.js +2 -0
- package/lib/ports/EbayInterface.js.map +1 -0
- package/lib/ports/HtpInterface.d.ts +1 -0
- package/lib/ports/HtpInterface.d.ts.map +1 -0
- package/lib/ports/HtpInterface.js +1 -0
- package/lib/ports/HtpInterface.js.map +1 -0
- package/lib/ports/ItrackInterface.d.ts +10 -0
- package/lib/ports/ItrackInterface.d.ts.map +1 -0
- package/lib/ports/ItrackInterface.js +2 -0
- package/lib/ports/ItrackInterface.js.map +1 -0
- package/lib/repositories/EbaySandboxRefreshTokenRepo.d.ts +5 -0
- package/lib/repositories/EbaySandboxRefreshTokenRepo.d.ts.map +1 -0
- package/lib/repositories/EbaySandboxRefreshTokenRepo.js +8 -0
- package/lib/repositories/EbaySandboxRefreshTokenRepo.js.map +1 -0
- package/lib/repositories/KeyValueRepo.d.ts +9 -0
- package/lib/repositories/KeyValueRepo.d.ts.map +1 -0
- package/lib/repositories/KeyValueRepo.js +20 -0
- package/lib/repositories/KeyValueRepo.js.map +1 -0
- package/lib/repositories/RemoteEbaySandboxTokenRepo.d.ts +5 -0
- package/lib/repositories/RemoteEbaySandboxTokenRepo.d.ts.map +1 -0
- package/lib/repositories/RemoteEbaySandboxTokenRepo.js +8 -0
- package/lib/repositories/RemoteEbaySandboxTokenRepo.js.map +1 -0
- package/lib/repositories/RemoteEbayTokenRepo.d.ts +5 -0
- package/lib/repositories/RemoteEbayTokenRepo.d.ts.map +1 -0
- package/lib/repositories/RemoteEbayTokenRepo.js +8 -0
- package/lib/repositories/RemoteEbayTokenRepo.js.map +1 -0
- package/lib/repositories/ebay/BaseRepo.d.ts +30 -0
- package/lib/repositories/ebay/BaseRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/BaseRepo.js +7 -0
- package/lib/repositories/ebay/BaseRepo.js.map +1 -0
- package/lib/repositories/ebay/CompanyRepo.d.ts +5 -0
- package/lib/repositories/ebay/CompanyRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/CompanyRepo.js +15 -0
- package/lib/repositories/ebay/CompanyRepo.js.map +1 -0
- package/lib/repositories/ebay/EbayRefreshTokenRepo.d.ts +1 -0
- package/lib/repositories/ebay/EbayRefreshTokenRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/EbayRefreshTokenRepo.js +1 -0
- package/lib/repositories/ebay/EbayRefreshTokenRepo.js.map +1 -0
- package/lib/repositories/ebay/FulfillmentPolicyRepo.d.ts +32 -0
- package/lib/repositories/ebay/FulfillmentPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/FulfillmentPolicyRepo.js +42 -0
- package/lib/repositories/ebay/FulfillmentPolicyRepo.js.map +1 -0
- package/lib/repositories/ebay/ImageUploadRepo.d.ts +25 -0
- package/lib/repositories/ebay/ImageUploadRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/ImageUploadRepo.js +131 -0
- package/lib/repositories/ebay/ImageUploadRepo.js.map +1 -0
- package/lib/repositories/ebay/InventoryItemRepo.d.ts +18 -0
- package/lib/repositories/ebay/InventoryItemRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/InventoryItemRepo.js +54 -0
- package/lib/repositories/ebay/InventoryItemRepo.js.map +1 -0
- package/lib/repositories/ebay/InventoryLocationRepo.d.ts +21 -0
- package/lib/repositories/ebay/InventoryLocationRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/InventoryLocationRepo.js +53 -0
- package/lib/repositories/ebay/InventoryLocationRepo.js.map +1 -0
- package/lib/repositories/ebay/ListingRepo.d.ts +31 -0
- package/lib/repositories/ebay/ListingRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/ListingRepo.js +43 -0
- package/lib/repositories/ebay/ListingRepo.js.map +1 -0
- package/lib/repositories/ebay/OfferRepo.d.ts +68 -0
- package/lib/repositories/ebay/OfferRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/OfferRepo.js +147 -0
- package/lib/repositories/ebay/OfferRepo.js.map +1 -0
- package/lib/repositories/ebay/PaymentPolicyRepo.d.ts +30 -0
- package/lib/repositories/ebay/PaymentPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/PaymentPolicyRepo.js +41 -0
- package/lib/repositories/ebay/PaymentPolicyRepo.js.map +1 -0
- package/lib/repositories/ebay/ReturnPolicyRepo.d.ts +30 -0
- package/lib/repositories/ebay/ReturnPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/ReturnPolicyRepo.js +41 -0
- package/lib/repositories/ebay/ReturnPolicyRepo.js.map +1 -0
- package/lib/repositories/ebay/ShippingOptionRepo.d.ts +1 -0
- package/lib/repositories/ebay/ShippingOptionRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/ShippingOptionRepo.js +1 -0
- package/lib/repositories/ebay/ShippingOptionRepo.js.map +1 -0
- package/lib/repositories/ebay/ShippingServiceRepo.d.ts +1 -0
- package/lib/repositories/ebay/ShippingServiceRepo.d.ts.map +1 -0
- package/lib/repositories/ebay/ShippingServiceRepo.js +2 -0
- package/lib/repositories/ebay/ShippingServiceRepo.js.map +1 -0
- package/lib/repositories/htp/InventoryDetailsRepo.d.ts +8 -0
- package/lib/repositories/htp/InventoryDetailsRepo.d.ts.map +1 -0
- package/lib/repositories/htp/InventoryDetailsRepo.js +25 -0
- package/lib/repositories/htp/InventoryDetailsRepo.js.map +1 -0
- package/lib/repositories/itrack/BaseRepo.d.ts +7 -0
- package/lib/repositories/itrack/BaseRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/BaseRepo.js +6 -0
- package/lib/repositories/itrack/BaseRepo.js.map +1 -0
- package/lib/repositories/itrack/CompanyRepo.d.ts +5 -0
- package/lib/repositories/itrack/CompanyRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/CompanyRepo.js +8 -0
- package/lib/repositories/itrack/CompanyRepo.js.map +1 -0
- package/lib/repositories/itrack/EbayInventoryItemRowRepo.d.ts +27 -0
- package/lib/repositories/itrack/EbayInventoryItemRowRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/EbayInventoryItemRowRepo.js +2 -0
- package/lib/repositories/itrack/EbayInventoryItemRowRepo.js.map +1 -0
- package/lib/repositories/itrack/EbayInventoryItemRowRepo_deprecated.d.ts +27 -0
- package/lib/repositories/itrack/EbayInventoryItemRowRepo_deprecated.d.ts.map +1 -0
- package/lib/repositories/itrack/EbayInventoryItemRowRepo_deprecated.js +2 -0
- package/lib/repositories/itrack/EbayInventoryItemRowRepo_deprecated.js.map +1 -0
- package/lib/repositories/itrack/ImageRepo.d.ts +7 -0
- package/lib/repositories/itrack/ImageRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ImageRepo.js +23 -0
- package/lib/repositories/itrack/ImageRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackEbayConditionRepo.d.ts +36 -0
- package/lib/repositories/itrack/ItrackEbayConditionRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackEbayConditionRepo.js +113 -0
- package/lib/repositories/itrack/ItrackEbayConditionRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackEbayFulfillmentPolicyRepo.d.ts +11 -0
- package/lib/repositories/itrack/ItrackEbayFulfillmentPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackEbayFulfillmentPolicyRepo.js +35 -0
- package/lib/repositories/itrack/ItrackEbayFulfillmentPolicyRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackEbayInventoryItemRepo.js +75 -0
- package/lib/repositories/itrack/ItrackEbayInventoryItemRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackEbayInventoryListingDetailRepo_deprecated.d.ts +8 -0
- package/lib/repositories/itrack/ItrackEbayInventoryListingDetailRepo_deprecated.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackEbayInventoryListingDetailRepo_deprecated.js +66 -0
- package/lib/repositories/itrack/ItrackEbayInventoryListingDetailRepo_deprecated.js.map +1 -0
- package/lib/repositories/itrack/ItrackEbayListingRepo.d.ts +8 -0
- package/lib/repositories/itrack/ItrackEbayListingRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackEbayListingRepo.js +66 -0
- package/lib/repositories/itrack/ItrackEbayListingRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackEbayPaymentPolicyRepo.d.ts +11 -0
- package/lib/repositories/itrack/ItrackEbayPaymentPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackEbayPaymentPolicyRepo.js +35 -0
- package/lib/repositories/itrack/ItrackEbayPaymentPolicyRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackEbayReturnPolicyRepo.d.ts +11 -0
- package/lib/repositories/itrack/ItrackEbayReturnPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackEbayReturnPolicyRepo.js +34 -0
- package/lib/repositories/itrack/ItrackEbayReturnPolicyRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackFulfillmentPolicyRepo.d.ts +11 -0
- package/lib/repositories/itrack/ItrackFulfillmentPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackFulfillmentPolicyRepo.js +35 -0
- package/lib/repositories/itrack/ItrackFulfillmentPolicyRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackPaymentPolicyRepo.d.ts +11 -0
- package/lib/repositories/itrack/ItrackPaymentPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackPaymentPolicyRepo.js +35 -0
- package/lib/repositories/itrack/ItrackPaymentPolicyRepo.js.map +1 -0
- package/lib/repositories/itrack/ItrackReturnPolicyRepo.d.ts +11 -0
- package/lib/repositories/itrack/ItrackReturnPolicyRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/ItrackReturnPolicyRepo.js +34 -0
- package/lib/repositories/itrack/ItrackReturnPolicyRepo.js.map +1 -0
- package/lib/repositories/itrack/StoreRepo.d.ts +35 -0
- package/lib/repositories/itrack/StoreRepo.d.ts.map +1 -0
- package/lib/repositories/itrack/StoreRepo.js +35 -0
- package/lib/repositories/itrack/StoreRepo.js.map +1 -0
- package/lib/tests/processImageUrlTest.d.ts +29 -0
- package/lib/tests/processImageUrlTest.d.ts.map +1 -0
- package/lib/tests/processImageUrlTest.js +402 -0
- package/lib/tests/processImageUrlTest.js.map +1 -0
- package/lib/tests/test.d.ts +2 -0
- package/lib/tests/test.d.ts.map +1 -0
- package/lib/tests/test.js +130 -0
- package/lib/tests/test.js.map +1 -0
- package/lib/tests/tests.js +130 -0
- package/lib/tests/tests.js.map +1 -0
- package/lib/types/PushEbayListing.d.ts +1 -0
- package/lib/types/PushEbayListing.d.ts.map +1 -0
- package/lib/types/PushEbayListing.js +1 -0
- package/lib/types/PushEbayListing.js.map +1 -0
- package/lib/types/UseCaseResult.d.ts +107 -0
- package/lib/types/UseCaseResult.d.ts.map +1 -0
- package/lib/types/UseCaseResult.examples.d.ts +42 -0
- package/lib/types/UseCaseResult.examples.d.ts.map +1 -0
- package/lib/types/UseCaseResult.examples.js +168 -0
- package/lib/types/UseCaseResult.examples.js.map +1 -0
- package/lib/types/UseCaseResult.js +201 -0
- package/lib/types/UseCaseResult.js.map +1 -0
- package/lib/usecases/Agg_StoreEvent.d.ts +21 -0
- package/lib/usecases/Agg_StoreEvent.d.ts.map +1 -0
- package/lib/usecases/Agg_StoreEvent.js +12 -0
- package/lib/usecases/Agg_StoreEvent.js.map +1 -0
- package/lib/usecases/FulfillmentPolicy/AddFulfillmentPolicyToItrack.d.ts +7 -0
- package/lib/usecases/FulfillmentPolicy/AddFulfillmentPolicyToItrack.d.ts.map +1 -0
- package/lib/usecases/FulfillmentPolicy/AddFulfillmentPolicyToItrack.js +5 -0
- package/lib/usecases/FulfillmentPolicy/AddFulfillmentPolicyToItrack.js.map +1 -0
- package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromEbay.d.ts +6 -0
- package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromEbay.d.ts.map +1 -0
- package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromEbay.js +6 -0
- package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromEbay.js.map +1 -0
- package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromItrack.d.ts +6 -0
- package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromItrack.d.ts.map +1 -0
- package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromItrack.js +5 -0
- package/lib/usecases/FulfillmentPolicy/GetFulfillmentPoliciesFromItrack.js.map +1 -0
- package/lib/usecases/FulfillmentPolicy/RemoveFulfillmentPolicyFromItrack.d.ts +7 -0
- package/lib/usecases/FulfillmentPolicy/RemoveFulfillmentPolicyFromItrack.d.ts.map +1 -0
- package/lib/usecases/FulfillmentPolicy/RemoveFulfillmentPolicyFromItrack.js +5 -0
- package/lib/usecases/FulfillmentPolicy/RemoveFulfillmentPolicyFromItrack.js.map +1 -0
- package/lib/usecases/FulfillmentPolicy/SyncFulfillmentPolicy.d.ts +10 -0
- package/lib/usecases/FulfillmentPolicy/SyncFulfillmentPolicy.d.ts.map +1 -0
- package/lib/usecases/FulfillmentPolicy/SyncFulfillmentPolicy.js +35 -0
- package/lib/usecases/FulfillmentPolicy/SyncFulfillmentPolicy.js.map +1 -0
- package/lib/usecases/FulfillmentPolicy/UpdateFulfillmentPolicyFromItrack.d.ts +7 -0
- package/lib/usecases/FulfillmentPolicy/UpdateFulfillmentPolicyFromItrack.d.ts.map +1 -0
- package/lib/usecases/FulfillmentPolicy/UpdateFulfillmentPolicyFromItrack.js +5 -0
- package/lib/usecases/FulfillmentPolicy/UpdateFulfillmentPolicyFromItrack.js.map +1 -0
- package/lib/usecases/FulfillmentPolicy/integration.test.d.ts +2 -0
- package/lib/usecases/FulfillmentPolicy/integration.test.d.ts.map +1 -0
- package/lib/usecases/FulfillmentPolicy/integration.test.js +52 -0
- package/lib/usecases/FulfillmentPolicy/integration.test.js.map +1 -0
- package/lib/usecases/GetSigninUrl.d.ts +9 -0
- package/lib/usecases/GetSigninUrl.d.ts.map +1 -0
- package/lib/usecases/GetSigninUrl.js +18 -0
- package/lib/usecases/GetSigninUrl.js.map +1 -0
- package/lib/usecases/Images/GetImageFromProduct.d.ts +12 -0
- package/lib/usecases/Images/GetImageFromProduct.d.ts.map +1 -0
- package/lib/usecases/Images/GetImageFromProduct.js +16 -0
- package/lib/usecases/Images/GetImageFromProduct.js.map +1 -0
- package/lib/usecases/Images/PushImageToEbay.d.ts +15 -0
- package/lib/usecases/Images/PushImageToEbay.d.ts.map +1 -0
- package/lib/usecases/Images/PushImageToEbay.js +25 -0
- package/lib/usecases/Images/PushImageToEbay.js.map +1 -0
- package/lib/usecases/Images/SyncImageToEbay.d.ts +21 -0
- package/lib/usecases/Images/SyncImageToEbay.d.ts.map +1 -0
- package/lib/usecases/Images/SyncImageToEbay.js +36 -0
- package/lib/usecases/Images/SyncImageToEbay.js.map +1 -0
- package/lib/usecases/Images/SyncMultipleImagesToEbay.d.ts +19 -0
- package/lib/usecases/Images/SyncMultipleImagesToEbay.d.ts.map +1 -0
- package/lib/usecases/Images/SyncMultipleImagesToEbay.js +53 -0
- package/lib/usecases/Images/SyncMultipleImagesToEbay.js.map +1 -0
- package/lib/usecases/Images/integration.test.d.ts +30 -0
- package/lib/usecases/Images/integration.test.d.ts.map +1 -0
- package/lib/usecases/Images/integration.test.js +320 -0
- package/lib/usecases/Images/integration.test.js.map +1 -0
- package/lib/usecases/Inventory/ConvertInventoryItemToSku.js +54 -0
- package/lib/usecases/Inventory/ConvertInventoryItemToSku.js.map +1 -0
- package/lib/usecases/Inventory/GetInventoryFromProduct.d.ts +8 -0
- package/lib/usecases/Inventory/GetInventoryFromProduct.d.ts.map +1 -0
- package/lib/usecases/Inventory/GetInventoryFromProduct.js +6 -0
- package/lib/usecases/Inventory/GetInventoryFromProduct.js.map +1 -0
- package/lib/usecases/Inventory/PushInventorySkuToEbay.d.ts +18 -0
- package/lib/usecases/Inventory/PushInventorySkuToEbay.d.ts.map +1 -0
- package/lib/usecases/Inventory/PushInventorySkuToEbay.js +21 -0
- package/lib/usecases/Inventory/PushInventorySkuToEbay.js.map +1 -0
- package/lib/usecases/Inventory/PushInventorySkuUpdateToEbay.d.ts +1 -0
- package/lib/usecases/Inventory/PushInventorySkuUpdateToEbay.d.ts.map +1 -0
- package/lib/usecases/Inventory/PushInventorySkuUpdateToEbay.js +1 -0
- package/lib/usecases/Inventory/PushInventorySkuUpdateToEbay.js.map +1 -0
- package/lib/usecases/Inventory/SyncInventoryToEbay.d.ts +19 -0
- package/lib/usecases/Inventory/SyncInventoryToEbay.d.ts.map +1 -0
- package/lib/usecases/Inventory/SyncInventoryToEbay.js +42 -0
- package/lib/usecases/Inventory/SyncInventoryToEbay.js.map +1 -0
- package/lib/usecases/Inventory/integration.test.d.ts +35 -0
- package/lib/usecases/Inventory/integration.test.d.ts.map +1 -0
- package/lib/usecases/Inventory/integration.test.js +333 -0
- package/lib/usecases/Inventory/integration.test.js.map +1 -0
- package/lib/usecases/Listing/GetListingFromProduct.js +15 -0
- package/lib/usecases/Listing/GetListingFromProduct.js.map +1 -0
- package/lib/usecases/Listing/PushListingToEbay.js +31 -0
- package/lib/usecases/Listing/PushListingToEbay.js.map +1 -0
- package/lib/usecases/Listing/SyncListing.js +182 -0
- package/lib/usecases/Listing/SyncListing.js.map +1 -0
- package/lib/usecases/Listing_old/GetListingFromProduct.d.ts +8 -0
- package/lib/usecases/Listing_old/GetListingFromProduct.d.ts.map +1 -0
- package/lib/usecases/Listing_old/GetListingFromProduct.js +6 -0
- package/lib/usecases/Listing_old/GetListingFromProduct.js.map +1 -0
- package/lib/usecases/Listing_old/PushListingToEbay.d.ts +16 -0
- package/lib/usecases/Listing_old/PushListingToEbay.d.ts.map +1 -0
- package/lib/usecases/Listing_old/PushListingToEbay.js +22 -0
- package/lib/usecases/Listing_old/PushListingToEbay.js.map +1 -0
- package/lib/usecases/Listing_old/SyncListing.d.ts +11 -0
- package/lib/usecases/Listing_old/SyncListing.d.ts.map +1 -0
- package/lib/usecases/Listing_old/SyncListing.js +173 -0
- package/lib/usecases/Listing_old/SyncListing.js.map +1 -0
- package/lib/usecases/Location/GetInventoryLocationsFromEbay.d.ts +11 -0
- package/lib/usecases/Location/GetInventoryLocationsFromEbay.d.ts.map +1 -0
- package/lib/usecases/Location/GetInventoryLocationsFromEbay.js +5 -0
- package/lib/usecases/Location/GetInventoryLocationsFromEbay.js.map +1 -0
- package/lib/usecases/Location/PushInventoryLocationToEbay.d.ts +12 -0
- package/lib/usecases/Location/PushInventoryLocationToEbay.d.ts.map +1 -0
- package/lib/usecases/Location/PushInventoryLocationToEbay.js +12 -0
- package/lib/usecases/Location/PushInventoryLocationToEbay.js.map +1 -0
- package/lib/usecases/Location/PushInventoryLocationUpdateToEbay.d.ts +1 -0
- package/lib/usecases/Location/PushInventoryLocationUpdateToEbay.d.ts.map +1 -0
- package/lib/usecases/Location/PushInventoryLocationUpdateToEbay.js +1 -0
- package/lib/usecases/Location/PushInventoryLocationUpdateToEbay.js.map +1 -0
- package/lib/usecases/Location/SyncInventoryLocations.d.ts +17 -0
- package/lib/usecases/Location/SyncInventoryLocations.d.ts.map +1 -0
- package/lib/usecases/Location/SyncInventoryLocations.js +67 -0
- package/lib/usecases/Location/SyncInventoryLocations.js.map +1 -0
- package/lib/usecases/Location/integration.test.d.ts +2 -0
- package/lib/usecases/Location/integration.test.d.ts.map +1 -0
- package/lib/usecases/Location/integration.test.js +31 -0
- package/lib/usecases/Location/integration.test.js.map +1 -0
- package/lib/usecases/Offer/ConvertItrackInventoryListingDetailToEbayOffer.d.ts +22 -0
- package/lib/usecases/Offer/ConvertItrackInventoryListingDetailToEbayOffer.d.ts.map +1 -0
- package/lib/usecases/Offer/ConvertItrackInventoryListingDetailToEbayOffer.js +67 -0
- package/lib/usecases/Offer/ConvertItrackInventoryListingDetailToEbayOffer.js.map +1 -0
- package/lib/usecases/Offer/ConvertItrackListingToEbayOffer.d.ts +17 -0
- package/lib/usecases/Offer/ConvertItrackListingToEbayOffer.d.ts.map +1 -0
- package/lib/usecases/Offer/ConvertItrackListingToEbayOffer.js +66 -0
- package/lib/usecases/Offer/ConvertItrackListingToEbayOffer.js.map +1 -0
- package/lib/usecases/Offer/CreateEbayOffer.d.ts +11 -0
- package/lib/usecases/Offer/CreateEbayOffer.d.ts.map +1 -0
- package/lib/usecases/Offer/CreateEbayOffer.js +31 -0
- package/lib/usecases/Offer/CreateEbayOffer.js.map +1 -0
- package/lib/usecases/Offer/GetEbayDefaultsFromProduct.d.ts +8 -0
- package/lib/usecases/Offer/GetEbayDefaultsFromProduct.d.ts.map +1 -0
- package/lib/usecases/Offer/GetEbayDefaultsFromProduct.js +10 -0
- package/lib/usecases/Offer/GetEbayDefaultsFromProduct.js.map +1 -0
- package/lib/usecases/Offer/PublishEbayOffer.d.ts +11 -0
- package/lib/usecases/Offer/PublishEbayOffer.d.ts.map +1 -0
- package/lib/usecases/Offer/PublishEbayOffer.js +20 -0
- package/lib/usecases/Offer/PublishEbayOffer.js.map +1 -0
- package/lib/usecases/Offer/PushEbayOffer.d.ts +14 -0
- package/lib/usecases/Offer/PushEbayOffer.d.ts.map +1 -0
- package/lib/usecases/Offer/PushEbayOffer.js +54 -0
- package/lib/usecases/Offer/PushEbayOffer.js.map +1 -0
- package/lib/usecases/Offer/SyncEbayInventoryAndOffer.d.ts +26 -0
- package/lib/usecases/Offer/SyncEbayInventoryAndOffer.d.ts.map +1 -0
- package/lib/usecases/Offer/SyncEbayInventoryAndOffer.js +145 -0
- package/lib/usecases/Offer/SyncEbayInventoryAndOffer.js.map +1 -0
- package/lib/usecases/Offer/SyncEbayOffer.d.ts +20 -0
- package/lib/usecases/Offer/SyncEbayOffer.d.ts.map +1 -0
- package/lib/usecases/Offer/SyncEbayOffer.js +49 -0
- package/lib/usecases/Offer/SyncEbayOffer.js.map +1 -0
- package/lib/usecases/Offer/convertItrackListingToEbayInventoryAndOffer.d.ts +36 -0
- package/lib/usecases/Offer/convertItrackListingToEbayInventoryAndOffer.d.ts.map +1 -0
- package/lib/usecases/Offer/convertItrackListingToEbayInventoryAndOffer.js +102 -0
- package/lib/usecases/Offer/convertItrackListingToEbayInventoryAndOffer.js.map +1 -0
- package/lib/usecases/Offer/createOfferSample.d.ts +1 -0
- package/lib/usecases/Offer/createOfferSample.d.ts.map +1 -0
- package/lib/usecases/Offer/createOfferSample.js +230 -0
- package/lib/usecases/Offer/createOfferSample.js.map +1 -0
- package/lib/usecases/Offer/integration.test.d.ts +37 -0
- package/lib/usecases/Offer/integration.test.d.ts.map +1 -0
- package/lib/usecases/Offer/integration.test.js +472 -0
- package/lib/usecases/Offer/integration.test.js.map +1 -0
- package/lib/usecases/PaymentPolicy/AddPaymentPolicyToItrack.d.ts +7 -0
- package/lib/usecases/PaymentPolicy/AddPaymentPolicyToItrack.d.ts.map +1 -0
- package/lib/usecases/PaymentPolicy/AddPaymentPolicyToItrack.js +5 -0
- package/lib/usecases/PaymentPolicy/AddPaymentPolicyToItrack.js.map +1 -0
- package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromEbay.d.ts +6 -0
- package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromEbay.d.ts.map +1 -0
- package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromEbay.js +6 -0
- package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromEbay.js.map +1 -0
- package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromItrack.d.ts +6 -0
- package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromItrack.d.ts.map +1 -0
- package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromItrack.js +5 -0
- package/lib/usecases/PaymentPolicy/GetPaymentPoliciesFromItrack.js.map +1 -0
- package/lib/usecases/PaymentPolicy/RemovePaymentPolicyFromItrack.d.ts +7 -0
- package/lib/usecases/PaymentPolicy/RemovePaymentPolicyFromItrack.d.ts.map +1 -0
- package/lib/usecases/PaymentPolicy/RemovePaymentPolicyFromItrack.js +5 -0
- package/lib/usecases/PaymentPolicy/RemovePaymentPolicyFromItrack.js.map +1 -0
- package/lib/usecases/PaymentPolicy/SyncPaymentPoliciesFromEbay.d.ts +15 -0
- package/lib/usecases/PaymentPolicy/SyncPaymentPoliciesFromEbay.d.ts.map +1 -0
- package/lib/usecases/PaymentPolicy/SyncPaymentPoliciesFromEbay.js +40 -0
- package/lib/usecases/PaymentPolicy/SyncPaymentPoliciesFromEbay.js.map +1 -0
- package/lib/usecases/PaymentPolicy/UpdatePaymentPolicyFromItrack.d.ts +7 -0
- package/lib/usecases/PaymentPolicy/UpdatePaymentPolicyFromItrack.d.ts.map +1 -0
- package/lib/usecases/PaymentPolicy/UpdatePaymentPolicyFromItrack.js +5 -0
- package/lib/usecases/PaymentPolicy/UpdatePaymentPolicyFromItrack.js.map +1 -0
- package/lib/usecases/ReturnPolicy/AddReturnPolicyToItrack.d.ts +7 -0
- package/lib/usecases/ReturnPolicy/AddReturnPolicyToItrack.d.ts.map +1 -0
- package/lib/usecases/ReturnPolicy/AddReturnPolicyToItrack.js +5 -0
- package/lib/usecases/ReturnPolicy/AddReturnPolicyToItrack.js.map +1 -0
- package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromEbay.d.ts +6 -0
- package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromEbay.d.ts.map +1 -0
- package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromEbay.js +6 -0
- package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromEbay.js.map +1 -0
- package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromItrack.d.ts +6 -0
- package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromItrack.d.ts.map +1 -0
- package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromItrack.js +5 -0
- package/lib/usecases/ReturnPolicy/GetReturnPoliciesFromItrack.js.map +1 -0
- package/lib/usecases/ReturnPolicy/RemoveReturnPolicyFromItrack.d.ts +7 -0
- package/lib/usecases/ReturnPolicy/RemoveReturnPolicyFromItrack.d.ts.map +1 -0
- package/lib/usecases/ReturnPolicy/RemoveReturnPolicyFromItrack.js +5 -0
- package/lib/usecases/ReturnPolicy/RemoveReturnPolicyFromItrack.js.map +1 -0
- package/lib/usecases/ReturnPolicy/SyncReturnPoliciesFromEbay.d.ts +15 -0
- package/lib/usecases/ReturnPolicy/SyncReturnPoliciesFromEbay.d.ts.map +1 -0
- package/lib/usecases/ReturnPolicy/SyncReturnPoliciesFromEbay.js +40 -0
- package/lib/usecases/ReturnPolicy/SyncReturnPoliciesFromEbay.js.map +1 -0
- package/lib/usecases/ReturnPolicy/UpdateReturnPolicyInItrack.d.ts +7 -0
- package/lib/usecases/ReturnPolicy/UpdateReturnPolicyInItrack.d.ts.map +1 -0
- package/lib/usecases/ReturnPolicy/UpdateReturnPolicyInItrack.js +5 -0
- package/lib/usecases/ReturnPolicy/UpdateReturnPolicyInItrack.js.map +1 -0
- package/lib/usecases/ReturnPolicy/integration.test.d.ts +2 -0
- package/lib/usecases/ReturnPolicy/integration.test.d.ts.map +1 -0
- package/lib/usecases/ReturnPolicy/integration.test.js +56 -0
- package/lib/usecases/ReturnPolicy/integration.test.js.map +1 -0
- package/lib/usecases/integration.test.d.ts +33 -0
- package/lib/usecases/integration.test.d.ts.map +1 -0
- package/lib/usecases/integration.test.js +499 -0
- package/lib/usecases/integration.test.js.map +1 -0
- package/lib/usecases/types/CompleteListing.d.ts +29 -0
- package/lib/usecases/types/CompleteListing.d.ts.map +1 -0
- package/lib/usecases/types/CompleteListing.js +2 -0
- package/lib/usecases/types/CompleteListing.js.map +1 -0
- package/lib/utils/buildInventoryListingRow.d.ts +23 -0
- package/lib/utils/buildInventoryListingRow.d.ts.map +1 -0
- package/lib/utils/buildInventoryListingRow.js +14 -0
- package/lib/utils/buildInventoryListingRow.js.map +1 -0
- package/lib/utils/ebayResponseParser.d.ts +50 -0
- package/lib/utils/ebayResponseParser.d.ts.map +1 -0
- package/lib/utils/ebayResponseParser.js +98 -0
- package/lib/utils/ebayResponseParser.js.map +1 -0
- package/lib/utils/imageUrlComparison.d.ts +5 -0
- package/lib/utils/imageUrlComparison.d.ts.map +1 -0
- package/lib/utils/imageUrlComparison.js +46 -0
- package/lib/utils/imageUrlComparison.js.map +1 -0
- package/lib/utils/imageUrlComparison.test.d.ts +2 -0
- package/lib/utils/imageUrlComparison.test.d.ts.map +1 -0
- package/lib/utils/imageUrlComparison.test.js +113 -0
- package/lib/utils/imageUrlComparison.test.js.map +1 -0
- package/lib/utils/typeHelpers.d.ts +5 -0
- package/lib/utils/typeHelpers.d.ts.map +1 -0
- package/lib/utils/typeHelpers.js +2 -0
- package/lib/utils/typeHelpers.js.map +1 -0
- package/lib/utils/utils.d.ts +25 -0
- package/lib/utils/utils.d.ts.map +1 -0
- package/lib/utils/utils.js +124 -0
- package/lib/utils/utils.js.map +1 -0
- package/package.json +56 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Availability } from './Availability.js';
|
|
2
|
+
import { EbayConditionEnum } from './ConditionEnum.js';
|
|
3
|
+
import { PackageWeightAndSize } from './PackageWeightAndSize.js';
|
|
4
|
+
import { Product } from './Product.js';
|
|
5
|
+
import { ValidationResult, ValidationErrorNew } from './validation.js';
|
|
6
|
+
export interface InventoryItem {
|
|
7
|
+
/**
|
|
8
|
+
* This container is used to specify the quantity of the inventory item that are available for purchase.
|
|
9
|
+
*
|
|
10
|
+
* This container is optional up until the seller is ready to publish an offer with the SKU, at which time it
|
|
11
|
+
* becomes required. Availability data must also be passed if an inventory item is being updated and availability
|
|
12
|
+
* data already exists for that inventory item.
|
|
13
|
+
*
|
|
14
|
+
* Since an inventory item must have specified quantity before being published in an offer, this container is always
|
|
15
|
+
* returned in the 'Get' calls for SKUs that are part of a published offer. If a SKU is not part of a published
|
|
16
|
+
* offer, this container will only be returned if set for the inventory item.
|
|
17
|
+
*
|
|
18
|
+
* Occurrence: Conditional
|
|
19
|
+
*/
|
|
20
|
+
availability?: Availability;
|
|
21
|
+
/**
|
|
22
|
+
* This enumeration value indicates the condition of the item. Supported item condition values will vary by eBay
|
|
23
|
+
* site and category. To see which item condition values that a particular eBay category supports, use the
|
|
24
|
+
* getItemConditionPolicies method of the Metadata API. This method returns condition ID values that map to the
|
|
25
|
+
* enumeration values defined in the ConditionEnum type. The Item condition ID and name values topic in the Selling
|
|
26
|
+
* Integration Guide has a table that maps condition ID values to ConditionEnum values. The getItemConditionPolicies
|
|
27
|
+
* call reference page has more information.
|
|
28
|
+
*
|
|
29
|
+
* A condition value is optional up until the seller is ready to publish an offer with the SKU, at which time it
|
|
30
|
+
* becomes required.
|
|
31
|
+
*
|
|
32
|
+
* Since the condition of an inventory item must be specified before being published in an offer, this field is
|
|
33
|
+
* always returned in the 'Get' calls for SKUs that are part of a published offer. If a SKU is not part of a
|
|
34
|
+
* published offer, this container will only be returned if set for the inventory item.
|
|
35
|
+
*/
|
|
36
|
+
condition: EbayConditionEnum;
|
|
37
|
+
/**
|
|
38
|
+
* This string field is used by the seller to more clearly describe the condition of a used inventory item, or an
|
|
39
|
+
* inventory item whose condition value is not NEW, LIKE_NEW, NEW_OTHER, or NEW_WITH_DEFECTS.
|
|
40
|
+
*
|
|
41
|
+
* The conditionDescription field is available for all eBay categories. If the conditionDescription field is used
|
|
42
|
+
* with an item in one of the new conditions (mentioned in previous paragraph), eBay will simply ignore this field
|
|
43
|
+
* if included, and eBay will return a warning message to the user.
|
|
44
|
+
*
|
|
45
|
+
* This field should only be used to further clarify the condition of the used item. It should not be used for
|
|
46
|
+
* branding, promotions, shipping, returns, payment or other information unrelated to the condition of the used
|
|
47
|
+
* item. Make sure that the condition value, condition description, listing description, and the item's pictures do
|
|
48
|
+
* not contradict one another.
|
|
49
|
+
*
|
|
50
|
+
* This field is not always required, but is required if an inventory item is being updated and a condition
|
|
51
|
+
* description already exists for that inventory item.
|
|
52
|
+
*
|
|
53
|
+
* This field is returned in the getInventoryItem and getInventoryItems calls if a condition description was
|
|
54
|
+
* provided for a used inventory item.
|
|
55
|
+
*
|
|
56
|
+
* Max Length: 1000.
|
|
57
|
+
*
|
|
58
|
+
* Occurrence: Optional
|
|
59
|
+
*/
|
|
60
|
+
conditionDescription: string;
|
|
61
|
+
/**
|
|
62
|
+
* This container is used if the seller is offering one or more calculated shipping options for the inventory item,
|
|
63
|
+
* or if the seller is offering flat-rate shipping but is including a shipping surcharge based on the item's weight.
|
|
64
|
+
* This container is used to specify the dimensions and weight of a shipping package.
|
|
65
|
+
*
|
|
66
|
+
* This container is not always required, but is required if an inventory item is being updated and shipping package
|
|
67
|
+
* data already exists for that inventory item.
|
|
68
|
+
*
|
|
69
|
+
* This container is returned in the getInventoryItem and getInventoryItems calls if package type, package weight,
|
|
70
|
+
* and/or package dimensions are specified for an inventory item.
|
|
71
|
+
*
|
|
72
|
+
* See the Calculated shipping help page for more information on calculated shipping.
|
|
73
|
+
*
|
|
74
|
+
* Occurrence: Conditional
|
|
75
|
+
*/
|
|
76
|
+
packageWeightAndSize?: PackageWeightAndSize;
|
|
77
|
+
/**
|
|
78
|
+
* This container is used to define the product details, such as product title, product description, product
|
|
79
|
+
* identifiers (eBay Product ID, GTIN, or Brand/MPN pair), product aspects/item specifics, and product images. Note
|
|
80
|
+
* that an eBay Product ID (ePID) or a Global Trade Item Number (GTIN) value can be used in an attempt to find a
|
|
81
|
+
* matching product in the eBay Catalog. If a product match is found, the inventory item record will automatically
|
|
82
|
+
* pick up all product details associated with the eBay Catalog product.
|
|
83
|
+
*
|
|
84
|
+
* Many eBay categories will require at least one product identifier (a GTIN or a Brand/MPN pair). To discover which
|
|
85
|
+
* product identifier(s) that an eBay category might require or support, use the getItemAspectsForCategory method in
|
|
86
|
+
* the Taxonomy API. In the getItemAspectsForCategory response, look for product identifier names (brand, mpn, upc,
|
|
87
|
+
* ean, isbn) in the localizedAspectName fields, and then look for the correspondinng aspectRequired boolean fields
|
|
88
|
+
* as well as the corresponding aspectUsage field, which will indicate if the aspect is required, recommended, or
|
|
89
|
+
* optional. In some cases, a product identifier type may be required, but not known/applicable for a product. If
|
|
90
|
+
* this is the case, the seller must still include the corresponding field in the inventory item record, but pass in
|
|
91
|
+
* a default text string. This text string can vary by site, so the seller should use the GeteBayDetails call of the
|
|
92
|
+
* Trading API to get this string value. In the GeteBayDetails call, the seller should include a DetailName field
|
|
93
|
+
* with its value set to ProductDetails. In the response of the call, the seller can see the default string value in
|
|
94
|
+
* the ProductDetails.ProductIdentifierUnavailableText field. The seller will use this value in one or more of the
|
|
95
|
+
* product identifier fields (ean, isbn, upc, or mpn) if a product ID isn't known or applicable.
|
|
96
|
+
*
|
|
97
|
+
* This container is not initially required, but it is required before an inventory item can be published as an
|
|
98
|
+
* offer, and/or if an inventory item is being updated and product data already exists for that inventory item.
|
|
99
|
+
*
|
|
100
|
+
* This container is always returned for published offers in the getInventoryItem, bulkGetInventoryItem, and
|
|
101
|
+
* getInventoryItems calls since product data must be defined for published offers, but for unpublished inventory
|
|
102
|
+
* items, this container will only be returned if product details have been defined for the inventory item.
|
|
103
|
+
*
|
|
104
|
+
* Occurrence: Conditional
|
|
105
|
+
*/
|
|
106
|
+
product: Product;
|
|
107
|
+
}
|
|
108
|
+
export declare function validateInventoryItem(item: unknown): ValidationResult<InventoryItem>;
|
|
109
|
+
export declare const validate: (item: unknown) => any;
|
|
110
|
+
export declare const validateConditionDescription: (value: unknown) => ValidationErrorNew;
|
|
111
|
+
export declare const validatePackageWeightAndSize: (packageWeightAndSize: PackageWeightAndSize) => any;
|
|
112
|
+
//# sourceMappingURL=InventoryItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryItem.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/InventoryItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAY,gBAAgB,EAAE,kBAAkB,EAAyE,MAAM,iBAAiB,CAAA;AAIvJ,MAAM,WAAW,aAAa;IAC7B;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;;;;;;;;;;;;OAcG;IACH,SAAS,EAAE,iBAAiB,CAAA;IAC5B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,oBAAoB,EAAE,MAAM,CAAA;IAC5B;;;;;;;;;;;;;;OAcG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAA;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,OAAO,EAAE,OAAO,CAAA;CAChB;AA+CD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,OAAO,GAAG,gBAAgB,CAAC,aAAa,CAAC,CAmCpF;AAGD,eAAO,MAAM,QAAQ,GAAI,MAAM,OAAO,QASrC,CAAA;AAGD,eAAO,MAAM,4BAA4B,GAAI,OAAO,OAAO,uBAG1D,CAAA;AAED,eAAO,MAAM,4BAA4B,GAAI,sBAAsB,oBAAoB,QAOtF,CAAA"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { EbayConditionEnum } from './ConditionEnum.js';
|
|
2
|
+
import { isObject, validateString, validateEnum, validateNumber } from './validation.js';
|
|
3
|
+
import { validateProduct } from './Product.js';
|
|
4
|
+
function validatePackageWeightAndSizeInternal(packageWeightAndSize) {
|
|
5
|
+
const errors = [];
|
|
6
|
+
if (!isObject(packageWeightAndSize)) {
|
|
7
|
+
errors.push({
|
|
8
|
+
type: 'validation_error',
|
|
9
|
+
field: 'packageWeightAndSize',
|
|
10
|
+
message: 'Package weight and size must be an object',
|
|
11
|
+
value: packageWeightAndSize,
|
|
12
|
+
code: 'INVALID_TYPE'
|
|
13
|
+
});
|
|
14
|
+
return errors;
|
|
15
|
+
}
|
|
16
|
+
// Validate dimensions
|
|
17
|
+
if (!isObject(packageWeightAndSize.dimensions)) {
|
|
18
|
+
errors.push({
|
|
19
|
+
type: 'validation_error',
|
|
20
|
+
field: 'packageWeightAndSize.dimensions',
|
|
21
|
+
message: 'Dimensions must be an object',
|
|
22
|
+
value: packageWeightAndSize.dimensions,
|
|
23
|
+
code: 'INVALID_TYPE'
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
errors.push(...validateNumber('packageWeightAndSize.dimensions.height', packageWeightAndSize.dimensions.height, { required: true, min: 1 }));
|
|
28
|
+
errors.push(...validateNumber('packageWeightAndSize.dimensions.length', packageWeightAndSize.dimensions.length, { required: true, min: 1 }));
|
|
29
|
+
errors.push(...validateNumber('packageWeightAndSize.dimensions.width', packageWeightAndSize.dimensions.width, { required: true, min: 1 }));
|
|
30
|
+
}
|
|
31
|
+
// Validate weight
|
|
32
|
+
if (!isObject(packageWeightAndSize.weight)) {
|
|
33
|
+
errors.push({
|
|
34
|
+
type: 'validation_error',
|
|
35
|
+
field: 'packageWeightAndSize.weight',
|
|
36
|
+
message: 'Weight must be an object',
|
|
37
|
+
value: packageWeightAndSize.weight,
|
|
38
|
+
code: 'INVALID_TYPE'
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
errors.push(...validateNumber('packageWeightAndSize.weight.value', packageWeightAndSize.weight.value, { required: true, min: 1 }));
|
|
43
|
+
}
|
|
44
|
+
return errors;
|
|
45
|
+
}
|
|
46
|
+
export function validateInventoryItem(item) {
|
|
47
|
+
const errors = [];
|
|
48
|
+
if (!isObject(item)) {
|
|
49
|
+
errors.push({
|
|
50
|
+
type: 'validation_error',
|
|
51
|
+
field: 'inventoryItem',
|
|
52
|
+
message: 'Inventory item must be an object',
|
|
53
|
+
value: item,
|
|
54
|
+
code: 'INVALID_TYPE'
|
|
55
|
+
});
|
|
56
|
+
return { success: false, errors };
|
|
57
|
+
}
|
|
58
|
+
// Validate required fields
|
|
59
|
+
errors.push(...validateEnum('inventoryItem.condition', item.condition, EbayConditionEnum, { required: true }));
|
|
60
|
+
errors.push(...validateString('inventoryItem.conditionDescription', item.conditionDescription, { required: true, max: 1000 }));
|
|
61
|
+
// Validate product (required)
|
|
62
|
+
const productValidation = validateProduct(item.product);
|
|
63
|
+
if (!productValidation.success && productValidation.errors) {
|
|
64
|
+
errors.push(...productValidation.errors.map(error => ({
|
|
65
|
+
...error,
|
|
66
|
+
field: `inventoryItem.${error.field}`
|
|
67
|
+
})));
|
|
68
|
+
}
|
|
69
|
+
// Validate optional packageWeightAndSize
|
|
70
|
+
if (item.packageWeightAndSize !== undefined) {
|
|
71
|
+
errors.push(...validatePackageWeightAndSizeInternal(item.packageWeightAndSize));
|
|
72
|
+
}
|
|
73
|
+
return errors.length > 0
|
|
74
|
+
? { success: false, errors }
|
|
75
|
+
: { success: true, data: item };
|
|
76
|
+
}
|
|
77
|
+
// Legacy export for backward compatibility
|
|
78
|
+
export const validate = (item) => {
|
|
79
|
+
const result = validateInventoryItem(item);
|
|
80
|
+
if (result.success) {
|
|
81
|
+
return result.data;
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
// Convert to legacy ValidationError for backward compatibility
|
|
85
|
+
const { ValidationErrorLegacy } = require('./validation.js');
|
|
86
|
+
return new ValidationErrorLegacy("Error validating Inventory Item", result.errors);
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
// Legacy individual validators for backward compatibility
|
|
90
|
+
export const validateConditionDescription = (value) => {
|
|
91
|
+
const errors = validateString("conditionDescription", value, { max: 1000 });
|
|
92
|
+
return errors.length > 0 ? errors[0] : null;
|
|
93
|
+
};
|
|
94
|
+
export const validatePackageWeightAndSize = (packageWeightAndSize) => {
|
|
95
|
+
const errors = validatePackageWeightAndSizeInternal(packageWeightAndSize);
|
|
96
|
+
if (errors.length > 0) {
|
|
97
|
+
const { ValidationErrorLegacy } = require('./validation.js');
|
|
98
|
+
return new ValidationErrorLegacy("Error validating package weight and size", errors);
|
|
99
|
+
}
|
|
100
|
+
return null;
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=InventoryItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryItem.js","sourceRoot":"","sources":["../../../src/entities/ebay/InventoryItem.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { StatusEnum, StoreTypeEnum } from "./InventoryLocationFull.js";
|
|
2
|
+
import { Location } from "./LocationDetails.js";
|
|
3
|
+
import { OperatingHours } from "./OperatingHours.js";
|
|
4
|
+
import { SpecialHours } from "./SpecialHours.js";
|
|
5
|
+
export interface InventoryLocation {
|
|
6
|
+
/**
|
|
7
|
+
* This text field is used by the merchant to provide/update additional information about an inventory location.
|
|
8
|
+
* Whatever text is passed in this field will replace the current text string defined for this field. If the text
|
|
9
|
+
* will not change, the same text should be passed in once again.
|
|
10
|
+
*/
|
|
11
|
+
locationAdditionalInformation?: string;
|
|
12
|
+
/**
|
|
13
|
+
* This text field is generally used by the merchant to provide/update special pickup instructions for a store
|
|
14
|
+
* inventory location. Although this field is optional, it is recommended that merchants provide this field to
|
|
15
|
+
* create a pleasant and easy pickup experience for In-Store Pickup and Click and Collect orders. If this field is
|
|
16
|
+
* not included in the call request payload, eBay will use the default pickup instructions contained in the
|
|
17
|
+
* merchant's profile (if available). Whatever text is passed in this field will replace the current text string
|
|
18
|
+
* defined for this field. If the text will not change, the same text should be passed in once again.
|
|
19
|
+
*/
|
|
20
|
+
locationInstructions?: string;
|
|
21
|
+
/**
|
|
22
|
+
* This text field is used by the merchant to provide/update the Website address (URL) associated with the inventory
|
|
23
|
+
* location. The URL that is passed in this field will replace any other URL that may be defined for this field.
|
|
24
|
+
*
|
|
25
|
+
* Max length: 512
|
|
26
|
+
*/
|
|
27
|
+
locationWebUrl?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* This text field is used by the merchant to update the name of the inventory location. This name should be a
|
|
30
|
+
* human-friendly name as it will be in In-Store Pickup and Click and Collect listings. A name is not required for
|
|
31
|
+
* warehouse inventory locations. For store inventory locations, this field is not immediately required, but will be
|
|
32
|
+
* required before an offer enabled with the In-Store Pickup or Click and Collect capability can be published. So,
|
|
33
|
+
* if the seller omitted this field in the createInventoryLocation call, it is required for an
|
|
34
|
+
* updateInventoryLocation call. The name that is passed in this field will replace any other name that may be
|
|
35
|
+
* defined for this field.
|
|
36
|
+
*
|
|
37
|
+
* Max length: 1000
|
|
38
|
+
*/
|
|
39
|
+
name?: string;
|
|
40
|
+
/**
|
|
41
|
+
* This container is used to provide/update the regular operating hours for a store location during the days of the
|
|
42
|
+
* week. A dayOfWeekEnum field and an intervals container will be needed for each day of the week that the store
|
|
43
|
+
* location is open. Note that if operating hours are already set for an inventory location for a specific day of
|
|
44
|
+
* the week, whatever is set through an updateInventoryLocation call will override those existing hours.
|
|
45
|
+
*/
|
|
46
|
+
operatingHours?: OperatingHours[];
|
|
47
|
+
/**
|
|
48
|
+
* This text field is used by the merchant to provide/update the phone number for the inventory location. The phone
|
|
49
|
+
* number that is passed in this field will replace any other phone number that may be defined for this field.
|
|
50
|
+
*
|
|
51
|
+
* Max length: 36
|
|
52
|
+
*/
|
|
53
|
+
phone?: string;
|
|
54
|
+
/**
|
|
55
|
+
* This container is used to provide/update the special operating hours for a store location on a specific date,
|
|
56
|
+
* such as a holiday. The special hours specified for the specific date will override the normal operating hours for
|
|
57
|
+
* that particular day of the week. If special hours have already been set up for an inventory location, specifying
|
|
58
|
+
* special hours through an updateInventoryLocation call will only add to the list, unless the date(s) used are the
|
|
59
|
+
* same special date(s) already set up, in which case, the special hours set up through the updateInventoryLocation
|
|
60
|
+
* call will override the existing special hours.
|
|
61
|
+
*/
|
|
62
|
+
specialHours?: SpecialHours;
|
|
63
|
+
}
|
|
64
|
+
export interface InventoryLocationResponse extends InventoryLocation {
|
|
65
|
+
location: Location;
|
|
66
|
+
locationAdditionalInformation: string;
|
|
67
|
+
locationInstructions: string;
|
|
68
|
+
locationTypes: StoreTypeEnum[];
|
|
69
|
+
locationWebUrl: string;
|
|
70
|
+
merchantLocationKey: string;
|
|
71
|
+
merchantLocationStatus: StatusEnum;
|
|
72
|
+
name: string;
|
|
73
|
+
operatingHours: OperatingHours[];
|
|
74
|
+
phone: string;
|
|
75
|
+
specialHours: SpecialHours;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=InventoryLocation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryLocation.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/InventoryLocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,WAAW,iBAAiB;IACjC;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC;;;;;;;OAOG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;CAC5B;AAED,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IACnE,QAAQ,EAAE,QAAQ,CAAC;IACnB,6BAA6B,EAAE,MAAM,CAAC;IACtC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,UAAU,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,cAAc,EAAE,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,YAAY,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryLocation.js","sourceRoot":"","sources":["../../../src/entities/ebay/InventoryLocation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { LocationDetails } from "./LocationDetails.js";
|
|
2
|
+
import { InventoryLocation } from "./InventoryLocation.js";
|
|
3
|
+
import { ValidationError } from "yup";
|
|
4
|
+
/**
|
|
5
|
+
* An enumerated type defining the possible states of an inventory location.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum StatusEnum {
|
|
8
|
+
/**
|
|
9
|
+
* This enumeration value indicates that an inventory location is disabled (inventory can not be loaded to
|
|
10
|
+
* location).
|
|
11
|
+
*/
|
|
12
|
+
Disable = "DISABLED",
|
|
13
|
+
/**
|
|
14
|
+
* This enumeration value indicates that an inventory location is disabled (inventory can be loaded to location).
|
|
15
|
+
*/
|
|
16
|
+
Enabled = "ENABLED"
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* An enumerated type defining the inventory location types.
|
|
20
|
+
*/
|
|
21
|
+
export declare enum StoreTypeEnum {
|
|
22
|
+
/**
|
|
23
|
+
* This enumeration value indicates the inventory location is a merchant's store.
|
|
24
|
+
*/
|
|
25
|
+
Store = "STORE",
|
|
26
|
+
/**
|
|
27
|
+
* This enumeration value indicates the inventory location is a merchant's warehouse.
|
|
28
|
+
*/
|
|
29
|
+
Warehouse = "WAREHOUSE"
|
|
30
|
+
}
|
|
31
|
+
export interface InventoryLocationFull extends InventoryLocation {
|
|
32
|
+
/**
|
|
33
|
+
* This required container is used to set the physical address and geographical coordinates (optional) of a
|
|
34
|
+
* warehouse or store inventory location. A warehouse inventory location only requires the city, province/state, and
|
|
35
|
+
* country, and does not require a full street address. However, the seller may still supply a full street address
|
|
36
|
+
* for a warehouse location. The physical location/address for an inventory location cannot be modified once set
|
|
37
|
+
* with a createInventoryLocation call. All other details of an inventory location (e.g. phone or operating hours)
|
|
38
|
+
* can be changed with an updateInventoryLocation call.
|
|
39
|
+
*/
|
|
40
|
+
location: LocationDetails;
|
|
41
|
+
/**
|
|
42
|
+
* This container is used to define the function of the inventory location. Typically, an inventory location will
|
|
43
|
+
* serve as a store or a warehouse, but in some cases, an inventory location may be both.
|
|
44
|
+
*
|
|
45
|
+
* If this container is omitted, the location type of the inventory location will default to WAREHOUSE. See
|
|
46
|
+
* StoreTypeEnum for the supported values.
|
|
47
|
+
*
|
|
48
|
+
* Default: WAREHOUSE
|
|
49
|
+
*/
|
|
50
|
+
locationTypes?: StoreTypeEnum[];
|
|
51
|
+
/**
|
|
52
|
+
* This field is used to indicate whether the inventory location will be enabled (inventory can be loaded to
|
|
53
|
+
* location) or disabled (inventory can not be loaded to location). If this field is omitted, a successful
|
|
54
|
+
* createInventoryLocation call will automatically enable the inventory location. A merchant may want to create a
|
|
55
|
+
* new inventory location but leave it as disabled if the inventory location is not yet ready for active inventory.
|
|
56
|
+
* Once the inventory location is ready, the merchant can use the enableInventoryLocation call to enable an
|
|
57
|
+
* inventory location that is in a disabled state. See StatusEnum for the supported values.
|
|
58
|
+
*
|
|
59
|
+
* Default: ENABLED
|
|
60
|
+
*/
|
|
61
|
+
merchantLocationStatus?: StatusEnum;
|
|
62
|
+
}
|
|
63
|
+
export declare const validateInventoryLocationFull: (location: unknown) => ValidationError;
|
|
64
|
+
//# sourceMappingURL=InventoryLocationFull.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryLocationFull.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/InventoryLocationFull.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA2B,MAAM,sBAAsB,CAAA;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,KAAK,CAAA;AAErC;;GAEG;AACH,oBAAY,UAAU;IACrB;;;OAGG;IACH,OAAO,aAAa;IACpB;;OAEG;IACH,OAAO,YAAY;CACnB;AAED;;GAEG;AACH,oBAAY,aAAa;IACxB;;OAEG;IACH,KAAK,UAAU;IACf;;OAEG;IACH,SAAS,cAAc;CACvB;AAED,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC/D;;;;;;;OAOG;IACH,QAAQ,EAAE,eAAe,CAAC;IAC1B;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAChC;;;;;;;;;OASG;IACH,sBAAsB,CAAC,EAAE,UAAU,CAAC;CACpC;AAED,eAAO,MAAM,6BAA6B,GAAI,UAAU,OAAO,oBAQ9D,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { validateLocationDetails } from "./LocationDetails.js";
|
|
2
|
+
import { isObject, isValidationError } from "./validation.js";
|
|
3
|
+
import { ValidationError } from "yup";
|
|
4
|
+
/**
|
|
5
|
+
* An enumerated type defining the possible states of an inventory location.
|
|
6
|
+
*/
|
|
7
|
+
export var StatusEnum;
|
|
8
|
+
(function (StatusEnum) {
|
|
9
|
+
/**
|
|
10
|
+
* This enumeration value indicates that an inventory location is disabled (inventory can not be loaded to
|
|
11
|
+
* location).
|
|
12
|
+
*/
|
|
13
|
+
StatusEnum["Disable"] = "DISABLED";
|
|
14
|
+
/**
|
|
15
|
+
* This enumeration value indicates that an inventory location is disabled (inventory can be loaded to location).
|
|
16
|
+
*/
|
|
17
|
+
StatusEnum["Enabled"] = "ENABLED";
|
|
18
|
+
})(StatusEnum || (StatusEnum = {}));
|
|
19
|
+
/**
|
|
20
|
+
* An enumerated type defining the inventory location types.
|
|
21
|
+
*/
|
|
22
|
+
export var StoreTypeEnum;
|
|
23
|
+
(function (StoreTypeEnum) {
|
|
24
|
+
/**
|
|
25
|
+
* This enumeration value indicates the inventory location is a merchant's store.
|
|
26
|
+
*/
|
|
27
|
+
StoreTypeEnum["Store"] = "STORE";
|
|
28
|
+
/**
|
|
29
|
+
* This enumeration value indicates the inventory location is a merchant's warehouse.
|
|
30
|
+
*/
|
|
31
|
+
StoreTypeEnum["Warehouse"] = "WAREHOUSE";
|
|
32
|
+
})(StoreTypeEnum || (StoreTypeEnum = {}));
|
|
33
|
+
export const validateInventoryLocationFull = (location) => {
|
|
34
|
+
if (!isObject(location))
|
|
35
|
+
return new ValidationError("Inventory Location Full must be defined", location);
|
|
36
|
+
const failures = [
|
|
37
|
+
validateLocationDetails(location),
|
|
38
|
+
].filter(isValidationError);
|
|
39
|
+
if (failures.length)
|
|
40
|
+
throw new ValidationError("Error validating InventoryLocationFull", failures);
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=InventoryLocationFull.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryLocationFull.js","sourceRoot":"","sources":["../../../src/entities/ebay/InventoryLocationFull.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAE/E,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,KAAK,CAAA;AAErC;;GAEG;AACH,MAAM,CAAN,IAAY,UAUX;AAVD,WAAY,UAAU;IACrB;;;OAGG;IACH,kCAAoB,CAAA;IACpB;;OAEG;IACH,iCAAmB,CAAA;AACpB,CAAC,EAVW,UAAU,KAAV,UAAU,QAUrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,aASX;AATD,WAAY,aAAa;IACxB;;OAEG;IACH,gCAAe,CAAA;IACf;;OAEG;IACH,wCAAuB,CAAA;AACxB,CAAC,EATW,aAAa,KAAb,aAAa,QASxB;AAmCD,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,QAAiB,EAAE,EAAE;IAClE,IAAI,CAAC,QAAQ,CAAwB,QAAQ,CAAC;QAAE,OAAO,IAAI,eAAe,CAAC,yCAAyC,EAAE,QAAQ,CAAC,CAAA;IAE/H,MAAM,QAAQ,GAAG;QAChB,uBAAuB,CAAC,QAAQ,CAAC;KACjC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAA;IAE3B,IAAI,QAAQ,CAAC,MAAM;QAAE,MAAM,IAAI,eAAe,CAAC,wCAAwC,EAAE,QAAQ,CAAC,CAAA;AACnG,CAAC,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This enumeration type is used to indicate the listing duration of the offer.
|
|
3
|
+
* This enum value indicates that the auction listing offer is valid for n day(s), after
|
|
4
|
+
* which time unsold inventory will move to the common pool that is shared between active fixed-price listings and new offers.
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* This enum value indicates that the listing is a fixed-price offer. 'GTC' stands for Good 'Til Cancelled, which means that
|
|
8
|
+
* a fixed-price listing will remain active until the seller cancels/ends the listing. 'GTC' listings are automatically renewed
|
|
9
|
+
* every calendar month.
|
|
10
|
+
*
|
|
11
|
+
* For example, if a GTC listing is created July 5, the next monthly renewal date will be August 5. If a GTC listing is created
|
|
12
|
+
* on the 31st of the month, but the following month only has 30 days, the renewal will happen on the 30th in the following month.
|
|
13
|
+
* Finally, if a GTC listing is created on January 29-31, the renewal will happen on February 28th (or 29th during a 'Leap Year')
|
|
14
|
+
*
|
|
15
|
+
* Note: The GTC value is currently the only supported listing duration for fixed-price litings.
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ListingDurationEnum {
|
|
18
|
+
DAYS_1 = "DAYS_1",
|
|
19
|
+
DAYS_3 = "DAYS_3",
|
|
20
|
+
DAYS_5 = "DAYS_5",
|
|
21
|
+
DAYS_7 = "DAYS_7",
|
|
22
|
+
DAYS_10 = "DAYS_10",
|
|
23
|
+
DAYS_30 = "DAYS_30",
|
|
24
|
+
GTC = "GTC"
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=ListingDurationEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListingDurationEnum.d.ts","sourceRoot":"","sources":["../../../src/entities/ebay/ListingDurationEnum.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,mBAAmB;IAC3B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,GAAG,QAAQ;CACd"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This enumeration type is used to indicate the listing duration of the offer.
|
|
3
|
+
* This enum value indicates that the auction listing offer is valid for n day(s), after
|
|
4
|
+
* which time unsold inventory will move to the common pool that is shared between active fixed-price listings and new offers.
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* This enum value indicates that the listing is a fixed-price offer. 'GTC' stands for Good 'Til Cancelled, which means that
|
|
8
|
+
* a fixed-price listing will remain active until the seller cancels/ends the listing. 'GTC' listings are automatically renewed
|
|
9
|
+
* every calendar month.
|
|
10
|
+
*
|
|
11
|
+
* For example, if a GTC listing is created July 5, the next monthly renewal date will be August 5. If a GTC listing is created
|
|
12
|
+
* on the 31st of the month, but the following month only has 30 days, the renewal will happen on the 30th in the following month.
|
|
13
|
+
* Finally, if a GTC listing is created on January 29-31, the renewal will happen on February 28th (or 29th during a 'Leap Year')
|
|
14
|
+
*
|
|
15
|
+
* Note: The GTC value is currently the only supported listing duration for fixed-price litings.
|
|
16
|
+
*/
|
|
17
|
+
export var ListingDurationEnum;
|
|
18
|
+
(function (ListingDurationEnum) {
|
|
19
|
+
ListingDurationEnum["DAYS_1"] = "DAYS_1";
|
|
20
|
+
ListingDurationEnum["DAYS_3"] = "DAYS_3";
|
|
21
|
+
ListingDurationEnum["DAYS_5"] = "DAYS_5";
|
|
22
|
+
ListingDurationEnum["DAYS_7"] = "DAYS_7";
|
|
23
|
+
ListingDurationEnum["DAYS_10"] = "DAYS_10";
|
|
24
|
+
ListingDurationEnum["DAYS_30"] = "DAYS_30";
|
|
25
|
+
ListingDurationEnum["GTC"] = "GTC"; // Good Till Cancelled
|
|
26
|
+
})(ListingDurationEnum || (ListingDurationEnum = {}));
|
|
27
|
+
// Then use it like:
|
|
28
|
+
// {
|
|
29
|
+
// listingDuration: EbayListingDuration.DAYS_30, // or whatever duration you want
|
|
30
|
+
// marketplaceId: inventoryItemDetailsWithSku.ebay_marketplace,
|
|
31
|
+
// merchantLocationKey: inventoryItemDetailsWithSku.storeid.toString(),
|
|
32
|
+
// }
|
|
33
|
+
//# sourceMappingURL=ListingDurationEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListingDurationEnum.js","sourceRoot":"","sources":["../../../src/entities/ebay/ListingDurationEnum.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAN,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,kCAAW,CAAA,CAAE,sBAAsB;AACvC,CAAC,EARW,mBAAmB,KAAnB,mBAAmB,QAQ9B;AAED,oBAAoB;AACpB,IAAI;AACJ,qFAAqF;AACrF,mEAAmE;AACnE,2EAA2E;AAC3E,IAAI"}
|