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